Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AutoPR Microsoft.Azure.Management.IotHub] [Hub Generated] Review request for Microsoft.Devices to add version preview/2019-07-01-preview #196

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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-07-01-preview";
AcceptLanguage = "en-US";
LongRunningOperationRetryTimeout = 30;
GenerateClientRequestId = true;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,8 @@ public RouteProperties()
/// <param name="source">The source that the routing rule is to be
/// applied to, such as DeviceMessages. Possible values include:
/// 'Invalid', 'DeviceMessages', 'TwinChangeEvents',
/// 'DeviceLifecycleEvents', 'DeviceJobLifecycleEvents'</param>
/// 'DeviceLifecycleEvents', 'DeviceJobLifecycleEvents',
/// 'DigitalTwinChangeEvents'</param>
/// <param name="endpointNames">The list of endpoints to which messages
/// that satisfy the condition are routed. Currently only one endpoint
/// is allowed.</param>
Expand Down Expand Up @@ -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'
/// </summary>
[JsonProperty(PropertyName = "source")]
public string Source { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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";
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,8 @@ public TestAllRoutesInput()
/// </summary>
/// <param name="routingSource">Routing source. Possible values
/// include: 'Invalid', 'DeviceMessages', 'TwinChangeEvents',
/// 'DeviceLifecycleEvents', 'DeviceJobLifecycleEvents'</param>
/// 'DeviceLifecycleEvents', 'DeviceJobLifecycleEvents',
/// 'DigitalTwinChangeEvents'</param>
/// <param name="message">Routing message</param>
/// <param name="twin">Routing Twin Reference</param>
public TestAllRoutesInput(string routingSource = default(string), RoutingMessage message = default(RoutingMessage), RoutingTwin twin = default(RoutingTwin))
Expand All @@ -50,7 +51,7 @@ public TestAllRoutesInput()
/// <summary>
/// Gets or sets routing source. Possible values include: 'Invalid',
/// 'DeviceMessages', 'TwinChangeEvents', 'DeviceLifecycleEvents',
/// 'DeviceJobLifecycleEvents'
/// 'DeviceJobLifecycleEvents', 'DigitalTwinChangeEvents'
/// </summary>
[JsonProperty(PropertyName = "routingSource")]
public string RoutingSource { get; set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,24 +19,13 @@ public static IEnumerable<Tuple<string, string, string>> ApiInfo_iotHubClient
{
return new Tuple<string, string, string>[]
{
new Tuple<string, string, string>("Devices", "Certificates", "2019-03-22-preview"),
new Tuple<string, string, string>("Devices", "IotHub", "2019-03-22-preview"),
new Tuple<string, string, string>("Devices", "IotHubResource", "2019-03-22-preview"),
new Tuple<string, string, string>("Devices", "Operations", "2019-03-22-preview"),
new Tuple<string, string, string>("Devices", "ResourceProviderCommon", "2019-03-22-preview"),
new Tuple<string, string, string>("Devices", "Certificates", "2019-07-01-preview"),
new Tuple<string, string, string>("Devices", "IotHub", "2019-07-01-preview"),
new Tuple<string, string, string>("Devices", "IotHubResource", "2019-07-01-preview"),
new Tuple<string, string, string>("Devices", "Operations", "2019-07-01-preview"),
new Tuple<string, string, string>("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
}
}