vcf_vcenter_tag¶
Execution module for vCenter tags.
- saltext.vcf.modules.vcf_vcenter_tag.list_(profile=None)[source]¶
List tag ids.
CLI Example:
salt '*' vcf_vcenter_tag.list_
- saltext.vcf.modules.vcf_vcenter_tag.create(name, category_id, description='', profile=None)[source]¶
Create a tag in a category.
CLI Example:
salt '*' vcf_vcenter_tag.create <name> <category_id> <description>
- saltext.vcf.modules.vcf_vcenter_tag.get(tag, profile=None)[source]¶
Return a tag by id.
CLI Example:
salt '*' vcf_vcenter_tag.get <tag>
- saltext.vcf.modules.vcf_vcenter_tag.update(tag, spec, profile=None)[source]¶
PATCH a tag.
CLI Example:
salt '*' vcf_vcenter_tag.update <tag> spec='{"name": "newname"}'
- saltext.vcf.modules.vcf_vcenter_tag.delete(tag, profile=None)[source]¶
Delete a tag by id.
CLI Example:
salt '*' vcf_vcenter_tag.delete <tag>