Partilhar via


NetworkDeviceResource.GetNetworkDeviceInterfaceAsync Método

Definição

Obtenha os detalhes do recurso adaptador de rede.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkDevices/{networkDeviceName}/networkInterfaces/{networkInterfaceName}
  • IdNetworkInterfaces_Get de operação
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ManagedNetworkFabric.NetworkDeviceInterfaceResource>> GetNetworkDeviceInterfaceAsync (string networkInterfaceName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetNetworkDeviceInterfaceAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ManagedNetworkFabric.NetworkDeviceInterfaceResource>>
override this.GetNetworkDeviceInterfaceAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ManagedNetworkFabric.NetworkDeviceInterfaceResource>>
Public Overridable Function GetNetworkDeviceInterfaceAsync (networkInterfaceName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of NetworkDeviceInterfaceResource))

Parâmetros

networkInterfaceName
String

Nome do Adaptador de Rede.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

networkInterfaceName é uma cadeia de caracteres vazia e era esperado que não estivesse vazio.

networkInterfaceName é nulo.

Aplica-se a