Compartilhar via


NetworkExtensions.GetNetworkManagerAsync Método

Definição

Obtém o Gerenciador de Rede especificado.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Network/networkManagers/{networkManagerName}
  • Operação IdNetworkManagers_Get
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.NetworkManagerResource>> GetNetworkManagerAsync (this Azure.ResourceManager.Resources.ResourceGroupResource resourceGroupResource, string networkManagerName, System.Threading.CancellationToken cancellationToken = default);
static member GetNetworkManagerAsync : Azure.ResourceManager.Resources.ResourceGroupResource * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.NetworkManagerResource>>
<Extension()>
Public Function GetNetworkManagerAsync (resourceGroupResource As ResourceGroupResource, networkManagerName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of NetworkManagerResource))

Parâmetros

resourceGroupResource
ResourceGroupResource

A ResourceGroupResource instância na qual o método será executado.

networkManagerName
String

O nome do gerenciador de rede.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

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

networkManagerName é nulo.

Aplica-se a