Interface VirtualNetworkGatewayConnectionsClient
- All Superinterfaces:
InnerSupportsDelete<Void>,InnerSupportsGet<VirtualNetworkGatewayConnectionInner>
public interface VirtualNetworkGatewayConnectionsClient
extends InnerSupportsGet<VirtualNetworkGatewayConnectionInner>, InnerSupportsDelete<Void>
An instance of this class provides access to all the operations defined in VirtualNetworkGatewayConnectionsClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VirtualNetworkGatewayConnectionInner>, VirtualNetworkGatewayConnectionInner> beginCreateOrUpdate(String resourceGroupName, String virtualNetworkGatewayConnectionName, VirtualNetworkGatewayConnectionInner parameters) Creates or updates a virtual network gateway connection in the specified resource group.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VirtualNetworkGatewayConnectionInner>, VirtualNetworkGatewayConnectionInner> beginCreateOrUpdate(String resourceGroupName, String virtualNetworkGatewayConnectionName, VirtualNetworkGatewayConnectionInner parameters, com.azure.core.util.Context context) Creates or updates a virtual network gateway connection in the specified resource group.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<VirtualNetworkGatewayConnectionInner>, VirtualNetworkGatewayConnectionInner> beginCreateOrUpdateAsync(String resourceGroupName, String virtualNetworkGatewayConnectionName, VirtualNetworkGatewayConnectionInner parameters) Creates or updates a virtual network gateway connection in the specified resource group.beginDelete(String resourceGroupName, String virtualNetworkGatewayConnectionName) Deletes the specified virtual network Gateway connection.beginDelete(String resourceGroupName, String virtualNetworkGatewayConnectionName, com.azure.core.util.Context context) Deletes the specified virtual network Gateway connection.beginDeleteAsync(String resourceGroupName, String virtualNetworkGatewayConnectionName) Deletes the specified virtual network Gateway connection.beginGetIkeSas(String resourceGroupName, String virtualNetworkGatewayConnectionName) Lists IKE Security Associations for the virtual network gateway connection in the specified resource group.beginGetIkeSas(String resourceGroupName, String virtualNetworkGatewayConnectionName, com.azure.core.util.Context context) Lists IKE Security Associations for the virtual network gateway connection in the specified resource group.beginGetIkeSasAsync(String resourceGroupName, String virtualNetworkGatewayConnectionName) Lists IKE Security Associations for the virtual network gateway connection in the specified resource group.beginResetConnection(String resourceGroupName, String virtualNetworkGatewayConnectionName) Resets the virtual network gateway connection specified.beginResetConnection(String resourceGroupName, String virtualNetworkGatewayConnectionName, com.azure.core.util.Context context) Resets the virtual network gateway connection specified.beginResetConnectionAsync(String resourceGroupName, String virtualNetworkGatewayConnectionName) Resets the virtual network gateway connection specified.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ConnectionResetSharedKeyInner>, ConnectionResetSharedKeyInner> beginResetSharedKey(String resourceGroupName, String virtualNetworkGatewayConnectionName, ConnectionResetSharedKeyInner parameters) The VirtualNetworkGatewayConnectionResetSharedKey operation resets the virtual network gateway connection shared key for passed virtual network gateway connection in the specified resource group through Network resource provider.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ConnectionResetSharedKeyInner>, ConnectionResetSharedKeyInner> beginResetSharedKey(String resourceGroupName, String virtualNetworkGatewayConnectionName, ConnectionResetSharedKeyInner parameters, com.azure.core.util.Context context) The VirtualNetworkGatewayConnectionResetSharedKey operation resets the virtual network gateway connection shared key for passed virtual network gateway connection in the specified resource group through Network resource provider.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<ConnectionResetSharedKeyInner>, ConnectionResetSharedKeyInner> beginResetSharedKeyAsync(String resourceGroupName, String virtualNetworkGatewayConnectionName, ConnectionResetSharedKeyInner parameters) The VirtualNetworkGatewayConnectionResetSharedKey operation resets the virtual network gateway connection shared key for passed virtual network gateway connection in the specified resource group through Network resource provider.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ConnectionSharedKeyInner>, ConnectionSharedKeyInner> beginSetSharedKey(String resourceGroupName, String virtualNetworkGatewayConnectionName, ConnectionSharedKeyInner parameters) The Put VirtualNetworkGatewayConnectionSharedKey operation sets the virtual network gateway connection shared key for passed virtual network gateway connection in the specified resource group through Network resource provider.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ConnectionSharedKeyInner>, ConnectionSharedKeyInner> beginSetSharedKey(String resourceGroupName, String virtualNetworkGatewayConnectionName, ConnectionSharedKeyInner parameters, com.azure.core.util.Context context) The Put VirtualNetworkGatewayConnectionSharedKey operation sets the virtual network gateway connection shared key for passed virtual network gateway connection in the specified resource group through Network resource provider.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<ConnectionSharedKeyInner>, ConnectionSharedKeyInner> beginSetSharedKeyAsync(String resourceGroupName, String virtualNetworkGatewayConnectionName, ConnectionSharedKeyInner parameters) The Put VirtualNetworkGatewayConnectionSharedKey operation sets the virtual network gateway connection shared key for passed virtual network gateway connection in the specified resource group through Network resource provider.beginStartPacketCapture(String resourceGroupName, String virtualNetworkGatewayConnectionName) Starts packet capture on virtual network gateway connection in the specified resource group.beginStartPacketCapture(String resourceGroupName, String virtualNetworkGatewayConnectionName, VpnPacketCaptureStartParameters parameters, com.azure.core.util.Context context) Starts packet capture on virtual network gateway connection in the specified resource group.beginStartPacketCaptureAsync(String resourceGroupName, String virtualNetworkGatewayConnectionName) Starts packet capture on virtual network gateway connection in the specified resource group.beginStartPacketCaptureAsync(String resourceGroupName, String virtualNetworkGatewayConnectionName, VpnPacketCaptureStartParameters parameters) Starts packet capture on virtual network gateway connection in the specified resource group.beginStopPacketCapture(String resourceGroupName, String virtualNetworkGatewayConnectionName, VpnPacketCaptureStopParameters parameters) Stops packet capture on virtual network gateway connection in the specified resource group.beginStopPacketCapture(String resourceGroupName, String virtualNetworkGatewayConnectionName, VpnPacketCaptureStopParameters parameters, com.azure.core.util.Context context) Stops packet capture on virtual network gateway connection in the specified resource group.beginStopPacketCaptureAsync(String resourceGroupName, String virtualNetworkGatewayConnectionName, VpnPacketCaptureStopParameters parameters) Stops packet capture on virtual network gateway connection in the specified resource group.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VirtualNetworkGatewayConnectionInner>, VirtualNetworkGatewayConnectionInner> beginUpdateTags(String resourceGroupName, String virtualNetworkGatewayConnectionName, TagsObject parameters) Updates a virtual network gateway connection tags.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VirtualNetworkGatewayConnectionInner>, VirtualNetworkGatewayConnectionInner> beginUpdateTags(String resourceGroupName, String virtualNetworkGatewayConnectionName, TagsObject parameters, com.azure.core.util.Context context) Updates a virtual network gateway connection tags.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<VirtualNetworkGatewayConnectionInner>, VirtualNetworkGatewayConnectionInner> beginUpdateTagsAsync(String resourceGroupName, String virtualNetworkGatewayConnectionName, TagsObject parameters) Updates a virtual network gateway connection tags.createOrUpdate(String resourceGroupName, String virtualNetworkGatewayConnectionName, VirtualNetworkGatewayConnectionInner parameters) Creates or updates a virtual network gateway connection in the specified resource group.createOrUpdate(String resourceGroupName, String virtualNetworkGatewayConnectionName, VirtualNetworkGatewayConnectionInner parameters, com.azure.core.util.Context context) Creates or updates a virtual network gateway connection in the specified resource group.createOrUpdateAsync(String resourceGroupName, String virtualNetworkGatewayConnectionName, VirtualNetworkGatewayConnectionInner parameters) Creates or updates a virtual network gateway connection in the specified resource group.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String virtualNetworkGatewayConnectionName, VirtualNetworkGatewayConnectionInner parameters) Creates or updates a virtual network gateway connection in the specified resource group.voidDeletes the specified virtual network Gateway connection.voiddelete(String resourceGroupName, String virtualNetworkGatewayConnectionName, com.azure.core.util.Context context) Deletes the specified virtual network Gateway connection.deleteAsync(String resourceGroupName, String virtualNetworkGatewayConnectionName) Deletes the specified virtual network Gateway connection.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String virtualNetworkGatewayConnectionName) Deletes the specified virtual network Gateway connection.getByResourceGroup(String resourceGroupName, String virtualNetworkGatewayConnectionName) Gets the specified virtual network gateway connection by resource group.getByResourceGroupAsync(String resourceGroupName, String virtualNetworkGatewayConnectionName) Gets the specified virtual network gateway connection by resource group.com.azure.core.http.rest.Response<VirtualNetworkGatewayConnectionInner> getByResourceGroupWithResponse(String resourceGroupName, String virtualNetworkGatewayConnectionName, com.azure.core.util.Context context) Gets the specified virtual network gateway connection by resource group.Mono<com.azure.core.http.rest.Response<VirtualNetworkGatewayConnectionInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String virtualNetworkGatewayConnectionName) Gets the specified virtual network gateway connection by resource group.Lists IKE Security Associations for the virtual network gateway connection in the specified resource group.getIkeSas(String resourceGroupName, String virtualNetworkGatewayConnectionName, com.azure.core.util.Context context) Lists IKE Security Associations for the virtual network gateway connection in the specified resource group.getIkeSasAsync(String resourceGroupName, String virtualNetworkGatewayConnectionName) Lists IKE Security Associations for the virtual network gateway connection in the specified resource group.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> getIkeSasWithResponseAsync(String resourceGroupName, String virtualNetworkGatewayConnectionName) Lists IKE Security Associations for the virtual network gateway connection in the specified resource group.getSharedKey(String resourceGroupName, String virtualNetworkGatewayConnectionName) The Get VirtualNetworkGatewayConnectionSharedKey operation retrieves information about the specified virtual network gateway connection shared key through Network resource provider.getSharedKeyAsync(String resourceGroupName, String virtualNetworkGatewayConnectionName) The Get VirtualNetworkGatewayConnectionSharedKey operation retrieves information about the specified virtual network gateway connection shared key through Network resource provider.com.azure.core.http.rest.Response<ConnectionSharedKeyInner> getSharedKeyWithResponse(String resourceGroupName, String virtualNetworkGatewayConnectionName, com.azure.core.util.Context context) The Get VirtualNetworkGatewayConnectionSharedKey operation retrieves information about the specified virtual network gateway connection shared key through Network resource provider.Mono<com.azure.core.http.rest.Response<ConnectionSharedKeyInner>> getSharedKeyWithResponseAsync(String resourceGroupName, String virtualNetworkGatewayConnectionName) The Get VirtualNetworkGatewayConnectionSharedKey operation retrieves information about the specified virtual network gateway connection shared key through Network resource provider.com.azure.core.http.rest.PagedIterable<VirtualNetworkGatewayConnectionInner> listByResourceGroup(String resourceGroupName) The List VirtualNetworkGatewayConnections operation retrieves all the virtual network gateways connections created.com.azure.core.http.rest.PagedIterable<VirtualNetworkGatewayConnectionInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context) The List VirtualNetworkGatewayConnections operation retrieves all the virtual network gateways connections created.com.azure.core.http.rest.PagedFlux<VirtualNetworkGatewayConnectionInner> listByResourceGroupAsync(String resourceGroupName) The List VirtualNetworkGatewayConnections operation retrieves all the virtual network gateways connections created.voidresetConnection(String resourceGroupName, String virtualNetworkGatewayConnectionName) Resets the virtual network gateway connection specified.voidresetConnection(String resourceGroupName, String virtualNetworkGatewayConnectionName, com.azure.core.util.Context context) Resets the virtual network gateway connection specified.resetConnectionAsync(String resourceGroupName, String virtualNetworkGatewayConnectionName) Resets the virtual network gateway connection specified.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> resetConnectionWithResponseAsync(String resourceGroupName, String virtualNetworkGatewayConnectionName) Resets the virtual network gateway connection specified.resetSharedKey(String resourceGroupName, String virtualNetworkGatewayConnectionName, ConnectionResetSharedKeyInner parameters) The VirtualNetworkGatewayConnectionResetSharedKey operation resets the virtual network gateway connection shared key for passed virtual network gateway connection in the specified resource group through Network resource provider.resetSharedKey(String resourceGroupName, String virtualNetworkGatewayConnectionName, ConnectionResetSharedKeyInner parameters, com.azure.core.util.Context context) The VirtualNetworkGatewayConnectionResetSharedKey operation resets the virtual network gateway connection shared key for passed virtual network gateway connection in the specified resource group through Network resource provider.resetSharedKeyAsync(String resourceGroupName, String virtualNetworkGatewayConnectionName, ConnectionResetSharedKeyInner parameters) The VirtualNetworkGatewayConnectionResetSharedKey operation resets the virtual network gateway connection shared key for passed virtual network gateway connection in the specified resource group through Network resource provider.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> resetSharedKeyWithResponseAsync(String resourceGroupName, String virtualNetworkGatewayConnectionName, ConnectionResetSharedKeyInner parameters) The VirtualNetworkGatewayConnectionResetSharedKey operation resets the virtual network gateway connection shared key for passed virtual network gateway connection in the specified resource group through Network resource provider.setSharedKey(String resourceGroupName, String virtualNetworkGatewayConnectionName, ConnectionSharedKeyInner parameters) The Put VirtualNetworkGatewayConnectionSharedKey operation sets the virtual network gateway connection shared key for passed virtual network gateway connection in the specified resource group through Network resource provider.setSharedKey(String resourceGroupName, String virtualNetworkGatewayConnectionName, ConnectionSharedKeyInner parameters, com.azure.core.util.Context context) The Put VirtualNetworkGatewayConnectionSharedKey operation sets the virtual network gateway connection shared key for passed virtual network gateway connection in the specified resource group through Network resource provider.setSharedKeyAsync(String resourceGroupName, String virtualNetworkGatewayConnectionName, ConnectionSharedKeyInner parameters) The Put VirtualNetworkGatewayConnectionSharedKey operation sets the virtual network gateway connection shared key for passed virtual network gateway connection in the specified resource group through Network resource provider.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> setSharedKeyWithResponseAsync(String resourceGroupName, String virtualNetworkGatewayConnectionName, ConnectionSharedKeyInner parameters) The Put VirtualNetworkGatewayConnectionSharedKey operation sets the virtual network gateway connection shared key for passed virtual network gateway connection in the specified resource group through Network resource provider.startPacketCapture(String resourceGroupName, String virtualNetworkGatewayConnectionName) Starts packet capture on virtual network gateway connection in the specified resource group.startPacketCapture(String resourceGroupName, String virtualNetworkGatewayConnectionName, VpnPacketCaptureStartParameters parameters, com.azure.core.util.Context context) Starts packet capture on virtual network gateway connection in the specified resource group.startPacketCaptureAsync(String resourceGroupName, String virtualNetworkGatewayConnectionName) Starts packet capture on virtual network gateway connection in the specified resource group.startPacketCaptureAsync(String resourceGroupName, String virtualNetworkGatewayConnectionName, VpnPacketCaptureStartParameters parameters) Starts packet capture on virtual network gateway connection in the specified resource group.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> startPacketCaptureWithResponseAsync(String resourceGroupName, String virtualNetworkGatewayConnectionName, VpnPacketCaptureStartParameters parameters) Starts packet capture on virtual network gateway connection in the specified resource group.stopPacketCapture(String resourceGroupName, String virtualNetworkGatewayConnectionName, VpnPacketCaptureStopParameters parameters) Stops packet capture on virtual network gateway connection in the specified resource group.stopPacketCapture(String resourceGroupName, String virtualNetworkGatewayConnectionName, VpnPacketCaptureStopParameters parameters, com.azure.core.util.Context context) Stops packet capture on virtual network gateway connection in the specified resource group.stopPacketCaptureAsync(String resourceGroupName, String virtualNetworkGatewayConnectionName, VpnPacketCaptureStopParameters parameters) Stops packet capture on virtual network gateway connection in the specified resource group.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> stopPacketCaptureWithResponseAsync(String resourceGroupName, String virtualNetworkGatewayConnectionName, VpnPacketCaptureStopParameters parameters) Stops packet capture on virtual network gateway connection in the specified resource group.updateTags(String resourceGroupName, String virtualNetworkGatewayConnectionName, TagsObject parameters) Updates a virtual network gateway connection tags.updateTags(String resourceGroupName, String virtualNetworkGatewayConnectionName, TagsObject parameters, com.azure.core.util.Context context) Updates a virtual network gateway connection tags.updateTagsAsync(String resourceGroupName, String virtualNetworkGatewayConnectionName, TagsObject parameters) Updates a virtual network gateway connection tags.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> updateTagsWithResponseAsync(String resourceGroupName, String virtualNetworkGatewayConnectionName, TagsObject parameters) Updates a virtual network gateway connection tags.
-
Method Details
-
createOrUpdateWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String virtualNetworkGatewayConnectionName, VirtualNetworkGatewayConnectionInner parameters) Creates or updates a virtual network gateway connection in the specified resource group.- Parameters:
resourceGroupName- The name of the resource group.virtualNetworkGatewayConnectionName- The name of the virtual network gateway connection.parameters- Parameters supplied to the create or update virtual network gateway connection operation.- Returns:
- a common class for general resource information 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<VirtualNetworkGatewayConnectionInner>,VirtualNetworkGatewayConnectionInner> beginCreateOrUpdateAsync(String resourceGroupName, String virtualNetworkGatewayConnectionName, VirtualNetworkGatewayConnectionInner parameters) Creates or updates a virtual network gateway connection in the specified resource group.- Parameters:
resourceGroupName- The name of the resource group.virtualNetworkGatewayConnectionName- The name of the virtual network gateway connection.parameters- Parameters supplied to the create or update virtual network gateway connection operation.- Returns:
- the
PollerFluxfor polling of a common class for general resource information. - 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<VirtualNetworkGatewayConnectionInner>,VirtualNetworkGatewayConnectionInner> beginCreateOrUpdate(String resourceGroupName, String virtualNetworkGatewayConnectionName, VirtualNetworkGatewayConnectionInner parameters) Creates or updates a virtual network gateway connection in the specified resource group.- Parameters:
resourceGroupName- The name of the resource group.virtualNetworkGatewayConnectionName- The name of the virtual network gateway connection.parameters- Parameters supplied to the create or update virtual network gateway connection operation.- Returns:
- the
SyncPollerfor polling of a common class for general resource information. - 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<VirtualNetworkGatewayConnectionInner>,VirtualNetworkGatewayConnectionInner> beginCreateOrUpdate(String resourceGroupName, String virtualNetworkGatewayConnectionName, VirtualNetworkGatewayConnectionInner parameters, com.azure.core.util.Context context) Creates or updates a virtual network gateway connection in the specified resource group.- Parameters:
resourceGroupName- The name of the resource group.virtualNetworkGatewayConnectionName- The name of the virtual network gateway connection.parameters- Parameters supplied to the create or update virtual network gateway connection operation.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of a common class for general resource information. - 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<VirtualNetworkGatewayConnectionInner> createOrUpdateAsync(String resourceGroupName, String virtualNetworkGatewayConnectionName, VirtualNetworkGatewayConnectionInner parameters) Creates or updates a virtual network gateway connection in the specified resource group.- Parameters:
resourceGroupName- The name of the resource group.virtualNetworkGatewayConnectionName- The name of the virtual network gateway connection.parameters- Parameters supplied to the create or update virtual network gateway connection operation.- Returns:
- a common class for general resource information 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
VirtualNetworkGatewayConnectionInner createOrUpdate(String resourceGroupName, String virtualNetworkGatewayConnectionName, VirtualNetworkGatewayConnectionInner parameters) Creates or updates a virtual network gateway connection in the specified resource group.- Parameters:
resourceGroupName- The name of the resource group.virtualNetworkGatewayConnectionName- The name of the virtual network gateway connection.parameters- Parameters supplied to the create or update virtual network gateway connection operation.- Returns:
- a common class for general resource information.
- 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
VirtualNetworkGatewayConnectionInner createOrUpdate(String resourceGroupName, String virtualNetworkGatewayConnectionName, VirtualNetworkGatewayConnectionInner parameters, com.azure.core.util.Context context) Creates or updates a virtual network gateway connection in the specified resource group.- Parameters:
resourceGroupName- The name of the resource group.virtualNetworkGatewayConnectionName- The name of the virtual network gateway connection.parameters- Parameters supplied to the create or update virtual network gateway connection operation.context- The context to associate with this operation.- Returns:
- a common class for general resource information.
- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getByResourceGroupWithResponseAsync
Mono<com.azure.core.http.rest.Response<VirtualNetworkGatewayConnectionInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String virtualNetworkGatewayConnectionName) Gets the specified virtual network gateway connection by resource group.- Parameters:
resourceGroupName- The name of the resource group.virtualNetworkGatewayConnectionName- The name of the virtual network gateway connection.- Returns:
- the specified virtual network gateway connection by resource group along with
Responseon successful completion ofMono. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
getByResourceGroupAsync
Mono<VirtualNetworkGatewayConnectionInner> getByResourceGroupAsync(String resourceGroupName, String virtualNetworkGatewayConnectionName) Gets the specified virtual network gateway connection by resource group.- Specified by:
getByResourceGroupAsyncin interfaceInnerSupportsGet<VirtualNetworkGatewayConnectionInner>- Parameters:
resourceGroupName- The name of the resource group.virtualNetworkGatewayConnectionName- The name of the virtual network gateway connection.- Returns:
- the specified virtual network gateway connection by resource group 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<VirtualNetworkGatewayConnectionInner> getByResourceGroupWithResponse(String resourceGroupName, String virtualNetworkGatewayConnectionName, com.azure.core.util.Context context) Gets the specified virtual network gateway connection by resource group.- Parameters:
resourceGroupName- The name of the resource group.virtualNetworkGatewayConnectionName- The name of the virtual network gateway connection.context- The context to associate with this operation.- Returns:
- the specified virtual network gateway connection by resource group 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
VirtualNetworkGatewayConnectionInner getByResourceGroup(String resourceGroupName, String virtualNetworkGatewayConnectionName) Gets the specified virtual network gateway connection by resource group.- Specified by:
getByResourceGroupin interfaceInnerSupportsGet<VirtualNetworkGatewayConnectionInner>- Parameters:
resourceGroupName- The name of the resource group.virtualNetworkGatewayConnectionName- The name of the virtual network gateway connection.- Returns:
- the specified virtual network gateway connection by resource group.
- 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 virtualNetworkGatewayConnectionName) Deletes the specified virtual network Gateway connection.- Parameters:
resourceGroupName- The name of the resource group.virtualNetworkGatewayConnectionName- The name of the virtual network gateway connection.- 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 virtualNetworkGatewayConnectionName) Deletes the specified virtual network Gateway connection.- Parameters:
resourceGroupName- The name of the resource group.virtualNetworkGatewayConnectionName- The name of the virtual network gateway connection.- 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 virtualNetworkGatewayConnectionName) Deletes the specified virtual network Gateway connection.- Parameters:
resourceGroupName- The name of the resource group.virtualNetworkGatewayConnectionName- The name of the virtual network gateway connection.- 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 virtualNetworkGatewayConnectionName, com.azure.core.util.Context context) Deletes the specified virtual network Gateway connection.- Parameters:
resourceGroupName- The name of the resource group.virtualNetworkGatewayConnectionName- The name of the virtual network gateway connection.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of long-running operation. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
deleteAsync
Deletes the specified virtual network Gateway connection.- Specified by:
deleteAsyncin interfaceInnerSupportsDelete<Void>- Parameters:
resourceGroupName- The name of the resource group.virtualNetworkGatewayConnectionName- The name of the virtual network gateway connection.- Returns:
- A
Monothat completes when a successful response is received. - Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
delete
Deletes the specified virtual network Gateway connection.- Parameters:
resourceGroupName- The name of the resource group.virtualNetworkGatewayConnectionName- The name of the virtual network gateway connection.- Throws:
IllegalArgumentException- thrown if parameters fail the validation.com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
delete
void delete(String resourceGroupName, String virtualNetworkGatewayConnectionName, com.azure.core.util.Context context) Deletes the specified virtual network Gateway connection.- Parameters:
resourceGroupName- The name of the resource group.virtualNetworkGatewayConnectionName- The name of the virtual network gateway connection.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.
-
updateTagsWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> updateTagsWithResponseAsync(String resourceGroupName, String virtualNetworkGatewayConnectionName, TagsObject parameters) Updates a virtual network gateway connection tags.- Parameters:
resourceGroupName- The name of the resource group.virtualNetworkGatewayConnectionName- The name of the virtual network gateway connection.parameters- Parameters supplied to update virtual network gateway connection tags.- Returns:
- a common class for general resource information 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<VirtualNetworkGatewayConnectionInner>,VirtualNetworkGatewayConnectionInner> beginUpdateTagsAsync(String resourceGroupName, String virtualNetworkGatewayConnectionName, TagsObject parameters) Updates a virtual network gateway connection tags.- Parameters:
resourceGroupName- The name of the resource group.virtualNetworkGatewayConnectionName- The name of the virtual network gateway connection.parameters- Parameters supplied to update virtual network gateway connection tags.- Returns:
- the
PollerFluxfor polling of a common class for general resource information. - 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<VirtualNetworkGatewayConnectionInner>,VirtualNetworkGatewayConnectionInner> beginUpdateTags(String resourceGroupName, String virtualNetworkGatewayConnectionName, TagsObject parameters) Updates a virtual network gateway connection tags.- Parameters:
resourceGroupName- The name of the resource group.virtualNetworkGatewayConnectionName- The name of the virtual network gateway connection.parameters- Parameters supplied to update virtual network gateway connection tags.- Returns:
- the
SyncPollerfor polling of a common class for general resource information. - 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<VirtualNetworkGatewayConnectionInner>,VirtualNetworkGatewayConnectionInner> beginUpdateTags(String resourceGroupName, String virtualNetworkGatewayConnectionName, TagsObject parameters, com.azure.core.util.Context context) Updates a virtual network gateway connection tags.- Parameters:
resourceGroupName- The name of the resource group.virtualNetworkGatewayConnectionName- The name of the virtual network gateway connection.parameters- Parameters supplied to update virtual network gateway connection tags.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of a common class for general resource information. - 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<VirtualNetworkGatewayConnectionInner> updateTagsAsync(String resourceGroupName, String virtualNetworkGatewayConnectionName, TagsObject parameters) Updates a virtual network gateway connection tags.- Parameters:
resourceGroupName- The name of the resource group.virtualNetworkGatewayConnectionName- The name of the virtual network gateway connection.parameters- Parameters supplied to update virtual network gateway connection tags.- Returns:
- a common class for general resource information 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
VirtualNetworkGatewayConnectionInner updateTags(String resourceGroupName, String virtualNetworkGatewayConnectionName, TagsObject parameters) Updates a virtual network gateway connection tags.- Parameters:
resourceGroupName- The name of the resource group.virtualNetworkGatewayConnectionName- The name of the virtual network gateway connection.parameters- Parameters supplied to update virtual network gateway connection tags.- Returns:
- a common class for general resource information.
- 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
VirtualNetworkGatewayConnectionInner updateTags(String resourceGroupName, String virtualNetworkGatewayConnectionName, TagsObject parameters, com.azure.core.util.Context context) Updates a virtual network gateway connection tags.- Parameters:
resourceGroupName- The name of the resource group.virtualNetworkGatewayConnectionName- The name of the virtual network gateway connection.parameters- Parameters supplied to update virtual network gateway connection tags.context- The context to associate with this operation.- Returns:
- a common class for general resource information.
- 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<VirtualNetworkGatewayConnectionInner> listByResourceGroupAsync(String resourceGroupName) The List VirtualNetworkGatewayConnections operation retrieves all the virtual network gateways connections created.- Parameters:
resourceGroupName- The name of the resource group.- Returns:
- response for the ListVirtualNetworkGatewayConnections API service call 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<VirtualNetworkGatewayConnectionInner> listByResourceGroup(String resourceGroupName) The List VirtualNetworkGatewayConnections operation retrieves all the virtual network gateways connections created.- Parameters:
resourceGroupName- The name of the resource group.- Returns:
- response for the ListVirtualNetworkGatewayConnections API service call 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<VirtualNetworkGatewayConnectionInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context) The List VirtualNetworkGatewayConnections operation retrieves all the virtual network gateways connections created.- Parameters:
resourceGroupName- The name of the resource group.context- The context to associate with this operation.- Returns:
- response for the ListVirtualNetworkGatewayConnections API service call 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.
-
startPacketCaptureWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> startPacketCaptureWithResponseAsync(String resourceGroupName, String virtualNetworkGatewayConnectionName, VpnPacketCaptureStartParameters parameters) Starts packet capture on virtual network gateway connection in the specified resource group.- Parameters:
resourceGroupName- The name of the resource group.virtualNetworkGatewayConnectionName- The name of the virtual network gateway connection.parameters- Virtual network gateway packet capture parameters supplied to start packet capture on gateway connection.- Returns:
- the response body along with
Responseon successful completion ofMono. - Throws:
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.
-
beginStartPacketCaptureAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<String>,String> beginStartPacketCaptureAsync(String resourceGroupName, String virtualNetworkGatewayConnectionName, VpnPacketCaptureStartParameters parameters) Starts packet capture on virtual network gateway connection in the specified resource group.- Parameters:
resourceGroupName- The name of the resource group.virtualNetworkGatewayConnectionName- The name of the virtual network gateway connection.parameters- Virtual network gateway packet capture parameters supplied to start packet capture on gateway connection.- Returns:
- the
PollerFluxfor polling of long-running operation. - Throws:
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.
-
beginStartPacketCaptureAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<String>,String> beginStartPacketCaptureAsync(String resourceGroupName, String virtualNetworkGatewayConnectionName) Starts packet capture on virtual network gateway connection in the specified resource group.- Parameters:
resourceGroupName- The name of the resource group.virtualNetworkGatewayConnectionName- The name of the virtual network gateway connection.- Returns:
- the
PollerFluxfor polling of long-running operation. - Throws:
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.
-
beginStartPacketCapture
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<String>,String> beginStartPacketCapture(String resourceGroupName, String virtualNetworkGatewayConnectionName) Starts packet capture on virtual network gateway connection in the specified resource group.- Parameters:
resourceGroupName- The name of the resource group.virtualNetworkGatewayConnectionName- The name of the virtual network gateway connection.- Returns:
- the
SyncPollerfor polling of long-running operation. - Throws:
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.
-
beginStartPacketCapture
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<String>,String> beginStartPacketCapture(String resourceGroupName, String virtualNetworkGatewayConnectionName, VpnPacketCaptureStartParameters parameters, com.azure.core.util.Context context) Starts packet capture on virtual network gateway connection in the specified resource group.- Parameters:
resourceGroupName- The name of the resource group.virtualNetworkGatewayConnectionName- The name of the virtual network gateway connection.parameters- Virtual network gateway packet capture parameters supplied to start packet capture on gateway connection.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of long-running operation. - Throws:
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.
-
startPacketCaptureAsync
Mono<String> startPacketCaptureAsync(String resourceGroupName, String virtualNetworkGatewayConnectionName, VpnPacketCaptureStartParameters parameters) Starts packet capture on virtual network gateway connection in the specified resource group.- Parameters:
resourceGroupName- The name of the resource group.virtualNetworkGatewayConnectionName- The name of the virtual network gateway connection.parameters- Virtual network gateway packet capture parameters supplied to start packet capture on gateway connection.- Returns:
- the response body on successful completion of
Mono. - Throws:
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.
-
startPacketCaptureAsync
Mono<String> startPacketCaptureAsync(String resourceGroupName, String virtualNetworkGatewayConnectionName) Starts packet capture on virtual network gateway connection in the specified resource group.- Parameters:
resourceGroupName- The name of the resource group.virtualNetworkGatewayConnectionName- The name of the virtual network gateway connection.- Returns:
- the response body on successful completion of
Mono. - Throws:
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.
-
startPacketCapture
Starts packet capture on virtual network gateway connection in the specified resource group.- Parameters:
resourceGroupName- The name of the resource group.virtualNetworkGatewayConnectionName- The name of the virtual network gateway connection.- Returns:
- the response.
- Throws:
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.
-
startPacketCapture
String startPacketCapture(String resourceGroupName, String virtualNetworkGatewayConnectionName, VpnPacketCaptureStartParameters parameters, com.azure.core.util.Context context) Starts packet capture on virtual network gateway connection in the specified resource group.- Parameters:
resourceGroupName- The name of the resource group.virtualNetworkGatewayConnectionName- The name of the virtual network gateway connection.parameters- Virtual network gateway packet capture parameters supplied to start packet capture on gateway connection.context- The context to associate with this operation.- Returns:
- the response.
- Throws:
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.
-
stopPacketCaptureWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> stopPacketCaptureWithResponseAsync(String resourceGroupName, String virtualNetworkGatewayConnectionName, VpnPacketCaptureStopParameters parameters) Stops packet capture on virtual network gateway connection in the specified resource group.- Parameters:
resourceGroupName- The name of the resource group.virtualNetworkGatewayConnectionName- The name of the virtual network gateway Connection.parameters- Virtual network gateway packet capture parameters supplied to stop packet capture on gateway connection.- Returns:
- the response body along with
Responseon successful completion ofMono. - Throws:
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.
-
beginStopPacketCaptureAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<String>,String> beginStopPacketCaptureAsync(String resourceGroupName, String virtualNetworkGatewayConnectionName, VpnPacketCaptureStopParameters parameters) Stops packet capture on virtual network gateway connection in the specified resource group.- Parameters:
resourceGroupName- The name of the resource group.virtualNetworkGatewayConnectionName- The name of the virtual network gateway Connection.parameters- Virtual network gateway packet capture parameters supplied to stop packet capture on gateway connection.- Returns:
- the
PollerFluxfor polling of long-running operation. - Throws:
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.
-
beginStopPacketCapture
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<String>,String> beginStopPacketCapture(String resourceGroupName, String virtualNetworkGatewayConnectionName, VpnPacketCaptureStopParameters parameters) Stops packet capture on virtual network gateway connection in the specified resource group.- Parameters:
resourceGroupName- The name of the resource group.virtualNetworkGatewayConnectionName- The name of the virtual network gateway Connection.parameters- Virtual network gateway packet capture parameters supplied to stop packet capture on gateway connection.- Returns:
- the
SyncPollerfor polling of long-running operation. - Throws:
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.
-
beginStopPacketCapture
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<String>,String> beginStopPacketCapture(String resourceGroupName, String virtualNetworkGatewayConnectionName, VpnPacketCaptureStopParameters parameters, com.azure.core.util.Context context) Stops packet capture on virtual network gateway connection in the specified resource group.- Parameters:
resourceGroupName- The name of the resource group.virtualNetworkGatewayConnectionName- The name of the virtual network gateway Connection.parameters- Virtual network gateway packet capture parameters supplied to stop packet capture on gateway connection.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of long-running operation. - Throws:
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.
-
stopPacketCaptureAsync
Mono<String> stopPacketCaptureAsync(String resourceGroupName, String virtualNetworkGatewayConnectionName, VpnPacketCaptureStopParameters parameters) Stops packet capture on virtual network gateway connection in the specified resource group.- Parameters:
resourceGroupName- The name of the resource group.virtualNetworkGatewayConnectionName- The name of the virtual network gateway Connection.parameters- Virtual network gateway packet capture parameters supplied to stop packet capture on gateway connection.- Returns:
- the response body on successful completion of
Mono. - Throws:
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.
-
stopPacketCapture
String stopPacketCapture(String resourceGroupName, String virtualNetworkGatewayConnectionName, VpnPacketCaptureStopParameters parameters) Stops packet capture on virtual network gateway connection in the specified resource group.- Parameters:
resourceGroupName- The name of the resource group.virtualNetworkGatewayConnectionName- The name of the virtual network gateway Connection.parameters- Virtual network gateway packet capture parameters supplied to stop packet capture on gateway connection.- Returns:
- the response.
- Throws:
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.
-
stopPacketCapture
String stopPacketCapture(String resourceGroupName, String virtualNetworkGatewayConnectionName, VpnPacketCaptureStopParameters parameters, com.azure.core.util.Context context) Stops packet capture on virtual network gateway connection in the specified resource group.- Parameters:
resourceGroupName- The name of the resource group.virtualNetworkGatewayConnectionName- The name of the virtual network gateway Connection.parameters- Virtual network gateway packet capture parameters supplied to stop packet capture on gateway connection.context- The context to associate with this operation.- Returns:
- the response.
- Throws:
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.
-
getIkeSasWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> getIkeSasWithResponseAsync(String resourceGroupName, String virtualNetworkGatewayConnectionName) Lists IKE Security Associations for the virtual network gateway connection in the specified resource group.- Parameters:
resourceGroupName- The name of the resource group.virtualNetworkGatewayConnectionName- The name of the virtual network gateway Connection.- 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.
-
beginGetIkeSasAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<String>,String> beginGetIkeSasAsync(String resourceGroupName, String virtualNetworkGatewayConnectionName) Lists IKE Security Associations for the virtual network gateway connection in the specified resource group.- Parameters:
resourceGroupName- The name of the resource group.virtualNetworkGatewayConnectionName- The name of the virtual network gateway Connection.- 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.
-
beginGetIkeSas
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<String>,String> beginGetIkeSas(String resourceGroupName, String virtualNetworkGatewayConnectionName) Lists IKE Security Associations for the virtual network gateway connection in the specified resource group.- Parameters:
resourceGroupName- The name of the resource group.virtualNetworkGatewayConnectionName- The name of the virtual network gateway Connection.- 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.
-
beginGetIkeSas
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<String>,String> beginGetIkeSas(String resourceGroupName, String virtualNetworkGatewayConnectionName, com.azure.core.util.Context context) Lists IKE Security Associations for the virtual network gateway connection in the specified resource group.- Parameters:
resourceGroupName- The name of the resource group.virtualNetworkGatewayConnectionName- The name of the virtual network gateway Connection.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.
-
getIkeSasAsync
Lists IKE Security Associations for the virtual network gateway connection in the specified resource group.- Parameters:
resourceGroupName- The name of the resource group.virtualNetworkGatewayConnectionName- The name of the virtual network gateway Connection.- 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.
-
getIkeSas
Lists IKE Security Associations for the virtual network gateway connection in the specified resource group.- Parameters:
resourceGroupName- The name of the resource group.virtualNetworkGatewayConnectionName- The name of the virtual network gateway Connection.- 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.
-
getIkeSas
String getIkeSas(String resourceGroupName, String virtualNetworkGatewayConnectionName, com.azure.core.util.Context context) Lists IKE Security Associations for the virtual network gateway connection in the specified resource group.- Parameters:
resourceGroupName- The name of the resource group.virtualNetworkGatewayConnectionName- The name of the virtual network gateway Connection.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.
-
resetConnectionWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> resetConnectionWithResponseAsync(String resourceGroupName, String virtualNetworkGatewayConnectionName) Resets the virtual network gateway connection specified.- Parameters:
resourceGroupName- The name of the resource group.virtualNetworkGatewayConnectionName- The name of the virtual network gateway Connection.- 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.
-
beginResetConnectionAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginResetConnectionAsync(String resourceGroupName, String virtualNetworkGatewayConnectionName) Resets the virtual network gateway connection specified.- Parameters:
resourceGroupName- The name of the resource group.virtualNetworkGatewayConnectionName- The name of the virtual network gateway Connection.- 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.
-
beginResetConnection
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginResetConnection(String resourceGroupName, String virtualNetworkGatewayConnectionName) Resets the virtual network gateway connection specified.- Parameters:
resourceGroupName- The name of the resource group.virtualNetworkGatewayConnectionName- The name of the virtual network gateway Connection.- 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.
-
beginResetConnection
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginResetConnection(String resourceGroupName, String virtualNetworkGatewayConnectionName, com.azure.core.util.Context context) Resets the virtual network gateway connection specified.- Parameters:
resourceGroupName- The name of the resource group.virtualNetworkGatewayConnectionName- The name of the virtual network gateway Connection.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.
-
resetConnectionAsync
Mono<Void> resetConnectionAsync(String resourceGroupName, String virtualNetworkGatewayConnectionName) Resets the virtual network gateway connection specified.- Parameters:
resourceGroupName- The name of the resource group.virtualNetworkGatewayConnectionName- The name of the virtual network gateway Connection.- 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.
-
resetConnection
Resets the virtual network gateway connection specified.- Parameters:
resourceGroupName- The name of the resource group.virtualNetworkGatewayConnectionName- The name of the virtual network gateway Connection.- 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.
-
resetConnection
void resetConnection(String resourceGroupName, String virtualNetworkGatewayConnectionName, com.azure.core.util.Context context) Resets the virtual network gateway connection specified.- Parameters:
resourceGroupName- The name of the resource group.virtualNetworkGatewayConnectionName- The name of the virtual network gateway Connection.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.
-