cf-node-client
momo auto_awesome BUY CLAUDE KIT WITH 20% OFF coffee BUY ME COFFEE

Class: OrganizationsQuota

OrganizationsQuota()

OrganizationsQuota — Organization Quota management for Cloud Foundry. v2 uses '/v2/quota_definitions', v3 uses '/v3/organization_quotas'.

Constructor

new OrganizationsQuota()

Source:

Methods

add(quotaOptions) → {Promise}

Create an OrganizationQuota
Parameters:
Name Type Description
quotaOptions Object
Source:
Returns:
Type
Promise

getOrganizationQuota(guid) → {Promise}

Get a single OrganizationQuota
Parameters:
Name Type Description
guid String
Source:
Returns:
Type
Promise

getOrganizationQuotas(filteropt) → {Promise}

Get OrganizationQuotas list
Parameters:
Name Type Attributes Description
filter Object <optional>
Query-string filter
Source:
Returns:
Type
Promise

getQuotaDefinitions()

Alias for backward compatibility with tests
Source:

remove(guid) → {Promise}

Delete an OrganizationQuota
Parameters:
Name Type Description
guid String
Source:
Returns:
Type
Promise

update(guid, quotaOptions) → {Promise}

Update an OrganizationQuota
Parameters:
Name Type Description
guid String
quotaOptions Object
Source:
Returns:
Type
Promise