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

65 lines
1.9 KiB
YAML

title: Disk Management:Settings
description: The declaration to configure disk management settings on the device.
payload:
declarationtype: com.apple.configuration.diskmanagement.settings
supportedOS:
iOS:
introduced: n/a
macOS:
introduced: '15.0'
allowed-enrollments:
- supervised
- local
allowed-scopes:
- system
tvOS:
introduced: n/a
visionOS:
introduced: n/a
watchOS:
introduced: n/a
apply: combined
payloadkeys:
- key: Restrictions
title: Restrictions
type: <dictionary>
presence: optional
content: The restrictions for the disk.
subkeys:
- key: ExternalStorage
title: External storage
type: <string>
presence: optional
rangelist:
- Allowed
- ReadOnly
- Disallowed
combinetype: enum-last
content: |-
Specifies the mount policy for external storage:
- `Allowed`: The system can mount external storage that's read-write or read-only.
- `ReadOnly`: The system can only mount read-only external storage. Note that external storage that's read-write won't be mounted read-only.
- `Disallowed`: The system can't mount any external storage.
- key: NetworkStorage
title: Network storage
type: <string>
presence: optional
rangelist:
- Allowed
- ReadOnly
- Disallowed
combinetype: enum-last
content: |-
Specifies the mount policy for network storage:
- `Allowed`: The system can mount network storage that's read-write or read-only.
- `ReadOnly`: The system can only mount read-only network storage. Note that network storage that's read-write won't be mounted read-only.
- `Disallowed`: The system can't mount any network storage.
examples:
- title: Configuration example
files:
- description: This configuration prevents the use of external and network storage
devices.
file: examples/declarative/declarations/configurations/diskmanagement.settings/example1.json