Update Quota Policy

Update Quota Policy

Update the specified quota policy

Request
URI
PUT
https://{api_host}/cloudapi/1.0.0/quotaPolicies/{quotaPolicyId}
COPY
Path Parameters
string
quotaPolicyId
Required

quotaPolicyId

string
quotaPolicyId
Required

quotaPolicyId


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
200

OK

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


202

The request have been accepted and the task to monitor the request is in the Location header.

Operation doesn't return any data structure