This commit is contained in:
azure-sdk 2024-08-26 09:59:35 +00:00
Родитель 0d53a0d702
Коммит 48310ba8cf
2 изменённых файлов: 17 добавлений и 19 удалений

Просмотреть файл

@ -1,17 +1,17 @@
---
title: Azure Resource Manager AzureStackHci client library for Java
keywords: Azure, java, SDK, API, azure-resourcemanager-azurestackhci, azure-resource-manager
ms.date: 10/20/2023
ms.date: 08/26/2024
ms.topic: reference
ms.devlang: java
ms.service: azure-resource-manager
---
# Azure Resource Manager AzureStackHci client library for Java - version 1.0.0-beta.4
# Azure Resource Manager AzureStackHci client library for Java - version 1.0.0-beta.5
Azure Resource Manager AzureStackHci client library for Java.
This package contains Microsoft Azure SDK for AzureStackHci Management SDK. Azure Stack HCI management service. Package tag package-preview-2023-09. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
This package contains Microsoft Azure SDK for AzureStackHci Management SDK. Azure Stack HCI management service. Package tag package-2024-04. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
## We'd love to hear your feedback
@ -41,7 +41,7 @@ Various documentation is available to help you get started
<dependency>
<groupId>com.azure.resourcemanager</groupId>
<artifactId>azure-resourcemanager-azurestackhci</artifactId>
<version>1.0.0-beta.4</version>
<version>1.0.0-beta.5</version>
</dependency>
```
[//]: # ({x-version-update-end})
@ -54,15 +54,11 @@ Azure Management Libraries require a `TokenCredential` implementation for authen
### Authentication
By default, Microsoft Entra ID token authentication depends on correct configuration of the following environment variables.
Microsoft Entra ID token authentication relies on the [credential class][azure_identity_credentials] from [Azure Identity][azure_identity] package.
- `AZURE_CLIENT_ID` for Azure client ID.
- `AZURE_TENANT_ID` for Azure tenant ID.
- `AZURE_CLIENT_SECRET` or `AZURE_CLIENT_CERTIFICATE_PATH` for client secret or client certificate.
Azure subscription ID can be configured via `AZURE_SUBSCRIPTION_ID` environment variable.
In addition, Azure subscription ID can be configured via `AZURE_SUBSCRIPTION_ID` environment variable.
With above configuration, `azure` client can be authenticated using the following code:
Assuming the use of the `DefaultAzureCredential` credential class, the client can be authenticated using the following code:
```java
AzureProfile profile = new AzureProfile(AzureEnvironment.AZURE);
@ -83,7 +79,7 @@ See [API design][design] for general introduction on design and key concepts on
## Examples
[Code snippets and samples](https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager-azurestackhci_1.0.0-beta.4/sdk/azurestackhci/azure-resourcemanager-azurestackhci/SAMPLE.md)
[Code snippets and samples](https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager-azurestackhci_1.0.0-beta.5/sdk/azurestackhci/azure-resourcemanager-azurestackhci/SAMPLE.md)
## Troubleshooting
@ -105,11 +101,12 @@ This project has adopted the [Microsoft Open Source Code of Conduct][coc]. For m
[docs]: https://azure.github.io/azure-sdk-for-java/
[jdk]: https://learn.microsoft.com/azure/developer/java/fundamentals/
[azure_subscription]: https://azure.microsoft.com/free/
[azure_identity]: https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager-azurestackhci_1.0.0-beta.4/sdk/identity/azure-identity
[azure_core_http_netty]: https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager-azurestackhci_1.0.0-beta.4/sdk/core/azure-core-http-netty
[authenticate]: https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager-azurestackhci_1.0.0-beta.4/sdk/resourcemanager/docs/AUTH.md
[design]: https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager-azurestackhci_1.0.0-beta.4/sdk/resourcemanager/docs/DESIGN.md
[cg]: https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager-azurestackhci_1.0.0-beta.4/CONTRIBUTING.md
[azure_identity]: https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager-azurestackhci_1.0.0-beta.5/sdk/identity/azure-identity
[azure_identity_credentials]: https://github.com/Azure/azure-sdk-for-java/tree/azure-resourcemanager-azurestackhci_1.0.0-beta.5/sdk/identity/azure-identity#credentials
[azure_core_http_netty]: https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager-azurestackhci_1.0.0-beta.5/sdk/core/azure-core-http-netty
[authenticate]: https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager-azurestackhci_1.0.0-beta.5/sdk/resourcemanager/docs/AUTH.md
[design]: https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager-azurestackhci_1.0.0-beta.5/sdk/resourcemanager/docs/DESIGN.md
[cg]: https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager-azurestackhci_1.0.0-beta.5/CONTRIBUTING.md
[coc]: https://opensource.microsoft.com/codeofconduct/
[coc_faq]: https://opensource.microsoft.com/codeofconduct/faq/

Просмотреть файл

@ -1,6 +1,6 @@
{
"Name": "azure-resourcemanager-azurestackhci",
"Version": "1.0.0-beta.4",
"Version": "1.0.0-beta.5",
"DevVersion": null,
"DirectoryPath": "sdk/azurestackhci/azure-resourcemanager-azurestackhci",
"ServiceDirectory": "azurestackhci",
@ -10,7 +10,8 @@
"SdkType": "mgmt",
"IsNewSdk": true,
"ArtifactName": "azure-resourcemanager-azurestackhci",
"ReleaseStatus": "2023-10-20",
"ReleaseStatus": "2024-08-26",
"DependentPackages": null,
"Namespaces": [
"com.azure.resourcemanager.azurestackhci",
"com.azure.resourcemanager.azurestackhci.fluent",