Skip to content

Commit 03f11b8

Browse files
author
SDKAuto
committed
CodeGen from PR 16113 in Azure/azure-rest-api-specs
Merge 709c19c1a51b807fc96d5b09ced99aa6af8b2daf into a62f0a79c6abf6e876ca9816e13f206850dd7822
1 parent c0e1704 commit 03f11b8

File tree

49 files changed

+18
-1244
lines changed

Some content is hidden

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

49 files changed

+18
-1244
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release History
22

3+
## 1.0.0-beta.1 (2021-09-22)
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-2021-07. For documentation on how to use this package, please see [Azure Management Libraries for Java](https://aka.ms/azsdk/java/mgmt).
6+
37
## 1.1.0 (2021-08-30)
48

59
- Add support for new service API version 2021-07-01

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,6 @@ See [API design][design] for general introduction on design and key concepts on
7474

7575
## Examples
7676

77-
[Code snippets and samples](https://github.com/Azure/azure-sdk-for-java/blob/main/sdk/iothub/azure-resourcemanager-iothub/SAMPLE.md)
7877

7978

8079
## Troubleshooting

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
@@ -194,7 +194,7 @@ public IotHubManager authenticate(TokenCredential credential, AzureProfile profi
194194
.append("-")
195195
.append("com.azure.resourcemanager.iothub")
196196
.append("/")
197-
.append("1.1.0");
197+
.append("1.0.0-beta.1");
198198
if (!Configuration.getGlobalConfiguration().get("AZURE_TELEMETRY_DISABLED", false)) {
199199
userAgentBuilder
200200
.append(" (")

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
import com.azure.core.management.ProxyResource;
99
import com.azure.core.util.logging.ClientLogger;
1010
import com.fasterxml.jackson.annotation.JsonIgnore;
11+
import com.fasterxml.jackson.annotation.JsonInclude;
1112
import com.fasterxml.jackson.annotation.JsonProperty;
1213
import java.util.Map;
1314

@@ -20,6 +21,7 @@ public final class EventHubConsumerGroupInfoInner extends ProxyResource {
2021
* The tags.
2122
*/
2223
@JsonProperty(value = "properties")
24+
@JsonInclude(value = JsonInclude.Include.NON_NULL, content = JsonInclude.Include.ALWAYS)
2325
private Map<String, Object> properties;
2426

2527
/*

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
import com.azure.core.annotation.Fluent;
88
import com.azure.core.util.logging.ClientLogger;
99
import com.fasterxml.jackson.annotation.JsonIgnore;
10+
import com.fasterxml.jackson.annotation.JsonInclude;
1011
import com.fasterxml.jackson.annotation.JsonProperty;
1112
import java.util.Map;
1213

@@ -40,6 +41,7 @@ public class ArmIdentity {
4041
* Dictionary of <ArmUserIdentity>
4142
*/
4243
@JsonProperty(value = "userAssignedIdentities")
44+
@JsonInclude(value = JsonInclude.Include.NON_NULL, content = JsonInclude.Include.ALWAYS)
4345
private Map<String, ArmUserIdentity> userAssignedIdentities;
4446

4547
/**

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
import com.azure.resourcemanager.iothub.fluent.models.PrivateEndpointConnectionInner;
1010
import com.azure.resourcemanager.iothub.fluent.models.SharedAccessSignatureAuthorizationRuleInner;
1111
import com.fasterxml.jackson.annotation.JsonIgnore;
12+
import com.fasterxml.jackson.annotation.JsonInclude;
1213
import com.fasterxml.jackson.annotation.JsonProperty;
1314
import java.util.List;
1415
import java.util.Map;
@@ -114,6 +115,7 @@ public final class IotHubProperties {
114115
* while making create or update calls for the IoT hub.
115116
*/
116117
@JsonProperty(value = "eventHubEndpoints")
118+
@JsonInclude(value = JsonInclude.Include.NON_NULL, content = JsonInclude.Include.ALWAYS)
117119
private Map<String, EventHubProperties> eventHubEndpoints;
118120

119121
/*
@@ -132,13 +134,15 @@ public final class IotHubProperties {
132134
* an error to be thrown.
133135
*/
134136
@JsonProperty(value = "storageEndpoints")
137+
@JsonInclude(value = JsonInclude.Include.NON_NULL, content = JsonInclude.Include.ALWAYS)
135138
private Map<String, StorageEndpointProperties> storageEndpoints;
136139

137140
/*
138141
* The messaging endpoint properties for the file upload notification
139142
* queue.
140143
*/
141144
@JsonProperty(value = "messagingEndpoints")
145+
@JsonInclude(value = JsonInclude.Include.NON_NULL, content = JsonInclude.Include.ALWAYS)
142146
private Map<String, MessagingEndpointProperties> messagingEndpoints;
143147

144148
/*

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
import com.azure.core.annotation.Fluent;
88
import com.azure.core.util.logging.ClientLogger;
99
import com.fasterxml.jackson.annotation.JsonIgnore;
10+
import com.fasterxml.jackson.annotation.JsonInclude;
1011
import com.fasterxml.jackson.annotation.JsonProperty;
1112
import java.util.Map;
1213

@@ -25,12 +26,14 @@ public final class RoutingMessage {
2526
* App properties
2627
*/
2728
@JsonProperty(value = "appProperties")
29+
@JsonInclude(value = JsonInclude.Include.NON_NULL, content = JsonInclude.Include.ALWAYS)
2830
private Map<String, String> appProperties;
2931

3032
/*
3133
* System properties
3234
*/
3335
@JsonProperty(value = "systemProperties")
36+
@JsonInclude(value = JsonInclude.Include.NON_NULL, content = JsonInclude.Include.ALWAYS)
3437
private Map<String, String> systemProperties;
3538

3639
/**

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
import com.azure.core.annotation.Fluent;
88
import com.azure.core.util.logging.ClientLogger;
99
import com.fasterxml.jackson.annotation.JsonIgnore;
10+
import com.fasterxml.jackson.annotation.JsonInclude;
1011
import com.fasterxml.jackson.annotation.JsonProperty;
1112
import java.util.Map;
1213

@@ -19,6 +20,7 @@ public final class TagsResource {
1920
* Resource tags
2021
*/
2122
@JsonProperty(value = "tags")
23+
@JsonInclude(value = JsonInclude.Include.NON_NULL, content = JsonInclude.Include.ALWAYS)
2224
private Map<String, String> tags;
2325

2426
/**

sdk/iothub/azure-resourcemanager-iothub/src/main/test/com/azure/resourcemanager/iothub/Constants.java

Lines changed: 0 additions & 23 deletions
This file was deleted.

sdk/iothub/azure-resourcemanager-iothub/src/main/test/com/azure/resourcemanager/iothub/IotHubResourceManagementTests.java

Lines changed: 0 additions & 131 deletions
This file was deleted.

0 commit comments

Comments
 (0)