VMware Cloud Director API - VmAffinityRules
VmAffinityRulesType
- Element:
- VmAffinityRules
- Type:
- VmAffinityRulesType
- Namespace:
- http://www.vmware.com/vcloud/v1.5
- Description:
- The collection existing VM affinity rules available.
- Since:
- 20.0
- Schema:
- vmAffinityRule.xsd
- Media type(s):
-
application/vnd.vmware.vcloud.vmaffinityrules+json
application/vnd.vmware.vcloud.vmaffinityrules+xml
- Extends:
- ResourceType
- XML Representation:
-
<VmAffinityRules xmlns="http://www.vmware.com/vcloud/v1.5" href="xs:anyURI" type="xs:string">
<Link href="xs:anyURI" id="xs:string" type="xs:string" name="xs:string"
rel="xs:string" model="xs:string"/>
<VmAffinityRule href="xs:anyURI" type="xs:string" id="xs:string" operationKey="xs:string">
<Link href="xs:anyURI" id="xs:string" type="xs:string" name="xs:string"
rel="xs:string" model="xs:string"/>
<Name> xs:string </Name>
<IsEnabled> xs:boolean </IsEnabled>
<IsMandatory> xs:boolean </IsMandatory>
<Polarity> AffinityRuleType/Polarity </Polarity>
<Scope> VmAffinityRuleType/Scope </Scope>
<VmReferences href="xs:anyURI" type="xs:string">
<Link href="xs:anyURI" id="xs:string" type="xs:string" name="xs:string"
rel="xs:string" model="xs:string"/>
<VmReference href="xs:anyURI" id="xs:string" type="xs:string" name="xs:string"/>
</VmReferences>
</VmAffinityRule>
</VmAffinityRules>
-
Attributes
-
Attribute Type Required Modifiable Since Deprecated Description href anyURI No always 20.0 The URI of the entity. type string No always 20.0 The MIME type of the entity. -
Elements
-
Element Type Required Modifiable Since Deprecated Description Link LinkType No none 20.0 A reference to an entity or operation associated with this object. VCloudExtension VCloudExtensionType No always 20.0 An optional extension element that can contain an arbitrary number of elements and attributes. Not related to extension services. VmAffinityRule VmAffinityRuleType Yes always 20.0 A VM affinity rule applied to two or more VMs. -
Operations
-
CRUD Operation Description Since Deprecated read GET /vdc/{id}/vmAffinityRules Retrieves a list of all VM Affinity rules within a given vDC.