Compartilhar via


NetworkExtensions.GetSubscriptionNetworkManagerConnection 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 Azure.Response<Azure.ResourceManager.Network.SubscriptionNetworkManagerConnectionResource> GetSubscriptionNetworkManagerConnection (this Azure.ResourceManager.Resources.SubscriptionResource subscriptionResource, string networkManagerConnectionName, System.Threading.CancellationToken cancellationToken = default);
static member GetSubscriptionNetworkManagerConnection : Azure.ResourceManager.Resources.SubscriptionResource * string * System.Threading.CancellationToken -> Azure.Response<Azure.ResourceManager.Network.SubscriptionNetworkManagerConnectionResource>
<Extension()>
Public Function GetSubscriptionNetworkManagerConnection (subscriptionResource As SubscriptionResource, networkManagerConnectionName As String, Optional cancellationToken As CancellationToken = Nothing) As 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