Interface VirtualNetworkGatewaysClient

All Superinterfaces:
InnerSupportsDelete<Void>, InnerSupportsGet<VirtualNetworkGatewayInner>

public interface VirtualNetworkGatewaysClient extends InnerSupportsGet<VirtualNetworkGatewayInner>, InnerSupportsDelete<Void>
An instance of this class provides access to all the operations defined in VirtualNetworkGatewaysClient.
  • Method Details

    • createOrUpdateWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(String resourceGroupName, String virtualNetworkGatewayName, VirtualNetworkGatewayInner parameters)
      Creates or updates a virtual network gateway in the specified resource group.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      parameters - Parameters supplied to create or update virtual network gateway operation.
      Returns:
      a common class for general resource information 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<VirtualNetworkGatewayInner>,VirtualNetworkGatewayInner> beginCreateOrUpdateAsync(String resourceGroupName, String virtualNetworkGatewayName, VirtualNetworkGatewayInner parameters)
      Creates or updates a virtual network gateway in the specified resource group.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      parameters - Parameters supplied to create or update virtual network gateway operation.
      Returns:
      the PollerFlux for polling of a common class for general resource information.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginCreateOrUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VirtualNetworkGatewayInner>,VirtualNetworkGatewayInner> beginCreateOrUpdate(String resourceGroupName, String virtualNetworkGatewayName, VirtualNetworkGatewayInner parameters)
      Creates or updates a virtual network gateway in the specified resource group.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      parameters - Parameters supplied to create or update virtual network gateway operation.
      Returns:
      the SyncPoller for polling of a common class for general resource information.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginCreateOrUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VirtualNetworkGatewayInner>,VirtualNetworkGatewayInner> beginCreateOrUpdate(String resourceGroupName, String virtualNetworkGatewayName, VirtualNetworkGatewayInner parameters, com.azure.core.util.Context context)
      Creates or updates a virtual network gateway in the specified resource group.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      parameters - Parameters supplied to create or update virtual network gateway operation.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of a common class for general resource information.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • createOrUpdateAsync

      Mono<VirtualNetworkGatewayInner> createOrUpdateAsync(String resourceGroupName, String virtualNetworkGatewayName, VirtualNetworkGatewayInner parameters)
      Creates or updates a virtual network gateway in the specified resource group.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      parameters - Parameters supplied to create or update virtual network gateway operation.
      Returns:
      a common class for general resource information on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • createOrUpdate

      VirtualNetworkGatewayInner createOrUpdate(String resourceGroupName, String virtualNetworkGatewayName, VirtualNetworkGatewayInner parameters)
      Creates or updates a virtual network gateway in the specified resource group.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      parameters - Parameters supplied to create or update virtual network gateway operation.
      Returns:
      a common class for general resource information.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • createOrUpdate

      VirtualNetworkGatewayInner createOrUpdate(String resourceGroupName, String virtualNetworkGatewayName, VirtualNetworkGatewayInner parameters, com.azure.core.util.Context context)
      Creates or updates a virtual network gateway in the specified resource group.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      parameters - Parameters supplied to create or update virtual network gateway operation.
      context - The context to associate with this operation.
      Returns:
      a common class for general resource information.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getByResourceGroupWithResponseAsync

      Mono<com.azure.core.http.rest.Response<VirtualNetworkGatewayInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String virtualNetworkGatewayName)
      Gets the specified virtual network gateway by resource group.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      Returns:
      the specified virtual network gateway by 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.
    • getByResourceGroupAsync

      Mono<VirtualNetworkGatewayInner> getByResourceGroupAsync(String resourceGroupName, String virtualNetworkGatewayName)
      Gets the specified virtual network gateway by resource group.
      Specified by:
      getByResourceGroupAsync in interface InnerSupportsGet<VirtualNetworkGatewayInner>
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      Returns:
      the specified virtual network gateway by resource group on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getByResourceGroupWithResponse

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

      VirtualNetworkGatewayInner getByResourceGroup(String resourceGroupName, String virtualNetworkGatewayName)
      Gets the specified virtual network gateway by resource group.
      Specified by:
      getByResourceGroup in interface InnerSupportsGet<VirtualNetworkGatewayInner>
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      Returns:
      the specified virtual network gateway by resource group.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • deleteWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String virtualNetworkGatewayName)
      Deletes the specified virtual network gateway.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network 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 virtualNetworkGatewayName)
      Deletes the specified virtual network gateway.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network 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 virtualNetworkGatewayName)
      Deletes the specified virtual network gateway.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network 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 virtualNetworkGatewayName, com.azure.core.util.Context context)
      Deletes the specified virtual network gateway.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network 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 virtualNetworkGatewayName)
      Deletes the specified virtual network gateway.
      Specified by:
      deleteAsync in interface InnerSupportsDelete<Void>
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network 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 virtualNetworkGatewayName)
      Deletes the specified virtual network gateway.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network 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 virtualNetworkGatewayName, com.azure.core.util.Context context)
      Deletes the specified virtual network gateway.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network 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.
    • updateTagsWithResponseAsync

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

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

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

      Mono<VirtualNetworkGatewayInner> updateTagsAsync(String resourceGroupName, String virtualNetworkGatewayName, TagsObject parameters)
      Updates a virtual network gateway tags.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      parameters - Parameters supplied to update virtual network gateway tags.
      Returns:
      a common class for general resource information on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • updateTags

      VirtualNetworkGatewayInner updateTags(String resourceGroupName, String virtualNetworkGatewayName, TagsObject parameters)
      Updates a virtual network gateway tags.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      parameters - Parameters supplied to update virtual network gateway tags.
      Returns:
      a common class for general resource information.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • updateTags

      VirtualNetworkGatewayInner updateTags(String resourceGroupName, String virtualNetworkGatewayName, TagsObject parameters, com.azure.core.util.Context context)
      Updates a virtual network gateway tags.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      parameters - Parameters supplied to update virtual network gateway tags.
      context - The context to associate with this operation.
      Returns:
      a common class for general resource information.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • listByResourceGroupAsync

      com.azure.core.http.rest.PagedFlux<VirtualNetworkGatewayInner> listByResourceGroupAsync(String resourceGroupName)
      Gets all virtual network gateways by resource group.
      Parameters:
      resourceGroupName - The name of the resource group.
      Returns:
      all virtual network gateways by resource group 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<VirtualNetworkGatewayInner> listByResourceGroup(String resourceGroupName)
      Gets all virtual network gateways by resource group.
      Parameters:
      resourceGroupName - The name of the resource group.
      Returns:
      all virtual network gateways by resource group 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<VirtualNetworkGatewayInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context)
      Gets all virtual network gateways by resource group.
      Parameters:
      resourceGroupName - The name of the resource group.
      context - The context to associate with this operation.
      Returns:
      all virtual network gateways by resource group 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.
    • listConnectionsAsync

      com.azure.core.http.rest.PagedFlux<VirtualNetworkGatewayConnectionListEntityInner> listConnectionsAsync(String resourceGroupName, String virtualNetworkGatewayName)
      Gets all the connections in a virtual network gateway.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      Returns:
      all the connections in a virtual network gateway 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.
    • listConnections

      com.azure.core.http.rest.PagedIterable<VirtualNetworkGatewayConnectionListEntityInner> listConnections(String resourceGroupName, String virtualNetworkGatewayName)
      Gets all the connections in a virtual network gateway.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      Returns:
      all the connections in a virtual network gateway 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.
    • listConnections

      com.azure.core.http.rest.PagedIterable<VirtualNetworkGatewayConnectionListEntityInner> listConnections(String resourceGroupName, String virtualNetworkGatewayName, com.azure.core.util.Context context)
      Gets all the connections in a virtual network gateway.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      context - The context to associate with this operation.
      Returns:
      all the connections in a virtual network gateway 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 virtualNetworkGatewayName, String gatewayVip)
      Resets the primary of the virtual network gateway in the specified resource group.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      gatewayVip - Virtual network gateway vip address supplied to the begin reset of the active-active feature enabled gateway.
      Returns:
      a common class for general resource information 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<VirtualNetworkGatewayInner>,VirtualNetworkGatewayInner> beginResetAsync(String resourceGroupName, String virtualNetworkGatewayName, String gatewayVip)
      Resets the primary of the virtual network gateway in the specified resource group.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      gatewayVip - Virtual network gateway vip address supplied to the begin reset of the active-active feature enabled gateway.
      Returns:
      the PollerFlux for polling of a common class for general resource information.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginResetAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<VirtualNetworkGatewayInner>,VirtualNetworkGatewayInner> beginResetAsync(String resourceGroupName, String virtualNetworkGatewayName)
      Resets the primary of the virtual network gateway in the specified resource group.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      Returns:
      the PollerFlux for polling of a common class for general resource information.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginReset

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VirtualNetworkGatewayInner>,VirtualNetworkGatewayInner> beginReset(String resourceGroupName, String virtualNetworkGatewayName)
      Resets the primary of the virtual network gateway in the specified resource group.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      Returns:
      the SyncPoller for polling of a common class for general resource information.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginReset

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VirtualNetworkGatewayInner>,VirtualNetworkGatewayInner> beginReset(String resourceGroupName, String virtualNetworkGatewayName, String gatewayVip, com.azure.core.util.Context context)
      Resets the primary of the virtual network gateway in the specified resource group.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      gatewayVip - Virtual network gateway vip address supplied to the begin reset of the active-active feature enabled gateway.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of a common class for general resource information.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • resetAsync

      Mono<VirtualNetworkGatewayInner> resetAsync(String resourceGroupName, String virtualNetworkGatewayName, String gatewayVip)
      Resets the primary of the virtual network gateway in the specified resource group.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      gatewayVip - Virtual network gateway vip address supplied to the begin reset of the active-active feature enabled gateway.
      Returns:
      a common class for general resource information on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • resetAsync

      Mono<VirtualNetworkGatewayInner> resetAsync(String resourceGroupName, String virtualNetworkGatewayName)
      Resets the primary of the virtual network gateway in the specified resource group.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      Returns:
      a common class for general resource information on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • reset

      VirtualNetworkGatewayInner reset(String resourceGroupName, String virtualNetworkGatewayName)
      Resets the primary of the virtual network gateway in the specified resource group.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      Returns:
      a common class for general resource information.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • reset

      VirtualNetworkGatewayInner reset(String resourceGroupName, String virtualNetworkGatewayName, String gatewayVip, com.azure.core.util.Context context)
      Resets the primary of the virtual network gateway in the specified resource group.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      gatewayVip - Virtual network gateway vip address supplied to the begin reset of the active-active feature enabled gateway.
      context - The context to associate with this operation.
      Returns:
      a common class for general resource information.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • resetVpnClientSharedKeyWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> resetVpnClientSharedKeyWithResponseAsync(String resourceGroupName, String virtualNetworkGatewayName)
      Resets the VPN client shared key of the virtual network gateway in the specified resource group.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network 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.
    • beginResetVpnClientSharedKeyAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginResetVpnClientSharedKeyAsync(String resourceGroupName, String virtualNetworkGatewayName)
      Resets the VPN client shared key of the virtual network gateway in the specified resource group.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network 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.
    • beginResetVpnClientSharedKey

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginResetVpnClientSharedKey(String resourceGroupName, String virtualNetworkGatewayName)
      Resets the VPN client shared key of the virtual network gateway in the specified resource group.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network 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.
    • beginResetVpnClientSharedKey

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginResetVpnClientSharedKey(String resourceGroupName, String virtualNetworkGatewayName, com.azure.core.util.Context context)
      Resets the VPN client shared key of the virtual network gateway in the specified resource group.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network 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.
    • resetVpnClientSharedKeyAsync

      Mono<Void> resetVpnClientSharedKeyAsync(String resourceGroupName, String virtualNetworkGatewayName)
      Resets the VPN client shared key of the virtual network gateway in the specified resource group.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network 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.
    • resetVpnClientSharedKey

      void resetVpnClientSharedKey(String resourceGroupName, String virtualNetworkGatewayName)
      Resets the VPN client shared key of the virtual network gateway in the specified resource group.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network 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.
    • resetVpnClientSharedKey

      void resetVpnClientSharedKey(String resourceGroupName, String virtualNetworkGatewayName, com.azure.core.util.Context context)
      Resets the VPN client shared key of the virtual network gateway in the specified resource group.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network 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.
    • generatevpnclientpackageWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> generatevpnclientpackageWithResponseAsync(String resourceGroupName, String virtualNetworkGatewayName, VpnClientParameters parameters)
      Generates VPN client package for P2S client of the virtual network gateway in the specified resource group.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      parameters - Parameters supplied to the generate virtual network gateway VPN client package operation.
      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.
    • beginGeneratevpnclientpackageAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<String>,String> beginGeneratevpnclientpackageAsync(String resourceGroupName, String virtualNetworkGatewayName, VpnClientParameters parameters)
      Generates VPN client package for P2S client of the virtual network gateway in the specified resource group.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      parameters - Parameters supplied to the generate virtual network gateway VPN client package operation.
      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.
    • beginGeneratevpnclientpackage

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<String>,String> beginGeneratevpnclientpackage(String resourceGroupName, String virtualNetworkGatewayName, VpnClientParameters parameters)
      Generates VPN client package for P2S client of the virtual network gateway in the specified resource group.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      parameters - Parameters supplied to the generate virtual network gateway VPN client package 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.
    • beginGeneratevpnclientpackage

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<String>,String> beginGeneratevpnclientpackage(String resourceGroupName, String virtualNetworkGatewayName, VpnClientParameters parameters, com.azure.core.util.Context context)
      Generates VPN client package for P2S client of the virtual network gateway in the specified resource group.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      parameters - Parameters supplied to the generate virtual network gateway VPN client package operation.
      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.
    • generatevpnclientpackageAsync

      Mono<String> generatevpnclientpackageAsync(String resourceGroupName, String virtualNetworkGatewayName, VpnClientParameters parameters)
      Generates VPN client package for P2S client of the virtual network gateway in the specified resource group.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      parameters - Parameters supplied to the generate virtual network gateway VPN client package operation.
      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.
    • generatevpnclientpackage

      String generatevpnclientpackage(String resourceGroupName, String virtualNetworkGatewayName, VpnClientParameters parameters)
      Generates VPN client package for P2S client of the virtual network gateway in the specified resource group.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      parameters - Parameters supplied to the generate virtual network gateway VPN client package 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.
    • generatevpnclientpackage

      String generatevpnclientpackage(String resourceGroupName, String virtualNetworkGatewayName, VpnClientParameters parameters, com.azure.core.util.Context context)
      Generates VPN client package for P2S client of the virtual network gateway in the specified resource group.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      parameters - Parameters supplied to the generate virtual network gateway VPN client package operation.
      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.
    • generateVpnProfileWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> generateVpnProfileWithResponseAsync(String resourceGroupName, String virtualNetworkGatewayName, VpnClientParameters parameters)
      Generates VPN profile for P2S client of the virtual network gateway in the specified resource group. Used for IKEV2 and radius based authentication.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      parameters - Parameters supplied to the generate virtual network gateway VPN client package operation.
      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.
    • beginGenerateVpnProfileAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<String>,String> beginGenerateVpnProfileAsync(String resourceGroupName, String virtualNetworkGatewayName, VpnClientParameters parameters)
      Generates VPN profile for P2S client of the virtual network gateway in the specified resource group. Used for IKEV2 and radius based authentication.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      parameters - Parameters supplied to the generate virtual network gateway VPN client package operation.
      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.
    • beginGenerateVpnProfile

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<String>,String> beginGenerateVpnProfile(String resourceGroupName, String virtualNetworkGatewayName, VpnClientParameters parameters)
      Generates VPN profile for P2S client of the virtual network gateway in the specified resource group. Used for IKEV2 and radius based authentication.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      parameters - Parameters supplied to the generate virtual network gateway VPN client package 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.
    • beginGenerateVpnProfile

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<String>,String> beginGenerateVpnProfile(String resourceGroupName, String virtualNetworkGatewayName, VpnClientParameters parameters, com.azure.core.util.Context context)
      Generates VPN profile for P2S client of the virtual network gateway in the specified resource group. Used for IKEV2 and radius based authentication.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      parameters - Parameters supplied to the generate virtual network gateway VPN client package operation.
      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.
    • generateVpnProfileAsync

      Mono<String> generateVpnProfileAsync(String resourceGroupName, String virtualNetworkGatewayName, VpnClientParameters parameters)
      Generates VPN profile for P2S client of the virtual network gateway in the specified resource group. Used for IKEV2 and radius based authentication.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      parameters - Parameters supplied to the generate virtual network gateway VPN client package operation.
      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.
    • generateVpnProfile

      String generateVpnProfile(String resourceGroupName, String virtualNetworkGatewayName, VpnClientParameters parameters)
      Generates VPN profile for P2S client of the virtual network gateway in the specified resource group. Used for IKEV2 and radius based authentication.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      parameters - Parameters supplied to the generate virtual network gateway VPN client package 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.
    • generateVpnProfile

      String generateVpnProfile(String resourceGroupName, String virtualNetworkGatewayName, VpnClientParameters parameters, com.azure.core.util.Context context)
      Generates VPN profile for P2S client of the virtual network gateway in the specified resource group. Used for IKEV2 and radius based authentication.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      parameters - Parameters supplied to the generate virtual network gateway VPN client package operation.
      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.
    • getVpnProfilePackageUrlWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> getVpnProfilePackageUrlWithResponseAsync(String resourceGroupName, String virtualNetworkGatewayName)
      Gets pre-generated VPN profile for P2S client of the virtual network gateway in the specified resource group. The profile needs to be generated first using generateVpnProfile.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      Returns:
      pre-generated VPN profile for P2S client of the virtual network gateway 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.
    • beginGetVpnProfilePackageUrlAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<String>,String> beginGetVpnProfilePackageUrlAsync(String resourceGroupName, String virtualNetworkGatewayName)
      Gets pre-generated VPN profile for P2S client of the virtual network gateway in the specified resource group. The profile needs to be generated first using generateVpnProfile.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      Returns:
      the PollerFlux for polling of pre-generated VPN profile for P2S client of the virtual network gateway 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.
    • beginGetVpnProfilePackageUrl

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<String>,String> beginGetVpnProfilePackageUrl(String resourceGroupName, String virtualNetworkGatewayName)
      Gets pre-generated VPN profile for P2S client of the virtual network gateway in the specified resource group. The profile needs to be generated first using generateVpnProfile.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      Returns:
      the SyncPoller for polling of pre-generated VPN profile for P2S client of the virtual network gateway 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.
    • beginGetVpnProfilePackageUrl

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<String>,String> beginGetVpnProfilePackageUrl(String resourceGroupName, String virtualNetworkGatewayName, com.azure.core.util.Context context)
      Gets pre-generated VPN profile for P2S client of the virtual network gateway in the specified resource group. The profile needs to be generated first using generateVpnProfile.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of pre-generated VPN profile for P2S client of the virtual network gateway 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.
    • getVpnProfilePackageUrlAsync

      Mono<String> getVpnProfilePackageUrlAsync(String resourceGroupName, String virtualNetworkGatewayName)
      Gets pre-generated VPN profile for P2S client of the virtual network gateway in the specified resource group. The profile needs to be generated first using generateVpnProfile.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      Returns:
      pre-generated VPN profile for P2S client of the virtual network gateway 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.
    • getVpnProfilePackageUrl

      String getVpnProfilePackageUrl(String resourceGroupName, String virtualNetworkGatewayName)
      Gets pre-generated VPN profile for P2S client of the virtual network gateway in the specified resource group. The profile needs to be generated first using generateVpnProfile.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      Returns:
      pre-generated VPN profile for P2S client of the virtual network gateway 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.
    • getVpnProfilePackageUrl

      String getVpnProfilePackageUrl(String resourceGroupName, String virtualNetworkGatewayName, com.azure.core.util.Context context)
      Gets pre-generated VPN profile for P2S client of the virtual network gateway in the specified resource group. The profile needs to be generated first using generateVpnProfile.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      context - The context to associate with this operation.
      Returns:
      pre-generated VPN profile for P2S client of the virtual network gateway 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.
    • getBgpPeerStatusWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> getBgpPeerStatusWithResponseAsync(String resourceGroupName, String virtualNetworkGatewayName, String peer)
      The GetBgpPeerStatus operation retrieves the status of all BGP peers.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      peer - The IP address of the peer to retrieve the status of.
      Returns:
      response for list BGP peer status API service call 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.
    • beginGetBgpPeerStatusAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<BgpPeerStatusListResultInner>,BgpPeerStatusListResultInner> beginGetBgpPeerStatusAsync(String resourceGroupName, String virtualNetworkGatewayName, String peer)
      The GetBgpPeerStatus operation retrieves the status of all BGP peers.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      peer - The IP address of the peer to retrieve the status of.
      Returns:
      the PollerFlux for polling of response for list BGP peer status API service call.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginGetBgpPeerStatusAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<BgpPeerStatusListResultInner>,BgpPeerStatusListResultInner> beginGetBgpPeerStatusAsync(String resourceGroupName, String virtualNetworkGatewayName)
      The GetBgpPeerStatus operation retrieves the status of all BGP peers.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      Returns:
      the PollerFlux for polling of response for list BGP peer status API service call.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginGetBgpPeerStatus

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<BgpPeerStatusListResultInner>,BgpPeerStatusListResultInner> beginGetBgpPeerStatus(String resourceGroupName, String virtualNetworkGatewayName)
      The GetBgpPeerStatus operation retrieves the status of all BGP peers.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      Returns:
      the SyncPoller for polling of response for list BGP peer status API service call.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginGetBgpPeerStatus

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<BgpPeerStatusListResultInner>,BgpPeerStatusListResultInner> beginGetBgpPeerStatus(String resourceGroupName, String virtualNetworkGatewayName, String peer, com.azure.core.util.Context context)
      The GetBgpPeerStatus operation retrieves the status of all BGP peers.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      peer - The IP address of the peer to retrieve the status of.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of response for list BGP peer status API service call.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getBgpPeerStatusAsync

      Mono<BgpPeerStatusListResultInner> getBgpPeerStatusAsync(String resourceGroupName, String virtualNetworkGatewayName, String peer)
      The GetBgpPeerStatus operation retrieves the status of all BGP peers.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      peer - The IP address of the peer to retrieve the status of.
      Returns:
      response for list BGP peer status API service call 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.
    • getBgpPeerStatusAsync

      Mono<BgpPeerStatusListResultInner> getBgpPeerStatusAsync(String resourceGroupName, String virtualNetworkGatewayName)
      The GetBgpPeerStatus operation retrieves the status of all BGP peers.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      Returns:
      response for list BGP peer status API service call 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.
    • getBgpPeerStatus

      BgpPeerStatusListResultInner getBgpPeerStatus(String resourceGroupName, String virtualNetworkGatewayName)
      The GetBgpPeerStatus operation retrieves the status of all BGP peers.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      Returns:
      response for list BGP peer status API service call.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getBgpPeerStatus

      BgpPeerStatusListResultInner getBgpPeerStatus(String resourceGroupName, String virtualNetworkGatewayName, String peer, com.azure.core.util.Context context)
      The GetBgpPeerStatus operation retrieves the status of all BGP peers.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      peer - The IP address of the peer to retrieve the status of.
      context - The context to associate with this operation.
      Returns:
      response for list BGP peer status API service call.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • supportedVpnDevicesWithResponseAsync

      Mono<com.azure.core.http.rest.Response<String>> supportedVpnDevicesWithResponseAsync(String resourceGroupName, String virtualNetworkGatewayName)
      Gets a xml format representation for supported vpn devices.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      Returns:
      a xml format representation for supported vpn devices 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.
    • supportedVpnDevicesAsync

      Mono<String> supportedVpnDevicesAsync(String resourceGroupName, String virtualNetworkGatewayName)
      Gets a xml format representation for supported vpn devices.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      Returns:
      a xml format representation for supported vpn devices 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.
    • supportedVpnDevicesWithResponse

      com.azure.core.http.rest.Response<String> supportedVpnDevicesWithResponse(String resourceGroupName, String virtualNetworkGatewayName, com.azure.core.util.Context context)
      Gets a xml format representation for supported vpn devices.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      context - The context to associate with this operation.
      Returns:
      a xml format representation for supported vpn devices 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.
    • supportedVpnDevices

      String supportedVpnDevices(String resourceGroupName, String virtualNetworkGatewayName)
      Gets a xml format representation for supported vpn devices.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      Returns:
      a xml format representation for supported vpn devices.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getLearnedRoutesWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> getLearnedRoutesWithResponseAsync(String resourceGroupName, String virtualNetworkGatewayName)
      This operation retrieves a list of routes the virtual network gateway has learned, including routes learned from BGP peers.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      Returns:
      list of virtual network gateway routes 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.
    • beginGetLearnedRoutesAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<GatewayRouteListResultInner>,GatewayRouteListResultInner> beginGetLearnedRoutesAsync(String resourceGroupName, String virtualNetworkGatewayName)
      This operation retrieves a list of routes the virtual network gateway has learned, including routes learned from BGP peers.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      Returns:
      the PollerFlux for polling of list of virtual network gateway routes.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginGetLearnedRoutes

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<GatewayRouteListResultInner>,GatewayRouteListResultInner> beginGetLearnedRoutes(String resourceGroupName, String virtualNetworkGatewayName)
      This operation retrieves a list of routes the virtual network gateway has learned, including routes learned from BGP peers.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      Returns:
      the SyncPoller for polling of list of virtual network gateway routes.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginGetLearnedRoutes

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<GatewayRouteListResultInner>,GatewayRouteListResultInner> beginGetLearnedRoutes(String resourceGroupName, String virtualNetworkGatewayName, com.azure.core.util.Context context)
      This operation retrieves a list of routes the virtual network gateway has learned, including routes learned from BGP peers.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of list of virtual network gateway routes.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getLearnedRoutesAsync

      Mono<GatewayRouteListResultInner> getLearnedRoutesAsync(String resourceGroupName, String virtualNetworkGatewayName)
      This operation retrieves a list of routes the virtual network gateway has learned, including routes learned from BGP peers.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      Returns:
      list of virtual network gateway routes 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.
    • getLearnedRoutes

      GatewayRouteListResultInner getLearnedRoutes(String resourceGroupName, String virtualNetworkGatewayName)
      This operation retrieves a list of routes the virtual network gateway has learned, including routes learned from BGP peers.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      Returns:
      list of virtual network gateway routes.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getLearnedRoutes

      GatewayRouteListResultInner getLearnedRoutes(String resourceGroupName, String virtualNetworkGatewayName, com.azure.core.util.Context context)
      This operation retrieves a list of routes the virtual network gateway has learned, including routes learned from BGP peers.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      context - The context to associate with this operation.
      Returns:
      list of virtual network gateway routes.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getAdvertisedRoutesWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> getAdvertisedRoutesWithResponseAsync(String resourceGroupName, String virtualNetworkGatewayName, String peer)
      This operation retrieves a list of routes the virtual network gateway is advertising to the specified peer.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      peer - The IP address of the peer.
      Returns:
      list of virtual network gateway routes 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.
    • beginGetAdvertisedRoutesAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<GatewayRouteListResultInner>,GatewayRouteListResultInner> beginGetAdvertisedRoutesAsync(String resourceGroupName, String virtualNetworkGatewayName, String peer)
      This operation retrieves a list of routes the virtual network gateway is advertising to the specified peer.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      peer - The IP address of the peer.
      Returns:
      the PollerFlux for polling of list of virtual network gateway routes.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginGetAdvertisedRoutes

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<GatewayRouteListResultInner>,GatewayRouteListResultInner> beginGetAdvertisedRoutes(String resourceGroupName, String virtualNetworkGatewayName, String peer)
      This operation retrieves a list of routes the virtual network gateway is advertising to the specified peer.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      peer - The IP address of the peer.
      Returns:
      the SyncPoller for polling of list of virtual network gateway routes.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginGetAdvertisedRoutes

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<GatewayRouteListResultInner>,GatewayRouteListResultInner> beginGetAdvertisedRoutes(String resourceGroupName, String virtualNetworkGatewayName, String peer, com.azure.core.util.Context context)
      This operation retrieves a list of routes the virtual network gateway is advertising to the specified peer.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      peer - The IP address of the peer.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of list of virtual network gateway routes.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getAdvertisedRoutesAsync

      Mono<GatewayRouteListResultInner> getAdvertisedRoutesAsync(String resourceGroupName, String virtualNetworkGatewayName, String peer)
      This operation retrieves a list of routes the virtual network gateway is advertising to the specified peer.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      peer - The IP address of the peer.
      Returns:
      list of virtual network gateway routes 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.
    • getAdvertisedRoutes

      GatewayRouteListResultInner getAdvertisedRoutes(String resourceGroupName, String virtualNetworkGatewayName, String peer)
      This operation retrieves a list of routes the virtual network gateway is advertising to the specified peer.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      peer - The IP address of the peer.
      Returns:
      list of virtual network gateway routes.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getAdvertisedRoutes

      GatewayRouteListResultInner getAdvertisedRoutes(String resourceGroupName, String virtualNetworkGatewayName, String peer, com.azure.core.util.Context context)
      This operation retrieves a list of routes the virtual network gateway is advertising to the specified peer.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      peer - The IP address of the peer.
      context - The context to associate with this operation.
      Returns:
      list of virtual network gateway routes.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • setVpnclientIpsecParametersWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> setVpnclientIpsecParametersWithResponseAsync(String resourceGroupName, String virtualNetworkGatewayName, VpnClientIPsecParametersInner vpnclientIpsecParams)
      The Set VpnclientIpsecParameters operation sets the vpnclient ipsec policy for P2S client of virtual network gateway in the specified resource group through Network resource provider.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      vpnclientIpsecParams - Parameters supplied to the Begin Set vpnclient ipsec parameters of Virtual Network Gateway P2S client operation through Network resource provider.
      Returns:
      an IPSec parameters for a virtual network gateway P2S connection 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.
    • beginSetVpnclientIpsecParametersAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<VpnClientIPsecParametersInner>,VpnClientIPsecParametersInner> beginSetVpnclientIpsecParametersAsync(String resourceGroupName, String virtualNetworkGatewayName, VpnClientIPsecParametersInner vpnclientIpsecParams)
      The Set VpnclientIpsecParameters operation sets the vpnclient ipsec policy for P2S client of virtual network gateway in the specified resource group through Network resource provider.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      vpnclientIpsecParams - Parameters supplied to the Begin Set vpnclient ipsec parameters of Virtual Network Gateway P2S client operation through Network resource provider.
      Returns:
      the PollerFlux for polling of an IPSec parameters for a virtual network gateway P2S connection.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginSetVpnclientIpsecParameters

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VpnClientIPsecParametersInner>,VpnClientIPsecParametersInner> beginSetVpnclientIpsecParameters(String resourceGroupName, String virtualNetworkGatewayName, VpnClientIPsecParametersInner vpnclientIpsecParams)
      The Set VpnclientIpsecParameters operation sets the vpnclient ipsec policy for P2S client of virtual network gateway in the specified resource group through Network resource provider.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      vpnclientIpsecParams - Parameters supplied to the Begin Set vpnclient ipsec parameters of Virtual Network Gateway P2S client operation through Network resource provider.
      Returns:
      the SyncPoller for polling of an IPSec parameters for a virtual network gateway P2S connection.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginSetVpnclientIpsecParameters

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VpnClientIPsecParametersInner>,VpnClientIPsecParametersInner> beginSetVpnclientIpsecParameters(String resourceGroupName, String virtualNetworkGatewayName, VpnClientIPsecParametersInner vpnclientIpsecParams, com.azure.core.util.Context context)
      The Set VpnclientIpsecParameters operation sets the vpnclient ipsec policy for P2S client of virtual network gateway in the specified resource group through Network resource provider.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      vpnclientIpsecParams - Parameters supplied to the Begin Set vpnclient ipsec parameters of Virtual Network Gateway P2S client operation through Network resource provider.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of an IPSec parameters for a virtual network gateway P2S connection.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • setVpnclientIpsecParametersAsync

      Mono<VpnClientIPsecParametersInner> setVpnclientIpsecParametersAsync(String resourceGroupName, String virtualNetworkGatewayName, VpnClientIPsecParametersInner vpnclientIpsecParams)
      The Set VpnclientIpsecParameters operation sets the vpnclient ipsec policy for P2S client of virtual network gateway in the specified resource group through Network resource provider.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      vpnclientIpsecParams - Parameters supplied to the Begin Set vpnclient ipsec parameters of Virtual Network Gateway P2S client operation through Network resource provider.
      Returns:
      an IPSec parameters for a virtual network gateway P2S connection 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.
    • setVpnclientIpsecParameters

      VpnClientIPsecParametersInner setVpnclientIpsecParameters(String resourceGroupName, String virtualNetworkGatewayName, VpnClientIPsecParametersInner vpnclientIpsecParams)
      The Set VpnclientIpsecParameters operation sets the vpnclient ipsec policy for P2S client of virtual network gateway in the specified resource group through Network resource provider.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      vpnclientIpsecParams - Parameters supplied to the Begin Set vpnclient ipsec parameters of Virtual Network Gateway P2S client operation through Network resource provider.
      Returns:
      an IPSec parameters for a virtual network gateway P2S connection.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • setVpnclientIpsecParameters

      VpnClientIPsecParametersInner setVpnclientIpsecParameters(String resourceGroupName, String virtualNetworkGatewayName, VpnClientIPsecParametersInner vpnclientIpsecParams, com.azure.core.util.Context context)
      The Set VpnclientIpsecParameters operation sets the vpnclient ipsec policy for P2S client of virtual network gateway in the specified resource group through Network resource provider.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      vpnclientIpsecParams - Parameters supplied to the Begin Set vpnclient ipsec parameters of Virtual Network Gateway P2S client operation through Network resource provider.
      context - The context to associate with this operation.
      Returns:
      an IPSec parameters for a virtual network gateway P2S connection.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getVpnclientIpsecParametersWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> getVpnclientIpsecParametersWithResponseAsync(String resourceGroupName, String virtualNetworkGatewayName)
      The Get VpnclientIpsecParameters operation retrieves information about the vpnclient ipsec policy for P2S client of virtual network gateway in the specified resource group through Network resource provider.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The virtual network gateway name.
      Returns:
      an IPSec parameters for a virtual network gateway P2S connection 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.
    • beginGetVpnclientIpsecParametersAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<VpnClientIPsecParametersInner>,VpnClientIPsecParametersInner> beginGetVpnclientIpsecParametersAsync(String resourceGroupName, String virtualNetworkGatewayName)
      The Get VpnclientIpsecParameters operation retrieves information about the vpnclient ipsec policy for P2S client of virtual network gateway in the specified resource group through Network resource provider.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The virtual network gateway name.
      Returns:
      the PollerFlux for polling of an IPSec parameters for a virtual network gateway P2S connection.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginGetVpnclientIpsecParameters

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VpnClientIPsecParametersInner>,VpnClientIPsecParametersInner> beginGetVpnclientIpsecParameters(String resourceGroupName, String virtualNetworkGatewayName)
      The Get VpnclientIpsecParameters operation retrieves information about the vpnclient ipsec policy for P2S client of virtual network gateway in the specified resource group through Network resource provider.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The virtual network gateway name.
      Returns:
      the SyncPoller for polling of an IPSec parameters for a virtual network gateway P2S connection.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginGetVpnclientIpsecParameters

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VpnClientIPsecParametersInner>,VpnClientIPsecParametersInner> beginGetVpnclientIpsecParameters(String resourceGroupName, String virtualNetworkGatewayName, com.azure.core.util.Context context)
      The Get VpnclientIpsecParameters operation retrieves information about the vpnclient ipsec policy for P2S client of virtual network gateway in the specified resource group through Network resource provider.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The virtual network gateway name.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of an IPSec parameters for a virtual network gateway P2S connection.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getVpnclientIpsecParametersAsync

      Mono<VpnClientIPsecParametersInner> getVpnclientIpsecParametersAsync(String resourceGroupName, String virtualNetworkGatewayName)
      The Get VpnclientIpsecParameters operation retrieves information about the vpnclient ipsec policy for P2S client of virtual network gateway in the specified resource group through Network resource provider.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The virtual network gateway name.
      Returns:
      an IPSec parameters for a virtual network gateway P2S connection 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.
    • getVpnclientIpsecParameters

      VpnClientIPsecParametersInner getVpnclientIpsecParameters(String resourceGroupName, String virtualNetworkGatewayName)
      The Get VpnclientIpsecParameters operation retrieves information about the vpnclient ipsec policy for P2S client of virtual network gateway in the specified resource group through Network resource provider.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The virtual network gateway name.
      Returns:
      an IPSec parameters for a virtual network gateway P2S connection.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getVpnclientIpsecParameters

      VpnClientIPsecParametersInner getVpnclientIpsecParameters(String resourceGroupName, String virtualNetworkGatewayName, com.azure.core.util.Context context)
      The Get VpnclientIpsecParameters operation retrieves information about the vpnclient ipsec policy for P2S client of virtual network gateway in the specified resource group through Network resource provider.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The virtual network gateway name.
      context - The context to associate with this operation.
      Returns:
      an IPSec parameters for a virtual network gateway P2S connection.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • vpnDeviceConfigurationScriptWithResponseAsync

      Mono<com.azure.core.http.rest.Response<String>> vpnDeviceConfigurationScriptWithResponseAsync(String resourceGroupName, String virtualNetworkGatewayConnectionName, VpnDeviceScriptParameters parameters)
      Gets a xml format representation for vpn device configuration script.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayConnectionName - The name of the virtual network gateway connection for which the configuration script is generated.
      parameters - Parameters supplied to the generate vpn device script operation.
      Returns:
      a xml format representation for vpn device configuration script 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.
    • vpnDeviceConfigurationScriptAsync

      Mono<String> vpnDeviceConfigurationScriptAsync(String resourceGroupName, String virtualNetworkGatewayConnectionName, VpnDeviceScriptParameters parameters)
      Gets a xml format representation for vpn device configuration script.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayConnectionName - The name of the virtual network gateway connection for which the configuration script is generated.
      parameters - Parameters supplied to the generate vpn device script operation.
      Returns:
      a xml format representation for vpn device configuration script 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.
    • vpnDeviceConfigurationScriptWithResponse

      com.azure.core.http.rest.Response<String> vpnDeviceConfigurationScriptWithResponse(String resourceGroupName, String virtualNetworkGatewayConnectionName, VpnDeviceScriptParameters parameters, com.azure.core.util.Context context)
      Gets a xml format representation for vpn device configuration script.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayConnectionName - The name of the virtual network gateway connection for which the configuration script is generated.
      parameters - Parameters supplied to the generate vpn device script operation.
      context - The context to associate with this operation.
      Returns:
      a xml format representation for vpn device configuration script 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.
    • vpnDeviceConfigurationScript

      String vpnDeviceConfigurationScript(String resourceGroupName, String virtualNetworkGatewayConnectionName, VpnDeviceScriptParameters parameters)
      Gets a xml format representation for vpn device configuration script.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayConnectionName - The name of the virtual network gateway connection for which the configuration script is generated.
      parameters - Parameters supplied to the generate vpn device script operation.
      Returns:
      a xml format representation for vpn device configuration script.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.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 virtualNetworkGatewayName, VpnPacketCaptureStartParameters parameters)
      Starts packet capture on virtual network gateway in the specified resource group.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      parameters - Virtual network gateway packet capture parameters supplied to start packet capture on gateway.
      Returns:
      the response body along with Response on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ErrorException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginStartPacketCaptureAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<String>,String> beginStartPacketCaptureAsync(String resourceGroupName, String virtualNetworkGatewayName, VpnPacketCaptureStartParameters parameters)
      Starts packet capture on virtual network gateway in the specified resource group.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      parameters - Virtual network gateway packet capture parameters supplied to start packet capture on gateway.
      Returns:
      the PollerFlux for polling of long-running operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ErrorException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginStartPacketCaptureAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<String>,String> beginStartPacketCaptureAsync(String resourceGroupName, String virtualNetworkGatewayName)
      Starts packet capture on virtual network gateway in the specified resource group.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      Returns:
      the PollerFlux for polling of long-running operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ErrorException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginStartPacketCapture

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<String>,String> beginStartPacketCapture(String resourceGroupName, String virtualNetworkGatewayName)
      Starts packet capture on virtual network gateway in the specified resource group.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      Returns:
      the SyncPoller for polling of long-running operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ErrorException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginStartPacketCapture

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<String>,String> beginStartPacketCapture(String resourceGroupName, String virtualNetworkGatewayName, VpnPacketCaptureStartParameters parameters, com.azure.core.util.Context context)
      Starts packet capture on virtual network gateway in the specified resource group.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      parameters - Virtual network gateway packet capture parameters supplied to start packet capture on 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.
      ErrorException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • startPacketCaptureAsync

      Mono<String> startPacketCaptureAsync(String resourceGroupName, String virtualNetworkGatewayName, VpnPacketCaptureStartParameters parameters)
      Starts packet capture on virtual network gateway in the specified resource group.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      parameters - Virtual network gateway packet capture parameters supplied to start packet capture on gateway.
      Returns:
      the response body on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ErrorException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • startPacketCaptureAsync

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

      String startPacketCapture(String resourceGroupName, String virtualNetworkGatewayName)
      Starts packet capture on virtual network gateway in the specified resource group.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      Returns:
      the response.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ErrorException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • startPacketCapture

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

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> stopPacketCaptureWithResponseAsync(String resourceGroupName, String virtualNetworkGatewayName, VpnPacketCaptureStopParameters parameters)
      Stops packet capture on virtual network gateway in the specified resource group.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      parameters - Virtual network gateway packet capture parameters supplied to stop packet capture on gateway.
      Returns:
      the response body along with Response on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ErrorException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginStopPacketCaptureAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<String>,String> beginStopPacketCaptureAsync(String resourceGroupName, String virtualNetworkGatewayName, VpnPacketCaptureStopParameters parameters)
      Stops packet capture on virtual network gateway in the specified resource group.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      parameters - Virtual network gateway packet capture parameters supplied to stop packet capture on gateway.
      Returns:
      the PollerFlux for polling of long-running operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ErrorException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginStopPacketCapture

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<String>,String> beginStopPacketCapture(String resourceGroupName, String virtualNetworkGatewayName, VpnPacketCaptureStopParameters parameters)
      Stops packet capture on virtual network gateway in the specified resource group.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      parameters - Virtual network gateway packet capture parameters supplied to stop packet capture on gateway.
      Returns:
      the SyncPoller for polling of long-running operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ErrorException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginStopPacketCapture

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<String>,String> beginStopPacketCapture(String resourceGroupName, String virtualNetworkGatewayName, VpnPacketCaptureStopParameters parameters, com.azure.core.util.Context context)
      Stops packet capture on virtual network gateway in the specified resource group.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      parameters - Virtual network gateway packet capture parameters supplied to stop packet capture on 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.
      ErrorException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • stopPacketCaptureAsync

      Mono<String> stopPacketCaptureAsync(String resourceGroupName, String virtualNetworkGatewayName, VpnPacketCaptureStopParameters parameters)
      Stops packet capture on virtual network gateway in the specified resource group.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      parameters - Virtual network gateway packet capture parameters supplied to stop packet capture on gateway.
      Returns:
      the response body on successful completion of Mono.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ErrorException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • stopPacketCapture

      String stopPacketCapture(String resourceGroupName, String virtualNetworkGatewayName, VpnPacketCaptureStopParameters parameters)
      Stops packet capture on virtual network gateway in the specified resource group.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      parameters - Virtual network gateway packet capture parameters supplied to stop packet capture on gateway.
      Returns:
      the response.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ErrorException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • stopPacketCapture

      String stopPacketCapture(String resourceGroupName, String virtualNetworkGatewayName, VpnPacketCaptureStopParameters parameters, com.azure.core.util.Context context)
      Stops packet capture on virtual network gateway in the specified resource group.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      parameters - Virtual network gateway packet capture parameters supplied to stop packet capture on gateway.
      context - The context to associate with this operation.
      Returns:
      the response.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      ErrorException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getFailoverAllTestDetailsWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> getFailoverAllTestDetailsWithResponseAsync(String resourceGroupName, String virtualNetworkGatewayName, String type, boolean fetchLatest)
      This operation retrieves the details of all the failover tests performed on the gateway for different peering locations.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      type - The type of failover test.
      fetchLatest - Fetch only the latest tests for each peering location.
      Returns:
      gateway Failover All Test Details 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.
    • beginGetFailoverAllTestDetailsAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<List<ExpressRouteFailoverTestDetailsInner>>,List<ExpressRouteFailoverTestDetailsInner>> beginGetFailoverAllTestDetailsAsync(String resourceGroupName, String virtualNetworkGatewayName, String type, boolean fetchLatest)
      This operation retrieves the details of all the failover tests performed on the gateway for different peering locations.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      type - The type of failover test.
      fetchLatest - Fetch only the latest tests for each peering location.
      Returns:
      the PollerFlux for polling of gateway Failover All Test Details.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginGetFailoverAllTestDetails

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<List<ExpressRouteFailoverTestDetailsInner>>,List<ExpressRouteFailoverTestDetailsInner>> beginGetFailoverAllTestDetails(String resourceGroupName, String virtualNetworkGatewayName, String type, boolean fetchLatest)
      This operation retrieves the details of all the failover tests performed on the gateway for different peering locations.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      type - The type of failover test.
      fetchLatest - Fetch only the latest tests for each peering location.
      Returns:
      the SyncPoller for polling of gateway Failover All Test Details.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginGetFailoverAllTestDetails

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<List<ExpressRouteFailoverTestDetailsInner>>,List<ExpressRouteFailoverTestDetailsInner>> beginGetFailoverAllTestDetails(String resourceGroupName, String virtualNetworkGatewayName, String type, boolean fetchLatest, com.azure.core.util.Context context)
      This operation retrieves the details of all the failover tests performed on the gateway for different peering locations.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      type - The type of failover test.
      fetchLatest - Fetch only the latest tests for each peering location.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of gateway Failover All Test Details.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getFailoverAllTestDetailsAsync

      Mono<List<ExpressRouteFailoverTestDetailsInner>> getFailoverAllTestDetailsAsync(String resourceGroupName, String virtualNetworkGatewayName, String type, boolean fetchLatest)
      This operation retrieves the details of all the failover tests performed on the gateway for different peering locations.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      type - The type of failover test.
      fetchLatest - Fetch only the latest tests for each peering location.
      Returns:
      gateway Failover All Test Details 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.
    • getFailoverAllTestDetails

      List<ExpressRouteFailoverTestDetailsInner> getFailoverAllTestDetails(String resourceGroupName, String virtualNetworkGatewayName, String type, boolean fetchLatest)
      This operation retrieves the details of all the failover tests performed on the gateway for different peering locations.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      type - The type of failover test.
      fetchLatest - Fetch only the latest tests for each peering location.
      Returns:
      gateway Failover All Test Details.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getFailoverAllTestDetails

      List<ExpressRouteFailoverTestDetailsInner> getFailoverAllTestDetails(String resourceGroupName, String virtualNetworkGatewayName, String type, boolean fetchLatest, com.azure.core.util.Context context)
      This operation retrieves the details of all the failover tests performed on the gateway for different peering locations.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      type - The type of failover test.
      fetchLatest - Fetch only the latest tests for each peering location.
      context - The context to associate with this operation.
      Returns:
      gateway Failover All Test Details.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getFailoverSingleTestDetailsWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> getFailoverSingleTestDetailsWithResponseAsync(String resourceGroupName, String virtualNetworkGatewayName, String peeringLocation, String failoverTestId)
      This operation retrieves the details of a particular failover test performed on the gateway based on the test Guid.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      peeringLocation - Peering location of the test.
      failoverTestId - The unique Guid value which identifies the test.
      Returns:
      gateway Failover Single Test Details Object 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.
    • beginGetFailoverSingleTestDetailsAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<List<ExpressRouteFailoverSingleTestDetailsInner>>,List<ExpressRouteFailoverSingleTestDetailsInner>> beginGetFailoverSingleTestDetailsAsync(String resourceGroupName, String virtualNetworkGatewayName, String peeringLocation, String failoverTestId)
      This operation retrieves the details of a particular failover test performed on the gateway based on the test Guid.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      peeringLocation - Peering location of the test.
      failoverTestId - The unique Guid value which identifies the test.
      Returns:
      the PollerFlux for polling of gateway Failover Single Test Details Object.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginGetFailoverSingleTestDetails

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<List<ExpressRouteFailoverSingleTestDetailsInner>>,List<ExpressRouteFailoverSingleTestDetailsInner>> beginGetFailoverSingleTestDetails(String resourceGroupName, String virtualNetworkGatewayName, String peeringLocation, String failoverTestId)
      This operation retrieves the details of a particular failover test performed on the gateway based on the test Guid.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      peeringLocation - Peering location of the test.
      failoverTestId - The unique Guid value which identifies the test.
      Returns:
      the SyncPoller for polling of gateway Failover Single Test Details Object.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginGetFailoverSingleTestDetails

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<List<ExpressRouteFailoverSingleTestDetailsInner>>,List<ExpressRouteFailoverSingleTestDetailsInner>> beginGetFailoverSingleTestDetails(String resourceGroupName, String virtualNetworkGatewayName, String peeringLocation, String failoverTestId, com.azure.core.util.Context context)
      This operation retrieves the details of a particular failover test performed on the gateway based on the test Guid.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      peeringLocation - Peering location of the test.
      failoverTestId - The unique Guid value which identifies the test.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of gateway Failover Single Test Details Object.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getFailoverSingleTestDetailsAsync

      Mono<List<ExpressRouteFailoverSingleTestDetailsInner>> getFailoverSingleTestDetailsAsync(String resourceGroupName, String virtualNetworkGatewayName, String peeringLocation, String failoverTestId)
      This operation retrieves the details of a particular failover test performed on the gateway based on the test Guid.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      peeringLocation - Peering location of the test.
      failoverTestId - The unique Guid value which identifies the test.
      Returns:
      gateway Failover Single Test Details Object 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.
    • getFailoverSingleTestDetails

      List<ExpressRouteFailoverSingleTestDetailsInner> getFailoverSingleTestDetails(String resourceGroupName, String virtualNetworkGatewayName, String peeringLocation, String failoverTestId)
      This operation retrieves the details of a particular failover test performed on the gateway based on the test Guid.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      peeringLocation - Peering location of the test.
      failoverTestId - The unique Guid value which identifies the test.
      Returns:
      gateway Failover Single Test Details Object.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • getFailoverSingleTestDetails

      List<ExpressRouteFailoverSingleTestDetailsInner> getFailoverSingleTestDetails(String resourceGroupName, String virtualNetworkGatewayName, String peeringLocation, String failoverTestId, com.azure.core.util.Context context)
      This operation retrieves the details of a particular failover test performed on the gateway based on the test Guid.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      peeringLocation - Peering location of the test.
      failoverTestId - The unique Guid value which identifies the test.
      context - The context to associate with this operation.
      Returns:
      gateway Failover Single Test Details Object.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • startExpressRouteSiteFailoverSimulationWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> startExpressRouteSiteFailoverSimulationWithResponseAsync(String resourceGroupName, String virtualNetworkGatewayName, String peeringLocation)
      This operation starts failover simulation on the gateway for the specified peering location.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      peeringLocation - Peering location of the test.
      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.
    • beginStartExpressRouteSiteFailoverSimulationAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<String>,String> beginStartExpressRouteSiteFailoverSimulationAsync(String resourceGroupName, String virtualNetworkGatewayName, String peeringLocation)
      This operation starts failover simulation on the gateway for the specified peering location.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      peeringLocation - Peering location of the test.
      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.
    • beginStartExpressRouteSiteFailoverSimulation

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<String>,String> beginStartExpressRouteSiteFailoverSimulation(String resourceGroupName, String virtualNetworkGatewayName, String peeringLocation)
      This operation starts failover simulation on the gateway for the specified peering location.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      peeringLocation - Peering location of the test.
      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.
    • beginStartExpressRouteSiteFailoverSimulation

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<String>,String> beginStartExpressRouteSiteFailoverSimulation(String resourceGroupName, String virtualNetworkGatewayName, String peeringLocation, com.azure.core.util.Context context)
      This operation starts failover simulation on the gateway for the specified peering location.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      peeringLocation - Peering location of the test.
      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.
    • startExpressRouteSiteFailoverSimulationAsync

      Mono<String> startExpressRouteSiteFailoverSimulationAsync(String resourceGroupName, String virtualNetworkGatewayName, String peeringLocation)
      This operation starts failover simulation on the gateway for the specified peering location.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      peeringLocation - Peering location of the test.
      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.
    • startExpressRouteSiteFailoverSimulation

      String startExpressRouteSiteFailoverSimulation(String resourceGroupName, String virtualNetworkGatewayName, String peeringLocation)
      This operation starts failover simulation on the gateway for the specified peering location.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      peeringLocation - Peering location of the test.
      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.
    • startExpressRouteSiteFailoverSimulation

      String startExpressRouteSiteFailoverSimulation(String resourceGroupName, String virtualNetworkGatewayName, String peeringLocation, com.azure.core.util.Context context)
      This operation starts failover simulation on the gateway for the specified peering location.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      peeringLocation - Peering location of the test.
      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.
    • stopExpressRouteSiteFailoverSimulationWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> stopExpressRouteSiteFailoverSimulationWithResponseAsync(String resourceGroupName, String virtualNetworkGatewayName, ExpressRouteFailoverStopApiParameters stopParameters)
      This operation stops failover simulation on the gateway for the specified peering location.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      stopParameters - Virtual network gateway stop simulation parameters supplied to stop failover simulation on 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.
    • beginStopExpressRouteSiteFailoverSimulationAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<String>,String> beginStopExpressRouteSiteFailoverSimulationAsync(String resourceGroupName, String virtualNetworkGatewayName, ExpressRouteFailoverStopApiParameters stopParameters)
      This operation stops failover simulation on the gateway for the specified peering location.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      stopParameters - Virtual network gateway stop simulation parameters supplied to stop failover simulation on 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.
    • beginStopExpressRouteSiteFailoverSimulation

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<String>,String> beginStopExpressRouteSiteFailoverSimulation(String resourceGroupName, String virtualNetworkGatewayName, ExpressRouteFailoverStopApiParameters stopParameters)
      This operation stops failover simulation on the gateway for the specified peering location.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      stopParameters - Virtual network gateway stop simulation parameters supplied to stop failover simulation on 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.
    • beginStopExpressRouteSiteFailoverSimulation

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<String>,String> beginStopExpressRouteSiteFailoverSimulation(String resourceGroupName, String virtualNetworkGatewayName, ExpressRouteFailoverStopApiParameters stopParameters, com.azure.core.util.Context context)
      This operation stops failover simulation on the gateway for the specified peering location.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      stopParameters - Virtual network gateway stop simulation parameters supplied to stop failover simulation on 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.
    • stopExpressRouteSiteFailoverSimulationAsync

      Mono<String> stopExpressRouteSiteFailoverSimulationAsync(String resourceGroupName, String virtualNetworkGatewayName, ExpressRouteFailoverStopApiParameters stopParameters)
      This operation stops failover simulation on the gateway for the specified peering location.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      stopParameters - Virtual network gateway stop simulation parameters supplied to stop failover simulation on 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.
    • stopExpressRouteSiteFailoverSimulation

      String stopExpressRouteSiteFailoverSimulation(String resourceGroupName, String virtualNetworkGatewayName, ExpressRouteFailoverStopApiParameters stopParameters)
      This operation stops failover simulation on the gateway for the specified peering location.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      stopParameters - Virtual network gateway stop simulation parameters supplied to stop failover simulation on 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.
    • stopExpressRouteSiteFailoverSimulation

      String stopExpressRouteSiteFailoverSimulation(String resourceGroupName, String virtualNetworkGatewayName, ExpressRouteFailoverStopApiParameters stopParameters, com.azure.core.util.Context context)
      This operation stops failover simulation on the gateway for the specified peering location.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      stopParameters - Virtual network gateway stop simulation parameters supplied to stop failover simulation on 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.
    • getVpnclientConnectionHealthWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> getVpnclientConnectionHealthWithResponseAsync(String resourceGroupName, String virtualNetworkGatewayName)
      Get VPN client connection health detail per P2S client connection of the virtual network gateway in the specified resource group.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      Returns:
      vPN client connection health detail per P2S client connection of the virtual network gateway 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.
    • beginGetVpnclientConnectionHealthAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<VpnClientConnectionHealthDetailListResultInner>,VpnClientConnectionHealthDetailListResultInner> beginGetVpnclientConnectionHealthAsync(String resourceGroupName, String virtualNetworkGatewayName)
      Get VPN client connection health detail per P2S client connection of the virtual network gateway in the specified resource group.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      Returns:
      the PollerFlux for polling of vPN client connection health detail per P2S client connection of the virtual network gateway 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.
    • beginGetVpnclientConnectionHealth

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VpnClientConnectionHealthDetailListResultInner>,VpnClientConnectionHealthDetailListResultInner> beginGetVpnclientConnectionHealth(String resourceGroupName, String virtualNetworkGatewayName)
      Get VPN client connection health detail per P2S client connection of the virtual network gateway in the specified resource group.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      Returns:
      the SyncPoller for polling of vPN client connection health detail per P2S client connection of the virtual network gateway 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.
    • beginGetVpnclientConnectionHealth

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VpnClientConnectionHealthDetailListResultInner>,VpnClientConnectionHealthDetailListResultInner> beginGetVpnclientConnectionHealth(String resourceGroupName, String virtualNetworkGatewayName, com.azure.core.util.Context context)
      Get VPN client connection health detail per P2S client connection of the virtual network gateway in the specified resource group.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of vPN client connection health detail per P2S client connection of the virtual network gateway 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.
    • getVpnclientConnectionHealthAsync

      Mono<VpnClientConnectionHealthDetailListResultInner> getVpnclientConnectionHealthAsync(String resourceGroupName, String virtualNetworkGatewayName)
      Get VPN client connection health detail per P2S client connection of the virtual network gateway in the specified resource group.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      Returns:
      vPN client connection health detail per P2S client connection of the virtual network gateway 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.
    • getVpnclientConnectionHealth

      VpnClientConnectionHealthDetailListResultInner getVpnclientConnectionHealth(String resourceGroupName, String virtualNetworkGatewayName)
      Get VPN client connection health detail per P2S client connection of the virtual network gateway in the specified resource group.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      Returns:
      vPN client connection health detail per P2S client connection of the virtual network gateway 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.
    • getVpnclientConnectionHealth

      VpnClientConnectionHealthDetailListResultInner getVpnclientConnectionHealth(String resourceGroupName, String virtualNetworkGatewayName, com.azure.core.util.Context context)
      Get VPN client connection health detail per P2S client connection of the virtual network gateway in the specified resource group.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      context - The context to associate with this operation.
      Returns:
      vPN client connection health detail per P2S client connection of the virtual network gateway 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.
    • disconnectVirtualNetworkGatewayVpnConnectionsWithResponseAsync

      Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> disconnectVirtualNetworkGatewayVpnConnectionsWithResponseAsync(String resourceGroupName, String virtualNetworkGatewayName, P2SVpnConnectionRequest request)
      Disconnect vpn connections of virtual network gateway in the specified resource group.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      request - The parameters are supplied to disconnect 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.
    • beginDisconnectVirtualNetworkGatewayVpnConnectionsAsync

      com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,Void> beginDisconnectVirtualNetworkGatewayVpnConnectionsAsync(String resourceGroupName, String virtualNetworkGatewayName, P2SVpnConnectionRequest request)
      Disconnect vpn connections of virtual network gateway in the specified resource group.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      request - The parameters are supplied to disconnect 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.
    • beginDisconnectVirtualNetworkGatewayVpnConnections

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDisconnectVirtualNetworkGatewayVpnConnections(String resourceGroupName, String virtualNetworkGatewayName, P2SVpnConnectionRequest request)
      Disconnect vpn connections of virtual network gateway in the specified resource group.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      request - The parameters are supplied to disconnect 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.
    • beginDisconnectVirtualNetworkGatewayVpnConnections

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,Void> beginDisconnectVirtualNetworkGatewayVpnConnections(String resourceGroupName, String virtualNetworkGatewayName, P2SVpnConnectionRequest request, com.azure.core.util.Context context)
      Disconnect vpn connections of virtual network gateway in the specified resource group.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      request - The parameters are supplied to disconnect 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.
    • disconnectVirtualNetworkGatewayVpnConnectionsAsync

      Mono<Void> disconnectVirtualNetworkGatewayVpnConnectionsAsync(String resourceGroupName, String virtualNetworkGatewayName, P2SVpnConnectionRequest request)
      Disconnect vpn connections of virtual network gateway in the specified resource group.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      request - The parameters are supplied to disconnect 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.
    • disconnectVirtualNetworkGatewayVpnConnections

      void disconnectVirtualNetworkGatewayVpnConnections(String resourceGroupName, String virtualNetworkGatewayName, P2SVpnConnectionRequest request)
      Disconnect vpn connections of virtual network gateway in the specified resource group.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      request - The parameters are supplied to disconnect 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.
    • disconnectVirtualNetworkGatewayVpnConnections

      void disconnectVirtualNetworkGatewayVpnConnections(String resourceGroupName, String virtualNetworkGatewayName, P2SVpnConnectionRequest request, com.azure.core.util.Context context)
      Disconnect vpn connections of virtual network gateway in the specified resource group.
      Parameters:
      resourceGroupName - The name of the resource group.
      virtualNetworkGatewayName - The name of the virtual network gateway.
      request - The parameters are supplied to disconnect 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.