saltext.vmware.states.tag#

saltext.vmware.states.tag.present(name, description=None, category_id=None)[source]#

Create or update a tag instance.

name

Name of tag.

description

Description of tag.

category_id

(string) Category ID of type: com.vmware.cis.tagging.Tag. Only optional when updating

saltext.vmware.states.tag.absent(name)[source]#

Delete tag.

name

Name of tag.

saltext.vmware.states.tag.present_category(name, associable_types, cardinality, description='')[source]#

Create or update a category.

name

The display name of the category.

associable_types

(list) Object types to which this category’s tags can be attached.

cardinality

The CategoryModel.Cardinality enumerated type defines the number of tags in a category that can be assigned to an object. SINGLE, MULTIPLE

description

(optional) The description of the category.

saltext.vmware.states.tag.absent_category(name)[source]#

Delete category.

name

Name of category.