zfs.resource.share_type_choices

Retrieve the share_type presets zfs.resource.create accepts and the native properties each one sets.

A preset fills only the properties a request leaves unset. Sending one of them with a different value is refused. The preset is not stored, so compare the live properties returned by zfs.resource.list to tell whether a filesystem still matches it.

Type: object

Type: array
No Additional Items

Result

Type: object

Object mapping each share_type to the native properties it sets and their values.

Each additional property must conform to the following schema

Type: object

Each additional property must conform to the following schema

Type: string


Required roles: READONLY_ADMIN | ZFS_RESOURCE_READ