RoutingRuleCollections interface
Interface representing a RoutingRuleCollections.
Methods
begin |
Deletes an routing rule collection. |
begin |
Deletes an routing rule collection. |
create |
Creates or updates a routing rule collection. |
get(string, string, string, string, Routing |
Gets a network manager routing configuration rule collection. |
list(string, string, string, Routing |
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.
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.
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
The options parameters.
Returns
Promise<RoutingRuleCollection>
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.
The options parameters.
Returns
Promise<RoutingRuleCollection>
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.
The options parameters.