MENU
      createInstanceTags
        • PDF

        createInstanceTags

        • PDF

        記事の要約

        概要

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

        リクエスト

        リクエストパラメータ

        パラメータ名必須タイプ制約事項
        instanceTagList.NYesList<String>重複不可インスタンスタグを作成するサーバインスタンス番号リスト
        タグ設定ができるのはサーバのみです。
        serverInstanceNoはgetServerInstanceList アクションを通じて取得できます。
        ex) instanceNoList.1=1088217
        instanceTagList.N.tagKeyYesString作成するタグキー
        ex) instanceTagList.1.tagKey=tag1
        instanceTagList.N.tagValueYesString作成するタグ値
        ex) instanceTagList.1.tagValue=dolphins

        レスポンス

        レスポンスボディ

        例示

        リクエスト例示

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

        レスポンス例示

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