createInstanceTags
    • PDF

    createInstanceTags

    • PDF

    記事の要約

    概要

    インスタンスタグを作成します。

    リクエスト

    リクエストパラメータ

    パラメータ名必須の有無タイプ制限事項説明
    instanceNoList.NYesList<String>重複不可- インスタンスタグを作成するサーバインスタンス番号リスト
    タグ設定はサーバでのみ可能
    serverInstanceNoは getServerInstanceListアクションを通じて取得可能
    例) instanceNoList.1=1088217
    instanceTagList.N.tagKeyYesString- 作成するタグキー
    例) instanceTagList.1.tagKey=tag1
    instanceTagList.N.tagValueYesString- 作成するタグ値
    例) instanceTagList.1.tagValue=dolphins
    responseFormatTypeNoString- レスポンス結果の形式タイプ
    オプション: xml | json
    デフォルト: xml

    レスポンス

    レスポンスボディ

    リクエスト例

    GET {SERVER_API_URL}/createInstanceTags?instanceNoList.1=1088217
    &instanceTagList.1.tagKey=tag1
    &instanceTagList.1.tagValue=dolphins
    

    レスポンス例

    <createInstanceTagsResponse>
      <requestId>7d7bf862-31a4-4b7e-b3ca-d8128f3936f3</requestId>
      <returnCode>0</returnCode>
      <returnMessage>success</returnMessage>
      <totalRows>1</totalRows>
      <instanceTagList>
        <instanceTag>
          <instanceNo>1088217</instanceNo>
          <instanceType>
            <code>SVR</code>
            <codeName>Server</codeName>
          </instanceType>
          <tagKey>tag1</tagKey>
          <tagValue>dolphins</tagValue>
        </instanceTag>
      </instanceTagList>
    </createInstanceTagsResponse>
    

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

    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.