getRouteList
    • PDF

    getRouteList

    • PDF

    Article Summary

    VPC環境で利用できます。

    概要

    ルートテーブルに設定されたルートリストを照会します。

    リクエスト

    リクエストパラメータ

    パラメータ名必須の有無タイプ制約事項説明
    regionCodeNoStringリージョンコード
    ルートリストが照会されるルートテーブルのリージョン(Region)を決定できます。
    regionCodeはgetRegionListアクションを通じて取得できます。
    Default:getRegionList照会結果の最初のリージョンを選択
    routeTableNoYesStringルートテーブル番号
    照会するルートリストのルートテーブル番号を決定します。
    routeTableNoはgetRouteTableListアクションを通じて取得できます。
    vpcNoYesStringVPC番号
    照会するルートテーブルのVPC番号を決定します。
    vpcNoはgetVpcListアクションを通じて取得できます。
    responseFormatTypeNoStringレスポンス結果のフォーマットタイプ
    Options : xml | json
    Default : xml

    レスポンス

    レスポンスボディ

    リクエスト例

    GET {API_URL}/vpc/v2/getRouteList
    ?regionCode=KR
    &routeTableNo=***38
    &vpcNo=***04
    

    レスポンス例

    <getRouteListResponse>
      <requestId>97b1034c-e030-40b8-bc22-58da1c3e5b0b</requestId>
      <returnCode>0</returnCode>
      <returnMessage>success</returnMessage>
      <totalRows>2</totalRows>
      <routeList>
        <route>
          <destinationCidrBlock>***.***.0.0/16</destinationCidrBlock>
          <targetName>LOCAL</targetName>
          <routeTableNo>***38</routeTableNo>
          <targetType>
            <code>LOCAL</code>
            <codeName>Local</codeName>
          </targetType>
          <targetNo></targetNo>
          <isDefault>true</isDefault>
        </route>
        <route>
          <destinationCidrBlock>***.***.0.0/0</destinationCidrBlock>
          <targetName>INTERNET GATEWAY</targetName>
          <routeTableNo>***38</routeTableNo>
          <targetType>
            <code>IGW</code>
            <codeName>Internet Gateway</codeName>
          </targetType>
          <targetNo></targetNo>
          <isDefault>true</isDefault>
        </route>
      </routeList>
    </getRouteListResponse>
    

    この記事は役に立ちましたか?

    What's Next
    Changing your password will log you out immediately. Use the new password to log back in.
    First name must have atleast 2 characters. Numbers and special characters are not allowed.
    Last name must have atleast 1 characters. Numbers and special characters are not allowed.
    Enter a valid email
    Enter a valid password
    Your profile has been successfully updated.