getRouteTableSubnetList
- 印刷する
- PDF
getRouteTableSubnetList
- 印刷する
- PDF
Article Summary
Share feedback
Thanks for sharing your feedback!
VPC環境で利用できます。
概要
ルートテーブルに設定された関連付けられたSubnetリストを照会します。
リクエスト
リクエストパラメータ
パラメータ名 | 必須の有無 | タイプ | 制約事項 | 説明 |
---|---|---|---|---|
regionCode | No | String | リージョンコード 関連付けられたSubnetリストが照会されるルートテーブルのリージョン(Region)を決定できます。 regionCodeはgetRegionListアクションを通じて取得できます。 Default:getRegionList照会結果の最初のリージョンを選択 | |
routeTableNo | Yes | String | ルートテーブル番号 照会する関連付けられたSubnetリストのルートテーブル番号を決定します。 routeTableNoはgetRouteTableListアクションを通じて取得できます。 | |
responseFormatType | No | String | レスポンス結果のフォーマットタイプ Options : xml | json Default : xml |
レスポンス
レスポンスボディ
例
リクエスト例
GET {API_URL}/vpc/v2/getRouteTableSubnetList
?regionCode=KR
&routeTableNo=***38
レスポンス例
<getRouteTableSubnetListResponse>
<requestId>a7ee6059-2060-481f-9a4d-b61a38bf387c</requestId>
<returnCode>0</returnCode>
<returnMessage>success</returnMessage>
<totalRows>1</totalRows>
<subnetList>
<subnet>
<subnetNo>***44</subnetNo>
<vpcNo>***04</vpcNo>
<zoneCode>KR-1</zoneCode>
<subnetName>test-***</subnetName>
<subnet>***.***.1.0/24</subnet>
<subnetStatus>
<code>INIT</code>
<codeName>init</codeName>
</subnetStatus>
<subnetType>
<code>PUBLIC</code>
<codeName>Public</codeName>
</subnetType>
</subnet>
</subnetList>
</getRouteTableSubnetListResponse>
この記事は役に立ちましたか?