# openstackclient.share package

## Subpackages

- openstackclient.share.v2 package
  - Submodules
  - openstackclient.share.v2.messages module
    - `DeleteMessage`
      - `DeleteMessage.get_parser()`
      - `DeleteMessage.log`
      - `DeleteMessage.take_action()`
    - `ListMessage`
      - `ListMessage.get_parser()`
      - `ListMessage.log`
      - `ListMessage.take_action()`
    - `ShowMessage`
      - `ShowMessage.get_parser()`
      - `ShowMessage.log`
      - `ShowMessage.take_action()`
  - openstackclient.share.v2.resource_locks module
    - `CreateResourceLock`
      - `CreateResourceLock.get_parser()`
      - `CreateResourceLock.log`
      - `CreateResourceLock.take_action()`
    - `DeleteResourceLock`
      - `DeleteResourceLock.get_parser()`
      - `DeleteResourceLock.log`
      - `DeleteResourceLock.take_action()`
    - `ListResourceLock`
      - `ListResourceLock.get_parser()`
      - `ListResourceLock.log`
      - `ListResourceLock.take_action()`
    - `SetResourceLock`
      - `SetResourceLock.get_parser()`
      - `SetResourceLock.log`
      - `SetResourceLock.take_action()`
    - `ShowResourceLock`
      - `ShowResourceLock.get_parser()`
      - `ShowResourceLock.log`
      - `ShowResourceLock.take_action()`
    - `UnsetResourceLock`
      - `UnsetResourceLock.get_parser()`
      - `UnsetResourceLock.log`
      - `UnsetResourceLock.take_action()`
    - `is_uuid_like()`
  - openstackclient.share.v2.security_services module
    - `CreateShareSecurityService`
      - `CreateShareSecurityService.get_parser()`
      - `CreateShareSecurityService.log`
      - `CreateShareSecurityService.take_action()`
    - `DeleteShareSecurityService`
      - `DeleteShareSecurityService.get_parser()`
      - `DeleteShareSecurityService.log`
      - `DeleteShareSecurityService.take_action()`
    - `ListShareSecurityService`
      - `ListShareSecurityService.get_parser()`
      - `ListShareSecurityService.log`
      - `ListShareSecurityService.take_action()`
    - `SetShareSecurityService`
      - `SetShareSecurityService.get_parser()`
      - `SetShareSecurityService.log`
      - `SetShareSecurityService.take_action()`
    - `ShowShareSecurityService`
      - `ShowShareSecurityService.get_parser()`
      - `ShowShareSecurityService.log`
      - `ShowShareSecurityService.take_action()`
    - `UnsetShareSecurityService`
      - `UnsetShareSecurityService.get_parser()`
      - `UnsetShareSecurityService.log`
      - `UnsetShareSecurityService.take_action()`
  - openstackclient.share.v2.services module
    - `EnsureShareService`
      - `EnsureShareService.get_parser()`
      - `EnsureShareService.log`
      - `EnsureShareService.take_action()`
    - `ListShareService`
      - `ListShareService.get_parser()`
      - `ListShareService.log`
      - `ListShareService.take_action()`
    - `SetShareService`
      - `SetShareService.get_parser()`
      - `SetShareService.log`
      - `SetShareService.take_action()`
  - openstackclient.share.v2.share_group_snapshots module
    - `CreateShareGroupSnapshot`
      - `CreateShareGroupSnapshot.get_parser()`
      - `CreateShareGroupSnapshot.log`
      - `CreateShareGroupSnapshot.take_action()`
    - `DeleteShareGroupSnapshot`
      - `DeleteShareGroupSnapshot.get_parser()`
      - `DeleteShareGroupSnapshot.log`
      - `DeleteShareGroupSnapshot.take_action()`
    - `ListShareGroupSnapshot`
      - `ListShareGroupSnapshot.get_parser()`
      - `ListShareGroupSnapshot.log`
      - `ListShareGroupSnapshot.take_action()`
    - `ListShareGroupSnapshotMembers`
      - `ListShareGroupSnapshotMembers.get_parser()`
      - `ListShareGroupSnapshotMembers.log`
      - `ListShareGroupSnapshotMembers.take_action()`
    - `SetShareGroupSnapshot`
      - `SetShareGroupSnapshot.get_parser()`
      - `SetShareGroupSnapshot.log`
      - `SetShareGroupSnapshot.take_action()`
    - `ShowShareGroupSnapshot`
      - `ShowShareGroupSnapshot.get_parser()`
      - `ShowShareGroupSnapshot.log`
      - `ShowShareGroupSnapshot.take_action()`
    - `UnsetShareGroupSnapshot`
      - `UnsetShareGroupSnapshot.get_parser()`
      - `UnsetShareGroupSnapshot.log`
      - `UnsetShareGroupSnapshot.take_action()`
  - openstackclient.share.v2.share_group_type_access module
    - `ListShareGroupTypeAccess`
      - `ListShareGroupTypeAccess.get_parser()`
      - `ListShareGroupTypeAccess.log`
      - `ListShareGroupTypeAccess.take_action()`
    - `ShareGroupTypeAccessAllow`
      - `ShareGroupTypeAccessAllow.get_parser()`
      - `ShareGroupTypeAccessAllow.log`
      - `ShareGroupTypeAccessAllow.take_action()`
    - `ShareGroupTypeAccessDeny`
      - `ShareGroupTypeAccessDeny.get_parser()`
      - `ShareGroupTypeAccessDeny.log`
      - `ShareGroupTypeAccessDeny.take_action()`
  - openstackclient.share.v2.share_group_types module
    - `CreateShareGroupType`
      - `CreateShareGroupType.get_parser()`
      - `CreateShareGroupType.log`
      - `CreateShareGroupType.take_action()`
    - `DeleteShareGroupType`
      - `DeleteShareGroupType.get_parser()`
      - `DeleteShareGroupType.log`
      - `DeleteShareGroupType.take_action()`
    - `ListShareGroupType`
      - `ListShareGroupType.get_parser()`
      - `ListShareGroupType.log`
      - `ListShareGroupType.take_action()`
    - `SetShareGroupType`
      - `SetShareGroupType.get_parser()`
      - `SetShareGroupType.log`
      - `SetShareGroupType.take_action()`
    - `ShowShareGroupType`
      - `ShowShareGroupType.get_parser()`
      - `ShowShareGroupType.log`
      - `ShowShareGroupType.take_action()`
    - `UnsetShareGroupType`
      - `UnsetShareGroupType.get_parser()`
      - `UnsetShareGroupType.log`
      - `UnsetShareGroupType.take_action()`
  - openstackclient.share.v2.share_groups module
    - `CreateShareGroup`
      - `CreateShareGroup.get_parser()`
      - `CreateShareGroup.log`
      - `CreateShareGroup.take_action()`
    - `DeleteShareGroup`
      - `DeleteShareGroup.get_parser()`
      - `DeleteShareGroup.log`
      - `DeleteShareGroup.take_action()`
    - `ListShareGroup`
      - `ListShareGroup.get_parser()`
      - `ListShareGroup.log`
      - `ListShareGroup.take_action()`
    - `SetShareGroup`
      - `SetShareGroup.get_parser()`
      - `SetShareGroup.log`
      - `SetShareGroup.take_action()`
    - `ShowShareGroup`
      - `ShowShareGroup.get_parser()`
      - `ShowShareGroup.log`
      - `ShowShareGroup.take_action()`
    - `UnsetShareGroup`
      - `UnsetShareGroup.get_parser()`
      - `UnsetShareGroup.log`
      - `UnsetShareGroup.take_action()`
  - Module contents

