Interface RoutingRulesClient
public interface RoutingRulesClient
An instance of this class provides access to all the operations defined in RoutingRulesClient.
-
Method Summary
Modifier and TypeMethodDescriptionbeginDelete(String resourceGroupName, String networkManagerName, String configurationName, String ruleCollectionName, String ruleName) Deletes a routing rule.beginDelete(String resourceGroupName, String networkManagerName, String configurationName, String ruleCollectionName, String ruleName, Boolean force, com.azure.core.util.Context context) Deletes a routing rule.beginDeleteAsync(String resourceGroupName, String networkManagerName, String configurationName, String ruleCollectionName, String ruleName) Deletes a routing rule.beginDeleteAsync(String resourceGroupName, String networkManagerName, String configurationName, String ruleCollectionName, String ruleName, Boolean force) Deletes a routing rule.createOrUpdate(String resourceGroupName, String networkManagerName, String configurationName, String ruleCollectionName, String ruleName, RoutingRuleInner routingRule) Creates or updates an routing rule.createOrUpdateAsync(String resourceGroupName, String networkManagerName, String configurationName, String ruleCollectionName, String ruleName, RoutingRuleInner routingRule) Creates or updates an routing rule.com.azure.core.http.rest.Response<RoutingRuleInner> createOrUpdateWithResponse(String resourceGroupName, String networkManagerName, String configurationName, String ruleCollectionName, String ruleName, RoutingRuleInner routingRule, com.azure.core.util.Context context) Creates or updates an routing rule.Mono<com.azure.core.http.rest.Response<RoutingRuleInner>> createOrUpdateWithResponseAsync(String resourceGroupName, String networkManagerName, String configurationName, String ruleCollectionName, String ruleName, RoutingRuleInner routingRule) Creates or updates an routing rule.voiddelete(String resourceGroupName, String networkManagerName, String configurationName, String ruleCollectionName, String ruleName) Deletes a routing rule.voiddelete(String resourceGroupName, String networkManagerName, String configurationName, String ruleCollectionName, String ruleName, Boolean force, com.azure.core.util.Context context) Deletes a routing rule.deleteAsync(String resourceGroupName, String networkManagerName, String configurationName, String ruleCollectionName, String ruleName) Deletes a routing rule.deleteAsync(String resourceGroupName, String networkManagerName, String configurationName, String ruleCollectionName, String ruleName, Boolean force) Deletes a routing rule.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String networkManagerName, String configurationName, String ruleCollectionName, String ruleName, Boolean force) Deletes a routing rule.get(String resourceGroupName, String networkManagerName, String configurationName, String ruleCollectionName, String ruleName) Gets a network manager routing configuration routing rule.getAsync(String resourceGroupName, String networkManagerName, String configurationName, String ruleCollectionName, String ruleName) Gets a network manager routing configuration routing rule.com.azure.core.http.rest.Response<RoutingRuleInner> getWithResponse(String resourceGroupName, String networkManagerName, String configurationName, String ruleCollectionName, String ruleName, com.azure.core.util.Context context) Gets a network manager routing configuration routing rule.Mono<com.azure.core.http.rest.Response<RoutingRuleInner>> getWithResponseAsync(String resourceGroupName, String networkManagerName, String configurationName, String ruleCollectionName, String ruleName) Gets a network manager routing configuration routing rule.com.azure.core.http.rest.PagedIterable<RoutingRuleInner> list(String resourceGroupName, String networkManagerName, String configurationName, String ruleCollectionName) List all network manager routing configuration routing rules.com.azure.core.http.rest.PagedIterable<RoutingRuleInner> list(String resourceGroupName, String networkManagerName, String configurationName, String ruleCollectionName, Integer top, String skipToken, com.azure.core.util.Context context) List all network manager routing configuration routing rules.com.azure.core.http.rest.PagedFlux<RoutingRuleInner> listAsync(String resourceGroupName, String networkManagerName, String configurationName, String ruleCollectionName) List all network manager routing configuration routing rules.com.azure.core.http.rest.PagedFlux<RoutingRuleInner> listAsync(String resourceGroupName, String networkManagerName, String configurationName, String ruleCollectionName, Integer top, String skipToken) List all network manager routing configuration routing rules.
-
Method Details
-
listAsync
com.azure.core.http.rest.PagedFlux<RoutingRuleInner> listAsync(String resourceGroupName, String networkManagerName, String configurationName, String ruleCollectionName, Integer top, String skipToken) List all network manager routing configuration routing rules.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.networkManagerName- The name of the network manager.configurationName- The name of the network manager Routing Configuration.ruleCollectionName- The name of the network manager routing Configuration rule collection.top- An optional query parameter which specifies the maximum number of records to be returned by the server.skipToken- SkipToken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls.- Returns:
- routing configuration rule list result as paginated response with
PagedFlux. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
listAsync
com.azure.core.http.rest.PagedFlux<RoutingRuleInner> listAsync(String resourceGroupName, String networkManagerName, String configurationName, String ruleCollectionName) List all network manager routing configuration routing rules.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.networkManagerName- The name of the network manager.configurationName- The name of the network manager Routing Configuration.ruleCollectionName- The name of the network manager routing Configuration rule collection.- Returns:
- routing configuration rule list result as paginated response with
PagedFlux. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
list
com.azure.core.http.rest.PagedIterable<RoutingRuleInner> list(String resourceGroupName, String networkManagerName, String configurationName, String ruleCollectionName) List all network manager routing configuration routing rules.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.networkManagerName- The name of the network manager.configurationName- The name of the network manager Routing Configuration.ruleCollectionName- The name of the network manager routing Configuration rule collection.- Returns:
- routing configuration rule list result as paginated response with
PagedIterable. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
list
com.azure.core.http.rest.PagedIterable<RoutingRuleInner> list(String resourceGroupName, String networkManagerName, String configurationName, String ruleCollectionName, Integer top, String skipToken, com.azure.core.util.Context context) List all network manager routing configuration routing rules.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.networkManagerName- The name of the network manager.configurationName- The name of the network manager Routing Configuration.ruleCollectionName- The name of the network manager routing Configuration rule collection.top- An optional query parameter which specifies the maximum number of records to be returned by the server.skipToken- SkipToken is only used if a previous operation returned a partial result. If a previous response contains a nextLink element, the value of the nextLink element will include a skipToken parameter that specifies a starting point to use for subsequent calls.context- The context to associate with this operation.- Returns:
- routing configuration rule list result as paginated response with
PagedIterable. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getWithResponseAsync
Mono<com.azure.core.http.rest.Response<RoutingRuleInner>> getWithResponseAsync(String resourceGroupName, String networkManagerName, String configurationName, String ruleCollectionName, String ruleName) Gets a network manager routing configuration routing rule.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.networkManagerName- The name of the network manager.configurationName- The name of the network manager Routing Configuration.ruleCollectionName- The name of the network manager routing Configuration rule collection.ruleName- The name of the rule.- Returns:
- a network manager routing configuration routing rule along with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getAsync
Mono<RoutingRuleInner> getAsync(String resourceGroupName, String networkManagerName, String configurationName, String ruleCollectionName, String ruleName) Gets a network manager routing configuration routing rule.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.networkManagerName- The name of the network manager.configurationName- The name of the network manager Routing Configuration.ruleCollectionName- The name of the network manager routing Configuration rule collection.ruleName- The name of the rule.- Returns:
- a network manager routing configuration routing rule on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getWithResponse
com.azure.core.http.rest.Response<RoutingRuleInner> getWithResponse(String resourceGroupName, String networkManagerName, String configurationName, String ruleCollectionName, String ruleName, com.azure.core.util.Context context) Gets a network manager routing configuration routing rule.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.networkManagerName- The name of the network manager.configurationName- The name of the network manager Routing Configuration.ruleCollectionName- The name of the network manager routing Configuration rule collection.ruleName- The name of the rule.context- The context to associate with this operation.- Returns:
- a network manager routing configuration routing rule along with
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
get
RoutingRuleInner get(String resourceGroupName, String networkManagerName, String configurationName, String ruleCollectionName, String ruleName) Gets a network manager routing configuration routing rule.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.networkManagerName- The name of the network manager.configurationName- The name of the network manager Routing Configuration.ruleCollectionName- The name of the network manager routing Configuration rule collection.ruleName- The name of the rule.- Returns:
- a network manager routing configuration routing rule.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdateWithResponseAsync
Mono<com.azure.core.http.rest.Response<RoutingRuleInner>> createOrUpdateWithResponseAsync(String resourceGroupName, String networkManagerName, String configurationName, String ruleCollectionName, String ruleName, RoutingRuleInner routingRule) Creates or updates an routing rule.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.networkManagerName- The name of the network manager.configurationName- The name of the network manager Routing Configuration.ruleCollectionName- The name of the network manager routing Configuration rule collection.ruleName- The name of the rule.routingRule- The routing rule to create or update.- Returns:
- network routing rule along with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdateAsync
Mono<RoutingRuleInner> createOrUpdateAsync(String resourceGroupName, String networkManagerName, String configurationName, String ruleCollectionName, String ruleName, RoutingRuleInner routingRule) Creates or updates an routing rule.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.networkManagerName- The name of the network manager.configurationName- The name of the network manager Routing Configuration.ruleCollectionName- The name of the network manager routing Configuration rule collection.ruleName- The name of the rule.routingRule- The routing rule to create or update.- Returns:
- network routing rule on successful completion of
Mono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdateWithResponse
com.azure.core.http.rest.Response<RoutingRuleInner> createOrUpdateWithResponse(String resourceGroupName, String networkManagerName, String configurationName, String ruleCollectionName, String ruleName, RoutingRuleInner routingRule, com.azure.core.util.Context context) Creates or updates an routing rule.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.networkManagerName- The name of the network manager.configurationName- The name of the network manager Routing Configuration.ruleCollectionName- The name of the network manager routing Configuration rule collection.ruleName- The name of the rule.routingRule- The routing rule to create or update.context- The context to associate with this operation.- Returns:
- network routing rule along with
Response. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
createOrUpdate
RoutingRuleInner createOrUpdate(String resourceGroupName, String networkManagerName, String configurationName, String ruleCollectionName, String ruleName, RoutingRuleInner routingRule) Creates or updates an routing rule.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.networkManagerName- The name of the network manager.configurationName- The name of the network manager Routing Configuration.ruleCollectionName- The name of the network manager routing Configuration rule collection.ruleName- The name of the rule.routingRule- The routing rule to create or update.- Returns:
- network routing rule.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
deleteWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String networkManagerName, String configurationName, String ruleCollectionName, String ruleName, Boolean force) Deletes a routing rule.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.networkManagerName- The name of the network manager.configurationName- The name of the network manager Routing Configuration.ruleCollectionName- The name of the network manager routing Configuration rule collection.ruleName- The name of the rule.force- Deletes the resource even if it is part of a deployed configuration. If the configuration has been deployed, the service will do a cleanup deployment in the background, prior to the delete.- Returns:
- the
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginDeleteAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginDeleteAsync(String resourceGroupName, String networkManagerName, String configurationName, String ruleCollectionName, String ruleName, Boolean force) Deletes a routing rule.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.networkManagerName- The name of the network manager.configurationName- The name of the network manager Routing Configuration.ruleCollectionName- The name of the network manager routing Configuration rule collection.ruleName- The name of the rule.force- Deletes the resource even if it is part of a deployed configuration. If the configuration has been deployed, the service will do a cleanup deployment in the background, prior to the delete.- Returns:
- the
PollerFluxfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginDeleteAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginDeleteAsync(String resourceGroupName, String networkManagerName, String configurationName, String ruleCollectionName, String ruleName) Deletes a routing rule.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.networkManagerName- The name of the network manager.configurationName- The name of the network manager Routing Configuration.ruleCollectionName- The name of the network manager routing Configuration rule collection.ruleName- The name of the rule.- Returns:
- the
PollerFluxfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String networkManagerName, String configurationName, String ruleCollectionName, String ruleName) Deletes a routing rule.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.networkManagerName- The name of the network manager.configurationName- The name of the network manager Routing Configuration.ruleCollectionName- The name of the network manager routing Configuration rule collection.ruleName- The name of the rule.- Returns:
- the
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
beginDelete
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String networkManagerName, String configurationName, String ruleCollectionName, String ruleName, Boolean force, com.azure.core.util.Context context) Deletes a routing rule.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.networkManagerName- The name of the network manager.configurationName- The name of the network manager Routing Configuration.ruleCollectionName- The name of the network manager routing Configuration rule collection.ruleName- The name of the rule.force- Deletes the resource even if it is part of a deployed configuration. If the configuration has been deployed, the service will do a cleanup deployment in the background, prior to the delete.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
deleteAsync
Mono<Void> deleteAsync(String resourceGroupName, String networkManagerName, String configurationName, String ruleCollectionName, String ruleName, Boolean force) Deletes a routing rule.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.networkManagerName- The name of the network manager.configurationName- The name of the network manager Routing Configuration.ruleCollectionName- The name of the network manager routing Configuration rule collection.ruleName- The name of the rule.force- Deletes the resource even if it is part of a deployed configuration. If the configuration has been deployed, the service will do a cleanup deployment in the background, prior to the delete.- Returns:
- A
Monothat completes when a successful response is received. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
deleteAsync
Mono<Void> deleteAsync(String resourceGroupName, String networkManagerName, String configurationName, String ruleCollectionName, String ruleName) Deletes a routing rule.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.networkManagerName- The name of the network manager.configurationName- The name of the network manager Routing Configuration.ruleCollectionName- The name of the network manager routing Configuration rule collection.ruleName- The name of the rule.- Returns:
- A
Monothat completes when a successful response is received. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
delete
void delete(String resourceGroupName, String networkManagerName, String configurationName, String ruleCollectionName, String ruleName) Deletes a routing rule.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.networkManagerName- The name of the network manager.configurationName- The name of the network manager Routing Configuration.ruleCollectionName- The name of the network manager routing Configuration rule collection.ruleName- The name of the rule.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
delete
void delete(String resourceGroupName, String networkManagerName, String configurationName, String ruleCollectionName, String ruleName, Boolean force, com.azure.core.util.Context context) Deletes a routing rule.- Parameters:
resourceGroupName- The name of the resource group. The name is case insensitive.networkManagerName- The name of the network manager.configurationName- The name of the network manager Routing Configuration.ruleCollectionName- The name of the network manager routing Configuration rule collection.ruleName- The name of the rule.force- Deletes the resource even if it is part of a deployed configuration. If the configuration has been deployed, the service will do a cleanup deployment in the background, prior to the delete.context- The context to associate with this operation.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-