Skip to content

Commit

Permalink
[Automation] Generate Fluent Lite from Swagger digitaltwins#package-2…
Browse files Browse the repository at this point in the history
…023-01 (#43263)
  • Loading branch information
azure-sdk authored Dec 6, 2024
1 parent d7ac519 commit 1a3af5e
Show file tree
Hide file tree
Showing 168 changed files with 5,514 additions and 2,681 deletions.
2 changes: 1 addition & 1 deletion eng/versioning/version_client.txt
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ com.azure.resourcemanager:azure-resourcemanager-loganalytics;1.0.0;1.1.0-beta.1
com.azure.resourcemanager:azure-resourcemanager-eventgrid;1.1.0;1.2.0-beta.8
com.azure.resourcemanager:azure-resourcemanager-healthbot;1.0.0-beta.3;1.0.0-beta.4
com.azure.resourcemanager:azure-resourcemanager-confluent;1.1.0;1.2.0-beta.1
com.azure.resourcemanager:azure-resourcemanager-digitaltwins;1.2.0;1.3.0-beta.1
com.azure.resourcemanager:azure-resourcemanager-digitaltwins;1.2.0;1.3.0
com.azure.resourcemanager:azure-resourcemanager-netapp;1.5.1;1.6.0-beta.2
com.azure.resourcemanager:azure-resourcemanager-storagecache;1.0.0-beta.12;1.0.0-beta.13
com.azure.resourcemanager:azure-resourcemanager-redisenterprise;2.0.0;2.1.0-beta.3
Expand Down
60 changes: 56 additions & 4 deletions sdk/digitaltwins/azure-resourcemanager-digitaltwins/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,66 @@
# Release History

## 1.3.0-beta.1 (Unreleased)
## 1.3.0 (2024-12-06)

### Features Added
- Azure Resource Manager AzureDigitalTwins client library for Java. This package contains Microsoft Azure SDK for AzureDigitalTwins Management SDK. Azure Digital Twins Client for managing DigitalTwinsInstance. 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).

### Breaking Changes

### Bugs Fixed
#### Serialization/Deserialization change

### Other Changes
- `Jackson` is removed from dependency and no longer supported.

##### Migration Guide

If you are using `Jackson`/`ObjectMapper` for manual serialization/deserialization, configure your `ObjectMapper` for backward compatibility:
```java
objectMapper.registerModule(com.azure.core.serializer.json.jackson.JacksonJsonProvider.getJsonSerializableDatabindModule());
```

### Features Added

#### `models.ExternalResource` was modified

* `name()` was added
* `type()` was added
* `id()` was added

#### `models.EventGrid` was modified

* `createdTime()` was added
* `endpointType()` was added
* `provisioningState()` was added

#### `models.DigitalTwinsEndpointResourceProperties` was modified

* `endpointType()` was added

#### `models.DigitalTwinsResource` was modified

* `id()` was added
* `name()` was added
* `type()` was added

#### `models.TimeSeriesDatabaseConnectionProperties` was modified

* `connectionType()` was added

#### `models.AzureDataExplorerConnectionProperties` was modified

* `provisioningState()` was added
* `connectionType()` was added

#### `models.EventHub` was modified

* `endpointType()` was added
* `provisioningState()` was added
* `createdTime()` was added

#### `models.ServiceBus` was modified

* `createdTime()` was added
* `provisioningState()` was added
* `endpointType()` was added

## 1.2.0 (2023-03-24)

Expand Down
17 changes: 8 additions & 9 deletions sdk/digitaltwins/azure-resourcemanager-digitaltwins/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Various documentation is available to help you get started
<dependency>
<groupId>com.azure.resourcemanager</groupId>
<artifactId>azure-resourcemanager-digitaltwins</artifactId>
<version>1.2.0</version>
<version>1.3.0</version>
</dependency>
```
[//]: # ({x-version-update-end})
Expand All @@ -45,15 +45,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);
Expand Down Expand Up @@ -94,12 +90,15 @@ 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]: https://docs.microsoft.com/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/main/sdk/identity/azure-identity
[azure_identity_credentials]: https://github.com/Azure/azure-sdk-for-java/tree/main/sdk/identity/azure-identity#credentials
[azure_core_http_netty]: https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/core/azure-core-http-netty
[authenticate]: https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/resourcemanager/docs/AUTH.md
[design]: https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/resourcemanager/docs/DESIGN.md
[cg]: https://github.com/Azure/azure-sdk-for-java/blob/main/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%2Fdigitaltwins%2Fazure-resourcemanager-digitaltwins%2FREADME.png)
Loading

0 comments on commit 1a3af5e

Please sign in to comment.