你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
FirewallPolicyRuleCollectionGroupDraftsOperationsExtensions.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 Rule Collection Group Draft.
public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Models.FirewallPolicyRuleCollectionGroupDraft> CreateOrUpdateAsync (this Microsoft.Azure.Management.Network.IFirewallPolicyRuleCollectionGroupDraftsOperations operations, string resourceGroupName, string firewallPolicyName, string ruleCollectionGroupName, Microsoft.Azure.Management.Network.Models.FirewallPolicyRuleCollectionGroupDraft parameters, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.Network.IFirewallPolicyRuleCollectionGroupDraftsOperations * string * string * string * Microsoft.Azure.Management.Network.Models.FirewallPolicyRuleCollectionGroupDraft * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Models.FirewallPolicyRuleCollectionGroupDraft>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IFirewallPolicyRuleCollectionGroupDraftsOperations, resourceGroupName As String, firewallPolicyName As String, ruleCollectionGroupName As String, parameters As FirewallPolicyRuleCollectionGroupDraft, Optional cancellationToken As CancellationToken = Nothing) As Task(Of FirewallPolicyRuleCollectionGroupDraft)
Parameters
The operations group for this extension method.
- resourceGroupName
- String
The name of the resource group.
- firewallPolicyName
- String
The name of the Firewall Policy.
- ruleCollectionGroupName
- String
The name of the FirewallPolicyRuleCollectionGroup.
- parameters
- FirewallPolicyRuleCollectionGroupDraft
- cancellationToken
- CancellationToken
The cancellation token.