RouteFilterRules interface
Interface representing a RouteFilterRules.
Methods
begin |
Creates or updates a route in the specified route filter. |
begin |
Creates or updates a route in the specified route filter. |
begin |
Deletes the specified rule from a route filter. |
begin |
Deletes the specified rule from a route filter. |
get(string, string, string, Route |
Gets the specified rule from a route filter. |
list |
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.
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.
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.
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.
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.
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.
The options parameters.