Get Vdc Compute Policy Metrics
Returns metrics for the given compute policy. Returns 400 if the policyType does not support metrics. For example, if type of the policy is VdcVmPolicy, then this API returns a 400 BadRequest response.
Request
URI
GET
https://{api_host}/cloudapi/2.0.0/vdcComputePolicies/{vdcComputePolicyId}/metrics
COPY
Path Parameters
string
vdcComputePolicyId
Required
vdcComputePolicyId
string
vdcComputePolicyId
Required
vdcComputePolicyId
Responses
200
OK
Returns VdcComputePolicyMetrics of type(s) application/json;version=38.1
{
"policyMetricsType": "string"
}
string
policyMetricsType
Required
The discriminator type is used to differentiate among various sub policy type metrics.
400
Invalid configuration.
Returns Error of type(s) application/json;version=38.1
{
"minorErrorCode": "string",
"message": "string",
"stackTrace": "string"
}
string
minorErrorCode
Required
minorErrorCode
string
message
Required
message
string
stackTrace
Optional
stackTrace
Availability
Added in 35.0
Vdc Compute Policies2 Operations
POST
Add Vdc Compute Policy To Vdcs
POST
Create Vdc Compute Policy
DELETE
Delete Vdc Compute Policy
GET
Get Vdc Compute Policy
GET
Get Vdc Compute Policy Metrics
GET
Get Vdc Compute Policy Vdcs
GET
Query Vdc Compute Policies
GET
Query Virtual Machine Classes
PUT
Update Vdc Compute Policy