mirror of
https://github.com/apple/device-management.git
synced 2026-07-11 05:23:42 +02:00
45 lines
1.5 KiB
YAML
45 lines
1.5 KiB
YAML
title: Activation:Simple
|
|
description: The declaration to activate a set of configurations.
|
|
payload:
|
|
declarationtype: com.apple.activation.simple
|
|
supportedOS:
|
|
iOS:
|
|
introduced: '15.0'
|
|
macOS:
|
|
introduced: '13.0'
|
|
tvOS:
|
|
introduced: '16.0'
|
|
visionOS:
|
|
introduced: '1.1'
|
|
watchOS:
|
|
introduced: '10.0'
|
|
payloadkeys:
|
|
- key: StandardConfigurations
|
|
title: Standard configurations
|
|
type: <array>
|
|
presence: required
|
|
content: An array of strings that specify the identifiers of configurations to install.
|
|
A failure to install one of the configurations doesn't prevent other configurations
|
|
from installing.
|
|
subkeys:
|
|
- key: StandardConfigurationsItems
|
|
title: Standard configurations items
|
|
type: <string>
|
|
- key: Predicate
|
|
title: Predicate
|
|
type: <string>
|
|
presence: optional
|
|
content: A predicate format string as [Apple's Predicate Programming](https://developer.apple.com/library/archive/documentation/Cocoa/Conceptual/Predicates/AdditionalChapters/Introduction.html)
|
|
describes. The activation only installs when the predicate evaluates to `true`
|
|
or isn't present.
|
|
examples:
|
|
- title: Activation examples
|
|
files:
|
|
- tab: One configuration
|
|
description: This activation applies one configuration.
|
|
file: examples/declarative/declarations/activations/simple/example1.json
|
|
- tab: Predicate
|
|
description: This activation applies two configurations and uses a predicate to
|
|
limit those to only apply on an Apple TV device.
|
|
file: examples/declarative/declarations/activations/simple/example2.json
|