forked from Azure/azure-sdk-for-net
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Generated from 45a2f105c1e8620382617970cfc255beddb954b7 (#239)
fix sample
- Loading branch information
1 parent
cc0c167
commit 798574a
Showing
8 changed files
with
419 additions
and
92 deletions.
There are no files selected for viewing
210 changes: 130 additions & 80 deletions
210
...ry/Microsoft.Azure.Management.DataFactory/src/Generated/DataFlowDebugSessionOperations.cs
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
23 changes: 23 additions & 0 deletions
23
...actory/Microsoft.Azure.Management.DataFactory/src/Generated/Models/DataFlowComputeType.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
// <auto-generated> | ||
// 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. | ||
// </auto-generated> | ||
|
||
namespace Microsoft.Azure.Management.DataFactory.Models | ||
{ | ||
|
||
/// <summary> | ||
/// Defines values for DataFlowComputeType. | ||
/// </summary> | ||
public static class DataFlowComputeType | ||
{ | ||
public const string General = "General"; | ||
public const string MemoryOptimized = "MemoryOptimized"; | ||
public const string ComputeOptimized = "ComputeOptimized"; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
104 changes: 104 additions & 0 deletions
104
...Azure.Management.DataFactory/src/Generated/Models/IntegrationRuntimeDataFlowProperties.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,104 @@ | ||
// <auto-generated> | ||
// 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. | ||
// </auto-generated> | ||
|
||
namespace Microsoft.Azure.Management.DataFactory.Models | ||
{ | ||
using Microsoft.Rest; | ||
using Newtonsoft.Json; | ||
using System.Collections; | ||
using System.Collections.Generic; | ||
using System.Linq; | ||
|
||
/// <summary> | ||
/// Data flow properties for managed integration runtime. | ||
/// </summary> | ||
public partial class IntegrationRuntimeDataFlowProperties | ||
{ | ||
/// <summary> | ||
/// Initializes a new instance of the | ||
/// IntegrationRuntimeDataFlowProperties class. | ||
/// </summary> | ||
public IntegrationRuntimeDataFlowProperties() | ||
{ | ||
CustomInit(); | ||
} | ||
|
||
/// <summary> | ||
/// Initializes a new instance of the | ||
/// IntegrationRuntimeDataFlowProperties class. | ||
/// </summary> | ||
/// <param name="additionalProperties">Unmatched properties from the | ||
/// message are deserialized this collection</param> | ||
/// <param name="computeType">Compute type of the cluster which will | ||
/// execute data flow job. Possible values include: 'General', | ||
/// 'MemoryOptimized', 'ComputeOptimized'</param> | ||
/// <param name="coreCount">Core count of the cluster which will | ||
/// execute data flow job. Supported values are: 8, 16, 32, 48, 80, 144 | ||
/// and 272.</param> | ||
/// <param name="timeToLive">Time to live (in minutes) setting of the | ||
/// cluster which will execute data flow job.</param> | ||
public IntegrationRuntimeDataFlowProperties(IDictionary<string, object> additionalProperties = default(IDictionary<string, object>), string computeType = default(string), int? coreCount = default(int?), int? timeToLive = default(int?)) | ||
{ | ||
AdditionalProperties = additionalProperties; | ||
ComputeType = computeType; | ||
CoreCount = coreCount; | ||
TimeToLive = timeToLive; | ||
CustomInit(); | ||
} | ||
|
||
/// <summary> | ||
/// An initialization method that performs custom operations like setting defaults | ||
/// </summary> | ||
partial void CustomInit(); | ||
|
||
/// <summary> | ||
/// Gets or sets unmatched properties from the message are deserialized | ||
/// this collection | ||
/// </summary> | ||
[JsonExtensionData] | ||
public IDictionary<string, object> AdditionalProperties { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets compute type of the cluster which will execute data | ||
/// flow job. Possible values include: 'General', 'MemoryOptimized', | ||
/// 'ComputeOptimized' | ||
/// </summary> | ||
[JsonProperty(PropertyName = "computeType")] | ||
public string ComputeType { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets core count of the cluster which will execute data flow | ||
/// job. Supported values are: 8, 16, 32, 48, 80, 144 and 272. | ||
/// </summary> | ||
[JsonProperty(PropertyName = "coreCount")] | ||
public int? CoreCount { get; set; } | ||
|
||
/// <summary> | ||
/// Gets or sets time to live (in minutes) setting of the cluster which | ||
/// will execute data flow job. | ||
/// </summary> | ||
[JsonProperty(PropertyName = "timeToLive")] | ||
public int? TimeToLive { get; set; } | ||
|
||
/// <summary> | ||
/// Validate the object. | ||
/// </summary> | ||
/// <exception cref="ValidationException"> | ||
/// Thrown if validation fails | ||
/// </exception> | ||
public virtual void Validate() | ||
{ | ||
if (TimeToLive < 0) | ||
{ | ||
throw new ValidationException(ValidationRules.InclusiveMinimum, "TimeToLive", 0); | ||
} | ||
} | ||
} | ||
} |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -38,16 +38,5 @@ public static IEnumerable<Tuple<string, string, string>> ApiInfo_DataFactoryMana | |
}.AsEnumerable(); | ||
} | ||
} | ||
// BEGIN: Code Generation Metadata Section | ||
public static readonly String AutoRestVersion = "latest"; | ||
public static readonly String AutoRestBootStrapperVersion = "[email protected]"; | ||
public static readonly String AutoRestCmdExecuted = "cmd.exe /c autorest.cmd https://github.com/Azure/azure-rest-api-specs/blob/master/specification/datafactory/resource-manager/readme.md --csharp --version=latest --reflect-api-versions --tag=package-2018-06 --csharp-sdks-folder=D:\\GitHub\\azure-sdk-for-net\\sdk"; | ||
public static readonly String GithubForkName = "Azure"; | ||
public static readonly String GithubBranchName = "master"; | ||
public static readonly String GithubCommidId = "6d4e0d294d568a37b1f3421b789290934517d115"; | ||
public static readonly String CodeGenerationErrors = ""; | ||
public static readonly String GithubRepoName = "azure-rest-api-specs"; | ||
// END: Code Generation Metadata Section | ||
} | ||
} | ||
|