ComputePoliciesCapabilitiesVmPlacementAntiAffinityWithVclsInfo

The Info structure contains information about anti-affinity with vSphere Cluster Services (vCLS) VMs policy, see Policies.get. vSphere Cluster Services (vCLS) VMs are anti-affine with virtual machines that share the tag indicated by Info.vm-tag.


Properties

string
capability Required

Identifier of the capability this policy is based on. When clients pass a value of this structure as a parameter, the field must be an identifier for the resource type: com.vmware.vcenter.compute.policies.Capability. When operations return a value of this structure as a result, the field will be an identifier for the resource type: com.vmware.vcenter.compute.policies.Capability.


string
description Required

Description of the policy.


string
name Required

Name of the policy.


string
vm_tag Required

Identifier of a tag that can be associated with a virtual machine. vSphere Cluster Services (vCLS) VMs are anti-affine with virtual machines that share the tag indicated by Info.vm-tag. When clients pass a value of this structure as a parameter, the field must be an identifier for the resource type: com.vmware.cis.tagging.Tag:VirtualMachine. When operations return a value of this structure as a result, the field will be an identifier for the resource type: com.vmware.cis.tagging.Tag:VirtualMachine.

JSON Example

{
	"capability": "string",
	"description": "string",
	"name": "string",
	"vm_tag": "string"
}

Feedback

Was this page helpful?