Compartilhar via


ManagementGroupNetworkManagerConnectionCollection.GetAsync Método

Definição

Obtenha uma conexão especificada criada por esse grupo de gerenciamento.

  • Caminho da Solicitação/provedores/Microsoft.Management/managementGroups/{managementGroupId}/providers/Microsoft.Network/networkManagerConnections/{networkManagerConnectionName}
  • Operação IdManagementGroupNetworkManagerConnections_Get
public virtual System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.ManagementGroupNetworkManagerConnectionResource>> GetAsync (string networkManagerConnectionName, System.Threading.CancellationToken cancellationToken = default);
abstract member GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.ManagementGroupNetworkManagerConnectionResource>>
override this.GetAsync : string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.ManagementGroupNetworkManagerConnectionResource>>
Public Overridable Function GetAsync (networkManagerConnectionName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of ManagementGroupNetworkManagerConnectionResource))

Parâmetros

networkManagerConnectionName
String

Nome da conexão do gerenciador de rede.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

networkManagerConnectionName é uma cadeia de caracteres vazia e esperava-se que não estivesse vazia.

networkManagerConnectionName é nulo.

Aplica-se a