Interface RestorePointsClient


  • public interface RestorePointsClient
    An instance of this class provides access to all the operations defined in RestorePointsClient.
    • Method Detail

      • createWithResponseAsync

        Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> createWithResponseAsync​(String resourceGroupName,
                                                                                          String restorePointCollectionName,
                                                                                          String restorePointName,
                                                                                          RestorePointInner parameters)
        The operation to create the restore point. Updating properties of an existing restore point is not allowed.
        Parameters:
        resourceGroupName - The name of the resource group.
        restorePointCollectionName - The name of the restore point collection.
        restorePointName - The name of the restore point.
        parameters - Parameters supplied to the Create restore point operation.
        Returns:
        restore Point details along with Response on successful completion of Mono.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        ApiErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • beginCreateAsync

        com.azure.core.util.polling.PollerFlux<com.azure.core.management.polling.PollResult<RestorePointInner>,​RestorePointInner> beginCreateAsync​(String resourceGroupName,
                                                                                                                                                         String restorePointCollectionName,
                                                                                                                                                         String restorePointName,
                                                                                                                                                         RestorePointInner parameters)
        The operation to create the restore point. Updating properties of an existing restore point is not allowed.
        Parameters:
        resourceGroupName - The name of the resource group.
        restorePointCollectionName - The name of the restore point collection.
        restorePointName - The name of the restore point.
        parameters - Parameters supplied to the Create restore point operation.
        Returns:
        the PollerFlux for polling of restore Point details.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        ApiErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • beginCreate

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<RestorePointInner>,​RestorePointInner> beginCreate​(String resourceGroupName,
                                                                                                                                                    String restorePointCollectionName,
                                                                                                                                                    String restorePointName,
                                                                                                                                                    RestorePointInner parameters)
        The operation to create the restore point. Updating properties of an existing restore point is not allowed.
        Parameters:
        resourceGroupName - The name of the resource group.
        restorePointCollectionName - The name of the restore point collection.
        restorePointName - The name of the restore point.
        parameters - Parameters supplied to the Create restore point operation.
        Returns:
        the SyncPoller for polling of restore Point details.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        ApiErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • beginCreate

        com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<RestorePointInner>,​RestorePointInner> beginCreate​(String resourceGroupName,
                                                                                                                                                    String restorePointCollectionName,
                                                                                                                                                    String restorePointName,
                                                                                                                                                    RestorePointInner parameters,
                                                                                                                                                    com.azure.core.util.Context context)
        The operation to create the restore point. Updating properties of an existing restore point is not allowed.
        Parameters:
        resourceGroupName - The name of the resource group.
        restorePointCollectionName - The name of the restore point collection.
        restorePointName - The name of the restore point.
        parameters - Parameters supplied to the Create restore point operation.
        context - The context to associate with this operation.
        Returns:
        the SyncPoller for polling of restore Point details.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        ApiErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • createAsync

        Mono<RestorePointInner> createAsync​(String resourceGroupName,
                                            String restorePointCollectionName,
                                            String restorePointName,
                                            RestorePointInner parameters)
        The operation to create the restore point. Updating properties of an existing restore point is not allowed.
        Parameters:
        resourceGroupName - The name of the resource group.
        restorePointCollectionName - The name of the restore point collection.
        restorePointName - The name of the restore point.
        parameters - Parameters supplied to the Create restore point operation.
        Returns:
        restore Point details on successful completion of Mono.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        ApiErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • create

        RestorePointInner create​(String resourceGroupName,
                                 String restorePointCollectionName,
                                 String restorePointName,
                                 RestorePointInner parameters)
        The operation to create the restore point. Updating properties of an existing restore point is not allowed.
        Parameters:
        resourceGroupName - The name of the resource group.
        restorePointCollectionName - The name of the restore point collection.
        restorePointName - The name of the restore point.
        parameters - Parameters supplied to the Create restore point operation.
        Returns:
        restore Point details.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        ApiErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • create

        RestorePointInner create​(String resourceGroupName,
                                 String restorePointCollectionName,
                                 String restorePointName,
                                 RestorePointInner parameters,
                                 com.azure.core.util.Context context)
        The operation to create the restore point. Updating properties of an existing restore point is not allowed.
        Parameters:
        resourceGroupName - The name of the resource group.
        restorePointCollectionName - The name of the restore point collection.
        restorePointName - The name of the restore point.
        parameters - Parameters supplied to the Create restore point operation.
        context - The context to associate with this operation.
        Returns:
        restore Point details.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        ApiErrorException - 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 restorePointCollectionName,
                                                                                          String restorePointName)
        The operation to delete the restore point.
        Parameters:
        resourceGroupName - The name of the resource group.
        restorePointCollectionName - The name of the Restore Point Collection.
        restorePointName - The name of the restore point.
        Returns:
        the Response on successful completion of Mono.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        ApiErrorException - 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 restorePointCollectionName,
                                                                                                                               String restorePointName)
        The operation to delete the restore point.
        Parameters:
        resourceGroupName - The name of the resource group.
        restorePointCollectionName - The name of the Restore Point Collection.
        restorePointName - The name of the restore point.
        Returns:
        the PollerFlux for polling of long-running operation.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        ApiErrorException - 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 restorePointCollectionName,
                                                                                                                          String restorePointName)
        The operation to delete the restore point.
        Parameters:
        resourceGroupName - The name of the resource group.
        restorePointCollectionName - The name of the Restore Point Collection.
        restorePointName - The name of the restore point.
        Returns:
        the SyncPoller for polling of long-running operation.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        ApiErrorException - 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 restorePointCollectionName,
                                                                                                                          String restorePointName,
                                                                                                                          com.azure.core.util.Context context)
        The operation to delete the restore point.
        Parameters:
        resourceGroupName - The name of the resource group.
        restorePointCollectionName - The name of the Restore Point Collection.
        restorePointName - The name of the restore point.
        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.
        ApiErrorException - 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 restorePointCollectionName,
                               String restorePointName)
        The operation to delete the restore point.
        Parameters:
        resourceGroupName - The name of the resource group.
        restorePointCollectionName - The name of the Restore Point Collection.
        restorePointName - The name of the restore point.
        Returns:
        A Mono that completes when a successful response is received.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        ApiErrorException - 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 restorePointCollectionName,
                    String restorePointName)
        The operation to delete the restore point.
        Parameters:
        resourceGroupName - The name of the resource group.
        restorePointCollectionName - The name of the Restore Point Collection.
        restorePointName - The name of the restore point.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        ApiErrorException - 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 restorePointCollectionName,
                    String restorePointName,
                    com.azure.core.util.Context context)
        The operation to delete the restore point.
        Parameters:
        resourceGroupName - The name of the resource group.
        restorePointCollectionName - The name of the Restore Point Collection.
        restorePointName - The name of the restore point.
        context - The context to associate with this operation.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        ApiErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getWithResponseAsync

        Mono<com.azure.core.http.rest.Response<RestorePointInner>> getWithResponseAsync​(String resourceGroupName,
                                                                                        String restorePointCollectionName,
                                                                                        String restorePointName,
                                                                                        RestorePointExpandOptions expand)
        The operation to get the restore point.
        Parameters:
        resourceGroupName - The name of the resource group.
        restorePointCollectionName - The name of the restore point collection.
        restorePointName - The name of the restore point.
        expand - The expand expression to apply on the operation. 'InstanceView' retrieves information about the run-time state of a restore point.
        Returns:
        restore Point details along with Response on successful completion of Mono.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        ApiErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getAsync

        Mono<RestorePointInner> getAsync​(String resourceGroupName,
                                         String restorePointCollectionName,
                                         String restorePointName,
                                         RestorePointExpandOptions expand)
        The operation to get the restore point.
        Parameters:
        resourceGroupName - The name of the resource group.
        restorePointCollectionName - The name of the restore point collection.
        restorePointName - The name of the restore point.
        expand - The expand expression to apply on the operation. 'InstanceView' retrieves information about the run-time state of a restore point.
        Returns:
        restore Point details on successful completion of Mono.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        ApiErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getAsync

        Mono<RestorePointInner> getAsync​(String resourceGroupName,
                                         String restorePointCollectionName,
                                         String restorePointName)
        The operation to get the restore point.
        Parameters:
        resourceGroupName - The name of the resource group.
        restorePointCollectionName - The name of the restore point collection.
        restorePointName - The name of the restore point.
        Returns:
        restore Point details on successful completion of Mono.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        ApiErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • get

        RestorePointInner get​(String resourceGroupName,
                              String restorePointCollectionName,
                              String restorePointName)
        The operation to get the restore point.
        Parameters:
        resourceGroupName - The name of the resource group.
        restorePointCollectionName - The name of the restore point collection.
        restorePointName - The name of the restore point.
        Returns:
        restore Point details.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        ApiErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
      • getWithResponse

        com.azure.core.http.rest.Response<RestorePointInner> getWithResponse​(String resourceGroupName,
                                                                             String restorePointCollectionName,
                                                                             String restorePointName,
                                                                             RestorePointExpandOptions expand,
                                                                             com.azure.core.util.Context context)
        The operation to get the restore point.
        Parameters:
        resourceGroupName - The name of the resource group.
        restorePointCollectionName - The name of the restore point collection.
        restorePointName - The name of the restore point.
        expand - The expand expression to apply on the operation. 'InstanceView' retrieves information about the run-time state of a restore point.
        context - The context to associate with this operation.
        Returns:
        restore Point details along with Response.
        Throws:
        IllegalArgumentException - thrown if parameters fail the validation.
        ApiErrorException - thrown if the request is rejected by server.
        RuntimeException - all other wrapped checked exceptions if the request fails to be sent.