Skip to content

Commit

Permalink
[AutoPR Microsoft.Azure.Management.IotHub] [Hub Generated] Review req…
Browse files Browse the repository at this point in the history
…uest 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
  • Loading branch information
openapi-sdkautomation[bot] authored and azuresdkci committed Sep 6, 2019
1 parent 92b8ed1 commit 9115d34
Show file tree
Hide file tree
Showing 10 changed files with 87 additions and 254 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,19 +24,23 @@ namespace Microsoft.Azure.Management.IotHub
public partial interface IIotHubOperations
{
/// <summary>
/// Manual Failover Fail over
/// Manually initiate a failover for the IoT Hub to its secondary
/// region
/// </summary>
/// <remarks>
/// 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
/// </remarks>
/// <param name='iotHubName'>
/// IotHub to fail over
/// Name of the IoT hub to failover
/// </param>
/// <param name='failoverInput'>
/// 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
/// </param>
/// <param name='resourceGroupName'>
/// resource group which Iot Hub belongs to
/// Resource group in which the IoT hub is in
/// </param>
/// <param name='customHeaders'>
/// The headers that will be added to request.
Expand All @@ -52,19 +56,23 @@ public partial interface IIotHubOperations
/// </exception>
Task<AzureOperationResponse> ManualFailoverWithHttpMessagesAsync(string iotHubName, FailoverInput failoverInput, string resourceGroupName, Dictionary<string, List<string>> customHeaders = null, CancellationToken cancellationToken = default(CancellationToken));
/// <summary>
/// Manual Failover Fail over
/// Manually initiate a failover for the IoT Hub to its secondary
/// region
/// </summary>
/// <remarks>
/// 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
/// </remarks>
/// <param name='iotHubName'>
/// IotHub to fail over
/// Name of the IoT hub to failover
/// </param>
/// <param name='failoverInput'>
/// 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
/// </param>
/// <param name='resourceGroupName'>
/// resource group which Iot Hub belongs to
/// Resource group in which the IoT hub is in
/// </param>
/// <param name='customHeaders'>
/// The headers that will be added to request.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,19 +51,22 @@ internal IotHubOperations(IotHubClient client)
public IotHubClient Client { get; private set; }

/// <summary>
/// Manual Failover Fail over
/// Manually initiate a failover for the IoT Hub to its secondary region
/// </summary>
/// <remarks>
/// 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
/// </remarks>
/// <param name='iotHubName'>
/// IotHub to fail over
/// Name of the IoT hub to failover
/// </param>
/// <param name='failoverInput'>
/// 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
/// </param>
/// <param name='resourceGroupName'>
/// resource group which Iot Hub belongs to
/// Resource group in which the IoT hub is in
/// </param>
/// <param name='customHeaders'>
/// The headers that will be added to request.
Expand All @@ -79,19 +82,22 @@ internal IotHubOperations(IotHubClient client)
}

/// <summary>
/// Manual Failover Fail over
/// Manually initiate a failover for the IoT Hub to its secondary region
/// </summary>
/// <remarks>
/// 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
/// </remarks>
/// <param name='iotHubName'>
/// IotHub to fail over
/// Name of the IoT hub to failover
/// </param>
/// <param name='failoverInput'>
/// 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
/// </param>
/// <param name='resourceGroupName'>
/// resource group which Iot Hub belongs to
/// Resource group in which the IoT hub is in
/// </param>
/// <param name='customHeaders'>
/// Headers that will be added to request.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,45 +22,51 @@ namespace Microsoft.Azure.Management.IotHub
public static partial class IotHubOperationsExtensions
{
/// <summary>
/// Manual Failover Fail over
/// Manually initiate a failover for the IoT Hub to its secondary region
/// </summary>
/// <remarks>
/// 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
/// </remarks>
/// <param name='operations'>
/// The operations group for this extension method.
/// </param>
/// <param name='iotHubName'>
/// IotHub to fail over
/// Name of the IoT hub to failover
/// </param>
/// <param name='failoverInput'>
/// 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
/// </param>
/// <param name='resourceGroupName'>
/// resource group which Iot Hub belongs to
/// Resource group in which the IoT hub is in
/// </param>
public static void ManualFailover(this IIotHubOperations operations, string iotHubName, FailoverInput failoverInput, string resourceGroupName)
{
operations.ManualFailoverAsync(iotHubName, failoverInput, resourceGroupName).GetAwaiter().GetResult();
}

/// <summary>
/// Manual Failover Fail over
/// Manually initiate a failover for the IoT Hub to its secondary region
/// </summary>
/// <remarks>
/// 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
/// </remarks>
/// <param name='operations'>
/// The operations group for this extension method.
/// </param>
/// <param name='iotHubName'>
/// IotHub to fail over
/// Name of the IoT hub to failover
/// </param>
/// <param name='failoverInput'>
/// 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
/// </param>
/// <param name='resourceGroupName'>
/// resource group which Iot Hub belongs to
/// Resource group in which the IoT hub is in
/// </param>
/// <param name='cancellationToken'>
/// The cancellation token.
Expand All @@ -71,45 +77,51 @@ public static void ManualFailover(this IIotHubOperations operations, string iotH
}

/// <summary>
/// Manual Failover Fail over
/// Manually initiate a failover for the IoT Hub to its secondary region
/// </summary>
/// <remarks>
/// 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
/// </remarks>
/// <param name='operations'>
/// The operations group for this extension method.
/// </param>
/// <param name='iotHubName'>
/// IotHub to fail over
/// Name of the IoT hub to failover
/// </param>
/// <param name='failoverInput'>
/// 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
/// </param>
/// <param name='resourceGroupName'>
/// resource group which Iot Hub belongs to
/// Resource group in which the IoT hub is in
/// </param>
public static void BeginManualFailover(this IIotHubOperations operations, string iotHubName, FailoverInput failoverInput, string resourceGroupName)
{
operations.BeginManualFailoverAsync(iotHubName, failoverInput, resourceGroupName).GetAwaiter().GetResult();
}

/// <summary>
/// Manual Failover Fail over
/// Manually initiate a failover for the IoT Hub to its secondary region
/// </summary>
/// <remarks>
/// 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
/// </remarks>
/// <param name='operations'>
/// The operations group for this extension method.
/// </param>
/// <param name='iotHubName'>
/// IotHub to fail over
/// Name of the IoT hub to failover
/// </param>
/// <param name='failoverInput'>
/// 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
/// </param>
/// <param name='resourceGroupName'>
/// resource group which Iot Hub belongs to
/// Resource group in which the IoT hub is in
/// </param>
/// <param name='cancellationToken'>
/// The cancellation token.
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,13 @@ public IotHubLocationDescription()
/// <summary>
/// Initializes a new instance of the IotHubLocationDescription class.
/// </summary>
/// <param name="location">Azure Geo Regions</param>
/// <param name="role">Specific Role assigned to this location.
/// Possible values include: 'primary', 'secondary'</param>
/// <param name="location">The name of the Azure region</param>
/// <param name="role">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'</param>
public IotHubLocationDescription(string location = default(string), string role = default(string))
{
Location = location;
Expand All @@ -46,14 +50,17 @@ public IotHubLocationDescription()
partial void CustomInit();

/// <summary>
/// Gets or sets azure Geo Regions
/// Gets or sets the name of the Azure region
/// </summary>
[JsonProperty(PropertyName = "location")]
public string Location { get; set; }

/// <summary>
/// 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'
/// </summary>
[JsonProperty(PropertyName = "role")]
public string Role { get; set; }
Expand Down
Loading

0 comments on commit 9115d34

Please sign in to comment.