FirewallPolicyDraftsOperationsExtensions.CreateOrUpdateAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Create or update a draft Firewall Policy.
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Models.FirewallPolicyDraft> CreateOrUpdateAsync (this Microsoft.Azure.Management.Network.IFirewallPolicyDraftsOperations operations, string resourceGroupName, string firewallPolicyName, Microsoft.Azure.Management.Network.Models.FirewallPolicyDraft parameters, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.Network.IFirewallPolicyDraftsOperations * string * string * Microsoft.Azure.Management.Network.Models.FirewallPolicyDraft * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Models.FirewallPolicyDraft>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IFirewallPolicyDraftsOperations, resourceGroupName As String, firewallPolicyName As String, parameters As FirewallPolicyDraft, Optional cancellationToken As CancellationToken = Nothing) As Task(Of FirewallPolicyDraft)
Parameters
- operations
- IFirewallPolicyDraftsOperations
The operations group for this extension method.
- resourceGroupName
- String
The name of the resource group.
- firewallPolicyName
- String
The name of the Firewall Policy.
- parameters
- FirewallPolicyDraft
- cancellationToken
- CancellationToken
The cancellation token.