RoutingRuleCollections interface

Interface representing a RoutingRuleCollections.

Methods

beginDelete(string, string, string, string, RoutingRuleCollectionsDeleteOptionalParams)

Deletes an routing rule collection.

beginDeleteAndWait(string, string, string, string, RoutingRuleCollectionsDeleteOptionalParams)

Deletes an routing rule collection.

createOrUpdate(string, string, string, string, RoutingRuleCollection, RoutingRuleCollectionsCreateOrUpdateOptionalParams)

Creates or updates a routing rule collection.

get(string, string, string, string, RoutingRuleCollectionsGetOptionalParams)

Gets a network manager routing configuration rule collection.

list(string, string, string, RoutingRuleCollectionsListOptionalParams)

Lists all the rule collections in a routing configuration, in a paginated format.

Method Details

beginDelete(string, string, string, string, RoutingRuleCollectionsDeleteOptionalParams)

Deletes an routing rule collection.

function beginDelete(resourceGroupName: string, networkManagerName: string, configurationName: string, ruleCollectionName: string, options?: RoutingRuleCollectionsDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

networkManagerName

string

The name of the network manager.

configurationName

string

The name of the network manager Routing Configuration.

ruleCollectionName

string

The name of the network manager routing Configuration rule collection.

options
RoutingRuleCollectionsDeleteOptionalParams

The options parameters.

Returns

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

beginDeleteAndWait(string, string, string, string, RoutingRuleCollectionsDeleteOptionalParams)

Deletes an routing rule collection.

function beginDeleteAndWait(resourceGroupName: string, networkManagerName: string, configurationName: string, ruleCollectionName: string, options?: RoutingRuleCollectionsDeleteOptionalParams): Promise<void>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

networkManagerName

string

The name of the network manager.

configurationName

string

The name of the network manager Routing Configuration.

ruleCollectionName

string

The name of the network manager routing Configuration rule collection.

options
RoutingRuleCollectionsDeleteOptionalParams

The options parameters.

Returns

Promise<void>

createOrUpdate(string, string, string, string, RoutingRuleCollection, RoutingRuleCollectionsCreateOrUpdateOptionalParams)

Creates or updates a routing rule collection.

function createOrUpdate(resourceGroupName: string, networkManagerName: string, configurationName: string, ruleCollectionName: string, ruleCollection: RoutingRuleCollection, options?: RoutingRuleCollectionsCreateOrUpdateOptionalParams): Promise<RoutingRuleCollection>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

networkManagerName

string

The name of the network manager.

configurationName

string

The name of the network manager Routing Configuration.

ruleCollectionName

string

The name of the network manager routing Configuration rule collection.

ruleCollection
RoutingRuleCollection

The Rule Collection to create or update

options
RoutingRuleCollectionsCreateOrUpdateOptionalParams

The options parameters.

Returns

get(string, string, string, string, RoutingRuleCollectionsGetOptionalParams)

Gets a network manager routing configuration rule collection.

function get(resourceGroupName: string, networkManagerName: string, configurationName: string, ruleCollectionName: string, options?: RoutingRuleCollectionsGetOptionalParams): Promise<RoutingRuleCollection>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

networkManagerName

string

The name of the network manager.

configurationName

string

The name of the network manager Routing Configuration.

ruleCollectionName

string

The name of the network manager routing Configuration rule collection.

options
RoutingRuleCollectionsGetOptionalParams

The options parameters.

Returns

list(string, string, string, RoutingRuleCollectionsListOptionalParams)

Lists all the rule collections in a routing configuration, in a paginated format.

function list(resourceGroupName: string, networkManagerName: string, configurationName: string, options?: RoutingRuleCollectionsListOptionalParams): PagedAsyncIterableIterator<RoutingRuleCollection, RoutingRuleCollection[], PageSettings>

Parameters

resourceGroupName

string

The name of the resource group. The name is case insensitive.

networkManagerName

string

The name of the network manager.

configurationName

string

The name of the network manager Routing Configuration.

options
RoutingRuleCollectionsListOptionalParams

The options parameters.

Returns