Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Release History

## 1.0.0-beta.6 (Unreleased)
## 1.0.0-beta.1 (2022-10-14)

- Azure Resource Manager RecoveryServicesBackup client library for Java. This package contains Microsoft Azure SDK for RecoveryServicesBackup Management SDK. Open API 2.0 Specs for Azure RecoveryServices Backup service. Package tag package-2022-09-preview. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).

### Features Added

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Azure Resource Manager RecoveryServicesBackup client library for Java.

This package contains Microsoft Azure SDK for RecoveryServicesBackup Management SDK. Open API 2.0 Specs for Azure RecoveryServices Backup service. Package tag package-2022-02. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
This package contains Microsoft Azure SDK for RecoveryServicesBackup Management SDK. Open API 2.0 Specs for Azure RecoveryServices Backup service. Package tag package-2022-09-preview. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).

## We'd love to hear your feedback

Expand Down Expand Up @@ -32,7 +32,7 @@ Various documentation is available to help you get started
<dependency>
<groupId>com.azure.resourcemanager</groupId>
<artifactId>azure-resourcemanager-recoveryservicesbackup</artifactId>
<version>1.0.0-beta.5</version>
<version>1.0.0-beta.6</version>
</dependency>
```
[//]: # ({x-version-update-end})
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<packaging>jar</packaging>

<name>Microsoft Azure SDK for RecoveryServicesBackup Management</name>
<description>This package contains Microsoft Azure SDK for RecoveryServicesBackup 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 RecoveryServices Backup service. Package tag package-2022-02.</description>
<description>This package contains Microsoft Azure SDK for RecoveryServicesBackup 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 RecoveryServices Backup service. Package tag package-2022-09-preview.</description>
<url>https://github.com/Azure/azure-sdk-for-java</url>

<licenses>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
import com.azure.resourcemanager.recoveryservicesbackup.implementation.BackupWorkloadItemsImpl;
import com.azure.resourcemanager.recoveryservicesbackup.implementation.BackupsImpl;
import com.azure.resourcemanager.recoveryservicesbackup.implementation.BmsPrepareDataMoveOperationResultsImpl;
import com.azure.resourcemanager.recoveryservicesbackup.implementation.DeletedProtectionContainersImpl;
import com.azure.resourcemanager.recoveryservicesbackup.implementation.ExportJobsOperationResultsImpl;
import com.azure.resourcemanager.recoveryservicesbackup.implementation.FeatureSupportsImpl;
import com.azure.resourcemanager.recoveryservicesbackup.implementation.ItemLevelRecoveryConnectionsImpl;
Expand Down Expand Up @@ -91,6 +92,7 @@
import com.azure.resourcemanager.recoveryservicesbackup.models.BackupWorkloadItems;
import com.azure.resourcemanager.recoveryservicesbackup.models.Backups;
import com.azure.resourcemanager.recoveryservicesbackup.models.BmsPrepareDataMoveOperationResults;
import com.azure.resourcemanager.recoveryservicesbackup.models.DeletedProtectionContainers;
import com.azure.resourcemanager.recoveryservicesbackup.models.ExportJobsOperationResults;
import com.azure.resourcemanager.recoveryservicesbackup.models.FeatureSupports;
import com.azure.resourcemanager.recoveryservicesbackup.models.ItemLevelRecoveryConnections;
Expand Down Expand Up @@ -222,6 +224,8 @@ public final class RecoveryServicesBackupManager {

private BackupProtectionContainers backupProtectionContainers;

private DeletedProtectionContainers deletedProtectionContainers;

private SecurityPINs securityPINs;

private RecoveryPointsRecommendedForMoves recoveryPointsRecommendedForMoves;
Expand Down Expand Up @@ -397,7 +401,7 @@ public RecoveryServicesBackupManager authenticate(TokenCredential credential, Az
.append("-")
.append("com.azure.resourcemanager.recoveryservicesbackup")
.append("/")
.append("1.0.0-beta.5");
.append("1.0.0-beta.1");
if (!Configuration.getGlobalConfiguration().get("AZURE_TELEMETRY_DISABLED", false)) {
userAgentBuilder
.append(" (")
Expand Down Expand Up @@ -1017,6 +1021,19 @@ public BackupProtectionContainers backupProtectionContainers() {
return backupProtectionContainers;
}

/**
* Gets the resource collection API of DeletedProtectionContainers.
*
* @return Resource collection API of DeletedProtectionContainers.
*/
public DeletedProtectionContainers deletedProtectionContainers() {
if (this.deletedProtectionContainers == null) {
this.deletedProtectionContainers =
new DeletedProtectionContainersImpl(clientObject.getDeletedProtectionContainers(), this);
}
return deletedProtectionContainers;
}

/**
* Gets the resource collection API of SecurityPINs.
*
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,34 +49,34 @@ PagedIterable<BackupEngineBaseResourceInner> list(
* @param vaultName The name of the recovery services vault.
* @param resourceGroupName The name of the resource group where the recovery services vault is present.
* @param backupEngineName Name of the backup management server.
* @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 the base backup engine class.
* @return the base backup engine class along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
BackupEngineBaseResourceInner get(String vaultName, String resourceGroupName, String backupEngineName);
Response<BackupEngineBaseResourceInner> getWithResponse(
String vaultName,
String resourceGroupName,
String backupEngineName,
String filter,
String skipToken,
Context context);

/**
* Returns backup management server registered to Recovery Services Vault.
*
* @param vaultName The name of the recovery services vault.
* @param resourceGroupName The name of the resource group where the recovery services vault is present.
* @param backupEngineName Name of the backup management server.
* @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 the base backup engine class along with {@link Response}.
* @return the base backup engine class.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response<BackupEngineBaseResourceInner> getWithResponse(
String vaultName,
String resourceGroupName,
String backupEngineName,
String filter,
String skipToken,
Context context);
BackupEngineBaseResourceInner get(String vaultName, String resourceGroupName, String backupEngineName);
}
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,14 @@ public interface BackupOperationResultsClient {
* @param vaultName The name of the recovery services vault.
* @param resourceGroupName The name of the resource group where the recovery services vault is present.
* @param operationId OperationID which represents the operation.
* @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 the {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
void get(String vaultName, String resourceGroupName, String operationId);
Response<Void> getWithResponse(String vaultName, String resourceGroupName, String operationId, Context context);

/**
* Provides the status of the delete operations such as deleting backed up item. Once the operation has started, the
Expand All @@ -36,12 +38,10 @@ public interface BackupOperationResultsClient {
* @param vaultName The name of the recovery services vault.
* @param resourceGroupName The name of the resource group where the recovery services vault is present.
* @param operationId OperationID which represents the operation.
* @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 the {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response<Void> getWithResponse(String vaultName, String resourceGroupName, String operationId, Context context);
void get(String vaultName, String resourceGroupName, String operationId);
}
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,15 @@ public interface BackupOperationStatusesClient {
* @param vaultName The name of the recovery services vault.
* @param resourceGroupName The name of the resource group where the recovery services vault is present.
* @param operationId OperationID which represents the operation.
* @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 operation status.
* @return operation status along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
OperationStatusInner get(String vaultName, String resourceGroupName, String operationId);
Response<OperationStatusInner> getWithResponse(
String vaultName, String resourceGroupName, String operationId, Context context);

/**
* Fetches the status of an operation such as triggering a backup, restore. The status can be in progress, completed
Expand All @@ -36,13 +38,11 @@ public interface BackupOperationStatusesClient {
* @param vaultName The name of the recovery services vault.
* @param resourceGroupName The name of the resource group where the recovery services vault is present.
* @param operationId OperationID which represents the operation.
* @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 operation status along with {@link Response}.
* @return operation status.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response<OperationStatusInner> getWithResponse(
String vaultName, String resourceGroupName, String operationId, Context context);
OperationStatusInner get(String vaultName, String resourceGroupName, String operationId);
}
Original file line number Diff line number Diff line change
Expand Up @@ -18,55 +18,55 @@ public interface BackupResourceEncryptionConfigsClient {
*
* @param vaultName The name of the recovery services vault.
* @param resourceGroupName The name of the resource group where the recovery services vault is present.
* @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 the response.
* @return the response body along with {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
BackupResourceEncryptionConfigExtendedResourceInner get(String vaultName, String resourceGroupName);
Response<BackupResourceEncryptionConfigExtendedResourceInner> getWithResponse(
String vaultName, String resourceGroupName, Context context);

/**
* Fetches Vault Encryption config.
*
* @param vaultName The name of the recovery services vault.
* @param resourceGroupName The name of the resource group where the recovery services vault is present.
* @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 the response body along with {@link Response}.
* @return the response.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response<BackupResourceEncryptionConfigExtendedResourceInner> getWithResponse(
String vaultName, String resourceGroupName, Context context);
BackupResourceEncryptionConfigExtendedResourceInner get(String vaultName, String resourceGroupName);

/**
* Updates Vault encryption config.
*
* @param vaultName The name of the recovery services vault.
* @param resourceGroupName The name of the resource group where the recovery services vault is present.
* @param parameters Vault encryption input config request.
* @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 the {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
void update(String vaultName, String resourceGroupName, BackupResourceEncryptionConfigResource parameters);
Response<Void> updateWithResponse(
String vaultName, String resourceGroupName, BackupResourceEncryptionConfigResource parameters, Context context);

/**
* Updates Vault encryption config.
*
* @param vaultName The name of the recovery services vault.
* @param resourceGroupName The name of the resource group where the recovery services vault is present.
* @param parameters Vault encryption input config request.
* @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 the {@link Response}.
*/
@ServiceMethod(returns = ReturnType.SINGLE)
Response<Void> updateWithResponse(
String vaultName, String resourceGroupName, BackupResourceEncryptionConfigResource parameters, Context context);
void update(String vaultName, String resourceGroupName, BackupResourceEncryptionConfigResource parameters);
}
Loading