pool.dataset.attachments

Return a list of services dependent of this dataset.

Responsible for telling the user whether there is a related share, asking for confirmation.

Example return value: [

{ “type”: “NFS Share”, “service”: “nfs”, “attachments”: [“/mnt/tank/work”] }

]

Type: object

Type: array
No Additional Items

Tuple Validation

Parameter 1: id

id

Type: string

The dataset ID (full path) to retrieve attachments for.

Result

Type: array of object

Array of services and resources attached to the dataset.

No Additional Items
Each item of this array must be:

PoolAttachment

Type: object
No Additional Properties

Type

Type: string

Type of attachment.

Service


Name of the service using this pool. null if not a service attachment.

Type: string
Type: null

Attachments

Type: array of string

Array of specific attachment identifiers or paths.

No Additional Items
Each item of this array must be:
Type: string


Required roles: DATASET_READ