Create Quota Policy

Create Quota Policy

Creates a new quota policy

Request
URI
POST
https://{api_host}/cloudapi/1.0.0/quotaPolicies
COPY
Request Body
QuotaPolicy of type(s) application/json
Optional
{
    "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

description

string
name
Required

Display name for the quota policy.

string
orgId
Optional

URN of org in which this policy is created. This is immutable

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.

Authentication
This operation uses the following authentication methods.
Responses
201

Created

Returns QuotaPolicy of type(s) application/json;version=36.3
{
    "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

description

string
name
Required

Display name for the quota policy.

string
orgId
Optional

URN of org in which this policy is created. This is immutable

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.