Share via


HciVmInstancePlacementProfile Class

Definition

PlacementProfile - Specifies the placement related settings for the virtual machine.

public class HciVmInstancePlacementProfile : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Hci.Vm.Models.HciVmInstancePlacementProfile>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Hci.Vm.Models.HciVmInstancePlacementProfile>
type HciVmInstancePlacementProfile = class
    interface IJsonModel<HciVmInstancePlacementProfile>
    interface IPersistableModel<HciVmInstancePlacementProfile>
Public Class HciVmInstancePlacementProfile
Implements IJsonModel(Of HciVmInstancePlacementProfile), IPersistableModel(Of HciVmInstancePlacementProfile)
Inheritance
HciVmInstancePlacementProfile
Implements

Constructors

HciVmInstancePlacementProfile()

Initializes a new instance of HciVmInstancePlacementProfile.

Properties

StrictPlacementPolicy

Specifies whether VM can only failover strictly within the zone it was placed in.

Zone

The zone in which the VM should be placed in.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<HciVmInstancePlacementProfile>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<HciVmInstancePlacementProfile>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<HciVmInstancePlacementProfile>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<HciVmInstancePlacementProfile>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<HciVmInstancePlacementProfile>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to