## Submodules

## openstackclient.share.client module

openstackclient.share.client.build_option_parser(parser: ArgumentParser) → ArgumentParser

  Hook to add global options

openstackclient.share.client.check_api_version(check_version: str) → bool

openstackclient.share.client.make_client(instance: Any) → client.Client

  Returns a manilaclient.client.Client instance.

## openstackclient.share.utils module

openstackclient.share.utils.extract_extra_specs(extra_specs: dict[str, Any], specs_to_add: list[str], bool_specs: Sequence[str] = ('snapshot_support', 'create_share_from_snapshot_support', 'revert_to_snapshot_support', 'mount_snapshot_support')) → dict[str, Any]

openstackclient.share.utils.extract_group_specs(extra_specs: dict[str, Any], specs_to_add: list[str]) → dict[str, Any]

openstackclient.share.utils.extract_key_value_options(pairs: dict[str, str] | None) → dict[str, str]

openstackclient.share.utils.extract_properties(properties: list[str]) → dict[str, str]

openstackclient.share.utils.format_column_headers(columns: list[str]) → list[str]

openstackclient.share.utils.format_properties(properties: dict[str, str]) → str

openstackclient.share.utils.format_share_group_type(share_group_type: Any, formatter: str = 'table') → dict[str, Any]

## Module contents

this page last updated: 2026-07-15 15:33:41

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.