From 307f072fe6242c1a048d1839a3121e90596d0131 Mon Sep 17 00:00:00 2001
From: "openapi-bot[bot]" <37845953+openapi-bot[bot]@users.noreply.github.com>
Date: Thu, 5 Sep 2019 01:34:03 +0000
Subject: [PATCH] [AutoPR Microsoft.Azure.Management.IotHub] [Hub Generated]
Review request for Microsoft.Devices to add version stable/2019-03-22 (#173)
* Generated from cce264ba7c751076c58518d67e19b9e469832c0c (#136)
Update ListLegacyPeerings.json
* Generated from 92006e420d65cb70e4b93bc5850af575da4efb78 (#162)
Mark "provisioningState" as read-only
* [AutoPR Microsoft.Azure.Management.HealthcareApis] Move to stable version (#134)
* Generated from cce264ba7c751076c58518d67e19b9e469832c0c (#136)
Update ListLegacyPeerings.json
* Generated from 98f6703f2854ce61a22c8ba99a243a3ecb85ec8c
Updated the way we retrieve version parameter
* [AutoPR Microsoft.Azure.Management.DataFactory] Chainingtrigger (#163)
* Generated from cce264ba7c751076c58518d67e19b9e469832c0c (#136)
Update ListLegacyPeerings.json
* Generated from 92006e420d65cb70e4b93bc5850af575da4efb78 (#162)
Mark "provisioningState" as read-only
* Generated from 5e1bb35d5c3314d8f4fead76c3d69a2522be026b
Update review comments
* [AutoPR Microsoft.Azure.Management.EventHub] Eventhub: added NetworkRuleSets list API (#155)
* Generated from cce264ba7c751076c58518d67e19b9e469832c0c (#136)
Update ListLegacyPeerings.json
* Generated from 92006e420d65cb70e4b93bc5850af575da4efb78 (#162)
Mark "provisioningState" as read-only
* Generated from 8bc2a7edfeebb1a6bb30abbbb03d08bf1f8a8dbc
update
* [AutoPR Microsoft.Azure.Management.Compute] [Compute] Add missing $expand parameter to AvSet list by subscription API (#165)
* Generated from cce264ba7c751076c58518d67e19b9e469832c0c (#136)
Update ListLegacyPeerings.json
* Generated from 92006e420d65cb70e4b93bc5850af575da4efb78 (#162)
Mark "provisioningState" as read-only
* Generated from ed6acf4e35d75fc3c1c9e617b7131e83b6f59384
Add missing $expand parameter to AvSet list by subscription API
* [AutoPR Microsoft.Azure.Management.CognitiveServices] Fix check domain path (#147)
* Generated from cce264ba7c751076c58518d67e19b9e469832c0c (#136)
Update ListLegacyPeerings.json
* Generated from 111d1bc1666fe89cebb960135cf2f5336bbcb35a
Removed rogue file
* Generated from ba2bfe74bad69d5419a8966d712ebb7fbee44941 (#170)
removed pageable
* [AutoPR Microsoft.Azure.Management.DataFactory] [Data Factory]Add ORC Dataset/Copy Source/Copy Sink (#143)
* Generated from cce264ba7c751076c58518d67e19b9e469832c0c (#136)
Update ListLegacyPeerings.json
* Generated from 864a2b3827b7237d7cb60d77069b693dcbaf7001
[DataFactory]Add support for ORC dataset
* [AutoPR Microsoft.Azure.Management.DataFactory] [Datafactory] Add a new property in Office365 connector (#166)
* Generated from cce264ba7c751076c58518d67e19b9e469832c0c (#136)
Update ListLegacyPeerings.json
* Generated from 92006e420d65cb70e4b93bc5850af575da4efb78 (#162)
Mark "provisioningState" as read-only
* [AutoPR Microsoft.Azure.Management.HealthcareApis] Move to stable version (#134)
* Generated from cce264ba7c751076c58518d67e19b9e469832c0c (#136)
Update ListLegacyPeerings.json
* Generated from 98f6703f2854ce61a22c8ba99a243a3ecb85ec8c
Updated the way we retrieve version parameter
* [AutoPR Microsoft.Azure.Management.DataFactory] Chainingtrigger (#163)
* Generated from cce264ba7c751076c58518d67e19b9e469832c0c (#136)
Update ListLegacyPeerings.json
* Generated from 92006e420d65cb70e4b93bc5850af575da4efb78 (#162)
Mark "provisioningState" as read-only
* Generated from 5e1bb35d5c3314d8f4fead76c3d69a2522be026b
Update review comments
* [AutoPR Microsoft.Azure.Management.EventHub] Eventhub: added NetworkRuleSets list API (#155)
* Generated from cce264ba7c751076c58518d67e19b9e469832c0c (#136)
Update ListLegacyPeerings.json
* Generated from 92006e420d65cb70e4b93bc5850af575da4efb78 (#162)
Mark "provisioningState" as read-only
* Generated from 8bc2a7edfeebb1a6bb30abbbb03d08bf1f8a8dbc
update
* Generated from eb6cdadb1aa229489cd5d7108cf02ba799416f40
Resovle comments
* Generated from f05eef4a3235f304777a2a1489423c6bb11335e9
Update iothub.json
---
.../src/Generated/IIotHubOperations.cs | 28 +++--
.../src/Generated/IotHubClient.cs | 2 +-
.../src/Generated/IotHubOperations.cs | 26 +++--
.../Generated/IotHubOperationsExtensions.cs | 52 +++++----
.../Generated/Models/EnrichmentProperties.cs | 102 ------------------
.../Models/IotHubLocationDescription.cs | 19 ++--
.../src/Generated/Models/IotHubProperties.cs | 11 +-
.../Models/IotHubPropertiesDeviceStreams.cs | 56 ----------
.../src/Generated/Models/RoutingProperties.cs | 24 +----
.../src/Generated/SdkInfo_iotHubClient.cs | 21 +---
10 files changed, 87 insertions(+), 254 deletions(-)
delete mode 100644 sdk/iothub/Microsoft.Azure.Management.IotHub/src/Generated/Models/EnrichmentProperties.cs
delete mode 100644 sdk/iothub/Microsoft.Azure.Management.IotHub/src/Generated/Models/IotHubPropertiesDeviceStreams.cs
diff --git a/sdk/iothub/Microsoft.Azure.Management.IotHub/src/Generated/IIotHubOperations.cs b/sdk/iothub/Microsoft.Azure.Management.IotHub/src/Generated/IIotHubOperations.cs
index 6c2670299f9b..3575635a842b 100644
--- a/sdk/iothub/Microsoft.Azure.Management.IotHub/src/Generated/IIotHubOperations.cs
+++ b/sdk/iothub/Microsoft.Azure.Management.IotHub/src/Generated/IIotHubOperations.cs
@@ -24,19 +24,23 @@ namespace Microsoft.Azure.Management.IotHub
public partial interface IIotHubOperations
{
///
- /// Manual Failover Fail over
+ /// Manually initiate a failover for the IoT Hub to its secondary
+ /// region
///
///
- /// Perform manual fail over of given hub
+ /// Manually initiate a failover for the IoT Hub to its secondary
+ /// region. To learn more, see https://aka.ms/manualfailover
///
///
- /// IotHub to fail over
+ /// Name of the IoT hub to failover
///
///
- /// Region to failover to. Must be a azure DR pair
+ /// Region to failover to. Must be the Azure paired region. Get the
+ /// value from the secondary location in the locations property. To
+ /// learn more, see https://aka.ms/manualfailover/region
///
///
- /// resource group which Iot Hub belongs to
+ /// Resource group in which the IoT hub is in
///
///
/// The headers that will be added to request.
@@ -52,19 +56,23 @@ public partial interface IIotHubOperations
///
Task ManualFailoverWithHttpMessagesAsync(string iotHubName, FailoverInput failoverInput, string resourceGroupName, Dictionary> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
///
- /// Manual Failover Fail over
+ /// Manually initiate a failover for the IoT Hub to its secondary
+ /// region
///
///
- /// Perform manual fail over of given hub
+ /// Manually initiate a failover for the IoT Hub to its secondary
+ /// region. To learn more, see https://aka.ms/manualfailover
///
///
- /// IotHub to fail over
+ /// Name of the IoT hub to failover
///
///
- /// Region to failover to. Must be a azure DR pair
+ /// Region to failover to. Must be the Azure paired region. Get the
+ /// value from the secondary location in the locations property. To
+ /// learn more, see https://aka.ms/manualfailover/region
///
///
- /// resource group which Iot Hub belongs to
+ /// Resource group in which the IoT hub is in
///
///
/// The headers that will be added to request.
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 460dd9fe79be..d333bdf74b4f 100644
--- a/sdk/iothub/Microsoft.Azure.Management.IotHub/src/Generated/IotHubClient.cs
+++ b/sdk/iothub/Microsoft.Azure.Management.IotHub/src/Generated/IotHubClient.cs
@@ -346,7 +346,7 @@ private void Initialize()
Certificates = new CertificatesOperations(this);
IotHub = new IotHubOperations(this);
BaseUri = new System.Uri("https://management.azure.com");
- ApiVersion = "2019-03-22-preview";
+ ApiVersion = "2019-03-22";
AcceptLanguage = "en-US";
LongRunningOperationRetryTimeout = 30;
GenerateClientRequestId = true;
diff --git a/sdk/iothub/Microsoft.Azure.Management.IotHub/src/Generated/IotHubOperations.cs b/sdk/iothub/Microsoft.Azure.Management.IotHub/src/Generated/IotHubOperations.cs
index 7134be018cc5..30286aa52144 100644
--- a/sdk/iothub/Microsoft.Azure.Management.IotHub/src/Generated/IotHubOperations.cs
+++ b/sdk/iothub/Microsoft.Azure.Management.IotHub/src/Generated/IotHubOperations.cs
@@ -51,19 +51,22 @@ internal IotHubOperations(IotHubClient client)
public IotHubClient Client { get; private set; }
///
- /// Manual Failover Fail over
+ /// Manually initiate a failover for the IoT Hub to its secondary region
///
///
- /// Perform manual fail over of given hub
+ /// Manually initiate a failover for the IoT Hub to its secondary region. To
+ /// learn more, see https://aka.ms/manualfailover
///
///
- /// IotHub to fail over
+ /// Name of the IoT hub to failover
///
///
- /// Region to failover to. Must be a azure DR pair
+ /// Region to failover to. Must be the Azure paired region. Get the value from
+ /// the secondary location in the locations property. To learn more, see
+ /// https://aka.ms/manualfailover/region
///
///
- /// resource group which Iot Hub belongs to
+ /// Resource group in which the IoT hub is in
///
///
/// The headers that will be added to request.
@@ -79,19 +82,22 @@ internal IotHubOperations(IotHubClient client)
}
///
- /// Manual Failover Fail over
+ /// Manually initiate a failover for the IoT Hub to its secondary region
///
///
- /// Perform manual fail over of given hub
+ /// Manually initiate a failover for the IoT Hub to its secondary region. To
+ /// learn more, see https://aka.ms/manualfailover
///
///
- /// IotHub to fail over
+ /// Name of the IoT hub to failover
///
///
- /// Region to failover to. Must be a azure DR pair
+ /// Region to failover to. Must be the Azure paired region. Get the value from
+ /// the secondary location in the locations property. To learn more, see
+ /// https://aka.ms/manualfailover/region
///
///
- /// resource group which Iot Hub belongs to
+ /// Resource group in which the IoT hub is in
///
///
/// Headers that will be added to request.
diff --git a/sdk/iothub/Microsoft.Azure.Management.IotHub/src/Generated/IotHubOperationsExtensions.cs b/sdk/iothub/Microsoft.Azure.Management.IotHub/src/Generated/IotHubOperationsExtensions.cs
index 6dbd00354cf6..078a0b5cfcb0 100644
--- a/sdk/iothub/Microsoft.Azure.Management.IotHub/src/Generated/IotHubOperationsExtensions.cs
+++ b/sdk/iothub/Microsoft.Azure.Management.IotHub/src/Generated/IotHubOperationsExtensions.cs
@@ -22,22 +22,25 @@ namespace Microsoft.Azure.Management.IotHub
public static partial class IotHubOperationsExtensions
{
///
- /// Manual Failover Fail over
+ /// Manually initiate a failover for the IoT Hub to its secondary region
///
///
- /// Perform manual fail over of given hub
+ /// Manually initiate a failover for the IoT Hub to its secondary region. To
+ /// learn more, see https://aka.ms/manualfailover
///
///
/// The operations group for this extension method.
///
///
- /// IotHub to fail over
+ /// Name of the IoT hub to failover
///
///
- /// Region to failover to. Must be a azure DR pair
+ /// Region to failover to. Must be the Azure paired region. Get the value from
+ /// the secondary location in the locations property. To learn more, see
+ /// https://aka.ms/manualfailover/region
///
///
- /// resource group which Iot Hub belongs to
+ /// Resource group in which the IoT hub is in
///
public static void ManualFailover(this IIotHubOperations operations, string iotHubName, FailoverInput failoverInput, string resourceGroupName)
{
@@ -45,22 +48,25 @@ public static void ManualFailover(this IIotHubOperations operations, string iotH
}
///
- /// Manual Failover Fail over
+ /// Manually initiate a failover for the IoT Hub to its secondary region
///
///
- /// Perform manual fail over of given hub
+ /// Manually initiate a failover for the IoT Hub to its secondary region. To
+ /// learn more, see https://aka.ms/manualfailover
///
///
/// The operations group for this extension method.
///
///
- /// IotHub to fail over
+ /// Name of the IoT hub to failover
///
///
- /// Region to failover to. Must be a azure DR pair
+ /// Region to failover to. Must be the Azure paired region. Get the value from
+ /// the secondary location in the locations property. To learn more, see
+ /// https://aka.ms/manualfailover/region
///
///
- /// resource group which Iot Hub belongs to
+ /// Resource group in which the IoT hub is in
///
///
/// The cancellation token.
@@ -71,22 +77,25 @@ public static void ManualFailover(this IIotHubOperations operations, string iotH
}
///
- /// Manual Failover Fail over
+ /// Manually initiate a failover for the IoT Hub to its secondary region
///
///
- /// Perform manual fail over of given hub
+ /// Manually initiate a failover for the IoT Hub to its secondary region. To
+ /// learn more, see https://aka.ms/manualfailover
///
///
/// The operations group for this extension method.
///
///
- /// IotHub to fail over
+ /// Name of the IoT hub to failover
///
///
- /// Region to failover to. Must be a azure DR pair
+ /// Region to failover to. Must be the Azure paired region. Get the value from
+ /// the secondary location in the locations property. To learn more, see
+ /// https://aka.ms/manualfailover/region
///
///
- /// resource group which Iot Hub belongs to
+ /// Resource group in which the IoT hub is in
///
public static void BeginManualFailover(this IIotHubOperations operations, string iotHubName, FailoverInput failoverInput, string resourceGroupName)
{
@@ -94,22 +103,25 @@ public static void BeginManualFailover(this IIotHubOperations operations, string
}
///
- /// Manual Failover Fail over
+ /// Manually initiate a failover for the IoT Hub to its secondary region
///
///
- /// Perform manual fail over of given hub
+ /// Manually initiate a failover for the IoT Hub to its secondary region. To
+ /// learn more, see https://aka.ms/manualfailover
///
///
/// The operations group for this extension method.
///
///
- /// IotHub to fail over
+ /// Name of the IoT hub to failover
///
///
- /// Region to failover to. Must be a azure DR pair
+ /// Region to failover to. Must be the Azure paired region. Get the value from
+ /// the secondary location in the locations property. To learn more, see
+ /// https://aka.ms/manualfailover/region
///
///
- /// resource group which Iot Hub belongs to
+ /// Resource group in which the IoT hub is in
///
///
/// The cancellation token.
diff --git a/sdk/iothub/Microsoft.Azure.Management.IotHub/src/Generated/Models/EnrichmentProperties.cs b/sdk/iothub/Microsoft.Azure.Management.IotHub/src/Generated/Models/EnrichmentProperties.cs
deleted file mode 100644
index b277ee3a4127..000000000000
--- a/sdk/iothub/Microsoft.Azure.Management.IotHub/src/Generated/Models/EnrichmentProperties.cs
+++ /dev/null
@@ -1,102 +0,0 @@
-//
-// 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 Microsoft.Rest;
- using Newtonsoft.Json;
- using System.Collections;
- using System.Collections.Generic;
- using System.Linq;
-
- ///
- /// The properties of an enrichment that your IoT hub applies to messages
- /// delivered to endpoints.
- ///
- public partial class EnrichmentProperties
- {
- ///
- /// Initializes a new instance of the EnrichmentProperties class.
- ///
- public EnrichmentProperties()
- {
- CustomInit();
- }
-
- ///
- /// Initializes a new instance of the EnrichmentProperties class.
- ///
- /// The key or name for the enrichment
- /// property.
- /// The value for the enrichment property.
- /// The list of endpoints for which the
- /// enrichment is applied to the message.
- public EnrichmentProperties(string key, string value, IList endpointNames)
- {
- Key = key;
- Value = value;
- EndpointNames = endpointNames;
- CustomInit();
- }
-
- ///
- /// An initialization method that performs custom operations like setting defaults
- ///
- partial void CustomInit();
-
- ///
- /// Gets or sets the key or name for the enrichment property.
- ///
- [JsonProperty(PropertyName = "key")]
- public string Key { get; set; }
-
- ///
- /// Gets or sets the value for the enrichment property.
- ///
- [JsonProperty(PropertyName = "value")]
- public string Value { get; set; }
-
- ///
- /// Gets or sets the list of endpoints for which the enrichment is
- /// applied to the message.
- ///
- [JsonProperty(PropertyName = "endpointNames")]
- public IList EndpointNames { get; set; }
-
- ///
- /// Validate the object.
- ///
- ///
- /// Thrown if validation fails
- ///
- public virtual void Validate()
- {
- if (Key == null)
- {
- throw new ValidationException(ValidationRules.CannotBeNull, "Key");
- }
- if (Value == null)
- {
- throw new ValidationException(ValidationRules.CannotBeNull, "Value");
- }
- if (EndpointNames == null)
- {
- throw new ValidationException(ValidationRules.CannotBeNull, "EndpointNames");
- }
- if (EndpointNames != null)
- {
- if (EndpointNames.Count < 1)
- {
- throw new ValidationException(ValidationRules.MinItems, "EndpointNames", 1);
- }
- }
- }
- }
-}
diff --git a/sdk/iothub/Microsoft.Azure.Management.IotHub/src/Generated/Models/IotHubLocationDescription.cs b/sdk/iothub/Microsoft.Azure.Management.IotHub/src/Generated/Models/IotHubLocationDescription.cs
index 81b9b6254fe0..31cefac3ab94 100644
--- a/sdk/iothub/Microsoft.Azure.Management.IotHub/src/Generated/Models/IotHubLocationDescription.cs
+++ b/sdk/iothub/Microsoft.Azure.Management.IotHub/src/Generated/Models/IotHubLocationDescription.cs
@@ -30,9 +30,13 @@ public IotHubLocationDescription()
///
/// Initializes a new instance of the IotHubLocationDescription class.
///
- /// Azure Geo Regions
- /// Specific Role assigned to this location.
- /// Possible values include: 'primary', 'secondary'
+ /// The name of the Azure region
+ /// The role of the region, can be either primary or
+ /// secondary. The primary region is where the IoT hub is currently
+ /// provisioned. The secondary region is the the Azure disaster
+ /// recovery (DR) paired region and also the region where the IoT hub
+ /// can failover to. Possible values include: 'primary',
+ /// 'secondary'
public IotHubLocationDescription(string location = default(string), string role = default(string))
{
Location = location;
@@ -46,14 +50,17 @@ public IotHubLocationDescription()
partial void CustomInit();
///
- /// Gets or sets azure Geo Regions
+ /// Gets or sets the name of the Azure region
///
[JsonProperty(PropertyName = "location")]
public string Location { get; set; }
///
- /// Gets or sets specific Role assigned to this location. Possible
- /// values include: 'primary', 'secondary'
+ /// Gets or sets the role of the region, can be either primary or
+ /// secondary. The primary region is where the IoT hub is currently
+ /// provisioned. The secondary region is the the Azure disaster
+ /// recovery (DR) paired region and also the region where the IoT hub
+ /// can failover to. Possible values include: 'primary', 'secondary'
///
[JsonProperty(PropertyName = "role")]
public string Role { 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 77b4a13002f3..bc0a2480a45b 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
@@ -53,14 +53,12 @@ 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'
/// Primary and secondary location for iot
/// hub
- public IotHubProperties(IList authorizationPolicies = default(IList), IList ipFilterRules = 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), IList locations = default(IList))
+ public IotHubProperties(IList authorizationPolicies = default(IList), IList ipFilterRules = 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))
{
AuthorizationPolicies = authorizationPolicies;
IpFilterRules = ipFilterRules;
@@ -74,7 +72,6 @@ public IotHubProperties()
EnableFileUploadNotifications = enableFileUploadNotifications;
CloudToDevice = cloudToDevice;
Comments = comments;
- DeviceStreams = deviceStreams;
Features = features;
Locations = locations;
CustomInit();
@@ -166,12 +163,6 @@ 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'
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
deleted file mode 100644
index 19f258e077c3..000000000000
--- a/sdk/iothub/Microsoft.Azure.Management.IotHub/src/Generated/Models/IotHubPropertiesDeviceStreams.cs
+++ /dev/null
@@ -1,56 +0,0 @@
-//
-// 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/RoutingProperties.cs b/sdk/iothub/Microsoft.Azure.Management.IotHub/src/Generated/Models/RoutingProperties.cs
index 43333e1f9020..1c77b24f666e 100644
--- a/sdk/iothub/Microsoft.Azure.Management.IotHub/src/Generated/Models/RoutingProperties.cs
+++ b/sdk/iothub/Microsoft.Azure.Management.IotHub/src/Generated/Models/RoutingProperties.cs
@@ -42,15 +42,11 @@ public RoutingProperties()
/// this property is not set, the messages which do not meet any of the
/// conditions specified in the 'routes' section get routed to the
/// built-in eventhub endpoint.
- /// The list of user-provided enrichments
- /// that the IoT hub applies to messages to be delivered to built-in
- /// and custom endpoints. See: https://aka.ms/iotmsgenrich
- public RoutingProperties(RoutingEndpoints endpoints = default(RoutingEndpoints), IList routes = default(IList), FallbackRouteProperties fallbackRoute = default(FallbackRouteProperties), IList enrichments = default(IList))
+ public RoutingProperties(RoutingEndpoints endpoints = default(RoutingEndpoints), IList routes = default(IList), FallbackRouteProperties fallbackRoute = default(FallbackRouteProperties))
{
Endpoints = endpoints;
Routes = routes;
FallbackRoute = fallbackRoute;
- Enrichments = enrichments;
CustomInit();
}
@@ -84,14 +80,6 @@ public RoutingProperties()
[JsonProperty(PropertyName = "fallbackRoute")]
public FallbackRouteProperties FallbackRoute { get; set; }
- ///
- /// Gets or sets the list of user-provided enrichments that the IoT hub
- /// applies to messages to be delivered to built-in and custom
- /// endpoints. See: https://aka.ms/iotmsgenrich
- ///
- [JsonProperty(PropertyName = "enrichments")]
- public IList Enrichments { get; set; }
-
///
/// Validate the object.
///
@@ -114,16 +102,6 @@ public virtual void Validate()
{
FallbackRoute.Validate();
}
- if (Enrichments != null)
- {
- foreach (var element1 in Enrichments)
- {
- if (element1 != null)
- {
- element1.Validate();
- }
- }
- }
}
}
}
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 8c714a355a2f..ed595d80c15d 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,24 +19,13 @@ public static IEnumerable> ApiInfo_iotHubClient
{
return new Tuple[]
{
- new Tuple("Devices", "Certificates", "2019-03-22-preview"),
- new Tuple("Devices", "IotHub", "2019-03-22-preview"),
- new Tuple("Devices", "IotHubResource", "2019-03-22-preview"),
- new Tuple("Devices", "Operations", "2019-03-22-preview"),
- new Tuple("Devices", "ResourceProviderCommon", "2019-03-22-preview"),
+ new Tuple("Devices", "Certificates", "2019-03-22"),
+ new Tuple("Devices", "IotHub", "2019-03-22"),
+ new Tuple("Devices", "IotHubResource", "2019-03-22"),
+ new Tuple("Devices", "Operations", "2019-03-22"),
+ new Tuple("Devices", "ResourceProviderCommon", "2019-03-22"),
}.AsEnumerable();
}
}
- // BEGIN: Code Generation Metadata Section
- public static readonly String AutoRestVersion = "latest";
- public static readonly String AutoRestBootStrapperVersion = "autorest@2.0.4283";
- 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=latest --reflect-api-versions --csharp-sdks-folder=D:\\azure-sdk-for-net\\sdk";
- public static readonly String GithubForkName = "Azure";
- public static readonly String GithubBranchName = "master";
- public static readonly String GithubCommidId = "2a65faa9ddbf9970708ba507eeb8071a2d310b57";
- public static readonly String CodeGenerationErrors = "";
- public static readonly String GithubRepoName = "azure-rest-api-specs";
- // END: Code Generation Metadata Section
}
}
-