Interface RouteFiltersClient
-
- All Superinterfaces:
InnerSupportsDelete<Void>,InnerSupportsGet<RouteFilterInner>,InnerSupportsListing<RouteFilterInner>
public interface RouteFiltersClient extends InnerSupportsGet<RouteFilterInner>, InnerSupportsListing<RouteFilterInner>, InnerSupportsDelete<Void>
An instance of this class provides access to all the operations defined in RouteFiltersClient.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<RouteFilterInner>,RouteFilterInner>beginCreateOrUpdate(String resourceGroupName, String routeFilterName, RouteFilterInner routeFilterParameters)Creates or updates a route filter in a specified resource group.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<RouteFilterInner>,RouteFilterInner>beginCreateOrUpdate(String resourceGroupName, String routeFilterName, RouteFilterInner routeFilterParameters, com.azure.core.util.Context context)Creates or updates a route filter in a specified resource group.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<RouteFilterInner>,RouteFilterInner>beginCreateOrUpdateAsync(String resourceGroupName, String routeFilterName, RouteFilterInner routeFilterParameters)Creates or updates a route filter in a specified resource group.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void>beginDelete(String resourceGroupName, String routeFilterName)Deletes the specified route filter.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void>beginDelete(String resourceGroupName, String routeFilterName, com.azure.core.util.Context context)Deletes the specified route filter.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void>beginDeleteAsync(String resourceGroupName, String routeFilterName)Deletes the specified route filter.RouteFilterInnercreateOrUpdate(String resourceGroupName, String routeFilterName, RouteFilterInner routeFilterParameters)Creates or updates a route filter in a specified resource group.RouteFilterInnercreateOrUpdate(String resourceGroupName, String routeFilterName, RouteFilterInner routeFilterParameters, com.azure.core.util.Context context)Creates or updates a route filter in a specified resource group.Mono<RouteFilterInner>createOrUpdateAsync(String resourceGroupName, String routeFilterName, RouteFilterInner routeFilterParameters)Creates or updates a route filter in a specified resource group.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>>createOrUpdateWithResponseAsync(String resourceGroupName, String routeFilterName, RouteFilterInner routeFilterParameters)Creates or updates a route filter in a specified resource group.voiddelete(String resourceGroupName, String routeFilterName)Deletes the specified route filter.voiddelete(String resourceGroupName, String routeFilterName, com.azure.core.util.Context context)Deletes the specified route filter.Mono<Void>deleteAsync(String resourceGroupName, String routeFilterName)Deletes the specified route filter.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>>deleteWithResponseAsync(String resourceGroupName, String routeFilterName)Deletes the specified route filter.RouteFilterInnergetByResourceGroup(String resourceGroupName, String routeFilterName)Gets the specified route filter.Mono<RouteFilterInner>getByResourceGroupAsync(String resourceGroupName, String routeFilterName)Gets the specified route filter.Mono<RouteFilterInner>getByResourceGroupAsync(String resourceGroupName, String routeFilterName, String expand)Gets the specified route filter.com.azure.core.http.rest.Response<RouteFilterInner>getByResourceGroupWithResponse(String resourceGroupName, String routeFilterName, String expand, com.azure.core.util.Context context)Gets the specified route filter.Mono<com.azure.core.http.rest.Response<RouteFilterInner>>getByResourceGroupWithResponseAsync(String resourceGroupName, String routeFilterName, String expand)Gets the specified route filter.com.azure.core.http.rest.PagedIterable<RouteFilterInner>list()Gets all route filters in a subscription.com.azure.core.http.rest.PagedIterable<RouteFilterInner>list(com.azure.core.util.Context context)Gets all route filters in a subscription.com.azure.core.http.rest.PagedFlux<RouteFilterInner>listAsync()Gets all route filters in a subscription.com.azure.core.http.rest.PagedIterable<RouteFilterInner>listByResourceGroup(String resourceGroupName)Gets all route filters in a resource group.com.azure.core.http.rest.PagedIterable<RouteFilterInner>listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context)Gets all route filters in a resource group.com.azure.core.http.rest.PagedFlux<RouteFilterInner>listByResourceGroupAsync(String resourceGroupName)Gets all route filters in a resource group.RouteFilterInnerupdateTags(String resourceGroupName, String routeFilterName, TagsObject parameters)Updates tags of a route filter.Mono<RouteFilterInner>updateTagsAsync(String resourceGroupName, String routeFilterName, TagsObject parameters)Updates tags of a route filter.com.azure.core.http.rest.Response<RouteFilterInner>updateTagsWithResponse(String resourceGroupName, String routeFilterName, TagsObject parameters, com.azure.core.util.Context context)Updates tags of a route filter.Mono<com.azure.core.http.rest.Response<RouteFilterInner>>updateTagsWithResponseAsync(String resourceGroupName, String routeFilterName, TagsObject parameters)Updates tags of a route filter.
-
-
-
Method Detail
-
deleteWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String routeFilterName)
Deletes the specified route filter.- Parameters:
resourceGroupName- The name of the resource group.routeFilterName- The name of the route filter.- 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)
Deletes the specified route filter.- Parameters:
resourceGroupName- The name of the resource group.routeFilterName- The name of the route filter.- 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)
Deletes the specified route filter.- Parameters:
resourceGroupName- The name of the resource group.routeFilterName- The name of the route filter.- 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, com.azure.core.util.Context context)
Deletes the specified 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:
- 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 routeFilterName)
Deletes the specified route filter.- Specified by:
deleteAsyncin interfaceInnerSupportsDelete<Void>- Parameters:
resourceGroupName- The name of the resource group.routeFilterName- The name of the route filter.- 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 routeFilterName)
Deletes the specified route filter.- Parameters:
resourceGroupName- The name of the resource group.routeFilterName- The name of the 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.
-
delete
void delete(String resourceGroupName, String routeFilterName, com.azure.core.util.Context context)
Deletes the specified 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.- 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.
-
getByResourceGroupWithResponseAsync
Mono<com.azure.core.http.rest.Response<RouteFilterInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String routeFilterName, String expand)
Gets the specified route filter.- Parameters:
resourceGroupName- The name of the resource group.routeFilterName- The name of the route filter.expand- Expands referenced express route bgp peering resources.- Returns:
- the specified 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.
-
getByResourceGroupAsync
Mono<RouteFilterInner> getByResourceGroupAsync(String resourceGroupName, String routeFilterName, String expand)
Gets the specified route filter.- Parameters:
resourceGroupName- The name of the resource group.routeFilterName- The name of the route filter.expand- Expands referenced express route bgp peering resources.- Returns:
- the specified 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.
-
getByResourceGroupAsync
Mono<RouteFilterInner> getByResourceGroupAsync(String resourceGroupName, String routeFilterName)
Gets the specified route filter.- Specified by:
getByResourceGroupAsyncin interfaceInnerSupportsGet<RouteFilterInner>- Parameters:
resourceGroupName- The name of the resource group.routeFilterName- The name of the route filter.- Returns:
- the specified 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.
-
getByResourceGroup
RouteFilterInner getByResourceGroup(String resourceGroupName, String routeFilterName)
Gets the specified route filter.- Specified by:
getByResourceGroupin interfaceInnerSupportsGet<RouteFilterInner>- Parameters:
resourceGroupName- The name of the resource group.routeFilterName- The name of the route filter.- Returns:
- the specified 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.
-
getByResourceGroupWithResponse
com.azure.core.http.rest.Response<RouteFilterInner> getByResourceGroupWithResponse(String resourceGroupName, String routeFilterName, String expand, com.azure.core.util.Context context)
Gets the specified route filter.- Parameters:
resourceGroupName- The name of the resource group.routeFilterName- The name of the route filter.expand- Expands referenced express route bgp peering resources.context- The context to associate with this operation.- Returns:
- the specified 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.
-
createOrUpdateWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String routeFilterName, RouteFilterInner routeFilterParameters)
Creates or updates a route filter in a specified resource group.- Parameters:
resourceGroupName- The name of the resource group.routeFilterName- The name of the route filter.routeFilterParameters- Parameters supplied to the create or update route filter operation.- Returns:
- route Filter 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<RouteFilterInner>,RouteFilterInner> beginCreateOrUpdateAsync(String resourceGroupName, String routeFilterName, RouteFilterInner routeFilterParameters)
Creates or updates a route filter in a specified resource group.- Parameters:
resourceGroupName- The name of the resource group.routeFilterName- The name of the route filter.routeFilterParameters- Parameters supplied to the create or update route filter operation.- Returns:
- the
PollerFluxfor polling of route Filter 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<RouteFilterInner>,RouteFilterInner> beginCreateOrUpdate(String resourceGroupName, String routeFilterName, RouteFilterInner routeFilterParameters)
Creates or updates a route filter in a specified resource group.- Parameters:
resourceGroupName- The name of the resource group.routeFilterName- The name of the route filter.routeFilterParameters- Parameters supplied to the create or update route filter operation.- Returns:
- the
SyncPollerfor polling of route Filter 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<RouteFilterInner>,RouteFilterInner> beginCreateOrUpdate(String resourceGroupName, String routeFilterName, RouteFilterInner routeFilterParameters, com.azure.core.util.Context context)
Creates or updates a route filter in a specified resource group.- Parameters:
resourceGroupName- The name of the resource group.routeFilterName- The name of the route filter.routeFilterParameters- Parameters supplied to the create or update route filter operation.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of route Filter 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<RouteFilterInner> createOrUpdateAsync(String resourceGroupName, String routeFilterName, RouteFilterInner routeFilterParameters)
Creates or updates a route filter in a specified resource group.- Parameters:
resourceGroupName- The name of the resource group.routeFilterName- The name of the route filter.routeFilterParameters- Parameters supplied to the create or update route filter operation.- Returns:
- route Filter 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
RouteFilterInner createOrUpdate(String resourceGroupName, String routeFilterName, RouteFilterInner routeFilterParameters)
Creates or updates a route filter in a specified resource group.- Parameters:
resourceGroupName- The name of the resource group.routeFilterName- The name of the route filter.routeFilterParameters- Parameters supplied to the create or update route filter operation.- Returns:
- route Filter 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
RouteFilterInner createOrUpdate(String resourceGroupName, String routeFilterName, RouteFilterInner routeFilterParameters, com.azure.core.util.Context context)
Creates or updates a route filter in a specified resource group.- Parameters:
resourceGroupName- The name of the resource group.routeFilterName- The name of the route filter.routeFilterParameters- Parameters supplied to the create or update route filter operation.context- The context to associate with this operation.- Returns:
- route Filter 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.
-
updateTagsWithResponseAsync
Mono<com.azure.core.http.rest.Response<RouteFilterInner>> updateTagsWithResponseAsync(String resourceGroupName, String routeFilterName, TagsObject parameters)
Updates tags of a route filter.- Parameters:
resourceGroupName- The name of the resource group.routeFilterName- The name of the route filter.parameters- Parameters supplied to update route filter tags.- Returns:
- route Filter 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.
-
updateTagsAsync
Mono<RouteFilterInner> updateTagsAsync(String resourceGroupName, String routeFilterName, TagsObject parameters)
Updates tags of a route filter.- Parameters:
resourceGroupName- The name of the resource group.routeFilterName- The name of the route filter.parameters- Parameters supplied to update route filter tags.- Returns:
- route Filter 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.
-
updateTags
RouteFilterInner updateTags(String resourceGroupName, String routeFilterName, TagsObject parameters)
Updates tags of a route filter.- Parameters:
resourceGroupName- The name of the resource group.routeFilterName- The name of the route filter.parameters- Parameters supplied to update route filter tags.- Returns:
- route Filter 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.
-
updateTagsWithResponse
com.azure.core.http.rest.Response<RouteFilterInner> updateTagsWithResponse(String resourceGroupName, String routeFilterName, TagsObject parameters, com.azure.core.util.Context context)
Updates tags of a route filter.- Parameters:
resourceGroupName- The name of the resource group.routeFilterName- The name of the route filter.parameters- Parameters supplied to update route filter tags.context- The context to associate with this operation.- Returns:
- route Filter Resource 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.
-
listByResourceGroupAsync
com.azure.core.http.rest.PagedFlux<RouteFilterInner> listByResourceGroupAsync(String resourceGroupName)
Gets all route filters in a resource group.- Specified by:
listByResourceGroupAsyncin interfaceInnerSupportsListing<RouteFilterInner>- Parameters:
resourceGroupName- The name of the resource group.- Returns:
- all route filters in a resource group 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.
-
listByResourceGroup
com.azure.core.http.rest.PagedIterable<RouteFilterInner> listByResourceGroup(String resourceGroupName)
Gets all route filters in a resource group.- Specified by:
listByResourceGroupin interfaceInnerSupportsListing<RouteFilterInner>- Parameters:
resourceGroupName- The name of the resource group.- Returns:
- all route filters in a resource group 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.
-
listByResourceGroup
com.azure.core.http.rest.PagedIterable<RouteFilterInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context)
Gets all route filters in a resource group.- Parameters:
resourceGroupName- The name of the resource group.context- The context to associate with this operation.- Returns:
- all route filters in a resource group 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.
-
listAsync
com.azure.core.http.rest.PagedFlux<RouteFilterInner> listAsync()
Gets all route filters in a subscription.- Specified by:
listAsyncin interfaceInnerSupportsListing<RouteFilterInner>- Returns:
- all route filters in a subscription as paginated response with
PagedFlux. - Throws:
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<RouteFilterInner> list()
Gets all route filters in a subscription.- Specified by:
listin interfaceInnerSupportsListing<RouteFilterInner>- Returns:
- all route filters in a subscription as paginated response with
PagedIterable. - Throws:
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<RouteFilterInner> list(com.azure.core.util.Context context)
Gets all route filters in a subscription.- Parameters:
context- The context to associate with this operation.- Returns:
- all route filters in a subscription 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.
-
-