Interface VirtualWansClient
- All Superinterfaces:
InnerSupportsDelete<Void>,InnerSupportsGet<VirtualWanInner>,InnerSupportsListing<VirtualWanInner>
public interface VirtualWansClient
extends InnerSupportsGet<VirtualWanInner>, InnerSupportsListing<VirtualWanInner>, InnerSupportsDelete<Void>
An instance of this class provides access to all the operations defined in VirtualWansClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VirtualWanInner>, VirtualWanInner> beginCreateOrUpdate(String resourceGroupName, String virtualWanName, VirtualWanInner wanParameters) Creates a VirtualWAN resource if it doesn't exist else updates the existing VirtualWAN.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VirtualWanInner>, VirtualWanInner> beginCreateOrUpdate(String resourceGroupName, String virtualWanName, VirtualWanInner wanParameters, com.azure.core.util.Context context) Creates a VirtualWAN resource if it doesn't exist else updates the existing VirtualWAN.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<VirtualWanInner>, VirtualWanInner> beginCreateOrUpdateAsync(String resourceGroupName, String virtualWanName, VirtualWanInner wanParameters) Creates a VirtualWAN resource if it doesn't exist else updates the existing VirtualWAN.beginDelete(String resourceGroupName, String virtualWanName) Deletes a VirtualWAN.beginDelete(String resourceGroupName, String virtualWanName, com.azure.core.util.Context context) Deletes a VirtualWAN.beginDeleteAsync(String resourceGroupName, String virtualWanName) Deletes a VirtualWAN.createOrUpdate(String resourceGroupName, String virtualWanName, VirtualWanInner wanParameters) Creates a VirtualWAN resource if it doesn't exist else updates the existing VirtualWAN.createOrUpdate(String resourceGroupName, String virtualWanName, VirtualWanInner wanParameters, com.azure.core.util.Context context) Creates a VirtualWAN resource if it doesn't exist else updates the existing VirtualWAN.createOrUpdateAsync(String resourceGroupName, String virtualWanName, VirtualWanInner wanParameters) Creates a VirtualWAN resource if it doesn't exist else updates the existing VirtualWAN.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String virtualWanName, VirtualWanInner wanParameters) Creates a VirtualWAN resource if it doesn't exist else updates the existing VirtualWAN.voidDeletes a VirtualWAN.voidDeletes a VirtualWAN.deleteAsync(String resourceGroupName, String virtualWanName) Deletes a VirtualWAN.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String virtualWanName) Deletes a VirtualWAN.getByResourceGroup(String resourceGroupName, String virtualWanName) Retrieves the details of a VirtualWAN.getByResourceGroupAsync(String resourceGroupName, String virtualWanName) Retrieves the details of a VirtualWAN.com.azure.core.http.rest.Response<VirtualWanInner> getByResourceGroupWithResponse(String resourceGroupName, String virtualWanName, com.azure.core.util.Context context) Retrieves the details of a VirtualWAN.Mono<com.azure.core.http.rest.Response<VirtualWanInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String virtualWanName) Retrieves the details of a VirtualWAN.com.azure.core.http.rest.PagedIterable<VirtualWanInner> list()Lists all the VirtualWANs in a subscription.com.azure.core.http.rest.PagedIterable<VirtualWanInner> list(com.azure.core.util.Context context) Lists all the VirtualWANs in a subscription.com.azure.core.http.rest.PagedFlux<VirtualWanInner> Lists all the VirtualWANs in a subscription.com.azure.core.http.rest.PagedIterable<VirtualWanInner> listByResourceGroup(String resourceGroupName) Lists all the VirtualWANs in a resource group.com.azure.core.http.rest.PagedIterable<VirtualWanInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context) Lists all the VirtualWANs in a resource group.com.azure.core.http.rest.PagedFlux<VirtualWanInner> listByResourceGroupAsync(String resourceGroupName) Lists all the VirtualWANs in a resource group.updateTags(String resourceGroupName, String virtualWanName, TagsObject wanParameters) Updates a VirtualWAN tags.updateTagsAsync(String resourceGroupName, String virtualWanName, TagsObject wanParameters) Updates a VirtualWAN tags.com.azure.core.http.rest.Response<VirtualWanInner> updateTagsWithResponse(String resourceGroupName, String virtualWanName, TagsObject wanParameters, com.azure.core.util.Context context) Updates a VirtualWAN tags.Mono<com.azure.core.http.rest.Response<VirtualWanInner>> updateTagsWithResponseAsync(String resourceGroupName, String virtualWanName, TagsObject wanParameters) Updates a VirtualWAN tags.
-
Method Details
-
getByResourceGroupWithResponseAsync
Mono<com.azure.core.http.rest.Response<VirtualWanInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String virtualWanName) Retrieves the details of a VirtualWAN.- Parameters:
resourceGroupName- The resource group name of the VirtualWan.virtualWanName- The name of the VirtualWAN being retrieved.- Returns:
- virtualWAN 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.
-
getByResourceGroupAsync
Retrieves the details of a VirtualWAN.- Specified by:
getByResourceGroupAsyncin interfaceInnerSupportsGet<VirtualWanInner>- Parameters:
resourceGroupName- The resource group name of the VirtualWan.virtualWanName- The name of the VirtualWAN being retrieved.- Returns:
- virtualWAN 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.
-
getByResourceGroupWithResponse
com.azure.core.http.rest.Response<VirtualWanInner> getByResourceGroupWithResponse(String resourceGroupName, String virtualWanName, com.azure.core.util.Context context) Retrieves the details of a VirtualWAN.- Parameters:
resourceGroupName- The resource group name of the VirtualWan.virtualWanName- The name of the VirtualWAN being retrieved.context- The context to associate with this operation.- Returns:
- virtualWAN 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.
-
getByResourceGroup
Retrieves the details of a VirtualWAN.- Specified by:
getByResourceGroupin interfaceInnerSupportsGet<VirtualWanInner>- Parameters:
resourceGroupName- The resource group name of the VirtualWan.virtualWanName- The name of the VirtualWAN being retrieved.- Returns:
- virtualWAN 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.
-
createOrUpdateWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String virtualWanName, VirtualWanInner wanParameters) Creates a VirtualWAN resource if it doesn't exist else updates the existing VirtualWAN.- Parameters:
resourceGroupName- The resource group name of the VirtualWan.virtualWanName- The name of the VirtualWAN being created or updated.wanParameters- Parameters supplied to create or update VirtualWAN.- Returns:
- virtualWAN 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<VirtualWanInner>,VirtualWanInner> beginCreateOrUpdateAsync(String resourceGroupName, String virtualWanName, VirtualWanInner wanParameters) Creates a VirtualWAN resource if it doesn't exist else updates the existing VirtualWAN.- Parameters:
resourceGroupName- The resource group name of the VirtualWan.virtualWanName- The name of the VirtualWAN being created or updated.wanParameters- Parameters supplied to create or update VirtualWAN.- Returns:
- the
PollerFluxfor polling of virtualWAN 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<VirtualWanInner>,VirtualWanInner> beginCreateOrUpdate(String resourceGroupName, String virtualWanName, VirtualWanInner wanParameters) Creates a VirtualWAN resource if it doesn't exist else updates the existing VirtualWAN.- Parameters:
resourceGroupName- The resource group name of the VirtualWan.virtualWanName- The name of the VirtualWAN being created or updated.wanParameters- Parameters supplied to create or update VirtualWAN.- Returns:
- the
SyncPollerfor polling of virtualWAN 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<VirtualWanInner>,VirtualWanInner> beginCreateOrUpdate(String resourceGroupName, String virtualWanName, VirtualWanInner wanParameters, com.azure.core.util.Context context) Creates a VirtualWAN resource if it doesn't exist else updates the existing VirtualWAN.- Parameters:
resourceGroupName- The resource group name of the VirtualWan.virtualWanName- The name of the VirtualWAN being created or updated.wanParameters- Parameters supplied to create or update VirtualWAN.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of virtualWAN 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<VirtualWanInner> createOrUpdateAsync(String resourceGroupName, String virtualWanName, VirtualWanInner wanParameters) Creates a VirtualWAN resource if it doesn't exist else updates the existing VirtualWAN.- Parameters:
resourceGroupName- The resource group name of the VirtualWan.virtualWanName- The name of the VirtualWAN being created or updated.wanParameters- Parameters supplied to create or update VirtualWAN.- Returns:
- virtualWAN 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
VirtualWanInner createOrUpdate(String resourceGroupName, String virtualWanName, VirtualWanInner wanParameters) Creates a VirtualWAN resource if it doesn't exist else updates the existing VirtualWAN.- Parameters:
resourceGroupName- The resource group name of the VirtualWan.virtualWanName- The name of the VirtualWAN being created or updated.wanParameters- Parameters supplied to create or update VirtualWAN.- Returns:
- virtualWAN 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
VirtualWanInner createOrUpdate(String resourceGroupName, String virtualWanName, VirtualWanInner wanParameters, com.azure.core.util.Context context) Creates a VirtualWAN resource if it doesn't exist else updates the existing VirtualWAN.- Parameters:
resourceGroupName- The resource group name of the VirtualWan.virtualWanName- The name of the VirtualWAN being created or updated.wanParameters- Parameters supplied to create or update VirtualWAN.context- The context to associate with this operation.- Returns:
- virtualWAN 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<VirtualWanInner>> updateTagsWithResponseAsync(String resourceGroupName, String virtualWanName, TagsObject wanParameters) Updates a VirtualWAN tags.- Parameters:
resourceGroupName- The resource group name of the VirtualWan.virtualWanName- The name of the VirtualWAN being updated.wanParameters- Parameters supplied to Update VirtualWAN tags.- Returns:
- virtualWAN 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<VirtualWanInner> updateTagsAsync(String resourceGroupName, String virtualWanName, TagsObject wanParameters) Updates a VirtualWAN tags.- Parameters:
resourceGroupName- The resource group name of the VirtualWan.virtualWanName- The name of the VirtualWAN being updated.wanParameters- Parameters supplied to Update VirtualWAN tags.- Returns:
- virtualWAN 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.
-
updateTagsWithResponse
com.azure.core.http.rest.Response<VirtualWanInner> updateTagsWithResponse(String resourceGroupName, String virtualWanName, TagsObject wanParameters, com.azure.core.util.Context context) Updates a VirtualWAN tags.- Parameters:
resourceGroupName- The resource group name of the VirtualWan.virtualWanName- The name of the VirtualWAN being updated.wanParameters- Parameters supplied to Update VirtualWAN tags.context- The context to associate with this operation.- Returns:
- virtualWAN 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.
-
updateTags
VirtualWanInner updateTags(String resourceGroupName, String virtualWanName, TagsObject wanParameters) Updates a VirtualWAN tags.- Parameters:
resourceGroupName- The resource group name of the VirtualWan.virtualWanName- The name of the VirtualWAN being updated.wanParameters- Parameters supplied to Update VirtualWAN tags.- Returns:
- virtualWAN 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.
-
deleteWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String virtualWanName) Deletes a VirtualWAN.- Parameters:
resourceGroupName- The resource group name of the VirtualWan.virtualWanName- The name of the VirtualWAN being deleted.- 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 virtualWanName) Deletes a VirtualWAN.- Parameters:
resourceGroupName- The resource group name of the VirtualWan.virtualWanName- The name of the VirtualWAN being deleted.- 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 virtualWanName) Deletes a VirtualWAN.- Parameters:
resourceGroupName- The resource group name of the VirtualWan.virtualWanName- The name of the VirtualWAN being deleted.- 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 virtualWanName, com.azure.core.util.Context context) Deletes a VirtualWAN.- Parameters:
resourceGroupName- The resource group name of the VirtualWan.virtualWanName- The name of the VirtualWAN being deleted.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 a VirtualWAN.- Specified by:
deleteAsyncin interfaceInnerSupportsDelete<Void>- Parameters:
resourceGroupName- The resource group name of the VirtualWan.virtualWanName- The name of the VirtualWAN being deleted.- 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 a VirtualWAN.- Parameters:
resourceGroupName- The resource group name of the VirtualWan.virtualWanName- The name of the VirtualWAN being deleted.- 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 a VirtualWAN.- Parameters:
resourceGroupName- The resource group name of the VirtualWan.virtualWanName- The name of the VirtualWAN being deleted.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.
-
listByResourceGroupAsync
com.azure.core.http.rest.PagedFlux<VirtualWanInner> listByResourceGroupAsync(String resourceGroupName) Lists all the VirtualWANs in a resource group.- Specified by:
listByResourceGroupAsyncin interfaceInnerSupportsListing<VirtualWanInner>- Parameters:
resourceGroupName- The resource group name of the VirtualWan.- Returns:
- result of the request to list VirtualWANs 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<VirtualWanInner> listByResourceGroup(String resourceGroupName) Lists all the VirtualWANs in a resource group.- Specified by:
listByResourceGroupin interfaceInnerSupportsListing<VirtualWanInner>- Parameters:
resourceGroupName- The resource group name of the VirtualWan.- Returns:
- result of the request to list VirtualWANs 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<VirtualWanInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context) Lists all the VirtualWANs in a resource group.- Parameters:
resourceGroupName- The resource group name of the VirtualWan.context- The context to associate with this operation.- Returns:
- result of the request to list VirtualWANs 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<VirtualWanInner> listAsync()Lists all the VirtualWANs in a subscription.- Specified by:
listAsyncin interfaceInnerSupportsListing<VirtualWanInner>- Returns:
- result of the request to list VirtualWANs 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<VirtualWanInner> list()Lists all the VirtualWANs in a subscription.- Specified by:
listin interfaceInnerSupportsListing<VirtualWanInner>- Returns:
- result of the request to list VirtualWANs 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
Lists all the VirtualWANs in a subscription.- Parameters:
context- The context to associate with this operation.- Returns:
- result of the request to list VirtualWANs 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.
-