Skip to content
This repository has been archived by the owner on Apr 25, 2019. It is now read-only.

createTagsができない #2

Open
akito1986 opened this issue Jan 22, 2015 · 1 comment
Open

createTagsができない #2

akito1986 opened this issue Jan 22, 2015 · 1 comment

Comments

@akito1986
Copy link

現状は,apiref.jsonに以下の記載がありかつ、
{
"option": "--tags",
"help": "Map of tags (key/value pairs)",
"required": "true"
},

option: "--tags[0].key"がないためcreateTagsを実行すると以下のエラーが出る。


usage: cloudstack-api createTags [-h] --resourceids RESOURCEIDS --resourcetype
RESOURCETYPE --tags TAGS
[--customer CUSTOMER] [-t [TABLE]] [-x [XML]]
[-c [CSV]] [--noheaders]
cloudstack-api createTags: error: argument --tags is required


@akito1986
Copy link
Author

以下のコマンドシンタックスで実行出来るように修正。

$ cloudstack-api createTags --resourceids ${recource_ids} --resourcetype ${resource_type} --tags[0].key cloud-description --tags[0].value rabbitmq 

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

1 participant