Skip to content

Commit bc36d88

Browse files
authored
mgmt, azure-json migration for deviceprovisioninservices (Azure#43692)
* local gen for deviceprovisioninservices * fix version
1 parent 148f043 commit bc36d88

File tree

150 files changed

+6528
-2566
lines changed

Some content is hidden

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

150 files changed

+6528
-2566
lines changed

eng/versioning/version_client.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ com.azure.resourcemanager:azure-resourcemanager-imagebuilder;1.2.0;1.3.0-beta.1
375375
com.azure.resourcemanager:azure-resourcemanager-maps;1.1.0;1.2.0-beta.1
376376
com.azure.resourcemanager:azure-resourcemanager-botservice;1.0.0;1.1.0-beta.1
377377
com.azure.resourcemanager:azure-resourcemanager-recoveryservicesbackup;1.5.0;1.6.0-beta.1
378-
com.azure.resourcemanager:azure-resourcemanager-deviceprovisioningservices;1.0.0;1.1.0-beta.3
378+
com.azure.resourcemanager:azure-resourcemanager-deviceprovisioningservices;1.0.0;1.1.0
379379
com.azure.resourcemanager:azure-resourcemanager-postgresqlflexibleserver;1.0.0;1.1.0-beta.5
380380
com.azure.resourcemanager:azure-resourcemanager-elastic;1.0.0;1.1.0-beta.1
381381
com.azure.resourcemanager:azure-resourcemanager-webpubsub;1.1.0;1.2.0-beta.1

sdk/appcomplianceautomation/azure-resourcemanager-appcomplianceautomation/src/main/java/module-info.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
exports com.azure.resourcemanager.appcomplianceautomation.fluent.models;
1111
exports com.azure.resourcemanager.appcomplianceautomation.models;
1212

13-
opens com.azure.resourcemanager.appcomplianceautomation.fluent.models
14-
to com.azure.core, com.fasterxml.jackson.databind;
13+
opens com.azure.resourcemanager.appcomplianceautomation.fluent.models to com.azure.core;
1514
opens com.azure.resourcemanager.appcomplianceautomation.models to com.azure.core;
1615
}

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

Lines changed: 81 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,91 @@
11
# Release History
22

3-
## 1.1.0-beta.3 (Unreleased)
3+
## 1.1.0 (2025-01-03)
44

5-
### Features Added
5+
- Azure Resource Manager IotDps client library for Java. This package contains Microsoft Azure SDK for IotDps Management SDK. API for using the Azure IoT Hub Device Provisioning Service features. Package tag package-2022-02. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
66

77
### Breaking Changes
88

9-
### Bugs Fixed
9+
#### Serialization/Deserialization change
10+
11+
- `Jackson` is removed from dependency and no longer supported.
12+
13+
##### Migration Guide
14+
15+
If you are using `Jackson`/`ObjectMapper` for manual serialization/deserialization, configure your `ObjectMapper` for backward compatibility:
16+
```java
17+
objectMapper.registerModule(com.azure.core.serializer.json.jackson.JacksonJsonProvider.getJsonSerializableDatabindModule());
18+
```
19+
20+
#### `models.ErrorMesssage` was removed
21+
22+
#### `models.CertificateBodyDescription` was removed
23+
24+
#### `models.AsyncOperationResult` was modified
25+
26+
* `models.ErrorMesssage error()` -> `models.ErrorMessage error()`
27+
28+
#### `models.CertificateResponse$Update` was modified
29+
30+
* `withCertificate(java.lang.String)` was removed
31+
32+
#### `models.CertificateResponse$Definition` was modified
33+
34+
* `withCertificate(java.lang.String)` was removed
35+
36+
### Features Added
37+
38+
* `models.ErrorMessage` was added
39+
40+
#### `models.ErrorDetails` was modified
41+
42+
* `getTarget()` was added
43+
* `getCode()` was added
44+
* `getMessage()` was added
45+
* `getAdditionalInfo()` was added
46+
* `getDetails()` was added
47+
48+
#### `models.IotDpsPropertiesDescription` was modified
49+
50+
* `withEnableDataResidency(java.lang.Boolean)` was added
51+
* `enableDataResidency()` was added
52+
53+
#### `models.CertificateProperties` was modified
54+
55+
* `withCertificate(byte[])` was added
56+
* `withIsVerified(java.lang.Boolean)` was added
57+
58+
#### `models.PrivateEndpointConnection` was modified
59+
60+
* `resourceGroupName()` was added
61+
* `systemData()` was added
62+
63+
#### `models.CertificateResponse$Update` was modified
1064

