DescribeAvailableResource

Updated at: 2024-09-20 08:52

Queries the available resources and resources that are available for purchase in the zones of a region.

Operation description

Note
Only the available resources and zones are returned.

Debugging

OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
ParameterTypeRequiredDescriptionExample
RegionIdstringYes

The region ID.

cn-hangzhou
AddressTypestringNo

The network type.

Valid values: vpc, classic-internet, and classic-intranet.

vpc: an internal Classic Load Balancer (CLB) instance that is deployed in a virtual private cloud (VPC).

classic_internet: a public-facing CLB instance.

classic_intranet: an internal CLB instance that is deployed in a classic network.

vpc
AddressIPVersionstringNo

The type of the IP address.

Valid values: ipv4 and ipv6.

ipv4

Response parameters

ParameterTypeDescriptionExample
ParameterTypeDescriptionExample
object
RequestIdstring

The request ID.

173B0EEA-22ED-4EE2-91F9-3A1CDDFFBBBA
AvailableResourcesarray<object>

The zones and the supported resources.

object
SlaveZoneIdstring

The secondary zone.

cn-shanghai-b
MasterZoneIdstring

The primary zone.

cn-shanghai-a
SupportResourcesarray<object>

The supported resources.

object
AddressTypestring

The network type.

Valid values: vpc, classic-internet, and classic-intranet.

classic_internet
AddressIPVersionstring

The type of the IP address.

Valid values: ipv4 and ipv6.

ipv4

Examples

Sample success responses

JSONformat

{
  "RequestId": "173B0EEA-22ED-4EE2-91F9-3A1CDDFFBBBA",
  "AvailableResources": {
    "AvailableResource": [
      {
        "SlaveZoneId": "cn-shanghai-b",
        "MasterZoneId": "cn-shanghai-a",
        "SupportResources": {
          "SupportResource": [
            {
              "AddressType": "classic_internet",
              "AddressIPVersion": "ipv4"
            }
          ]
        }
      }
    ]
  }
}

Error codes

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

Change history

Change timeSummary of changesOperation
Change timeSummary of changesOperation
No change history
  • On this page (1)
  • Operation description
  • Debugging
  • Authorization information
  • Request parameters
  • Response parameters
  • Examples
  • Error codes
  • Change history
Feedback
phone Contact Us

Chat now with Alibaba Cloud Customer Service to assist you in finding the right products and services to meet your needs.

alicare alicarealicarealicare