Compartilhar via


ArmLabServicesModelFactory.LabVirtualMachineProfile Método

Definição

Inicializa uma nova instância de LabVirtualMachineProfile.

public static Azure.ResourceManager.LabServices.Models.LabVirtualMachineProfile LabVirtualMachineProfile (Azure.ResourceManager.LabServices.Models.LabVirtualMachineCreateOption createOption = Azure.ResourceManager.LabServices.Models.LabVirtualMachineCreateOption.Image, Azure.ResourceManager.LabServices.Models.LabVirtualMachineImageReference imageReference = default, Azure.ResourceManager.LabServices.Models.LabVirtualMachineImageOSType? osType = default, Azure.ResourceManager.LabServices.Models.LabServicesSku sku = default, Azure.ResourceManager.LabServices.Models.LabServicesEnableState? additionalCapabilitiesInstallGpuDrivers = default, TimeSpan usageQuota = default, Azure.ResourceManager.LabServices.Models.LabServicesEnableState? useSharedPassword = default, Azure.ResourceManager.LabServices.Models.LabVirtualMachineCredential adminUser = default, Azure.ResourceManager.LabServices.Models.LabVirtualMachineCredential nonAdminUser = default);
static member LabVirtualMachineProfile : Azure.ResourceManager.LabServices.Models.LabVirtualMachineCreateOption * Azure.ResourceManager.LabServices.Models.LabVirtualMachineImageReference * Nullable<Azure.ResourceManager.LabServices.Models.LabVirtualMachineImageOSType> * Azure.ResourceManager.LabServices.Models.LabServicesSku * Nullable<Azure.ResourceManager.LabServices.Models.LabServicesEnableState> * TimeSpan * Nullable<Azure.ResourceManager.LabServices.Models.LabServicesEnableState> * Azure.ResourceManager.LabServices.Models.LabVirtualMachineCredential * Azure.ResourceManager.LabServices.Models.LabVirtualMachineCredential -> Azure.ResourceManager.LabServices.Models.LabVirtualMachineProfile
Public Shared Function LabVirtualMachineProfile (Optional createOption As LabVirtualMachineCreateOption = Azure.ResourceManager.LabServices.Models.LabVirtualMachineCreateOption.Image, Optional imageReference As LabVirtualMachineImageReference = Nothing, Optional osType As Nullable(Of LabVirtualMachineImageOSType) = Nothing, Optional sku As LabServicesSku = Nothing, Optional additionalCapabilitiesInstallGpuDrivers As Nullable(Of LabServicesEnableState) = Nothing, Optional usageQuota As TimeSpan = Nothing, Optional useSharedPassword As Nullable(Of LabServicesEnableState) = Nothing, Optional adminUser As LabVirtualMachineCredential = Nothing, Optional nonAdminUser As LabVirtualMachineCredential = Nothing) As LabVirtualMachineProfile

Parâmetros

createOption
LabVirtualMachineCreateOption

Indica de que máquinas virtuais de laboratório são criadas.

imageReference
LabVirtualMachineImageReference

A configuração de imagem para máquinas virtuais de laboratório.

osType
Nullable<LabVirtualMachineImageOSType>

O tipo de sistema operacional da imagem.

sku
LabServicesSku

A SKU do laboratório. Define o tipo de máquinas virtuais usadas no laboratório.

additionalCapabilitiesInstallGpuDrivers
Nullable<LabServicesEnableState>

Recursos adicionais de VM.

usageQuota
TimeSpan

A cota inicial alocada para cada usuário do laboratório. Deve ser um intervalo de tempo entre 0 e 9999 horas.

useSharedPassword
Nullable<LabServicesEnableState>

Habilitar essa opção usará a mesma senha para todas as VMs de usuário.

adminUser
LabVirtualMachineCredential

Credenciais para o usuário administrador na VM.

nonAdminUser
LabVirtualMachineCredential

Credenciais para o usuário não administrador na VM, se houver uma.

Retornos

Uma nova LabVirtualMachineProfile instância para zombar.

Aplica-se a