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.2.0-beta.1 (Unreleased)
## 1.0.0-beta.1 (2023-06-25)

- 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-2023-04. 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-2023-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-2023-04. 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.1.0</version>
<version>1.2.0-beta.1</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 @@ -18,7 +18,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-2023-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-2023-04.</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 @@ -401,7 +401,7 @@ public RecoveryServicesBackupManager authenticate(TokenCredential credential, Az
.append("-")
.append("com.azure.resourcemanager.recoveryservicesbackup")
.append("/")
.append("1.1.0");
.append("1.0.0-beta.1");
if (!Configuration.getGlobalConfiguration().get("AZURE_TELEMETRY_DISABLED", false)) {
userAgentBuilder
.append(" (")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -779,7 +779,7 @@ public ResourceGuardProxyOperationsClient getResourceGuardProxyOperations() {
this.defaultPollInterval = defaultPollInterval;
this.subscriptionId = subscriptionId;
this.endpoint = endpoint;
this.apiVersion = "2023-02-01";
this.apiVersion = "2023-04-01";
this.backupResourceStorageConfigsNonCrrs = new BackupResourceStorageConfigsNonCrrsClientImpl(this);
this.protectionIntents = new ProtectionIntentsClientImpl(this);
this.backupStatus = new BackupStatusClientImpl(this);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -305,8 +305,8 @@ public AzureFileshareProtectedItem withPolicyName(String policyName) {

/** {@inheritDoc} */
@Override
public AzureFileshareProtectedItem withSoftDeleteRetentionPeriod(Integer softDeleteRetentionPeriod) {
super.withSoftDeleteRetentionPeriod(softDeleteRetentionPeriod);
public AzureFileshareProtectedItem withSoftDeleteRetentionPeriodInDays(Integer softDeleteRetentionPeriodInDays) {
super.withSoftDeleteRetentionPeriodInDays(softDeleteRetentionPeriodInDays);
return this;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -172,8 +172,9 @@ public AzureIaaSClassicComputeVMProtectedItem withPolicyName(String policyName)

/** {@inheritDoc} */
@Override
public AzureIaaSClassicComputeVMProtectedItem withSoftDeleteRetentionPeriod(Integer softDeleteRetentionPeriod) {
super.withSoftDeleteRetentionPeriod(softDeleteRetentionPeriod);
public AzureIaaSClassicComputeVMProtectedItem withSoftDeleteRetentionPeriodInDays(
Integer softDeleteRetentionPeriodInDays) {
super.withSoftDeleteRetentionPeriodInDays(softDeleteRetentionPeriodInDays);
return this;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -171,8 +171,9 @@ public AzureIaaSComputeVMProtectedItem withPolicyName(String policyName) {

/** {@inheritDoc} */
@Override
public AzureIaaSComputeVMProtectedItem withSoftDeleteRetentionPeriod(Integer softDeleteRetentionPeriod) {
super.withSoftDeleteRetentionPeriod(softDeleteRetentionPeriod);
public AzureIaaSComputeVMProtectedItem withSoftDeleteRetentionPeriodInDays(
Integer softDeleteRetentionPeriodInDays) {
super.withSoftDeleteRetentionPeriodInDays(softDeleteRetentionPeriodInDays);
return this;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -391,8 +391,8 @@ public AzureIaaSvmProtectedItem withPolicyName(String policyName) {

/** {@inheritDoc} */
@Override
public AzureIaaSvmProtectedItem withSoftDeleteRetentionPeriod(Integer softDeleteRetentionPeriod) {
super.withSoftDeleteRetentionPeriod(softDeleteRetentionPeriod);
public AzureIaaSvmProtectedItem withSoftDeleteRetentionPeriodInDays(Integer softDeleteRetentionPeriodInDays) {
super.withSoftDeleteRetentionPeriodInDays(softDeleteRetentionPeriodInDays);
return this;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -200,8 +200,8 @@ public AzureSqlProtectedItem withPolicyName(String policyName) {

/** {@inheritDoc} */
@Override
public AzureSqlProtectedItem withSoftDeleteRetentionPeriod(Integer softDeleteRetentionPeriod) {
super.withSoftDeleteRetentionPeriod(softDeleteRetentionPeriod);
public AzureSqlProtectedItem withSoftDeleteRetentionPeriodInDays(Integer softDeleteRetentionPeriodInDays) {
super.withSoftDeleteRetentionPeriodInDays(softDeleteRetentionPeriodInDays);
return this;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
@JsonSubTypes.Type(name = "SAPHanaDatabase", value = AzureVmWorkloadSapHanaDatabaseProtectableItem.class),
@JsonSubTypes.Type(name = "SAPHanaSystem", value = AzureVmWorkloadSapHanaSystemProtectableItem.class),
@JsonSubTypes.Type(name = "SAPHanaDBInstance", value = AzureVmWorkloadSapHanaDBInstance.class),
@JsonSubTypes.Type(name = "SAPHanaHSR", value = AzureVmWorkloadSapHanaHsr.class),
@JsonSubTypes.Type(name = "HanaHSRContainer", value = AzureVmWorkloadSapHanaHsrProtectableItem.class),
@JsonSubTypes.Type(
name = "SQLAvailabilityGroupContainer",
value = AzureVmWorkloadSqlAvailabilityGroupProtectableItem.class),
Expand Down Expand Up @@ -80,6 +80,12 @@ public class AzureVmWorkloadProtectableItem extends WorkloadProtectableItem {
@JsonProperty(value = "prebackupvalidation")
private PreBackupValidation prebackupvalidation;

/*
* Indicates if item is protectable
*/
@JsonProperty(value = "isProtectable")
private Boolean isProtectable;

/** Creates an instance of AzureVmWorkloadProtectableItem class. */
public AzureVmWorkloadProtectableItem() {
}
Expand Down Expand Up @@ -246,6 +252,26 @@ public AzureVmWorkloadProtectableItem withPrebackupvalidation(PreBackupValidatio
return this;
}

/**
* Get the isProtectable property: Indicates if item is protectable.
*
* @return the isProtectable value.
*/
public Boolean isProtectable() {
return this.isProtectable;
}

/**
* Set the isProtectable property: Indicates if item is protectable.
*
* @param isProtectable the isProtectable value to set.
* @return the AzureVmWorkloadProtectableItem object itself.
*/
public AzureVmWorkloadProtectableItem withIsProtectable(Boolean isProtectable) {
this.isProtectable = isProtectable;
return this;
}

/** {@inheritDoc} */
@Override
public AzureVmWorkloadProtectableItem withBackupManagementType(String backupManagementType) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,12 @@ public class AzureVmWorkloadProtectedItem extends ProtectedItem {
@JsonInclude(value = JsonInclude.Include.NON_NULL, content = JsonInclude.Include.ALWAYS)
private Map<String, KpiResourceHealthDetails> kpisHealths;

/*
* List of the nodes in case of distributed container.
*/
@JsonProperty(value = "nodesList")
private List<DistributedNodesInfo> nodesList;

/** Creates an instance of AzureVmWorkloadProtectedItem class. */
public AzureVmWorkloadProtectedItem() {
}
Expand Down Expand Up @@ -359,6 +365,26 @@ public AzureVmWorkloadProtectedItem withKpisHealths(Map<String, KpiResourceHealt
return this;
}

/**
* Get the nodesList property: List of the nodes in case of distributed container.
*
* @return the nodesList value.
*/
public List<DistributedNodesInfo> nodesList() {
return this.nodesList;
}

/**
* Set the nodesList property: List of the nodes in case of distributed container.
*
* @param nodesList the nodesList value to set.
* @return the AzureVmWorkloadProtectedItem object itself.
*/
public AzureVmWorkloadProtectedItem withNodesList(List<DistributedNodesInfo> nodesList) {
this.nodesList = nodesList;
return this;
}

/** {@inheritDoc} */
@Override
public AzureVmWorkloadProtectedItem withContainerName(String containerName) {
Expand Down Expand Up @@ -460,8 +486,8 @@ public AzureVmWorkloadProtectedItem withPolicyName(String policyName) {

/** {@inheritDoc} */
@Override
public AzureVmWorkloadProtectedItem withSoftDeleteRetentionPeriod(Integer softDeleteRetentionPeriod) {
super.withSoftDeleteRetentionPeriod(softDeleteRetentionPeriod);
public AzureVmWorkloadProtectedItem withSoftDeleteRetentionPeriodInDays(Integer softDeleteRetentionPeriodInDays) {
super.withSoftDeleteRetentionPeriodInDays(softDeleteRetentionPeriodInDays);
return this;
}

Expand Down Expand Up @@ -489,5 +515,8 @@ public void validate() {
}
});
}
if (nodesList() != null) {
nodesList().forEach(e -> e.validate());
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,13 @@ public AzureVmWorkloadSapAseDatabaseProtectedItem withKpisHealths(
return this;
}

/** {@inheritDoc} */
@Override
public AzureVmWorkloadSapAseDatabaseProtectedItem withNodesList(List<DistributedNodesInfo> nodesList) {
super.withNodesList(nodesList);
return this;
}

/** {@inheritDoc} */
@Override
public AzureVmWorkloadSapAseDatabaseProtectedItem withContainerName(String containerName) {
Expand Down Expand Up @@ -205,8 +212,9 @@ public AzureVmWorkloadSapAseDatabaseProtectedItem withPolicyName(String policyNa

/** {@inheritDoc} */
@Override
public AzureVmWorkloadSapAseDatabaseProtectedItem withSoftDeleteRetentionPeriod(Integer softDeleteRetentionPeriod) {
super.withSoftDeleteRetentionPeriod(softDeleteRetentionPeriod);
public AzureVmWorkloadSapAseDatabaseProtectedItem withSoftDeleteRetentionPeriodInDays(
Integer softDeleteRetentionPeriodInDays) {
super.withSoftDeleteRetentionPeriodInDays(softDeleteRetentionPeriodInDays);
return this;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,13 @@ public AzureVmWorkloadSapAseSystemProtectableItem withPrebackupvalidation(PreBac
return this;
}

/** {@inheritDoc} */
@Override
public AzureVmWorkloadSapAseSystemProtectableItem withIsProtectable(Boolean isProtectable) {
super.withIsProtectable(isProtectable);
return this;
}

/** {@inheritDoc} */
@Override
public AzureVmWorkloadSapAseSystemProtectableItem withBackupManagementType(String backupManagementType) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,13 @@ public AzureVmWorkloadSapHanaDBInstance withPrebackupvalidation(PreBackupValidat
return this;
}

/** {@inheritDoc} */
@Override
public AzureVmWorkloadSapHanaDBInstance withIsProtectable(Boolean isProtectable) {
super.withIsProtectable(isProtectable);
return this;
}

/** {@inheritDoc} */
@Override
public AzureVmWorkloadSapHanaDBInstance withBackupManagementType(String backupManagementType) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,13 @@ public AzureVmWorkloadSapHanaDBInstanceProtectedItem withKpisHealths(
return this;
}

/** {@inheritDoc} */
@Override
public AzureVmWorkloadSapHanaDBInstanceProtectedItem withNodesList(List<DistributedNodesInfo> nodesList) {
super.withNodesList(nodesList);
return this;
}

/** {@inheritDoc} */
@Override
public AzureVmWorkloadSapHanaDBInstanceProtectedItem withContainerName(String containerName) {
Expand Down Expand Up @@ -206,9 +213,9 @@ public AzureVmWorkloadSapHanaDBInstanceProtectedItem withPolicyName(String polic

/** {@inheritDoc} */
@Override
public AzureVmWorkloadSapHanaDBInstanceProtectedItem withSoftDeleteRetentionPeriod(
Integer softDeleteRetentionPeriod) {
super.withSoftDeleteRetentionPeriod(softDeleteRetentionPeriod);
public AzureVmWorkloadSapHanaDBInstanceProtectedItem withSoftDeleteRetentionPeriodInDays(
Integer softDeleteRetentionPeriodInDays) {
super.withSoftDeleteRetentionPeriodInDays(softDeleteRetentionPeriodInDays);
return this;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,13 @@ public AzureVmWorkloadSapHanaDatabaseProtectableItem withPrebackupvalidation(
return this;
}

/** {@inheritDoc} */
@Override
public AzureVmWorkloadSapHanaDatabaseProtectableItem withIsProtectable(Boolean isProtectable) {
super.withIsProtectable(isProtectable);
return this;
}

/** {@inheritDoc} */
@Override
public AzureVmWorkloadSapHanaDatabaseProtectableItem withBackupManagementType(String backupManagementType) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,13 @@ public AzureVmWorkloadSapHanaDatabaseProtectedItem withKpisHealths(
return this;
}

/** {@inheritDoc} */
@Override
public AzureVmWorkloadSapHanaDatabaseProtectedItem withNodesList(List<DistributedNodesInfo> nodesList) {
super.withNodesList(nodesList);
return this;
}

/** {@inheritDoc} */
@Override
public AzureVmWorkloadSapHanaDatabaseProtectedItem withContainerName(String containerName) {
Expand Down Expand Up @@ -205,9 +212,9 @@ public AzureVmWorkloadSapHanaDatabaseProtectedItem withPolicyName(String policyN

/** {@inheritDoc} */
@Override
public AzureVmWorkloadSapHanaDatabaseProtectedItem withSoftDeleteRetentionPeriod(
Integer softDeleteRetentionPeriod) {
super.withSoftDeleteRetentionPeriod(softDeleteRetentionPeriod);
public AzureVmWorkloadSapHanaDatabaseProtectedItem withSoftDeleteRetentionPeriodInDays(
Integer softDeleteRetentionPeriodInDays) {
super.withSoftDeleteRetentionPeriodInDays(softDeleteRetentionPeriodInDays);
return this;
}

Expand Down
Loading