Get Metrics Policy By Version

Get Metrics Policy By Version

Get a specific historical version of a metrics policy

Request
URI
GET
https://{api_host}/api/v2/metricspolicy/history/{version}
COPY
Path Parameters
integer
version
Required

version


Authentication
This operation uses the following authentication methods.
Responses
200

successful operation

Returns ResponseContainerMetricsPolicyReadModel of type(s) application/json
{
    "status": {
        "result": "string",
        "message": "string",
        "code": 0
    },
    "response": {
        "policyRules": [
            {
                "accounts": [
                    {
                        "name": "string",
                        "id": "string",
                        "description": "string"
                    }
                ],
                "userGroups": [
                    {
                        "name": "string",
                        "id": "string",
                        "description": "string"
                    }
                ],
                "roles": [
                    {
                        "name": "string",
                        "id": "string",
                        "description": "string"
                    }
                ],
                "name": "string",
                "id": "string",
                "description": "string",
                "tagsAnded": false,
                "tags": [
                    {
                        "key": "string",
                        "value": "string"
                    }
                ],
                "prefixes": [
                    "string"
                ],
                "accessType": "string"
            }
        ],
        "updatedEpochMillis": 0,
        "customer": "string",
        "updaterId": "string"
    }
}
status
Required

status

response
Optional

response