Compartilhar via


NetworkExtensions.GetApplicationGatewaySslPredefinedPolicyAsync Método

Definição

Obtém a política predefinida SSL com o nome da política especificado.

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

Parâmetros

subscriptionResource
SubscriptionResource

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

predefinedPolicyName
String

Nome da política predefinida SSL.

cancellationToken
CancellationToken

O token de cancelamento a ser usado.

Retornos

Exceções

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

predefinedPolicyName é nulo.

Aplica-se a