class QuotaSet extends OperatorResource implements Retrievable, Updateable, Deletable

Represents a Compute v2 Quota Set

Traits

Properties

$cores int|array The number of allowed instance cores for each tenant.
$fixedIps int|object The number of allowed fixed IP addresses for each tenant.
$floatingIps int|array The number of allowed floating IP addresses for each tenant.
$tenantId string The UUID of the tenant/user the quotas listed for.
$injectedFileContentBytes int|array The number of allowed bytes of content for each injected file.
$injectedFilePathBytes int|array The number of allowed bytes for each injected file path.
$injectedFiles int|array The number of allowed injected files for each tenant.
$instances int|array The number of allowed instances for each tenant.
$keyPairs int|array The number of allowed key pairs for each user.
$metadataItems int|array The number of allowed metadata items for each instance.
$ram int|array The amount of allowed instance RAM, in MB, for each tenant.
$securityGroupRules int|array The number of allowed rules for each security group.
$securityGroups int|array The number of allowed security groups for each tenant.
$serverGroups int|array The number of allowed server groups for each tenant.
$serverGroupMembers int|object The number of allowed members for each server group.

Methods

retrieve () : void

Retrieve details of the current resource from the remote API.

delete () : void

Permanently delete this resource.

update () : void

Update the current resource with the configuration set out in the user options.

Details

retrieve()

Retrieve details of the current resource from the remote API.

Return value

void

Example code

$quotaSet->retrieve();

delete()

Permanently delete this resource.

Return value

void

Example code

$quotaSet->delete();

update()

Update the current resource with the configuration set out in the user options.

Return value

void

Example code

$quotaSet->update();