Partilhar via


NetworkDeviceResource.GetNetworkDeviceInterface 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 Azure.Response<Azure.ResourceManager.ManagedNetworkFabric.NetworkDeviceInterfaceResource> GetNetworkDeviceInterface (string networkInterfaceName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetNetworkDeviceInterface : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ManagedNetworkFabric.NetworkDeviceInterfaceResource>
override this.GetNetworkDeviceInterface : string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ManagedNetworkFabric.NetworkDeviceInterfaceResource>
Public Overridable Function GetNetworkDeviceInterface (networkInterfaceName As String, Optional cancellationToken As CancellationToken = Nothing) As 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