Interface VpnServerConfigurationsClient

    • Method Detail

      • getByResourceGroupWithResponseAsync

        Mono<com.azure.core.http.rest.Response<VpnServerConfigurationInner>> getByResourceGroupWithResponseAsync​(String resourceGroupName,
                                                                                                                 String vpnServerConfigurationName)
        Retrieves the details of a VpnServerConfiguration.
        Parameters:
        resourceGroupName - The resource group name of the VpnServerConfiguration.
        vpnServerConfigurationName - The name of the VpnServerConfiguration being retrieved.
        Returns:
        vpnServerConfiguration Resource along with Response on successful completion of Mono.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getByResourceGroupAsync

        Mono<VpnServerConfigurationInner> getByResourceGroupAsync​(String resourceGroupName,
                                                                  String vpnServerConfigurationName)
        Retrieves the details of a VpnServerConfiguration.
        Specified by:
        getByResourceGroupAsync in interface InnerSupportsGet<VpnServerConfigurationInner>
        Parameters:
        resourceGroupName - The resource group name of the VpnServerConfiguration.
        vpnServerConfigurationName - The name of the VpnServerConfiguration being retrieved.
        Returns:
        vpnServerConfiguration Resource on successful completion of Mono.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getByResourceGroup

        VpnServerConfigurationInner getByResourceGroup​(String resourceGroupName,
                                                       String vpnServerConfigurationName)
        Retrieves the details of a VpnServerConfiguration.
        Specified by:
        getByResourceGroup in interface InnerSupportsGet<VpnServerConfigurationInner>
        Parameters:
        resourceGroupName - The resource group name of the VpnServerConfiguration.
        vpnServerConfigurationName - The name of the VpnServerConfiguration being retrieved.
        Returns:
        vpnServerConfiguration Resource.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getByResourceGroupWithResponse

        com.azure.core.http.rest.Response<VpnServerConfigurationInner> getByResourceGroupWithResponse​(String resourceGroupName,
                                                                                                      String vpnServerConfigurationName,
                                                                                                      com.azure.core.util.Context context)
        Retrieves the details of a VpnServerConfiguration.
        Parameters:
        resourceGroupName - The resource group name of the VpnServerConfiguration.
        vpnServerConfigurationName - The name of the VpnServerConfiguration being retrieved.
        context - The context to associate with this operation.
        Returns:
        vpnServerConfiguration Resource along with Response.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • createOrUpdateWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync​(String resourceGroupName,
                                                                                                  String vpnServerConfigurationName,
                                                                                                  VpnServerConfigurationInner vpnServerConfigurationParameters)
        Creates a VpnServerConfiguration resource if it doesn't exist else updates the existing VpnServerConfiguration.
        Parameters:
        resourceGroupName - The resource group name of the VpnServerConfiguration.
        vpnServerConfigurationName - The name of the VpnServerConfiguration being created or updated.
        vpnServerConfigurationParameters - Parameters supplied to create or update VpnServerConfiguration.
        Returns:
        vpnServerConfiguration Resource along with Response on successful completion of Mono.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • beginCreateOrUpdateAsync

        com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<VpnServerConfigurationInner>,​VpnServerConfigurationInner> beginCreateOrUpdateAsync​(String resourceGroupName,
                                                                                                                                                                                     String vpnServerConfigurationName,
                                                                                                                                                                                     VpnServerConfigurationInner vpnServerConfigurationParameters)
        Creates a VpnServerConfiguration resource if it doesn't exist else updates the existing VpnServerConfiguration.
        Parameters:
        resourceGroupName - The resource group name of the VpnServerConfiguration.
        vpnServerConfigurationName - The name of the VpnServerConfiguration being created or updated.
        vpnServerConfigurationParameters - Parameters supplied to create or update VpnServerConfiguration.
        Returns:
        the PollerFlux for polling of vpnServerConfiguration Resource.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • beginCreateOrUpdate

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VpnServerConfigurationInner>,​VpnServerConfigurationInner> beginCreateOrUpdate​(String resourceGroupName,
                                                                                                                                                                                String vpnServerConfigurationName,
                                                                                                                                                                                VpnServerConfigurationInner vpnServerConfigurationParameters)
        Creates a VpnServerConfiguration resource if it doesn't exist else updates the existing VpnServerConfiguration.
        Parameters:
        resourceGroupName - The resource group name of the VpnServerConfiguration.
        vpnServerConfigurationName - The name of the VpnServerConfiguration being created or updated.
        vpnServerConfigurationParameters - Parameters supplied to create or update VpnServerConfiguration.
        Returns:
        the SyncPoller for polling of vpnServerConfiguration Resource.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • beginCreateOrUpdate

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<VpnServerConfigurationInner>,​VpnServerConfigurationInner> beginCreateOrUpdate​(String resourceGroupName,
                                                                                                                                                                                String vpnServerConfigurationName,
                                                                                                                                                                                VpnServerConfigurationInner vpnServerConfigurationParameters,
                                                                                                                                                                                com.azure.core.util.Context context)
        Creates a VpnServerConfiguration resource if it doesn't exist else updates the existing VpnServerConfiguration.
        Parameters:
        resourceGroupName - The resource group name of the VpnServerConfiguration.
        vpnServerConfigurationName - The name of the VpnServerConfiguration being created or updated.
        vpnServerConfigurationParameters - Parameters supplied to create or update VpnServerConfiguration.
        context - The context to associate with this operation.
        Returns:
        the SyncPoller for polling of vpnServerConfiguration Resource.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • createOrUpdateAsync

        Mono<VpnServerConfigurationInner> createOrUpdateAsync​(String resourceGroupName,
                                                              String vpnServerConfigurationName,
                                                              VpnServerConfigurationInner vpnServerConfigurationParameters)
        Creates a VpnServerConfiguration resource if it doesn't exist else updates the existing VpnServerConfiguration.
        Parameters:
        resourceGroupName - The resource group name of the VpnServerConfiguration.
        vpnServerConfigurationName - The name of the VpnServerConfiguration being created or updated.
        vpnServerConfigurationParameters - Parameters supplied to create or update VpnServerConfiguration.
        Returns:
        vpnServerConfiguration Resource on successful completion of Mono.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • createOrUpdate

        VpnServerConfigurationInner createOrUpdate​(String resourceGroupName,
                                                   String vpnServerConfigurationName,
                                                   VpnServerConfigurationInner vpnServerConfigurationParameters)
        Creates a VpnServerConfiguration resource if it doesn't exist else updates the existing VpnServerConfiguration.
        Parameters:
        resourceGroupName - The resource group name of the VpnServerConfiguration.
        vpnServerConfigurationName - The name of the VpnServerConfiguration being created or updated.
        vpnServerConfigurationParameters - Parameters supplied to create or update VpnServerConfiguration.
        Returns:
        vpnServerConfiguration Resource.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • createOrUpdate

        VpnServerConfigurationInner createOrUpdate​(String resourceGroupName,
                                                   String vpnServerConfigurationName,
                                                   VpnServerConfigurationInner vpnServerConfigurationParameters,
                                                   com.azure.core.util.Context context)
        Creates a VpnServerConfiguration resource if it doesn't exist else updates the existing VpnServerConfiguration.
        Parameters:
        resourceGroupName - The resource group name of the VpnServerConfiguration.
        vpnServerConfigurationName - The name of the VpnServerConfiguration being created or updated.
        vpnServerConfigurationParameters - Parameters supplied to create or update VpnServerConfiguration.
        context - The context to associate with this operation.
        Returns:
        vpnServerConfiguration Resource.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • updateTagsWithResponseAsync

        Mono<com.azure.core.http.rest.Response<VpnServerConfigurationInner>> updateTagsWithResponseAsync​(String resourceGroupName,
                                                                                                         String vpnServerConfigurationName,
                                                                                                         TagsObject vpnServerConfigurationParameters)
        Updates VpnServerConfiguration tags.
        Parameters:
        resourceGroupName - The resource group name of the VpnServerConfiguration.
        vpnServerConfigurationName - The name of the VpnServerConfiguration being updated.
        vpnServerConfigurationParameters - Parameters supplied to update VpnServerConfiguration tags.
        Returns:
        vpnServerConfiguration Resource along with Response on successful completion of Mono.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • updateTagsAsync

        Mono<VpnServerConfigurationInner> updateTagsAsync​(String resourceGroupName,
                                                          String vpnServerConfigurationName,
                                                          TagsObject vpnServerConfigurationParameters)
        Updates VpnServerConfiguration tags.
        Parameters:
        resourceGroupName - The resource group name of the VpnServerConfiguration.
        vpnServerConfigurationName - The name of the VpnServerConfiguration being updated.
        vpnServerConfigurationParameters - Parameters supplied to update VpnServerConfiguration tags.
        Returns:
        vpnServerConfiguration Resource on successful completion of Mono.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • updateTags

        VpnServerConfigurationInner updateTags​(String resourceGroupName,
                                               String vpnServerConfigurationName,
                                               TagsObject vpnServerConfigurationParameters)
        Updates VpnServerConfiguration tags.
        Parameters:
        resourceGroupName - The resource group name of the VpnServerConfiguration.
        vpnServerConfigurationName - The name of the VpnServerConfiguration being updated.
        vpnServerConfigurationParameters - Parameters supplied to update VpnServerConfiguration tags.
        Returns:
        vpnServerConfiguration Resource.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • updateTagsWithResponse

        com.azure.core.http.rest.Response<VpnServerConfigurationInner> updateTagsWithResponse​(String resourceGroupName,
                                                                                              String vpnServerConfigurationName,
                                                                                              TagsObject vpnServerConfigurationParameters,
                                                                                              com.azure.core.util.Context context)
        Updates VpnServerConfiguration tags.
        Parameters:
        resourceGroupName - The resource group name of the VpnServerConfiguration.
        vpnServerConfigurationName - The name of the VpnServerConfiguration being updated.
        vpnServerConfigurationParameters - Parameters supplied to update VpnServerConfiguration tags.
        context - The context to associate with this operation.
        Returns:
        vpnServerConfiguration Resource along with Response.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • deleteWithResponseAsync

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

        com.azure.core.http.rest.PagedFlux<VpnServerConfigurationInner> listByResourceGroupAsync​(String resourceGroupName)
        Lists all the vpnServerConfigurations in a resource group.
        Specified by:
        listByResourceGroupAsync in interface InnerSupportsListing<VpnServerConfigurationInner>
        Parameters:
        resourceGroupName - The resource group name of the VpnServerConfiguration.
        Returns:
        result of the request to list all VpnServerConfigurations 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<VpnServerConfigurationInner> listByResourceGroup​(String resourceGroupName)
        Lists all the vpnServerConfigurations in a resource group.
        Specified by:
        listByResourceGroup in interface InnerSupportsListing<VpnServerConfigurationInner>
        Parameters:
        resourceGroupName - The resource group name of the VpnServerConfiguration.
        Returns:
        result of the request to list all VpnServerConfigurations 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<VpnServerConfigurationInner> listByResourceGroup​(String resourceGroupName,
                                                                                                com.azure.core.util.Context context)
        Lists all the vpnServerConfigurations in a resource group.
        Parameters:
        resourceGroupName - The resource group name of the VpnServerConfiguration.
        context - The context to associate with this operation.
        Returns:
        result of the request to list all VpnServerConfigurations as paginated response with PagedIterable.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • listAsync

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

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

        com.azure.core.http.rest.PagedIterable<VpnServerConfigurationInner> list​(com.azure.core.util.Context context)
        Lists all the VpnServerConfigurations in a subscription.
        Parameters:
        context - The context to associate with this operation.
        Returns:
        result of the request to list all VpnServerConfigurations 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.