Skip to content

Commit b763812

Browse files
author
SDKAuto
committed
CodeGen from PR 24210 in Azure/azure-rest-api-specs
Merge 35fde2bfec81598a849f6a9194dc08994c8872d4 into d4138083c1b04e801f5ec64d7e27076cdef39dee
1 parent fd60f58 commit b763812

File tree

383 files changed

+509
-18146
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

383 files changed

+509
-18146
lines changed

sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# Release History
22

3-
## 1.2.0-beta.1 (Unreleased)
3+
## 1.0.0-beta.1 (2023-05-31)
4+
5+
- 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).
46

57
### Features Added
68

sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Azure Resource Manager RecoveryServicesBackup client library for Java.
44

5-
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).
5+
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).
66

77
## We'd love to hear your feedback
88

@@ -32,7 +32,7 @@ Various documentation is available to help you get started
3232
<dependency>
3333
<groupId>com.azure.resourcemanager</groupId>
3434
<artifactId>azure-resourcemanager-recoveryservicesbackup</artifactId>
35-
<version>1.1.0</version>
35+
<version>1.2.0-beta.1</version>
3636
</dependency>
3737
```
3838
[//]: # ({x-version-update-end})

sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/SAMPLE.md

Lines changed: 100 additions & 97 deletions
Large diffs are not rendered by default.

sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<packaging>jar</packaging>
1919

2020
<name>Microsoft Azure SDK for RecoveryServicesBackup Management</name>
21-
<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>
21+
<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>
2222
<url>https://github.com/Azure/azure-sdk-for-java</url>
2323

2424
<licenses>

sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/RecoveryServicesBackupManager.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,7 @@ public RecoveryServicesBackupManager authenticate(TokenCredential credential, Az
401401
.append("-")
402402
.append("com.azure.resourcemanager.recoveryservicesbackup")
403403
.append("/")
404-
.append("1.1.0");
404+
.append("1.0.0-beta.1");
405405
if (!Configuration.getGlobalConfiguration().get("AZURE_TELEMETRY_DISABLED", false)) {
406406
userAgentBuilder
407407
.append(" (")

sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/implementation/RecoveryServicesBackupClientImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -779,7 +779,7 @@ public ResourceGuardProxyOperationsClient getResourceGuardProxyOperations() {
779779
this.defaultPollInterval = defaultPollInterval;
780780
this.subscriptionId = subscriptionId;
781781
this.endpoint = endpoint;
782-
this.apiVersion = "2023-02-01";
782+
this.apiVersion = "2023-04-01";
783783
this.backupResourceStorageConfigsNonCrrs = new BackupResourceStorageConfigsNonCrrsClientImpl(this);
784784
this.protectionIntents = new ProtectionIntentsClientImpl(this);
785785
this.backupStatus = new BackupStatusClientImpl(this);

sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/models/AzureVmWorkloadProtectableItem.java

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
@JsonSubTypes.Type(name = "SAPHanaDatabase", value = AzureVmWorkloadSapHanaDatabaseProtectableItem.class),
2323
@JsonSubTypes.Type(name = "SAPHanaSystem", value = AzureVmWorkloadSapHanaSystemProtectableItem.class),
2424
@JsonSubTypes.Type(name = "SAPHanaDBInstance", value = AzureVmWorkloadSapHanaDBInstance.class),
25-
@JsonSubTypes.Type(name = "SAPHanaHSR", value = AzureVmWorkloadSapHanaHsr.class),
25+
@JsonSubTypes.Type(name = "HanaHSRContainer", value = AzureVmWorkloadSapHanaHsrProtectableItem.class),
2626
@JsonSubTypes.Type(
2727
name = "SQLAvailabilityGroupContainer",
2828
value = AzureVmWorkloadSqlAvailabilityGroupProtectableItem.class),
@@ -80,6 +80,12 @@ public class AzureVmWorkloadProtectableItem extends WorkloadProtectableItem {
8080
@JsonProperty(value = "prebackupvalidation")
8181
private PreBackupValidation prebackupvalidation;
8282

83+
/*
84+
* Indicates if item is protectable
85+
*/
86+
@JsonProperty(value = "isProtectable")
87+
private Boolean isProtectable;
88+
8389
/** Creates an instance of AzureVmWorkloadProtectableItem class. */
8490
public AzureVmWorkloadProtectableItem() {
8591
}
@@ -246,6 +252,26 @@ public AzureVmWorkloadProtectableItem withPrebackupvalidation(PreBackupValidatio
246252
return this;
247253
}
248254

255+
/**
256+
* Get the isProtectable property: Indicates if item is protectable.
257+
*
258+
* @return the isProtectable value.
259+
*/
260+
public Boolean isProtectable() {
261+
return this.isProtectable;
262+
}
263+
264+
/**
265+
* Set the isProtectable property: Indicates if item is protectable.
266+
*
267+
* @param isProtectable the isProtectable value to set.
268+
* @return the AzureVmWorkloadProtectableItem object itself.
269+
*/
270+
public AzureVmWorkloadProtectableItem withIsProtectable(Boolean isProtectable) {
271+
this.isProtectable = isProtectable;
272+
return this;
273+
}
274+
249275
/** {@inheritDoc} */
250276
@Override
251277
public AzureVmWorkloadProtectableItem withBackupManagementType(String backupManagementType) {

sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/models/AzureVmWorkloadProtectedItem.java

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,12 @@ public class AzureVmWorkloadProtectedItem extends ProtectedItem {
114114
@JsonInclude(value = JsonInclude.Include.NON_NULL, content = JsonInclude.Include.ALWAYS)
115115
private Map<String, KpiResourceHealthDetails> kpisHealths;
116116

117+
/*
118+
* List of the nodes in case of distributed container.
119+
*/
120+
@JsonProperty(value = "nodesList")
121+
private List<DistributedNodesInfo> nodesList;
122+
117123
/** Creates an instance of AzureVmWorkloadProtectedItem class. */
118124
public AzureVmWorkloadProtectedItem() {
119125
}
@@ -359,6 +365,26 @@ public AzureVmWorkloadProtectedItem withKpisHealths(Map<String, KpiResourceHealt
359365
return this;
360366
}
361367

368+
/**
369+
* Get the nodesList property: List of the nodes in case of distributed container.
370+
*
371+
* @return the nodesList value.
372+
*/
373+
public List<DistributedNodesInfo> nodesList() {
374+
return this.nodesList;
375+
}
376+
377+
/**
378+
* Set the nodesList property: List of the nodes in case of distributed container.
379+
*
380+
* @param nodesList the nodesList value to set.
381+
* @return the AzureVmWorkloadProtectedItem object itself.
382+
*/
383+
public AzureVmWorkloadProtectedItem withNodesList(List<DistributedNodesInfo> nodesList) {
384+
this.nodesList = nodesList;
385+
return this;
386+
}
387+
362388
/** {@inheritDoc} */
363389
@Override
364390
public AzureVmWorkloadProtectedItem withContainerName(String containerName) {
@@ -489,5 +515,8 @@ public void validate() {
489515
}
490516
});
491517
}
518+
if (nodesList() != null) {
519+
nodesList().forEach(e -> e.validate());
520+
}
492521
}
493522
}

sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/models/AzureVmWorkloadSapAseDatabaseProtectedItem.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,13 @@ public AzureVmWorkloadSapAseDatabaseProtectedItem withKpisHealths(
100100
return this;
101101
}
102102

103+
/** {@inheritDoc} */
104+
@Override
105+
public AzureVmWorkloadSapAseDatabaseProtectedItem withNodesList(List<DistributedNodesInfo> nodesList) {
106+
super.withNodesList(nodesList);
107+
return this;
108+
}
109+
103110
/** {@inheritDoc} */
104111
@Override
105112
public AzureVmWorkloadSapAseDatabaseProtectedItem withContainerName(String containerName) {

sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/models/AzureVmWorkloadSapAseSystemProtectableItem.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,13 @@ public AzureVmWorkloadSapAseSystemProtectableItem withPrebackupvalidation(PreBac
7373
return this;
7474
}
7575

76+
/** {@inheritDoc} */
77+
@Override
78+
public AzureVmWorkloadSapAseSystemProtectableItem withIsProtectable(Boolean isProtectable) {
79+
super.withIsProtectable(isProtectable);
80+
return this;
81+
}
82+
7683
/** {@inheritDoc} */
7784
@Override
7885
public AzureVmWorkloadSapAseSystemProtectableItem withBackupManagementType(String backupManagementType) {

0 commit comments

Comments
 (0)