Partilhar via


ArmConnectedVMwarevSphereModelFactory.NetworkInterface Método

Definição

Inicializa uma nova instância de NetworkInterface.

public static Azure.ResourceManager.ConnectedVMwarevSphere.Models.NetworkInterface NetworkInterface (string name = default, string label = default, System.Collections.Generic.IEnumerable<string> ipAddresses = default, string macAddress = default, string networkId = default, Azure.ResourceManager.ConnectedVMwarevSphere.Models.NICType? nicType = default, Azure.ResourceManager.ConnectedVMwarevSphere.Models.PowerOnBootOption? powerOnBoot = default, string networkMoRefId = default, string networkMoName = default, int? deviceKey = default, Azure.ResourceManager.ConnectedVMwarevSphere.Models.NicIPSettings ipSettings = default);
static member NetworkInterface : string * string * seq<string> * string * string * Nullable<Azure.ResourceManager.ConnectedVMwarevSphere.Models.NICType> * Nullable<Azure.ResourceManager.ConnectedVMwarevSphere.Models.PowerOnBootOption> * string * string * Nullable<int> * Azure.ResourceManager.ConnectedVMwarevSphere.Models.NicIPSettings -> Azure.ResourceManager.ConnectedVMwarevSphere.Models.NetworkInterface
Public Shared Function NetworkInterface (Optional name As String = Nothing, Optional label As String = Nothing, Optional ipAddresses As IEnumerable(Of String) = Nothing, Optional macAddress As String = Nothing, Optional networkId As String = Nothing, Optional nicType As Nullable(Of NICType) = Nothing, Optional powerOnBoot As Nullable(Of PowerOnBootOption) = Nothing, Optional networkMoRefId As String = Nothing, Optional networkMoName As String = Nothing, Optional deviceKey As Nullable(Of Integer) = Nothing, Optional ipSettings As NicIPSettings = Nothing) As NetworkInterface

Parâmetros

name
String

Obtém ou define o nome do adaptador de rede.

label
String

Obtém ou define o rótulo da rede virtual no vCenter ao qual a nic está conectada.

ipAddresses
IEnumerable<String>

Obtém ou define os endereços IP nic.

macAddress
String

Obtém ou define o endereço MAC da NIC.

networkId
String

Obtém ou define a ID do ARM do recurso de rede para conectar a máquina virtual.

nicType
Nullable<NICType>

Tipo NIC.

powerOnBoot
Nullable<PowerOnBootOption>

Obtém ou define a energia na inicialização.

networkMoRefId
String

Obtém ou define a ID do vCenter MoRef (Referência de Objeto Gerenciado) da rede virtual à qual a nic está conectada.

networkMoName
String

Obtém ou define o nome da rede virtual no vCenter ao qual a nic está conectada.

deviceKey
Nullable<Int32>

Obtém ou define o valor da chave do dispositivo.

ipSettings
NicIPSettings

Obtém ou define as ipsettings.

Retornos

Uma nova NetworkInterface instância para simulação.

Aplica-se a