All Products
Search
Document Center

Security Center:ListCloudVendorRegions

Last Updated:Nov 25, 2024

Queries the synchronization region configurations of other clouds on a site.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

The following table shows the authorization information corresponding to the API. The authorization information can be used in the Action policy element to grant a RAM user or RAM role the permissions to call this API operation. Description:

  • Operation: the value that you can use in the Action element to specify the operation on a resource.
  • Access level: the access level of each operation. The levels are read, write, and list.
  • Resource type: the type of the resource on which you can authorize the RAM user or the RAM role to perform the operation. Take note of the following items:
    • The required resource types are displayed in bold characters.
    • If the permissions cannot be granted at the resource level, All Resources is used in the Resource type column of the operation.
  • Condition Key: the condition key that is defined by the cloud service.
  • Associated operation: other operations that the RAM user or the RAM role must have permissions to perform to complete the operation. To complete the operation, the RAM user or the RAM role must have the permissions to perform the associated operations.
OperationAccess levelResource typeCondition keyAssociated operation
yundun-sas:ListCloudVendorRegionslist
*All Resources
*
    none
none

Request parameters

ParameterTypeRequiredDescriptionExample
VendorstringNo

The service provider of cloud assets. Valid values:

  • Tencent, HUAWEICLOUD, Azure, and AWS: other service providers of cloud assets.
Tencent
LangstringNo

The language of the content in the request and response messages. Default value: zh. Valid values:

  • zh: Chinese
  • en: English
en

Response parameters

ParameterTypeDescriptionExample
object

ListResult

Dataarray<object>

The regions that the service provider supports.

Dataobject
RegionIdstring

The region ID.

cn-hangzhou
Areastring

The area to which the region belongs. The valid values vary based on the value of the Vendor parameter.

  • Valid values if Vendor is set to Tencent:
  • cn: China
  • southeast_asia: Southeast Asia Pacific
  • northeast_asia: Northeast Asia Pacific
  • southern_asia: South Asia Pacific
  • north_America: North America
  • south_America: South America
  • western_America: Western United States
  • eastern_America: Eastern United States
  • european: Europe
  • Valid values if Vendor is set to HUAWEICLOUD:
  • cn: China
  • africa: Africa
  • latin_america: Latin America
  • asia: Asia Pacific
  • Valid values if Vendor is set to Azure:
  • middle_east: Middle East
  • south_america: South America
  • canada: Canada
  • asia-pacific: Asia Pacific
  • europe: Europe
  • africa: Africa
  • us: United States
  • other: other regions
  • Valid values if Vendor is set to AWS:
  • cn: China
  • us: United States
  • eu: Europe
  • asia: Asia Pacific
  • south_america: South America
  • me: Middle East
  • ca: Canada
  • af: Africa
cn
Disableinteger

Indicates whether the region is configured as a synchronization region on another site. Valid values:

  • 0: The region is not configured as a synchronization region on another site.
  • 1: The region is configured as a synchronization region on another site.
1
Selectedinteger

Indicates whether the region is configured as a synchronization region on this site. Valid values:

  • 0: The region is not configured as a synchronization region on this site.
  • 1: The region is configured as a synchronization region on this site.
0
Countinteger

The total number of returned entries.

2
Successboolean

Indicates whether the request was successful. Valid values:

  • true: The request was successful.
  • false: The request failed.
true
Codestring

The return code.

200
Messagestring

The error message returned.

successful
RequestIdstring

The request ID.

C87EC6AD-4590-5546-9DF6-B8956579D***
HttpStatusCodeinteger

The HTTP status code returned.

200

Examples

Sample success responses

JSONformat

{
  "Data": [
    {
      "RegionId": "cn-hangzhou",
      "Area": "cn",
      "Disable": 1,
      "Selected": 0
    }
  ],
  "Count": 2,
  "Success": true,
  "Code": "200",
  "Message": "successful",
  "RequestId": "C87EC6AD-4590-5546-9DF6-B8956579D***",
  "HttpStatusCode": 200
}

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.

Change history

Change timeSummary of changesOperation
2024-09-25The Error code has changedView Change Details