Share via


AvsPrivateCloudClusterVirtualMachineRestrictMovement Class

Definition

Set VM DRS-driven movement to restricted (enabled) or not (disabled).

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

Constructors

AvsPrivateCloudClusterVirtualMachineRestrictMovement()

Initializes a new instance of AvsPrivateCloudClusterVirtualMachineRestrictMovement.

Properties

RestrictMovement

Whether VM DRS-driven movement is restricted (enabled) or not (disabled).

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<AvsPrivateCloudClusterVirtualMachineRestrictMovement>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<AvsPrivateCloudClusterVirtualMachineRestrictMovement>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<AvsPrivateCloudClusterVirtualMachineRestrictMovement>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<AvsPrivateCloudClusterVirtualMachineRestrictMovement>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<AvsPrivateCloudClusterVirtualMachineRestrictMovement>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to