Queries the number of images that can be scanned.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Yes DescribeImageScanAuthCount

The operation that you want to perform.

Set the value to DescribeImageScanAuthCount.

Response parameters

Parameter Type Example Description
ImageScan Struct

The details of the quota for container image scan.

ImageScanCapacity Long 15340

The total number of images that can be scanned.

InstanceId String sas-qdl123412seub

The ID of the purchased Security Center instance.

ScanCount Long 5489

The consumed quota for container image scan.

RequestId String 892NYH839-0EDC-4CD0-A2EF-5BD294656C99

The ID of the request.

Examples

Sample requests

http(s)://[Endpoint]/?Action=DescribeImageScanAuthCount
&<Common request parameters>

Sample success responses

XML format

<DescribeImageScanAuthCountResponse>
  <ImageScan>
        <ImageScanCapacity>15340</ImageScanCapacity>
        <InstanceId>sas-qdl123412seub</InstanceId>
        <ScanCount>5489</ScanCount>
  </ImageScan>
  <requestId>892NYH839-0EDC-4CD0-A2EF-5BD294656C99</requestId>
</DescribeImageScanAuthCountResponse>

JSON format

{
	"ImageScan": {
		"ImageScanCapacity": 15340,
		"InstanceId": "sas-qdl123412seub",
		"ScanCount": 5489
	},
	"requestId": "892NYH839-0EDC-4CD0-A2EF-5BD294656C99"
}

Error codes

For a list of error codes, visit the API Error Center.