public interface VirtualRoutersClient extends InnerSupportsGet<VirtualRouterInner>, InnerSupportsListing<VirtualRouterInner>, InnerSupportsDelete<Void>
| Modifier and Type | Method and Description |
|---|---|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VirtualRouterInner>,VirtualRouterInner> |
beginCreateOrUpdate(String resourceGroupName,
String virtualRouterName,
VirtualRouterInner parameters)
Creates or updates the specified Virtual Router.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VirtualRouterInner>,VirtualRouterInner> |
beginCreateOrUpdate(String resourceGroupName,
String virtualRouterName,
VirtualRouterInner parameters,
com.azure.core.util.Context context)
Creates or updates the specified Virtual Router.
|
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<VirtualRouterInner>,VirtualRouterInner> |
beginCreateOrUpdateAsync(String resourceGroupName,
String virtualRouterName,
VirtualRouterInner parameters)
Creates or updates the specified Virtual Router.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginDelete(String resourceGroupName,
String virtualRouterName)
Deletes the specified Virtual Router.
|
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> |
beginDelete(String resourceGroupName,
String virtualRouterName,
com.azure.core.util.Context context)
Deletes the specified Virtual Router.
|
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> |
beginDeleteAsync(String resourceGroupName,
String virtualRouterName)
Deletes the specified Virtual Router.
|
VirtualRouterInner |
createOrUpdate(String resourceGroupName,
String virtualRouterName,
VirtualRouterInner parameters)
Creates or updates the specified Virtual Router.
|
VirtualRouterInner |
createOrUpdate(String resourceGroupName,
String virtualRouterName,
VirtualRouterInner parameters,
com.azure.core.util.Context context)
Creates or updates the specified Virtual Router.
|
Mono<VirtualRouterInner> |
createOrUpdateAsync(String resourceGroupName,
String virtualRouterName,
VirtualRouterInner parameters)
Creates or updates the specified Virtual Router.
|
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> |
createOrUpdateWithResponseAsync(String resourceGroupName,
String virtualRouterName,
VirtualRouterInner parameters)
Creates or updates the specified Virtual Router.
|
void |
delete(String resourceGroupName,
String virtualRouterName)
Deletes the specified Virtual Router.
|
void |
delete(String resourceGroupName,
String virtualRouterName,
com.azure.core.util.Context context)
Deletes the specified Virtual Router.
|
Mono<Void> |
deleteAsync(String resourceGroupName,
String virtualRouterName)
Deletes the specified Virtual Router.
|
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> |
deleteWithResponseAsync(String resourceGroupName,
String virtualRouterName)
Deletes the specified Virtual Router.
|
VirtualRouterInner |
getByResourceGroup(String resourceGroupName,
String virtualRouterName)
Gets the specified Virtual Router.
|
Mono<VirtualRouterInner> |
getByResourceGroupAsync(String resourceGroupName,
String virtualRouterName)
Gets the specified Virtual Router.
|
Mono<VirtualRouterInner> |
getByResourceGroupAsync(String resourceGroupName,
String virtualRouterName,
String expand)
Gets the specified Virtual Router.
|
com.azure.core.http.rest.Response<VirtualRouterInner> |
getByResourceGroupWithResponse(String resourceGroupName,
String virtualRouterName,
String expand,
com.azure.core.util.Context context)
Gets the specified Virtual Router.
|
Mono<com.azure.core.http.rest.Response<VirtualRouterInner>> |
getByResourceGroupWithResponseAsync(String resourceGroupName,
String virtualRouterName,
String expand)
Gets the specified Virtual Router.
|
com.azure.core.http.rest.PagedIterable<VirtualRouterInner> |
list()
Gets all the Virtual Routers in a subscription.
|
com.azure.core.http.rest.PagedIterable<VirtualRouterInner> |
list(com.azure.core.util.Context context)
Gets all the Virtual Routers in a subscription.
|
com.azure.core.http.rest.PagedFlux<VirtualRouterInner> |
listAsync()
Gets all the Virtual Routers in a subscription.
|
com.azure.core.http.rest.PagedIterable<VirtualRouterInner> |
listByResourceGroup(String resourceGroupName)
Lists all Virtual Routers in a resource group.
|
com.azure.core.http.rest.PagedIterable<VirtualRouterInner> |
listByResourceGroup(String resourceGroupName,
com.azure.core.util.Context context)
Lists all Virtual Routers in a resource group.
|
com.azure.core.http.rest.PagedFlux<VirtualRouterInner> |
listByResourceGroupAsync(String resourceGroupName)
Lists all Virtual Routers in a resource group.
|
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String virtualRouterName)
resourceGroupName - The name of the resource group.virtualRouterName - The name of the Virtual Router.IllegalArgumentException - thrown if parameters fail the validation.ErrorException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginDeleteAsync(String resourceGroupName, String virtualRouterName)
resourceGroupName - The name of the resource group.virtualRouterName - The name of the Virtual Router.IllegalArgumentException - thrown if parameters fail the validation.ErrorException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String virtualRouterName)
resourceGroupName - The name of the resource group.virtualRouterName - The name of the Virtual Router.IllegalArgumentException - thrown if parameters fail the validation.ErrorException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDelete(String resourceGroupName, String virtualRouterName, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group.virtualRouterName - The name of the Virtual Router.context - The context to associate with this operation.IllegalArgumentException - thrown if parameters fail the validation.ErrorException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.Mono<Void> deleteAsync(String resourceGroupName, String virtualRouterName)
deleteAsync in interface InnerSupportsDelete<Void>resourceGroupName - The name of the resource group.virtualRouterName - The name of the Virtual Router.IllegalArgumentException - thrown if parameters fail the validation.ErrorException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.void delete(String resourceGroupName, String virtualRouterName)
resourceGroupName - The name of the resource group.virtualRouterName - The name of the Virtual Router.IllegalArgumentException - thrown if parameters fail the validation.ErrorException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.void delete(String resourceGroupName, String virtualRouterName, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group.virtualRouterName - The name of the Virtual Router.context - The context to associate with this operation.IllegalArgumentException - thrown if parameters fail the validation.ErrorException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.Mono<com.azure.core.http.rest.Response<VirtualRouterInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String virtualRouterName, String expand)
resourceGroupName - The name of the resource group.virtualRouterName - The name of the Virtual Router.expand - Expands referenced resources.IllegalArgumentException - thrown if parameters fail the validation.ErrorException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.Mono<VirtualRouterInner> getByResourceGroupAsync(String resourceGroupName, String virtualRouterName, String expand)
resourceGroupName - The name of the resource group.virtualRouterName - The name of the Virtual Router.expand - Expands referenced resources.IllegalArgumentException - thrown if parameters fail the validation.ErrorException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.Mono<VirtualRouterInner> getByResourceGroupAsync(String resourceGroupName, String virtualRouterName)
getByResourceGroupAsync in interface InnerSupportsGet<VirtualRouterInner>resourceGroupName - The name of the resource group.virtualRouterName - The name of the Virtual Router.IllegalArgumentException - thrown if parameters fail the validation.ErrorException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.VirtualRouterInner getByResourceGroup(String resourceGroupName, String virtualRouterName)
getByResourceGroup in interface InnerSupportsGet<VirtualRouterInner>resourceGroupName - The name of the resource group.virtualRouterName - The name of the Virtual Router.IllegalArgumentException - thrown if parameters fail the validation.ErrorException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.Response<VirtualRouterInner> getByResourceGroupWithResponse(String resourceGroupName, String virtualRouterName, String expand, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group.virtualRouterName - The name of the Virtual Router.expand - Expands referenced resources.context - The context to associate with this operation.IllegalArgumentException - thrown if parameters fail the validation.ErrorException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String virtualRouterName, VirtualRouterInner parameters)
resourceGroupName - The name of the resource group.virtualRouterName - The name of the Virtual Router.parameters - Parameters supplied to the create or update Virtual Router.IllegalArgumentException - thrown if parameters fail the validation.ErrorException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<VirtualRouterInner>,VirtualRouterInner> beginCreateOrUpdateAsync(String resourceGroupName, String virtualRouterName, VirtualRouterInner parameters)
resourceGroupName - The name of the resource group.virtualRouterName - The name of the Virtual Router.parameters - Parameters supplied to the create or update Virtual Router.IllegalArgumentException - thrown if parameters fail the validation.ErrorException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VirtualRouterInner>,VirtualRouterInner> beginCreateOrUpdate(String resourceGroupName, String virtualRouterName, VirtualRouterInner parameters)
resourceGroupName - The name of the resource group.virtualRouterName - The name of the Virtual Router.parameters - Parameters supplied to the create or update Virtual Router.IllegalArgumentException - thrown if parameters fail the validation.ErrorException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VirtualRouterInner>,VirtualRouterInner> beginCreateOrUpdate(String resourceGroupName, String virtualRouterName, VirtualRouterInner parameters, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group.virtualRouterName - The name of the Virtual Router.parameters - Parameters supplied to the create or update Virtual Router.context - The context to associate with this operation.IllegalArgumentException - thrown if parameters fail the validation.ErrorException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.Mono<VirtualRouterInner> createOrUpdateAsync(String resourceGroupName, String virtualRouterName, VirtualRouterInner parameters)
resourceGroupName - The name of the resource group.virtualRouterName - The name of the Virtual Router.parameters - Parameters supplied to the create or update Virtual Router.IllegalArgumentException - thrown if parameters fail the validation.ErrorException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.VirtualRouterInner createOrUpdate(String resourceGroupName, String virtualRouterName, VirtualRouterInner parameters)
resourceGroupName - The name of the resource group.virtualRouterName - The name of the Virtual Router.parameters - Parameters supplied to the create or update Virtual Router.IllegalArgumentException - thrown if parameters fail the validation.ErrorException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.VirtualRouterInner createOrUpdate(String resourceGroupName, String virtualRouterName, VirtualRouterInner parameters, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group.virtualRouterName - The name of the Virtual Router.parameters - Parameters supplied to the create or update Virtual Router.context - The context to associate with this operation.IllegalArgumentException - thrown if parameters fail the validation.ErrorException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.PagedFlux<VirtualRouterInner> listByResourceGroupAsync(String resourceGroupName)
listByResourceGroupAsync in interface InnerSupportsListing<VirtualRouterInner>resourceGroupName - The name of the resource group.IllegalArgumentException - thrown if parameters fail the validation.ErrorException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.PagedIterable<VirtualRouterInner> listByResourceGroup(String resourceGroupName)
listByResourceGroup in interface InnerSupportsListing<VirtualRouterInner>resourceGroupName - The name of the resource group.IllegalArgumentException - thrown if parameters fail the validation.ErrorException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.PagedIterable<VirtualRouterInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context)
resourceGroupName - The name of the resource group.context - The context to associate with this operation.IllegalArgumentException - thrown if parameters fail the validation.ErrorException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.PagedFlux<VirtualRouterInner> listAsync()
listAsync in interface InnerSupportsListing<VirtualRouterInner>ErrorException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.PagedIterable<VirtualRouterInner> list()
list in interface InnerSupportsListing<VirtualRouterInner>ErrorException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.com.azure.core.http.rest.PagedIterable<VirtualRouterInner> list(com.azure.core.util.Context context)
context - The context to associate with this operation.IllegalArgumentException - thrown if parameters fail the validation.ErrorException - thrown if the request is rejected by server.RuntimeException - all other wrapped checked exceptions if the request fails to be sent.Copyright © 2021 Microsoft Corporation. All rights reserved.