com.azure.resourcemanager.dataprotection.fluent.RecoveryPointsClient Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-resourcemanager-dataprotection Show documentation
Show all versions of azure-resourcemanager-dataprotection Show documentation
This package contains Microsoft Azure SDK for DataProtection Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Open API 2.0 Specs for Azure Data Protection service. Package tag package-2024-04.
The newest version!
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.dataprotection.fluent;
import com.azure.core.annotation.ReturnType;
import com.azure.core.annotation.ServiceMethod;
import com.azure.core.http.rest.PagedIterable;
import com.azure.core.http.rest.Response;
import com.azure.core.util.Context;
import com.azure.resourcemanager.dataprotection.fluent.models.AzureBackupRecoveryPointResourceInner;
/**
* An instance of this class provides access to all the operations defined in RecoveryPointsClient.
*/
public interface RecoveryPointsClient {
/**
* Returns a list of Recovery Points for a DataSource in a vault.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vaultName The name of the backup vault.
* @param backupInstanceName The name of the backup instance.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return azureBackupRecoveryPointResourceList as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable list(String resourceGroupName, String vaultName,
String backupInstanceName);
/**
* Returns a list of Recovery Points for a DataSource in a vault.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vaultName The name of the backup vault.
* @param backupInstanceName The name of the backup instance.
* @param filter OData filter options.
* @param skipToken skipToken Filter.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return azureBackupRecoveryPointResourceList as paginated response with {@link PagedIterable}.
*/
@ServiceMethod(returns = ReturnType.COLLECTION)
PagedIterable list(String resourceGroupName, String vaultName,
String backupInstanceName, String filter, String skipToken, Context context);
/**
* Gets a Recovery Point using recoveryPointId for a Datasource.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vaultName The name of the backup vault.
* @param backupInstanceName The name of the backup instance.
* @param recoveryPointId The recoveryPointId parameter.
* @param context The context to associate with this operation.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return a Recovery Point using recoveryPointId for a Datasource along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response getWithResponse(String resourceGroupName, String vaultName,
String backupInstanceName, String recoveryPointId, Context context);
/**
* Gets a Recovery Point using recoveryPointId for a Datasource.
*
* @param resourceGroupName The name of the resource group. The name is case insensitive.
* @param vaultName The name of the backup vault.
* @param backupInstanceName The name of the backup instance.
* @param recoveryPointId The recoveryPointId parameter.
* @throws IllegalArgumentException thrown if parameters fail the validation.
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
* @return a Recovery Point using recoveryPointId for a Datasource.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
AzureBackupRecoveryPointResourceInner get(String resourceGroupName, String vaultName, String backupInstanceName,
String recoveryPointId);
}