createLaunchConfiguration
    • PDF

    createLaunchConfiguration

    • PDF

    Article Summary

    VPC環境で利用できます。

    概要

    Launch Configurationを作成します。

    リクエスト

    リクエストパラメータ

    パラメータ名必須有無タイプ制約事項説明
    regionCodeNoStringリージョンコード
    Launch Configurationが作成されるリージョン(Region)を決定できます。
    regionCodeはgetRegionListアクションを通じて取得できます。
    Default:getRegionList照会結果の最初のリージョンを選択
    serverImageProductCodeConditionalStringサーバ画像の商品コード
    Scale-outでサーバを作成する際に、新しいサーバ画像を利用するように設定することができます。
    サーバ画像の商品コード(serverImageProductCode)と会員サーバ画像インスタンス(memberServerImageInstanceNo)のうち、一つを必ず入力します。
    serverImageProductCodeはgetServerImageProductListアクションを通じて取得できます。
    memberServerImageInstanceNoConditionalString会員サーバ画像のインスタンス番号
    Scale-outでサーバを作成する際に、直接作成したサーバ画像を利用するように設定することができます。
    サーバ画像の商品コード(serverImageProductCode)と会員サーバ画像インスタンス(memberServerImageInstanceNo)のうち、一つを必ず入力します。
    memberServerImageInstanceNoはgetMemberServerImageInstanceListアクションを通じて取得できます。
    serverProductCodeNoStringサーバ商品コード
    Scale-outでサーバを作成する際に、作成するサーバのスペックを決定できます。
    serverProductCodeはgetServerProductListアクションを通じて取得できます。
    Default:最小仕様で選択されます。 最小仕様の基準は、
    1. メモリ 2. CPU 3. 基本ブロックストレージサイズ 4. ディスクタイプ(NET)順に決定されます。
    isEncryptedVolumeNoBoolean基本ブロックストレージボリューム暗号化の有無
    RHVサーバ画像商品の場合、基本ブロックストレージ暗号化の有無を決定できます。
    Options : true | false
    Default : false
    initScriptNoNoString初期化スクリプト番号
    サーバの最初の起動時、ユーザーが設定した初期化スクリプトを実行できます。
    initScriptNoはgetInitScriptListアクションを通じて取得できます。
    launchConfigurationNameNoStringMin : 1, Max : 255
    小文字、数字、特殊文字のハイフン「-」のみが認められ、最初の文字をアルファベットにしてください。
    アルファベットまたは数字で終わるようにしてください。
    Launch Configuration名
    Default:NAVERクラウドプラットフォームが自動的に付与します。
    loginKeyNameNoStringログインキー名
    サーバインスタンスにアクセスする時、パスワードを暗号化して復号化するキーを決定できます。
    loginKeyNameはgetLoginKeyListアクションを通じて取得できます。
    Default:直近で作成されたログインキー名を使用します。
    responseFormatTypeNoStringレスポンス結果のフォーマットタイプ
    Options : xml | json
    Default : xml

    レスポンス

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

    • LaunchConfigurationListタイプ
    LaunchConfigurationList extends CommonResponse
    private Integer totalRows;
    private List launchConfigurationList = new ArrayList<>();
    LaunchConfiguration
    private String regionCode;
    private String launchConfigurationNo;
    private String launchConfigurationName;
    private String serverImageProductCode;
    private String memberServerImageInstanceNo;
    private String serverProductCode;
    private String loginKeyName;
    private Date createDate;
    private CommonCode launchConfigurationStatus;
    private String initScriptNo;
    private Boolean isEncryptedVolume;

    リクエスト例

    ncloud vautoscaling createLaunchConfiguration --regionCode KR --serverImageProductCode SW.VSVR.OS.LNX64.CNTOS.0703.B050 --serverProductCode SVR.VSVR.STAND.C002.M008.NET.SSD.B050.G002 --isEncryptedVolume false --launchConfigurationName test-***
    

    レスポンス例

    <createLaunchConfigurationResponse>
      <requestId></requestId>
      <returnCode>0</returnCode>
      <returnMessage>success</returnMessage>
      <totalRows>1</totalRows>
      <launchConfigurationList>
        <launchConfiguration>
          <regionCode>KR</regionCode>
          <launchConfigurationNo>***163</launchConfigurationNo>
          <launchConfigurationName>test-***</launchConfigurationName>
          <serverImageProductCode>SW.VSVR.OS.LNX64.CNTOS.0703.B050</serverImageProductCode>
          <memberServerImageInstanceNo></memberServerImageInstanceNo>
          <serverProductCode>SVR.VSVR.STAND.C002.M008.NET.SSD.B050.G002</serverProductCode>
          <loginKeyName>test-***</loginKeyName>
          <createDate>2020-12-07T13:08:50+0900</createDate>
          <launchConfigurationStatus>
            <code>CREAT</code>
            <codeName>Created</codeName>
          </launchConfigurationStatus>
          <initScriptNo></initScriptNo>
          <isEncryptedVolume>false</isEncryptedVolume>
        </launchConfiguration>
      </launchConfigurationList>
    </createLaunchConfigurationResponse>
    

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

    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.