Partilhar via


NetworkManagerCollection.GetAsync(String, CancellationToken) 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 virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.NetworkManagerResource>> GetAsync (string networkManagerName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.NetworkManagerResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.NetworkManagerResource>>
Public Overridable Function GetAsync (networkManagerName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of NetworkManagerResource))

Parâmetros

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