Partilhar via


ArmDevTestLabsModelFactory.DevTestLabVmData Método

Definição

Inicializa uma nova instância de DevTestLabVmData.

public static Azure.ResourceManager.DevTestLabs.DevTestLabVmData DevTestLabVmData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.Core.AzureLocation location = default, string notes = default, string ownerObjectId = default, string ownerUserPrincipalName = default, string createdByUserId = default, string createdByUser = default, DateTimeOffset? createdOn = default, Azure.Core.ResourceIdentifier computeId = default, string customImageId = default, string osType = default, string size = default, string userName = default, string password = default, string sshKey = default, bool? isAuthenticationWithSshKey = default, string fqdn = default, string labSubnetName = default, Azure.Core.ResourceIdentifier labVirtualNetworkId = default, bool? disallowPublicIPAddress = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.DevTestLabs.Models.DevTestLabArtifactInstallInfo> artifacts = default, Azure.ResourceManager.DevTestLabs.Models.DevTestLabArtifactDeploymentStatus artifactDeploymentStatus = default, Azure.ResourceManager.DevTestLabs.Models.DevTestLabGalleryImageReference galleryImageReference = default, string planId = default, Azure.ResourceManager.DevTestLabs.Models.ComputeVmProperties computeVm = default, Azure.ResourceManager.DevTestLabs.Models.DevTestLabNetworkInterface networkInterface = default, Azure.ResourceManager.DevTestLabs.Models.DevTestLabApplicableSchedule applicableSchedule = default, DateTimeOffset? expireOn = default, bool? allowClaim = default, string storageType = default, Azure.ResourceManager.DevTestLabs.Models.DevTestLabVmCreationSource? vmCreationSource = default, Azure.Core.ResourceIdentifier environmentId = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.DevTestLabs.Models.DevTestLabDataDiskProperties> dataDiskParameters = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.DevTestLabs.Models.DevTestLabScheduleCreationParameter> scheduleParameters = default, string lastKnownPowerState = default, string provisioningState = default, Guid? uniqueIdentifier = default);
static member DevTestLabVmData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * string * string * string * string * string * Nullable<DateTimeOffset> * Azure.Core.ResourceIdentifier * string * string * string * string * string * string * Nullable<bool> * string * string * Azure.Core.ResourceIdentifier * Nullable<bool> * seq<Azure.ResourceManager.DevTestLabs.Models.DevTestLabArtifactInstallInfo> * Azure.ResourceManager.DevTestLabs.Models.DevTestLabArtifactDeploymentStatus * Azure.ResourceManager.DevTestLabs.Models.DevTestLabGalleryImageReference * string * Azure.ResourceManager.DevTestLabs.Models.ComputeVmProperties * Azure.ResourceManager.DevTestLabs.Models.DevTestLabNetworkInterface * Azure.ResourceManager.DevTestLabs.Models.DevTestLabApplicableSchedule * Nullable<DateTimeOffset> * Nullable<bool> * string * Nullable<Azure.ResourceManager.DevTestLabs.Models.DevTestLabVmCreationSource> * Azure.Core.ResourceIdentifier * seq<Azure.ResourceManager.DevTestLabs.Models.DevTestLabDataDiskProperties> * seq<Azure.ResourceManager.DevTestLabs.Models.DevTestLabScheduleCreationParameter> * string * string * Nullable<Guid> -> Azure.ResourceManager.DevTestLabs.DevTestLabVmData
Public Shared Function DevTestLabVmData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As AzureLocation = Nothing, Optional notes As String = Nothing, Optional ownerObjectId As String = Nothing, Optional ownerUserPrincipalName As String = Nothing, Optional createdByUserId As String = Nothing, Optional createdByUser As String = Nothing, Optional createdOn As Nullable(Of DateTimeOffset) = Nothing, Optional computeId As ResourceIdentifier = Nothing, Optional customImageId As String = Nothing, Optional osType As String = Nothing, Optional size As String = Nothing, Optional userName As String = Nothing, Optional password As String = Nothing, Optional sshKey As String = Nothing, Optional isAuthenticationWithSshKey As Nullable(Of Boolean) = Nothing, Optional fqdn As String = Nothing, Optional labSubnetName As String = Nothing, Optional labVirtualNetworkId As ResourceIdentifier = Nothing, Optional disallowPublicIPAddress As Nullable(Of Boolean) = Nothing, Optional artifacts As IEnumerable(Of DevTestLabArtifactInstallInfo) = Nothing, Optional artifactDeploymentStatus As DevTestLabArtifactDeploymentStatus = Nothing, Optional galleryImageReference As DevTestLabGalleryImageReference = Nothing, Optional planId As String = Nothing, Optional computeVm As ComputeVmProperties = Nothing, Optional networkInterface As DevTestLabNetworkInterface = Nothing, Optional applicableSchedule As DevTestLabApplicableSchedule = Nothing, Optional expireOn As Nullable(Of DateTimeOffset) = Nothing, Optional allowClaim As Nullable(Of Boolean) = Nothing, Optional storageType As String = Nothing, Optional vmCreationSource As Nullable(Of DevTestLabVmCreationSource) = Nothing, Optional environmentId As ResourceIdentifier = Nothing, Optional dataDiskParameters As IEnumerable(Of DevTestLabDataDiskProperties) = Nothing, Optional scheduleParameters As IEnumerable(Of DevTestLabScheduleCreationParameter) = Nothing, Optional lastKnownPowerState As String = Nothing, Optional provisioningState As String = Nothing, Optional uniqueIdentifier As Nullable(Of Guid) = Nothing) As DevTestLabVmData

