Skip to content

Commit d1b5501

Browse files
author
SDKAuto
committed
CodeGen from PR 17271 in Azure/azure-rest-api-specs
Merge e449c7f8b3b173377dd08accac0c625f5c54ef06 into 37b6a9860ec36270081e7dcb8f18eaaf591e67f5
1 parent 4125b34 commit d1b5501

File tree

273 files changed

+4933
-678
lines changed

Some content is hidden

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

273 files changed

+4933
-678
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.0.0-beta.3 (Unreleased)
3+
## 1.0.0-beta.1 (2022-01-18)
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-2021-12. 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-2021-07. 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-2021-12. 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.0.0-beta.2</version>
35+
<version>1.0.0-beta.3</version>
3636
</dependency>
3737
```
3838
[//]: # ({x-version-update-end})

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

Lines changed: 636 additions & 103 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
@@ -13,7 +13,7 @@
1313
<packaging>jar</packaging>
1414

1515
<name>Microsoft Azure SDK for RecoveryServicesBackup Management</name>
16-
<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-2021-07.</description>
16+
<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-2021-12.</description>
1717
<url>https://github.com/Azure/azure-sdk-for-java</url>
1818

1919
<licenses>

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

Lines changed: 39 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,9 @@
6969
import com.azure.resourcemanager.recoveryservicesbackup.implementation.ResourceProvidersImpl;
7070
import com.azure.resourcemanager.recoveryservicesbackup.implementation.RestoresImpl;
7171
import com.azure.resourcemanager.recoveryservicesbackup.implementation.SecurityPINsImpl;
72+
import com.azure.resourcemanager.recoveryservicesbackup.implementation.ValidateOperationResultsImpl;
73+
import com.azure.resourcemanager.recoveryservicesbackup.implementation.ValidateOperationStatusesImpl;
74+
import com.azure.resourcemanager.recoveryservicesbackup.implementation.ValidateOperationsImpl;
7275
import com.azure.resourcemanager.recoveryservicesbackup.models.BackupEngines;
7376
import com.azure.resourcemanager.recoveryservicesbackup.models.BackupJobs;
7477
import com.azure.resourcemanager.recoveryservicesbackup.models.BackupOperationResults;
@@ -115,6 +118,9 @@
115118
import com.azure.resourcemanager.recoveryservicesbackup.models.ResourceProviders;
116119
import com.azure.resourcemanager.recoveryservicesbackup.models.Restores;
117120
import com.azure.resourcemanager.recoveryservicesbackup.models.SecurityPINs;
121+
import com.azure.resourcemanager.recoveryservicesbackup.models.ValidateOperationResults;
122+
import com.azure.resourcemanager.recoveryservicesbackup.models.ValidateOperationStatuses;
123+
import com.azure.resourcemanager.recoveryservicesbackup.models.ValidateOperations;
118124
import java.time.Duration;
119125
import java.time.temporal.ChronoUnit;
120126
import java.util.ArrayList;
@@ -180,6 +186,12 @@ public final class RecoveryServicesBackupManager {
180186

181187
private OperationOperations operationOperations;
182188

189+
private ValidateOperations validateOperations;
190+
191+
private ValidateOperationResults validateOperationResults;
192+
193+
private ValidateOperationStatuses validateOperationStatuses;
194+
183195
private BackupEngines backupEngines;
184196

185197
private ProtectionContainerRefreshOperationResults protectionContainerRefreshOperationResults;
@@ -354,7 +366,7 @@ public RecoveryServicesBackupManager authenticate(TokenCredential credential, Az
354366
.append("-")
355367
.append("com.azure.resourcemanager.recoveryservicesbackup")
356368
.append("/")
357-
.append("1.0.0-beta.2");
369+
.append("1.0.0-beta.1");
358370
if (!Configuration.getGlobalConfiguration().get("AZURE_TELEMETRY_DISABLED", false)) {
359371
userAgentBuilder
360372
.append(" (")
@@ -640,6 +652,32 @@ public OperationOperations operationOperations() {
640652
return operationOperations;
641653
}
642654

655+
/** @return Resource collection API of ValidateOperations. */
656+
public ValidateOperations validateOperations() {
657+
if (this.validateOperations == null) {
658+
this.validateOperations = new ValidateOperationsImpl(clientObject.getValidateOperations(), this);
659+
}
660+
return validateOperations;
661+
}
662+
663+
/** @return Resource collection API of ValidateOperationResults. */
664+
public ValidateOperationResults validateOperationResults() {
665+
if (this.validateOperationResults == null) {
666+
this.validateOperationResults =
667+
new ValidateOperationResultsImpl(clientObject.getValidateOperationResults(), this);
668+
}
669+
return validateOperationResults;
670+
}
671+
672+
/** @return Resource collection API of ValidateOperationStatuses. */
673+
public ValidateOperationStatuses validateOperationStatuses() {
674+
if (this.validateOperationStatuses == null) {
675+
this.validateOperationStatuses =
676+
new ValidateOperationStatusesImpl(clientObject.getValidateOperationStatuses(), this);
677+
}
678+
return validateOperationStatuses;
679+
}
680+
643681
/** @return Resource collection API of BackupEngines. */
644682
public BackupEngines backupEngines() {
645683
if (this.backupEngines == null) {

sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/BackupEnginesClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ PagedIterable<BackupEngineBaseResourceInner> list(
6969
* @throws IllegalArgumentException thrown if parameters fail the validation.
7070
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
7171
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
72-
* @return the base backup engine class.
72+
* @return the base backup engine class along with {@link Response}.
7373
*/
7474
@ServiceMethod(returns = ReturnType.SINGLE)
7575
Response<BackupEngineBaseResourceInner> getWithResponse(

sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/BackupOperationResultsClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public interface BackupOperationResultsClient {
4040
* @throws IllegalArgumentException thrown if parameters fail the validation.
4141
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
4242
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
43-
* @return the response.
43+
* @return the {@link Response}.
4444
*/
4545
@ServiceMethod(returns = ReturnType.SINGLE)
4646
Response<Void> getWithResponse(String vaultName, String resourceGroupName, String operationId, Context context);

sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/BackupOperationStatusesClient.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public interface BackupOperationStatusesClient {
4040
* @throws IllegalArgumentException thrown if parameters fail the validation.
4141
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
4242
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
43-
* @return operation status.
43+
* @return operation status along with {@link Response}.
4444
*/
4545
@ServiceMethod(returns = ReturnType.SINGLE)
4646
Response<OperationStatusInner> getWithResponse(

sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/BackupResourceEncryptionConfigsClient.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public interface BackupResourceEncryptionConfigsClient {
3535
* @throws IllegalArgumentException thrown if parameters fail the validation.
3636
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
3737
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
38-
* @return the response.
38+
* @return the response body along with {@link Response}.
3939
*/
4040
@ServiceMethod(returns = ReturnType.SINGLE)
4141
Response<BackupResourceEncryptionConfigExtendedResourceInner> getWithResponse(
@@ -64,7 +64,7 @@ Response<BackupResourceEncryptionConfigExtendedResourceInner> getWithResponse(
6464
* @throws IllegalArgumentException thrown if parameters fail the validation.
6565
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
6666
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
67-
* @return the response.
67+
* @return the {@link Response}.
6868
*/
6969
@ServiceMethod(returns = ReturnType.SINGLE)
7070
Response<Void> updateWithResponse(

sdk/recoveryservicesbackup/azure-resourcemanager-recoveryservicesbackup/src/main/java/com/azure/resourcemanager/recoveryservicesbackup/fluent/BackupResourceStorageConfigsNonCrrsClient.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public interface BackupResourceStorageConfigsNonCrrsClient {
3636
* @throws IllegalArgumentException thrown if parameters fail the validation.
3737
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
3838
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
39-
* @return the resource storage details.
39+
* @return the resource storage details along with {@link Response}.
4040
*/
4141
@ServiceMethod(returns = ReturnType.SINGLE)
4242
Response<BackupResourceConfigResourceInner> getWithResponse(
@@ -67,7 +67,7 @@ BackupResourceConfigResourceInner update(
6767
* @throws IllegalArgumentException thrown if parameters fail the validation.
6868
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
6969
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
70-
* @return the resource storage details.
70+
* @return the resource storage details along with {@link Response}.
7171
*/
7272
@ServiceMethod(returns = ReturnType.SINGLE)
7373
Response<BackupResourceConfigResourceInner> updateWithResponse(
@@ -96,7 +96,7 @@ Response<BackupResourceConfigResourceInner> updateWithResponse(
9696
* @throws IllegalArgumentException thrown if parameters fail the validation.
9797
* @throws com.azure.core.management.exception.ManagementException thrown if the request is rejected by server.
9898
* @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent.
99-
* @return the response.
99+
* @return the {@link Response}.
100100
*/
101101
@ServiceMethod(returns = ReturnType.SINGLE)
102102
Response<Void> patchWithResponse(

0 commit comments

Comments
 (0)