RouteTables interface

Interface representing a RouteTables.

Methods

beginCreateOrUpdate(string, string, RouteTable, RouteTablesCreateOrUpdateOptionalParams)

Create or updates a route table in a specified resource group.

beginCreateOrUpdateAndWait(string, string, RouteTable, RouteTablesCreateOrUpdateOptionalParams)

Create or updates a route table in a specified resource group.

beginDelete(string, string, RouteTablesDeleteOptionalParams)

Deletes the specified route table.

beginDeleteAndWait(string, string, RouteTablesDeleteOptionalParams)

Deletes the specified route table.

get(string, string, RouteTablesGetOptionalParams)

Gets the specified route table.

list(string, RouteTablesListOptionalParams)

Gets all route tables in a resource group.

listAll(RouteTablesListAllOptionalParams)

Gets all route tables in a subscription.

updateTags(string, string, TagsObject, RouteTablesUpdateTagsOptionalParams)

Updates a route table tags.

Method Details

beginCreateOrUpdate(string, string, RouteTable, RouteTablesCreateOrUpdateOptionalParams)

Create or updates a route table in a specified resource group.

function beginCreateOrUpdate(resourceGroupName: string, routeTableName: string, parameters: RouteTable, options?: RouteTablesCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<RouteTable>, RouteTable>>

Parameters

resourceGroupName

string

The name of the resource group.

routeTableName

string

The name of the route table.

parameters
RouteTable

Parameters supplied to the create or update route table operation.

options
RouteTablesCreateOrUpdateOptionalParams

The options parameters.

Returns

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

beginCreateOrUpdateAndWait(string, string, RouteTable, RouteTablesCreateOrUpdateOptionalParams)

Create or updates a route table in a specified resource group.

function beginCreateOrUpdateAndWait(resourceGroupName: string, routeTableName: string, parameters: RouteTable, options?: RouteTablesCreateOrUpdateOptionalParams): Promise<RouteTable>

Parameters

resourceGroupName

string

The name of the resource group.

routeTableName

string

The name of the route table.

parameters
RouteTable

Parameters supplied to the create or update route table operation.

options
RouteTablesCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<RouteTable>

beginDelete(string, string, RouteTablesDeleteOptionalParams)

Deletes the specified route table.

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

Parameters

resourceGroupName

string

The name of the resource group.

routeTableName

string

The name of the route table.

options
RouteTablesDeleteOptionalParams

The options parameters.

Returns

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

beginDeleteAndWait(string, string, RouteTablesDeleteOptionalParams)

Deletes the specified route table.

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

Parameters

resourceGroupName

string

The name of the resource group.

routeTableName

string

The name of the route table.

options
RouteTablesDeleteOptionalParams

The options parameters.

Returns

Promise<void>

get(string, string, RouteTablesGetOptionalParams)

Gets the specified route table.

function get(resourceGroupName: string, routeTableName: string, options?: RouteTablesGetOptionalParams): Promise<RouteTable>

Parameters

resourceGroupName

string

The name of the resource group.

routeTableName

string

The name of the route table.

options
RouteTablesGetOptionalParams

The options parameters.

Returns

Promise<RouteTable>

list(string, RouteTablesListOptionalParams)

Gets all route tables in a resource group.

function list(resourceGroupName: string, options?: RouteTablesListOptionalParams): PagedAsyncIterableIterator<RouteTable, RouteTable[], PageSettings>

Parameters

resourceGroupName

string

The name of the resource group.

options
RouteTablesListOptionalParams

The options parameters.

Returns

listAll(RouteTablesListAllOptionalParams)

Gets all route tables in a subscription.

function listAll(options?: RouteTablesListAllOptionalParams): PagedAsyncIterableIterator<RouteTable, RouteTable[], PageSettings>

Parameters

options
RouteTablesListAllOptionalParams

The options parameters.

Returns

updateTags(string, string, TagsObject, RouteTablesUpdateTagsOptionalParams)

Updates a route table tags.

function updateTags(resourceGroupName: string, routeTableName: string, parameters: TagsObject, options?: RouteTablesUpdateTagsOptionalParams): Promise<RouteTable>

Parameters

resourceGroupName

string

The name of the resource group.

routeTableName

string

The name of the route table.

parameters
TagsObject

Parameters supplied to update route table tags.

options
RouteTablesUpdateTagsOptionalParams

The options parameters.

Returns

Promise<RouteTable>