Parâmetros

name
String

O nome.

resourceType
ResourceType

O resourceType.

systemData
SystemData

O systemData.

tags
IDictionary<String,String>

As marcas.

location
AzureLocation

O local.

notes
String

As anotações da máquina virtual.

ownerObjectId
String

O identificador de objeto do proprietário da máquina virtual.

ownerUserPrincipalName
String

O nome principal do usuário do proprietário da máquina virtual.

createdByUserId
String

O identificador de objeto do criador da máquina virtual.

createdByUser
String

O endereço de email do criador da máquina virtual.

createdOn
Nullable<DateTimeOffset>

A data de criação da máquina virtual.

computeId
ResourceIdentifier

O identificador de recurso (Microsoft.Compute) da máquina virtual.

customImageId
String

O identificador de imagem personalizado da máquina virtual.

osType
String

O tipo de sistema operacional da máquina virtual.

size
String

O tamanho da máquina virtual.

userName
String

O nome de usuário da máquina virtual.

password
String

A senha do administrador da máquina virtual.

sshKey
String

A chave SSH do administrador da máquina virtual.

isAuthenticationWithSshKey
Nullable<Boolean>

Indica se essa máquina virtual usa uma chave SSH para autenticação.

fqdn
String

O nome de domínio totalmente qualificado da máquina virtual.

labSubnetName
String

O nome da sub-rede do laboratório da máquina virtual.

labVirtualNetworkId
ResourceIdentifier

O identificador de rede virtual do laboratório da máquina virtual.

disallowPublicIPAddress
Nullable<Boolean>

Indica se a máquina virtual deve ser criada sem um endereço IP público.

artifacts
IEnumerable<DevTestLabArtifactInstallInfo>

Os artefatos a serem instalados na máquina virtual.

artifactDeploymentStatus
DevTestLabArtifactDeploymentStatus

A implantação do artefato status para a máquina virtual.

galleryImageReference
DevTestLabGalleryImageReference

A referência de imagem do Microsoft Azure Marketplace da máquina virtual.

planId
String

A ID do plano associado à imagem da máquina virtual.

computeVm
ComputeVmProperties

As propriedades da máquina virtual de computação.

networkInterface
DevTestLabNetworkInterface

As propriedades do adaptador de rede.

applicableSchedule
DevTestLabApplicableSchedule

O agendamento aplicável para a máquina virtual.

expireOn
Nullable<DateTimeOffset>

A data de validade da VM.

allowClaim
Nullable<Boolean>

Indica se outro usuário pode assumir a propriedade da máquina virtual.

storageType
String

Tipo de armazenamento a ser usado para máquina virtual (ou seja, Standard, Premium).

vmCreationSource
Nullable<DevTestLabVmCreationSource>

Informa a origem da criação da máquina virtual de laboratório. Somente propriedade de saída.

environmentId
ResourceIdentifier

A ID do recurso do ambiente que contém essa máquina virtual, se houver.

dataDiskParameters
IEnumerable<DevTestLabDataDiskProperties>

Discos de dados novos ou existentes a serem anexados à máquina virtual após a criação.

scheduleParameters
IEnumerable<DevTestLabScheduleCreationParameter>

Agendas da Máquina Virtual a serem criadas.

lastKnownPowerState
String

Último estado de potência de computação conhecido capturado em DTL.

provisioningState
String

O status de provisionamento do recurso.

uniqueIdentifier
Nullable<Guid>

O identificador imutável exclusivo de um recurso (Guid).

Retornos

Uma nova DevTestLabVmData instância para zombar.

Aplica-se a