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 08defd8c022b..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-03-31"; + 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 2b73c00c41e4..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 @@ -33,6 +33,18 @@ public IotHubProperties() /// /// The shared access policies you /// can use to secure a connection to the IoT hub. + /// If true, SAS tokens with Iot hub + /// scoped SAS keys cannot be used for authentication. + /// If true, all device(including Edge + /// devices but excluding modules) scoped SAS keys cannot be used for + /// authentication. + /// If true, all module scoped SAS keys + /// cannot be used for authentication. + /// If true, egress from + /// IotHub will be restricted to only the allowed FQDNs that are + /// configured via allowedFqdnList. + /// List of allowed FQDNs(Fully Qualified + /// Domain Name) for egress from Iot Hub. /// Whether requests from Public /// Network are allowed. Possible values include: 'Enabled', /// 'Disabled' @@ -61,14 +73,23 @@ 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), 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; + DisableDeviceSAS = disableDeviceSAS; + DisableModuleSAS = disableModuleSAS; + RestrictOutboundNetworkAccess = restrictOutboundNetworkAccess; + AllowedFqdnList = allowedFqdnList; PublicNetworkAccess = publicNetworkAccess; IpFilterRules = ipFilterRules; NetworkRuleSets = networkRuleSets; @@ -84,7 +105,9 @@ public IotHubProperties() EnableFileUploadNotifications = enableFileUploadNotifications; CloudToDevice = cloudToDevice; Comments = comments; + DeviceStreams = deviceStreams; Features = features; + Encryption = encryption; Locations = locations; CustomInit(); } @@ -101,6 +124,42 @@ public IotHubProperties() [JsonProperty(PropertyName = "authorizationPolicies")] public IList AuthorizationPolicies { get; set; } + /// + /// Gets or sets if true, SAS tokens with Iot hub scoped SAS keys + /// cannot be used for authentication. + /// + [JsonProperty(PropertyName = "disableLocalAuth")] + public bool? DisableLocalAuth { get; set; } + + /// + /// Gets or sets if true, all device(including Edge devices but + /// excluding modules) scoped SAS keys cannot be used for + /// authentication. + /// + [JsonProperty(PropertyName = "disableDeviceSAS")] + public bool? DisableDeviceSAS { get; set; } + + /// + /// Gets or sets if true, all module scoped SAS keys cannot be used for + /// authentication. + /// + [JsonProperty(PropertyName = "disableModuleSAS")] + public bool? DisableModuleSAS { get; set; } + + /// + /// Gets or sets if true, egress from IotHub will be restricted to only + /// the allowed FQDNs that are configured via allowedFqdnList. + /// + [JsonProperty(PropertyName = "restrictOutboundNetworkAccess")] + public bool? RestrictOutboundNetworkAccess { get; set; } + + /// + /// Gets or sets list of allowed FQDNs(Fully Qualified Domain Name) for + /// egress from Iot Hub. + /// + [JsonProperty(PropertyName = "allowedFqdnList")] + public IList AllowedFqdnList { get; set; } + /// /// Gets or sets whether requests from Public Network are allowed. /// Possible values include: 'Enabled', 'Disabled' @@ -201,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' @@ -208,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..15a1101b29d4 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,7 @@ public RouteProperties() /// applied to, such as DeviceMessages. Possible values include: /// 'Invalid', 'DeviceMessages', 'TwinChangeEvents', /// 'DeviceLifecycleEvents', 'DeviceJobLifecycleEvents', - /// 'DeviceConnectionStateEvents' + /// 'DigitalTwinChangeEvents', 'DeviceConnectionStateEvents' /// The list of endpoints to which messages /// that satisfy the condition are routed. Currently only one endpoint /// is allowed. @@ -77,7 +77,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' /// [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..b787e2ea30de 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,7 @@ 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"; } } 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..53c080882e55 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,7 @@ public TestAllRoutesInput() /// Routing source. Possible values /// include: 'Invalid', 'DeviceMessages', 'TwinChangeEvents', /// 'DeviceLifecycleEvents', 'DeviceJobLifecycleEvents', - /// 'DeviceConnectionStateEvents' + /// 'DigitalTwinChangeEvents', 'DeviceConnectionStateEvents' /// Routing message /// Routing Twin Reference public TestAllRoutesInput(string routingSource = default(string), RoutingMessage message = default(RoutingMessage), RoutingTwin twin = default(RoutingTwin)) @@ -51,7 +51,8 @@ public TestAllRoutesInput() /// /// Gets or sets routing source. Possible values include: 'Invalid', /// 'DeviceMessages', 'TwinChangeEvents', 'DeviceLifecycleEvents', - /// 'DeviceJobLifecycleEvents', 'DeviceConnectionStateEvents' + /// 'DeviceJobLifecycleEvents', 'DigitalTwinChangeEvents', + /// 'DeviceConnectionStateEvents' /// [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 61d6fd6d1143..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-03-31"), - new Tuple("Devices", "IotHub", "2021-03-31"), - new Tuple("Devices", "IotHubResource", "2021-03-31"), - new Tuple("Devices", "Operations", "2021-03-31"), - new Tuple("Devices", "PrivateEndpointConnections", "2021-03-31"), - new Tuple("Devices", "PrivateLinkResources", "2021-03-31"), - new Tuple("Devices", "ResourceProviderCommon", "2021-03-31"), + 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=C:\\code\\Azure\\asfn1\\sdk"; - public static readonly String GithubForkName = "Azure"; - public static readonly String GithubBranchName = "master"; - public static readonly String GithubCommidId = "7d4caa5e1c9996a25300b0b23ef426667e4a7bde"; - public static readonly String CodeGenerationErrors = ""; - public static readonly String GithubRepoName = "azure-rest-api-specs"; - // END: Code Generation Metadata Section } } -