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 460dd9fe79be0..a24aed577c984 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-07-01-preview";
AcceptLanguage = "en-US";
LongRunningOperationRetryTimeout = 30;
GenerateClientRequestId = true;
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 0bca2ab9baf46..5744aeca3274e 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
@@ -39,7 +39,8 @@ public RouteProperties()
/// The source that the routing rule is to be
/// applied to, such as DeviceMessages. Possible values include:
/// 'Invalid', 'DeviceMessages', 'TwinChangeEvents',
- /// 'DeviceLifecycleEvents', 'DeviceJobLifecycleEvents'
+ /// 'DeviceLifecycleEvents', 'DeviceJobLifecycleEvents',
+ /// 'DigitalTwinChangeEvents'
/// The list of endpoints to which messages
/// that satisfy the condition are routed. Currently only one endpoint
/// is allowed.
@@ -76,7 +77,7 @@ 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'
+ /// 'DeviceJobLifecycleEvents', 'DigitalTwinChangeEvents'
///
[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 e1caf2ad9a7f4..dd90eed51d44d 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,5 +21,6 @@ public static class RoutingSource
public const string TwinChangeEvents = "TwinChangeEvents";
public const string DeviceLifecycleEvents = "DeviceLifecycleEvents";
public const string DeviceJobLifecycleEvents = "DeviceJobLifecycleEvents";
+ public const string DigitalTwinChangeEvents = "DigitalTwinChangeEvents";
}
}
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 84ad4754dafa0..67b3d0c42d074 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
@@ -31,7 +31,8 @@ public TestAllRoutesInput()
///
/// Routing source. Possible values
/// include: 'Invalid', 'DeviceMessages', 'TwinChangeEvents',
- /// 'DeviceLifecycleEvents', 'DeviceJobLifecycleEvents'
+ /// 'DeviceLifecycleEvents', 'DeviceJobLifecycleEvents',
+ /// 'DigitalTwinChangeEvents'
/// Routing message
/// Routing Twin Reference
public TestAllRoutesInput(string routingSource = default(string), RoutingMessage message = default(RoutingMessage), RoutingTwin twin = default(RoutingTwin))
@@ -50,7 +51,7 @@ public TestAllRoutesInput()
///
/// Gets or sets routing source. Possible values include: 'Invalid',
/// 'DeviceMessages', 'TwinChangeEvents', 'DeviceLifecycleEvents',
- /// 'DeviceJobLifecycleEvents'
+ /// 'DeviceJobLifecycleEvents', 'DigitalTwinChangeEvents'
///
[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 8c714a355a2f0..c06db3d986a1a 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-07-01-preview"),
+ new Tuple("Devices", "IotHub", "2019-07-01-preview"),
+ new Tuple("Devices", "IotHubResource", "2019-07-01-preview"),
+ new Tuple("Devices", "Operations", "2019-07-01-preview"),
+ new Tuple("Devices", "ResourceProviderCommon", "2019-07-01-preview"),
}.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
}
}
-