VmHostPlacementPolicyProperties Class

Definition

VM-Host placement policy properties.

public class VmHostPlacementPolicyProperties : Azure.ResourceManager.Avs.Models.PlacementPolicyProperties, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Avs.Models.VmHostPlacementPolicyProperties>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Avs.Models.VmHostPlacementPolicyProperties>
public class VmHostPlacementPolicyProperties : Azure.ResourceManager.Avs.Models.PlacementPolicyProperties
type VmHostPlacementPolicyProperties = class
    inherit PlacementPolicyProperties
    interface IJsonModel<VmHostPlacementPolicyProperties>
    interface IPersistableModel<VmHostPlacementPolicyProperties>
type VmHostPlacementPolicyProperties = class
    inherit PlacementPolicyProperties
Public Class VmHostPlacementPolicyProperties
Inherits PlacementPolicyProperties
Implements IJsonModel(Of VmHostPlacementPolicyProperties), IPersistableModel(Of VmHostPlacementPolicyProperties)
Public Class VmHostPlacementPolicyProperties
Inherits PlacementPolicyProperties
Inheritance
VmHostPlacementPolicyProperties
Implements

Constructors

VmHostPlacementPolicyProperties(IEnumerable<ResourceIdentifier>, IEnumerable<String>, AvsPlacementPolicyAffinityType)

Initializes a new instance of VmHostPlacementPolicyProperties.

Properties

AffinityStrength

vm-host placement policy affinity strength (should/must).

AffinityType

placement policy affinity type.

AzureHybridBenefitType

placement policy azure hybrid benefit opt-in type.

DisplayName

Display name of the placement policy.

(Inherited from PlacementPolicyProperties)
HostMembers

Host members list.

ProvisioningState

The provisioning state.

(Inherited from PlacementPolicyProperties)
State

Whether the placement policy is enabled or disabled.

(Inherited from PlacementPolicyProperties)
VmMembers

Virtual machine members list.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from PlacementPolicyProperties)

Explicit Interface Implementations

IJsonModel<PlacementPolicyProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

(Inherited from PlacementPolicyProperties)
IJsonModel<PlacementPolicyProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

(Inherited from PlacementPolicyProperties)
IJsonModel<VmHostPlacementPolicyProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<VmHostPlacementPolicyProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<PlacementPolicyProperties>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

(Inherited from PlacementPolicyProperties)
IPersistableModel<PlacementPolicyProperties>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

(Inherited from PlacementPolicyProperties)
IPersistableModel<PlacementPolicyProperties>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

(Inherited from PlacementPolicyProperties)
IPersistableModel<VmHostPlacementPolicyProperties>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<VmHostPlacementPolicyProperties>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<VmHostPlacementPolicyProperties>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to