Interface VirtualNetworkGatewayConnectionsClient

    • Method Detail

      • createOrUpdateWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync​(String resourceGroupName,
                                                                                                  String virtualNetworkGatewayConnectionName,
                                                                                                  VirtualNetworkGatewayConnectionInner parameters)
        Creates or updates a virtual network gateway connection in the specified resource group.
        Parameters:
        resourceGroupName - The name of the resource group.
        virtualNetworkGatewayConnectionName - The name of the virtual network gateway connection.
        parameters - Parameters supplied to the create or update virtual network gateway connection operation.
        Returns:
        a common class for general resource information along with 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<VirtualNetworkGatewayConnectionInner>,​VirtualNetworkGatewayConnectionInner> beginCreateOrUpdateAsync​(String resourceGroupName,
                                                                                                                                                                                                       String virtualNetworkGatewayConnectionName,
                                                                                                                                                                                                       VirtualNetworkGatewayConnectionInner parameters)
        Creates or updates a virtual network gateway connection in the specified resource group.
        Parameters:
        resourceGroupName - The name of the resource group.
        virtualNetworkGatewayConnectionName - The name of the virtual network gateway connection.
        parameters - Parameters supplied to the create or update virtual network gateway connection operation.
        Returns:
        the 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<VirtualNetworkGatewayConnectionInner>,​VirtualNetworkGatewayConnectionInner> beginCreateOrUpdate​(String resourceGroupName,
                                                                                                                                                                                                  String virtualNetworkGatewayConnectionName,
                                                                                                                                                                                                  VirtualNetworkGatewayConnectionInner parameters)
        Creates or updates a virtual network gateway connection in the specified resource group.
        Parameters:
        resourceGroupName - The name of the resource group.
        virtualNetworkGatewayConnectionName - The name of the virtual network gateway connection.
        parameters - Parameters supplied to the create or update virtual network gateway connection operation.
        Returns:
        the 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<VirtualNetworkGatewayConnectionInner>,​VirtualNetworkGatewayConnectionInner> beginCreateOrUpdate​(String resourceGroupName,
                                                                                                                                                                                                  String virtualNetworkGatewayConnectionName,
                                                                                                                                                                                                  VirtualNetworkGatewayConnectionInner parameters,
                                                                                                                                                                                                  com.azure.core.util.Context context)
        Creates or updates a virtual network gateway connection in the specified resource group.
        Parameters:
        resourceGroupName - The name of the resource group.
        virtualNetworkGatewayConnectionName - The name of the virtual network gateway connection.
        parameters - Parameters supplied to the create or update virtual network gateway connection operation.
        context - The context to associate with this operation.
        Returns:
        the 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<VirtualNetworkGatewayConnectionInner> createOrUpdateAsync​(String resourceGroupName,
                                                                       String virtualNetworkGatewayConnectionName,
                                                                       VirtualNetworkGatewayConnectionInner parameters)
        Creates or updates a virtual network gateway connection in the specified resource group.
        Parameters:
        resourceGroupName - The name of the resource group.
        virtualNetworkGatewayConnectionName - The name of the virtual network gateway connection.
        parameters - Parameters supplied to the create or update virtual network gateway connection operation.
        Returns:
        a common class for general resource information on successful completion of Mono.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • createOrUpdate

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

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

        Mono<com.azure.core.http.rest.Response<VirtualNetworkGatewayConnectionInner>> getByResourceGroupWithResponseAsync​(String resourceGroupName,
                                                                                                                          String virtualNetworkGatewayConnectionName)
        Gets the specified virtual network gateway connection by resource group.
        Parameters:
        resourceGroupName - The name of the resource group.
        virtualNetworkGatewayConnectionName - The name of the virtual network gateway connection.
        Returns:
        the specified virtual network gateway connection by resource group along with 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<VirtualNetworkGatewayConnectionInner> getByResourceGroupAsync​(String resourceGroupName,
                                                                           String virtualNetworkGatewayConnectionName)
        Gets the specified virtual network gateway connection by resource group.
        Specified by:
        getByResourceGroupAsync in interface InnerSupportsGet<VirtualNetworkGatewayConnectionInner>
        Parameters:
        resourceGroupName - The name of the resource group.
        virtualNetworkGatewayConnectionName - The name of the virtual network gateway connection.
        Returns:
        the specified virtual network gateway connection by resource group on successful completion of Mono.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getByResourceGroup

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

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

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

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

        Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> updateTagsWithResponseAsync​(String resourceGroupName,
                                                                                              String virtualNetworkGatewayConnectionName,
                                                                                              TagsObject parameters)
        Updates a virtual network gateway connection tags.
        Parameters:
        resourceGroupName - The name of the resource group.
        virtualNetworkGatewayConnectionName - The name of the virtual network gateway connection.
        parameters - Parameters supplied to update virtual network gateway connection tags.
        Returns:
        a common class for general resource information along with 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<VirtualNetworkGatewayConnectionInner>,​VirtualNetworkGatewayConnectionInner> beginUpdateTagsAsync​(String resourceGroupName,
                                                                                                                                                                                                   String virtualNetworkGatewayConnectionName,
                                                                                                                                                                                                   TagsObject parameters)
        Updates a virtual network gateway connection tags.
        Parameters:
        resourceGroupName - The name of the resource group.
        virtualNetworkGatewayConnectionName - The name of the virtual network gateway connection.
        parameters - Parameters supplied to update virtual network gateway connection tags.
        Returns:
        the 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<VirtualNetworkGatewayConnectionInner>,​VirtualNetworkGatewayConnectionInner> beginUpdateTags​(String resourceGroupName,
                                                                                                                                                                                              String virtualNetworkGatewayConnectionName,
                                                                                                                                                                                              TagsObject parameters)
        Updates a virtual network gateway connection tags.
        Parameters:
        resourceGroupName - The name of the resource group.
        virtualNetworkGatewayConnectionName - The name of the virtual network gateway connection.
        parameters - Parameters supplied to update virtual network gateway connection tags.
        Returns:
        the 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<VirtualNetworkGatewayConnectionInner>,​VirtualNetworkGatewayConnectionInner> beginUpdateTags​(String resourceGroupName,
                                                                                                                                                                                              String virtualNetworkGatewayConnectionName,
                                                                                                                                                                                              TagsObject parameters,
                                                                                                                                                                                              com.azure.core.util.Context context)
        Updates a virtual network gateway connection tags.
        Parameters:
        resourceGroupName - The name of the resource group.
        virtualNetworkGatewayConnectionName - The name of the virtual network gateway connection.
        parameters - Parameters supplied to update virtual network gateway connection tags.
        context - The context to associate with this operation.
        Returns:
        the 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<VirtualNetworkGatewayConnectionInner> updateTagsAsync​(String resourceGroupName,
                                                                   String virtualNetworkGatewayConnectionName,
                                                                   TagsObject parameters)
        Updates a virtual network gateway connection tags.
        Parameters:
        resourceGroupName - The name of the resource group.
        virtualNetworkGatewayConnectionName - The name of the virtual network gateway connection.
        parameters - Parameters supplied to update virtual network gateway connection tags.
        Returns:
        a common class for general resource information on successful completion of Mono.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • updateTags

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

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

        Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> setSharedKeyWithResponseAsync​(String resourceGroupName,
                                                                                                String virtualNetworkGatewayConnectionName,
                                                                                                ConnectionSharedKeyInner parameters)
        The Put VirtualNetworkGatewayConnectionSharedKey operation sets the virtual network gateway connection shared key for passed virtual network gateway connection in the specified resource group through Network resource provider.
        Parameters:
        resourceGroupName - The name of the resource group.
        virtualNetworkGatewayConnectionName - The virtual network gateway connection name.
        parameters - Parameters supplied to the Begin Set Virtual Network Gateway connection Shared key operation throughNetwork resource provider.
        Returns:
        response for GetConnectionSharedKey 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.
      • beginSetSharedKeyAsync

        com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<ConnectionSharedKeyInner>,​ConnectionSharedKeyInner> beginSetSharedKeyAsync​(String resourceGroupName,
                                                                                                                                                                             String virtualNetworkGatewayConnectionName,
                                                                                                                                                                             ConnectionSharedKeyInner parameters)
        The Put VirtualNetworkGatewayConnectionSharedKey operation sets the virtual network gateway connection shared key for passed virtual network gateway connection in the specified resource group through Network resource provider.
        Parameters:
        resourceGroupName - The name of the resource group.
        virtualNetworkGatewayConnectionName - The virtual network gateway connection name.
        parameters - Parameters supplied to the Begin Set Virtual Network Gateway connection Shared key operation throughNetwork resource provider.
        Returns:
        the PollerFlux for polling of response for GetConnectionSharedKey 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.
      • beginSetSharedKey

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ConnectionSharedKeyInner>,​ConnectionSharedKeyInner> beginSetSharedKey​(String resourceGroupName,
                                                                                                                                                                        String virtualNetworkGatewayConnectionName,
                                                                                                                                                                        ConnectionSharedKeyInner parameters)
        The Put VirtualNetworkGatewayConnectionSharedKey operation sets the virtual network gateway connection shared key for passed virtual network gateway connection in the specified resource group through Network resource provider.
        Parameters:
        resourceGroupName - The name of the resource group.
        virtualNetworkGatewayConnectionName - The virtual network gateway connection name.
        parameters - Parameters supplied to the Begin Set Virtual Network Gateway connection Shared key operation throughNetwork resource provider.
        Returns:
        the SyncPoller for polling of response for GetConnectionSharedKey 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.
      • beginSetSharedKey

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ConnectionSharedKeyInner>,​ConnectionSharedKeyInner> beginSetSharedKey​(String resourceGroupName,
                                                                                                                                                                        String virtualNetworkGatewayConnectionName,
                                                                                                                                                                        ConnectionSharedKeyInner parameters,
                                                                                                                                                                        com.azure.core.util.Context context)
        The Put VirtualNetworkGatewayConnectionSharedKey operation sets the virtual network gateway connection shared key for passed virtual network gateway connection in the specified resource group through Network resource provider.
        Parameters:
        resourceGroupName - The name of the resource group.
        virtualNetworkGatewayConnectionName - The virtual network gateway connection name.
        parameters - Parameters supplied to the Begin Set Virtual Network Gateway connection Shared key operation throughNetwork resource provider.
        context - The context to associate with this operation.
        Returns:
        the SyncPoller for polling of response for GetConnectionSharedKey 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.
      • setSharedKeyAsync

        Mono<ConnectionSharedKeyInner> setSharedKeyAsync​(String resourceGroupName,
                                                         String virtualNetworkGatewayConnectionName,
                                                         ConnectionSharedKeyInner parameters)
        The Put VirtualNetworkGatewayConnectionSharedKey operation sets the virtual network gateway connection shared key for passed virtual network gateway connection in the specified resource group through Network resource provider.
        Parameters:
        resourceGroupName - The name of the resource group.
        virtualNetworkGatewayConnectionName - The virtual network gateway connection name.
        parameters - Parameters supplied to the Begin Set Virtual Network Gateway connection Shared key operation throughNetwork resource provider.
        Returns:
        response for GetConnectionSharedKey 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.
      • setSharedKey

        ConnectionSharedKeyInner setSharedKey​(String resourceGroupName,
                                              String virtualNetworkGatewayConnectionName,
                                              ConnectionSharedKeyInner parameters)
        The Put VirtualNetworkGatewayConnectionSharedKey operation sets the virtual network gateway connection shared key for passed virtual network gateway connection in the specified resource group through Network resource provider.
        Parameters:
        resourceGroupName - The name of the resource group.
        virtualNetworkGatewayConnectionName - The virtual network gateway connection name.
        parameters - Parameters supplied to the Begin Set Virtual Network Gateway connection Shared key operation throughNetwork resource provider.
        Returns:
        response for GetConnectionSharedKey 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.
      • setSharedKey

        ConnectionSharedKeyInner setSharedKey​(String resourceGroupName,
                                              String virtualNetworkGatewayConnectionName,
                                              ConnectionSharedKeyInner parameters,
                                              com.azure.core.util.Context context)
        The Put VirtualNetworkGatewayConnectionSharedKey operation sets the virtual network gateway connection shared key for passed virtual network gateway connection in the specified resource group through Network resource provider.
        Parameters:
        resourceGroupName - The name of the resource group.
        virtualNetworkGatewayConnectionName - The virtual network gateway connection name.
        parameters - Parameters supplied to the Begin Set Virtual Network Gateway connection Shared key operation throughNetwork resource provider.
        context - The context to associate with this operation.
        Returns:
        response for GetConnectionSharedKey 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.
      • getSharedKeyWithResponseAsync

        Mono<com.azure.core.http.rest.Response<ConnectionSharedKeyInner>> getSharedKeyWithResponseAsync​(String resourceGroupName,
                                                                                                        String virtualNetworkGatewayConnectionName)
        The Get VirtualNetworkGatewayConnectionSharedKey operation retrieves information about the specified virtual network gateway connection shared key through Network resource provider.
        Parameters:
        resourceGroupName - The name of the resource group.
        virtualNetworkGatewayConnectionName - The virtual network gateway connection shared key name.
        Returns:
        response for GetConnectionSharedKey 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.
      • getSharedKeyAsync

        Mono<ConnectionSharedKeyInner> getSharedKeyAsync​(String resourceGroupName,
                                                         String virtualNetworkGatewayConnectionName)
        The Get VirtualNetworkGatewayConnectionSharedKey operation retrieves information about the specified virtual network gateway connection shared key through Network resource provider.
        Parameters:
        resourceGroupName - The name of the resource group.
        virtualNetworkGatewayConnectionName - The virtual network gateway connection shared key name.
        Returns:
        response for GetConnectionSharedKey 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.
      • getSharedKey

        ConnectionSharedKeyInner getSharedKey​(String resourceGroupName,
                                              String virtualNetworkGatewayConnectionName)
        The Get VirtualNetworkGatewayConnectionSharedKey operation retrieves information about the specified virtual network gateway connection shared key through Network resource provider.
        Parameters:
        resourceGroupName - The name of the resource group.
        virtualNetworkGatewayConnectionName - The virtual network gateway connection shared key name.
        Returns:
        response for GetConnectionSharedKey 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.
      • getSharedKeyWithResponse

        com.azure.core.http.rest.Response<ConnectionSharedKeyInner> getSharedKeyWithResponse​(String resourceGroupName,
                                                                                             String virtualNetworkGatewayConnectionName,
                                                                                             com.azure.core.util.Context context)
        The Get VirtualNetworkGatewayConnectionSharedKey operation retrieves information about the specified virtual network gateway connection shared key through Network resource provider.
        Parameters:
        resourceGroupName - The name of the resource group.
        virtualNetworkGatewayConnectionName - The virtual network gateway connection shared key name.
        context - The context to associate with this operation.
        Returns:
        response for GetConnectionSharedKey API service call 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.
      • listByResourceGroupAsync

        com.azure.core.http.rest.PagedFlux<VirtualNetworkGatewayConnectionInner> listByResourceGroupAsync​(String resourceGroupName)
        The List VirtualNetworkGatewayConnections operation retrieves all the virtual network gateways connections created.
        Parameters:
        resourceGroupName - The name of the resource group.
        Returns:
        response for the ListVirtualNetworkGatewayConnections API service call as paginated response with PagedFlux.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listByResourceGroup

        com.azure.core.http.rest.PagedIterable<VirtualNetworkGatewayConnectionInner> listByResourceGroup​(String resourceGroupName)
        The List VirtualNetworkGatewayConnections operation retrieves all the virtual network gateways connections created.
        Parameters:
        resourceGroupName - The name of the resource group.
        Returns:
        response for the ListVirtualNetworkGatewayConnections API service call as paginated response with PagedIterable.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listByResourceGroup

        com.azure.core.http.rest.PagedIterable<VirtualNetworkGatewayConnectionInner> listByResourceGroup​(String resourceGroupName,
                                                                                                         com.azure.core.util.Context context)
        The List VirtualNetworkGatewayConnections operation retrieves all the virtual network gateways connections created.
        Parameters:
        resourceGroupName - The name of the resource group.
        context - The context to associate with this operation.
        Returns:
        response for the ListVirtualNetworkGatewayConnections API service call as paginated response with PagedIterable.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • resetSharedKeyWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> resetSharedKeyWithResponseAsync​(String resourceGroupName,
                                                                                                  String virtualNetworkGatewayConnectionName,
                                                                                                  ConnectionResetSharedKeyInner parameters)
        The VirtualNetworkGatewayConnectionResetSharedKey operation resets the virtual network gateway connection shared key for passed virtual network gateway connection in the specified resource group through Network resource provider.
        Parameters:
        resourceGroupName - The name of the resource group.
        virtualNetworkGatewayConnectionName - The virtual network gateway connection reset shared key Name.
        parameters - Parameters supplied to the begin reset virtual network gateway connection shared key operation through network resource provider.
        Returns:
        the virtual network connection reset shared key 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.
      • beginResetSharedKeyAsync

        com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<ConnectionResetSharedKeyInner>,​ConnectionResetSharedKeyInner> beginResetSharedKeyAsync​(String resourceGroupName,
                                                                                                                                                                                         String virtualNetworkGatewayConnectionName,
                                                                                                                                                                                         ConnectionResetSharedKeyInner parameters)
        The VirtualNetworkGatewayConnectionResetSharedKey operation resets the virtual network gateway connection shared key for passed virtual network gateway connection in the specified resource group through Network resource provider.
        Parameters:
        resourceGroupName - The name of the resource group.
        virtualNetworkGatewayConnectionName - The virtual network gateway connection reset shared key Name.
        parameters - Parameters supplied to the begin reset virtual network gateway connection shared key operation through network resource provider.
        Returns:
        the PollerFlux for polling of the virtual network connection reset shared key.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • beginResetSharedKey

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ConnectionResetSharedKeyInner>,​ConnectionResetSharedKeyInner> beginResetSharedKey​(String resourceGroupName,
                                                                                                                                                                                    String virtualNetworkGatewayConnectionName,
                                                                                                                                                                                    ConnectionResetSharedKeyInner parameters)
        The VirtualNetworkGatewayConnectionResetSharedKey operation resets the virtual network gateway connection shared key for passed virtual network gateway connection in the specified resource group through Network resource provider.
        Parameters:
        resourceGroupName - The name of the resource group.
        virtualNetworkGatewayConnectionName - The virtual network gateway connection reset shared key Name.
        parameters - Parameters supplied to the begin reset virtual network gateway connection shared key operation through network resource provider.
        Returns:
        the SyncPoller for polling of the virtual network connection reset shared key.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • beginResetSharedKey

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ConnectionResetSharedKeyInner>,​ConnectionResetSharedKeyInner> beginResetSharedKey​(String resourceGroupName,
                                                                                                                                                                                    String virtualNetworkGatewayConnectionName,
                                                                                                                                                                                    ConnectionResetSharedKeyInner parameters,
                                                                                                                                                                                    com.azure.core.util.Context context)
        The VirtualNetworkGatewayConnectionResetSharedKey operation resets the virtual network gateway connection shared key for passed virtual network gateway connection in the specified resource group through Network resource provider.
        Parameters:
        resourceGroupName - The name of the resource group.
        virtualNetworkGatewayConnectionName - The virtual network gateway connection reset shared key Name.
        parameters - Parameters supplied to the begin reset virtual network gateway connection shared key operation through network resource provider.
        context - The context to associate with this operation.
        Returns:
        the SyncPoller for polling of the virtual network connection reset shared key.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • resetSharedKeyAsync

        Mono<ConnectionResetSharedKeyInner> resetSharedKeyAsync​(String resourceGroupName,
                                                                String virtualNetworkGatewayConnectionName,
                                                                ConnectionResetSharedKeyInner parameters)
        The VirtualNetworkGatewayConnectionResetSharedKey operation resets the virtual network gateway connection shared key for passed virtual network gateway connection in the specified resource group through Network resource provider.
        Parameters:
        resourceGroupName - The name of the resource group.
        virtualNetworkGatewayConnectionName - The virtual network gateway connection reset shared key Name.
        parameters - Parameters supplied to the begin reset virtual network gateway connection shared key operation through network resource provider.
        Returns:
        the virtual network connection reset shared key 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.
      • resetSharedKey

        ConnectionResetSharedKeyInner resetSharedKey​(String resourceGroupName,
                                                     String virtualNetworkGatewayConnectionName,
                                                     ConnectionResetSharedKeyInner parameters)
        The VirtualNetworkGatewayConnectionResetSharedKey operation resets the virtual network gateway connection shared key for passed virtual network gateway connection in the specified resource group through Network resource provider.
        Parameters:
        resourceGroupName - The name of the resource group.
        virtualNetworkGatewayConnectionName - The virtual network gateway connection reset shared key Name.
        parameters - Parameters supplied to the begin reset virtual network gateway connection shared key operation through network resource provider.
        Returns:
        the virtual network connection reset shared key.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • resetSharedKey

        ConnectionResetSharedKeyInner resetSharedKey​(String resourceGroupName,
                                                     String virtualNetworkGatewayConnectionName,
                                                     ConnectionResetSharedKeyInner parameters,
                                                     com.azure.core.util.Context context)
        The VirtualNetworkGatewayConnectionResetSharedKey operation resets the virtual network gateway connection shared key for passed virtual network gateway connection in the specified resource group through Network resource provider.
        Parameters:
        resourceGroupName - The name of the resource group.
        virtualNetworkGatewayConnectionName - The virtual network gateway connection reset shared key Name.
        parameters - Parameters supplied to the begin reset virtual network gateway connection shared key operation through network resource provider.
        context - The context to associate with this operation.
        Returns:
        the virtual network connection reset shared key.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • startPacketCaptureWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> startPacketCaptureWithResponseAsync​(String resourceGroupName,
                                                                                                      String virtualNetworkGatewayConnectionName,
                                                                                                      VpnPacketCaptureStartParameters parameters)
        Starts packet capture on virtual network gateway connection in the specified resource group.
        Parameters:
        resourceGroupName - The name of the resource group.
        virtualNetworkGatewayConnectionName - The name of the virtual network gateway connection.
        parameters - Virtual network gateway packet capture parameters supplied to start packet capture on gateway connection.
        Returns:
        the response body along with 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 virtualNetworkGatewayConnectionName,
                                                                                                                                               VpnPacketCaptureStartParameters parameters)
        Starts packet capture on virtual network gateway connection in the specified resource group.
        Parameters:
        resourceGroupName - The name of the resource group.
        virtualNetworkGatewayConnectionName - The name of the virtual network gateway connection.
        parameters - Virtual network gateway packet capture parameters supplied to start packet capture on gateway connection.
        Returns:
        the 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 virtualNetworkGatewayConnectionName,
                                                                                                                                          VpnPacketCaptureStartParameters parameters)
        Starts packet capture on virtual network gateway connection in the specified resource group.
        Parameters:
        resourceGroupName - The name of the resource group.
        virtualNetworkGatewayConnectionName - The name of the virtual network gateway connection.
        parameters - Virtual network gateway packet capture parameters supplied to start packet capture on gateway connection.
        Returns:
        the 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 virtualNetworkGatewayConnectionName,
                                                                                                                                          VpnPacketCaptureStartParameters parameters,
                                                                                                                                          com.azure.core.util.Context context)
        Starts packet capture on virtual network gateway connection in the specified resource group.
        Parameters:
        resourceGroupName - The name of the resource group.
        virtualNetworkGatewayConnectionName - The name of the virtual network gateway connection.
        parameters - Virtual network gateway packet capture parameters supplied to start packet capture on gateway connection.
        context - The context to associate with this operation.
        Returns:
        the 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 virtualNetworkGatewayConnectionName,
                                             VpnPacketCaptureStartParameters parameters)
        Starts packet capture on virtual network gateway connection in the specified resource group.
        Parameters:
        resourceGroupName - The name of the resource group.
        virtualNetworkGatewayConnectionName - The name of the virtual network gateway connection.
        parameters - Virtual network gateway packet capture parameters supplied to start packet capture on gateway connection.
        Returns:
        the response body on successful completion of Mono.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        ErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • startPacketCaptureAsync

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

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

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

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

        Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> stopPacketCaptureWithResponseAsync​(String resourceGroupName,
                                                                                                     String virtualNetworkGatewayConnectionName,
                                                                                                     VpnPacketCaptureStopParameters parameters)
        Stops packet capture on virtual network gateway connection in the specified resource group.
        Parameters:
        resourceGroupName - The name of the resource group.
        virtualNetworkGatewayConnectionName - The name of the virtual network gateway Connection.
        parameters - Virtual network gateway packet capture parameters supplied to stop packet capture on gateway connection.
        Returns:
        the response body along with 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 virtualNetworkGatewayConnectionName,
                                                                                                                                              VpnPacketCaptureStopParameters parameters)
        Stops packet capture on virtual network gateway connection in the specified resource group.
        Parameters:
        resourceGroupName - The name of the resource group.
        virtualNetworkGatewayConnectionName - The name of the virtual network gateway Connection.
        parameters - Virtual network gateway packet capture parameters supplied to stop packet capture on gateway connection.
        Returns:
        the 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 virtualNetworkGatewayConnectionName,
                                                                                                                                         VpnPacketCaptureStopParameters parameters)
        Stops packet capture on virtual network gateway connection in the specified resource group.
        Parameters:
        resourceGroupName - The name of the resource group.
        virtualNetworkGatewayConnectionName - The name of the virtual network gateway Connection.
        parameters - Virtual network gateway packet capture parameters supplied to stop packet capture on gateway connection.
        Returns:
        the 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 virtualNetworkGatewayConnectionName,
                                                                                                                                         VpnPacketCaptureStopParameters parameters,
                                                                                                                                         com.azure.core.util.Context context)
        Stops packet capture on virtual network gateway connection in the specified resource group.
        Parameters:
        resourceGroupName - The name of the resource group.
        virtualNetworkGatewayConnectionName - The name of the virtual network gateway Connection.
        parameters - Virtual network gateway packet capture parameters supplied to stop packet capture on gateway connection.
        context - The context to associate with this operation.
        Returns:
        the 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 virtualNetworkGatewayConnectionName,
                                            VpnPacketCaptureStopParameters parameters)
        Stops packet capture on virtual network gateway connection in the specified resource group.
        Parameters:
        resourceGroupName - The name of the resource group.
        virtualNetworkGatewayConnectionName - The name of the virtual network gateway Connection.
        parameters - Virtual network gateway packet capture parameters supplied to stop packet capture on gateway connection.
        Returns:
        the response body on successful completion of Mono.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        ErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • stopPacketCapture

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

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

        Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> getIkeSasWithResponseAsync​(String resourceGroupName,
                                                                                             String virtualNetworkGatewayConnectionName)
        Lists IKE Security Associations for the virtual network gateway connection in the specified resource group.
        Parameters:
        resourceGroupName - The name of the resource group.
        virtualNetworkGatewayConnectionName - The name of the virtual network gateway Connection.
        Returns:
        the response body along with 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.
      • beginGetIkeSasAsync

        com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<String>,​String> beginGetIkeSasAsync​(String resourceGroupName,
                                                                                                                                      String virtualNetworkGatewayConnectionName)
        Lists IKE Security Associations for the virtual network gateway connection in the specified resource group.
        Parameters:
        resourceGroupName - The name of the resource group.
        virtualNetworkGatewayConnectionName - The name of the virtual network gateway Connection.
        Returns:
        the 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.
      • beginGetIkeSas

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<String>,​String> beginGetIkeSas​(String resourceGroupName,
                                                                                                                                 String virtualNetworkGatewayConnectionName)
        Lists IKE Security Associations for the virtual network gateway connection in the specified resource group.
        Parameters:
        resourceGroupName - The name of the resource group.
        virtualNetworkGatewayConnectionName - The name of the virtual network gateway Connection.
        Returns:
        the 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.
      • beginGetIkeSas

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<String>,​String> beginGetIkeSas​(String resourceGroupName,
                                                                                                                                 String virtualNetworkGatewayConnectionName,
                                                                                                                                 com.azure.core.util.Context context)
        Lists IKE Security Associations for the virtual network gateway connection in the specified resource group.
        Parameters:
        resourceGroupName - The name of the resource group.
        virtualNetworkGatewayConnectionName - The name of the virtual network gateway Connection.
        context - The context to associate with this operation.
        Returns:
        the 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.
      • getIkeSasAsync

        Mono<String> getIkeSasAsync​(String resourceGroupName,
                                    String virtualNetworkGatewayConnectionName)
        Lists IKE Security Associations for the virtual network gateway connection in the specified resource group.
        Parameters:
        resourceGroupName - The name of the resource group.
        virtualNetworkGatewayConnectionName - The name of the virtual network gateway Connection.
        Returns:
        the response body on successful completion of Mono.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getIkeSas

        String getIkeSas​(String resourceGroupName,
                         String virtualNetworkGatewayConnectionName)
        Lists IKE Security Associations for the virtual network gateway connection in the specified resource group.
        Parameters:
        resourceGroupName - The name of the resource group.
        virtualNetworkGatewayConnectionName - The name of the virtual network gateway Connection.
        Returns:
        the response.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getIkeSas

        String getIkeSas​(String resourceGroupName,
                         String virtualNetworkGatewayConnectionName,
                         com.azure.core.util.Context context)
        Lists IKE Security Associations for the virtual network gateway connection in the specified resource group.
        Parameters:
        resourceGroupName - The name of the resource group.
        virtualNetworkGatewayConnectionName - The name of the virtual network gateway Connection.
        context - The context to associate with this operation.
        Returns:
        the response.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • resetConnectionWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> resetConnectionWithResponseAsync​(String resourceGroupName,
                                                                                                   String virtualNetworkGatewayConnectionName)
        Resets the virtual network gateway connection specified.
        Parameters:
        resourceGroupName - The name of the resource group.
        virtualNetworkGatewayConnectionName - The name of the virtual network gateway Connection.
        Returns:
        the 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.
      • beginResetConnectionAsync

        com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<Void>,​Void> beginResetConnectionAsync​(String resourceGroupName,
                                                                                                                                        String virtualNetworkGatewayConnectionName)
        Resets the virtual network gateway connection specified.
        Parameters:
        resourceGroupName - The name of the resource group.
        virtualNetworkGatewayConnectionName - The name of the virtual network gateway Connection.
        Returns:
        the 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.
      • beginResetConnection

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,​Void> beginResetConnection​(String resourceGroupName,
                                                                                                                                   String virtualNetworkGatewayConnectionName)
        Resets the virtual network gateway connection specified.
        Parameters:
        resourceGroupName - The name of the resource group.
        virtualNetworkGatewayConnectionName - The name of the virtual network gateway Connection.
        Returns:
        the 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.
      • beginResetConnection

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>,​Void> beginResetConnection​(String resourceGroupName,
                                                                                                                                   String virtualNetworkGatewayConnectionName,
                                                                                                                                   com.azure.core.util.Context context)
        Resets the virtual network gateway connection specified.
        Parameters:
        resourceGroupName - The name of the resource group.
        virtualNetworkGatewayConnectionName - The name of the virtual network gateway Connection.
        context - The context to associate with this operation.
        Returns:
        the 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.
      • resetConnectionAsync

        Mono<Void> resetConnectionAsync​(String resourceGroupName,
                                        String virtualNetworkGatewayConnectionName)
        Resets the virtual network gateway connection specified.
        Parameters:
        resourceGroupName - The name of the resource group.
        virtualNetworkGatewayConnectionName - The name of the virtual network gateway Connection.
        Returns:
        A 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.
      • resetConnection

        void resetConnection​(String resourceGroupName,
                             String virtualNetworkGatewayConnectionName)
        Resets the virtual network gateway connection specified.
        Parameters:
        resourceGroupName - The name of the resource group.
        virtualNetworkGatewayConnectionName - The name of the virtual network gateway Connection.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • resetConnection

        void resetConnection​(String resourceGroupName,
                             String virtualNetworkGatewayConnectionName,
                             com.azure.core.util.Context context)
        Resets the virtual network gateway connection specified.
        Parameters:
        resourceGroupName - The name of the resource group.
        virtualNetworkGatewayConnectionName - The name of the virtual network gateway Connection.
        context - The context to associate with this operation.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.