Files
Cyrus Daboo 97a11a861f Seed2
2026-06-22 15:55:19 -04:00

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