Get Quota Policy
Get the specified quota policy
Request
URI
GET
https://{api_host}/cloudapi/1.0.0/quotaPolicies/{quotaPolicyId}
COPY
Path Parameters
string
quotaPolicyId
Required
quotaPolicyId
Responses
200
OK
Returns
QuotaPolicy
of type(s)
application/json;version=39.1
{
"id": "string",
"description": "string",
"name": "string",
"orgId": "string",
"quotaPoolDefinitions": [
{
"quotaResourceName": "Running VMs quota is the user friendly name for resource type VM with qualifiers deployed == true. Consumed Memory quota is the user fiendly name for resource type memory.",
"resourceType": "string",
"quotaResourceUnit": "memory unit - MB, cpu unit - MHz, storage unit - MB",
"quota": 0,
"qualifiers": [
"string"
]
}
],
"isAutoGenerated": false
}
string
id
Optional
URN for quota policy. This is immutable.
string
description
Optional
Constraints:
minLength: 1
maxLength: 256
default: A quota policy.
description
string
name
Required
Constraints:
minLength: 1
maxLength: 128
Display name for the quota policy.
string
orgId
Optional
URN of org in which this policy is created. This is immutable
array of
object
quotaPoolDefinitions
Required
A list of quota pool definitions.
boolean
isAutoGenerated
Optional
This field cannot be updated and is a read-only field in the client. It defines if the quota policy is auto-generated.
Code Samples
COPY
curl -H 'Authorization: <value>' https://{api_host}/cloudapi/1.0.0/quotaPolicies/{quotaPolicyId}
Availability
Added in 35.0
Quota Policies Operations
GET
Query Quota Policies
POST
Create Quota Policy
GET
Get Quota Policy
PUT
Update Quota Policy
DELETE
Delete Quota Policy