ArmNetworkModelFactory.NetworkInterfaceData Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Inicializa uma nova instância de NetworkInterfaceData.
public static Azure.ResourceManager.Network.NetworkInterfaceData NetworkInterfaceData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType? resourceType = default, Azure.Core.AzureLocation? location = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.ResourceManager.Resources.Models.ExtendedLocation extendedLocation = default, Azure.ETag? etag = default, Azure.Core.ResourceIdentifier virtualMachineId = default, Azure.ResourceManager.Network.NetworkSecurityGroupData networkSecurityGroup = default, Azure.ResourceManager.Network.PrivateEndpointData privateEndpoint = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.NetworkInterfaceIPConfigurationData> ipConfigurations = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.NetworkInterfaceTapConfigurationData> tapConfigurations = default, Azure.ResourceManager.Network.Models.NetworkInterfaceDnsSettings dnsSettings = default, string macAddress = default, bool? primary = default, bool? vnetEncryptionSupported = default, bool? enableAcceleratedNetworking = default, bool? disableTcpStateTracking = default, bool? enableIPForwarding = default, System.Collections.Generic.IEnumerable<string> hostedWorkloads = default, Azure.Core.ResourceIdentifier dscpConfigurationId = default, Guid? resourceGuid = default, Azure.ResourceManager.Network.Models.NetworkProvisioningState? provisioningState = default, string workloadType = default, Azure.ResourceManager.Network.Models.NetworkInterfaceNicType? nicType = default, Azure.ResourceManager.Network.PrivateLinkServiceData privateLinkService = default, Azure.ResourceManager.Network.Models.NetworkInterfaceMigrationPhase? migrationPhase = default, Azure.ResourceManager.Network.Models.NetworkInterfaceAuxiliaryMode? auxiliaryMode = default, Azure.ResourceManager.Network.Models.NetworkInterfaceAuxiliarySku? auxiliarySku = default);
static member NetworkInterfaceData : Azure.Core.ResourceIdentifier * string * Nullable<Azure.Core.ResourceType> * Nullable<Azure.Core.AzureLocation> * System.Collections.Generic.IDictionary<string, string> * Azure.ResourceManager.Resources.Models.ExtendedLocation * Nullable<Azure.ETag> * Azure.Core.ResourceIdentifier * Azure.ResourceManager.Network.NetworkSecurityGroupData * Azure.ResourceManager.Network.PrivateEndpointData * seq<Azure.ResourceManager.Network.NetworkInterfaceIPConfigurationData> * seq<Azure.ResourceManager.Network.NetworkInterfaceTapConfigurationData> * Azure.ResourceManager.Network.Models.NetworkInterfaceDnsSettings * string * Nullable<bool> * Nullable<bool> * Nullable<bool> * Nullable<bool> * Nullable<bool> * seq<string> * Azure.Core.ResourceIdentifier * Nullable<Guid> * Nullable<Azure.ResourceManager.Network.Models.NetworkProvisioningState> * string * Nullable<Azure.ResourceManager.Network.Models.NetworkInterfaceNicType> * Azure.ResourceManager.Network.PrivateLinkServiceData * Nullable<Azure.ResourceManager.Network.Models.NetworkInterfaceMigrationPhase> * Nullable<Azure.ResourceManager.Network.Models.NetworkInterfaceAuxiliaryMode> * Nullable<Azure.ResourceManager.Network.Models.NetworkInterfaceAuxiliarySku> -> Azure.ResourceManager.Network.NetworkInterfaceData
Public Shared Function NetworkInterfaceData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As Nullable(Of ResourceType) = Nothing, Optional location As Nullable(Of AzureLocation) = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional extendedLocation As ExtendedLocation = Nothing, Optional etag As Nullable(Of ETag) = Nothing, Optional virtualMachineId As ResourceIdentifier = Nothing, Optional networkSecurityGroup As NetworkSecurityGroupData = Nothing, Optional privateEndpoint As PrivateEndpointData = Nothing, Optional ipConfigurations As IEnumerable(Of NetworkInterfaceIPConfigurationData) = Nothing, Optional tapConfigurations As IEnumerable(Of NetworkInterfaceTapConfigurationData) = Nothing, Optional dnsSettings As NetworkInterfaceDnsSettings = Nothing, Optional macAddress As String = Nothing, Optional primary As Nullable(Of Boolean) = Nothing, Optional vnetEncryptionSupported As Nullable(Of Boolean) = Nothing, Optional enableAcceleratedNetworking As Nullable(Of Boolean) = Nothing, Optional disableTcpStateTracking As Nullable(Of Boolean) = Nothing, Optional enableIPForwarding As Nullable(Of Boolean) = Nothing, Optional hostedWorkloads As IEnumerable(Of String) = Nothing, Optional dscpConfigurationId As ResourceIdentifier = Nothing, Optional resourceGuid As Nullable(Of Guid) = Nothing, Optional provisioningState As Nullable(Of NetworkProvisioningState) = Nothing, Optional workloadType As String = Nothing, Optional nicType As Nullable(Of NetworkInterfaceNicType) = Nothing, Optional privateLinkService As PrivateLinkServiceData = Nothing, Optional migrationPhase As Nullable(Of NetworkInterfaceMigrationPhase) = Nothing, Optional auxiliaryMode As Nullable(Of NetworkInterfaceAuxiliaryMode) = Nothing, Optional auxiliarySku As Nullable(Of NetworkInterfaceAuxiliarySku) = Nothing) As NetworkInterfaceData
Parâmetros
ID do recurso.
- name
- String
Nome do recurso.
- resourceType
- Nullable<ResourceType>
Tipo de recurso.
- location
- Nullable<AzureLocation>
Local do recurso.
- tags
- IDictionary<String,String>
Marcas de recurso.
- extendedLocation
- ExtendedLocation
O local estendido do adaptador de rede.
Uma cadeia de caracteres somente leitura exclusiva que é alterada sempre que o recurso é atualizado.
- virtualMachineId
- ResourceIdentifier
A referência a uma máquina virtual.
- networkSecurityGroup
- NetworkSecurityGroupData
A referência ao recurso NetworkSecurityGroup.
- privateEndpoint
- PrivateEndpointData
Uma referência ao ponto de extremidade privado ao qual o adaptador de rede está vinculado.
- ipConfigurations
- IEnumerable<NetworkInterfaceIPConfigurationData>
Uma lista de IPConfigurações do adaptador de rede.
- tapConfigurations
- IEnumerable<NetworkInterfaceTapConfigurationData>
Uma lista de TapConfigurations do adaptador de rede.
- dnsSettings
- NetworkInterfaceDnsSettings
As configurações de DNS no adaptador de rede.
- macAddress
- String
O endereço MAC do adaptador de rede.
Se a máquina virtual à qual essa nic está anexada dá suporte à criptografia.
Se o adaptador de rede estiver configurado para rede acelerada. Não aplicável a tamanhos de VM que exigem rede acelerada.
Indica se o encaminhamento de IP está habilitado nesse adaptador de rede.
- hostedWorkloads
- IEnumerable<String>
Uma lista de referências a recursos BareMetal vinculados.
- dscpConfigurationId
- ResourceIdentifier
Uma referência à configuração dscp à qual o adaptador de rede está vinculado.
- provisioningState
- Nullable<NetworkProvisioningState>
O estado de provisionamento do recurso de interface de rede.
- workloadType
- String
WorkloadType do NetworkInterface para recursos BareMetal.
- nicType
- Nullable<NetworkInterfaceNicType>
Tipo de recurso de Adaptador de Rede.
- privateLinkService
- PrivateLinkServiceData
Privatelinkservice do recurso de interface de rede.
- migrationPhase
- Nullable<NetworkInterfaceMigrationPhase>
Fase de migração do recurso adaptador de rede.
- auxiliaryMode
- Nullable<NetworkInterfaceAuxiliaryMode>
Modo auxiliar do recurso adaptador de rede.
- auxiliarySku
- Nullable<NetworkInterfaceAuxiliarySku>
SKU auxiliar do recurso adaptador de rede.
Retornos
Uma nova NetworkInterfaceData instância para zombar.
Aplica-se a
Azure SDK for .NET