Skip to content

Commit 7913a4e

Browse files
author
SDKAuto
committed
CodeGen from PR 22071 in Azure/azure-rest-api-specs
Merge 370c0fd403e85312e7b8f0bf62ef4be87d8de527 into 15045fef2bebe74f8f62c62c1521684254568757
1 parent 0e4db4b commit 7913a4e

File tree

161 files changed

+1551
-4591
lines changed

Some content is hidden

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

161 files changed

+1551
-4591
lines changed

sdk/dataprotection/azure-resourcemanager-dataprotection/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 (2023-01-24)
4+
5+
- Azure Resource Manager DataProtection client library for Java. This package contains Microsoft Azure SDK for DataProtection Management SDK. Open API 2.0 Specs for Azure Data Protection service. Package tag package-2023-01. 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/dataprotection/azure-resourcemanager-dataprotection/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 DataProtection client library for Java.
44

5-
This package contains Microsoft Azure SDK for DataProtection Management SDK. Open API 2.0 Specs for Azure Data Protection service. Package tag package-preview-2022-11. 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 DataProtection Management SDK. Open API 2.0 Specs for Azure Data Protection service. Package tag package-2023-01. 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-dataprotection</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/dataprotection/azure-resourcemanager-dataprotection/SAMPLE.md

Lines changed: 66 additions & 234 deletions
Large diffs are not rendered by default.

sdk/dataprotection/azure-resourcemanager-dataprotection/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 DataProtection Management</name>
16-
<description>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-preview-2022-11.</description>
16+
<description>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-2023-01.</description>
1717
<url>https://github.com/Azure/azure-sdk-for-java</url>
1818

1919
<licenses>

sdk/dataprotection/azure-resourcemanager-dataprotection/src/main/java/com/azure/resourcemanager/dataprotection/DataProtectionManager.java

Lines changed: 3 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424
import com.azure.core.util.Configuration;
2525
import com.azure.core.util.logging.ClientLogger;
2626
import com.azure.resourcemanager.dataprotection.fluent.DataProtectionClient;
27-
import com.azure.resourcemanager.dataprotection.implementation.BackupInstancesExtensionRoutingsImpl;
2827
import com.azure.resourcemanager.dataprotection.implementation.BackupInstancesImpl;
2928
import com.azure.resourcemanager.dataprotection.implementation.BackupPoliciesImpl;
3029
import com.azure.resourcemanager.dataprotection.implementation.BackupVaultOperationResultsImpl;
@@ -33,7 +32,6 @@
3332
import com.azure.resourcemanager.dataprotection.implementation.DataProtectionOperationsImpl;
3433
import com.azure.resourcemanager.dataprotection.implementation.DataProtectionsImpl;
3534
import com.azure.resourcemanager.dataprotection.implementation.DeletedBackupInstancesImpl;
36-
import com.azure.resourcemanager.dataprotection.implementation.DppResourceGuardProxiesImpl;
3735
import com.azure.resourcemanager.dataprotection.implementation.ExportJobsImpl;
3836
import com.azure.resourcemanager.dataprotection.implementation.ExportJobsOperationResultsImpl;
3937
import com.azure.resourcemanager.dataprotection.implementation.JobsImpl;
@@ -45,14 +43,12 @@
4543
import com.azure.resourcemanager.dataprotection.implementation.ResourceGuardsImpl;
4644
import com.azure.resourcemanager.dataprotection.implementation.RestorableTimeRangesImpl;
4745
import com.azure.resourcemanager.dataprotection.models.BackupInstances;
48-
import com.azure.resourcemanager.dataprotection.models.BackupInstancesExtensionRoutings;
4946
import com.azure.resourcemanager.dataprotection.models.BackupPolicies;
5047
import com.azure.resourcemanager.dataprotection.models.BackupVaultOperationResults;
5148
import com.azure.resourcemanager.dataprotection.models.BackupVaults;
5249
import com.azure.resourcemanager.dataprotection.models.DataProtectionOperations;
5350
import com.azure.resourcemanager.dataprotection.models.DataProtections;
5451
import com.azure.resourcemanager.dataprotection.models.DeletedBackupInstances;
55-
import com.azure.resourcemanager.dataprotection.models.DppResourceGuardProxies;
5652
import com.azure.resourcemanager.dataprotection.models.ExportJobs;
5753
import com.azure.resourcemanager.dataprotection.models.ExportJobsOperationResults;
5854
import com.azure.resourcemanager.dataprotection.models.Jobs;
@@ -68,6 +64,7 @@
6864
import java.util.ArrayList;
6965
import java.util.List;
7066
import java.util.Objects;
67+
import java.util.UUID;
7168
import java.util.stream.Collectors;
7269

