createInstanceTags
- Print
- PDF
createInstanceTags
- Print
- PDF
Article summary
Did you find this summary helpful?
Thank you for your feedback
Overview
Creates instance tags.
Request
Request parameters
Parameter | Required | Type | Limitations | Description |
---|---|---|---|---|
instanceNoList.N | Y | List<String> | Duplicates not allowed. | List of server instance numbers to create instance tags for Tags can be set only for servers. Get available values by using the getServerInstanceList action. Example) instanceNoList.1=1088217 |
instanceTagList.N.tagKey | Y | String | Tag key to create Example) instanceTagList.1.tagKey=tag1 | |
instanceTagList.N.tagValue | Y | String | Tag value to create Example) instanceTagList.1.tagValue=dolphins |
Response
Response body
Examples
Request example
GET {SERVER_API_URL}/createInstanceTags?instanceNoList.1=1088217
&instanceTagList.1.tagKey=tag1
&instanceTagList.1.tagValue=dolphins
Response example
<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>
Was this article helpful?