Routes interface

Interface representing a Routes.

Methods

beginCreateOrUpdate(string, string, string, Route, RoutesCreateOrUpdateOptionalParams)

Creates or updates a route in the specified route table.

beginCreateOrUpdateAndWait(string, string, string, Route, RoutesCreateOrUpdateOptionalParams)

Creates or updates a route in the specified route table.

beginDelete(string, string, string, RoutesDeleteOptionalParams)

Deletes the specified route from a route table.

beginDeleteAndWait(string, string, string, RoutesDeleteOptionalParams)

Deletes the specified route from a route table.

get(string, string, string, RoutesGetOptionalParams)

Gets the specified route from a route table.

list(string, string, RoutesListOptionalParams)

Gets all routes in a route table.

Method Details

beginCreateOrUpdate(string, string, string, Route, RoutesCreateOrUpdateOptionalParams)

Creates or updates a route in the specified route table.

function beginCreateOrUpdate(resourceGroupName: string, routeTableName: string, routeName: string, routeParameters: Route, options?: RoutesCreateOrUpdateOptionalParams): Promise<PollerLike<PollOperationState<Route>, Route>>

Parameters

resourceGroupName

string

The name of the resource group.

routeTableName

string

The name of the route table.

routeName

string

The name of the route.

routeParameters
Route

Parameters supplied to the create or update route operation.

options
RoutesCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<PollerLike<@azure/core-lro.PollOperationState<Route>, Route>>

beginCreateOrUpdateAndWait(string, string, string, Route, RoutesCreateOrUpdateOptionalParams)

Creates or updates a route in the specified route table.

function beginCreateOrUpdateAndWait(resourceGroupName: string, routeTableName: string, routeName: string, routeParameters: Route, options?: RoutesCreateOrUpdateOptionalParams): Promise<Route>

Parameters

resourceGroupName

string

The name of the resource group.

routeTableName

string

The name of the route table.

routeName

string

The name of the route.

routeParameters
Route

Parameters supplied to the create or update route operation.

options
RoutesCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<Route>

beginDelete(string, string, string, RoutesDeleteOptionalParams)

Deletes the specified route from a route table.

function beginDelete(resourceGroupName: string, routeTableName: string, routeName: string, options?: RoutesDeleteOptionalParams): Promise<PollerLike<PollOperationState<void>, void>>

Parameters

resourceGroupName

string

The name of the resource group.

routeTableName

string

The name of the route table.

routeName

string

The name of the route.

options
RoutesDeleteOptionalParams

The options parameters.

Returns

Promise<PollerLike<@azure/core-lro.PollOperationState<void>, void>>

beginDeleteAndWait(string, string, string, RoutesDeleteOptionalParams)

Deletes the specified route from a route table.

function beginDeleteAndWait(resourceGroupName: string, routeTableName: string, routeName: string, options?: RoutesDeleteOptionalParams): Promise<void>

Parameters

resourceGroupName

string

The name of the resource group.

routeTableName

string

The name of the route table.

routeName

string

The name of the route.

options
RoutesDeleteOptionalParams

The options parameters.

Returns

Promise<void>

get(string, string, string, RoutesGetOptionalParams)

Gets the specified route from a route table.

function get(resourceGroupName: string, routeTableName: string, routeName: string, options?: RoutesGetOptionalParams): Promise<Route>

Parameters

resourceGroupName

string

The name of the resource group.

routeTableName

string

The name of the route table.

routeName

string

The name of the route.

options
RoutesGetOptionalParams

The options parameters.

Returns

Promise<Route>

list(string, string, RoutesListOptionalParams)

Gets all routes in a route table.

function list(resourceGroupName: string, routeTableName: string, options?: RoutesListOptionalParams): PagedAsyncIterableIterator<Route, Route[], PageSettings>

Parameters

resourceGroupName

string

The name of the resource group.

routeTableName

string

The name of the route table.

options
RoutesListOptionalParams

The options parameters.

Returns