Interface P2SVpnGatewaysClient
- All Superinterfaces:
InnerSupportsDelete<Void>,InnerSupportsGet<P2SVpnGatewayInner>,InnerSupportsListing<P2SVpnGatewayInner>
public interface P2SVpnGatewaysClient
extends InnerSupportsGet<P2SVpnGatewayInner>, InnerSupportsListing<P2SVpnGatewayInner>, InnerSupportsDelete<Void>
An instance of this class provides access to all the operations defined in P2SVpnGatewaysClient.
-
Method Summary
Modifier and TypeMethodDescriptioncom.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<P2SVpnGatewayInner>, P2SVpnGatewayInner> beginCreateOrUpdate(String resourceGroupName, String gatewayName, P2SVpnGatewayInner p2SVpnGatewayParameters) Creates a virtual wan p2s vpn gateway if it doesn't exist else updates the existing gateway.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<P2SVpnGatewayInner>, P2SVpnGatewayInner> beginCreateOrUpdate(String resourceGroupName, String gatewayName, P2SVpnGatewayInner p2SVpnGatewayParameters, com.azure.core.util.Context context) Creates a virtual wan p2s vpn gateway if it doesn't exist else updates the existing gateway.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<P2SVpnGatewayInner>, P2SVpnGatewayInner> beginCreateOrUpdateAsync(String resourceGroupName, String gatewayName, P2SVpnGatewayInner p2SVpnGatewayParameters) Creates a virtual wan p2s vpn gateway if it doesn't exist else updates the existing gateway.beginDelete(String resourceGroupName, String gatewayName) Deletes a virtual wan p2s vpn gateway.beginDelete(String resourceGroupName, String gatewayName, com.azure.core.util.Context context) Deletes a virtual wan p2s vpn gateway.beginDeleteAsync(String resourceGroupName, String gatewayName) Deletes a virtual wan p2s vpn gateway.beginDisconnectP2SVpnConnections(String resourceGroupName, String p2SVpnGatewayName, P2SVpnConnectionRequest request) Disconnect P2S vpn connections of the virtual wan P2SVpnGateway in the specified resource group.beginDisconnectP2SVpnConnections(String resourceGroupName, String p2SVpnGatewayName, P2SVpnConnectionRequest request, com.azure.core.util.Context context) Disconnect P2S vpn connections of the virtual wan P2SVpnGateway in the specified resource group.beginDisconnectP2SVpnConnectionsAsync(String resourceGroupName, String p2SVpnGatewayName, P2SVpnConnectionRequest request) Disconnect P2S vpn connections of the virtual wan P2SVpnGateway in the specified resource group.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VpnProfileResponseInner>, VpnProfileResponseInner> beginGenerateVpnProfile(String resourceGroupName, String gatewayName, P2SVpnProfileParameters parameters) Generates VPN profile for P2S client of the P2SVpnGateway in the specified resource group.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VpnProfileResponseInner>, VpnProfileResponseInner> beginGenerateVpnProfile(String resourceGroupName, String gatewayName, P2SVpnProfileParameters parameters, com.azure.core.util.Context context) Generates VPN profile for P2S client of the P2SVpnGateway in the specified resource group.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<VpnProfileResponseInner>, VpnProfileResponseInner> beginGenerateVpnProfileAsync(String resourceGroupName, String gatewayName, P2SVpnProfileParameters parameters) Generates VPN profile for P2S client of the P2SVpnGateway in the specified resource group.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<P2SVpnGatewayInner>, P2SVpnGatewayInner> beginGetP2SVpnConnectionHealth(String resourceGroupName, String gatewayName) Gets the connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<P2SVpnGatewayInner>, P2SVpnGatewayInner> beginGetP2SVpnConnectionHealth(String resourceGroupName, String gatewayName, com.azure.core.util.Context context) Gets the connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<P2SVpnGatewayInner>, P2SVpnGatewayInner> beginGetP2SVpnConnectionHealthAsync(String resourceGroupName, String gatewayName) Gets the connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<P2SVpnConnectionHealthInner>, P2SVpnConnectionHealthInner> beginGetP2SVpnConnectionHealthDetailed(String resourceGroupName, String gatewayName, P2SVpnConnectionHealthRequest request) Gets the sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the specified resource group.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<P2SVpnConnectionHealthInner>, P2SVpnConnectionHealthInner> beginGetP2SVpnConnectionHealthDetailed(String resourceGroupName, String gatewayName, P2SVpnConnectionHealthRequest request, com.azure.core.util.Context context) Gets the sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the specified resource group.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<P2SVpnConnectionHealthInner>, P2SVpnConnectionHealthInner> beginGetP2SVpnConnectionHealthDetailedAsync(String resourceGroupName, String gatewayName, P2SVpnConnectionHealthRequest request) Gets the sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the specified resource group.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<P2SVpnGatewayInner>, P2SVpnGatewayInner> beginReset(String resourceGroupName, String gatewayName) Resets the primary of the p2s vpn gateway in the specified resource group.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<P2SVpnGatewayInner>, P2SVpnGatewayInner> beginReset(String resourceGroupName, String gatewayName, com.azure.core.util.Context context) Resets the primary of the p2s vpn gateway in the specified resource group.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<P2SVpnGatewayInner>, P2SVpnGatewayInner> beginResetAsync(String resourceGroupName, String gatewayName) Resets the primary of the p2s vpn gateway in the specified resource group.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<P2SVpnGatewayInner>, P2SVpnGatewayInner> beginUpdateTags(String resourceGroupName, String gatewayName, TagsObject p2SVpnGatewayParameters) Updates virtual wan p2s vpn gateway tags.com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<P2SVpnGatewayInner>, P2SVpnGatewayInner> beginUpdateTags(String resourceGroupName, String gatewayName, TagsObject p2SVpnGatewayParameters, com.azure.core.util.Context context) Updates virtual wan p2s vpn gateway tags.com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<P2SVpnGatewayInner>, P2SVpnGatewayInner> beginUpdateTagsAsync(String resourceGroupName, String gatewayName, TagsObject p2SVpnGatewayParameters) Updates virtual wan p2s vpn gateway tags.createOrUpdate(String resourceGroupName, String gatewayName, P2SVpnGatewayInner p2SVpnGatewayParameters) Creates a virtual wan p2s vpn gateway if it doesn't exist else updates the existing gateway.createOrUpdate(String resourceGroupName, String gatewayName, P2SVpnGatewayInner p2SVpnGatewayParameters, com.azure.core.util.Context context) Creates a virtual wan p2s vpn gateway if it doesn't exist else updates the existing gateway.createOrUpdateAsync(String resourceGroupName, String gatewayName, P2SVpnGatewayInner p2SVpnGatewayParameters) Creates a virtual wan p2s 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, P2SVpnGatewayInner p2SVpnGatewayParameters) Creates a virtual wan p2s vpn gateway if it doesn't exist else updates the existing gateway.voidDeletes a virtual wan p2s vpn gateway.voidDeletes a virtual wan p2s vpn gateway.deleteAsync(String resourceGroupName, String gatewayName) Deletes a virtual wan p2s vpn gateway.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String gatewayName) Deletes a virtual wan p2s vpn gateway.voiddisconnectP2SVpnConnections(String resourceGroupName, String p2SVpnGatewayName, P2SVpnConnectionRequest request) Disconnect P2S vpn connections of the virtual wan P2SVpnGateway in the specified resource group.voiddisconnectP2SVpnConnections(String resourceGroupName, String p2SVpnGatewayName, P2SVpnConnectionRequest request, com.azure.core.util.Context context) Disconnect P2S vpn connections of the virtual wan P2SVpnGateway in the specified resource group.disconnectP2SVpnConnectionsAsync(String resourceGroupName, String p2SVpnGatewayName, P2SVpnConnectionRequest request) Disconnect P2S vpn connections of the virtual wan P2SVpnGateway in the specified resource group.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> disconnectP2SVpnConnectionsWithResponseAsync(String resourceGroupName, String p2SVpnGatewayName, P2SVpnConnectionRequest request) Disconnect P2S vpn connections of the virtual wan P2SVpnGateway in the specified resource group.generateVpnProfile(String resourceGroupName, String gatewayName, P2SVpnProfileParameters parameters) Generates VPN profile for P2S client of the P2SVpnGateway in the specified resource group.generateVpnProfile(String resourceGroupName, String gatewayName, P2SVpnProfileParameters parameters, com.azure.core.util.Context context) Generates VPN profile for P2S client of the P2SVpnGateway in the specified resource group.generateVpnProfileAsync(String resourceGroupName, String gatewayName, P2SVpnProfileParameters parameters) Generates VPN profile for P2S client of the P2SVpnGateway in the specified resource group.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> generateVpnProfileWithResponseAsync(String resourceGroupName, String gatewayName, P2SVpnProfileParameters parameters) Generates VPN profile for P2S client of the P2SVpnGateway in the specified resource group.getByResourceGroup(String resourceGroupName, String gatewayName) Retrieves the details of a virtual wan p2s vpn gateway.getByResourceGroupAsync(String resourceGroupName, String gatewayName) Retrieves the details of a virtual wan p2s vpn gateway.com.azure.core.http.rest.Response<P2SVpnGatewayInner> getByResourceGroupWithResponse(String resourceGroupName, String gatewayName, com.azure.core.util.Context context) Retrieves the details of a virtual wan p2s vpn gateway.Mono<com.azure.core.http.rest.Response<P2SVpnGatewayInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String gatewayName) Retrieves the details of a virtual wan p2s vpn gateway.getP2SVpnConnectionHealth(String resourceGroupName, String gatewayName) Gets the connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group.getP2SVpnConnectionHealth(String resourceGroupName, String gatewayName, com.azure.core.util.Context context) Gets the connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group.getP2SVpnConnectionHealthAsync(String resourceGroupName, String gatewayName) Gets the connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group.getP2SVpnConnectionHealthDetailed(String resourceGroupName, String gatewayName, P2SVpnConnectionHealthRequest request) Gets the sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the specified resource group.getP2SVpnConnectionHealthDetailed(String resourceGroupName, String gatewayName, P2SVpnConnectionHealthRequest request, com.azure.core.util.Context context) Gets the sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the specified resource group.getP2SVpnConnectionHealthDetailedAsync(String resourceGroupName, String gatewayName, P2SVpnConnectionHealthRequest request) Gets the sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the specified resource group.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> getP2SVpnConnectionHealthDetailedWithResponseAsync(String resourceGroupName, String gatewayName, P2SVpnConnectionHealthRequest request) Gets the sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the specified resource group.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> getP2SVpnConnectionHealthWithResponseAsync(String resourceGroupName, String gatewayName) Gets the connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group.com.azure.core.http.rest.PagedIterable<P2SVpnGatewayInner> list()Lists all the P2SVpnGateways in a subscription.com.azure.core.http.rest.PagedIterable<P2SVpnGatewayInner> list(com.azure.core.util.Context context) Lists all the P2SVpnGateways in a subscription.com.azure.core.http.rest.PagedFlux<P2SVpnGatewayInner> Lists all the P2SVpnGateways in a subscription.com.azure.core.http.rest.PagedIterable<P2SVpnGatewayInner> listByResourceGroup(String resourceGroupName) Lists all the P2SVpnGateways in a resource group.com.azure.core.http.rest.PagedIterable<P2SVpnGatewayInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context) Lists all the P2SVpnGateways in a resource group.com.azure.core.http.rest.PagedFlux<P2SVpnGatewayInner> listByResourceGroupAsync(String resourceGroupName) Lists all the P2SVpnGateways in a resource group.Resets the primary of the p2s vpn gateway in the specified resource group.Resets the primary of the p2s vpn gateway in the specified resource group.resetAsync(String resourceGroupName, String gatewayName) Resets the primary of the p2s vpn gateway in the specified resource group.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> resetWithResponseAsync(String resourceGroupName, String gatewayName) Resets the primary of the p2s vpn gateway in the specified resource group.updateTags(String resourceGroupName, String gatewayName, TagsObject p2SVpnGatewayParameters) Updates virtual wan p2s vpn gateway tags.updateTags(String resourceGroupName, String gatewayName, TagsObject p2SVpnGatewayParameters, com.azure.core.util.Context context) Updates virtual wan p2s vpn gateway tags.updateTagsAsync(String resourceGroupName, String gatewayName, TagsObject p2SVpnGatewayParameters) Updates virtual wan p2s vpn gateway tags.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> updateTagsWithResponseAsync(String resourceGroupName, String gatewayName, TagsObject p2SVpnGatewayParameters) Updates virtual wan p2s vpn gateway tags.
-
Method Details
-
getByResourceGroupWithResponseAsync
Mono<com.azure.core.http.rest.Response<P2SVpnGatewayInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String gatewayName) Retrieves the details of a virtual wan p2s vpn gateway.- Parameters:
resourceGroupName- The resource group name of the P2SVpnGateway.gatewayName- The name of the gateway.- Returns:
- p2SVpnGateway 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 p2s vpn gateway.- Specified by:
getByResourceGroupAsyncin interfaceInnerSupportsGet<P2SVpnGatewayInner>- Parameters:
resourceGroupName- The resource group name of the P2SVpnGateway.gatewayName- The name of the gateway.- Returns:
- p2SVpnGateway 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<P2SVpnGatewayInner> getByResourceGroupWithResponse(String resourceGroupName, String gatewayName, com.azure.core.util.Context context) Retrieves the details of a virtual wan p2s vpn gateway.- Parameters:
resourceGroupName- The resource group name of the P2SVpnGateway.gatewayName- The name of the gateway.context- The context to associate with this operation.- Returns:
- p2SVpnGateway 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 p2s vpn gateway.- Specified by:
getByResourceGroupin interfaceInnerSupportsGet<P2SVpnGatewayInner>- Parameters:
resourceGroupName- The resource group name of the P2SVpnGateway.gatewayName- The name of the gateway.- Returns:
- p2SVpnGateway 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, P2SVpnGatewayInner p2SVpnGatewayParameters) Creates a virtual wan p2s vpn gateway if it doesn't exist else updates the existing gateway.- Parameters:
resourceGroupName- The resource group name of the P2SVpnGateway.gatewayName- The name of the gateway.p2SVpnGatewayParameters- Parameters supplied to create or Update a virtual wan p2s vpn gateway.- Returns:
- p2SVpnGateway 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<P2SVpnGatewayInner>,P2SVpnGatewayInner> beginCreateOrUpdateAsync(String resourceGroupName, String gatewayName, P2SVpnGatewayInner p2SVpnGatewayParameters) Creates a virtual wan p2s vpn gateway if it doesn't exist else updates the existing gateway.- Parameters:
resourceGroupName- The resource group name of the P2SVpnGateway.gatewayName- The name of the gateway.p2SVpnGatewayParameters- Parameters supplied to create or Update a virtual wan p2s vpn gateway.- Returns:
- the
PollerFluxfor polling of p2SVpnGateway 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<P2SVpnGatewayInner>,P2SVpnGatewayInner> beginCreateOrUpdate(String resourceGroupName, String gatewayName, P2SVpnGatewayInner p2SVpnGatewayParameters) Creates a virtual wan p2s vpn gateway if it doesn't exist else updates the existing gateway.- Parameters:
resourceGroupName- The resource group name of the P2SVpnGateway.gatewayName- The name of the gateway.p2SVpnGatewayParameters- Parameters supplied to create or Update a virtual wan p2s vpn gateway.- Returns:
- the
SyncPollerfor polling of p2SVpnGateway 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<P2SVpnGatewayInner>,P2SVpnGatewayInner> beginCreateOrUpdate(String resourceGroupName, String gatewayName, P2SVpnGatewayInner p2SVpnGatewayParameters, com.azure.core.util.Context context) Creates a virtual wan p2s vpn gateway if it doesn't exist else updates the existing gateway.- Parameters:
resourceGroupName- The resource group name of the P2SVpnGateway.gatewayName- The name of the gateway.p2SVpnGatewayParameters- Parameters supplied to create or Update a virtual wan p2s vpn gateway.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of p2SVpnGateway 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<P2SVpnGatewayInner> createOrUpdateAsync(String resourceGroupName, String gatewayName, P2SVpnGatewayInner p2SVpnGatewayParameters) Creates a virtual wan p2s vpn gateway if it doesn't exist else updates the existing gateway.- Parameters:
resourceGroupName- The resource group name of the P2SVpnGateway.gatewayName- The name of the gateway.p2SVpnGatewayParameters- Parameters supplied to create or Update a virtual wan p2s vpn gateway.- Returns:
- p2SVpnGateway 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
P2SVpnGatewayInner createOrUpdate(String resourceGroupName, String gatewayName, P2SVpnGatewayInner p2SVpnGatewayParameters) Creates a virtual wan p2s vpn gateway if it doesn't exist else updates the existing gateway.- Parameters:
resourceGroupName- The resource group name of the P2SVpnGateway.gatewayName- The name of the gateway.p2SVpnGatewayParameters- Parameters supplied to create or Update a virtual wan p2s vpn gateway.- Returns:
- p2SVpnGateway 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
P2SVpnGatewayInner createOrUpdate(String resourceGroupName, String gatewayName, P2SVpnGatewayInner p2SVpnGatewayParameters, com.azure.core.util.Context context) Creates a virtual wan p2s vpn gateway if it doesn't exist else updates the existing gateway.- Parameters:
resourceGroupName- The resource group name of the P2SVpnGateway.gatewayName- The name of the gateway.p2SVpnGatewayParameters- Parameters supplied to create or Update a virtual wan p2s vpn gateway.context- The context to associate with this operation.- Returns:
- p2SVpnGateway 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 p2SVpnGatewayParameters) Updates virtual wan p2s vpn gateway tags.- Parameters:
resourceGroupName- The resource group name of the P2SVpnGateway.gatewayName- The name of the gateway.p2SVpnGatewayParameters- Parameters supplied to update a virtual wan p2s vpn gateway tags.- Returns:
- p2SVpnGateway 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<P2SVpnGatewayInner>,P2SVpnGatewayInner> beginUpdateTagsAsync(String resourceGroupName, String gatewayName, TagsObject p2SVpnGatewayParameters) Updates virtual wan p2s vpn gateway tags.- Parameters:
resourceGroupName- The resource group name of the P2SVpnGateway.gatewayName- The name of the gateway.p2SVpnGatewayParameters- Parameters supplied to update a virtual wan p2s vpn gateway tags.- Returns:
- the
PollerFluxfor polling of p2SVpnGateway 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<P2SVpnGatewayInner>,P2SVpnGatewayInner> beginUpdateTags(String resourceGroupName, String gatewayName, TagsObject p2SVpnGatewayParameters) Updates virtual wan p2s vpn gateway tags.- Parameters:
resourceGroupName- The resource group name of the P2SVpnGateway.gatewayName- The name of the gateway.p2SVpnGatewayParameters- Parameters supplied to update a virtual wan p2s vpn gateway tags.- Returns:
- the
SyncPollerfor polling of p2SVpnGateway 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<P2SVpnGatewayInner>,P2SVpnGatewayInner> beginUpdateTags(String resourceGroupName, String gatewayName, TagsObject p2SVpnGatewayParameters, com.azure.core.util.Context context) Updates virtual wan p2s vpn gateway tags.- Parameters:
resourceGroupName- The resource group name of the P2SVpnGateway.gatewayName- The name of the gateway.p2SVpnGatewayParameters- Parameters supplied to update a virtual wan p2s vpn gateway tags.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of p2SVpnGateway 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<P2SVpnGatewayInner> updateTagsAsync(String resourceGroupName, String gatewayName, TagsObject p2SVpnGatewayParameters) Updates virtual wan p2s vpn gateway tags.- Parameters:
resourceGroupName- The resource group name of the P2SVpnGateway.gatewayName- The name of the gateway.p2SVpnGatewayParameters- Parameters supplied to update a virtual wan p2s vpn gateway tags.- Returns:
- p2SVpnGateway 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
P2SVpnGatewayInner updateTags(String resourceGroupName, String gatewayName, TagsObject p2SVpnGatewayParameters) Updates virtual wan p2s vpn gateway tags.- Parameters:
resourceGroupName- The resource group name of the P2SVpnGateway.gatewayName- The name of the gateway.p2SVpnGatewayParameters- Parameters supplied to update a virtual wan p2s vpn gateway tags.- Returns:
- p2SVpnGateway 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
P2SVpnGatewayInner updateTags(String resourceGroupName, String gatewayName, TagsObject p2SVpnGatewayParameters, com.azure.core.util.Context context) Updates virtual wan p2s vpn gateway tags.- Parameters:
resourceGroupName- The resource group name of the P2SVpnGateway.gatewayName- The name of the gateway.p2SVpnGatewayParameters- Parameters supplied to update a virtual wan p2s vpn gateway tags.context- The context to associate with this operation.- Returns:
- p2SVpnGateway 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 p2s vpn gateway.- Parameters:
resourceGroupName- The resource group name of the P2SVpnGateway.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 p2s vpn gateway.- Parameters:
resourceGroupName- The resource group name of the P2SVpnGateway.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 p2s vpn gateway.- Parameters:
resourceGroupName- The resource group name of the P2SVpnGateway.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 p2s vpn gateway.- Parameters:
resourceGroupName- The resource group name of the P2SVpnGateway.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 p2s vpn gateway.- Specified by:
deleteAsyncin interfaceInnerSupportsDelete<Void>- Parameters:
resourceGroupName- The resource group name of the P2SVpnGateway.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 p2s vpn gateway.- Parameters:
resourceGroupName- The resource group name of the P2SVpnGateway.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 p2s vpn gateway.- Parameters:
resourceGroupName- The resource group name of the P2SVpnGateway.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.
-
listByResourceGroupAsync
com.azure.core.http.rest.PagedFlux<P2SVpnGatewayInner> listByResourceGroupAsync(String resourceGroupName) Lists all the P2SVpnGateways in a resource group.- Specified by:
listByResourceGroupAsyncin interfaceInnerSupportsListing<P2SVpnGatewayInner>- Parameters:
resourceGroupName- The resource group name of the P2SVpnGateway.- Returns:
- result of the request to list P2SVpnGateways 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<P2SVpnGatewayInner> listByResourceGroup(String resourceGroupName) Lists all the P2SVpnGateways in a resource group.- Specified by:
listByResourceGroupin interfaceInnerSupportsListing<P2SVpnGatewayInner>- Parameters:
resourceGroupName- The resource group name of the P2SVpnGateway.- Returns:
- result of the request to list P2SVpnGateways 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<P2SVpnGatewayInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context) Lists all the P2SVpnGateways in a resource group.- Parameters:
resourceGroupName- The resource group name of the P2SVpnGateway.context- The context to associate with this operation.- Returns:
- result of the request to list P2SVpnGateways 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<P2SVpnGatewayInner> listAsync()Lists all the P2SVpnGateways in a subscription.- Specified by:
listAsyncin interfaceInnerSupportsListing<P2SVpnGatewayInner>- Returns:
- result of the request to list P2SVpnGateways 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<P2SVpnGatewayInner> list()Lists all the P2SVpnGateways in a subscription.- Specified by:
listin interfaceInnerSupportsListing<P2SVpnGatewayInner>- Returns:
- result of the request to list P2SVpnGateways as paginated response with
PagedIterable. - Throws:
com.azure.core.management.exception.ManagementException- thrown if the request is rejected by server.RuntimeException- all other wrapped checked exceptions if the request fails to be sent.
-
list
com.azure.core.http.rest.PagedIterable<P2SVpnGatewayInner> list(com.azure.core.util.Context context) Lists all the P2SVpnGateways in a subscription.- Parameters:
context- The context to associate with this operation.- Returns:
- result of the request to list P2SVpnGateways 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.
-
resetWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> resetWithResponseAsync(String resourceGroupName, String gatewayName) Resets the primary of the p2s vpn gateway in the specified resource group.- Parameters:
resourceGroupName- The resource group name of the P2SVpnGateway.gatewayName- The name of the gateway.- Returns:
- p2SVpnGateway 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<P2SVpnGatewayInner>,P2SVpnGatewayInner> beginResetAsync(String resourceGroupName, String gatewayName) Resets the primary of the p2s vpn gateway in the specified resource group.- Parameters:
resourceGroupName- The resource group name of the P2SVpnGateway.gatewayName- The name of the gateway.- Returns:
- the
PollerFluxfor polling of p2SVpnGateway 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<P2SVpnGatewayInner>,P2SVpnGatewayInner> beginReset(String resourceGroupName, String gatewayName) Resets the primary of the p2s vpn gateway in the specified resource group.- Parameters:
resourceGroupName- The resource group name of the P2SVpnGateway.gatewayName- The name of the gateway.- Returns:
- the
SyncPollerfor polling of p2SVpnGateway 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<P2SVpnGatewayInner>,P2SVpnGatewayInner> beginReset(String resourceGroupName, String gatewayName, com.azure.core.util.Context context) Resets the primary of the p2s vpn gateway in the specified resource group.- Parameters:
resourceGroupName- The resource group name of the P2SVpnGateway.gatewayName- The name of the gateway.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of p2SVpnGateway 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
Resets the primary of the p2s vpn gateway in the specified resource group.- Parameters:
resourceGroupName- The resource group name of the P2SVpnGateway.gatewayName- The name of the gateway.- Returns:
- p2SVpnGateway 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 p2s vpn gateway in the specified resource group.- Parameters:
resourceGroupName- The resource group name of the P2SVpnGateway.gatewayName- The name of the gateway.- Returns:
- p2SVpnGateway 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
P2SVpnGatewayInner reset(String resourceGroupName, String gatewayName, com.azure.core.util.Context context) Resets the primary of the p2s vpn gateway in the specified resource group.- Parameters:
resourceGroupName- The resource group name of the P2SVpnGateway.gatewayName- The name of the gateway.context- The context to associate with this operation.- Returns:
- p2SVpnGateway 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.
-
generateVpnProfileWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> generateVpnProfileWithResponseAsync(String resourceGroupName, String gatewayName, P2SVpnProfileParameters parameters) Generates VPN profile for P2S client of the P2SVpnGateway in the specified resource group.- Parameters:
resourceGroupName- The name of the resource group.gatewayName- The name of the P2SVpnGateway.parameters- Parameters supplied to the generate P2SVpnGateway VPN client package operation.- Returns:
- vpn Profile Response for package generation 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.
-
beginGenerateVpnProfileAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<VpnProfileResponseInner>,VpnProfileResponseInner> beginGenerateVpnProfileAsync(String resourceGroupName, String gatewayName, P2SVpnProfileParameters parameters) Generates VPN profile for P2S client of the P2SVpnGateway in the specified resource group.- Parameters:
resourceGroupName- The name of the resource group.gatewayName- The name of the P2SVpnGateway.parameters- Parameters supplied to the generate P2SVpnGateway VPN client package operation.- Returns:
- the
PollerFluxfor polling of vpn Profile Response for package generation. - 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.
-
beginGenerateVpnProfile
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VpnProfileResponseInner>,VpnProfileResponseInner> beginGenerateVpnProfile(String resourceGroupName, String gatewayName, P2SVpnProfileParameters parameters) Generates VPN profile for P2S client of the P2SVpnGateway in the specified resource group.- Parameters:
resourceGroupName- The name of the resource group.gatewayName- The name of the P2SVpnGateway.parameters- Parameters supplied to the generate P2SVpnGateway VPN client package operation.- Returns:
- the
SyncPollerfor polling of vpn Profile Response for package generation. - 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.
-
beginGenerateVpnProfile
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VpnProfileResponseInner>,VpnProfileResponseInner> beginGenerateVpnProfile(String resourceGroupName, String gatewayName, P2SVpnProfileParameters parameters, com.azure.core.util.Context context) Generates VPN profile for P2S client of the P2SVpnGateway in the specified resource group.- Parameters:
resourceGroupName- The name of the resource group.gatewayName- The name of the P2SVpnGateway.parameters- Parameters supplied to the generate P2SVpnGateway VPN client package operation.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of vpn Profile Response for package generation. - 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.
-
generateVpnProfileAsync
Mono<VpnProfileResponseInner> generateVpnProfileAsync(String resourceGroupName, String gatewayName, P2SVpnProfileParameters parameters) Generates VPN profile for P2S client of the P2SVpnGateway in the specified resource group.- Parameters:
resourceGroupName- The name of the resource group.gatewayName- The name of the P2SVpnGateway.parameters- Parameters supplied to the generate P2SVpnGateway VPN client package operation.- Returns:
- vpn Profile Response for package generation 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.
-
generateVpnProfile
VpnProfileResponseInner generateVpnProfile(String resourceGroupName, String gatewayName, P2SVpnProfileParameters parameters) Generates VPN profile for P2S client of the P2SVpnGateway in the specified resource group.- Parameters:
resourceGroupName- The name of the resource group.gatewayName- The name of the P2SVpnGateway.parameters- Parameters supplied to the generate P2SVpnGateway VPN client package operation.- Returns:
- vpn Profile Response for package generation.
- 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.
-
generateVpnProfile
VpnProfileResponseInner generateVpnProfile(String resourceGroupName, String gatewayName, P2SVpnProfileParameters parameters, com.azure.core.util.Context context) Generates VPN profile for P2S client of the P2SVpnGateway in the specified resource group.- Parameters:
resourceGroupName- The name of the resource group.gatewayName- The name of the P2SVpnGateway.parameters- Parameters supplied to the generate P2SVpnGateway VPN client package operation.context- The context to associate with this operation.- Returns:
- vpn Profile Response for package generation.
- 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.
-
getP2SVpnConnectionHealthWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> getP2SVpnConnectionHealthWithResponseAsync(String resourceGroupName, String gatewayName) Gets the connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group.- Parameters:
resourceGroupName- The name of the resource group.gatewayName- The name of the P2SVpnGateway.- Returns:
- the connection health of P2S clients of the virtual wan P2SVpnGateway in the specified 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.
-
beginGetP2SVpnConnectionHealthAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<P2SVpnGatewayInner>,P2SVpnGatewayInner> beginGetP2SVpnConnectionHealthAsync(String resourceGroupName, String gatewayName) Gets the connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group.- Parameters:
resourceGroupName- The name of the resource group.gatewayName- The name of the P2SVpnGateway.- Returns:
- the
PollerFluxfor polling of the connection health of P2S clients of the virtual wan P2SVpnGateway in the specified 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.
-
beginGetP2SVpnConnectionHealth
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<P2SVpnGatewayInner>,P2SVpnGatewayInner> beginGetP2SVpnConnectionHealth(String resourceGroupName, String gatewayName) Gets the connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group.- Parameters:
resourceGroupName- The name of the resource group.gatewayName- The name of the P2SVpnGateway.- Returns:
- the
SyncPollerfor polling of the connection health of P2S clients of the virtual wan P2SVpnGateway in the specified 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.
-
beginGetP2SVpnConnectionHealth
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<P2SVpnGatewayInner>,P2SVpnGatewayInner> beginGetP2SVpnConnectionHealth(String resourceGroupName, String gatewayName, com.azure.core.util.Context context) Gets the connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group.- Parameters:
resourceGroupName- The name of the resource group.gatewayName- The name of the P2SVpnGateway.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of the connection health of P2S clients of the virtual wan P2SVpnGateway in the specified 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.
-
getP2SVpnConnectionHealthAsync
Mono<P2SVpnGatewayInner> getP2SVpnConnectionHealthAsync(String resourceGroupName, String gatewayName) Gets the connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group.- Parameters:
resourceGroupName- The name of the resource group.gatewayName- The name of the P2SVpnGateway.- Returns:
- the connection health of P2S clients of the virtual wan P2SVpnGateway in the specified 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.
-
getP2SVpnConnectionHealth
Gets the connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group.- Parameters:
resourceGroupName- The name of the resource group.gatewayName- The name of the P2SVpnGateway.- Returns:
- the connection health of P2S clients of the virtual wan P2SVpnGateway in the specified 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.
-
getP2SVpnConnectionHealth
P2SVpnGatewayInner getP2SVpnConnectionHealth(String resourceGroupName, String gatewayName, com.azure.core.util.Context context) Gets the connection health of P2S clients of the virtual wan P2SVpnGateway in the specified resource group.- Parameters:
resourceGroupName- The name of the resource group.gatewayName- The name of the P2SVpnGateway.context- The context to associate with this operation.- Returns:
- the connection health of P2S clients of the virtual wan P2SVpnGateway in the specified 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.
-
getP2SVpnConnectionHealthDetailedWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> getP2SVpnConnectionHealthDetailedWithResponseAsync(String resourceGroupName, String gatewayName, P2SVpnConnectionHealthRequest request) Gets the sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the specified resource group.- Parameters:
resourceGroupName- The name of the resource group.gatewayName- The name of the P2SVpnGateway.request- Request parameters supplied to get p2s vpn connections detailed health.- Returns:
- the sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the
specified 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.
-
beginGetP2SVpnConnectionHealthDetailedAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<P2SVpnConnectionHealthInner>,P2SVpnConnectionHealthInner> beginGetP2SVpnConnectionHealthDetailedAsync(String resourceGroupName, String gatewayName, P2SVpnConnectionHealthRequest request) Gets the sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the specified resource group.- Parameters:
resourceGroupName- The name of the resource group.gatewayName- The name of the P2SVpnGateway.request- Request parameters supplied to get p2s vpn connections detailed health.- Returns:
- the
PollerFluxfor polling of the sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the specified 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.
-
beginGetP2SVpnConnectionHealthDetailed
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<P2SVpnConnectionHealthInner>,P2SVpnConnectionHealthInner> beginGetP2SVpnConnectionHealthDetailed(String resourceGroupName, String gatewayName, P2SVpnConnectionHealthRequest request) Gets the sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the specified resource group.- Parameters:
resourceGroupName- The name of the resource group.gatewayName- The name of the P2SVpnGateway.request- Request parameters supplied to get p2s vpn connections detailed health.- Returns:
- the
SyncPollerfor polling of the sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the specified 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.
-
beginGetP2SVpnConnectionHealthDetailed
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<P2SVpnConnectionHealthInner>,P2SVpnConnectionHealthInner> beginGetP2SVpnConnectionHealthDetailed(String resourceGroupName, String gatewayName, P2SVpnConnectionHealthRequest request, com.azure.core.util.Context context) Gets the sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the specified resource group.- Parameters:
resourceGroupName- The name of the resource group.gatewayName- The name of the P2SVpnGateway.request- Request parameters supplied to get p2s vpn connections detailed health.context- The context to associate with this operation.- Returns:
- the
SyncPollerfor polling of the sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the specified 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.
-
getP2SVpnConnectionHealthDetailedAsync
Mono<P2SVpnConnectionHealthInner> getP2SVpnConnectionHealthDetailedAsync(String resourceGroupName, String gatewayName, P2SVpnConnectionHealthRequest request) Gets the sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the specified resource group.- Parameters:
resourceGroupName- The name of the resource group.gatewayName- The name of the P2SVpnGateway.request- Request parameters supplied to get p2s vpn connections detailed health.- Returns:
- the sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the
specified 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.
-
getP2SVpnConnectionHealthDetailed
P2SVpnConnectionHealthInner getP2SVpnConnectionHealthDetailed(String resourceGroupName, String gatewayName, P2SVpnConnectionHealthRequest request) Gets the sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the specified resource group.- Parameters:
resourceGroupName- The name of the resource group.gatewayName- The name of the P2SVpnGateway.request- Request parameters supplied to get p2s vpn connections detailed health.- Returns:
- the sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the specified 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.
-
getP2SVpnConnectionHealthDetailed
P2SVpnConnectionHealthInner getP2SVpnConnectionHealthDetailed(String resourceGroupName, String gatewayName, P2SVpnConnectionHealthRequest request, com.azure.core.util.Context context) Gets the sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the specified resource group.- Parameters:
resourceGroupName- The name of the resource group.gatewayName- The name of the P2SVpnGateway.request- Request parameters supplied to get p2s vpn connections detailed health.context- The context to associate with this operation.- Returns:
- the sas url to get the connection health detail of P2S clients of the virtual wan P2SVpnGateway in the specified 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.
-
disconnectP2SVpnConnectionsWithResponseAsync
Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> disconnectP2SVpnConnectionsWithResponseAsync(String resourceGroupName, String p2SVpnGatewayName, P2SVpnConnectionRequest request) Disconnect P2S vpn connections of the virtual wan P2SVpnGateway in the specified resource group.- Parameters:
resourceGroupName- The name of the resource group.p2SVpnGatewayName- The name of the P2S Vpn Gateway.request- The parameters are supplied to disconnect p2s vpn connections.- 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.
-
beginDisconnectP2SVpnConnectionsAsync
com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginDisconnectP2SVpnConnectionsAsync(String resourceGroupName, String p2SVpnGatewayName, P2SVpnConnectionRequest request) Disconnect P2S vpn connections of the virtual wan P2SVpnGateway in the specified resource group.- Parameters:
resourceGroupName- The name of the resource group.p2SVpnGatewayName- The name of the P2S Vpn Gateway.request- The parameters are supplied to disconnect p2s vpn connections.- 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.
-
beginDisconnectP2SVpnConnections
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDisconnectP2SVpnConnections(String resourceGroupName, String p2SVpnGatewayName, P2SVpnConnectionRequest request) Disconnect P2S vpn connections of the virtual wan P2SVpnGateway in the specified resource group.- Parameters:
resourceGroupName- The name of the resource group.p2SVpnGatewayName- The name of the P2S Vpn Gateway.request- The parameters are supplied to disconnect p2s vpn connections.- 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.
-
beginDisconnectP2SVpnConnections
com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDisconnectP2SVpnConnections(String resourceGroupName, String p2SVpnGatewayName, P2SVpnConnectionRequest request, com.azure.core.util.Context context) Disconnect P2S vpn connections of the virtual wan P2SVpnGateway in the specified resource group.- Parameters:
resourceGroupName- The name of the resource group.p2SVpnGatewayName- The name of the P2S Vpn Gateway.request- The parameters are supplied to disconnect p2s vpn connections.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.
-
disconnectP2SVpnConnectionsAsync
Mono<Void> disconnectP2SVpnConnectionsAsync(String resourceGroupName, String p2SVpnGatewayName, P2SVpnConnectionRequest request) Disconnect P2S vpn connections of the virtual wan P2SVpnGateway in the specified resource group.- Parameters:
resourceGroupName- The name of the resource group.p2SVpnGatewayName- The name of the P2S Vpn Gateway.request- The parameters are supplied to disconnect p2s vpn connections.- 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.
-
disconnectP2SVpnConnections
void disconnectP2SVpnConnections(String resourceGroupName, String p2SVpnGatewayName, P2SVpnConnectionRequest request) Disconnect P2S vpn connections of the virtual wan P2SVpnGateway in the specified resource group.- Parameters:
resourceGroupName- The name of the resource group.p2SVpnGatewayName- The name of the P2S Vpn Gateway.request- The parameters are supplied to disconnect p2s vpn connections.- 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.
-
disconnectP2SVpnConnections
void disconnectP2SVpnConnections(String resourceGroupName, String p2SVpnGatewayName, P2SVpnConnectionRequest request, com.azure.core.util.Context context) Disconnect P2S vpn connections of the virtual wan P2SVpnGateway in the specified resource group.- Parameters:
resourceGroupName- The name of the resource group.p2SVpnGatewayName- The name of the P2S Vpn Gateway.request- The parameters are supplied to disconnect p2s vpn connections.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.
-