Condividi tramite


ArmAvsModelFactory.AvsPrivateCloudClusterVirtualMachineData Method

Definition

Initializes a new instance of AvsPrivateCloudClusterVirtualMachineData.

public static Azure.ResourceManager.Avs.AvsPrivateCloudClusterVirtualMachineData AvsPrivateCloudClusterVirtualMachineData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.ResourceManager.Avs.Models.AvsVirtualMachineProvisioningState? provisioningState = default, string displayName = default, string moRefId = default, string folderPath = default, Azure.ResourceManager.Avs.Models.VirtualMachineRestrictMovementState? restrictMovement = default);
static member AvsPrivateCloudClusterVirtualMachineData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<Azure.ResourceManager.Avs.Models.AvsVirtualMachineProvisioningState> * string * string * string * Nullable<Azure.ResourceManager.Avs.Models.VirtualMachineRestrictMovementState> -> Azure.ResourceManager.Avs.AvsPrivateCloudClusterVirtualMachineData
Public Shared Function AvsPrivateCloudClusterVirtualMachineData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional provisioningState As Nullable(Of AvsVirtualMachineProvisioningState) = Nothing, Optional displayName As String = Nothing, Optional moRefId As String = Nothing, Optional folderPath As String = Nothing, Optional restrictMovement As Nullable(Of VirtualMachineRestrictMovementState) = Nothing) As AvsPrivateCloudClusterVirtualMachineData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

provisioningState
Nullable<AvsVirtualMachineProvisioningState>

The provisioning state of the resource.

displayName
String

Display name of the VM.

moRefId
String

Virtual machine managed object reference id.

folderPath
String

Path to virtual machine's folder starting from datacenter virtual machine folder.

restrictMovement
Nullable<VirtualMachineRestrictMovementState>

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

Returns

A new AvsPrivateCloudClusterVirtualMachineData instance for mocking.

Applies to