Skip to content

Adding Tags Syntax #28

@MrPrimate

Description

@MrPrimate

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions