RouteFilterRulesOperationsExtensions.CreateOrUpdateAsync Method

Definition

Creates or updates a route in the specified route filter.

public static System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Models.RouteFilterRule> CreateOrUpdateAsync (this Microsoft.Azure.Management.Network.IRouteFilterRulesOperations operations, string resourceGroupName, string routeFilterName, string ruleName, Microsoft.Azure.Management.Network.Models.RouteFilterRule routeFilterRuleParameters, System.Threading.CancellationToken cancellationToken = default);
static member CreateOrUpdateAsync : Microsoft.Azure.Management.Network.IRouteFilterRulesOperations * string * string * string * Microsoft.Azure.Management.Network.Models.RouteFilterRule * System.Threading.CancellationToken -> System.Threading.Tasks.Task<Microsoft.Azure.Management.Network.Models.RouteFilterRule>
<Extension()>
Public Function CreateOrUpdateAsync (operations As IRouteFilterRulesOperations, resourceGroupName As String, routeFilterName As String, ruleName As String, routeFilterRuleParameters As RouteFilterRule, Optional cancellationToken As CancellationToken = Nothing) As Task(Of RouteFilterRule)

Parameters

operations
IRouteFilterRulesOperations

The operations group for this extension method.

resourceGroupName
String

The name of the resource group.

routeFilterName
String

The name of the route filter.

ruleName
String

The name of the route filter rule.

routeFilterRuleParameters
RouteFilterRule

Parameters supplied to the create or update route filter rule operation.

cancellationToken
CancellationToken

The cancellation token.

Returns

Applies to