Dela via


FirewallPoliciesOperationsExtensions.BeginCreateOrUpdateAsync Method

Definition

Creates or updates the specified Firewall Policy.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Models.FirewallPolicy> BeginCreateOrUpdateAsync (this Microsoft.Azure.Management.Network.IFirewallPoliciesOperations operations, string resourceGroupName, string firewallPolicyName, Microsoft.Azure.Management.Network.Models.FirewallPolicy parameters, System.Threading.CancellationToken cancellationToken = default);
static member BeginCreateOrUpdateAsync : Microsoft.Azure.Management.Network.IFirewallPoliciesOperations * string * string * Microsoft.Azure.Management.Network.Models.FirewallPolicy * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Models.FirewallPolicy>
<Extension()>
Public Function BeginCreateOrUpdateAsync (operations As IFirewallPoliciesOperations, resourceGroupName As String, firewallPolicyName As String, parameters As FirewallPolicy, Optional cancellationToken As CancellationToken = Nothing) As Task(Of FirewallPolicy)

Parameters

operations
IFirewallPoliciesOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

firewallPolicyName
String

The name of the Firewall Policy.

parameters
FirewallPolicy

Parameters supplied to the create or update Firewall Policy operation.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to