Get Vdc Compute Policy Metrics

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


Authentication
This operation uses the following authentication methods.
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