11-
### Other Changes
65+
* `withProperties(models.CertificateProperties)` was added
66+
67+
#### `models.ProvisioningServiceDescription` was modified
68+
69+
* `resourceGroupName()` was added
70+
* `systemData()` was added
71+
72+
#### `models.CertificateResponse$Definition` was modified
73+
74+
* `withProperties(models.CertificateProperties)` was added
75+
76+
#### `models.CertificateResponse` was modified
77+
78+
* `resourceGroupName()` was added
79+
* `systemData()` was added
80+
81+
#### `IotDpsManager` was modified
82+
83+
* `authenticate(com.azure.core.http.HttpPipeline,com.azure.core.management.profile.AzureProfile)` was added
84+
85+
#### `IotDpsManager$Configurable` was modified
86+
87+
* `withScope(java.lang.String)` was added
88+
* `withRetryOptions(com.azure.core.http.policy.RetryOptions)` was added
1289

1390
## 1.1.0-beta.2 (2022-07-12)
1491

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

Lines changed: 18 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Various documentation is available to help you get started
3232
<dependency>
3333
<groupId>com.azure.resourcemanager</groupId>
3434
<artifactId>azure-resourcemanager-deviceprovisioningservices</artifactId>
35-
<version>1.1.0-beta.2</version>
35+
<version>1.1.0</version>
3636
</dependency>
3737
```
3838
[//]: # ({x-version-update-end})
@@ -41,19 +41,15 @@ Various documentation is available to help you get started
4141

4242
Azure Management Libraries require a `TokenCredential` implementation for authentication and an `HttpClient` implementation for HTTP client.
4343

44-
[Azure Identity][azure_identity] package and [Azure Core Netty HTTP][azure_core_http_netty] package provide the default implementation.
44+
[Azure Identity][azure_identity] and [Azure Core Netty HTTP][azure_core_http_netty] packages provide the default implementation.
4545

4646
### Authentication
4747

48-
By default, Azure Active Directory token authentication depends on correct configure of following environment variables.
48+
Microsoft Entra ID token authentication relies on the [credential class][azure_identity_credentials] from [Azure Identity][azure_identity] package.
4949

50-
- `AZURE_CLIENT_ID` for Azure client ID.
51-
- `AZURE_TENANT_ID` for Azure tenant ID.
52-
- `AZURE_CLIENT_SECRET` or `AZURE_CLIENT_CERTIFICATE_PATH` for client secret or client certificate.
50+
Azure subscription ID can be configured via `AZURE_SUBSCRIPTION_ID` environment variable.
5351

54-
In addition, Azure subscription ID can be configured via environment variable `AZURE_SUBSCRIPTION_ID`.
55-
56-
With above configuration, `azure` client can be authenticated by following code:
52+
Assuming the use of the `DefaultAzureCredential` credential class, the client can be authenticated using the following code:
5753

5854
```java
5955
AzureProfile profile = new AzureProfile(AzureEnvironment.AZURE);
@@ -83,20 +79,26 @@ See [API design][design] for general introduction on design and key concepts on
8379

8480
## Contributing
8581

86-
For details on contributing to this repository, see the [contributing guide](https://github.com/Azure/azure-sdk-for-java/blob/main/CONTRIBUTING.md).
82+
For details on contributing to this repository, see the [contributing guide][cg].
83+
84+
This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit <https://cla.microsoft.com>.
8785

88-
1. Fork it
89-
1. Create your feature branch (`git checkout -b my-new-feature`)
90-
1. Commit your changes (`git commit -am 'Add some feature'`)
91-
1. Push to the branch (`git push origin my-new-feature`)
92-
1. Create new Pull Request
86+
When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., label, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repositories using our CLA.
87+
88+
This project has adopted the [Microsoft Open Source Code of Conduct][coc]. For more information see the [Code of Conduct FAQ][coc_faq] or contact <[email protected]> with any additional questions or comments.
9389

9490
<!-- LINKS -->
9591
[survey]: https://microsoft.qualtrics.com/jfe/form/SV_ehN0lIk2FKEBkwd?Q_CHL=DOCS
9692
[docs]: https://azure.github.io/azure-sdk-for-java/
97-
[jdk]: https://docs.microsoft.com/java/azure/jdk/
93+
[jdk]: https://learn.microsoft.com/azure/developer/java/fundamentals/
9894
[azure_subscription]: https://azure.microsoft.com/free/
9995
[azure_identity]: https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/identity/azure-identity
96+
[azure_identity_credentials]: https://github.com/Azure/azure-sdk-for-java/tree/main/sdk/identity/azure-identity#credentials
10097
[azure_core_http_netty]: https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/core/azure-core-http-netty
10198
[authenticate]: https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/resourcemanager/docs/AUTH.md
10299
[design]: https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/resourcemanager/docs/DESIGN.md
100+
[cg]: https://github.com/Azure/azure-sdk-for-java/blob/main/CONTRIBUTING.md
101+
[coc]: https://opensource.microsoft.com/codeofconduct/
102+
[coc_faq]: https://opensource.microsoft.com/codeofconduct/faq/
103+
104+
![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-java%2Fsdk%2Fdeviceprovisioningservices%2Fazure-resourcemanager-deviceprovisioningservices%2FREADME.png)

0 commit comments

Comments
 (0)