From be0b32a7888fd72354f588ee10f4404c2004c791 Mon Sep 17 00:00:00 2001 From: SDKAuto Date: Mon, 25 Oct 2021 16:53:57 +0000 Subject: [PATCH] CodeGen from PR 16493 in Azure/azure-rest-api-specs Merge d84b8272404be71221fd5113df3bd61751210118 into c521e9c24cee40999767dc952602658be252653a --- .../Generated/IIotHubResourceOperations.cs | 8 +-- .../src/Generated/IotHubClient.cs | 2 +- .../src/Generated/IotHubResourceOperations.cs | 8 +-- .../IotHubResourceOperationsExtensions.cs | 16 ++--- .../src/Generated/Models/ArmIdentity.cs | 4 +- .../Models/EncryptionPropertiesDescription.cs | 64 +++++++++++++++++++ .../src/Generated/Models/IotHubProperties.cs | 20 +++++- .../Models/IotHubPropertiesDeviceStreams.cs | 56 ++++++++++++++++ .../Generated/Models/KeyVaultKeyProperties.cs | 60 +++++++++++++++++ .../src/Generated/Models/RouteProperties.cs | 6 +- .../src/Generated/Models/RoutingSource.cs | 2 + .../Generated/Models/TestAllRoutesInput.cs | 6 +- .../src/Generated/SdkInfo_iotHubClient.cs | 25 ++------ 13 files changed, 227 insertions(+), 50 deletions(-) create mode 100644 sdk/iothub/Microsoft.Azure.Management.IotHub/src/Generated/Models/EncryptionPropertiesDescription.cs create mode 100644 sdk/iothub/Microsoft.Azure.Management.IotHub/src/Generated/Models/IotHubPropertiesDeviceStreams.cs create mode 100644 sdk/iothub/Microsoft.Azure.Management.IotHub/src/Generated/Models/KeyVaultKeyProperties.cs diff --git a/sdk/iothub/Microsoft.Azure.Management.IotHub/src/Generated/IIotHubResourceOperations.cs b/sdk/iothub/Microsoft.Azure.Management.IotHub/src/Generated/IIotHubResourceOperations.cs index fa02cd608d67..a1537c823981 100644 --- a/sdk/iothub/Microsoft.Azure.Management.IotHub/src/Generated/IIotHubResourceOperations.cs +++ b/sdk/iothub/Microsoft.Azure.Management.IotHub/src/Generated/IIotHubResourceOperations.cs @@ -58,9 +58,7 @@ public partial interface IIotHubResourceOperations /// 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. 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. + /// body to update the IoT hub. /// /// /// The name of the resource group that contains the IoT hub. @@ -746,9 +744,7 @@ public partial interface IIotHubResourceOperations /// 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. 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. + /// body to update the IoT hub. /// /// /// The name of the resource group that contains the IoT hub. diff --git a/sdk/iothub/Microsoft.Azure.Management.IotHub/src/Generated/IotHubClient.cs b/sdk/iothub/Microsoft.Azure.Management.IotHub/src/Generated/IotHubClient.cs index 1852c0261936..9962d0f66953 100644 --- a/sdk/iothub/Microsoft.Azure.Management.IotHub/src/Generated/IotHubClient.cs +++ b/sdk/iothub/Microsoft.Azure.Management.IotHub/src/Generated/IotHubClient.cs @@ -358,7 +358,7 @@ private void Initialize() PrivateLinkResources = new PrivateLinkResourcesOperations(this); PrivateEndpointConnections = new PrivateEndpointConnectionsOperations(this); BaseUri = new System.Uri("https://management.azure.com"); - ApiVersion = "2021-07-01"; + ApiVersion = "2021-07-01-preview"; AcceptLanguage = "en-US"; LongRunningOperationRetryTimeout = 30; GenerateClientRequestId = true; diff --git a/sdk/iothub/Microsoft.Azure.Management.IotHub/src/Generated/IotHubResourceOperations.cs b/sdk/iothub/Microsoft.Azure.Management.IotHub/src/Generated/IotHubResourceOperations.cs index 2924eafd4574..f8d10f641d53 100644 --- a/sdk/iothub/Microsoft.Azure.Management.IotHub/src/Generated/IotHubResourceOperations.cs +++ b/sdk/iothub/Microsoft.Azure.Management.IotHub/src/Generated/IotHubResourceOperations.cs @@ -251,9 +251,7 @@ internal IotHubResourceOperations(IotHubClient client) /// 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. 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. + /// hub. /// /// /// The name of the resource group that contains the IoT hub. @@ -4171,9 +4169,7 @@ internal IotHubResourceOperations(IotHubClient client) /// 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. 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. + /// hub. /// /// /// The name of the resource group that contains the IoT hub. diff --git a/sdk/iothub/Microsoft.Azure.Management.IotHub/src/Generated/IotHubResourceOperationsExtensions.cs b/sdk/iothub/Microsoft.Azure.Management.IotHub/src/Generated/IotHubResourceOperationsExtensions.cs index ae2585f9e3c9..7d2c199d003c 100644 --- a/sdk/iothub/Microsoft.Azure.Management.IotHub/src/Generated/IotHubResourceOperationsExtensions.cs +++ b/sdk/iothub/Microsoft.Azure.Management.IotHub/src/Generated/IotHubResourceOperationsExtensions.cs @@ -76,9 +76,7 @@ public static IotHubDescription Get(this IIotHubResourceOperations operations, s /// 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. 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. + /// hub. /// /// /// The operations group for this extension method. @@ -108,9 +106,7 @@ public static IotHubDescription Get(this IIotHubResourceOperations operations, s /// 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. 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. + /// hub. /// /// /// The operations group for this extension method. @@ -1213,9 +1209,7 @@ public static JobResponse ImportDevices(this IIotHubResourceOperations operation /// 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. 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. + /// hub. /// /// /// The operations group for this extension method. @@ -1245,9 +1239,7 @@ public static JobResponse ImportDevices(this IIotHubResourceOperations operation /// 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. 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. + /// hub. /// /// /// The operations group for this extension method. diff --git a/sdk/iothub/Microsoft.Azure.Management.IotHub/src/Generated/Models/ArmIdentity.cs b/sdk/iothub/Microsoft.Azure.Management.IotHub/src/Generated/Models/ArmIdentity.cs index 4c259b0dc14b..0e71c436931b 100644 --- a/sdk/iothub/Microsoft.Azure.Management.IotHub/src/Generated/Models/ArmIdentity.cs +++ b/sdk/iothub/Microsoft.Azure.Management.IotHub/src/Generated/Models/ArmIdentity.cs @@ -31,7 +31,7 @@ public ArmIdentity() /// Principal Id /// Tenant Id /// The type of identity used for the resource. The - /// type 'SystemAssigned, UserAssigned' includes both an implicitly + /// type 'SystemAssigned,UserAssigned' includes both an implicitly /// created identity and a set of user assigned identities. The type /// 'None' will remove any identities from the service. Possible values /// include: 'SystemAssigned', 'UserAssigned', 'SystemAssigned, @@ -64,7 +64,7 @@ public ArmIdentity() /// /// Gets or sets the type of identity used for the resource. The type - /// 'SystemAssigned, UserAssigned' includes both an implicitly created + /// 'SystemAssigned,UserAssigned' includes both an implicitly created /// identity and a set of user assigned identities. The type 'None' /// will remove any identities from the service. Possible values /// include: 'SystemAssigned', 'UserAssigned', 'SystemAssigned, diff --git a/sdk/iothub/Microsoft.Azure.Management.IotHub/src/Generated/Models/EncryptionPropertiesDescription.cs b/sdk/iothub/Microsoft.Azure.Management.IotHub/src/Generated/Models/EncryptionPropertiesDescription.cs new file mode 100644 index 000000000000..dc69337e73c1 --- /dev/null +++ b/sdk/iothub/Microsoft.Azure.Management.IotHub/src/Generated/Models/EncryptionPropertiesDescription.cs @@ -0,0 +1,64 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.IotHub.Models +{ + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// The encryption properties for the IoT hub. + /// + public partial class EncryptionPropertiesDescription + { + /// + /// Initializes a new instance of the EncryptionPropertiesDescription + /// class. + /// + public EncryptionPropertiesDescription() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the EncryptionPropertiesDescription + /// class. + /// + /// The source of the key. + /// The properties of the KeyVault + /// key. + public EncryptionPropertiesDescription(string keySource = default(string), IList keyVaultProperties = default(IList)) + { + KeySource = keySource; + KeyVaultProperties = keyVaultProperties; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets the source of the key. + /// + [JsonProperty(PropertyName = "keySource")] + public string KeySource { get; set; } + + /// + /// Gets or sets the properties of the KeyVault key. + /// + [JsonProperty(PropertyName = "keyVaultProperties")] + public IList KeyVaultProperties { get; set; } + + } +} diff --git a/sdk/iothub/Microsoft.Azure.Management.IotHub/src/Generated/Models/IotHubProperties.cs b/sdk/iothub/Microsoft.Azure.Management.IotHub/src/Generated/Models/IotHubProperties.cs index 4e1b6b5184e2..189d671cc966 100644 --- a/sdk/iothub/Microsoft.Azure.Management.IotHub/src/Generated/Models/IotHubProperties.cs +++ b/sdk/iothub/Microsoft.Azure.Management.IotHub/src/Generated/Models/IotHubProperties.cs @@ -73,12 +73,16 @@ public IotHubProperties() /// If True, file upload /// notifications are enabled. /// IoT hub comments. + /// The device streams properties of + /// iothub. /// The capabilities and features enabled for /// the IoT hub. Possible values include: 'None', /// 'DeviceManagement' + /// The encryption properties for the IoT + /// hub. /// Primary and secondary location for iot /// hub - public IotHubProperties(IList authorizationPolicies = default(IList), bool? disableLocalAuth = default(bool?), bool? disableDeviceSAS = default(bool?), bool? disableModuleSAS = default(bool?), bool? restrictOutboundNetworkAccess = default(bool?), IList allowedFqdnList = default(IList), string publicNetworkAccess = default(string), IList ipFilterRules = default(IList), NetworkRuleSetProperties networkRuleSets = default(NetworkRuleSetProperties), string minTlsVersion = default(string), IList privateEndpointConnections = default(IList), string provisioningState = default(string), string state = default(string), string hostName = default(string), IDictionary eventHubEndpoints = default(IDictionary), RoutingProperties routing = default(RoutingProperties), IDictionary storageEndpoints = default(IDictionary), IDictionary messagingEndpoints = default(IDictionary), bool? enableFileUploadNotifications = default(bool?), CloudToDeviceProperties cloudToDevice = default(CloudToDeviceProperties), string comments = default(string), string features = default(string), IList locations = default(IList)) + public IotHubProperties(IList authorizationPolicies = default(IList), bool? disableLocalAuth = default(bool?), bool? disableDeviceSAS = default(bool?), bool? disableModuleSAS = default(bool?), bool? restrictOutboundNetworkAccess = default(bool?), IList allowedFqdnList = default(IList), string publicNetworkAccess = default(string), IList ipFilterRules = default(IList), NetworkRuleSetProperties networkRuleSets = default(NetworkRuleSetProperties), string minTlsVersion = default(string), IList privateEndpointConnections = default(IList), string provisioningState = default(string), string state = default(string), string hostName = default(string), IDictionary eventHubEndpoints = default(IDictionary), RoutingProperties routing = default(RoutingProperties), IDictionary storageEndpoints = default(IDictionary), IDictionary messagingEndpoints = default(IDictionary), bool? enableFileUploadNotifications = default(bool?), CloudToDeviceProperties cloudToDevice = default(CloudToDeviceProperties), string comments = default(string), IotHubPropertiesDeviceStreams deviceStreams = default(IotHubPropertiesDeviceStreams), string features = default(string), EncryptionPropertiesDescription encryption = default(EncryptionPropertiesDescription), IList locations = default(IList)) { AuthorizationPolicies = authorizationPolicies; DisableLocalAuth = disableLocalAuth; @@ -101,7 +105,9 @@ public IotHubProperties() EnableFileUploadNotifications = enableFileUploadNotifications; CloudToDevice = cloudToDevice; Comments = comments; + DeviceStreams = deviceStreams; Features = features; + Encryption = encryption; Locations = locations; CustomInit(); } @@ -254,6 +260,12 @@ public IotHubProperties() [JsonProperty(PropertyName = "comments")] public string Comments { get; set; } + /// + /// Gets or sets the device streams properties of iothub. + /// + [JsonProperty(PropertyName = "deviceStreams")] + public IotHubPropertiesDeviceStreams DeviceStreams { get; set; } + /// /// Gets or sets the capabilities and features enabled for the IoT hub. /// Possible values include: 'None', 'DeviceManagement' @@ -261,6 +273,12 @@ public IotHubProperties() [JsonProperty(PropertyName = "features")] public string Features { get; set; } + /// + /// Gets or sets the encryption properties for the IoT hub. + /// + [JsonProperty(PropertyName = "encryption")] + public EncryptionPropertiesDescription Encryption { get; set; } + /// /// Gets primary and secondary location for iot hub /// diff --git a/sdk/iothub/Microsoft.Azure.Management.IotHub/src/Generated/Models/IotHubPropertiesDeviceStreams.cs b/sdk/iothub/Microsoft.Azure.Management.IotHub/src/Generated/Models/IotHubPropertiesDeviceStreams.cs new file mode 100644 index 000000000000..19f258e077c3 --- /dev/null +++ b/sdk/iothub/Microsoft.Azure.Management.IotHub/src/Generated/Models/IotHubPropertiesDeviceStreams.cs @@ -0,0 +1,56 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.IotHub.Models +{ + using Newtonsoft.Json; + using System.Collections; + using System.Collections.Generic; + using System.Linq; + + /// + /// The device streams properties of iothub. + /// + public partial class IotHubPropertiesDeviceStreams + { + /// + /// Initializes a new instance of the IotHubPropertiesDeviceStreams + /// class. + /// + public IotHubPropertiesDeviceStreams() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the IotHubPropertiesDeviceStreams + /// class. + /// + /// List of Device Streams + /// Endpoints. + public IotHubPropertiesDeviceStreams(IList streamingEndpoints = default(IList)) + { + StreamingEndpoints = streamingEndpoints; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets list of Device Streams Endpoints. + /// + [JsonProperty(PropertyName = "streamingEndpoints")] + public IList StreamingEndpoints { get; set; } + + } +} diff --git a/sdk/iothub/Microsoft.Azure.Management.IotHub/src/Generated/Models/KeyVaultKeyProperties.cs b/sdk/iothub/Microsoft.Azure.Management.IotHub/src/Generated/Models/KeyVaultKeyProperties.cs new file mode 100644 index 000000000000..44321f3c0ff8 --- /dev/null +++ b/sdk/iothub/Microsoft.Azure.Management.IotHub/src/Generated/Models/KeyVaultKeyProperties.cs @@ -0,0 +1,60 @@ +// +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. +// Changes may cause incorrect behavior and will be lost if the code is +// regenerated. +// + +namespace Microsoft.Azure.Management.IotHub.Models +{ + using Newtonsoft.Json; + using System.Linq; + + /// + /// The properties of the KeyVault key. + /// + public partial class KeyVaultKeyProperties + { + /// + /// Initializes a new instance of the KeyVaultKeyProperties class. + /// + public KeyVaultKeyProperties() + { + CustomInit(); + } + + /// + /// Initializes a new instance of the KeyVaultKeyProperties class. + /// + /// The identifier of the key. + /// Managed identity properties of KeyVault + /// Key. + public KeyVaultKeyProperties(string keyIdentifier = default(string), ManagedIdentity identity = default(ManagedIdentity)) + { + KeyIdentifier = keyIdentifier; + Identity = identity; + CustomInit(); + } + + /// + /// An initialization method that performs custom operations like setting defaults + /// + partial void CustomInit(); + + /// + /// Gets or sets the identifier of the key. + /// + [JsonProperty(PropertyName = "keyIdentifier")] + public string KeyIdentifier { get; set; } + + /// + /// Gets or sets managed identity properties of KeyVault Key. + /// + [JsonProperty(PropertyName = "identity")] + public ManagedIdentity Identity { get; set; } + + } +} diff --git a/sdk/iothub/Microsoft.Azure.Management.IotHub/src/Generated/Models/RouteProperties.cs b/sdk/iothub/Microsoft.Azure.Management.IotHub/src/Generated/Models/RouteProperties.cs index f898488b9c19..12e92cc87749 100644 --- a/sdk/iothub/Microsoft.Azure.Management.IotHub/src/Generated/Models/RouteProperties.cs +++ b/sdk/iothub/Microsoft.Azure.Management.IotHub/src/Generated/Models/RouteProperties.cs @@ -40,7 +40,8 @@ public RouteProperties() /// applied to, such as DeviceMessages. Possible values include: /// 'Invalid', 'DeviceMessages', 'TwinChangeEvents', /// 'DeviceLifecycleEvents', 'DeviceJobLifecycleEvents', - /// 'DeviceConnectionStateEvents' + /// 'DigitalTwinChangeEvents', 'DeviceConnectionStateEvents', + /// 'MqttBrokerMessages' /// The list of endpoints to which messages /// that satisfy the condition are routed. Currently only one endpoint /// is allowed. @@ -77,7 +78,8 @@ public RouteProperties() /// Gets or sets the source that the routing rule is to be applied to, /// such as DeviceMessages. Possible values include: 'Invalid', /// 'DeviceMessages', 'TwinChangeEvents', 'DeviceLifecycleEvents', - /// 'DeviceJobLifecycleEvents', 'DeviceConnectionStateEvents' + /// 'DeviceJobLifecycleEvents', 'DigitalTwinChangeEvents', + /// 'DeviceConnectionStateEvents', 'MqttBrokerMessages' /// [JsonProperty(PropertyName = "source")] public string Source { get; set; } diff --git a/sdk/iothub/Microsoft.Azure.Management.IotHub/src/Generated/Models/RoutingSource.cs b/sdk/iothub/Microsoft.Azure.Management.IotHub/src/Generated/Models/RoutingSource.cs index 58161448faef..ba79a876e485 100644 --- a/sdk/iothub/Microsoft.Azure.Management.IotHub/src/Generated/Models/RoutingSource.cs +++ b/sdk/iothub/Microsoft.Azure.Management.IotHub/src/Generated/Models/RoutingSource.cs @@ -21,6 +21,8 @@ public static class RoutingSource public const string TwinChangeEvents = "TwinChangeEvents"; public const string DeviceLifecycleEvents = "DeviceLifecycleEvents"; public const string DeviceJobLifecycleEvents = "DeviceJobLifecycleEvents"; + public const string DigitalTwinChangeEvents = "DigitalTwinChangeEvents"; public const string DeviceConnectionStateEvents = "DeviceConnectionStateEvents"; + public const string MqttBrokerMessages = "MqttBrokerMessages"; } } diff --git a/sdk/iothub/Microsoft.Azure.Management.IotHub/src/Generated/Models/TestAllRoutesInput.cs b/sdk/iothub/Microsoft.Azure.Management.IotHub/src/Generated/Models/TestAllRoutesInput.cs index 979db5f1440b..c8f2765cc922 100644 --- a/sdk/iothub/Microsoft.Azure.Management.IotHub/src/Generated/Models/TestAllRoutesInput.cs +++ b/sdk/iothub/Microsoft.Azure.Management.IotHub/src/Generated/Models/TestAllRoutesInput.cs @@ -32,7 +32,8 @@ public TestAllRoutesInput() /// Routing source. Possible values /// include: 'Invalid', 'DeviceMessages', 'TwinChangeEvents', /// 'DeviceLifecycleEvents', 'DeviceJobLifecycleEvents', - /// 'DeviceConnectionStateEvents' + /// 'DigitalTwinChangeEvents', 'DeviceConnectionStateEvents', + /// 'MqttBrokerMessages' /// Routing message /// Routing Twin Reference public TestAllRoutesInput(string routingSource = default(string), RoutingMessage message = default(RoutingMessage), RoutingTwin twin = default(RoutingTwin)) @@ -51,7 +52,8 @@ public TestAllRoutesInput() /// /// Gets or sets routing source. Possible values include: 'Invalid', /// 'DeviceMessages', 'TwinChangeEvents', 'DeviceLifecycleEvents', - /// 'DeviceJobLifecycleEvents', 'DeviceConnectionStateEvents' + /// 'DeviceJobLifecycleEvents', 'DigitalTwinChangeEvents', + /// 'DeviceConnectionStateEvents', 'MqttBrokerMessages' /// [JsonProperty(PropertyName = "routingSource")] public string RoutingSource { get; set; } diff --git a/sdk/iothub/Microsoft.Azure.Management.IotHub/src/Generated/SdkInfo_iotHubClient.cs b/sdk/iothub/Microsoft.Azure.Management.IotHub/src/Generated/SdkInfo_iotHubClient.cs index f0fc68f8d579..9dce2a6608fc 100644 --- a/sdk/iothub/Microsoft.Azure.Management.IotHub/src/Generated/SdkInfo_iotHubClient.cs +++ b/sdk/iothub/Microsoft.Azure.Management.IotHub/src/Generated/SdkInfo_iotHubClient.cs @@ -19,26 +19,15 @@ public static IEnumerable> ApiInfo_iotHubClient { return new Tuple[] { - new Tuple("Devices", "Certificates", "2021-07-01"), - new Tuple("Devices", "IotHub", "2021-07-01"), - new Tuple("Devices", "IotHubResource", "2021-07-01"), - new Tuple("Devices", "Operations", "2021-07-01"), - new Tuple("Devices", "PrivateEndpointConnections", "2021-07-01"), - new Tuple("Devices", "PrivateLinkResources", "2021-07-01"), - new Tuple("Devices", "ResourceProviderCommon", "2021-07-01"), + new Tuple("Devices", "Certificates", "2021-07-01-preview"), + new Tuple("Devices", "IotHub", "2021-07-01-preview"), + new Tuple("Devices", "IotHubResource", "2021-07-01-preview"), + new Tuple("Devices", "Operations", "2021-07-01-preview"), + new Tuple("Devices", "PrivateEndpointConnections", "2021-07-01-preview"), + new Tuple("Devices", "PrivateLinkResources", "2021-07-01-preview"), + new Tuple("Devices", "ResourceProviderCommon", "2021-07-01-preview"), }.AsEnumerable(); } } - // BEGIN: Code Generation Metadata Section - public static readonly String AutoRestVersion = "v2"; - public static readonly String AutoRestBootStrapperVersion = "autorest@2.0.4413"; - public static readonly String AutoRestCmdExecuted = "cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/master/specification/iothub/resource-manager/readme.md --csharp --version=v2 --reflect-api-versions --csharp-sdks-folder=D:\\iot\\azure-sdk-for-net\\sdk"; - public static readonly String GithubForkName = "Azure"; - public static readonly String GithubBranchName = "master"; - public static readonly String GithubCommidId = "cde7f150e8d3bf3af2418cc347cae0fb2baed6a7"; - public static readonly String CodeGenerationErrors = ""; - public static readonly String GithubRepoName = "azure-rest-api-specs"; - // END: Code Generation Metadata Section } } -