vSphere Web Services API


Data Object - TagSpec(vim.TagSpec)

Property of
VirtualMachineConfigSpec, VirtualMachineRelocateSpec
Extends
ArrayUpdateSpec
See also
TagId
Since
vSphere API Release 9.1.0.0

Data Object Description

Specification for doing an incremental update to the association between a vSphere tag and an inventory object.

This allows specifying the tag to which an incremental update needs to be applied and the operation for that update. Supported operations are:

  • add: Attach a new tag to a given object.
  • remove: Detach a tag already attached from a given object.

See ArrayUpdateSpec for more information about possible operations. Note that editing a tag using this is not supported.

Properties

Name Type Description
idTagId

Information to identify the tag that needs to be attached or detached.
Properties inherited from ArrayUpdateSpec
operation, removeKey
Properties inherited from DynamicData
None

Show WSDL type definition