getInitScriptDetail
    • PDF

    getInitScriptDetail

    • PDF

    Article Summary

    VPC環境で利用できます。

    概要

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

    リクエスト

    リクエストパラメータ

    パラメータ名必須の有無タイプ制約事項説明
    regionCodeNoStringリージョンコード
    初期化スクリプトの詳細情報が照会されるリージョン(Region)を決定できます。
    regionCodeはgetRegionListアクションを通じて取得できます。
    Default:getRegionList照会結果の最初のリージョンを選択
    initScriptNoYesString照会する初期化スクリプト番号
    initScriptNoはgetInitScriptListアクションを通じて取得できます。
    responseFormatTypeNoStringレスポンス結果のフォーマットタイプ
    Options : xml | json
    Default : xml

    レスポンス

    レスポンスボディ

    リクエスト例

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

    レスポンス例

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

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

    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.