Interface RestorePointCollectionsClient
- All Superinterfaces:
InnerSupportsDelete<Void>,InnerSupportsGet<RestorePointCollectionInner>,InnerSupportsListing<RestorePointCollectionInner>
public interface RestorePointCollectionsClient
extends InnerSupportsGet<RestorePointCollectionInner>, InnerSupportsListing<RestorePointCollectionInner>, InnerSupportsDelete<Void>
An instance of this class provides access to all the operations defined in RestorePointCollectionsClient.
-
Method Summary
Modifier and TypeMethodDescriptionbeginDelete(String resourceGroupName, String restorePointCollectionName) The operation to delete the restore point collection.beginDelete(String resourceGroupName, String restorePointCollectionName, com.azure.core.util.Context context) The operation to delete the restore point collection.beginDeleteAsync(String resourceGroupName, String restorePointCollectionName) The operation to delete the restore point collection.createOrUpdate(String resourceGroupName, String restorePointCollectionName, RestorePointCollectionInner parameters) The operation to create or update the restore point collection.createOrUpdateAsync(String resourceGroupName, String restorePointCollectionName, RestorePointCollectionInner parameters) The operation to create or update the restore point collection.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.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.voidThe operation to delete the restore point collection.voiddelete(String resourceGroupName, String restorePointCollectionName, com.azure.core.util.Context context) The operation to delete the restore point collection.deleteAsync(String resourceGroupName, String restorePointCollectionName) The operation to delete the restore point collection.Mono<com.azure.core.http.rest.Response<Flux<ByteBuffer>>> deleteWithResponseAsync(String resourceGroupName, String restorePointCollectionName) The operation to delete the restore point collection.getByResourceGroup(String resourceGroupName, String restorePointCollectionName) The operation to get the restore point collection.getByResourceGroupAsync(String resourceGroupName, String restorePointCollectionName) The operation to get the restore point collection.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.Mono<com.azure.core.http.rest.Response<RestorePointCollectionInner>> getByResourceGroupWithResponseAsync(String resourceGroupName, String restorePointCollectionName, RestorePointCollectionExpandOptions expand) The operation to get the restore point collection.com.azure.core.http.rest.PagedIterable<RestorePointCollectionInner> list()Gets the list of restore point collections in the subscription.com.azure.core.http.rest.PagedIterable<RestorePointCollectionInner> list(com.azure.core.util.Context context) Gets the list of restore point collections in the subscription.com.azure.core.http.rest.PagedFlux<RestorePointCollectionInner> Gets the list of restore point collections in the subscription.com.azure.core.http.rest.PagedIterable<RestorePointCollectionInner> listByResourceGroup(String resourceGroupName) Gets the list of restore point collections in a resource group.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.com.azure.core.http.rest.PagedFlux<RestorePointCollectionInner> listByResourceGroupAsync(String resourceGroupName) Gets the list of restore point collections in a resource group.update(String resourceGroupName, String restorePointCollectionName, RestorePointCollectionUpdate parameters) The operation to update the restore point collection.updateAsync(String resourceGroupName, String restorePointCollectionName, RestorePointCollectionUpdate parameters) The operation to update the restore point collection.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.Mono<com.azure.core.http.rest.Response<RestorePointCollectionInner>> updateWithResponseAsync(String resourceGroupName, String restorePointCollectionName, RestorePointCollectionUpdate parameters) The operation to update the restore point collection.
-
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
Responseon successful completion ofMono. - 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
Responseon successful completion ofMono. - 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
Responseon successful completion ofMono. - 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
PollerFluxfor 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
SyncPollerfor 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
SyncPollerfor 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
The operation to delete the restore point collection. This operation will also delete all the contained restore points.- Specified by:
deleteAsyncin interfaceInnerSupportsDelete<Void>- Parameters:
resourceGroupName- The name of the resource group.restorePointCollectionName- The name of the Restore Point Collection.- Returns:
- A
Monothat 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
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
Responseon successful completion ofMono. - 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:
getByResourceGroupAsyncin interfaceInnerSupportsGet<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:
getByResourceGroupin interfaceInnerSupportsGet<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:
listByResourceGroupAsyncin interfaceInnerSupportsListing<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:
listByResourceGroupin interfaceInnerSupportsListing<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:
listAsyncin interfaceInnerSupportsListing<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:
listin interfaceInnerSupportsListing<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.
-