Skip to content

Commit 8585586

Browse files
author
SDKAuto
committed
CodeGen from PR 34346 in Azure/azure-rest-api-specs
Merge 8c669f8e3a380ac9f02fddd035e578b7a85cf6d9 into 5802c95f18bfba1003be50e545d07f8bb679c857
1 parent 2551f4c commit 8585586

File tree

653 files changed

+22053
-20209
lines changed

Some content is hidden

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

653 files changed

+22053
-20209
lines changed

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

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

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

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
# Azure Resource Manager Avs client library for Java
1+
# Azure Resource Manager avs client library for Java
22

3-
Azure Resource Manager Avs client library for Java.
3+
Azure Resource Manager avs client library for Java.
44

5-
This package contains Microsoft Azure SDK for Avs Management SDK. Azure VMware Solution API. Package tag package-2023-09-01. 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 avs Management SDK. Azure VMware Solution API. 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
AvsManager manager = AvsManager
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

@@ -111,5 +111,3 @@ This project has adopted the [Microsoft Open Source Code of Conduct][coc]. For m
111111
[cg]: https://github.com/Azure/azure-sdk-for-java/blob/main/CONTRIBUTING.md
112112
[coc]: https://opensource.microsoft.com/codeofconduct/
113113
[coc_faq]: https://opensource.microsoft.com/codeofconduct/faq/
114-
115-

0 commit comments

Comments
 (0)