mirror of
https://github.com/apple/device-management.git
synced 2026-07-11 05:23:42 +02:00
91 lines
2.0 KiB
YAML
91 lines
2.0 KiB
YAML
title: Management:Test
|
|
description: The declaration to configure a declarative device management test.
|
|
payload:
|
|
declarationtype: com.apple.configuration.management.test
|
|
supportedOS:
|
|
iOS:
|
|
introduced: '15.0'
|
|
allowed-enrollments:
|
|
- supervised
|
|
- device
|
|
- user
|
|
- local
|
|
allowed-scopes:
|
|
- system
|
|
sharedipad:
|
|
allowed-scopes:
|
|
- system
|
|
- user
|
|
macOS:
|
|
introduced: '13.0'
|
|
allowed-enrollments:
|
|
- supervised
|
|
- user
|
|
- local
|
|
allowed-scopes:
|
|
- system
|
|
- user
|
|
tvOS:
|
|
introduced: '16.0'
|
|
allowed-enrollments:
|
|
- supervised
|
|
- device
|
|
- local
|
|
allowed-scopes:
|
|
- system
|
|
visionOS:
|
|
introduced: '1.1'
|
|
allowed-enrollments:
|
|
- supervised
|
|
- device
|
|
- user
|
|
- local
|
|
allowed-scopes:
|
|
- system
|
|
watchOS:
|
|
introduced: '10.0'
|
|
allowed-enrollments:
|
|
- supervised
|
|
- local
|
|
allowed-scopes:
|
|
- system
|
|
apply: multiple
|
|
payloadkeys:
|
|
- key: Echo
|
|
title: Status echo
|
|
type: <string>
|
|
presence: required
|
|
content: The string to echo back in a status response reason.
|
|
- key: EchoDataAssetReference
|
|
title: Status echo from asset
|
|
supportedOS:
|
|
iOS:
|
|
introduced: '17.0'
|
|
macOS:
|
|
introduced: '14.0'
|
|
tvOS:
|
|
introduced: '17.0'
|
|
type: <string>
|
|
assettypes:
|
|
- com.apple.asset.data
|
|
presence: optional
|
|
content: The string to read from a data asset to echo back in status response reason
|
|
description.
|
|
- key: ReturnStatus
|
|
title: Status to return
|
|
type: <string>
|
|
presence: optional
|
|
rangelist:
|
|
- Installed
|
|
- Failed
|
|
- Unlocked
|
|
default: Installed
|
|
content: The status the system reports back when the device implements the configuration.
|
|
Use this to override the normal `success` result.
|
|
examples:
|
|
- title: Configuration example
|
|
files:
|
|
- description: This configuration tests the management framework with a custom status
|
|
result.
|
|
file: examples/declarative/declarations/configurations/management.test/example1.json
|