Partilhar via


ArmLabServicesModelFactory.LabVirtualMachineData Método

Definição

Inicializa uma nova instância de LabVirtualMachineData.

public static Azure.ResourceManager.LabServices.LabVirtualMachineData LabVirtualMachineData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, Azure.ResourceManager.LabServices.Models.LabServicesProvisioningState? provisioningState = default, Azure.ResourceManager.LabServices.Models.LabVirtualMachineState? state = default, Azure.ResourceManager.LabServices.Models.LabVirtualMachineConnectionProfile connectionProfile = default, string claimedByUserId = default, Azure.ResourceManager.LabServices.Models.LabVirtualMachineType? vmType = default);
static member LabVirtualMachineData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<Azure.ResourceManager.LabServices.Models.LabServicesProvisioningState> * Nullable<Azure.ResourceManager.LabServices.Models.LabVirtualMachineState> * Azure.ResourceManager.LabServices.Models.LabVirtualMachineConnectionProfile * string * Nullable<Azure.ResourceManager.LabServices.Models.LabVirtualMachineType> -> Azure.ResourceManager.LabServices.LabVirtualMachineData
Public Shared Function LabVirtualMachineData (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 LabServicesProvisioningState) = Nothing, Optional state As Nullable(Of LabVirtualMachineState) = Nothing, Optional connectionProfile As LabVirtualMachineConnectionProfile = Nothing, Optional claimedByUserId As String = Nothing, Optional vmType As Nullable(Of LabVirtualMachineType) = Nothing) As LabVirtualMachineData

Parâmetros

name
String

O nome.

resourceType
ResourceType

O resourceType.

systemData
SystemData

O systemData.

provisioningState
Nullable<LabServicesProvisioningState>

Estado de provisionamento atual da máquina virtual.

state
Nullable<LabVirtualMachineState>

O estado atual da máquina virtual.

connectionProfile
LabVirtualMachineConnectionProfile

Perfil para obter informações sobre como se conectar à máquina virtual.

claimedByUserId
String

A ID do usuário do laboratório (não a PUID!) de quem reivindicou a máquina virtual.

vmType
Nullable<LabVirtualMachineType>

O tipo desse recurso de VM.

Retornos

Uma nova LabVirtualMachineData instância para zombar.

Aplica-se a