MENU
      getInitScriptDetail
        • PDF

        getInitScriptDetail

        • PDF

        記事の要約

        VPC環境で利用できます。

        概要

        初期化スクリプト番号を利用して初期化スクリプトの詳細情報を照会します。

        リクエスト

        リクエストパラメータ

        パラメータ名必須の有無タイプ制限事項説明
        regionCodeNoString- リージョンコード
        初期化スクリプトの詳細情報が照会されるリージョン(Region)を決定可能
        regionCodeはgetRegionListアクションを通じて取得
        デフォルト: getRegionList照会結果の最初のリージョンを選択
        initScriptNoYesString- 照会対象の初期化スクリプト番号
        initScriptNoはgetInitScriptListアクションを通じて取得可能
        responseFormatTypeNoString- レスポンス結果の形式タイプ
        オプション: xml | json
        デフォルト: xml

        レスポンス

        レスポンスボディ

        リクエスト例

        GET {API_URL}/getInitScriptDetail
        ?regionCode=KR
        &initScriptNo=***44
        HTTP

        レスポンス例

        <getInitScriptDetailResponse>
          <requestId></requestId>
          <returnCode>0</returnCode>
          <returnMessage>success</returnMessage>
          <totalRows>1</totalRows>
          <initScriptList>
            <initScript>
              <initScriptNo>***44</initScriptNo>
              <initScriptName>test-***</initScriptName>
              <createDate>2020-08-20T12:24:37+0900</createDate>
              <initScriptDescription></initScriptDescription>
              <initScriptContent>#!/bin/bash</initScriptContent>
              <osType>
                <code>LNX</code>
                <codeName>LINUX</codeName>
              </osType>
            </initScript>
          </initScriptList>
        </getInitScriptDetailResponse>
        XML

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

        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.