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=39.0
{
"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=39.0
{
"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
POST
Create Vdc Compute Policy Access Control Grant
DELETE
Delete Vdc Compute Policy
GET
Get Access Control Grant
GET
Get Vdc Compute Policy
GET
Get Vdc Compute Policy Metrics
GET
Get Vdc Compute Policy Vdcs
GET
Query Vdc Compute Policies
GET
Query Vdc Compute Policy Access Control Grants
GET
Query Virtual Machine Classes
DELETE
Remove Access Control Grant
PUT
Update Access Control Grant
PUT
Update Vdc Compute Policy
PUT
Update Vdc Compute Policy Access Control Grant