Partager via


RoutingRuleCollectionsOperationsExtensions.CreateOrUpdateAsync Method

Definition

Creates or updates a routing rule collection.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Models.RoutingRuleCollection> CreateOrUpdateAsync (this Microsoft.Azure.Management.Network.IRoutingRuleCollectionsOperations operations, string resourceGroupName, string networkManagerName, string configurationName, string ruleCollectionName, Microsoft.Azure.Management.Network.Models.RoutingRuleCollection ruleCollection, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.Network.IRoutingRuleCollectionsOperations * string * string * string * string * Microsoft.Azure.Management.Network.Models.RoutingRuleCollection * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Models.RoutingRuleCollection>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IRoutingRuleCollectionsOperations, resourceGroupName As String, networkManagerName As String, configurationName As String, ruleCollectionName As String, ruleCollection As RoutingRuleCollection, Optional cancellationToken As CancellationToken = Nothing) As Task(Of RoutingRuleCollection)

Parameters

operations
IRoutingRuleCollectionsOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group. The name is case insensitive.

networkManagerName
String

The name of the network manager.

configurationName
String

The name of the network manager Routing Configuration.

ruleCollectionName
String

The name of the network manager routing Configuration rule collection.

ruleCollection
RoutingRuleCollection
cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to