VmHostPlacementPolicyProperties Class

Definition

VM-Host placement policy properties

[Newtonsoft.Json.JsonObject("VmHost")]
public class VmHostPlacementPolicyProperties : Microsoft.Azure.Management.Avs.Models.PlacementPolicyProperties
[<Newtonsoft.Json.JsonObject("VmHost")>]
type VmHostPlacementPolicyProperties = class
    inherit PlacementPolicyProperties
Public Class VmHostPlacementPolicyProperties
Inherits PlacementPolicyProperties
Inheritance
VmHostPlacementPolicyProperties
Attributes
Newtonsoft.Json.JsonObjectAttribute

Constructors

VmHostPlacementPolicyProperties()

Initializes a new instance of the VmHostPlacementPolicyProperties class.

VmHostPlacementPolicyProperties(IList<String>, IList<String>, String, String, String, String)

Initializes a new instance of the VmHostPlacementPolicyProperties class.

Properties

AffinityType

Gets or sets placement policy affinity type. Possible values include: 'Affinity', 'AntiAffinity'

DisplayName

Gets or sets display name of the placement policy

(Inherited from PlacementPolicyProperties)
HostMembers

Gets or sets host members list

ProvisioningState

Gets the provisioning state. Possible values include: 'Succeeded', 'Failed', 'Building', 'Deleting', 'Updating'

(Inherited from PlacementPolicyProperties)
State

Gets or sets whether the placement policy is enabled or disabled. Possible values include: 'Enabled', 'Disabled'

(Inherited from PlacementPolicyProperties)
VmMembers

Gets or sets virtual machine members list

Methods

Validate()

Validate the object.

Applies to