Compartilhar via


PoliciesOperationsExtensions.BeginCreateOrUpdateAsync Método

Definição

Crie ou atualize a política com o nome do conjunto de regras especificado em um grupo de recursos.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Cdn.Models.CdnWebApplicationFirewallPolicy> BeginCreateOrUpdateAsync (this Microsoft.Azure.Management.Cdn.IPoliciesOperations operations, string resourceGroupName, string policyName, Microsoft.Azure.Management.Cdn.Models.CdnWebApplicationFirewallPolicy cdnWebApplicationFirewallPolicy, System.Threading.CancellationToken cancellationToken = default);
static member BeginCreateOrUpdateAsync : Microsoft.Azure.Management.Cdn.IPoliciesOperations * string * string * Microsoft.Azure.Management.Cdn.Models.CdnWebApplicationFirewallPolicy * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Cdn.Models.CdnWebApplicationFirewallPolicy>
<Extension()>
Public Function BeginCreateOrUpdateAsync (operations As IPoliciesOperations, resourceGroupName As String, policyName As String, cdnWebApplicationFirewallPolicy As CdnWebApplicationFirewallPolicy, Optional cancellationToken As CancellationToken = Nothing) As Task(Of CdnWebApplicationFirewallPolicy)

Parâmetros

operations
IPoliciesOperations

O grupo de operações para esse método de extensão.

resourceGroupName
String

Nome do grupo de recursos na assinatura do Azure.

policyName
String

O nome da CdnWebApplicationFirewallPolicy.

cdnWebApplicationFirewallPolicy
CdnWebApplicationFirewallPolicy

Política a ser criada.

cancellationToken
CancellationToken

O token de cancelamento.

Retornos

Aplica-se a