All Products
Search
Document Center

Security Center:ListImageRegistryRegion

Last Updated:Mar 21, 2023

Queries the regions in which you can add self-managed image repositories to Security Center.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
The current API does not require request parameters

Response parameters

ParameterTypeDescriptionExample
object

The data returned.

RequestIdstring

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

291B49F9-1685-4005-9D34-606B6F78****
Regionsarray

An array that consists of regions.

object

The region.

RegionNamestring

The name of the region.

cn-hangzhou
RegionIdstring

The region ID of the image.

cn-hangzhou

Examples

Sample success responses

JSONformat

{
  "RequestId": "291B49F9-1685-4005-9D34-606B6F78****",
  "Regions": [
    {
      "RegionName": "cn-hangzhou",
      "RegionId": "cn-hangzhou"
    }
  ]
}

Error codes

HTTP status codeError codeError messageDescription
403NoPermissioncaller has no permissionYou are not authorized to do this operation.
500ServerErrorServerError-

For a list of error codes, visit the Service error codes.