Partilhar via


NetworkDeviceCollection.Get(String, CancellationToken) Método

Definição

Obtém os detalhes do recurso dispositivo de rede.

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

Parâmetros

networkDeviceName
String

Nome do Dispositivo de Rede.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

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

networkDeviceName é nulo.

Aplica-se a