Interface RestorePointCollectionsClient

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

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

    • createOrUpdateWithResponseAsync

      Mono<com.azure.core.http.rest.Response<RestorePointCollectionInner>> createOrUpdateWithResponseAsync(String resourceGroupName, String restorePointCollectionName, RestorePointCollectionInner parameters)
      The operation to create or update the restore point collection. Please refer to https://aka.ms/RestorePoints for more details. When updating a restore point collection, only tags may be modified.
      Parameters:
      resourceGroupName - The name of the resource group.
      restorePointCollectionName - The name of the restore point collection.
      parameters - Parameters supplied to the Create or Update restore point collection operation.
      Returns:
      create or update Restore Point collection parameters 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.
    • createOrUpdateAsync

      Mono<RestorePointCollectionInner> createOrUpdateAsync(String resourceGroupName, String restorePointCollectionName, RestorePointCollectionInner parameters)
      The operation to create or update the restore point collection. Please refer to https://aka.ms/RestorePoints for more details. When updating a restore point collection, only tags may be modified.
      Parameters:
      resourceGroupName - The name of the resource group.
      restorePointCollectionName - The name of the restore point collection.
      parameters - Parameters supplied to the Create or Update restore point collection operation.
      Returns:
      create or update Restore Point collection parameters 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.
    • createOrUpdateWithResponse

      com.azure.core.http.rest.Response<RestorePointCollectionInner> createOrUpdateWithResponse(String resourceGroupName, String restorePointCollectionName, RestorePointCollectionInner parameters, com.azure.core.util.Context context)
      The operation to create or update the restore point collection. Please refer to https://aka.ms/RestorePoints for more details. When updating a restore point collection, only tags may be modified.
      Parameters:
      resourceGroupName - The name of the resource group.
      restorePointCollectionName - The name of the restore point collection.
      parameters - Parameters supplied to the Create or Update restore point collection operation.
      context - The context to associate with this operation.
      Returns:
      create or update Restore Point collection parameters 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.
    • createOrUpdate

      RestorePointCollectionInner createOrUpdate(String resourceGroupName, String restorePointCollectionName, RestorePointCollectionInner parameters)
      The operation to create or update the restore point collection. Please refer to https://aka.ms/RestorePoints for more details. When updating a restore point collection, only tags may be modified.
      Parameters:
      resourceGroupName - The name of the resource group.
      restorePointCollectionName - The name of the restore point collection.
      parameters - Parameters supplied to the Create or Update restore point collection operation.
      Returns:
      create or update Restore Point collection parameters.
      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.
    • updateWithResponseAsync

      Mono<com.azure.core.http.rest.Response<RestorePointCollectionInner>> updateWithResponseAsync(String resourceGroupName, String restorePointCollectionName, RestorePointCollectionUpdate parameters)
      The operation to update the restore point collection.
      Parameters:
      resourceGroupName - The name of the resource group.
      restorePointCollectionName - The name of the restore point collection.
      parameters - Parameters supplied to the Update restore point collection operation.
      Returns:
      create or update Restore Point collection parameters 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.
    • updateAsync

      Mono<RestorePointCollectionInner> updateAsync(String resourceGroupName, String restorePointCollectionName, RestorePointCollectionUpdate parameters)
      The operation to update the restore point collection.
      Parameters:
      resourceGroupName - The name of the resource group.
      restorePointCollectionName - The name of the restore point collection.
      parameters - Parameters supplied to the Update restore point collection operation.
      Returns:
      create or update Restore Point collection parameters 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.
    • updateWithResponse

      com.azure.core.http.rest.Response<RestorePointCollectionInner> updateWithResponse(String resourceGroupName, String restorePointCollectionName, RestorePointCollectionUpdate parameters, com.azure.core.util.Context context)
      The operation to update the restore point collection.
      Parameters:
      resourceGroupName - The name of the resource group.
      restorePointCollectionName - The name of the restore point collection.
      parameters - Parameters supplied to the Update restore point collection operation.
      context - The context to associate with this operation.
      Returns:
      create or update Restore Point collection parameters 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.
    • update

      RestorePointCollectionInner update(String resourceGroupName, String restorePointCollectionName, RestorePointCollectionUpdate parameters)
      The operation to update the restore point collection.
      Parameters:
      resourceGroupName - The name of the resource group.
      restorePointCollectionName - The name of the restore point collection.
      parameters - Parameters supplied to the Update restore point collection operation.
      Returns:
      create or update Restore Point collection parameters.
      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)
      The operation to delete the restore point collection. This operation will also delete all the contained restore points.
      Parameters:
      resourceGroupName - The name of the resource group.
      restorePointCollectionName - The name of the Restore Point Collection.
      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)
      The operation to delete the restore point collection. This operation will also delete all the contained restore points.
      Parameters:
      resourceGroupName - The name of the resource group.
      restorePointCollectionName - The name of the Restore Point Collection.
      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)
      The operation to delete the restore point collection. This operation will also delete all the contained restore points.
      Parameters:
      resourceGroupName - The name of the resource group.
      restorePointCollectionName - The name of the Restore Point Collection.
      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, com.azure.core.util.Context context)
      The operation to delete the restore point collection. This operation will also delete all the contained restore points.
      Parameters:
      resourceGroupName - The name of the resource group.
      restorePointCollectionName - The name of the Restore Point Collection.
      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)
      The operation to delete the restore point collection. This operation will also delete all the contained restore points.
      Specified by:
      deleteAsync in interface InnerSupportsDelete<Void>
      Parameters:
      resourceGroupName - The name of the resource group.
      restorePointCollectionName - The name of the Restore Point Collection.
      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)
      The operation to delete the restore point collection. This operation will also delete all the contained restore points.
      Parameters:
      resourceGroupName - The name of the resource group.
      restorePointCollectionName - The name of the Restore Point Collection.
      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, com.azure.core.util.Context context)
      The operation to delete the restore point collection. This operation will also delete all the contained restore points.
      Parameters:
      resourceGroupName - The name of the resource group.
      restorePointCollectionName - The name of the Restore Point Collection.
      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.
    • getByResourceGroupWithResponseAsync

      Mono<com.azure.core.http.rest.Response<RestorePointCollectionInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String restorePointCollectionName, RestorePointCollectionExpandOptions expand)
      The operation to get the restore point collection.
      Parameters:
      resourceGroupName - The name of the resource group.
      restorePointCollectionName - The name of the restore point collection.
      expand - The expand expression to apply on the operation. If expand=restorePoints, server will return all contained restore points in the restorePointCollection.
      Returns:
      create or update Restore Point collection parameters 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.
    • getByResourceGroupAsync

      Mono<RestorePointCollectionInner> getByResourceGroupAsync(String resourceGroupName, String restorePointCollectionName)
      The operation to get the restore point collection.
      Specified by:
      getByResourceGroupAsync in interface InnerSupportsGet<RestorePointCollectionInner>
      Parameters:
      resourceGroupName - The name of the resource group.
      restorePointCollectionName - The name of the restore point collection.
      Returns:
      create or update Restore Point collection parameters 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.
    • getByResourceGroupWithResponse

      com.azure.core.http.rest.Response<RestorePointCollectionInner> getByResourceGroupWithResponse(String resourceGroupName, String restorePointCollectionName, RestorePointCollectionExpandOptions expand, com.azure.core.util.Context context)
      The operation to get the restore point collection.
      Parameters:
      resourceGroupName - The name of the resource group.
      restorePointCollectionName - The name of the restore point collection.
      expand - The expand expression to apply on the operation. If expand=restorePoints, server will return all contained restore points in the restorePointCollection.
      context - The context to associate with this operation.
      Returns:
      create or update Restore Point collection parameters 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.
    • getByResourceGroup

      RestorePointCollectionInner getByResourceGroup(String resourceGroupName, String restorePointCollectionName)
      The operation to get the restore point collection.
      Specified by:
      getByResourceGroup in interface InnerSupportsGet<RestorePointCollectionInner>
      Parameters:
      resourceGroupName - The name of the resource group.
      restorePointCollectionName - The name of the restore point collection.
      Returns:
      create or update Restore Point collection parameters.
      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.
    • listByResourceGroupAsync

      com.azure.core.http.rest.PagedFlux<RestorePointCollectionInner> listByResourceGroupAsync(String resourceGroupName)
      Gets the list of restore point collections in a resource group.
      Specified by:
      listByResourceGroupAsync in interface InnerSupportsListing<RestorePointCollectionInner>
      Parameters:
      resourceGroupName - The name of the resource group.
      Returns:
      the list of restore point collections in a resource group as paginated response with PagedFlux.
      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.
    • listByResourceGroup

      com.azure.core.http.rest.PagedIterable<RestorePointCollectionInner> listByResourceGroup(String resourceGroupName)
      Gets the list of restore point collections in a resource group.
      Specified by:
      listByResourceGroup in interface InnerSupportsListing<RestorePointCollectionInner>
      Parameters:
      resourceGroupName - The name of the resource group.
      Returns:
      the list of restore point collections in a resource group as paginated response with PagedIterable.
      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.
    • listByResourceGroup

      com.azure.core.http.rest.PagedIterable<RestorePointCollectionInner> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context)
      Gets the list of restore point collections in a resource group.
      Parameters:
      resourceGroupName - The name of the resource group.
      context - The context to associate with this operation.
      Returns:
      the list of restore point collections in a resource group as paginated response with PagedIterable.
      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.
    • listAsync

      com.azure.core.http.rest.PagedFlux<RestorePointCollectionInner> listAsync()
      Gets the list of restore point collections in the subscription. Use nextLink property in the response to get the next page of restore point collections. Do this till nextLink is not null to fetch all the restore point collections.
      Specified by:
      listAsync in interface InnerSupportsListing<RestorePointCollectionInner>
      Returns:
      the list of restore point collections in the subscription as paginated response with PagedFlux.
      Throws:
      ApiErrorException - 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<RestorePointCollectionInner> list()
      Gets the list of restore point collections in the subscription. Use nextLink property in the response to get the next page of restore point collections. Do this till nextLink is not null to fetch all the restore point collections.
      Specified by:
      list in interface InnerSupportsListing<RestorePointCollectionInner>
      Returns:
      the list of restore point collections in the subscription as paginated response with PagedIterable.
      Throws:
      ApiErrorException - 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<RestorePointCollectionInner> list(com.azure.core.util.Context context)
      Gets the list of restore point collections in the subscription. Use nextLink property in the response to get the next page of restore point collections. Do this till nextLink is not null to fetch all the restore point collections.
      Parameters:
      context - The context to associate with this operation.
      Returns:
      the list of restore point collections in the subscription as paginated response with PagedIterable.
      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.