openstack.shared_file_system.v2.limit

The Limit Class

The Limit class inherits from Resource.

class openstack.shared_file_system.v2.limit.Limit(_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.

resources_key = 'limits'

Plural form of key for resource.

base_path = '/limits'

The base part of the URI for this resource.

allow_create = False

Allow create operation for this resource.

allow_fetch = False

Allow get operation for this resource.

allow_commit = False

Allow update operation for this resource.

allow_delete = False

Allow delete operation for this resource.

allow_list = True

Allow list operation for this resource.

allow_head = False

Allow head operation for this resource.

maxTotalReplicaGigabytes

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

maxTotalShares

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

maxTotalShareGigabytes

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

maxTotalShareNetworks

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

maxTotalShareSnapshots

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

maxTotalShareReplicas

The maximum number of share replicas that is allowed.

maxTotalSnapshotGigabytes

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

totalReplicaGigabytesUsed

The total number of replica gigabytes used in a project by share replicas.

totalShareGigabytesUsed

The total number of gigabytes used in a project by shares.

totalSharesUsed

The total number of created shares in a project.

totalShareNetworksUsed

The total number of created share-networks in a project.

totalShareSnapshotsUsed

The total number of created share snapshots in a project.

totalSnapshotGigabytesUsed

The total number of gigabytes used in a project by snapshots.

totalShareReplicasUsed

The total number of created share replicas in a project.