getCloudMysqlTargetSubnetList
- 印刷する
- PDF
getCloudMysqlTargetSubnetList
- 印刷する
- PDF
Article Summary
Share feedback
Thanks for sharing your feedback!
VPC環境で利用できます。
概要
使用可能な Subnetリストを照会します。
リクエスト
リクエストパラメータ
パラメータ名 | 要否 | タイプ | 制約事項 | 説明 |
---|---|---|---|---|
regionCode | No | String | - リージョンコード regionCodeは getRegionListアクションを通じて取得可能 Default: getRegionList照会結果の最初のリージョンを選択 | |
vpcNo | Yes | String | - VPC番号 vpcNoは getCloudMysqlTargetVpcListアクションを通じて取得可能 | |
cloudMysqlImageProductCode | Yes | String | - Cloud DB for MySQL画像商品コード cloudMysqlImageProductCodeは getCloudMysqlImageProductListアクションの productCodeで取得可能 | |
isPublic | No | Boolean | - Public Subnet有無 | |
responseFormatType | No | String | - レスポンス結果のフォーマットタイプ Options : xml | json Default : xml |
レスポンス
レスポンスボディ
例
リクエスト例
GET {API_URL}/getCloudMysqlTargetSubnetList
?regionCode=KR
&vpcNo=**65
&cloudMysqlImageProductCode=SW.VDBAS.DBAAS.LNX64.CNTOS.0708.MYSQL.8018.B050
レスポンス例
<getCloudMysqlTargetSubnetListResponse>
<requestId>415050c7-bda1-43b6-9af1-f5ade127ad82</requestId>
<returnCode>0</returnCode>
<returnMessage>success</returnMessage>
<totalRows>2</totalRows>
<targetSubnetList>
<targetSubnet>
<subnetNo>37****</subnetNo>
<subnetName>test-****-private-kr1</subnetName>
<vpcNo>**65</vpcNo>
<vpcName>test-****</vpcName>
<zoneCode>KR-1</zoneCode>
<subnet>192.168.0.0/24</subnet>
<isPublic>false</isPublic>>
<createdDate>2022-03-24T18:00:00+0900</createdDate>
</targetSubnet>
<targetSubnet>
<subnetNo>37****</subnetNo>
<subnetName>test-****-public-kr1</subnetName>
<vpcNo>**65</vpcNo>
<vpcName>test-****</vpcName>
<zoneCode>KR-1</zoneCode>
<subnet>192.168.1.0/24</subnet>
<isPublic>true</isPublic>>
<createdDate>2022-03-24T18:00:00+0900</createdDate>
</targetSubnet>
</targetSubnetList>
</getCloudMysqlTargetSubnetListResponse>
この記事は役に立ちましたか?