NetworkExtensions.GetSubscriptionNetworkManagerConnectionAsync Método

Definição

Obtenha uma conexão especificada criada por esta assinatura.

  • Caminho da Solicitação/assinaturas/{subscriptionId}/providers/Microsoft.Network/networkManagerConnections/{networkManagerConnectionName}
  • Operação IdSubscriptionNetworkManagerConnections_Get
public static System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.SubscriptionNetworkManagerConnectionResource>> GetSubscriptionNetworkManagerConnectionAsync (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, string networkManagerConnectionName, System.Threading.CancellationToken cancellationToken = default);
static member GetSubscriptionNetworkManagerConnectionAsync : Azure.ResourceManager.Resources.SubscriptionResource * string * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Azure.Response<Azure.ResourceManager.Network.SubscriptionNetworkManagerConnectionResource>>
<Extension()>
Public Function GetSubscriptionNetworkManagerConnectionAsync (subscriptionResource As SubscriptionResource, networkManagerConnectionName As String, Optional cancellationToken As CancellationToken = Nothing) As Task(Of Response(Of SubscriptionNetworkManagerConnectionResource))

Parâmetros

subscriptionResource
SubscriptionResource

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

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