From db563534f422ceec6477c91da881019e3b865da3 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Tue, 6 Jul 2021 01:26:55 +0000 Subject: [PATCH] CodeGen from PR 14894 in Azure/azure-rest-api-specs [Iothub] Adding new properties in IothubProperties [stable version: 2021-07-01] (#14894) * Adds base for updating Microsoft.Devices from version stable/2021-03-31 to version 2021-07-01 * Updates readme * Updates API version in new specs and examples * adding new properties in iothu properties * Adding isVerified property in preview version * validation fixes --- .../iothub/mgmt/2016-02-03/devices/CHANGELOG.md | 11 +---------- .../iothub/mgmt/2016-02-03/devices/_meta.json | 2 +- .../mgmt/2016-02-03/devices/iothubresource.go | 3 ++- .../iothub/mgmt/2017-01-19/devices/CHANGELOG.md | 11 +---------- .../iothub/mgmt/2017-01-19/devices/_meta.json | 2 +- .../mgmt/2017-01-19/devices/iothubresource.go | 3 ++- .../iothub/mgmt/2017-07-01/devices/CHANGELOG.md | 15 +-------------- .../iothub/mgmt/2017-07-01/devices/_meta.json | 2 +- .../mgmt/2017-07-01/devices/iothubresource.go | 3 ++- .../iothub/mgmt/2018-01-22/devices/CHANGELOG.md | 15 +-------------- .../iothub/mgmt/2018-01-22/devices/_meta.json | 2 +- .../mgmt/2018-01-22/devices/iothubresource.go | 3 ++- .../iothub/mgmt/2018-04-01/devices/CHANGELOG.md | 14 +------------- .../iothub/mgmt/2018-04-01/devices/_meta.json | 2 +- .../mgmt/2018-04-01/devices/iothubresource.go | 3 ++- .../iothub/mgmt/2020-03-01/devices/CHANGELOG.md | 15 +-------------- .../iothub/mgmt/2020-03-01/devices/_meta.json | 2 +- .../mgmt/2020-03-01/devices/iothubresource.go | 3 ++- .../mgmt/2018-12-01-preview/devices/CHANGELOG.md | 14 +------------- .../mgmt/2018-12-01-preview/devices/_meta.json | 2 +- .../2018-12-01-preview/devices/iothubresource.go | 3 ++- .../mgmt/2019-03-22-preview/devices/CHANGELOG.md | 14 +------------- .../mgmt/2019-03-22-preview/devices/_meta.json | 2 +- .../2019-03-22-preview/devices/iothubresource.go | 3 ++- .../mgmt/2019-07-01-preview/devices/CHANGELOG.md | 14 +------------- .../mgmt/2019-07-01-preview/devices/_meta.json | 2 +- .../2019-07-01-preview/devices/iothubresource.go | 3 ++- .../mgmt/2021-03-03-preview/devices/CHANGELOG.md | 16 +--------------- .../mgmt/2021-03-03-preview/devices/_meta.json | 2 +- 29 files changed, 38 insertions(+), 148 deletions(-) diff --git a/services/iothub/mgmt/2016-02-03/devices/CHANGELOG.md b/services/iothub/mgmt/2016-02-03/devices/CHANGELOG.md index ef3e28ff55b3..a1ecf841edb0 100644 --- a/services/iothub/mgmt/2016-02-03/devices/CHANGELOG.md +++ b/services/iothub/mgmt/2016-02-03/devices/CHANGELOG.md @@ -1,11 +1,2 @@ -# Change History +# Unreleased -## Additive Changes - -### New Funcs - -1. ErrorDetails.MarshalJSON() ([]byte, error) -1. IotHubCapacity.MarshalJSON() ([]byte, error) -1. IotHubQuotaMetricInfo.MarshalJSON() ([]byte, error) -1. JobResponse.MarshalJSON() ([]byte, error) -1. RegistryStatistics.MarshalJSON() ([]byte, error) diff --git a/services/iothub/mgmt/2016-02-03/devices/_meta.json b/services/iothub/mgmt/2016-02-03/devices/_meta.json index d87435822221..6677156913ac 100644 --- a/services/iothub/mgmt/2016-02-03/devices/_meta.json +++ b/services/iothub/mgmt/2016-02-03/devices/_meta.json @@ -1,5 +1,5 @@ { - "commit": "3c764635e7d442b3e74caf593029fcd440b3ef82", + "commit": "0ea99445abcb5b6b77133272069a7dbd4db0d568", "readme": "/_/azure-rest-api-specs/specification/iothub/resource-manager/readme.md", "tag": "package-2016-02", "use": "@microsoft.azure/autorest.go@2.1.183", diff --git a/services/iothub/mgmt/2016-02-03/devices/iothubresource.go b/services/iothub/mgmt/2016-02-03/devices/iothubresource.go index a4fb76ae0ec2..a96c13d303f5 100644 --- a/services/iothub/mgmt/2016-02-03/devices/iothubresource.go +++ b/services/iothub/mgmt/2016-02-03/devices/iothubresource.go @@ -195,7 +195,8 @@ func (client IotHubResourceClient) CreateEventHubConsumerGroupResponder(resp *ht // CreateOrUpdate create or update the metadata of an Iot hub. The usual pattern to modify a property is to retrieve // the IoT hub metadata and security metadata, and then combine them with the modified values in a new body to update -// the IoT hub. +// the IoT hub. If certain properties are missing in the JSON, updating IoT Hub may cause these values to fallback to +// default, which may lead to unexpected behavior. // Parameters: // resourceGroupName - the name of the resource group that contains the IoT hub. // resourceName - the name of the IoT hub to create or update. diff --git a/services/iothub/mgmt/2017-01-19/devices/CHANGELOG.md b/services/iothub/mgmt/2017-01-19/devices/CHANGELOG.md index ef3e28ff55b3..a1ecf841edb0 100644 --- a/services/iothub/mgmt/2017-01-19/devices/CHANGELOG.md +++ b/services/iothub/mgmt/2017-01-19/devices/CHANGELOG.md @@ -1,11 +1,2 @@ -# Change History +# Unreleased -## Additive Changes - -### New Funcs - -1. ErrorDetails.MarshalJSON() ([]byte, error) -1. IotHubCapacity.MarshalJSON() ([]byte, error) -1. IotHubQuotaMetricInfo.MarshalJSON() ([]byte, error) -1. JobResponse.MarshalJSON() ([]byte, error) -1. RegistryStatistics.MarshalJSON() ([]byte, error) diff --git a/services/iothub/mgmt/2017-01-19/devices/_meta.json b/services/iothub/mgmt/2017-01-19/devices/_meta.json index 60e1ca735be3..93e13cc87510 100644 --- a/services/iothub/mgmt/2017-01-19/devices/_meta.json +++ b/services/iothub/mgmt/2017-01-19/devices/_meta.json @@ -1,5 +1,5 @@ { - "commit": "3c764635e7d442b3e74caf593029fcd440b3ef82", + "commit": "0ea99445abcb5b6b77133272069a7dbd4db0d568", "readme": "/_/azure-rest-api-specs/specification/iothub/resource-manager/readme.md", "tag": "package-2017-01", "use": "@microsoft.azure/autorest.go@2.1.183", diff --git a/services/iothub/mgmt/2017-01-19/devices/iothubresource.go b/services/iothub/mgmt/2017-01-19/devices/iothubresource.go index f0d64387f476..c30eba7bbb7d 100644 --- a/services/iothub/mgmt/2017-01-19/devices/iothubresource.go +++ b/services/iothub/mgmt/2017-01-19/devices/iothubresource.go @@ -195,7 +195,8 @@ func (client IotHubResourceClient) CreateEventHubConsumerGroupResponder(resp *ht // CreateOrUpdate create or update the metadata of an Iot hub. The usual pattern to modify a property is to retrieve // the IoT hub metadata and security metadata, and then combine them with the modified values in a new body to update -// the IoT hub. +// the IoT hub. If certain properties are missing in the JSON, updating IoT Hub may cause these values to fallback to +// default, which may lead to unexpected behavior. // Parameters: // resourceGroupName - the name of the resource group that contains the IoT hub. // resourceName - the name of the IoT hub to create or update. diff --git a/services/iothub/mgmt/2017-07-01/devices/CHANGELOG.md b/services/iothub/mgmt/2017-07-01/devices/CHANGELOG.md index 17a82c7c5246..a1ecf841edb0 100644 --- a/services/iothub/mgmt/2017-07-01/devices/CHANGELOG.md +++ b/services/iothub/mgmt/2017-07-01/devices/CHANGELOG.md @@ -1,15 +1,2 @@ -# Change History +# Unreleased -## Additive Changes - -### New Funcs - -1. CertificateProperties.MarshalJSON() ([]byte, error) -1. CertificatePropertiesWithNonce.MarshalJSON() ([]byte, error) -1. ErrorDetails.MarshalJSON() ([]byte, error) -1. IotHubCapacity.MarshalJSON() ([]byte, error) -1. IotHubQuotaMetricInfo.MarshalJSON() ([]byte, error) -1. JobResponse.MarshalJSON() ([]byte, error) -1. OperationDisplay.MarshalJSON() ([]byte, error) -1. OperationListResult.MarshalJSON() ([]byte, error) -1. RegistryStatistics.MarshalJSON() ([]byte, error) diff --git a/services/iothub/mgmt/2017-07-01/devices/_meta.json b/services/iothub/mgmt/2017-07-01/devices/_meta.json index ce76bce8ab10..3f7181b325f7 100644 --- a/services/iothub/mgmt/2017-07-01/devices/_meta.json +++ b/services/iothub/mgmt/2017-07-01/devices/_meta.json @@ -1,5 +1,5 @@ { - "commit": "3c764635e7d442b3e74caf593029fcd440b3ef82", + "commit": "0ea99445abcb5b6b77133272069a7dbd4db0d568", "readme": "/_/azure-rest-api-specs/specification/iothub/resource-manager/readme.md", "tag": "package-2017-07", "use": "@microsoft.azure/autorest.go@2.1.183", diff --git a/services/iothub/mgmt/2017-07-01/devices/iothubresource.go b/services/iothub/mgmt/2017-07-01/devices/iothubresource.go index 865cf7260844..88e463017c3f 100644 --- a/services/iothub/mgmt/2017-07-01/devices/iothubresource.go +++ b/services/iothub/mgmt/2017-07-01/devices/iothubresource.go @@ -195,7 +195,8 @@ func (client IotHubResourceClient) CreateEventHubConsumerGroupResponder(resp *ht // CreateOrUpdate create or update the metadata of an Iot hub. The usual pattern to modify a property is to retrieve // the IoT hub metadata and security metadata, and then combine them with the modified values in a new body to update -// the IoT hub. +// the IoT hub. If certain properties are missing in the JSON, updating IoT Hub may cause these values to fallback to +// default, which may lead to unexpected behavior. // Parameters: // resourceGroupName - the name of the resource group that contains the IoT hub. // resourceName - the name of the IoT hub. diff --git a/services/iothub/mgmt/2018-01-22/devices/CHANGELOG.md b/services/iothub/mgmt/2018-01-22/devices/CHANGELOG.md index 17a82c7c5246..a1ecf841edb0 100644 --- a/services/iothub/mgmt/2018-01-22/devices/CHANGELOG.md +++ b/services/iothub/mgmt/2018-01-22/devices/CHANGELOG.md @@ -1,15 +1,2 @@ -# Change History +# Unreleased -## Additive Changes - -### New Funcs - -1. CertificateProperties.MarshalJSON() ([]byte, error) -1. CertificatePropertiesWithNonce.MarshalJSON() ([]byte, error) -1. ErrorDetails.MarshalJSON() ([]byte, error) -1. IotHubCapacity.MarshalJSON() ([]byte, error) -1. IotHubQuotaMetricInfo.MarshalJSON() ([]byte, error) -1. JobResponse.MarshalJSON() ([]byte, error) -1. OperationDisplay.MarshalJSON() ([]byte, error) -1. OperationListResult.MarshalJSON() ([]byte, error) -1. RegistryStatistics.MarshalJSON() ([]byte, error) diff --git a/services/iothub/mgmt/2018-01-22/devices/_meta.json b/services/iothub/mgmt/2018-01-22/devices/_meta.json index 2efdfcb1f792..162c503ee81d 100644 --- a/services/iothub/mgmt/2018-01-22/devices/_meta.json +++ b/services/iothub/mgmt/2018-01-22/devices/_meta.json @@ -1,5 +1,5 @@ { - "commit": "3c764635e7d442b3e74caf593029fcd440b3ef82", + "commit": "0ea99445abcb5b6b77133272069a7dbd4db0d568", "readme": "/_/azure-rest-api-specs/specification/iothub/resource-manager/readme.md", "tag": "package-2018-01", "use": "@microsoft.azure/autorest.go@2.1.183", diff --git a/services/iothub/mgmt/2018-01-22/devices/iothubresource.go b/services/iothub/mgmt/2018-01-22/devices/iothubresource.go index 2f569866adff..35b4b6d820e9 100644 --- a/services/iothub/mgmt/2018-01-22/devices/iothubresource.go +++ b/services/iothub/mgmt/2018-01-22/devices/iothubresource.go @@ -195,7 +195,8 @@ func (client IotHubResourceClient) CreateEventHubConsumerGroupResponder(resp *ht // CreateOrUpdate create or update the metadata of an Iot hub. The usual pattern to modify a property is to retrieve // the IoT hub metadata and security metadata, and then combine them with the modified values in a new body to update -// the IoT hub. +// the IoT hub. If certain properties are missing in the JSON, updating IoT Hub may cause these values to fallback to +// default, which may lead to unexpected behavior. // Parameters: // resourceGroupName - the name of the resource group that contains the IoT hub. // resourceName - the name of the IoT hub. diff --git a/services/iothub/mgmt/2018-04-01/devices/CHANGELOG.md b/services/iothub/mgmt/2018-04-01/devices/CHANGELOG.md index 1ef15e7e7f4e..a1ecf841edb0 100644 --- a/services/iothub/mgmt/2018-04-01/devices/CHANGELOG.md +++ b/services/iothub/mgmt/2018-04-01/devices/CHANGELOG.md @@ -1,14 +1,2 @@ -# Change History +# Unreleased -## Additive Changes - -### New Funcs - -1. CertificatePropertiesWithNonce.MarshalJSON() ([]byte, error) -1. ErrorDetails.MarshalJSON() ([]byte, error) -1. IotHubCapacity.MarshalJSON() ([]byte, error) -1. IotHubQuotaMetricInfo.MarshalJSON() ([]byte, error) -1. JobResponse.MarshalJSON() ([]byte, error) -1. OperationDisplay.MarshalJSON() ([]byte, error) -1. OperationListResult.MarshalJSON() ([]byte, error) -1. RegistryStatistics.MarshalJSON() ([]byte, error) diff --git a/services/iothub/mgmt/2018-04-01/devices/_meta.json b/services/iothub/mgmt/2018-04-01/devices/_meta.json index 308fc190f7b1..cba8089c268e 100644 --- a/services/iothub/mgmt/2018-04-01/devices/_meta.json +++ b/services/iothub/mgmt/2018-04-01/devices/_meta.json @@ -1,5 +1,5 @@ { - "commit": "3c764635e7d442b3e74caf593029fcd440b3ef82", + "commit": "0ea99445abcb5b6b77133272069a7dbd4db0d568", "readme": "/_/azure-rest-api-specs/specification/iothub/resource-manager/readme.md", "tag": "package-2018-04", "use": "@microsoft.azure/autorest.go@2.1.183", diff --git a/services/iothub/mgmt/2018-04-01/devices/iothubresource.go b/services/iothub/mgmt/2018-04-01/devices/iothubresource.go index 2248609384b0..612642b2181d 100644 --- a/services/iothub/mgmt/2018-04-01/devices/iothubresource.go +++ b/services/iothub/mgmt/2018-04-01/devices/iothubresource.go @@ -195,7 +195,8 @@ func (client IotHubResourceClient) CreateEventHubConsumerGroupResponder(resp *ht // CreateOrUpdate create or update the metadata of an Iot hub. The usual pattern to modify a property is to retrieve // the IoT hub metadata and security metadata, and then combine them with the modified values in a new body to update -// the IoT hub. +// the IoT hub. If certain properties are missing in the JSON, updating IoT Hub may cause these values to fallback to +// default, which may lead to unexpected behavior. // Parameters: // resourceGroupName - the name of the resource group that contains the IoT hub. // resourceName - the name of the IoT hub. diff --git a/services/iothub/mgmt/2020-03-01/devices/CHANGELOG.md b/services/iothub/mgmt/2020-03-01/devices/CHANGELOG.md index 354b026d5d2d..a1ecf841edb0 100644 --- a/services/iothub/mgmt/2020-03-01/devices/CHANGELOG.md +++ b/services/iothub/mgmt/2020-03-01/devices/CHANGELOG.md @@ -1,15 +1,2 @@ -# Change History +# Unreleased -## Additive Changes - -### New Funcs - -1. CertificatePropertiesWithNonce.MarshalJSON() ([]byte, error) -1. ErrorDetails.MarshalJSON() ([]byte, error) -1. IotHubCapacity.MarshalJSON() ([]byte, error) -1. IotHubQuotaMetricInfo.MarshalJSON() ([]byte, error) -1. JobResponse.MarshalJSON() ([]byte, error) -1. OperationDisplay.MarshalJSON() ([]byte, error) -1. OperationListResult.MarshalJSON() ([]byte, error) -1. PrivateEndpoint.MarshalJSON() ([]byte, error) -1. RegistryStatistics.MarshalJSON() ([]byte, error) diff --git a/services/iothub/mgmt/2020-03-01/devices/_meta.json b/services/iothub/mgmt/2020-03-01/devices/_meta.json index 79bca89e87f0..d836c571a85e 100644 --- a/services/iothub/mgmt/2020-03-01/devices/_meta.json +++ b/services/iothub/mgmt/2020-03-01/devices/_meta.json @@ -1,5 +1,5 @@ { - "commit": "3c764635e7d442b3e74caf593029fcd440b3ef82", + "commit": "0ea99445abcb5b6b77133272069a7dbd4db0d568", "readme": "/_/azure-rest-api-specs/specification/iothub/resource-manager/readme.md", "tag": "package-2020-03", "use": "@microsoft.azure/autorest.go@2.1.183", diff --git a/services/iothub/mgmt/2020-03-01/devices/iothubresource.go b/services/iothub/mgmt/2020-03-01/devices/iothubresource.go index 5e86f16de46d..6ae13416d519 100644 --- a/services/iothub/mgmt/2020-03-01/devices/iothubresource.go +++ b/services/iothub/mgmt/2020-03-01/devices/iothubresource.go @@ -195,7 +195,8 @@ func (client IotHubResourceClient) CreateEventHubConsumerGroupResponder(resp *ht // CreateOrUpdate create or update the metadata of an Iot hub. The usual pattern to modify a property is to retrieve // the IoT hub metadata and security metadata, and then combine them with the modified values in a new body to update -// the IoT hub. +// the IoT hub. If certain properties are missing in the JSON, updating IoT Hub may cause these values to fallback to +// default, which may lead to unexpected behavior. // Parameters: // resourceGroupName - the name of the resource group that contains the IoT hub. // resourceName - the name of the IoT hub. diff --git a/services/preview/iothub/mgmt/2018-12-01-preview/devices/CHANGELOG.md b/services/preview/iothub/mgmt/2018-12-01-preview/devices/CHANGELOG.md index 1ef15e7e7f4e..a1ecf841edb0 100644 --- a/services/preview/iothub/mgmt/2018-12-01-preview/devices/CHANGELOG.md +++ b/services/preview/iothub/mgmt/2018-12-01-preview/devices/CHANGELOG.md @@ -1,14 +1,2 @@ -# Change History +# Unreleased -## Additive Changes - -### New Funcs - -1. CertificatePropertiesWithNonce.MarshalJSON() ([]byte, error) -1. ErrorDetails.MarshalJSON() ([]byte, error) -1. IotHubCapacity.MarshalJSON() ([]byte, error) -1. IotHubQuotaMetricInfo.MarshalJSON() ([]byte, error) -1. JobResponse.MarshalJSON() ([]byte, error) -1. OperationDisplay.MarshalJSON() ([]byte, error) -1. OperationListResult.MarshalJSON() ([]byte, error) -1. RegistryStatistics.MarshalJSON() ([]byte, error) diff --git a/services/preview/iothub/mgmt/2018-12-01-preview/devices/_meta.json b/services/preview/iothub/mgmt/2018-12-01-preview/devices/_meta.json index ad48d9e19abf..1b32061813d0 100644 --- a/services/preview/iothub/mgmt/2018-12-01-preview/devices/_meta.json +++ b/services/preview/iothub/mgmt/2018-12-01-preview/devices/_meta.json @@ -1,5 +1,5 @@ { - "commit": "3c764635e7d442b3e74caf593029fcd440b3ef82", + "commit": "0ea99445abcb5b6b77133272069a7dbd4db0d568", "readme": "/_/azure-rest-api-specs/specification/iothub/resource-manager/readme.md", "tag": "package-2018-12-preview", "use": "@microsoft.azure/autorest.go@2.1.183", diff --git a/services/preview/iothub/mgmt/2018-12-01-preview/devices/iothubresource.go b/services/preview/iothub/mgmt/2018-12-01-preview/devices/iothubresource.go index 395486359be3..05df5baea91a 100644 --- a/services/preview/iothub/mgmt/2018-12-01-preview/devices/iothubresource.go +++ b/services/preview/iothub/mgmt/2018-12-01-preview/devices/iothubresource.go @@ -195,7 +195,8 @@ func (client IotHubResourceClient) CreateEventHubConsumerGroupResponder(resp *ht // CreateOrUpdate create or update the metadata of an Iot hub. The usual pattern to modify a property is to retrieve // the IoT hub metadata and security metadata, and then combine them with the modified values in a new body to update -// the IoT hub. +// the IoT hub. If certain properties are missing in the JSON, updating IoT Hub may cause these values to fallback to +// default, which may lead to unexpected behavior. // Parameters: // resourceGroupName - the name of the resource group that contains the IoT hub. // resourceName - the name of the IoT hub. diff --git a/services/preview/iothub/mgmt/2019-03-22-preview/devices/CHANGELOG.md b/services/preview/iothub/mgmt/2019-03-22-preview/devices/CHANGELOG.md index 1ef15e7e7f4e..a1ecf841edb0 100644 --- a/services/preview/iothub/mgmt/2019-03-22-preview/devices/CHANGELOG.md +++ b/services/preview/iothub/mgmt/2019-03-22-preview/devices/CHANGELOG.md @@ -1,14 +1,2 @@ -# Change History +# Unreleased -## Additive Changes - -### New Funcs - -1. CertificatePropertiesWithNonce.MarshalJSON() ([]byte, error) -1. ErrorDetails.MarshalJSON() ([]byte, error) -1. IotHubCapacity.MarshalJSON() ([]byte, error) -1. IotHubQuotaMetricInfo.MarshalJSON() ([]byte, error) -1. JobResponse.MarshalJSON() ([]byte, error) -1. OperationDisplay.MarshalJSON() ([]byte, error) -1. OperationListResult.MarshalJSON() ([]byte, error) -1. RegistryStatistics.MarshalJSON() ([]byte, error) diff --git a/services/preview/iothub/mgmt/2019-03-22-preview/devices/_meta.json b/services/preview/iothub/mgmt/2019-03-22-preview/devices/_meta.json index 8df86fdbea06..c5c85f66d4d0 100644 --- a/services/preview/iothub/mgmt/2019-03-22-preview/devices/_meta.json +++ b/services/preview/iothub/mgmt/2019-03-22-preview/devices/_meta.json @@ -1,5 +1,5 @@ { - "commit": "3c764635e7d442b3e74caf593029fcd440b3ef82", + "commit": "0ea99445abcb5b6b77133272069a7dbd4db0d568", "readme": "/_/azure-rest-api-specs/specification/iothub/resource-manager/readme.md", "tag": "package-preview-2019-03", "use": "@microsoft.azure/autorest.go@2.1.183", diff --git a/services/preview/iothub/mgmt/2019-03-22-preview/devices/iothubresource.go b/services/preview/iothub/mgmt/2019-03-22-preview/devices/iothubresource.go index f8a8d4ac2e33..296cc30d364d 100644 --- a/services/preview/iothub/mgmt/2019-03-22-preview/devices/iothubresource.go +++ b/services/preview/iothub/mgmt/2019-03-22-preview/devices/iothubresource.go @@ -195,7 +195,8 @@ func (client IotHubResourceClient) CreateEventHubConsumerGroupResponder(resp *ht // CreateOrUpdate create or update the metadata of an Iot hub. The usual pattern to modify a property is to retrieve // the IoT hub metadata and security metadata, and then combine them with the modified values in a new body to update -// the IoT hub. +// the IoT hub. If certain properties are missing in the JSON, updating IoT Hub may cause these values to fallback to +// default, which may lead to unexpected behavior. // Parameters: // resourceGroupName - the name of the resource group that contains the IoT hub. // resourceName - the name of the IoT hub. diff --git a/services/preview/iothub/mgmt/2019-07-01-preview/devices/CHANGELOG.md b/services/preview/iothub/mgmt/2019-07-01-preview/devices/CHANGELOG.md index 1ef15e7e7f4e..a1ecf841edb0 100644 --- a/services/preview/iothub/mgmt/2019-07-01-preview/devices/CHANGELOG.md +++ b/services/preview/iothub/mgmt/2019-07-01-preview/devices/CHANGELOG.md @@ -1,14 +1,2 @@ -# Change History +# Unreleased -## Additive Changes - -### New Funcs - -1. CertificatePropertiesWithNonce.MarshalJSON() ([]byte, error) -1. ErrorDetails.MarshalJSON() ([]byte, error) -1. IotHubCapacity.MarshalJSON() ([]byte, error) -1. IotHubQuotaMetricInfo.MarshalJSON() ([]byte, error) -1. JobResponse.MarshalJSON() ([]byte, error) -1. OperationDisplay.MarshalJSON() ([]byte, error) -1. OperationListResult.MarshalJSON() ([]byte, error) -1. RegistryStatistics.MarshalJSON() ([]byte, error) diff --git a/services/preview/iothub/mgmt/2019-07-01-preview/devices/_meta.json b/services/preview/iothub/mgmt/2019-07-01-preview/devices/_meta.json index 85e2350428bb..04dacb6bc054 100644 --- a/services/preview/iothub/mgmt/2019-07-01-preview/devices/_meta.json +++ b/services/preview/iothub/mgmt/2019-07-01-preview/devices/_meta.json @@ -1,5 +1,5 @@ { - "commit": "8a3d2f1e61ac486406edc077f29060de8c02beea", + "commit": "0ea99445abcb5b6b77133272069a7dbd4db0d568", "readme": "/_/azure-rest-api-specs/specification/iothub/resource-manager/readme.md", "tag": "package-preview-2019-07", "use": "@microsoft.azure/autorest.go@2.1.183", diff --git a/services/preview/iothub/mgmt/2019-07-01-preview/devices/iothubresource.go b/services/preview/iothub/mgmt/2019-07-01-preview/devices/iothubresource.go index 4badca2abfc3..58f2d46009d7 100644 --- a/services/preview/iothub/mgmt/2019-07-01-preview/devices/iothubresource.go +++ b/services/preview/iothub/mgmt/2019-07-01-preview/devices/iothubresource.go @@ -195,7 +195,8 @@ func (client IotHubResourceClient) CreateEventHubConsumerGroupResponder(resp *ht // CreateOrUpdate create or update the metadata of an Iot hub. The usual pattern to modify a property is to retrieve // the IoT hub metadata and security metadata, and then combine them with the modified values in a new body to update -// the IoT hub. +// the IoT hub. If certain properties are missing in the JSON, updating IoT Hub may cause these values to fallback to +// default, which may lead to unexpected behavior. // Parameters: // resourceGroupName - the name of the resource group that contains the IoT hub. // resourceName - the name of the IoT hub. diff --git a/services/preview/iothub/mgmt/2021-03-03-preview/devices/CHANGELOG.md b/services/preview/iothub/mgmt/2021-03-03-preview/devices/CHANGELOG.md index 7209a9c23cd7..a1ecf841edb0 100644 --- a/services/preview/iothub/mgmt/2021-03-03-preview/devices/CHANGELOG.md +++ b/services/preview/iothub/mgmt/2021-03-03-preview/devices/CHANGELOG.md @@ -1,16 +1,2 @@ -# Change History +# Unreleased -## Additive Changes - -### New Funcs - -1. ArmUserIdentity.MarshalJSON() ([]byte, error) -1. CertificatePropertiesWithNonce.MarshalJSON() ([]byte, error) -1. ErrorDetails.MarshalJSON() ([]byte, error) -1. IotHubCapacity.MarshalJSON() ([]byte, error) -1. IotHubQuotaMetricInfo.MarshalJSON() ([]byte, error) -1. JobResponse.MarshalJSON() ([]byte, error) -1. OperationDisplay.MarshalJSON() ([]byte, error) -1. OperationListResult.MarshalJSON() ([]byte, error) -1. PrivateEndpoint.MarshalJSON() ([]byte, error) -1. RegistryStatistics.MarshalJSON() ([]byte, error) diff --git a/services/preview/iothub/mgmt/2021-03-03-preview/devices/_meta.json b/services/preview/iothub/mgmt/2021-03-03-preview/devices/_meta.json index 9563c711a1ad..32389079e50c 100644 --- a/services/preview/iothub/mgmt/2021-03-03-preview/devices/_meta.json +++ b/services/preview/iothub/mgmt/2021-03-03-preview/devices/_meta.json @@ -1,5 +1,5 @@ { - "commit": "e5839301dfd424559851119c99ef0a2699fbd228", + "commit": "0ea99445abcb5b6b77133272069a7dbd4db0d568", "readme": "/_/azure-rest-api-specs/specification/iothub/resource-manager/readme.md", "tag": "package-preview-2021-03", "use": "@microsoft.azure/autorest.go@2.1.183",