Interface VpnGatewaysClient
- All Superinterfaces:
InnerSupportsDelete<Void>,InnerSupportsGet<VpnGatewayInner>,InnerSupportsListing<VpnGatewayInner>
public interface VpnGatewaysClient
extends InnerSupportsGet<VpnGatewayInner>, InnerSupportsListing<VpnGatewayInner>, InnerSupportsDelete<Void>
An instance of this class provides access to all the operations defined in VpnGatewaysClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VpnGatewayInner>, VpnGatewayInner> beginCreateOrUpdate(String resourceGroupName, String gatewayName, VpnGatewayInner vpnGatewayParameters) Creates a virtual wan vpn gateway if it doesn't exist else updates the existing gateway.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VpnGatewayInner>, VpnGatewayInner> beginCreateOrUpdate(String resourceGroupName, String gatewayName, VpnGatewayInner vpnGatewayParameters, com.azure.core.util.Context context) Creates a virtual wan vpn gateway if it doesn't exist else updates the existing gateway.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<VpnGatewayInner>, VpnGatewayInner> beginCreateOrUpdateAsync(String resourceGroupName, String gatewayName, VpnGatewayInner vpnGatewayParameters) Creates a virtual wan vpn gateway if it doesn't exist else updates the existing gateway.beginDelete(String resourceGroupName, String gatewayName) Deletes a virtual wan vpn gateway.beginDelete(String resourceGroupName, String gatewayName, com.azure.core.util.Context context) Deletes a virtual wan vpn gateway.beginDeleteAsync(String resourceGroupName, String gatewayName) Deletes a virtual wan vpn gateway.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VpnGatewayInner>, VpnGatewayInner> beginReset(String resourceGroupName, String gatewayName) Resets the primary of the vpn gateway in the specified resource group.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VpnGatewayInner>, VpnGatewayInner> beginReset(String resourceGroupName, String gatewayName, String ipConfigurationId, com.azure.core.util.Context context) Resets the primary of the vpn gateway in the specified resource group.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<VpnGatewayInner>, VpnGatewayInner> beginResetAsync(String resourceGroupName, String gatewayName) Resets the primary of the vpn gateway in the specified resource group.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<VpnGatewayInner>, VpnGatewayInner> beginResetAsync(String resourceGroupName, String gatewayName, String ipConfigurationId) Resets the primary of the vpn gateway in the specified resource group.beginStartPacketCapture(String resourceGroupName, String gatewayName) Starts packet capture on vpn gateway in the specified resource group.beginStartPacketCapture(String resourceGroupName, String gatewayName, VpnGatewayPacketCaptureStartParameters parameters, com.azure.core.util.Context context) Starts packet capture on vpn gateway in the specified resource group.beginStartPacketCaptureAsync(String resourceGroupName, String gatewayName) Starts packet capture on vpn gateway in the specified resource group.beginStartPacketCaptureAsync(String resourceGroupName, String gatewayName, VpnGatewayPacketCaptureStartParameters parameters) Starts packet capture on vpn gateway in the specified resource group.beginStopPacketCapture(String resourceGroupName, String gatewayName) Stops packet capture on vpn gateway in the specified resource group.beginStopPacketCapture(String resourceGroupName, String gatewayName, VpnGatewayPacketCaptureStopParameters parameters, com.azure.core.util.Context context) Stops packet capture on vpn gateway in the specified resource group.beginStopPacketCaptureAsync(String resourceGroupName, String gatewayName) Stops packet capture on vpn gateway in the specified resource group.beginStopPacketCaptureAsync(String resourceGroupName, String gatewayName, VpnGatewayPacketCaptureStopParameters parameters) Stops packet capture on vpn gateway in the specified resource group.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VpnGatewayInner>, VpnGatewayInner> beginUpdateTags(String resourceGroupName, String gatewayName, TagsObject vpnGatewayParameters) Updates virtual wan vpn gateway tags.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VpnGatewayInner>, VpnGatewayInner> beginUpdateTags(String resourceGroupName, String gatewayName, TagsObject vpnGatewayParameters, com.azure.core.util.Context context) Updates virtual wan vpn gateway tags.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<VpnGatewayInner>, VpnGatewayInner> beginUpdateTagsAsync(String resourceGroupName, String gatewayName, TagsObject vpnGatewayParameters) Updates virtual wan vpn gateway tags.createOrUpdate(String resourceGroupName, String gatewayName, VpnGatewayInner vpnGatewayParameters) Creates a virtual wan vpn gateway if it doesn't exist else updates the existing gateway.createOrUpdate(String resourceGroupName, String gatewayName, VpnGatewayInner vpnGatewayParameters, com.azure.core.util.Context context) Creates a virtual wan vpn gateway if it doesn't exist else updates the existing gateway.createOrUpdateAsync(String resourceGroupName, String gatewayName, VpnGatewayInner vpnGatewayParameters) Creates a virtual wan vpn gateway if it doesn't exist else updates the existing gateway.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String gatewayName, VpnGatewayInner vpnGatewayParameters) Creates a virtual wan vpn gateway if it doesn't exist else updates the existing gateway.voidDeletes a virtual wan vpn gateway.voidDeletes a virtual wan vpn gateway.deleteAsync(String resourceGroupName, String gatewayName) Deletes a virtual wan vpn gateway.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String gatewayName) Deletes a virtual wan vpn gateway.getByResourceGroup(String resourceGroupName, String gatewayName) Retrieves the details of a virtual wan vpn gateway.getByResourceGroupAsync(String resourceGroupName, String gatewayName) Retrieves the details of a virtual wan vpn gateway.com.azure.core.http.rest.Response<VpnGatewayInner> getByResourceGroupWithResponse(String resourceGroupName, String gatewayName, com.azure.core.util.Context context) Retrieves the details of a virtual wan vpn gateway.Mono<com.azure.core.http.rest.Response<VpnGatewayInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String gatewayName) Retrieves the details of a virtual wan vpn gateway.com.azure.core.http.rest.PagedIterable<VpnGatewayInner> list()Lists all the VpnGateways in a subscription.com.azure.core.http.rest.PagedIterable<VpnGatewayInner> list(com.azure.core.util.Context context) Lists all the VpnGateways in a subscription.com.azure.core.http.rest.PagedFlux<VpnGatewayInner> Lists all the VpnGateways in a subscription.com.azure.core.http.rest.PagedIterable<VpnGatewayInner> listByResourceGroup(String resourceGroupName) Lists all the VpnGateways in a resource group.com.azure.core.http.rest.PagedIterable<VpnGatewayInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context) Lists all the VpnGateways in a resource group.com.azure.core.http.rest.PagedFlux<VpnGatewayInner> listByResourceGroupAsync(String resourceGroupName) Lists all the VpnGateways in a resource group.Resets the primary of the vpn gateway in the specified resource group.reset(String resourceGroupName, String gatewayName, String ipConfigurationId, com.azure.core.util.Context context) Resets the primary of the vpn gateway in the specified resource group.resetAsync(String resourceGroupName, String gatewayName) Resets the primary of the vpn gateway in the specified resource group.resetAsync(String resourceGroupName, String gatewayName, String ipConfigurationId) Resets the primary of the vpn gateway in the specified resource group.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> resetWithResponseAsync(String resourceGroupName, String gatewayName, String ipConfigurationId) Resets the primary of the vpn gateway in the specified resource group.startPacketCapture(String resourceGroupName, String gatewayName) Starts packet capture on vpn gateway in the specified resource group.startPacketCapture(String resourceGroupName, String gatewayName, VpnGatewayPacketCaptureStartParameters parameters, com.azure.core.util.Context context) Starts packet capture on vpn gateway in the specified resource group.startPacketCaptureAsync(String resourceGroupName, String gatewayName) Starts packet capture on vpn gateway in the specified resource group.startPacketCaptureAsync(String resourceGroupName, String gatewayName, VpnGatewayPacketCaptureStartParameters parameters) Starts packet capture on vpn gateway in the specified resource group.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> startPacketCaptureWithResponseAsync(String resourceGroupName, String gatewayName, VpnGatewayPacketCaptureStartParameters parameters) Starts packet capture on vpn gateway in the specified resource group.stopPacketCapture(String resourceGroupName, String gatewayName) Stops packet capture on vpn gateway in the specified resource group.stopPacketCapture(String resourceGroupName, String gatewayName, VpnGatewayPacketCaptureStopParameters parameters, com.azure.core.util.Context context) Stops packet capture on vpn gateway in the specified resource group.stopPacketCaptureAsync(String resourceGroupName, String gatewayName) Stops packet capture on vpn gateway in the specified resource group.stopPacketCaptureAsync(String resourceGroupName, String gatewayName, VpnGatewayPacketCaptureStopParameters parameters) Stops packet capture on vpn gateway in the specified resource group.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> stopPacketCaptureWithResponseAsync(String resourceGroupName, String gatewayName, VpnGatewayPacketCaptureStopParameters parameters) Stops packet capture on vpn gateway in the specified resource group.updateTags(String resourceGroupName, String gatewayName, TagsObject vpnGatewayParameters) Updates virtual wan vpn gateway tags.updateTags(String resourceGroupName, String gatewayName, TagsObject vpnGatewayParameters, com.azure.core.util.Context context) Updates virtual wan vpn gateway tags.updateTagsAsync(String resourceGroupName, String gatewayName, TagsObject vpnGatewayParameters) Updates virtual wan vpn gateway tags.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> updateTagsWithResponseAsync(String resourceGroupName, String gatewayName, TagsObject vpnGatewayParameters) Updates virtual wan vpn gateway tags.
-
Method Details
-
getByResourceGroupWithResponseAsync
Mono<com.azure.core.http.rest.Response<VpnGatewayInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String gatewayName) Retrieves the details of a virtual wan vpn gateway.- Parameters:
resourceGroupName- The resource group name of the VpnGateway.gatewayName- The name of the gateway.- Returns:
- vpnGateway 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 virtual wan vpn gateway.- Specified by:
getByResourceGroupAsyncin interfaceInnerSupportsGet<VpnGatewayInner>- Parameters:
resourceGroupName- The resource group name of the VpnGateway.gatewayName- The name of the gateway.- Returns:
- vpnGateway 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<VpnGatewayInner> getByResourceGroupWithResponse(String resourceGroupName, String gatewayName, com.azure.core.util.Context context) Retrieves the details of a virtual wan vpn gateway.- Parameters:
resourceGroupName- The resource group name of the VpnGateway.gatewayName- The name of the gateway.context- The context to associate with this operation.- Returns:
- vpnGateway 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 virtual wan vpn gateway.- Specified by:
getByResourceGroupin interfaceInnerSupportsGet<VpnGatewayInner>- Parameters:
resourceGroupName- The resource group name of the VpnGateway.gatewayName- The name of the gateway.- Returns:
- vpnGateway 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 gatewayName, VpnGatewayInner vpnGatewayParameters) Creates a virtual wan vpn gateway if it doesn't exist else updates the existing gateway.- Parameters:
resourceGroupName- The resource group name of the VpnGateway.gatewayName- The name of the gateway.vpnGatewayParameters- Parameters supplied to create or Update a virtual wan vpn gateway.- Returns:
- vpnGateway 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<VpnGatewayInner>,VpnGatewayInner> beginCreateOrUpdateAsync(String resourceGroupName, String gatewayName, VpnGatewayInner vpnGatewayParameters) Creates a virtual wan vpn gateway if it doesn't exist else updates the existing gateway.- Parameters:
resourceGroupName- The resource group name of the VpnGateway.gatewayName- The name of the gateway.vpnGatewayParameters- Parameters supplied to create or Update a virtual wan vpn gateway.- Returns:
- the
PollerFluxfor polling of vpnGateway 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<VpnGatewayInner>,VpnGatewayInner> beginCreateOrUpdate(String resourceGroupName, String gatewayName, VpnGatewayInner vpnGatewayParameters) Creates a virtual wan vpn gateway if it doesn't exist else updates the existing gateway.- Parameters:
resourceGroupName- The resource group name of the VpnGateway.gatewayName- The name of the gateway.vpnGatewayParameters- Parameters supplied to create or Update a virtual wan vpn gateway.- Returns:
- the
SyncPollerfor polling of vpnGateway 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<VpnGatewayInner>,VpnGatewayInner> beginCreateOrUpdate(String resourceGroupName, String gatewayName, VpnGatewayInner vpnGatewayParameters, com.azure.core.util.Context context) Creates a virtual wan vpn gateway if it doesn't exist else updates the existing gateway.- Parameters:
resourceGroupName- The resource group name of the VpnGateway.gatewayName- The name of the gateway.vpnGatewayParameters- Parameters supplied to create or Update a virtual wan vpn gateway.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of vpnGateway 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<VpnGatewayInner> createOrUpdateAsync(String resourceGroupName, String gatewayName, VpnGatewayInner vpnGatewayParameters) Creates a virtual wan vpn gateway if it doesn't exist else updates the existing gateway.- Parameters:
resourceGroupName- The resource group name of the VpnGateway.gatewayName- The name of the gateway.vpnGatewayParameters- Parameters supplied to create or Update a virtual wan vpn gateway.- Returns:
- vpnGateway 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
VpnGatewayInner createOrUpdate(String resourceGroupName, String gatewayName, VpnGatewayInner vpnGatewayParameters) Creates a virtual wan vpn gateway if it doesn't exist else updates the existing gateway.- Parameters:
resourceGroupName- The resource group name of the VpnGateway.gatewayName- The name of the gateway.vpnGatewayParameters- Parameters supplied to create or Update a virtual wan vpn gateway.- Returns:
- vpnGateway 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
VpnGatewayInner createOrUpdate(String resourceGroupName, String gatewayName, VpnGatewayInner vpnGatewayParameters, com.azure.core.util.Context context) Creates a virtual wan vpn gateway if it doesn't exist else updates the existing gateway.- Parameters:
resourceGroupName- The resource group name of the VpnGateway.gatewayName- The name of the gateway.vpnGatewayParameters- Parameters supplied to create or Update a virtual wan vpn gateway.context- The context to associate with this operation.- Returns:
- vpnGateway 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<Flux<ByteBuffer>>> updateTagsWithResponseAsync(String resourceGroupName, String gatewayName, TagsObject vpnGatewayParameters) Updates virtual wan vpn gateway tags.- Parameters:
resourceGroupName- The resource group name of the VpnGateway.gatewayName- The name of the gateway.vpnGatewayParameters- Parameters supplied to update a virtual wan vpn gateway tags.- Returns:
- vpnGateway 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.
-
beginUpdateTagsAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<VpnGatewayInner>,VpnGatewayInner> beginUpdateTagsAsync(String resourceGroupName, String gatewayName, TagsObject vpnGatewayParameters) Updates virtual wan vpn gateway tags.- Parameters:
resourceGroupName- The resource group name of the VpnGateway.gatewayName- The name of the gateway.vpnGatewayParameters- Parameters supplied to update a virtual wan vpn gateway tags.- Returns:
- the
PollerFluxfor polling of vpnGateway 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.
-
beginUpdateTags
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VpnGatewayInner>,VpnGatewayInner> beginUpdateTags(String resourceGroupName, String gatewayName, TagsObject vpnGatewayParameters) Updates virtual wan vpn gateway tags.- Parameters:
resourceGroupName- The resource group name of the VpnGateway.gatewayName- The name of the gateway.vpnGatewayParameters- Parameters supplied to update a virtual wan vpn gateway tags.- Returns:
- the
SyncPollerfor polling of vpnGateway 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.
-
beginUpdateTags
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VpnGatewayInner>,VpnGatewayInner> beginUpdateTags(String resourceGroupName, String gatewayName, TagsObject vpnGatewayParameters, com.azure.core.util.Context context) Updates virtual wan vpn gateway tags.- Parameters:
resourceGroupName- The resource group name of the VpnGateway.gatewayName- The name of the gateway.vpnGatewayParameters- Parameters supplied to update a virtual wan vpn gateway tags.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of vpnGateway 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.
-
updateTagsAsync
Mono<VpnGatewayInner> updateTagsAsync(String resourceGroupName, String gatewayName, TagsObject vpnGatewayParameters) Updates virtual wan vpn gateway tags.- Parameters:
resourceGroupName- The resource group name of the VpnGateway.gatewayName- The name of the gateway.vpnGatewayParameters- Parameters supplied to update a virtual wan vpn gateway tags.- Returns:
- vpnGateway 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
VpnGatewayInner updateTags(String resourceGroupName, String gatewayName, TagsObject vpnGatewayParameters) Updates virtual wan vpn gateway tags.- Parameters:
resourceGroupName- The resource group name of the VpnGateway.gatewayName- The name of the gateway.vpnGatewayParameters- Parameters supplied to update a virtual wan vpn gateway tags.- Returns:
- vpnGateway 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.
-
updateTags
VpnGatewayInner updateTags(String resourceGroupName, String gatewayName, TagsObject vpnGatewayParameters, com.azure.core.util.Context context) Updates virtual wan vpn gateway tags.- Parameters:
resourceGroupName- The resource group name of the VpnGateway.gatewayName- The name of the gateway.vpnGatewayParameters- Parameters supplied to update a virtual wan vpn gateway tags.context- The context to associate with this operation.- Returns:
- vpnGateway 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 gatewayName) Deletes a virtual wan vpn gateway.- Parameters:
resourceGroupName- The resource group name of the VpnGateway.gatewayName- The name of the gateway.- 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 gatewayName) Deletes a virtual wan vpn gateway.- Parameters:
resourceGroupName- The resource group name of the VpnGateway.gatewayName- The name of the gateway.- 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 gatewayName) Deletes a virtual wan vpn gateway.- Parameters:
resourceGroupName- The resource group name of the VpnGateway.gatewayName- The name of the gateway.- 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 gatewayName, com.azure.core.util.Context context) Deletes a virtual wan vpn gateway.- Parameters:
resourceGroupName- The resource group name of the VpnGateway.gatewayName- The name of the gateway.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 virtual wan vpn gateway.- Specified by:
deleteAsyncin interfaceInnerSupportsDelete<Void>- Parameters:
resourceGroupName- The resource group name of the VpnGateway.gatewayName- The name of the gateway.- 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 virtual wan vpn gateway.- Parameters:
resourceGroupName- The resource group name of the VpnGateway.gatewayName- The name of the gateway.- 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 virtual wan vpn gateway.- Parameters:
resourceGroupName- The resource group name of the VpnGateway.gatewayName- The name of the gateway.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.
-
resetWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> resetWithResponseAsync(String resourceGroupName, String gatewayName, String ipConfigurationId) Resets the primary of the vpn gateway in the specified resource group.- Parameters:
resourceGroupName- The resource group name of the VpnGateway.gatewayName- The name of the gateway.ipConfigurationId- VpnGateway ipConfigurationId to specify the gateway instance.- Returns:
- vpnGateway 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.
-
beginResetAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<VpnGatewayInner>,VpnGatewayInner> beginResetAsync(String resourceGroupName, String gatewayName, String ipConfigurationId) Resets the primary of the vpn gateway in the specified resource group.- Parameters:
resourceGroupName- The resource group name of the VpnGateway.gatewayName- The name of the gateway.ipConfigurationId- VpnGateway ipConfigurationId to specify the gateway instance.- Returns:
- the
PollerFluxfor polling of vpnGateway 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.
-
beginResetAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<VpnGatewayInner>,VpnGatewayInner> beginResetAsync(String resourceGroupName, String gatewayName) Resets the primary of the vpn gateway in the specified resource group.- Parameters:
resourceGroupName- The resource group name of the VpnGateway.gatewayName- The name of the gateway.- Returns:
- the
PollerFluxfor polling of vpnGateway 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.
-
beginReset
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VpnGatewayInner>,VpnGatewayInner> beginReset(String resourceGroupName, String gatewayName) Resets the primary of the vpn gateway in the specified resource group.- Parameters:
resourceGroupName- The resource group name of the VpnGateway.gatewayName- The name of the gateway.- Returns:
- the
SyncPollerfor polling of vpnGateway 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.
-
beginReset
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VpnGatewayInner>,VpnGatewayInner> beginReset(String resourceGroupName, String gatewayName, String ipConfigurationId, com.azure.core.util.Context context) Resets the primary of the vpn gateway in the specified resource group.- Parameters:
resourceGroupName- The resource group name of the VpnGateway.gatewayName- The name of the gateway.ipConfigurationId- VpnGateway ipConfigurationId to specify the gateway instance.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of vpnGateway 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.
-
resetAsync
Mono<VpnGatewayInner> resetAsync(String resourceGroupName, String gatewayName, String ipConfigurationId) Resets the primary of the vpn gateway in the specified resource group.- Parameters:
resourceGroupName- The resource group name of the VpnGateway.gatewayName- The name of the gateway.ipConfigurationId- VpnGateway ipConfigurationId to specify the gateway instance.- Returns:
- vpnGateway 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.
-
resetAsync
Resets the primary of the vpn gateway in the specified resource group.- Parameters:
resourceGroupName- The resource group name of the VpnGateway.gatewayName- The name of the gateway.- Returns:
- vpnGateway 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.
-
reset
Resets the primary of the vpn gateway in the specified resource group.- Parameters:
resourceGroupName- The resource group name of the VpnGateway.gatewayName- The name of the gateway.- Returns:
- vpnGateway 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.
-
reset
VpnGatewayInner reset(String resourceGroupName, String gatewayName, String ipConfigurationId, com.azure.core.util.Context context) Resets the primary of the vpn gateway in the specified resource group.- Parameters:
resourceGroupName- The resource group name of the VpnGateway.gatewayName- The name of the gateway.ipConfigurationId- VpnGateway ipConfigurationId to specify the gateway instance.context- The context to associate with this operation.- Returns:
- vpnGateway 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.
-
startPacketCaptureWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> startPacketCaptureWithResponseAsync(String resourceGroupName, String gatewayName, VpnGatewayPacketCaptureStartParameters parameters) Starts packet capture on vpn gateway in the specified resource group.- Parameters:
resourceGroupName- The resource group name of the VpnGateway.gatewayName- The name of the gateway.parameters- Vpn gateway packet capture parameters supplied to start packet capture on vpn gateway.- Returns:
- the response body 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.
-
beginStartPacketCaptureAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<String>,String> beginStartPacketCaptureAsync(String resourceGroupName, String gatewayName, VpnGatewayPacketCaptureStartParameters parameters) Starts packet capture on vpn gateway in the specified resource group.- Parameters:
resourceGroupName- The resource group name of the VpnGateway.gatewayName- The name of the gateway.parameters- Vpn gateway packet capture parameters supplied to start packet capture on vpn gateway.- 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.
-
beginStartPacketCaptureAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<String>,String> beginStartPacketCaptureAsync(String resourceGroupName, String gatewayName) Starts packet capture on vpn gateway in the specified resource group.- Parameters:
resourceGroupName- The resource group name of the VpnGateway.gatewayName- The name of the gateway.- 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.
-
beginStartPacketCapture
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<String>,String> beginStartPacketCapture(String resourceGroupName, String gatewayName) Starts packet capture on vpn gateway in the specified resource group.- Parameters:
resourceGroupName- The resource group name of the VpnGateway.gatewayName- The name of the gateway.- 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.
-
beginStartPacketCapture
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<String>,String> beginStartPacketCapture(String resourceGroupName, String gatewayName, VpnGatewayPacketCaptureStartParameters parameters, com.azure.core.util.Context context) Starts packet capture on vpn gateway in the specified resource group.- Parameters:
resourceGroupName- The resource group name of the VpnGateway.gatewayName- The name of the gateway.parameters- Vpn gateway packet capture parameters supplied to start packet capture on vpn gateway.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.
-
startPacketCaptureAsync
Mono<String> startPacketCaptureAsync(String resourceGroupName, String gatewayName, VpnGatewayPacketCaptureStartParameters parameters) Starts packet capture on vpn gateway in the specified resource group.- Parameters:
resourceGroupName- The resource group name of the VpnGateway.gatewayName- The name of the gateway.parameters- Vpn gateway packet capture parameters supplied to start packet capture on vpn gateway.- Returns:
- the response body 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.
-
startPacketCaptureAsync
Starts packet capture on vpn gateway in the specified resource group.- Parameters:
resourceGroupName- The resource group name of the VpnGateway.gatewayName- The name of the gateway.- Returns:
- the response body 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.
-
startPacketCapture
Starts packet capture on vpn gateway in the specified resource group.- Parameters:
resourceGroupName- The resource group name of the VpnGateway.gatewayName- The name of the gateway.- Returns:
- the 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.
-
startPacketCapture
String startPacketCapture(String resourceGroupName, String gatewayName, VpnGatewayPacketCaptureStartParameters parameters, com.azure.core.util.Context context) Starts packet capture on vpn gateway in the specified resource group.- Parameters:
resourceGroupName- The resource group name of the VpnGateway.gatewayName- The name of the gateway.parameters- Vpn gateway packet capture parameters supplied to start packet capture on vpn gateway.context- The context to associate with this operation.- Returns:
- the 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.
-
stopPacketCaptureWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> stopPacketCaptureWithResponseAsync(String resourceGroupName, String gatewayName, VpnGatewayPacketCaptureStopParameters parameters) Stops packet capture on vpn gateway in the specified resource group.- Parameters:
resourceGroupName- The resource group name of the VpnGateway.gatewayName- The name of the gateway.parameters- Vpn gateway packet capture parameters supplied to stop packet capture on vpn gateway.- Returns:
- the response body 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.
-
beginStopPacketCaptureAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<String>,String> beginStopPacketCaptureAsync(String resourceGroupName, String gatewayName, VpnGatewayPacketCaptureStopParameters parameters) Stops packet capture on vpn gateway in the specified resource group.- Parameters:
resourceGroupName- The resource group name of the VpnGateway.gatewayName- The name of the gateway.parameters- Vpn gateway packet capture parameters supplied to stop packet capture on vpn gateway.- 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.
-
beginStopPacketCaptureAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<String>,String> beginStopPacketCaptureAsync(String resourceGroupName, String gatewayName) Stops packet capture on vpn gateway in the specified resource group.- Parameters:
resourceGroupName- The resource group name of the VpnGateway.gatewayName- The name of the gateway.- 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.
-
beginStopPacketCapture
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<String>,String> beginStopPacketCapture(String resourceGroupName, String gatewayName) Stops packet capture on vpn gateway in the specified resource group.- Parameters:
resourceGroupName- The resource group name of the VpnGateway.gatewayName- The name of the gateway.- 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.
-
beginStopPacketCapture
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<String>,String> beginStopPacketCapture(String resourceGroupName, String gatewayName, VpnGatewayPacketCaptureStopParameters parameters, com.azure.core.util.Context context) Stops packet capture on vpn gateway in the specified resource group.- Parameters:
resourceGroupName- The resource group name of the VpnGateway.gatewayName- The name of the gateway.parameters- Vpn gateway packet capture parameters supplied to stop packet capture on vpn gateway.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.
-
stopPacketCaptureAsync
Mono<String> stopPacketCaptureAsync(String resourceGroupName, String gatewayName, VpnGatewayPacketCaptureStopParameters parameters) Stops packet capture on vpn gateway in the specified resource group.- Parameters:
resourceGroupName- The resource group name of the VpnGateway.gatewayName- The name of the gateway.parameters- Vpn gateway packet capture parameters supplied to stop packet capture on vpn gateway.- Returns:
- the response body 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.
-
stopPacketCaptureAsync
Stops packet capture on vpn gateway in the specified resource group.- Parameters:
resourceGroupName- The resource group name of the VpnGateway.gatewayName- The name of the gateway.- Returns:
- the response body 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.
-
stopPacketCapture
Stops packet capture on vpn gateway in the specified resource group.- Parameters:
resourceGroupName- The resource group name of the VpnGateway.gatewayName- The name of the gateway.- Returns:
- the 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.
-
stopPacketCapture
String stopPacketCapture(String resourceGroupName, String gatewayName, VpnGatewayPacketCaptureStopParameters parameters, com.azure.core.util.Context context) Stops packet capture on vpn gateway in the specified resource group.- Parameters:
resourceGroupName- The resource group name of the VpnGateway.gatewayName- The name of the gateway.parameters- Vpn gateway packet capture parameters supplied to stop packet capture on vpn gateway.context- The context to associate with this operation.- Returns:
- the 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<VpnGatewayInner> listByResourceGroupAsync(String resourceGroupName) Lists all the VpnGateways in a resource group.- Specified by:
listByResourceGroupAsyncin interfaceInnerSupportsListing<VpnGatewayInner>- Parameters:
resourceGroupName- The resource group name of the VpnGateway.- Returns:
- result of the request to list VpnGateways 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<VpnGatewayInner> listByResourceGroup(String resourceGroupName) Lists all the VpnGateways in a resource group.- Specified by:
listByResourceGroupin interfaceInnerSupportsListing<VpnGatewayInner>- Parameters:
resourceGroupName- The resource group name of the VpnGateway.- Returns:
- result of the request to list VpnGateways 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<VpnGatewayInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context) Lists all the VpnGateways in a resource group.- Parameters:
resourceGroupName- The resource group name of the VpnGateway.context- The context to associate with this operation.- Returns:
- result of the request to list VpnGateways 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<VpnGatewayInner> listAsync()Lists all the VpnGateways in a subscription.- Specified by:
listAsyncin interfaceInnerSupportsListing<VpnGatewayInner>- Returns:
- result of the request to list VpnGateways 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<VpnGatewayInner> list()Lists all the VpnGateways in a subscription.- Specified by:
listin interfaceInnerSupportsListing<VpnGatewayInner>- Returns:
- result of the request to list VpnGateways 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 VpnGateways in a subscription.- Parameters:
context- The context to associate with this operation.- Returns:
- result of the request to list VpnGateways 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.
-