Compartilhar via


NetworkDeviceInterfaceCollection.GetAsync(String, CancellationToken) Método

Definição

Obtenha os detalhes do recurso da Interface de Rede.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedNetworkFabric/networkDevices/{networkDeviceName}/networkInterfaces/{networkInterfaceName}
  • Operação IdNetworkInterfaces_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ManagedNetworkFabric.NetworkDeviceInterfaceResource>> GetAsync (string networkInterfaceName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ManagedNetworkFabric.NetworkDeviceInterfaceResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.ManagedNetworkFabric.NetworkDeviceInterfaceResource>>
Public Overridable Function GetAsync (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 esperava-se que não estivesse vazia.

networkInterfaceName é nulo.

Aplica-se a