Method listDryRunResults
Статья создана
Retrieves the list of the dry run results.
HTTP request
GET https://container-registry.api.cloud.yandex.net/container-registry/v1/dryRunLifecyclePolicyResults
Query parameters
Parameter | Description |
---|---|
lifecyclePolicyId | Required. ID of the lifecycle policy. The maximum string length in characters is 50. |
pageSize | The maximum number of results per page to return. If the number of available results is larger than page_size , the service returns a nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 1000, inclusive. |
pageToken | Page token. To get the next page of results, set page_token to the nextPageToken returned by a previous list request. The maximum string length in characters is 100. |
filter | A filter expression that filters dry run results listed in the response. The expression must specify: 1. The field name. Currently you can use filtering only on LifecyclePolicy.name field. 2. An = operator. 3. The value in double quotes (" ). Must be 3-63 characters long and match the regular expression [a-z][-a-z0-9]{1,61}[a-z0-9] . The maximum string length in characters is 1000. |
orderBy | Sorting the list by runAt and affectedImagesCount fields. The default sorting order is ascending. The maximum string length in characters is 100. |
Response
HTTP Code: 200 - OK
{
"dryRunLifecyclePolicyResults": [
{
"dryRunLifecyclePolicyResultId": "string",
"lifecyclePolicyId": "string",
"runAt": "string",
"affectedImagesCount": "string"
}
],
"nextPageToken": "string"
}
Field | Description |
---|---|
dryRunLifecyclePolicyResults[] | object List of results of dry runs of a lifecycle policy. |
dryRunLifecyclePolicyResults[]. dryRunLifecyclePolicyResultId |
string ID of the dry run result of the lifecycle policy. |
dryRunLifecyclePolicyResults[]. lifecyclePolicyId |
string ID of the lifecycle policy. |
dryRunLifecyclePolicyResults[]. runAt |
string (date-time) Time of the getting result. String in RFC3339 text format. |
dryRunLifecyclePolicyResults[]. affectedImagesCount |
string (int64) Count of affected images. |
nextPageToken | string Token for getting the next page of the list. If the number of results is greater than the specified pageSize use Each subsequent page will have its own |