Skip to content

Commit adf502e

Browse files
author
SDKAuto
committed
CodeGen from PR 23758 in Azure/azure-rest-api-specs
Merge 97e52dfdd8c79bc2a521221749a126f292439776 into baac183ffa684d94f697f0fc6f480e02cfb00f3d
1 parent 7a9a545 commit adf502e

File tree

149 files changed

+164
-5273
lines changed

Some content is hidden

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

149 files changed

+164
-5273
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
# Release History
22

3-
## 1.2.0-beta.4 (Unreleased)
3+
## 1.0.0-beta.1 (2023-08-14)
4+
5+
- Azure Resource Manager IotHub client library for Java. This package contains Microsoft Azure SDK for IotHub Management SDK. Use this API to manage the IoT hubs in your Azure subscription. Package tag package-preview-2023-06. 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

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

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

33
Azure Resource Manager IotHub client library for Java.
44

5-
This package contains Microsoft Azure SDK for IotHub Management SDK. Use this API to manage the IoT hubs in your Azure subscription. Package tag package-preview-2022-11. 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 IotHub Management SDK. Use this API to manage the IoT hubs in your Azure subscription. Package tag package-preview-2023-06. 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

@@ -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-iothub</artifactId>
35-
<version>1.2.0-beta.3</version>
35+
<version>1.2.0-beta.4</version>
3636
</dependency>
3737
```
3838
[//]: # ({x-version-update-end})
@@ -103,3 +103,5 @@ This project has adopted the [Microsoft Open Source Code of Conduct][coc]. For m
103103
[cg]: https://github.com/Azure/azure-sdk-for-java/blob/main/CONTRIBUTING.md
104104
[coc]: https://opensource.microsoft.com/codeofconduct/
105105
[coc_faq]: https://opensource.microsoft.com/codeofconduct/faq/
106+
107+
![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-java%2Fsdk%2Fiothub%2Fazure-resourcemanager-iothub%2FREADME.png)

sdk/iothub/azure-resourcemanager-iothub/SAMPLE.md

Lines changed: 42 additions & 42 deletions
Large diffs are not rendered by default.

sdk/iothub/azure-resourcemanager-iothub/pom.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
<packaging>jar</packaging>
1919

2020
<name>Microsoft Azure SDK for IotHub Management</name>
21-
<description>This package contains Microsoft Azure SDK for IotHub Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Use this API to manage the IoT hubs in your Azure subscription. Package tag package-preview-2022-11.</description>
21+
<description>This package contains Microsoft Azure SDK for IotHub Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. Use this API to manage the IoT hubs in your Azure subscription. Package tag package-preview-2023-06.</description>
2222
<url>https://github.com/Azure/azure-sdk-for-java</url>
2323

2424
<licenses>
@@ -45,7 +45,6 @@
4545
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
4646
<jacoco.min.linecoverage>0</jacoco.min.linecoverage>
4747
<jacoco.min.branchcoverage>0</jacoco.min.branchcoverage>
48-
<revapi.skip>true</revapi.skip>
4948
</properties>
5049
<dependencies>
5150
<dependency>

sdk/iothub/azure-resourcemanager-iothub/src/main/java/com/azure/resourcemanager/iothub/IotHubManager.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ public IotHubManager authenticate(TokenCredential credential, AzureProfile profi
227227
.append("-")
228228
.append("com.azure.resourcemanager.iothub")
229229
.append("/")
230-
.append("1.2.0-beta.3");
230+
.append("1.0.0-beta.1");
231231
if (!Configuration.getGlobalConfiguration().get("AZURE_TELEMETRY_DISABLED", false)) {
232232
userAgentBuilder
233233
.append(" (")

sdk/iothub/azure-resourcemanager-iothub/src/main/java/com/azure/resourcemanager/iothub/implementation/IotHubClientImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ public PrivateEndpointConnectionsClient getPrivateEndpointConnections() {
220220
this.defaultPollInterval = defaultPollInterval;
221221
this.subscriptionId = subscriptionId;
222222
this.endpoint = endpoint;
223-
this.apiVersion = "2022-11-15-preview";
223+
this.apiVersion = "2023-06-30-preview";
224224
this.operations = new OperationsClientImpl(this);
225225
this.iotHubResources = new IotHubResourcesClientImpl(this);
226226
this.resourceProviderCommons = new ResourceProviderCommonsClientImpl(this);

sdk/iothub/azure-resourcemanager-iothub/src/main/java/com/azure/resourcemanager/iothub/models/CertificateDescription.java

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,13 @@ public interface CertificateDescription {
6262
interface Definition
6363
extends DefinitionStages.Blank, DefinitionStages.WithParentResource, DefinitionStages.WithCreate {
6464
}
65+
6566
/** The CertificateDescription definition stages. */
6667
interface DefinitionStages {
6768
/** The first stage of the CertificateDescription definition. */
6869
interface Blank extends WithParentResource {
6970
}
71+
7072
/** The stage of the CertificateDescription definition allowing to specify parent resource. */
7173
interface WithParentResource {
7274
/**
@@ -78,6 +80,7 @@ interface WithParentResource {
7880
*/
7981
WithCreate withExistingIotHub(String resourceGroupName, String resourceName);
8082
}
83+
8184
/**
8285
* The stage of the CertificateDescription definition which contains all the minimum required properties for the
8386
* resource to be created, but also allows for any other optional properties to be specified.
@@ -98,6 +101,7 @@ interface WithCreate extends DefinitionStages.WithProperties, DefinitionStages.W
98101
*/
99102
CertificateDescription create(Context context);
100103
}
104+
101105
/** The stage of the CertificateDescription definition allowing to specify properties. */
102106
interface WithProperties {
103107
/**
@@ -108,6 +112,7 @@ interface WithProperties {
108112
*/
109113
WithCreate withProperties(CertificateProperties properties);
110114
}
115+
111116
/** The stage of the CertificateDescription definition allowing to specify ifMatch. */
112117
interface WithIfMatch {
113118
/**
@@ -121,6 +126,7 @@ interface WithIfMatch {
121126
WithCreate withIfMatch(String ifMatch);
122127
}
123128
}
129+
124130
/**
125131
* Begins update for the CertificateDescription resource.
126132
*
@@ -145,6 +151,7 @@ interface Update extends UpdateStages.WithProperties, UpdateStages.WithIfMatch {
145151
*/
146152
CertificateDescription apply(Context context);
147153
}
154+
148155
/** The CertificateDescription update stages. */
149156
interface UpdateStages {
150157
/** The stage of the CertificateDescription update allowing to specify properties. */
@@ -157,6 +164,7 @@ interface WithProperties {
157164
*/
158165
Update withProperties(CertificateProperties properties);
159166
}
167+
160168
/** The stage of the CertificateDescription update allowing to specify ifMatch. */
161169
interface WithIfMatch {
162170
/**
@@ -170,6 +178,7 @@ interface WithIfMatch {
170178
Update withIfMatch(String ifMatch);
171179
}
172180
}
181+
173182
/**
174183
* Refreshes the resource to sync with Azure.
175184
*

sdk/iothub/azure-resourcemanager-iothub/src/main/java/com/azure/resourcemanager/iothub/models/ErrorDetails.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public ErrorDetails() {
2626
*
2727
* @return the httpStatusCode value.
2828
*/
29-
public String getHttpStatusCode() {
29+
public String httpStatusCode() {
3030
return this.httpStatusCode;
3131
}
3232

sdk/iothub/azure-resourcemanager-iothub/src/main/java/com/azure/resourcemanager/iothub/models/EventHubConsumerGroupInfo.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,13 @@ interface Definition
5959
DefinitionStages.WithProperties,
6060
DefinitionStages.WithCreate {
6161
}
62+
6263
/** The EventHubConsumerGroupInfo definition stages. */
6364
interface DefinitionStages {
6465
/** The first stage of the EventHubConsumerGroupInfo definition. */
6566
interface Blank extends WithParentResource {
6667
}
68+
6769
/** The stage of the EventHubConsumerGroupInfo definition allowing to specify parent resource. */
6870
interface WithParentResource {
6971
/**
@@ -77,6 +79,7 @@ interface WithParentResource {
7779
WithProperties withExistingEventHubEndpoint(
7880
String resourceGroupName, String resourceName, String eventHubEndpointName);
7981
}
82+
8083
/** The stage of the EventHubConsumerGroupInfo definition allowing to specify properties. */
8184
interface WithProperties {
8285
/**
@@ -87,6 +90,7 @@ interface WithProperties {
8790
*/
8891
WithCreate withProperties(EventHubConsumerGroupName properties);
8992
}
93+
9094
/**
9195
* The stage of the EventHubConsumerGroupInfo definition which contains all the minimum required properties for
9296
* the resource to be created, but also allows for any other optional properties to be specified.
@@ -108,6 +112,7 @@ interface WithCreate {
108112
EventHubConsumerGroupInfo create(Context context);
109113
}
110114
}
115+
111116
/**
112117
* Refreshes the resource to sync with Azure.
113118
*

sdk/iothub/azure-resourcemanager-iothub/src/main/java/com/azure/resourcemanager/iothub/models/IotHubDescription.java

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,11 +121,13 @@ interface Definition
121121
DefinitionStages.WithSku,
122122
DefinitionStages.WithCreate {
123123
}
124+
124125
/** The IotHubDescription definition stages. */
125126
interface DefinitionStages {
126127
/** The first stage of the IotHubDescription definition. */
127128
interface Blank extends WithLocation {
128129
}
130+
129131
/** The stage of the IotHubDescription definition allowing to specify location. */
130132
interface WithLocation {
131133
/**
@@ -144,6 +146,7 @@ interface WithLocation {
144146
*/
145147
WithResourceGroup withRegion(String location);
146148
}
149+
147150
/** The stage of the IotHubDescription definition allowing to specify parent resource. */
148151
interface WithResourceGroup {
149152
/**
@@ -154,6 +157,7 @@ interface WithResourceGroup {
154157
*/
155158
WithSku withExistingResourceGroup(String resourceGroupName);
156159
}
160+
157161
/** The stage of the IotHubDescription definition allowing to specify sku. */
158162
interface WithSku {
159163
/**
@@ -164,6 +168,7 @@ interface WithSku {
164168
*/
165169
WithCreate withSku(IotHubSkuInfo sku);
166170
}
171+
167172
/**
168173
* The stage of the IotHubDescription definition which contains all the minimum required properties for the
169174
* resource to be created, but also allows for any other optional properties to be specified.
@@ -189,6 +194,7 @@ interface WithCreate
189194
*/
190195
IotHubDescription create(Context context);
191196
}
197+
192198
/** The stage of the IotHubDescription definition allowing to specify tags. */
193199
interface WithTags {
194200
/**
@@ -199,6 +205,7 @@ interface WithTags {
199205
*/
200206
WithCreate withTags(Map<String, String> tags);
201207
}
208+
202209
/** The stage of the IotHubDescription definition allowing to specify etag. */
203210
interface WithEtag {
204211
/**
@@ -211,6 +218,7 @@ interface WithEtag {
211218
*/
212219
WithCreate withEtag(String etag);
213220
}
221+
214222
/** The stage of the IotHubDescription definition allowing to specify properties. */
215223
interface WithProperties {
216224
/**
@@ -221,6 +229,7 @@ interface WithProperties {
221229
*/
222230
WithCreate withProperties(IotHubProperties properties);
223231
}
232+
224233
/** The stage of the IotHubDescription definition allowing to specify identity. */
225234
interface WithIdentity {
226235
/**
@@ -231,6 +240,7 @@ interface WithIdentity {
231240
*/
232241
WithCreate withIdentity(ArmIdentity identity);
233242
}
243+
234244
/** The stage of the IotHubDescription definition allowing to specify ifMatch. */
235245
interface WithIfMatch {
236246
/**
@@ -244,6 +254,7 @@ interface WithIfMatch {
244254
WithCreate withIfMatch(String ifMatch);
245255
}
246256
}
257+
247258
/**
248259
* Begins update for the IotHubDescription resource.
249260
*
@@ -268,6 +279,7 @@ interface Update extends UpdateStages.WithTags {
268279
*/
269280
IotHubDescription apply(Context context);
270281
}
282+
271283
/** The IotHubDescription update stages. */
272284
interface UpdateStages {
273285
/** The stage of the IotHubDescription update allowing to specify tags. */
@@ -281,6 +293,7 @@ interface WithTags {
281293
Update withTags(Map<String, String> tags);
282294
}
283295
}
296+
284297
/**
285298
* Refreshes the resource to sync with Azure.
286299
*

0 commit comments

Comments
 (0)