Share via


InboundSecurityRuleOperationsExtensions.BeginCreateOrUpdateAsync Method

Definition

Creates or updates the specified Network Virtual Appliance Inbound Security Rules.

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

Parameters

operations
IInboundSecurityRuleOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

networkVirtualApplianceName
String

The name of the Network Virtual Appliance.

ruleCollectionName
String

The name of security rule collection.

parameters
InboundSecurityRule

Parameters supplied to the create or update Network Virtual Appliance Inbound Security Rules operation.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to