Queries the details about the quota for container image scan.

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
RequestId String 892NYH839-0EDC-4CD0-A2EF-5BD294656C99

The ID of the request, which is used to locate and troubleshoot issues.

ImageScan Object

The details about the quota for container image scan.

ScanCount Long 5489

The consumed quota for container image scan.

ImageScanCapacity Long 15340

The quota for container image scan.

InstanceId String sas-qdl123412****

The ID of the purchased Security Center instance.

Examples

Sample requests

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

Sample success responses

XML format

HTTP/1.1 200 OK
Content-Type:application/xml

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

JSON format

HTTP/1.1 200 OK
Content-Type:application/json

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

Error codes

HTTP status code Error code Error message Description
400 NoPermission no permission The error message returned because you do not have access permissions.
500 ServerError ServerError The error message returned because a server error occurred.

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