[{"label":"Latest (v36.3)","version":"latest"},{"version":"v36.2"},{"version":"v36.1"},{"version":"v36.0"},{"link":"https://developer.vmware.com/apis/1046/vmware-cloud-director","version":"v35.0"}]
vmware-cloud-director

Get Quota Policy

Description

Get the specified quota policy

Request

Request

URL

URL


get
https://{api_host}/cloudapi/1.0.0/quotaPolicies/{quotaPolicyId}
Copy

Path Parameters

Path Parameters

string
quotaPolicyId Required

Authentication

Authentication

This operation uses the following authentication methods.

Response

Response

Response Body

Response Body

200 OK returns QuotaPolicy of type(s) application/json;version=36.3
{
	"description": "string",
	"id": "string",
	"isAutoGenerated": false,
	"name": "string",
	"orgId": "string",
	"quotaPoolDefinitions": [
		{
			"qualifiers": [
				"vm.guestOs == Windows"
			],
			"quota": 0,
			"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.",
			"quotaResourceUnit": "memory unit - MB, cpu unit - MHz, storage unit - MB",
			"resourceType": "string"
		}
	]
}
string
name Required

Display name for the quota policy.


quotaPoolDefinitions Required

A list of quota pool definitions.


string
description Optional

string
id Optional

URN for quota policy. This is immutable.


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.


string
orgId Optional

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

No error details were provided in the OpenAPI specification.

Code Samples

Code Samples

cURL Command

curl https://{api_host}/cloudapi/1.0.0/quotaPolicies/{quotaPolicyId}


[{"label":"Latest (v36.3)","version":"latest"},{"version":"v36.2"},{"version":"v36.1"},{"version":"v36.0"},{"link":"https://developer.vmware.com/apis/1046/vmware-cloud-director","version":"v35.0"}]
vmware-cloud-director
Feedback

Was this page helpful?