openstack.shared_file_system.v2.share_group¶
ShareGroup 类¶
ShareGroup 类继承自 Resource。
- class openstack.shared_file_system.v2.share_group.ShareGroup(_synchronized=False, connection=None, **attrs)¶
基础资源
- 参数:
_synchronized (bool) – 这不打算直接使用。请参阅
new()和existing()。connection (openstack.connection.Connection) – 对正在使用的 Connection 的引用。默认为 None,允许在单元测试中等情况下使用不带活动 Connection 的 Resource 对象。Resource 代码中对
self._connection的使用应使用 None 检查进行保护。
- resource_key = 'share_group'¶
资源的单数形式的键。
- resources_key = 'share_groups'¶
资源的复数形式的键。
- base_path = '/share-groups'¶
此资源的 URI 的基本部分。
- allow_create = True¶
允许对此资源进行创建操作。
- allow_fetch = True¶
允许对此资源进行获取操作。
- allow_commit = True¶
允许对此资源进行更新操作。
- allow_delete = True¶
允许对此资源进行删除操作。
- allow_list = True¶
允许对此资源进行列表操作。
- allow_head = False¶
允许对此资源进行 head 操作。
- availability_zone¶
属性 共享组存在的可用区 ID。
- consistent_snapshot_support¶
一致性快照支持。
- created_at¶
资源在服务数据库中创建的日期和时间戳。
- description¶
资源的由用户定义的描述。
- project_id¶
拥有资源的项目的 ID。
- share_group_snapshot_id¶
共享组快照 ID。
- share_group_type_id¶
共享组类型 ID。
- share_network_id¶
资源导出到的共享网络 ID。
- share_types¶
共享类型 ID 列表。
- status¶
共享状态