Interface RouteFilterRulesClient
public interface RouteFilterRulesClient
An instance of this class provides access to all the operations defined in RouteFilterRulesClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<RouteFilterRuleInner>, RouteFilterRuleInner> beginCreateOrUpdate(String resourceGroupName, String routeFilterName, String ruleName, RouteFilterRuleInner routeFilterRuleParameters) Creates or updates a route in the specified route filter.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<RouteFilterRuleInner>, RouteFilterRuleInner> beginCreateOrUpdate(String resourceGroupName, String routeFilterName, String ruleName, RouteFilterRuleInner routeFilterRuleParameters, com.azure.core.util.Context context) Creates or updates a route in the specified route filter.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<RouteFilterRuleInner>, RouteFilterRuleInner> beginCreateOrUpdateAsync(String resourceGroupName, String routeFilterName, String ruleName, RouteFilterRuleInner routeFilterRuleParameters) Creates or updates a route in the specified route filter.beginDelete(String resourceGroupName, String routeFilterName, String ruleName) Deletes the specified rule from a route filter.beginDelete(String resourceGroupName, String routeFilterName, String ruleName, com.azure.core.util.Context context) Deletes the specified rule from a route filter.beginDeleteAsync(String resourceGroupName, String routeFilterName, String ruleName) Deletes the specified rule from a route filter.createOrUpdate(String resourceGroupName, String routeFilterName, String ruleName, RouteFilterRuleInner routeFilterRuleParameters) Creates or updates a route in the specified route filter.createOrUpdate(String resourceGroupName, String routeFilterName, String ruleName, RouteFilterRuleInner routeFilterRuleParameters, com.azure.core.util.Context context) Creates or updates a route in the specified route filter.createOrUpdateAsync(String resourceGroupName, String routeFilterName, String ruleName, RouteFilterRuleInner routeFilterRuleParameters) Creates or updates a route in the specified route filter.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String routeFilterName, String ruleName, RouteFilterRuleInner routeFilterRuleParameters) Creates or updates a route in the specified route filter.voidDeletes the specified rule from a route filter.voiddelete(String resourceGroupName, String routeFilterName, String ruleName, com.azure.core.util.Context context) Deletes the specified rule from a route filter.deleteAsync(String resourceGroupName, String routeFilterName, String ruleName) Deletes the specified rule from a route filter.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String routeFilterName, String ruleName) Deletes the specified rule from a route filter.Gets the specified rule from a route filter.Gets the specified rule from a route filter.com.azure.core.http.rest.Response<RouteFilterRuleInner> getWithResponse(String resourceGroupName, String routeFilterName, String ruleName, com.azure.core.util.Context context) Gets the specified rule from a route filter.Mono<com.azure.core.http.rest.Response<RouteFilterRuleInner>> getWithResponseAsync(String resourceGroupName, String routeFilterName, String ruleName) Gets the specified rule from a route filter.com.azure.core.http.rest.PagedIterable<RouteFilterRuleInner> listByRouteFilter(String resourceGroupName, String routeFilterName) Gets all RouteFilterRules in a route filter.com.azure.core.http.rest.PagedIterable<RouteFilterRuleInner> listByRouteFilter(String resourceGroupName, String routeFilterName, com.azure.core.util.Context context) Gets all RouteFilterRules in a route filter.com.azure.core.http.rest.PagedFlux<RouteFilterRuleInner> listByRouteFilterAsync(String resourceGroupName, String routeFilterName) Gets all RouteFilterRules in a route filter.
-
Method Details
-
deleteWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String routeFilterName, String ruleName) Deletes the specified rule from a route filter.- Parameters:
resourceGroupName- The name of the resource group.routeFilterName- The name of the route filter.ruleName- The name of the rule.- 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 routeFilterName, String ruleName) Deletes the specified rule from a route filter.- Parameters:
resourceGroupName- The name of the resource group.routeFilterName- The name of the route filter.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 routeFilterName, String ruleName) Deletes the specified rule from a route filter.- Parameters:
resourceGroupName- The name of the resource group.routeFilterName- The name of the route filter.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 routeFilterName, String ruleName, com.azure.core.util.Context context) Deletes the specified rule from a route filter.- Parameters:
resourceGroupName- The name of the resource group.routeFilterName- The name of the route filter.ruleName- The name of the rule.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
Deletes the specified rule from a route filter.- Parameters:
resourceGroupName- The name of the resource group.routeFilterName- The name of the route filter.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
Deletes the specified rule from a route filter.- Parameters:
resourceGroupName- The name of the resource group.routeFilterName- The name of the route filter.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 routeFilterName, String ruleName, com.azure.core.util.Context context) Deletes the specified rule from a route filter.- Parameters:
resourceGroupName- The name of the resource group.routeFilterName- The name of the route filter.ruleName- The name of the rule.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.
-
getWithResponseAsync
Mono<com.azure.core.http.rest.Response<RouteFilterRuleInner>> getWithResponseAsync(String resourceGroupName, String routeFilterName, String ruleName) Gets the specified rule from a route filter.- Parameters:
resourceGroupName- The name of the resource group.routeFilterName- The name of the route filter.ruleName- The name of the rule.- Returns:
- the specified rule from a route filter 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<RouteFilterRuleInner> getAsync(String resourceGroupName, String routeFilterName, String ruleName) Gets the specified rule from a route filter.- Parameters:
resourceGroupName- The name of the resource group.routeFilterName- The name of the route filter.ruleName- The name of the rule.- Returns:
- the specified rule from a route filter 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<RouteFilterRuleInner> getWithResponse(String resourceGroupName, String routeFilterName, String ruleName, com.azure.core.util.Context context) Gets the specified rule from a route filter.- Parameters:
resourceGroupName- The name of the resource group.routeFilterName- The name of the route filter.ruleName- The name of the rule.context- The context to associate with this operation.- Returns:
- the specified rule from a route filter 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
Gets the specified rule from a route filter.- Parameters:
resourceGroupName- The name of the resource group.routeFilterName- The name of the route filter.ruleName- The name of the rule.- Returns:
- the specified rule from a route filter.
- 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<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String routeFilterName, String ruleName, RouteFilterRuleInner routeFilterRuleParameters) Creates or updates a route in the specified route filter.- Parameters:
resourceGroupName- The name of the resource group.routeFilterName- The name of the route filter.ruleName- The name of the route filter rule.routeFilterRuleParameters- Parameters supplied to the create or update route filter rule operation.- Returns:
- route Filter Rule Resource 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.
-
beginCreateOrUpdateAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<RouteFilterRuleInner>, RouteFilterRuleInner> beginCreateOrUpdateAsync(String resourceGroupName, String routeFilterName, String ruleName, RouteFilterRuleInner routeFilterRuleParameters) Creates or updates a route in the specified route filter.- Parameters:
resourceGroupName- The name of the resource group.routeFilterName- The name of the route filter.ruleName- The name of the route filter rule.routeFilterRuleParameters- Parameters supplied to the create or update route filter rule operation.- Returns:
- the
PollerFluxfor polling of route Filter Rule Resource. - 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.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<RouteFilterRuleInner>, RouteFilterRuleInner> beginCreateOrUpdate(String resourceGroupName, String routeFilterName, String ruleName, RouteFilterRuleInner routeFilterRuleParameters) Creates or updates a route in the specified route filter.- Parameters:
resourceGroupName- The name of the resource group.routeFilterName- The name of the route filter.ruleName- The name of the route filter rule.routeFilterRuleParameters- Parameters supplied to the create or update route filter rule operation.- Returns:
- the
SyncPollerfor polling of route Filter Rule Resource. - 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.
-
beginCreateOrUpdate
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<RouteFilterRuleInner>, RouteFilterRuleInner> beginCreateOrUpdate(String resourceGroupName, String routeFilterName, String ruleName, RouteFilterRuleInner routeFilterRuleParameters, com.azure.core.util.Context context) Creates or updates a route in the specified route filter.- Parameters:
resourceGroupName- The name of the resource group.routeFilterName- The name of the route filter.ruleName- The name of the route filter rule.routeFilterRuleParameters- Parameters supplied to the create or update route filter rule operation.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of route Filter Rule Resource. - 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<RouteFilterRuleInner> createOrUpdateAsync(String resourceGroupName, String routeFilterName, String ruleName, RouteFilterRuleInner routeFilterRuleParameters) Creates or updates a route in the specified route filter.- Parameters:
resourceGroupName- The name of the resource group.routeFilterName- The name of the route filter.ruleName- The name of the route filter rule.routeFilterRuleParameters- Parameters supplied to the create or update route filter rule operation.- Returns:
- route Filter Rule Resource 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.
-
createOrUpdate
RouteFilterRuleInner createOrUpdate(String resourceGroupName, String routeFilterName, String ruleName, RouteFilterRuleInner routeFilterRuleParameters) Creates or updates a route in the specified route filter.- Parameters:
resourceGroupName- The name of the resource group.routeFilterName- The name of the route filter.ruleName- The name of the route filter rule.routeFilterRuleParameters- Parameters supplied to the create or update route filter rule operation.- Returns:
- route Filter Rule Resource.
- 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
RouteFilterRuleInner createOrUpdate(String resourceGroupName, String routeFilterName, String ruleName, RouteFilterRuleInner routeFilterRuleParameters, com.azure.core.util.Context context) Creates or updates a route in the specified route filter.- Parameters:
resourceGroupName- The name of the resource group.routeFilterName- The name of the route filter.ruleName- The name of the route filter rule.routeFilterRuleParameters- Parameters supplied to the create or update route filter rule operation.context- The context to associate with this operation.- Returns:
- route Filter Rule Resource.
- 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.
-
listByRouteFilterAsync
com.azure.core.http.rest.PagedFlux<RouteFilterRuleInner> listByRouteFilterAsync(String resourceGroupName, String routeFilterName) Gets all RouteFilterRules in a route filter.- Parameters:
resourceGroupName- The name of the resource group.routeFilterName- The name of the route filter.- Returns:
- all RouteFilterRules in a route filter 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.
-
listByRouteFilter
com.azure.core.http.rest.PagedIterable<RouteFilterRuleInner> listByRouteFilter(String resourceGroupName, String routeFilterName) Gets all RouteFilterRules in a route filter.- Parameters:
resourceGroupName- The name of the resource group.routeFilterName- The name of the route filter.- Returns:
- all RouteFilterRules in a route filter 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.
-
listByRouteFilter
com.azure.core.http.rest.PagedIterable<RouteFilterRuleInner> listByRouteFilter(String resourceGroupName, String routeFilterName, com.azure.core.util.Context context) Gets all RouteFilterRules in a route filter.- Parameters:
resourceGroupName- The name of the resource group.routeFilterName- The name of the route filter.context- The context to associate with this operation.- Returns:
- all RouteFilterRules in a route filter 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.
-