Skip to content

Commit f2f911c

Browse files
author
SDKAuto
committed
CodeGen from PR 25460 in Azure/azure-rest-api-specs
Merge 60c4df51a4f89db2f46b31aedd4cdb63e249fc32 into ad6484fee29013ab0b3619217970b106a1f44cf0
1 parent eedfd0a commit f2f911c

File tree

162 files changed

+423
-5789
lines changed

Some content is hidden

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

162 files changed

+423
-5789
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-23)
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-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-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: 149 additions & 57 deletions
Large diffs are not rendered by default.

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

Lines changed: 1 addition & 1 deletion
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-2023-06.</description>
2222
<url>https://github.com/Azure/azure-sdk-for-java</url>
2323

2424
<licenses>

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

Lines changed: 5 additions & 3 deletions
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(" (")
@@ -372,8 +372,10 @@ public PrivateEndpointConnections privateEndpointConnections() {
372372
}
373373

374374
/**
375-
* @return Wrapped service client IotHubClient providing direct access to the underlying auto-generated API
376-
* implementation, based on Azure REST API.
375+
* Gets wrapped service client IotHubClient providing direct access to the underlying auto-generated API
376+
* implementation, based on Azure REST API.
377+
*
378+
* @return Wrapped service client IotHubClient.
377379
*/
378380
public IotHubClient serviceClient() {
379381
return this.clientObject;

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

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,8 @@ Response<IotHubDescriptionInner> getByResourceGroupWithResponse(
7171
*
7272
* <p>Create or update the metadata of an Iot hub. The usual pattern to modify a property is to retrieve the IoT hub
7373
* metadata and security metadata, and then combine them with the modified values in a new body to update the IoT
74-
* hub.
74+
* hub. If certain properties are missing in the JSON, updating IoT Hub may cause these values to fallback to
75+
* default, which may lead to unexpected behavior.
7576
*
7677
* @param resourceGroupName The name of the resource group that contains the IoT hub.
7778
* @param resourceName The name of the IoT hub.
@@ -91,7 +92,8 @@ SyncPoller<PollResult<IotHubDescriptionInner>, IotHubDescriptionInner> beginCrea
9192
*
9293
* <p>Create or update the metadata of an Iot hub. The usual pattern to modify a property is to retrieve the IoT hub
9394
* metadata and security metadata, and then combine them with the modified values in a new body to update the IoT
94-
* hub.
95+
* hub. If certain properties are missing in the JSON, updating IoT Hub may cause these values to fallback to
96+
* default, which may lead to unexpected behavior.
9597
*
9698
* @param resourceGroupName The name of the resource group that contains the IoT hub.
9799
* @param resourceName The name of the IoT hub.
@@ -118,7 +120,8 @@ SyncPoller<PollResult<IotHubDescriptionInner>, IotHubDescriptionInner> beginCrea
118120
*
119121
* <p>Create or update the metadata of an Iot hub. The usual pattern to modify a property is to retrieve the IoT hub
120122
* metadata and security metadata, and then combine them with the modified values in a new body to update the IoT
121-
* hub.
123+
* hub. If certain properties are missing in the JSON, updating IoT Hub may cause these values to fallback to
124+
* default, which may lead to unexpected behavior.
122125
*
123126
* @param resourceGroupName The name of the resource group that contains the IoT hub.
124127
* @param resourceName The name of the IoT hub.
@@ -138,7 +141,8 @@ IotHubDescriptionInner createOrUpdate(
138141
*
139142
* <p>Create or update the metadata of an Iot hub. The usual pattern to modify a property is to retrieve the IoT hub
140143
* metadata and security metadata, and then combine them with the modified values in a new body to update the IoT
141-
* hub.
144+
* hub. If certain properties are missing in the JSON, updating IoT Hub may cause these values to fallback to
145+
* default, which may lead to unexpected behavior.
142146
*
143147
* @param resourceGroupName The name of the resource group that contains the IoT hub.
144148
* @param resourceName The name of the IoT hub.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ public IotHubClientImpl buildClient() {
137137
localSerializerAdapter,
138138
localDefaultPollInterval,
139139
localEnvironment,
140-
subscriptionId,
140+
this.subscriptionId,
141141
localEndpoint);
142142
return client;
143143
}

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";
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/implementation/IotHubResourcesClientImpl.java

Lines changed: 24 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -662,7 +662,8 @@ public IotHubDescriptionInner getByResourceGroup(String resourceGroupName, Strin
662662
*
663663
* <p>Create or update the metadata of an Iot hub. The usual pattern to modify a property is to retrieve the IoT hub
664664
* metadata and security metadata, and then combine them with the modified values in a new body to update the IoT
665-
* hub.
665+
* hub. If certain properties are missing in the JSON, updating IoT Hub may cause these values to fallback to
666+
* default, which may lead to unexpected behavior.
666667
*
667668
* @param resourceGroupName The name of the resource group that contains the IoT hub.
668669
* @param resourceName The name of the IoT hub.
@@ -725,7 +726,8 @@ private Mono<Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(
725726
*
726727
* <p>Create or update the metadata of an Iot hub. The usual pattern to modify a property is to retrieve the IoT hub
727728
* metadata and security metadata, and then combine them with the modified values in a new body to update the IoT
728-
* hub.
729+
* hub. If certain properties are missing in the JSON, updating IoT Hub may cause these values to fallback to
730+
* default, which may lead to unexpected behavior.
729731
*
730732
* @param resourceGroupName The name of the resource group that contains the IoT hub.
731733
* @param resourceName The name of the IoT hub.
@@ -790,7 +792,8 @@ private Mono<Response<Flux<ByteBuffer>>> createOrUpdateWithResponseAsync(
790792
*
791793
* <p>Create or update the metadata of an Iot hub. The usual pattern to modify a property is to retrieve the IoT hub
792794
* metadata and security metadata, and then combine them with the modified values in a new body to update the IoT
793-
* hub.
795+
* hub. If certain properties are missing in the JSON, updating IoT Hub may cause these values to fallback to
796+
* default, which may lead to unexpected behavior.
794797
*
795798
* @param resourceGroupName The name of the resource group that contains the IoT hub.
796799
* @param resourceName The name of the IoT hub.
@@ -822,7 +825,8 @@ private PollerFlux<PollResult<IotHubDescriptionInner>, IotHubDescriptionInner> b
822825
*
823826
* <p>Create or update the metadata of an Iot hub. The usual pattern to modify a property is to retrieve the IoT hub
824827
* metadata and security metadata, and then combine them with the modified values in a new body to update the IoT
825-
* hub.
828+
* hub. If certain properties are missing in the JSON, updating IoT Hub may cause these values to fallback to
829+
* default, which may lead to unexpected behavior.
826830
*
827831
* @param resourceGroupName The name of the resource group that contains the IoT hub.
828832
* @param resourceName The name of the IoT hub.
@@ -853,7 +857,8 @@ private PollerFlux<PollResult<IotHubDescriptionInner>, IotHubDescriptionInner> b
853857
*
854858
* <p>Create or update the metadata of an Iot hub. The usual pattern to modify a property is to retrieve the IoT hub
855859
* metadata and security metadata, and then combine them with the modified values in a new body to update the IoT
856-
* hub.
860+
* hub. If certain properties are missing in the JSON, updating IoT Hub may cause these values to fallback to
861+
* default, which may lead to unexpected behavior.
857862
*
858863
* @param resourceGroupName The name of the resource group that contains the IoT hub.
859864
* @param resourceName The name of the IoT hub.
@@ -891,7 +896,8 @@ private PollerFlux<PollResult<IotHubDescriptionInner>, IotHubDescriptionInner> b
891896
*
892897
* <p>Create or update the metadata of an Iot hub. The usual pattern to modify a property is to retrieve the IoT hub
893898
* metadata and security metadata, and then combine them with the modified values in a new body to update the IoT
894-
* hub.
899+
* hub. If certain properties are missing in the JSON, updating IoT Hub may cause these values to fallback to
900+
* default, which may lead to unexpected behavior.
895901
*
896902
* @param resourceGroupName The name of the resource group that contains the IoT hub.
897903
* @param resourceName The name of the IoT hub.
@@ -915,7 +921,8 @@ public SyncPoller<PollResult<IotHubDescriptionInner>, IotHubDescriptionInner> be
915921
*
916922
* <p>Create or update the metadata of an Iot hub. The usual pattern to modify a property is to retrieve the IoT hub
917923
* metadata and security metadata, and then combine them with the modified values in a new body to update the IoT
918-
* hub.
924+
* hub. If certain properties are missing in the JSON, updating IoT Hub may cause these values to fallback to
925+
* default, which may lead to unexpected behavior.
919926
*
920927
* @param resourceGroupName The name of the resource group that contains the IoT hub.
921928
* @param resourceName The name of the IoT hub.
@@ -945,7 +952,8 @@ public SyncPoller<PollResult<IotHubDescriptionInner>, IotHubDescriptionInner> be
945952
*
946953
* <p>Create or update the metadata of an Iot hub. The usual pattern to modify a property is to retrieve the IoT hub
947954
* metadata and security metadata, and then combine them with the modified values in a new body to update the IoT
948-
* hub.
955+
* hub. If certain properties are missing in the JSON, updating IoT Hub may cause these values to fallback to
956+
* default, which may lead to unexpected behavior.
949957
*
950958
* @param resourceGroupName The name of the resource group that contains the IoT hub.
951959
* @param resourceName The name of the IoT hub.
@@ -970,7 +978,8 @@ private Mono<IotHubDescriptionInner> createOrUpdateAsync(
970978
*
971979
* <p>Create or update the metadata of an Iot hub. The usual pattern to modify a property is to retrieve the IoT hub
972980
* metadata and security metadata, and then combine them with the modified values in a new body to update the IoT
973-
* hub.
981+
* hub. If certain properties are missing in the JSON, updating IoT Hub may cause these values to fallback to
982+
* default, which may lead to unexpected behavior.
974983
*
975984
* @param resourceGroupName The name of the resource group that contains the IoT hub.
976985
* @param resourceName The name of the IoT hub.
@@ -994,7 +1003,8 @@ private Mono<IotHubDescriptionInner> createOrUpdateAsync(
9941003
*
9951004
* <p>Create or update the metadata of an Iot hub. The usual pattern to modify a property is to retrieve the IoT hub
9961005
* metadata and security metadata, and then combine them with the modified values in a new body to update the IoT
997-
* hub.
1006+
* hub. If certain properties are missing in the JSON, updating IoT Hub may cause these values to fallback to
1007+
* default, which may lead to unexpected behavior.
9981008
*
9991009
* @param resourceGroupName The name of the resource group that contains the IoT hub.
10001010
* @param resourceName The name of the IoT hub.
@@ -1024,7 +1034,8 @@ private Mono<IotHubDescriptionInner> createOrUpdateAsync(
10241034
*
10251035
* <p>Create or update the metadata of an Iot hub. The usual pattern to modify a property is to retrieve the IoT hub
10261036
* metadata and security metadata, and then combine them with the modified values in a new body to update the IoT
1027-
* hub.
1037+
* hub. If certain properties are missing in the JSON, updating IoT Hub may cause these values to fallback to
1038+
* default, which may lead to unexpected behavior.
10281039
*
10291040
* @param resourceGroupName The name of the resource group that contains the IoT hub.
10301041
* @param resourceName The name of the IoT hub.
@@ -1046,7 +1057,8 @@ public IotHubDescriptionInner createOrUpdate(
10461057
*
10471058
* <p>Create or update the metadata of an Iot hub. The usual pattern to modify a property is to retrieve the IoT hub
10481059
* metadata and security metadata, and then combine them with the modified values in a new body to update the IoT
1049-
* hub.
1060+
* hub. If certain properties are missing in the JSON, updating IoT Hub may cause these values to fallback to
1061+
* default, which may lead to unexpected behavior.
10501062
*
10511063
* @param resourceGroupName The name of the resource group that contains the IoT hub.
10521064
* @param resourceName The name of the IoT hub.

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public final class ArmIdentity {
2525
private String tenantId;
2626

2727
/*
28-
* The type of identity used for the resource. The type 'SystemAssigned,UserAssigned' includes both an implicitly
28+
* The type of identity used for the resource. The type 'SystemAssigned, UserAssigned' includes both an implicitly
2929
* created identity and a set of user assigned identities. The type 'None' will remove any identities from the
3030
* service.
3131
*/
@@ -62,7 +62,7 @@ public String tenantId() {
6262
}
6363

6464
/**
65-
* Get the type property: The type of identity used for the resource. The type 'SystemAssigned,UserAssigned'
65+
* Get the type property: The type of identity used for the resource. The type 'SystemAssigned, UserAssigned'
6666
* includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove
6767
* any identities from the service.
6868
*
@@ -73,7 +73,7 @@ public ResourceIdentityType type() {
7373
}
7474

7575
/**
76-
* Set the type property: The type of identity used for the resource. The type 'SystemAssigned,UserAssigned'
76+
* Set the type property: The type of identity used for the resource. The type 'SystemAssigned, UserAssigned'
7777
* includes both an implicitly created identity and a set of user assigned identities. The type 'None' will remove
7878
* any identities from the service.
7979
*

0 commit comments

Comments
 (0)