7370
/** Entry point to DataProtectionManager. Open API 2.0 Specs for Azure Data Protection service. */
@@ -92,8 +89,6 @@ public final class DataProtectionManager {
9289

9390
private BackupInstances backupInstances;
9491

95-
private BackupInstancesExtensionRoutings backupInstancesExtensionRoutings;
96-
9792
private RecoveryPoints recoveryPoints;
9893

9994
private Jobs jobs;
@@ -108,8 +103,6 @@ public final class DataProtectionManager {
108103

109104
private ResourceGuards resourceGuards;
110105

111-
private DppResourceGuardProxies dppResourceGuardProxies;
112-
113106
private final DataProtectionClient clientObject;
114107

115108
private DataProtectionManager(HttpPipeline httpPipeline, AzureProfile profile, Duration defaultPollInterval) {
@@ -119,7 +112,7 @@ private DataProtectionManager(HttpPipeline httpPipeline, AzureProfile profile, D
119112
new DataProtectionClientBuilder()
120113
.pipeline(httpPipeline)
121114
.endpoint(profile.getEnvironment().getResourceManagerEndpoint())
122-
.subscriptionId(profile.getSubscriptionId())
115+
.subscriptionId(UUID.fromString(profile.getSubscriptionId()))
123116
.defaultPollInterval(defaultPollInterval)
124117
.buildClient();
125118
}
@@ -275,7 +268,7 @@ public DataProtectionManager authenticate(TokenCredential credential, AzureProfi
275268
.append("-")
276269
.append("com.azure.resourcemanager.dataprotection")
277270
.append("/")
278-
.append("1.0.0-beta.2");
271+
.append("1.0.0-beta.1");
279272
if (!Configuration.getGlobalConfiguration().get("AZURE_TELEMETRY_DISABLED", false)) {
280273
userAgentBuilder
281274
.append(" (")
@@ -457,19 +450,6 @@ public BackupInstances backupInstances() {
457450
return backupInstances;
458451
}
459452

460-
/**
461-
* Gets the resource collection API of BackupInstancesExtensionRoutings.
462-
*
463-
* @return Resource collection API of BackupInstancesExtensionRoutings.
464-
*/
465-
public BackupInstancesExtensionRoutings backupInstancesExtensionRoutings() {
466-
if (this.backupInstancesExtensionRoutings == null) {
467-
this.backupInstancesExtensionRoutings =
468-
new BackupInstancesExtensionRoutingsImpl(clientObject.getBackupInstancesExtensionRoutings(), this);
469-
}
470-
return backupInstancesExtensionRoutings;
471-
}
472-
473453
/**
474454
* Gets the resource collection API of RecoveryPoints.
475455
*
@@ -556,19 +536,6 @@ public ResourceGuards resourceGuards() {
556536
return resourceGuards;
557537
}
558538

559-
/**
560-
* Gets the resource collection API of DppResourceGuardProxies. It manages ResourceGuardProxyBaseResource.
561-
*
562-
* @return Resource collection API of DppResourceGuardProxies.
563-
*/
564-
public DppResourceGuardProxies dppResourceGuardProxies() {
565-
if (this.dppResourceGuardProxies == null) {
566-
this.dppResourceGuardProxies =
567-
new DppResourceGuardProxiesImpl(clientObject.getDppResourceGuardProxies(), this);
568-
}
569-
return dppResourceGuardProxies;
570-
}
571-
572539
/**
573540
* @return Wrapped service client DataProtectionClient providing direct access to the underlying auto-generated API
574541
* implementation, based on Azure REST API.

0 commit comments

Comments
 (0)