リージョンで購入可能なリソースを照会します。
注 使用可能なゾーンとリソースタイプのみが返されます。
デバッグ
OpenAPI Explorer を使用してデバッグ操作を実行し、SDK コード例を生成します。
リクエストパラメータ
パラメータ | データ型 | 必須/省略可能 | 値の例 | 説明 |
---|---|---|---|---|
Action | String | 必須 | DescribeAvailableResource |
この操作の名前。 値:DescribeAvailableResource |
RegionId | String | 必須 | cn-hangzhou |
照会対象となるリージョンのID。 |
AddressIPVersion | String | 省略可能 | ipv4 |
任意。 照会対象リソースの IP バージョン。 有効な値:ipv4 | ipv6 |
AddressType | String | 省略可能 | vpc |
任意。 照会対象リソースのネットワークタイプ。 有効な値:vpc | classic-internet | classic-intranet |
レスポンスパラメータ
パラメータ | データ型 | 値の例 | 説明 |
---|---|---|---|
AvailableResources |
利用可能なリソースと対応するゾーンのリスト。 |
||
└MasterZoneId | String | cn-shanghai |
プライマリゾーン ID。 |
└SlaveZoneId | String | cn-shanghai |
セカンダリゾーン ID。 |
└SupportResources |
対応するゾーンで利用可能なリソース。 |
||
└AddressIPVersion | String | ipv4 |
リソースの IP バージョン。 有効な値:ipv4 | ipv6 |
└AddressType | String | classic_internet |
インスタンスのネットワークタイプ。 有効な値:vpc | classic-internet | classic-intranet |
RequestId | String | 173B0EEA-22ED-4EE2-91F9-3A1CDDFFBBBA |
リクエストの ID。 |
例
リクエストの例
http(s)://[Endpoint]/?Action=DescribeAvailableResource
&RegionId=cn-hangzhou
&<CommonParameters>
レスポンスの例
XML
形式
<DescribeAvailableResource>
<RequestId>173B0EEA-22ED-4EE2-91F9-3A1CDDFFBBBA</RequestId>
<AvailableResources>
<AvailableResource>
<SupportResources>
<SupportResource>
<AddressIPVersion>ipv4</AddressIPVersion>
<AddressType>classic_internet</AddressType>
</SupportResource>
<SupportResource>
<AddressIPVersion>ipv4</AddressIPVersion>
<AddressType>classic_intranet</AddressType>
</SupportResource>
<SupportResource>
<AddressIPVersion>ipv4</AddressIPVersion>
<AddressType>vpc</AddressType>
</SupportResource>
</SupportResources>
<SlaveZoneId>cn-shanghai-b</SlaveZoneId>
<MasterZoneId>cn-shanghai-a</MasterZoneId>
</AvailableResource>
<AvailableResource>
<SupportResources>
<SupportResource>
<AddressIPVersion>ipv4</AddressIPVersion>
<AddressType>classic_internet</AddressType>
</SupportResource>
<SupportResource>
<AddressIPVersion>ipv4</AddressIPVersion>
<AddressType>classic_intranet</AddressType>
</SupportResource>
<SupportResource>
<AddressIPVersion>ipv4</AddressIPVersion>
<AddressType>vpc</AddressType>
</SupportResource>
</SupportResources>
<SlaveZoneId>cn-shanghai-a</SlaveZoneId>
<MasterZoneId>cn-shanghai-b</MasterZoneId>
</AvailableResource>
<AvailableResource>
<SupportResources>
<SupportResource>
<AddressIPVersion>ipv4</AddressIPVersion>
<AddressType>classic_internet</AddressType>
</SupportResource>
<SupportResource>
<AddressIPVersion>ipv4</AddressIPVersion>
<AddressType>classic_intranet</AddressType>
</SupportResource>
<SupportResource>
<AddressIPVersion>ipv4</AddressIPVersion>
<AddressType>vpc</AddressType>
</SupportResource>
</SupportResources>
<SlaveZoneId>cn-shanghai-c</SlaveZoneId>
<MasterZoneId>cn-shanghai-b</MasterZoneId>
</AvailableResource>
<AvailableResource>
<SupportResources>
<SupportResource>
<AddressIPVersion>ipv4</AddressIPVersion>
<AddressType>classic_internet</AddressType>
</SupportResource>
<SupportResource>
<AddressIPVersion>ipv4</AddressIPVersion>
<AddressType>classic_intranet</AddressType>
</SupportResource>
<SupportResource>
<AddressIPVersion>ipv4</AddressIPVersion>
<AddressType>vpc</AddressType>
</SupportResource>
</SupportResources>
<SlaveZoneId>cn-shanghai-b</SlaveZoneId>
<MasterZoneId>cn-shanghai-c</MasterZoneId>
</AvailableResource>
<AvailableResource>
<SupportResources>
<SupportResource>
<AddressIPVersion>ipv4</AddressIPVersion>
<AddressType>classic_internet</AddressType>
</SupportResource>
<SupportResource>
<AddressIPVersion>ipv4</AddressIPVersion>
<AddressType>classic_intranet</AddressType>
</SupportResource>
<SupportResource>
<AddressIPVersion>ipv4</AddressIPVersion>
<AddressType>vpc</AddressType>
</SupportResource>
</SupportResources>
<SlaveZoneId>cn-shanghai-e</SlaveZoneId>
<MasterZoneId>cn-shanghai-d</MasterZoneId>
</AvailableResource>
<AvailableResource>
<SupportResources>
<SupportResource>
<AddressIPVersion>ipv4</AddressIPVersion>
<AddressType>classic_internet</AddressType>
</SupportResource>
<SupportResource>
<AddressIPVersion>ipv4</AddressIPVersion>
<AddressType>classic_intranet</AddressType>
</SupportResource>
<SupportResource>
<AddressIPVersion>ipv4</AddressIPVersion>
<AddressType>vpc</AddressType>
</SupportResource>
</SupportResources>
<SlaveZoneId>cn-shanghai-f</SlaveZoneId>
<MasterZoneId>cn-shanghai-e</MasterZoneId>
</AvailableResource>
<AvailableResource>
<SupportResources>
<SupportResource>
<AddressIPVersion>ipv4</AddressIPVersion>
<AddressType>classic_internet</AddressType>
</SupportResource>
<SupportResource>
<AddressIPVersion>ipv4</AddressIPVersion>
<AddressType>classic_intranet</AddressType>
</SupportResource>
<SupportResource>
<AddressIPVersion>ipv4</AddressIPVersion>
<AddressType>vpc</AddressType>
</SupportResource>
<SupportResource>
<AddressIPVersion>ipv6</AddressIPVersion>
<AddressType>classic_internet</AddressType>
</SupportResource>
</SupportResources>
<SlaveZoneId>cn-shanghai-d</SlaveZoneId>
<MasterZoneId>cn-shanghai-e</MasterZoneId>
</AvailableResource>
<AvailableResource>
<SupportResources>
<SupportResource>
<AddressIPVersion>ipv4</AddressIPVersion>
<AddressType>classic_internet</AddressType>
</SupportResource>
<SupportResource>
<AddressIPVersion>ipv4</AddressIPVersion>
<AddressType>classic_intranet</AddressType>
</SupportResource>
<SupportResource>
<AddressIPVersion>ipv4</AddressIPVersion>
<AddressType>vpc</AddressType>
</SupportResource>
</SupportResources>
<SlaveZoneId>cn-shanghai-e</SlaveZoneId>
<MasterZoneId>cn-shanghai-f</MasterZoneId>
</AvailableResource>
<AvailableResource>
<SupportResources>
<SupportResource>
<AddressIPVersion>ipv4</AddressIPVersion>
<AddressType>classic_internet</AddressType>
</SupportResource>
<SupportResource>
<AddressIPVersion>ipv4</AddressIPVersion>
<AddressType>classic_intranet</AddressType>
</SupportResource>
<SupportResource>
<AddressIPVersion>ipv4</AddressIPVersion>
<AddressType>vpc</AddressType>
</SupportResource>
</SupportResources>
<SlaveZoneId>cn-shanghai-g</SlaveZoneId>
<MasterZoneId>cn-shanghai-f</MasterZoneId>
</AvailableResource>
<AvailableResource>
<SupportResources>
<SupportResource>
<AddressIPVersion>ipv4</AddressIPVersion>
<AddressType>classic_internet</AddressType>
</SupportResource>
<SupportResource>
<AddressIPVersion>ipv4</AddressIPVersion>
<AddressType>classic_intranet</AddressType>
</SupportResource>
<SupportResource>
<AddressIPVersion>ipv4</AddressIPVersion>
<AddressType>vpc</AddressType>
</SupportResource>
</SupportResources>
<SlaveZoneId>cn-shanghai-f</SlaveZoneId>
<MasterZoneId>cn-shanghai-g</MasterZoneId>
</AvailableResource>
</AvailableResources>
</DescribeAvailableResource>
JSON
形式
{
"RequestId":"173B0EEA-22ED-4EE2-91F9-3A1CDDFFBBBA",
"AvailableResources":{
"AvailableResource":[
{
"SlaveZoneId":"cn-shanghai-b",
"SupportResources":{
"SupportResource":[
{
"AddressIPVersion":"ipv4",
"AddressType":"classic_internet"
},
{
"AddressIPVersion":"ipv4",
"AddressType":"classic_intranet"
},
{
"AddressIPVersion":"ipv4",
"AddressType":"vpc"
}
]
},
"MasterZoneId":"cn-shanghai-a"
},
{
"SlaveZoneId":"cn-shanghai-a",
"SupportResources":{
"SupportResource":[
{
"AddressIPVersion":"ipv4",
"AddressType":"classic_internet"
},
{
"AddressIPVersion":"ipv4",
"AddressType":"classic_intranet"
},
{
"AddressIPVersion":"ipv4",
"AddressType":"vpc"
}
]
},
"MasterZoneId":"cn-shanghai-b"
},
{
"SlaveZoneId":"cn-shanghai-c",
"SupportResources":{
"SupportResource":[
{
"AddressIPVersion":"ipv4",
"AddressType":"classic_internet"
},
{
"AddressIPVersion":"ipv4",
"AddressType":"classic_intranet"
},
{
"AddressIPVersion":"ipv4",
"AddressType":"vpc"
}
]
},
"MasterZoneId":"cn-shanghai-b"
},
{
"SlaveZoneId":"cn-shanghai-b",
"SupportResources":{
"SupportResource":[
{
"AddressIPVersion":"ipv4",
"AddressType":"classic_internet"
},
{
"AddressIPVersion":"ipv4",
"AddressType":"classic_intranet"
},
{
"AddressIPVersion":"ipv4",
"AddressType":"vpc"
}
]
},
"MasterZoneId":"cn-shanghai-c"
},
{
"SlaveZoneId":"cn-shanghai-e",
"SupportResources":{
"SupportResource":[
{
"AddressIPVersion":"ipv4",
"AddressType":"classic_internet"
},
{
"AddressIPVersion":"ipv4",
"AddressType":"classic_intranet"
},
{
"AddressIPVersion":"ipv4",
"AddressType":"vpc"
}
]
},
"MasterZoneId":"cn-shanghai-d"
},
{
"SlaveZoneId":"cn-shanghai-f",
"SupportResources":{
"SupportResource":[
{
"AddressIPVersion":"ipv4",
"AddressType":"classic_internet"
},
{
"AddressIPVersion":"ipv4",
"AddressType":"classic_intranet"
},
{
"AddressIPVersion":"ipv4",
"AddressType":"vpc"
}
]
},
"MasterZoneId":"cn-shanghai-e"
},
{
"SlaveZoneId":"cn-shanghai-d",
"SupportResources":{
"SupportResource":[
{
"AddressIPVersion":"ipv4",
"AddressType":"classic_internet"
},
{
"AddressIPVersion":"ipv4",
"AddressType":"classic_intranet"
},
{
"AddressIPVersion":"ipv4",
"AddressType":"vpc"
},
{
"AddressIPVersion":"ipv6",
"AddressType":"classic_internet"
}
]
},
"MasterZoneId":"cn-shanghai-e"
},
{
"SlaveZoneId":"cn-shanghai-e",
"SupportResources":{
"SupportResource":[
{
"AddressIPVersion":"ipv4",
"AddressType":"classic_internet"
},
{
"AddressIPVersion":"ipv4",
"AddressType":"classic_intranet"
},
{
"AddressIPVersion":"ipv4",
"AddressType":"vpc"
}
]
},
"MasterZoneId":"cn-shanghai-f"
},
{
"SlaveZoneId":"cn-shanghai-g",
"SupportResources":{
"SupportResource":[
{
"AddressIPVersion":"ipv4",
"AddressType":"classic_internet"
},
{
"AddressIPVersion":"ipv4",
"AddressType":"classic_intranet"
},
{
"AddressIPVersion":"ipv4",
"AddressType":"vpc"
}
]
},
"MasterZoneId":"cn-shanghai-f"
},
{
"SlaveZoneId":"cn-shanghai-f",
"SupportResources":{
"SupportResource":[
{
"AddressIPVersion":"ipv4",
"AddressType":"classic_internet"
},
{
"AddressIPVersion":"ipv4",
"AddressType":"classic_intranet"
},
{
"AddressIPVersion":"ipv4",
"AddressType":"vpc"
}
]
},
"MasterZoneId":"cn-shanghai-g"
}
]
}
}