Compartilhar via


ArmDevTestLabsModelFactory.ComputeVmProperties Método

Definição

Inicializa uma nova instância de ComputeVmProperties.

public static Azure.ResourceManager.DevTestLabs.Models.ComputeVmProperties ComputeVmProperties (System.Collections.Generic.IEnumerable<Azure.ResourceManager.DevTestLabs.Models.ComputeVmInstanceViewStatus> statuses = default, string osType = default, string vmSize = default, string networkInterfaceId = default, string osDiskId = default, System.Collections.Generic.IEnumerable<string> dataDiskIds = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.DevTestLabs.Models.ComputeDataDisk> dataDisks = default);
static member ComputeVmProperties : seq<Azure.ResourceManager.DevTestLabs.Models.ComputeVmInstanceViewStatus> * string * string * string * string * seq<string> * seq<Azure.ResourceManager.DevTestLabs.Models.ComputeDataDisk> -> Azure.ResourceManager.DevTestLabs.Models.ComputeVmProperties
Public Shared Function ComputeVmProperties (Optional statuses As IEnumerable(Of ComputeVmInstanceViewStatus) = Nothing, Optional osType As String = Nothing, Optional vmSize As String = Nothing, Optional networkInterfaceId As String = Nothing, Optional osDiskId As String = Nothing, Optional dataDiskIds As IEnumerable(Of String) = Nothing, Optional dataDisks As IEnumerable(Of ComputeDataDisk) = Nothing) As ComputeVmProperties

Parâmetros

statuses
IEnumerable<ComputeVmInstanceViewStatus>

Obtém os status da máquina virtual.

osType
String

Obtém o tipo de sistema operacional da máquina virtual.

vmSize
String

Obtém o tamanho da máquina virtual.

networkInterfaceId
String

Obtém a ID do adaptador de rede da máquina virtual.

osDiskId
String

Obtém o uri do blob de disco do sistema operacional para a máquina virtual.

dataDiskIds
IEnumerable<String>

Obtém o uri de blob de discos de dados para a máquina virtual.

dataDisks
IEnumerable<ComputeDataDisk>

Obtém todos os discos de dados anexados à máquina virtual.

Retornos

Uma nova ComputeVmProperties instância para zombar.

Aplica-se a