HubRouteTables interface

Interface representing a HubRouteTables.

Methods

beginCreateOrUpdate(string, string, string, HubRouteTable, HubRouteTablesCreateOrUpdateOptionalParams)

Creates a RouteTable resource if it doesn't exist else updates the existing RouteTable.

beginCreateOrUpdateAndWait(string, string, string, HubRouteTable, HubRouteTablesCreateOrUpdateOptionalParams)

Creates a RouteTable resource if it doesn't exist else updates the existing RouteTable.

beginDelete(string, string, string, HubRouteTablesDeleteOptionalParams)

Deletes a RouteTable.

beginDeleteAndWait(string, string, string, HubRouteTablesDeleteOptionalParams)

Deletes a RouteTable.

get(string, string, string, HubRouteTablesGetOptionalParams)

Retrieves the details of a RouteTable.

list(string, string, HubRouteTablesListOptionalParams)

Retrieves the details of all RouteTables.

Method Details

beginCreateOrUpdate(string, string, string, HubRouteTable, HubRouteTablesCreateOrUpdateOptionalParams)

Creates a RouteTable resource if it doesn't exist else updates the existing RouteTable.

function beginCreateOrUpdate(resourceGroupName: string, virtualHubName: string, routeTableName: string, routeTableParameters: HubRouteTable, options?: HubRouteTablesCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<HubRouteTable>, HubRouteTable>>

Parameters

resourceGroupName

string

The resource group name of the VirtualHub.

virtualHubName

string

The name of the VirtualHub.

routeTableName

string

The name of the RouteTable.

routeTableParameters
HubRouteTable

Parameters supplied to create or update RouteTable.

options
HubRouteTablesCreateOrUpdateOptionalParams

The options parameters.

Returns

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

beginCreateOrUpdateAndWait(string, string, string, HubRouteTable, HubRouteTablesCreateOrUpdateOptionalParams)

Creates a RouteTable resource if it doesn't exist else updates the existing RouteTable.

function beginCreateOrUpdateAndWait(resourceGroupName: string, virtualHubName: string, routeTableName: string, routeTableParameters: HubRouteTable, options?: HubRouteTablesCreateOrUpdateOptionalParams): Promise<HubRouteTable>

Parameters

resourceGroupName

string

The resource group name of the VirtualHub.

virtualHubName

string

The name of the VirtualHub.

routeTableName

string

The name of the RouteTable.

routeTableParameters
HubRouteTable

Parameters supplied to create or update RouteTable.

options
HubRouteTablesCreateOrUpdateOptionalParams

The options parameters.

Returns

Promise<HubRouteTable>

beginDelete(string, string, string, HubRouteTablesDeleteOptionalParams)

Deletes a RouteTable.

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

Parameters

resourceGroupName

string

The resource group name of the RouteTable.

virtualHubName

string

The name of the VirtualHub.

routeTableName

string

The name of the RouteTable.

options
HubRouteTablesDeleteOptionalParams

The options parameters.

Returns

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

beginDeleteAndWait(string, string, string, HubRouteTablesDeleteOptionalParams)

Deletes a RouteTable.

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

Parameters

resourceGroupName

string

The resource group name of the RouteTable.

virtualHubName

string

The name of the VirtualHub.

routeTableName

string

The name of the RouteTable.

options
HubRouteTablesDeleteOptionalParams

The options parameters.

Returns

Promise<void>

get(string, string, string, HubRouteTablesGetOptionalParams)

Retrieves the details of a RouteTable.

function get(resourceGroupName: string, virtualHubName: string, routeTableName: string, options?: HubRouteTablesGetOptionalParams): Promise<HubRouteTable>

Parameters

resourceGroupName

string

The resource group name of the VirtualHub.

virtualHubName

string

The name of the VirtualHub.

routeTableName

string

The name of the RouteTable.

options
HubRouteTablesGetOptionalParams

The options parameters.

Returns

Promise<HubRouteTable>

list(string, string, HubRouteTablesListOptionalParams)

Retrieves the details of all RouteTables.

function list(resourceGroupName: string, virtualHubName: string, options?: HubRouteTablesListOptionalParams): PagedAsyncIterableIterator<HubRouteTable, HubRouteTable[], PageSettings>

Parameters

resourceGroupName

string

The resource group name of the VirtualHub.

virtualHubName

string

The name of the VirtualHub.

options
HubRouteTablesListOptionalParams

The options parameters.

Returns