openstack.shared_file_system.v2.quota__set

The QuotaSet Class

The QuotaSet class inherits from Resource and can be used to query quotas

class openstack.shared_file_system.v2.quota_set.QuotaSet(_synchronized=False, connection=None, **attrs)

The base resource

Parameters:
  • _synchronized – This is not intended to be used directly. See new() and existing().

  • connection – Reference to the Connection being used. Defaults to None to allow Resource objects to be used without an active Connection, such as in unit tests. Use of self._connection in Resource code should protect itself with a check for None.

resource_key = 'quota_set'

Singular form of key for resource.

resources_key = 'quota_sets'

Plural form of key for resource.

base_path = '/quota-sets/%(project_id)s'

The base part of the URI for this resource.

allow_create = False

Allow create operation for this resource.

allow_list = False

Allow list operation for this resource.

gigabytes

Properties The number of gigabytes allowed for each project.

snapshots

The number of snapshots allowed for each project.

shares

The number of shares allowed for each project.

snapshot_gigabytes

The number of gigabytes for the snapshots allowed for each project.

share_groups

The number of share groups allowed for each project or user.

share_group_snapshots

The number of share group snapshots allowed for each project or user.

share_networks

The number of share networks allowed for each project.

share_replicas

The number of share replicas allowed for each project.

replica_gigabytes

The number of gigabytes for the share replicas allowed for each project.

per_share_gigabytes

The number of gigabytes per share allowed for each project

backups

The number of backups allowed for each project.

backup_gigabytes

The number of gigabytes for the backups allowed for each project.