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.

beginUpdateTags(string, string, TagsObject, RouteTablesUpdateTagsOptionalParams)

Updates a route table tags.

beginUpdateTagsAndWait(string, string, TagsObject, RouteTablesUpdateTagsOptionalParams)

Updates a route table tags.

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.

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<PollerLike<PollOperationState<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<PollerLike<@azure/core-lro.PollOperationState<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<PollerLike<PollOperationState<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<PollerLike<@azure/core-lro.PollOperationState<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>

beginUpdateTags(string, string, TagsObject, RouteTablesUpdateTagsOptionalParams)

Updates a route table tags.

function beginUpdateTags(resourceGroupName: string, routeTableName: string, parameters: TagsObject, options?: RouteTablesUpdateTagsOptionalParams): Promise<PollerLike<PollOperationState<RouteTable>, 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<PollerLike<@azure/core-lro.PollOperationState<RouteTable>, RouteTable>>

beginUpdateTagsAndWait(string, string, TagsObject, RouteTablesUpdateTagsOptionalParams)

Updates a route table tags.

function beginUpdateTagsAndWait(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>

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