Skip to content

Commit 1f1231d

Browse files
author
SDKAuto
committed
CodeGen from PR 34371 in Azure/azure-rest-api-specs
Merge 5a991e1ddde01c1ad3021a5d06676272f2ac00f5 into 37e1a52a30c527b6ad2d7ef09a9c82ad4491e8a2
1 parent 24808f3 commit 1f1231d

File tree

77 files changed

+1012
-1614
lines changed

Some content is hidden

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

77 files changed

+1012
-1614
lines changed

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

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

3-
## 1.2.0-beta.1 (Unreleased)
3+
## 1.0.0-beta.1 (2025-04-30)
4+
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-preview-2025-02. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
46

57
### Features Added
68

7-
### Breaking Changes
9+
* `models.UserAssignedIdentity` was added
10+
11+
* `models.ManagedServiceIdentity` was added
12+
13+
* `models.ManagedServiceIdentityType` was added
14+
15+
* `models.IotHubAuthenticationType` was added
16+
17+
#### `models.IotHubDefinitionDescription` was modified
18+
19+
* `authenticationType()` was added
20+
* `withAuthenticationType(models.IotHubAuthenticationType)` was added
21+
* `withSelectedUserAssignedIdentityResourceId(java.lang.String)` was added
22+
* `selectedUserAssignedIdentityResourceId()` was added
23+
24+
#### `models.IotDpsPropertiesDescription` was modified
25+
26+
* `portalOperationsHostname()` was added
27+
* `withPortalOperationsHostname(java.lang.String)` was added
28+
29+
#### `models.ProvisioningServiceDescription` was modified
30+
31+
* `resourcegroup()` was added
32+
* `identity()` was added
33+
* `subscriptionid()` was added
834

9-
### Bugs Fixed
35+
#### `models.ProvisioningServiceDescription$Definition` was modified
1036

11-
### Other Changes
37+
* `withIdentity(models.ManagedServiceIdentity)` was added
1238

1339
## 1.1.0 (2025-01-03)
1440

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

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Azure Resource Manager IotDps client library for Java.
44

5-
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).
5+
This package contains Microsoft Azure SDK for IotDps Management SDK. API for using the Azure IoT Hub Device Provisioning Service features. Package tag package-preview-2025-02. 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
IotDpsManager manager = IotDpsManager
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

@@ -100,5 +100,3 @@ This project has adopted the [Microsoft Open Source Code of Conduct][coc]. For m
100100
[cg]: https://github.com/Azure/azure-sdk-for-java/blob/main/CONTRIBUTING.md
101101
[coc]: https://opensource.microsoft.com/codeofconduct/
102102
[coc_faq]: https://opensource.microsoft.com/codeofconduct/faq/
103-
104-

0 commit comments

Comments
 (0)