Queries information about images.
Authorization information
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
Criteria | string | No | The search condition that is used to filter the server. The value of this parameter is in the JSON format and contains the following fields:
NoteYou can call the DescribeImageCriteria operation to query the supported search conditions. | [{"name":"instanceId","value":"390100182","logicalExp":"AND"}] |
LogicalExp | string | No | The logical relationship that you want to use to evaluate multiple search conditions. Valid values:
| OR |
PageSize | integer | No | The number of entries to return on each page. Default value: 20. If you leave this parameter empty, 20 entries are returned on each page. Note: We recommend that you do not leave this parameter empty. | 20 |
CurrentPage | integer | No | The number of the page to return. Pages start from page 1. Default value: 1. | 1 |
Scanned | boolean | No | Specifies whether the image is scanned. Valid values:
| true |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "BE120DAB-F4E7-4C53-ADC3-A97578ABF384",
"PageInfo": {
"CurrentPage": 1,
"PageSize": 20,
"TotalCount": 69,
"Count": 4
},
"ImageInstanceList": [
{
"Status": "NORMAL",
"Digest": "a5ccdd9b166b67e02954aa9b618fe19b7968bd56a15463d2ad7f2643ba5b****",
"RegistryType": "acr",
"Tag": "mysql_5.7",
"ImageUpdate": "1600069948849",
"RepoType": "private",
"ImageSize": "1604487690",
"HcStatus": "NO",
"VulCount": 0,
"ImageId": "c20987f18b130f9d144c9828df630417e2a9523148930dc3963e9d0dab30****",
"Endpoints": "[]",
"RiskStatus": "NO",
"ImageCreate": "1600069948849",
"VulStatus": "NO",
"AlarmStatus": "NO",
"ScaProgress": 100,
"InstanceId": "39010****",
"RegionId": "cn-hangzhou",
"ScaStatus": "SUCCESS",
"Uuid": "12f80307-60aa-4efa-863a-56d72fb****",
"RepoId": "f2b86d20bf0855af6aa268ce90fd****",
"HcCount": 0,
"ScaResult": "TASK_NOT_SUPPORT_REGION",
"RepoName": "sas-script-test",
"AlarmCount": 0,
"RepoNamespace": "N/A",
"Deployed": 1
}
]
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
403 | NoPermission | caller has no permission | You are not authorized to do this operation. |
500 | ServerError | ServerError | - |
For a list of error codes, visit the Service error codes.