Skip to content

Commit 3529489

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

File tree

42 files changed

+265
-1687
lines changed

Some content is hidden

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

42 files changed

+265
-1687
lines changed

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

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

3-
## 1.1.0-beta.3 (Unreleased)
3+
## 1.0.0-beta.1 (2025-04-30)
4+
5+
- Azure Resource Manager IotCentral client library for Java. This package contains Microsoft Azure SDK for IotCentral Management SDK. Use this API to manage IoT Central Applications in your Azure subscription. Package tag package-preview-2021-11. 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.PrivateEndpointConnection$DefinitionStages` was added
810

9-
### Bugs Fixed
11+
* `models.PrivateLinkResource` was added
1012

11-
### Other Changes
13+
* `models.PrivateEndpointServiceConnectionStatus` was added
14+
15+
* `models.PrivateEndpointConnectionListResult` was added
16+
17+
* `models.NetworkAction` was added
18+
19+
* `models.PrivateLinks` was added
20+
21+
* `models.PrivateEndpointConnectionProvisioningState` was added
22+
23+
* `models.PrivateEndpointConnections` was added
24+
25+
* `models.PrivateLinkServiceConnectionState` was added
26+
27+
* `models.NetworkRuleSetIpRule` was added
28+
29+
* `models.PrivateEndpoint` was added
30+
31+
* `models.PrivateEndpointConnection` was added
32+
33+
* `models.PrivateLinkResourceListResult` was added
34+
35+
* `models.ProvisioningState` was added
36+
37+
* `models.IpRuleAction` was added
38+
39+
* `models.NetworkRuleSets` was added
40+
41+
* `models.PrivateEndpointConnection$Definition` was added
42+
43+
* `models.PublicNetworkAccess` was added
44+
45+
#### `models.AppSkuInfo` was modified
46+
47+
* `fromJson(com.azure.json.JsonReader)` was added
48+
* `toJson(com.azure.json.JsonWriter)` was added
49+
50+
#### `models.OperationDisplay` was modified
51+
52+
* `fromJson(com.azure.json.JsonReader)` was added
53+
* `toJson(com.azure.json.JsonWriter)` was added
54+
55+
#### `models.App$Definition` was modified
56+
57+
* `withNetworkRuleSets(models.NetworkRuleSets)` was added
58+
* `withPublicNetworkAccess(models.PublicNetworkAccess)` was added
59+
60+
#### `models.AppTemplateLocations` was modified
61+
62+
* `toJson(com.azure.json.JsonWriter)` was added
63+
* `fromJson(com.azure.json.JsonReader)` was added
64+
65+
#### `models.AppListResult` was modified
66+
67+
* `fromJson(com.azure.json.JsonReader)` was added
68+
* `toJson(com.azure.json.JsonWriter)` was added
69+
70+
#### `models.AppTemplatesResult` was modified
71+
72+
* `fromJson(com.azure.json.JsonReader)` was added
73+
* `toJson(com.azure.json.JsonWriter)` was added
74+
75+
#### `models.OperationListResult` was modified
76+
77+
* `fromJson(com.azure.json.JsonReader)` was added
78+
* `toJson(com.azure.json.JsonWriter)` was added
79+
80+
#### `IotCentralManager$Configurable` was modified
81+
82+
* `withRetryOptions(com.azure.core.http.policy.RetryOptions)` was added
83+
84+
#### `models.App` was modified
85+
86+
* `publicNetworkAccess()` was added
87+
* `resourceGroupName()` was added
88+
* `networkRuleSets()` was added
89+
* `systemData()` was added
90+
* `privateEndpointConnections()` was added
91+
* `provisioningState()` was added
92+
93+
#### `models.AppPatch` was modified
94+
95+
* `networkRuleSets()` was added
96+
* `withPublicNetworkAccess(models.PublicNetworkAccess)` was added
97+
* `toJson(com.azure.json.JsonWriter)` was added
98+
* `withNetworkRuleSets(models.NetworkRuleSets)` was added
99+
* `fromJson(com.azure.json.JsonReader)` was added
100+
* `provisioningState()` was added
101+
* `publicNetworkAccess()` was added
102+
* `privateEndpointConnections()` was added
103+
104+
#### `IotCentralManager` was modified
105+
106+
* `privateEndpointConnections()` was added
107+
* `authenticate(com.azure.core.http.HttpPipeline,com.azure.core.management.profile.AzureProfile)` was added
108+
* `privateLinks()` was added
109+
110+
#### `models.OperationInputs` was modified
111+
112+
* `toJson(com.azure.json.JsonWriter)` was added
113+
* `fromJson(com.azure.json.JsonReader)` was added
114+
115+
#### `models.Apps` was modified
116+
117+
* `update(java.lang.String,java.lang.String,models.AppPatch,com.azure.core.util.Context)` was added
118+
* `update(java.lang.String,java.lang.String,models.AppPatch)` was added
119+
120+
#### `models.SystemAssignedServiceIdentity` was modified
121+
122+
* `fromJson(com.azure.json.JsonReader)` was added
123+
* `toJson(com.azure.json.JsonWriter)` was added
124+
125+
#### `models.App$Update` was modified
126+
127+
* `withNetworkRuleSets(models.NetworkRuleSets)` was added
128+
* `withPublicNetworkAccess(models.PublicNetworkAccess)` was added
12129

13130
## 1.1.0-beta.2 (2024-10-09)
14131

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

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -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
IotCentralManager manager = IotCentralManager
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

@@ -77,8 +77,7 @@ app = iotCentralManager.apps()
7777
.withExistingResourceGroup(resourceGroupName)
7878
.withSku(new AppSkuInfo().withName(AppSku.ST2))
7979
.withIdentity(new SystemAssignedServiceIdentity().withType(SystemAssignedServiceIdentityType.NONE))
80-
.withNetworkRuleSets(new NetworkRuleSets()
81-
.withApplyToDevices(false)
80+
.withNetworkRuleSets(new NetworkRuleSets().withApplyToDevices(false)
8281
.withApplyToIoTCentral(false)
8382
.withDefaultAction(NetworkAction.ALLOW)
8483
.withIpRules(Collections.emptyList()))
@@ -118,5 +117,3 @@ This project has adopted the [Microsoft Open Source Code of Conduct][coc]. For m
118117
[cg]: https://github.com/Azure/azure-sdk-for-java/blob/main/CONTRIBUTING.md
119118
[coc]: https://opensource.microsoft.com/codeofconduct/
120119
[coc_faq]: https://opensource.microsoft.com/codeofconduct/faq/
121-
122-

0 commit comments

Comments
 (0)