ManagedNetworkFabricExtensions.GetNetworkDevice 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}
  • Operação IdNetworkDevices_Get
public static Azure.Response<Azure.ResourceManager.ManagedNetworkFabric.NetworkDeviceResource> GetNetworkDevice (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string networkDeviceName, System.Threading.CancellationToken cancellationToken = default);
static member GetNetworkDevice : Azure.ResourceManager.Resources.ResourceGroupResource * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.ManagedNetworkFabric.NetworkDeviceResource>
<Extension()>
Public Function GetNetworkDevice (resourceGroupResource As ResourceGroupResource, networkDeviceName As String, Optional cancellationToken As CancellationToken = Nothing) As Response(Of NetworkDeviceResource)

Parâmetros

resourceGroupResource
ResourceGroupResource

A ResourceGroupResource instância em que o método será executado.

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 esperava-se que não estivesse vazia.

networkDeviceName é nulo.

Aplica-se a