Skip to content

Commit fe88d2e

Browse files
author
SDKAuto
committed
CodeGen from PR 34559 in Azure/azure-rest-api-specs
Merge 32510fdc8886031f9e476cf0ebe3d7236226bfb3 into 761d8b58e465b26eddb8ad70dda3cde7b4228bdf
1 parent 0ad6db6 commit fe88d2e

File tree

461 files changed

+20850
-17027
lines changed

Some content is hidden

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

461 files changed

+20850
-17027
lines changed

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

Lines changed: 510 additions & 4 deletions
Large diffs are not rendered by default.

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

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

33
Azure Resource Manager Recovery Services Data Replication client library for Java.
44

5-
This package contains Microsoft Azure SDK for Recovery Services Data Replication Management SDK. A first party Azure service enabling the data replication. Package tag package-2021-02-16-preview. 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 Recovery Services Data Replication Management SDK. A first party Azure service enabling the data replication. 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

@@ -52,15 +52,15 @@ Azure subscription ID can be configured via `AZURE_SUBSCRIPTION_ID` environment
5252
Assuming the use of the `DefaultAzureCredential` credential class, the client can be authenticated using the following code:
5353

5454
```java
55-
AzureProfile profile = new AzureProfile(AzureEnvironment.AZURE);
55+
AzureProfile profile = new AzureProfile(AzureCloud.AZURE_PUBLIC_CLOUD);
5656
TokenCredential credential = new DefaultAzureCredentialBuilder()
5757
.authorityHost(profile.getEnvironment().getActiveDirectoryEndpoint())
5858
.build();
5959
RecoveryServicesDataReplicationManager manager = RecoveryServicesDataReplicationManager
6060
.authenticate(credential, profile);
6161
```
6262

63-
The sample code assumes global Azure. Please change `AzureEnvironment.AZURE` variable if otherwise.
63+
The sample code assumes global Azure. Please change the `AzureCloud.AZURE_PUBLIC_CLOUD` variable if otherwise.
6464

6565
See [Authentication][authenticate] for more options.
6666

@@ -100,5 +100,3 @@ This project has adopted the [Microsoft Open Source Code of Conduct][coc]. For m
100100
[cg]: https://github.com/Azure/azure-sdk-for-java/blob/main/CONTRIBUTING.md
101101
[coc]: https://opensource.microsoft.com/codeofconduct/
102102
[coc_faq]: https://opensource.microsoft.com/codeofconduct/faq/
103-
104-

0 commit comments

Comments
 (0)