VMware Cloud Director API - VMWVmHostAffinityRules

VMware Cloud Director API - VMWVmHostAffinityRules

VMWVmHostAffinityRulesType

Element:
VMWVmHostAffinityRules
Type:
VMWVmHostAffinityRulesType
Namespace:
http://www.vmware.com/vcloud/extension/v1.5
Description:
VmHostAffinityRules in this resource pool.
Since:
27.0
Schema:
vmwextensions.xsd
Media type(s):
application/vnd.vmware.admin.vmwVmHostAffinityRules+json
application/vnd.vmware.admin.vmwVmHostAffinityRules+xml
Extends:
ResourceType
XML Representation:
<VMWVmHostAffinityRules xmlns="http://www.vmware.com/vcloud/extension/v1.5" xmlns:vcloud_v1.5="http://www.vmware.com/vcloud/v1.5" href="xs:anyURI" type="xs:string">
    <vcloud_v1.5:Link href="xs:anyURI" id="xs:string" type="xs:string" name="xs:string"
            rel="xs:string" model="xs:string"/>
    <VmHostAffinityRule href="xs:anyURI" type="xs:string" id="xs:string" operationKey="xs:string">
        <vcloud_v1.5: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>
        <vcloud_v1.5:Polarity> vcloud_v1.5:AffinityRuleType/Polarity </vcloud_v1.5:Polarity>
        <HostGroupName> xs:string </HostGroupName>
        <VmGroupName> xs:string </VmGroupName>
    </VmHostAffinityRule>
</VMWVmHostAffinityRules>

Attributes

Attribute Type Required Modifiable Since Deprecated Description
href anyURI No always 27.0 The URI of the entity.
type string No always 27.0 The MIME type of the entity.

Elements

Element Type Required Modifiable Since Deprecated Description
Link LinkType No none 27.0 A reference to an entity or operation associated with this object.
VCloudExtension VCloudExtensionType No always 27.0 An optional extension element that can contain an arbitrary number of elements and attributes. Not related to extension services.
VmHostAffinityRule VMWVmHostAffinityRuleType Yes always 27.0 A VM-Host affinity rule controls the placement of VMs on hosts.

Operations

CRUD Operation Description Since Deprecated
read GET /admin/extension/resourcePool/{rpId}/rules List all VmHostAffinityRules within this resource pool. 27.0