Share via


VmVmPlacementPolicyProperties Class

Definition

VM-VM placement policy properties

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

Constructors

VmVmPlacementPolicyProperties()

Initializes a new instance of the VmVmPlacementPolicyProperties class.

VmVmPlacementPolicyProperties(IList<String>, String, String, String, String)

Initializes a new instance of the VmVmPlacementPolicyProperties 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)
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