This commit is contained in:
azure-sdk 2024-10-17 07:53:02 +00:00
Родитель e68bb01505
Коммит a57912c1a9
2 изменённых файлов: 25 добавлений и 19 удалений

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

@ -1,12 +1,12 @@
---
title: Azure Resource Manager DevSpaces client library for Java
keywords: Azure, java, SDK, API, azure-resourcemanager-devspaces, devspaces
ms.date: 01/17/2023
ms.date: 10/17/2024
ms.topic: reference
ms.devlang: java
ms.service: devspaces
---
# Azure Resource Manager DevSpaces client library for Java - version 1.0.0-beta.2
# Azure Resource Manager DevSpaces client library for Java - version 1.0.0-beta.3
Azure Resource Manager DevSpaces client library for Java.
@ -41,7 +41,7 @@ Various documentation is available to help you get started
<dependency>
<groupId>com.azure.resourcemanager</groupId>
<artifactId>azure-resourcemanager-devspaces</artifactId>
<version>1.0.0-beta.2</version>
<version>1.0.0-beta.3</version>
</dependency>
```
[//]: # ({x-version-update-end})
@ -54,15 +54,11 @@ Azure Management Libraries require a `TokenCredential` implementation for authen
### Authentication
By default, Azure Active Directory 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-devspaces_1.0.0-beta.2/sdk/devspaces/azure-resourcemanager-devspaces/SAMPLE.md)
[Code snippets and samples](https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager-devspaces_1.0.0-beta.3/sdk/devspaces/azure-resourcemanager-devspaces/SAMPLE.md)
## Troubleshooting
@ -103,13 +99,16 @@ This project has adopted the [Microsoft Open Source Code of Conduct][coc]. For m
<!-- LINKS -->
[survey]: https://microsoft.qualtrics.com/jfe/form/SV_ehN0lIk2FKEBkwd?Q_CHL=DOCS
[docs]: https://azure.github.io/azure-sdk-for-java/
[jdk]: /java/azure/jdk/
[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-devspaces_1.0.0-beta.2/sdk/identity/azure-identity
[azure_core_http_netty]: https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager-devspaces_1.0.0-beta.2/sdk/core/azure-core-http-netty
[authenticate]: https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager-devspaces_1.0.0-beta.2/sdk/resourcemanager/docs/AUTH.md
[design]: https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager-devspaces_1.0.0-beta.2/sdk/resourcemanager/docs/DESIGN.md
[cg]: https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager-devspaces_1.0.0-beta.2/CONTRIBUTING.md
[azure_identity]: https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager-devspaces_1.0.0-beta.3/sdk/identity/azure-identity
[azure_identity_credentials]: https://github.com/Azure/azure-sdk-for-java/tree/azure-resourcemanager-devspaces_1.0.0-beta.3/sdk/identity/azure-identity#credentials
[azure_core_http_netty]: https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager-devspaces_1.0.0-beta.3/sdk/core/azure-core-http-netty
[authenticate]: https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager-devspaces_1.0.0-beta.3/sdk/resourcemanager/docs/AUTH.md
[design]: https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager-devspaces_1.0.0-beta.3/sdk/resourcemanager/docs/DESIGN.md
[cg]: https://github.com/Azure/azure-sdk-for-java/blob/azure-resourcemanager-devspaces_1.0.0-beta.3/CONTRIBUTING.md
[coc]: https://opensource.microsoft.com/codeofconduct/
[coc_faq]: https://opensource.microsoft.com/codeofconduct/faq/
![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-java%2Fsdk%2Fdevspaces%2Fazure-resourcemanager-devspaces%2FREADME.png)

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

@ -1,6 +1,6 @@
{
"Name": "azure-resourcemanager-devspaces",
"Version": "1.0.0-beta.2",
"Version": "1.0.0-beta.3",
"DevVersion": null,
"DirectoryPath": "sdk/devspaces/azure-resourcemanager-devspaces",
"ServiceDirectory": "devspaces",
@ -10,7 +10,14 @@
"SdkType": "mgmt",
"IsNewSdk": true,
"ArtifactName": "azure-resourcemanager-devspaces",
"ReleaseStatus": "2023-01-17",
"ReleaseStatus": "2024-10-17",
"IncludedForValidation": false,
"AdditionalValidationPackages": null,
"ArtifactDetails": {
"name": "azure-resourcemanager-devspaces",
"groupId": "com.azure.resourcemanager",
"safeName": "azureresourcemanagerdevspaces"
},
"Namespaces": [
"com.azure.resourcemanager.devspaces",
"com.azure.resourcemanager.devspaces.fluent",