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<SimplePollerLike<OperationState<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<@azure/core-lro.SimplePollerLike<OperationState<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<SimplePollerLike<OperationState<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<@azure/core-lro.SimplePollerLike<OperationState<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