共用方式為


RouteFilterRules interface

Interface representing a RouteFilterRules.

Methods

beginCreateOrUpdate(string, string, string, RouteFilterRule, RouteFilterRulesCreateOrUpdateOptionalParams)

Creates or updates a route in the specified route filter.

beginCreateOrUpdateAndWait(string, string, string, RouteFilterRule, RouteFilterRulesCreateOrUpdateOptionalParams)

Creates or updates a route in the specified route filter.

beginDelete(string, string, string, RouteFilterRulesDeleteOptionalParams)

Deletes the specified rule from a route filter.

beginDeleteAndWait(string, string, string, RouteFilterRulesDeleteOptionalParams)

Deletes the specified rule from a route filter.

get(string, string, string, RouteFilterRulesGetOptionalParams)

Gets the specified rule from a route filter.

listByRouteFilter(string, string, RouteFilterRulesListByRouteFilterOptionalParams)

Gets all RouteFilterRules in a route filter.

Method Details

beginCreateOrUpdate(string, string, string, RouteFilterRule, RouteFilterRulesCreateOrUpdateOptionalParams)

Creates or updates a route in the specified route filter.

function beginCreateOrUpdate(resourceGroupName: string, routeFilterName: string, ruleName: string, routeFilterRuleParameters: RouteFilterRule, options?: RouteFilterRulesCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<RouteFilterRule>, RouteFilterRule>>

Parameters

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.

options
RouteFilterRulesCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<RouteFilterRule>, RouteFilterRule>>

beginCreateOrUpdateAndWait(string, string, string, RouteFilterRule, RouteFilterRulesCreateOrUpdateOptionalParams)

Creates or updates a route in the specified route filter.

function beginCreateOrUpdateAndWait(resourceGroupName: string, routeFilterName: string, ruleName: string, routeFilterRuleParameters: RouteFilterRule, options?: RouteFilterRulesCreateOrUpdateOptionalParams): Promise<RouteFilterRule>

Parameters

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.

options
RouteFilterRulesCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<RouteFilterRule>

beginDelete(string, string, string, RouteFilterRulesDeleteOptionalParams)

Deletes the specified rule from a route filter.

function beginDelete(resourceGroupName: string, routeFilterName: string, ruleName: string, options?: RouteFilterRulesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>

Parameters

resourceGroupName

string

The name of the resource group.

routeFilterName

string

The name of the route filter.

ruleName

string

The name of the rule.

options
RouteFilterRulesDeleteOptionalParams

The options parameters.

Returns

Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>

beginDeleteAndWait(string, string, string, RouteFilterRulesDeleteOptionalParams)

Deletes the specified rule from a route filter.

function beginDeleteAndWait(resourceGroupName: string, routeFilterName: string, ruleName: string, options?: RouteFilterRulesDeleteOptionalParams): Promise<void>

Parameters

resourceGroupName

string

The name of the resource group.

routeFilterName

string

The name of the route filter.

ruleName

string

The name of the rule.

options
RouteFilterRulesDeleteOptionalParams

The options parameters.

Returns

Promise<void>

get(string, string, string, RouteFilterRulesGetOptionalParams)

Gets the specified rule from a route filter.

function get(resourceGroupName: string, routeFilterName: string, ruleName: string, options?: RouteFilterRulesGetOptionalParams): Promise<RouteFilterRule>

Parameters

resourceGroupName

string

The name of the resource group.

routeFilterName

string

The name of the route filter.

ruleName

string

The name of the rule.

options
RouteFilterRulesGetOptionalParams

The options parameters.

Returns

Promise<RouteFilterRule>

listByRouteFilter(string, string, RouteFilterRulesListByRouteFilterOptionalParams)

Gets all RouteFilterRules in a route filter.

function listByRouteFilter(resourceGroupName: string, routeFilterName: string, options?: RouteFilterRulesListByRouteFilterOptionalParams): PagedAsyncIterableIterator<RouteFilterRule, RouteFilterRule[], PageSettings>

Parameters

resourceGroupName

string

The name of the resource group.

routeFilterName

string

The name of the route filter.

options
RouteFilterRulesListByRouteFilterOptionalParams

The options parameters.

Returns