Share via


VirtualMachineRestrictMovement Class

Definition

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

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.VirtualMachineRestrictMovementTypeConverter))]
public class VirtualMachineRestrictMovement : Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVirtualMachineRestrictMovement
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.VirtualMachineRestrictMovementTypeConverter))>]
type VirtualMachineRestrictMovement = class
    interface IVirtualMachineRestrictMovement
    interface IJsonSerializable
Public Class VirtualMachineRestrictMovement
Implements IVirtualMachineRestrictMovement
Inheritance
VirtualMachineRestrictMovement
Attributes
Implements

Constructors

VirtualMachineRestrictMovement()

Creates an new VirtualMachineRestrictMovement instance.

Properties

RestrictMovement

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

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of VirtualMachineRestrictMovement.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of VirtualMachineRestrictMovement.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.VMware.Models.IVirtualMachineRestrictMovement.

FromJsonString(String)

Creates a new instance of VirtualMachineRestrictMovement, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of VirtualMachineRestrictMovement into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to