Interface VpnGatewaysClient

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

An instance of this class provides access to all the operations defined in VpnGatewaysClient.
  • Method Details

    • getByResourceGroupWithResponseAsync

      Mono<com.azure.core.http.rest.Response<VpnGatewayInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String gatewayName)
      Retrieves the details of a virtual wan vpn gateway.
      Parameters:
      resourceGroupName - The resource group name of the VpnGateway.
      gatewayName - The name of the gateway.
      Returns:
      vpnGateway Resource along with 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<VpnGatewayInner> getByResourceGroupAsync(String resourceGroupName, String gatewayName)
      Retrieves the details of a virtual wan vpn gateway.
      Specified by:
      getByResourceGroupAsync in interface InnerSupportsGet<VpnGatewayInner>
      Parameters:
      resourceGroupName - The resource group name of the VpnGateway.
      gatewayName - The name of the gateway.
      Returns:
      vpnGateway Resource on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getByResourceGroupWithResponse

      com.azure.core.http.rest.Response<VpnGatewayInner> getByResourceGroupWithResponse(String resourceGroupName, String gatewayName, com.azure.core.util.Context context)
      Retrieves the details of a virtual wan vpn gateway.
      Parameters:
      resourceGroupName - The resource group name of the VpnGateway.
      gatewayName - The name of the gateway.
      context - The context to associate with this operation.
      Returns:
      vpnGateway Resource along with Response.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getByResourceGroup

      VpnGatewayInner getByResourceGroup(String resourceGroupName, String gatewayName)
      Retrieves the details of a virtual wan vpn gateway.
      Specified by:
      getByResourceGroup in interface InnerSupportsGet<VpnGatewayInner>
      Parameters:
      resourceGroupName - The resource group name of the VpnGateway.
      gatewayName - The name of the gateway.
      Returns:
      vpnGateway Resource.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • createOrUpdateWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String gatewayName, VpnGatewayInner vpnGatewayParameters)
      Creates a virtual wan vpn gateway if it doesn't exist else updates the existing gateway.
      Parameters:
      resourceGroupName - The resource group name of the VpnGateway.
      gatewayName - The name of the gateway.
      vpnGatewayParameters - Parameters supplied to create or Update a virtual wan vpn gateway.
      Returns:
      vpnGateway Resource along with 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<VpnGatewayInner>,VpnGatewayInner> beginCreateOrUpdateAsync(String resourceGroupName, String gatewayName, VpnGatewayInner vpnGatewayParameters)
      Creates a virtual wan vpn gateway if it doesn't exist else updates the existing gateway.
      Parameters:
      resourceGroupName - The resource group name of the VpnGateway.
      gatewayName - The name of the gateway.
      vpnGatewayParameters - Parameters supplied to create or Update a virtual wan vpn gateway.
      Returns:
      the PollerFlux for polling of vpnGateway Resource.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginCreateOrUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VpnGatewayInner>,VpnGatewayInner> beginCreateOrUpdate(String resourceGroupName, String gatewayName, VpnGatewayInner vpnGatewayParameters)
      Creates a virtual wan vpn gateway if it doesn't exist else updates the existing gateway.
      Parameters:
      resourceGroupName - The resource group name of the VpnGateway.
      gatewayName - The name of the gateway.
      vpnGatewayParameters - Parameters supplied to create or Update a virtual wan vpn gateway.
      Returns:
      the SyncPoller for polling of vpnGateway Resource.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginCreateOrUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VpnGatewayInner>,VpnGatewayInner> beginCreateOrUpdate(String resourceGroupName, String gatewayName, VpnGatewayInner vpnGatewayParameters, com.azure.core.util.Context context)
      Creates a virtual wan vpn gateway if it doesn't exist else updates the existing gateway.
      Parameters:
      resourceGroupName - The resource group name of the VpnGateway.
      gatewayName - The name of the gateway.
      vpnGatewayParameters - Parameters supplied to create or Update a virtual wan vpn gateway.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of vpnGateway Resource.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • createOrUpdateAsync

      Mono<VpnGatewayInner> createOrUpdateAsync(String resourceGroupName, String gatewayName, VpnGatewayInner vpnGatewayParameters)
      Creates a virtual wan vpn gateway if it doesn't exist else updates the existing gateway.
      Parameters:
      resourceGroupName - The resource group name of the VpnGateway.
      gatewayName - The name of the gateway.
      vpnGatewayParameters - Parameters supplied to create or Update a virtual wan vpn gateway.
      Returns:
      vpnGateway Resource on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • createOrUpdate

      VpnGatewayInner createOrUpdate(String resourceGroupName, String gatewayName, VpnGatewayInner vpnGatewayParameters)
      Creates a virtual wan vpn gateway if it doesn't exist else updates the existing gateway.
      Parameters:
      resourceGroupName - The resource group name of the VpnGateway.
      gatewayName - The name of the gateway.
      vpnGatewayParameters - Parameters supplied to create or Update a virtual wan vpn gateway.
      Returns:
      vpnGateway Resource.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • createOrUpdate

      VpnGatewayInner createOrUpdate(String resourceGroupName, String gatewayName, VpnGatewayInner vpnGatewayParameters, com.azure.core.util.Context context)
      Creates a virtual wan vpn gateway if it doesn't exist else updates the existing gateway.
      Parameters:
      resourceGroupName - The resource group name of the VpnGateway.
      gatewayName - The name of the gateway.
      vpnGatewayParameters - Parameters supplied to create or Update a virtual wan vpn gateway.
      context - The context to associate with this operation.
      Returns:
      vpnGateway Resource.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • updateTagsWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> updateTagsWithResponseAsync(String resourceGroupName, String gatewayName, TagsObject vpnGatewayParameters)
      Updates virtual wan vpn gateway tags.
      Parameters:
      resourceGroupName - The resource group name of the VpnGateway.
      gatewayName - The name of the gateway.
      vpnGatewayParameters - Parameters supplied to update a virtual wan vpn gateway tags.
      Returns:
      vpnGateway Resource along with 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<VpnGatewayInner>,VpnGatewayInner> beginUpdateTagsAsync(String resourceGroupName, String gatewayName, TagsObject vpnGatewayParameters)
      Updates virtual wan vpn gateway tags.
      Parameters:
      resourceGroupName - The resource group name of the VpnGateway.
      gatewayName - The name of the gateway.
      vpnGatewayParameters - Parameters supplied to update a virtual wan vpn gateway tags.
      Returns:
      the PollerFlux for polling of vpnGateway Resource.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginUpdateTags

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VpnGatewayInner>,VpnGatewayInner> beginUpdateTags(String resourceGroupName, String gatewayName, TagsObject vpnGatewayParameters)
      Updates virtual wan vpn gateway tags.
      Parameters:
      resourceGroupName - The resource group name of the VpnGateway.
      gatewayName - The name of the gateway.
      vpnGatewayParameters - Parameters supplied to update a virtual wan vpn gateway tags.
      Returns:
      the SyncPoller for polling of vpnGateway Resource.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginUpdateTags

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VpnGatewayInner>,VpnGatewayInner> beginUpdateTags(String resourceGroupName, String gatewayName, TagsObject vpnGatewayParameters, com.azure.core.util.Context context)
      Updates virtual wan vpn gateway tags.
      Parameters:
      resourceGroupName - The resource group name of the VpnGateway.
      gatewayName - The name of the gateway.
      vpnGatewayParameters - Parameters supplied to update a virtual wan vpn gateway tags.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of vpnGateway Resource.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • updateTagsAsync

      Mono<VpnGatewayInner> updateTagsAsync(String resourceGroupName, String gatewayName, TagsObject vpnGatewayParameters)
      Updates virtual wan vpn gateway tags.
      Parameters:
      resourceGroupName - The resource group name of the VpnGateway.
      gatewayName - The name of the gateway.
      vpnGatewayParameters - Parameters supplied to update a virtual wan vpn gateway tags.
      Returns:
      vpnGateway Resource on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • updateTags

      VpnGatewayInner updateTags(String resourceGroupName, String gatewayName, TagsObject vpnGatewayParameters)
      Updates virtual wan vpn gateway tags.
      Parameters:
      resourceGroupName - The resource group name of the VpnGateway.
      gatewayName - The name of the gateway.
      vpnGatewayParameters - Parameters supplied to update a virtual wan vpn gateway tags.
      Returns:
      vpnGateway Resource.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • updateTags

      VpnGatewayInner updateTags(String resourceGroupName, String gatewayName, TagsObject vpnGatewayParameters, com.azure.core.util.Context context)
      Updates virtual wan vpn gateway tags.
      Parameters:
      resourceGroupName - The resource group name of the VpnGateway.
      gatewayName - The name of the gateway.
      vpnGatewayParameters - Parameters supplied to update a virtual wan vpn gateway tags.
      context - The context to associate with this operation.
      Returns:
      vpnGateway Resource.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • deleteWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String gatewayName)
      Deletes a virtual wan vpn gateway.
      Parameters:
      resourceGroupName - The resource group name of the VpnGateway.
      gatewayName - The name of the gateway.
      Returns:
      the 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 vpn gateway.
      Parameters:
      resourceGroupName - The resource group name of the VpnGateway.
      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 vpn gateway.
      Parameters:
      resourceGroupName - The resource group name of the VpnGateway.
      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 vpn gateway.
      Parameters:
      resourceGroupName - The resource group name of the VpnGateway.
      gatewayName - The name of the gateway.
      context - The context to associate with this operation.
      Returns:
      the 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 vpn gateway.
      Specified by:
      deleteAsync in interface InnerSupportsDelete<Void>
      Parameters:
      resourceGroupName - The resource group name of the VpnGateway.
      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 vpn gateway.
      Parameters:
      resourceGroupName - The resource group name of the VpnGateway.
      gatewayName - The name of the gateway.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • delete

      void delete(String resourceGroupName, String gatewayName, com.azure.core.util.Context context)
      Deletes a virtual wan vpn gateway.
      Parameters:
      resourceGroupName - The resource group name of the VpnGateway.
      gatewayName - The name of the gateway.
      context - The context to associate with this operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • resetWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> resetWithResponseAsync(String resourceGroupName, String gatewayName, String ipConfigurationId)
      Resets the primary of the vpn gateway in the specified resource group.
      Parameters:
      resourceGroupName - The resource group name of the VpnGateway.
      gatewayName - The name of the gateway.
      ipConfigurationId - VpnGateway ipConfigurationId to specify the gateway instance.
      Returns:
      vpnGateway Resource along with 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<VpnGatewayInner>,VpnGatewayInner> beginResetAsync(String resourceGroupName, String gatewayName, String ipConfigurationId)
      Resets the primary of the vpn gateway in the specified resource group.
      Parameters:
      resourceGroupName - The resource group name of the VpnGateway.
      gatewayName - The name of the gateway.
      ipConfigurationId - VpnGateway ipConfigurationId to specify the gateway instance.
      Returns:
      the PollerFlux for polling of vpnGateway Resource.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginResetAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<VpnGatewayInner>,VpnGatewayInner> beginResetAsync(String resourceGroupName, String gatewayName)
      Resets the primary of the vpn gateway in the specified resource group.
      Parameters:
      resourceGroupName - The resource group name of the VpnGateway.
      gatewayName - The name of the gateway.
      Returns:
      the PollerFlux for polling of vpnGateway Resource.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginReset

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VpnGatewayInner>,VpnGatewayInner> beginReset(String resourceGroupName, String gatewayName)
      Resets the primary of the vpn gateway in the specified resource group.
      Parameters:
      resourceGroupName - The resource group name of the VpnGateway.
      gatewayName - The name of the gateway.
      Returns:
      the SyncPoller for polling of vpnGateway Resource.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginReset

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VpnGatewayInner>,VpnGatewayInner> beginReset(String resourceGroupName, String gatewayName, String ipConfigurationId, com.azure.core.util.Context context)
      Resets the primary of the vpn gateway in the specified resource group.
      Parameters:
      resourceGroupName - The resource group name of the VpnGateway.
      gatewayName - The name of the gateway.
      ipConfigurationId - VpnGateway ipConfigurationId to specify the gateway instance.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of vpnGateway Resource.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • resetAsync

      Mono<VpnGatewayInner> resetAsync(String resourceGroupName, String gatewayName, String ipConfigurationId)
      Resets the primary of the vpn gateway in the specified resource group.
      Parameters:
      resourceGroupName - The resource group name of the VpnGateway.
      gatewayName - The name of the gateway.
      ipConfigurationId - VpnGateway ipConfigurationId to specify the gateway instance.
      Returns:
      vpnGateway Resource on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • resetAsync

      Mono<VpnGatewayInner> resetAsync(String resourceGroupName, String gatewayName)
      Resets the primary of the vpn gateway in the specified resource group.
      Parameters:
      resourceGroupName - The resource group name of the VpnGateway.
      gatewayName - The name of the gateway.
      Returns:
      vpnGateway Resource on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • reset

      VpnGatewayInner reset(String resourceGroupName, String gatewayName)
      Resets the primary of the vpn gateway in the specified resource group.
      Parameters:
      resourceGroupName - The resource group name of the VpnGateway.
      gatewayName - The name of the gateway.
      Returns:
      vpnGateway Resource.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • reset

      VpnGatewayInner reset(String resourceGroupName, String gatewayName, String ipConfigurationId, com.azure.core.util.Context context)
      Resets the primary of the vpn gateway in the specified resource group.
      Parameters:
      resourceGroupName - The resource group name of the VpnGateway.
      gatewayName - The name of the gateway.
      ipConfigurationId - VpnGateway ipConfigurationId to specify the gateway instance.
      context - The context to associate with this operation.
      Returns:
      vpnGateway Resource.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • startPacketCaptureWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> startPacketCaptureWithResponseAsync(String resourceGroupName, String gatewayName, VpnGatewayPacketCaptureStartParameters parameters)
      Starts packet capture on vpn gateway in the specified resource group.
      Parameters:
      resourceGroupName - The resource group name of the VpnGateway.
      gatewayName - The name of the gateway.
      parameters - Vpn gateway packet capture parameters supplied to start packet capture on vpn gateway.
      Returns:
      the response body along with 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.
    • beginStartPacketCaptureAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<String>,String> beginStartPacketCaptureAsync(String resourceGroupName, String gatewayName, VpnGatewayPacketCaptureStartParameters parameters)
      Starts packet capture on vpn gateway in the specified resource group.
      Parameters:
      resourceGroupName - The resource group name of the VpnGateway.
      gatewayName - The name of the gateway.
      parameters - Vpn gateway packet capture parameters supplied to start packet capture on vpn gateway.
      Returns:
      the 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.
    • beginStartPacketCaptureAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<String>,String> beginStartPacketCaptureAsync(String resourceGroupName, String gatewayName)
      Starts packet capture on vpn gateway in the specified resource group.
      Parameters:
      resourceGroupName - The resource group name of the VpnGateway.
      gatewayName - The name of the gateway.
      Returns:
      the 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.
    • beginStartPacketCapture

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<String>,String> beginStartPacketCapture(String resourceGroupName, String gatewayName)
      Starts packet capture on vpn gateway in the specified resource group.
      Parameters:
      resourceGroupName - The resource group name of the VpnGateway.
      gatewayName - The name of the gateway.
      Returns:
      the 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.
    • beginStartPacketCapture

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<String>,String> beginStartPacketCapture(String resourceGroupName, String gatewayName, VpnGatewayPacketCaptureStartParameters parameters, com.azure.core.util.Context context)
      Starts packet capture on vpn gateway in the specified resource group.
      Parameters:
      resourceGroupName - The resource group name of the VpnGateway.
      gatewayName - The name of the gateway.
      parameters - Vpn gateway packet capture parameters supplied to start packet capture on vpn gateway.
      context - The context to associate with this operation.
      Returns:
      the 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.
    • startPacketCaptureAsync

      Mono<String> startPacketCaptureAsync(String resourceGroupName, String gatewayName, VpnGatewayPacketCaptureStartParameters parameters)
      Starts packet capture on vpn gateway in the specified resource group.
      Parameters:
      resourceGroupName - The resource group name of the VpnGateway.
      gatewayName - The name of the gateway.
      parameters - Vpn gateway packet capture parameters supplied to start packet capture on vpn gateway.
      Returns:
      the response body on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • startPacketCaptureAsync

      Mono<String> startPacketCaptureAsync(String resourceGroupName, String gatewayName)
      Starts packet capture on vpn gateway in the specified resource group.
      Parameters:
      resourceGroupName - The resource group name of the VpnGateway.
      gatewayName - The name of the gateway.
      Returns:
      the response body on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • startPacketCapture

      String startPacketCapture(String resourceGroupName, String gatewayName)
      Starts packet capture on vpn gateway in the specified resource group.
      Parameters:
      resourceGroupName - The resource group name of the VpnGateway.
      gatewayName - The name of the gateway.
      Returns:
      the response.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • startPacketCapture

      String startPacketCapture(String resourceGroupName, String gatewayName, VpnGatewayPacketCaptureStartParameters parameters, com.azure.core.util.Context context)
      Starts packet capture on vpn gateway in the specified resource group.
      Parameters:
      resourceGroupName - The resource group name of the VpnGateway.
      gatewayName - The name of the gateway.
      parameters - Vpn gateway packet capture parameters supplied to start packet capture on vpn gateway.
      context - The context to associate with this operation.
      Returns:
      the response.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • stopPacketCaptureWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> stopPacketCaptureWithResponseAsync(String resourceGroupName, String gatewayName, VpnGatewayPacketCaptureStopParameters parameters)
      Stops packet capture on vpn gateway in the specified resource group.
      Parameters:
      resourceGroupName - The resource group name of the VpnGateway.
      gatewayName - The name of the gateway.
      parameters - Vpn gateway packet capture parameters supplied to stop packet capture on vpn gateway.
      Returns:
      the response body along with 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.
    • beginStopPacketCaptureAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<String>,String> beginStopPacketCaptureAsync(String resourceGroupName, String gatewayName, VpnGatewayPacketCaptureStopParameters parameters)
      Stops packet capture on vpn gateway in the specified resource group.
      Parameters:
      resourceGroupName - The resource group name of the VpnGateway.
      gatewayName - The name of the gateway.
      parameters - Vpn gateway packet capture parameters supplied to stop packet capture on vpn gateway.
      Returns:
      the 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.
    • beginStopPacketCaptureAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<String>,String> beginStopPacketCaptureAsync(String resourceGroupName, String gatewayName)
      Stops packet capture on vpn gateway in the specified resource group.
      Parameters:
      resourceGroupName - The resource group name of the VpnGateway.
      gatewayName - The name of the gateway.
      Returns:
      the 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.
    • beginStopPacketCapture

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<String>,String> beginStopPacketCapture(String resourceGroupName, String gatewayName)
      Stops packet capture on vpn gateway in the specified resource group.
      Parameters:
      resourceGroupName - The resource group name of the VpnGateway.
      gatewayName - The name of the gateway.
      Returns:
      the 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.
    • beginStopPacketCapture

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<String>,String> beginStopPacketCapture(String resourceGroupName, String gatewayName, VpnGatewayPacketCaptureStopParameters parameters, com.azure.core.util.Context context)
      Stops packet capture on vpn gateway in the specified resource group.
      Parameters:
      resourceGroupName - The resource group name of the VpnGateway.
      gatewayName - The name of the gateway.
      parameters - Vpn gateway packet capture parameters supplied to stop packet capture on vpn gateway.
      context - The context to associate with this operation.
      Returns:
      the 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.
    • stopPacketCaptureAsync

      Mono<String> stopPacketCaptureAsync(String resourceGroupName, String gatewayName, VpnGatewayPacketCaptureStopParameters parameters)
      Stops packet capture on vpn gateway in the specified resource group.
      Parameters:
      resourceGroupName - The resource group name of the VpnGateway.
      gatewayName - The name of the gateway.
      parameters - Vpn gateway packet capture parameters supplied to stop packet capture on vpn gateway.
      Returns:
      the response body on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • stopPacketCaptureAsync

      Mono<String> stopPacketCaptureAsync(String resourceGroupName, String gatewayName)
      Stops packet capture on vpn gateway in the specified resource group.
      Parameters:
      resourceGroupName - The resource group name of the VpnGateway.
      gatewayName - The name of the gateway.
      Returns:
      the response body on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • stopPacketCapture

      String stopPacketCapture(String resourceGroupName, String gatewayName)
      Stops packet capture on vpn gateway in the specified resource group.
      Parameters:
      resourceGroupName - The resource group name of the VpnGateway.
      gatewayName - The name of the gateway.
      Returns:
      the response.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • stopPacketCapture

      String stopPacketCapture(String resourceGroupName, String gatewayName, VpnGatewayPacketCaptureStopParameters parameters, com.azure.core.util.Context context)
      Stops packet capture on vpn gateway in the specified resource group.
      Parameters:
      resourceGroupName - The resource group name of the VpnGateway.
      gatewayName - The name of the gateway.
      parameters - Vpn gateway packet capture parameters supplied to stop packet capture on vpn gateway.
      context - The context to associate with this operation.
      Returns:
      the response.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • listByResourceGroupAsync

      com.azure.core.http.rest.PagedFlux<VpnGatewayInner> listByResourceGroupAsync(String resourceGroupName)
      Lists all the VpnGateways in a resource group.
      Specified by:
      listByResourceGroupAsync in interface InnerSupportsListing<VpnGatewayInner>
      Parameters:
      resourceGroupName - The resource group name of the VpnGateway.
      Returns:
      result of the request to list VpnGateways as paginated response with PagedFlux.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • listByResourceGroup

      com.azure.core.http.rest.PagedIterable<VpnGatewayInner> listByResourceGroup(String resourceGroupName)
      Lists all the VpnGateways in a resource group.
      Specified by:
      listByResourceGroup in interface InnerSupportsListing<VpnGatewayInner>
      Parameters:
      resourceGroupName - The resource group name of the VpnGateway.
      Returns:
      result of the request to list VpnGateways as paginated response with PagedIterable.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • listByResourceGroup

      com.azure.core.http.rest.PagedIterable<VpnGatewayInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context)
      Lists all the VpnGateways in a resource group.
      Parameters:
      resourceGroupName - The resource group name of the VpnGateway.
      context - The context to associate with this operation.
      Returns:
      result of the request to list VpnGateways as paginated response with PagedIterable.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • listAsync

      com.azure.core.http.rest.PagedFlux<VpnGatewayInner> listAsync()
      Lists all the VpnGateways in a subscription.
      Specified by:
      listAsync in interface InnerSupportsListing<VpnGatewayInner>
      Returns:
      result of the request to list VpnGateways as paginated response with PagedFlux.
      Throws:
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • list

      com.azure.core.http.rest.PagedIterable<VpnGatewayInner> list()
      Lists all the VpnGateways in a subscription.
      Specified by:
      list in interface InnerSupportsListing<VpnGatewayInner>
      Returns:
      result of the request to list VpnGateways as paginated response with PagedIterable.
      Throws:
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • list

      com.azure.core.http.rest.PagedIterable<VpnGatewayInner> list(com.azure.core.util.Context context)
      Lists all the VpnGateways in a subscription.
      Parameters:
      context - The context to associate with this operation.
      Returns:
      result of the request to list VpnGateways as paginated response with PagedIterable.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.