openstack.shared_file_system.v2.quota_class_set

The QuotaClassSet Class

The QuotaClassSet class inherits from Resource and can be used to query quota class

class openstack.shared_file_system.v2.quota_class_set.QuotaClassSet(_synchronized=False, connection=None, **attrs)

The base resource

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

  • connection (openstack.connection.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.

base_path = '/quota-class-sets'

The base part of the URI for this resource.

resource_key = 'quota_class_set'

Singular form of key for resource.

allow_create = False

Allow create operation for this resource.

allow_fetch = True

Allow get operation for this resource.

allow_commit = True

Allow update operation for this resource.

allow_delete = False

Allow delete operation for this resource.

allow_list = False

Allow list operation for this resource.

allow_head = False

Allow head operation for this resource.

id

Properties A quota_class_set id.

share_groups

The maximum number of share groups.

share_group_snapshots

The maximum number of share group snapshots.

snapshots

The total maximum number of shares that are allowed in a project.

snapshot_gigabytes

The maximum number of snapshot gigabytes that are allowed in a project.

shares

The total maximum number of snapshot gigabytes that are allowed in a project.

share_networks

The maximum number of share-networks that are allowed in a project.

share_replicas

The maximum number of share replicas that is allowed.

gigabytes

The total maximum number of share gigabytes that are allowed in a project. You cannot request a share that exceeds the allowed gigabytes quota.

replica_gigabytes

The maximum number of replica gigabytes that are allowed in a project. You cannot create a share, share replica, manage a share or extend a share if it is going to exceed the allowed replica gigabytes quota.

per_share_gigabytes

The number of gigabytes per share allowed in a project.

backups

The total maximum number of share backups that are allowed in a project.

backup_gigabytes

The total maximum number of backup gigabytes that are allowed in a project.