RouteFilters interface

Interface representing a RouteFilters.

Methods

beginCreateOrUpdate(string, string, RouteFilter, RouteFiltersCreateOrUpdateOptionalParams)

Creates or updates a route filter in a specified resource group.

beginCreateOrUpdateAndWait(string, string, RouteFilter, RouteFiltersCreateOrUpdateOptionalParams)

Creates or updates a route filter in a specified resource group.

beginDelete(string, string, RouteFiltersDeleteOptionalParams)

Deletes the specified route filter.

beginDeleteAndWait(string, string, RouteFiltersDeleteOptionalParams)

Deletes the specified route filter.

get(string, string, RouteFiltersGetOptionalParams)

Gets the specified route filter.

list(RouteFiltersListOptionalParams)

Gets all route filters in a subscription.

listByResourceGroup(string, RouteFiltersListByResourceGroupOptionalParams)

Gets all route filters in a resource group.

updateTags(string, string, TagsObject, RouteFiltersUpdateTagsOptionalParams)

Updates tags of a route filter.

Method Details

beginCreateOrUpdate(string, string, RouteFilter, RouteFiltersCreateOrUpdateOptionalParams)

Creates or updates a route filter in a specified resource group.

function beginCreateOrUpdate(resourceGroupName: string, routeFilterName: string, routeFilterParameters: RouteFilter, options?: RouteFiltersCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<RouteFilter>, RouteFilter>>

Parameters

resourceGroupName

string

The name of the resource group.

routeFilterName

string

The name of the route filter.

routeFilterParameters
RouteFilter

Parameters supplied to the create or update route filter operation.

options
RouteFiltersCreateOrUpdateOptionalParams

The options parameters.

Returns

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

beginCreateOrUpdateAndWait(string, string, RouteFilter, RouteFiltersCreateOrUpdateOptionalParams)

Creates or updates a route filter in a specified resource group.

function beginCreateOrUpdateAndWait(resourceGroupName: string, routeFilterName: string, routeFilterParameters: RouteFilter, options?: RouteFiltersCreateOrUpdateOptionalParams): Promise<RouteFilter>

Parameters

resourceGroupName

string

The name of the resource group.

routeFilterName

string

The name of the route filter.

routeFilterParameters
RouteFilter

Parameters supplied to the create or update route filter operation.

options
RouteFiltersCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<RouteFilter>

beginDelete(string, string, RouteFiltersDeleteOptionalParams)

Deletes the specified route filter.

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

Parameters

resourceGroupName

string

The name of the resource group.

routeFilterName

string

The name of the route filter.

options
RouteFiltersDeleteOptionalParams

The options parameters.

Returns

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

beginDeleteAndWait(string, string, RouteFiltersDeleteOptionalParams)

Deletes the specified route filter.

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

Parameters

resourceGroupName

string

The name of the resource group.

routeFilterName

string

The name of the route filter.

options
RouteFiltersDeleteOptionalParams

The options parameters.

Returns

Promise<void>

get(string, string, RouteFiltersGetOptionalParams)

Gets the specified route filter.

function get(resourceGroupName: string, routeFilterName: string, options?: RouteFiltersGetOptionalParams): Promise<RouteFilter>

Parameters

resourceGroupName

string

The name of the resource group.

routeFilterName

string

The name of the route filter.

options
RouteFiltersGetOptionalParams

The options parameters.

Returns

Promise<RouteFilter>

list(RouteFiltersListOptionalParams)

Gets all route filters in a subscription.

function list(options?: RouteFiltersListOptionalParams): PagedAsyncIterableIterator<RouteFilter, RouteFilter[], PageSettings>

Parameters

options
RouteFiltersListOptionalParams

The options parameters.

Returns

listByResourceGroup(string, RouteFiltersListByResourceGroupOptionalParams)

Gets all route filters in a resource group.

function listByResourceGroup(resourceGroupName: string, options?: RouteFiltersListByResourceGroupOptionalParams): PagedAsyncIterableIterator<RouteFilter, RouteFilter[], PageSettings>

Parameters

resourceGroupName

string

The name of the resource group.

options
RouteFiltersListByResourceGroupOptionalParams

The options parameters.

Returns

updateTags(string, string, TagsObject, RouteFiltersUpdateTagsOptionalParams)

Updates tags of a route filter.

function updateTags(resourceGroupName: string, routeFilterName: string, parameters: TagsObject, options?: RouteFiltersUpdateTagsOptionalParams): Promise<RouteFilter>

Parameters

resourceGroupName

string

The name of the resource group.

routeFilterName

string

The name of the route filter.

parameters
TagsObject

Parameters supplied to update route filter tags.

options
RouteFiltersUpdateTagsOptionalParams

The options parameters.

Returns

Promise<RouteFilter>