getCloudMysqlTargetSubnetList
    • PDF

    getCloudMysqlTargetSubnetList

    • PDF

    Article Summary

    VPC環境で利用できます。

    概要

    使用可能な Subnetリストを照会します。

    リクエスト

    リクエストパラメータ

    パラメータ名要否タイプ制約事項説明
    regionCodeNoString- リージョンコード
    regionCodeは、getRegionListアクションを通じて取得可能
    Default: getRegionList照会結果の最初のリージョンを選択
    vpcNoYesString- VPC番号
    vpcNoは、getCloudMysqlTargetVpcListアクションを通じて取得可能
    cloudMysqlImageProductCodeYesString- Cloud DB for MySQLの画像商品コード
    cloudMysqlImageProductCodeは、getCloudMysqlImageProductListアクションの productCodeで取得可能
    isPublicNoBoolean-Public Subnetの有無
    outputNoString- レスポンス結果のフォーマットタイプ
    Options : xml | json
    Default : json

    レスポンス

    レスポンスデータのタイプ

    • TargetSubnetListタイプ
    TargetSubnetList extends CommonResponse
    private Integer totalRows;
    private List<TargetSubnet> targetSubnetList = new ArrayList<>();
    TargetSubnet
    private String subnetNo;
    private String subnetName;
    private String vpcNo;
    private String vpcName;
    private String zoneCode;
    private String subnet;
    private Boolean isPublic;
    private Date createdDate;

    リクエスト例

    ncloud vmysql 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>
    

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

    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.