KDDIクラウドプラットフォームサービス ナレッジサイト

  • HOME
  • 提供API一覧
  • createTags

createTags

処理概要

KCPS管理のリソースにタグ情報を付加する

注意事項

特になし

リクエスト

・リクエストパラメータ

Parameter Name
Description
Required
resourceids list of resources to create the tags for true
resourcetype type of the resource true
ags Map of tags (key/value pairs) true

・リクエストサンプル

./kick-api.sh coomand=createTags resourceids=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx resourcetype=UserVm tags[0].key=test tags[0].value=100

レスポンス

・レスポンスボディ

Response Name
Description
jobid the ID of the latest async job acting on this object

・レスポンスサンプル

% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
160 160 160 160 0 0 1408 0 –:–:– –:–:– –:–:– 6666
<?xml version=”1.0″ encoding=”UTF-8″?>
<createtagsresponse cloud-stack-version=”4.3.0.2″>
<jobid>0bcd9dc3-39d4-4aaa-bb45-ac250d67709a</jobid>
</createtagsresponse>

提供API一覧

2024/06/28 2024/06/28