Udostępnij za pośrednictwem


VmPlacementPolicyProperties Class

Definition

VM-VM placement policy properties.

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

Constructors

VmPlacementPolicyProperties(IEnumerable<ResourceIdentifier>, AvsPlacementPolicyAffinityType)

Initializes a new instance of VmPlacementPolicyProperties.

Properties

AffinityType

placement policy affinity type.

DisplayName

Display name of the placement policy.

(Inherited from PlacementPolicyProperties)
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<VmPlacementPolicyProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<VmPlacementPolicyProperties>.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<VmPlacementPolicyProperties>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<VmPlacementPolicyProperties>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<VmPlacementPolicyProperties>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to