RoutingRules interface
Interface representing a RoutingRules.
Methods
begin |
Deletes a routing rule. |
begin |
Deletes a routing rule. |
create |
Creates or updates an routing rule. |
get(string, string, string, string, string, Routing |
Gets a network manager routing configuration routing rule. |
list(string, string, string, string, Routing |
List all network manager routing configuration routing rules. |
Method Details
beginDelete(string, string, string, string, string, RoutingRulesDeleteOptionalParams)
Deletes a routing rule.
function beginDelete(resourceGroupName: string, networkManagerName: string, configurationName: string, ruleCollectionName: string, ruleName: string, options?: RoutingRulesDeleteOptionalParams): 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.
- ruleName
-
string
The name of the rule.
- options
- RoutingRulesDeleteOptionalParams
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>
beginDeleteAndWait(string, string, string, string, string, RoutingRulesDeleteOptionalParams)
Deletes a routing rule.
function beginDeleteAndWait(resourceGroupName: string, networkManagerName: string, configurationName: string, ruleCollectionName: string, ruleName: string, options?: RoutingRulesDeleteOptionalParams): 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.
- ruleName
-
string
The name of the rule.
- options
- RoutingRulesDeleteOptionalParams
The options parameters.
Returns
Promise<void>
createOrUpdate(string, string, string, string, string, RoutingRule, RoutingRulesCreateOrUpdateOptionalParams)
Creates or updates an routing rule.
function createOrUpdate(resourceGroupName: string, networkManagerName: string, configurationName: string, ruleCollectionName: string, ruleName: string, routingRule: RoutingRule, options?: RoutingRulesCreateOrUpdateOptionalParams): Promise<RoutingRule>
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.
- ruleName
-
string
The name of the rule.
- routingRule
- RoutingRule
The routing rule to create or update
The options parameters.
Returns
Promise<RoutingRule>
get(string, string, string, string, string, RoutingRulesGetOptionalParams)
Gets a network manager routing configuration routing rule.
function get(resourceGroupName: string, networkManagerName: string, configurationName: string, ruleCollectionName: string, ruleName: string, options?: RoutingRulesGetOptionalParams): Promise<RoutingRule>
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.
- ruleName
-
string
The name of the rule.
- options
- RoutingRulesGetOptionalParams
The options parameters.
Returns
Promise<RoutingRule>
list(string, string, string, string, RoutingRulesListOptionalParams)
List all network manager routing configuration routing rules.
function list(resourceGroupName: string, networkManagerName: string, configurationName: string, ruleCollectionName: string, options?: RoutingRulesListOptionalParams): PagedAsyncIterableIterator<RoutingRule, RoutingRule[], 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.
- ruleCollectionName
-
string
The name of the network manager routing Configuration rule collection.
- options
- RoutingRulesListOptionalParams
The options parameters.