Interface P2SVpnGatewaysClient

All Superinterfaces:
InnerSupportsDelete<Void>, InnerSupportsGet<P2SVpnGatewayInner>, InnerSupportsListing<P2SVpnGatewayInner>

An instance of this class provides access to all the operations defined in P2SVpnGatewaysClient.
  • 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 Response 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.
    • getByResourceGroupAsync

      Mono<P2SVpnGatewayInner> getByResourceGroupAsync(String resourceGroupName, String gatewayName)
      Retrieves the details of a virtual wan p2s vpn gateway.
      Specified by:
      getByResourceGroupAsync in interface InnerSupportsGet<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

      P2SVpnGatewayInner getByResourceGroup(String resourceGroupName, String gatewayName)
      Retrieves the details of a virtual wan p2s vpn gateway.
      Specified by:
      getByResourceGroup in interface InnerSupportsGet<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 Response 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.
    • 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 PollerFlux for 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 SyncPoller for 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 SyncPoller for 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 Response 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.
    • 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 PollerFlux for 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 SyncPoller for 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 SyncPoller for 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 Response 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.
    • 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 PollerFlux for 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 SyncPoller for 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 SyncPoller for 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

      Mono<Void> deleteAsync(String resourceGroupName, String gatewayName)
      Deletes a virtual wan p2s vpn gateway.
      Specified by:
      deleteAsync in interface InnerSupportsDelete<Void>
      Parameters:
      resourceGroupName - The resource group name of the P2SVpnGateway.
      gatewayName - The name of the gateway.
      Returns:
      A Mono that 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

      void delete(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.
      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 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.
      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:
      listByResourceGroupAsync in interface InnerSupportsListing<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:
      listByResourceGroup in interface InnerSupportsListing<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:
      listAsync in interface InnerSupportsListing<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:
      list in interface InnerSupportsListing<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 Response 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.
    • 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 PollerFlux for 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 SyncPoller for 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 SyncPoller for 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

      Mono<P2SVpnGatewayInner> resetAsync(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 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

      P2SVpnGatewayInner reset(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.
      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 Response 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.
    • 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 PollerFlux for 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 SyncPoller for 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 SyncPoller for 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 Response 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.
    • 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 PollerFlux for 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 SyncPoller for 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 SyncPoller for 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

      P2SVpnGatewayInner getP2SVpnConnectionHealth(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.
      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 Response 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.
    • 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 PollerFlux for 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 SyncPoller for 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 SyncPoller for 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 Response 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.
    • 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 PollerFlux for 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 SyncPoller for 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 SyncPoller for 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 Mono that 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.