Constructor
new OrganizationsQuota(endPoint)
Parameters:
Name | Type | Description |
---|---|---|
endPoint |
String | [CC endpoint] |
Methods
add(quotaOptions) → {JSON}
Parameters:
Name | Type | Description |
---|---|---|
quotaOptions |
JSON | [org options] |
Returns:
[return a JSON response]
- Type
- JSON
getQuotaDefinition(guid) → {JSON}
Get a quota from an Organization
http://apidocs.cloudfoundry.org/213/organization_quota_definitions/retrieve_a_particular_organization_quota_definition.html
Parameters:
Name | Type | Description |
---|---|---|
guid |
String | [org guid] |
Returns:
[return a JSON response]
- Type
- JSON
getQuotaDefinitions() → {JSON}
Get Quotas for Organizations
http://apidocs.cloudfoundry.org/213/organization_quota_definitions/list_all_organization_quota_definitions.html
Returns:
[return a JSON response]
- Type
- JSON
remove(guid, async) → {JSON}
Remove a Quota for an Organization
http://apidocs.cloudfoundry.org/222/organization_quota_definitions/delete_a_particular_organization_quota_definition.html
Parameters:
Name | Type | Description |
---|---|---|
guid |
String | [quota guid] |
async |
Boolean | [description] |
Returns:
[return a JSON response]
- Type
- JSON