Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding Tags Syntax #28

Open
MrPrimate opened this issue Oct 22, 2015 · 0 comments
Open

Adding Tags Syntax #28

MrPrimate opened this issue Oct 22, 2015 · 0 comments

Comments

@MrPrimate
Copy link

I'm trying to get the create_tags call to work, and I' struggling to decipher what format the tags parameter should be in. The API documentation says 'Map of tags (key/value pairs)'

I have tried using a hash:

cs_response     = client.create_tags({ 'resourceids'   => vm_id,
                                       'resourcetype' => 'UserVm',
                                       'tags'         => { "permission" => 'guest' }
                                    })

However this does not seem to work. Can anyone assist?

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

No branches or pull requests

1 participant