| | 1 | | // <auto-generated> |
| | 2 | | // Copyright (c) Microsoft Corporation. All rights reserved. |
| | 3 | | // Licensed under the MIT License. See License.txt in the project root for |
| | 4 | | // license information. |
| | 5 | | // |
| | 6 | | // Code generated by Microsoft (R) AutoRest Code Generator. |
| | 7 | | // Changes may cause incorrect behavior and will be lost if the code is |
| | 8 | | // regenerated. |
| | 9 | | // </auto-generated> |
| | 10 | |
|
| | 11 | | namespace Microsoft.Azure.HDInsight.Job.Models |
| | 12 | | { |
| | 13 | | using Newtonsoft.Json; |
| | 14 | | using System.Collections; |
| | 15 | | using System.Collections.Generic; |
| | 16 | | using System.Linq; |
| | 17 | |
|
| | 18 | | public partial class SparkSessionJobRequest |
| | 19 | | { |
| | 20 | | /// <summary> |
| | 21 | | /// Initializes a new instance of the SparkSessionJobRequest class. |
| | 22 | | /// </summary> |
| 8 | 23 | | public SparkSessionJobRequest() |
| | 24 | | { |
| | 25 | | CustomInit(); |
| 8 | 26 | | } |
| | 27 | |
|
| | 28 | | /// <summary> |
| | 29 | | /// Initializes a new instance of the SparkSessionJobRequest class. |
| | 30 | | /// </summary> |
| | 31 | | /// <param name="kind">Possible values include: 'spark', 'pyspark', |
| | 32 | | /// 'sparkr', 'sql'</param> |
| 0 | 33 | | public SparkSessionJobRequest(string kind = default(string), string proxyUser = default(string), IList<string> j |
| | 34 | | { |
| 0 | 35 | | Kind = kind; |
| 0 | 36 | | ProxyUser = proxyUser; |
| 0 | 37 | | Jars = jars; |
| 0 | 38 | | PythonFiles = pythonFiles; |
| 0 | 39 | | Files = files; |
| 0 | 40 | | DriverMemory = driverMemory; |
| 0 | 41 | | DriverCores = driverCores; |
| 0 | 42 | | ExecutorMemory = executorMemory; |
| 0 | 43 | | ExecutorCores = executorCores; |
| 0 | 44 | | ExecutorCount = executorCount; |
| 0 | 45 | | Archives = archives; |
| 0 | 46 | | Queue = queue; |
| 0 | 47 | | Name = name; |
| 0 | 48 | | Configuration = configuration; |
| 0 | 49 | | HeartbeatTimeoutInSecond = heartbeatTimeoutInSecond; |
| | 50 | | CustomInit(); |
| 0 | 51 | | } |
| | 52 | |
|
| | 53 | | /// <summary> |
| | 54 | | /// An initialization method that performs custom operations like setting defaults |
| | 55 | | /// </summary> |
| | 56 | | partial void CustomInit(); |
| | 57 | |
|
| | 58 | | /// <summary> |
| | 59 | | /// Gets or sets possible values include: 'spark', 'pyspark', 'sparkr', |
| | 60 | | /// 'sql' |
| | 61 | | /// </summary> |
| | 62 | | [JsonProperty(PropertyName = "kind")] |
| 16 | 63 | | public string Kind { get; set; } |
| | 64 | |
|
| | 65 | | /// <summary> |
| | 66 | | /// </summary> |
| | 67 | | [JsonProperty(PropertyName = "proxyUser")] |
| 0 | 68 | | public string ProxyUser { get; set; } |
| | 69 | |
|
| | 70 | | /// <summary> |
| | 71 | | /// </summary> |
| | 72 | | [JsonProperty(PropertyName = "jars")] |
| 0 | 73 | | public IList<string> Jars { get; set; } |
| | 74 | |
|
| | 75 | | /// <summary> |
| | 76 | | /// </summary> |
| | 77 | | [JsonProperty(PropertyName = "pyFiles")] |
| 0 | 78 | | public IList<string> PythonFiles { get; set; } |
| | 79 | |
|
| | 80 | | /// <summary> |
| | 81 | | /// </summary> |
| | 82 | | [JsonProperty(PropertyName = "files")] |
| 0 | 83 | | public IList<string> Files { get; set; } |
| | 84 | |
|
| | 85 | | /// <summary> |
| | 86 | | /// </summary> |
| | 87 | | [JsonProperty(PropertyName = "driverMemory")] |
| 0 | 88 | | public string DriverMemory { get; set; } |
| | 89 | |
|
| | 90 | | /// <summary> |
| | 91 | | /// </summary> |
| | 92 | | [JsonProperty(PropertyName = "driverCores")] |
| 0 | 93 | | public int? DriverCores { get; set; } |
| | 94 | |
|
| | 95 | | /// <summary> |
| | 96 | | /// </summary> |
| | 97 | | [JsonProperty(PropertyName = "executorMemory")] |
| 0 | 98 | | public string ExecutorMemory { get; set; } |
| | 99 | |
|
| | 100 | | /// <summary> |
| | 101 | | /// </summary> |
| | 102 | | [JsonProperty(PropertyName = "executorCores")] |
| 0 | 103 | | public int? ExecutorCores { get; set; } |
| | 104 | |
|
| | 105 | | /// <summary> |
| | 106 | | /// </summary> |
| | 107 | | [JsonProperty(PropertyName = "numExecutors")] |
| 0 | 108 | | public int? ExecutorCount { get; set; } |
| | 109 | |
|
| | 110 | | /// <summary> |
| | 111 | | /// </summary> |
| | 112 | | [JsonProperty(PropertyName = "archives")] |
| 0 | 113 | | public IList<string> Archives { get; set; } |
| | 114 | |
|
| | 115 | | /// <summary> |
| | 116 | | /// </summary> |
| | 117 | | [JsonProperty(PropertyName = "queue")] |
| 0 | 118 | | public string Queue { get; set; } |
| | 119 | |
|
| | 120 | | /// <summary> |
| | 121 | | /// </summary> |
| | 122 | | [JsonProperty(PropertyName = "name")] |
| 0 | 123 | | public string Name { get; set; } |
| | 124 | |
|
| | 125 | | /// <summary> |
| | 126 | | /// </summary> |
| | 127 | | [JsonProperty(PropertyName = "conf")] |
| 0 | 128 | | public IDictionary<string, string> Configuration { get; set; } |
| | 129 | |
|
| | 130 | | /// <summary> |
| | 131 | | /// </summary> |
| | 132 | | [JsonProperty(PropertyName = "heartbeatTimeoutInSecond")] |
| 0 | 133 | | public int? HeartbeatTimeoutInSecond { get; set; } |
| | 134 | |
|
| | 135 | | } |
| | 136 | | } |