@azure/arm-batch 6.0.0 → 7.0.0-alpha.20211122.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (254) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/{LICENSE.txt → LICENSE} +1 -1
  3. package/README.md +70 -82
  4. package/dist/index.js +6873 -0
  5. package/dist/index.js.map +1 -0
  6. package/dist/index.min.js +1 -0
  7. package/dist/index.min.js.map +1 -0
  8. package/dist-esm/src/batchManagementClient.d.ts +24 -0
  9. package/dist-esm/src/batchManagementClient.d.ts.map +1 -0
  10. package/dist-esm/src/batchManagementClient.js +31 -0
  11. package/dist-esm/src/batchManagementClient.js.map +1 -0
  12. package/dist-esm/src/batchManagementClientContext.d.ts +17 -0
  13. package/dist-esm/src/batchManagementClientContext.d.ts.map +1 -0
  14. package/dist-esm/src/batchManagementClientContext.js +50 -0
  15. package/dist-esm/src/batchManagementClientContext.js.map +1 -0
  16. package/dist-esm/src/index.d.ts +6 -0
  17. package/dist-esm/src/index.d.ts.map +1 -0
  18. package/dist-esm/src/index.js +13 -0
  19. package/dist-esm/src/index.js.map +1 -0
  20. package/dist-esm/src/lroImpl.d.ts +16 -0
  21. package/dist-esm/src/lroImpl.d.ts.map +1 -0
  22. package/dist-esm/src/lroImpl.js +29 -0
  23. package/dist-esm/src/lroImpl.js.map +1 -0
  24. package/dist-esm/src/models/index.d.ts +1780 -0
  25. package/dist-esm/src/models/index.d.ts.map +1 -0
  26. package/{esm → dist-esm/src}/models/index.js +1 -0
  27. package/dist-esm/src/models/index.js.map +1 -0
  28. package/dist-esm/src/models/mappers.d.ts +112 -0
  29. package/dist-esm/src/models/mappers.d.ts.map +1 -0
  30. package/{esm → dist-esm/src}/models/mappers.js +1723 -1885
  31. package/dist-esm/src/models/mappers.js.map +1 -0
  32. package/dist-esm/src/models/parameters.d.ts +34 -0
  33. package/dist-esm/src/models/parameters.d.ts.map +1 -0
  34. package/dist-esm/src/models/parameters.js +303 -0
  35. package/dist-esm/src/models/parameters.js.map +1 -0
  36. package/dist-esm/src/operations/applicationOperations.d.ts +71 -0
  37. package/dist-esm/src/operations/applicationOperations.d.ts.map +1 -0
  38. package/dist-esm/src/operations/applicationOperations.js +269 -0
  39. package/dist-esm/src/operations/applicationOperations.js.map +1 -0
  40. package/dist-esm/src/operations/applicationPackageOperations.d.ts +83 -0
  41. package/dist-esm/src/operations/applicationPackageOperations.d.ts.map +1 -0
  42. package/dist-esm/src/operations/applicationPackageOperations.js +294 -0
  43. package/dist-esm/src/operations/applicationPackageOperations.js.map +1 -0
  44. package/dist-esm/src/operations/batchAccountOperations.d.ts +171 -0
  45. package/dist-esm/src/operations/batchAccountOperations.d.ts.map +1 -0
  46. package/dist-esm/src/operations/batchAccountOperations.js +681 -0
  47. package/dist-esm/src/operations/batchAccountOperations.js.map +1 -0
  48. package/dist-esm/src/operations/certificateOperations.d.ts +106 -0
  49. package/dist-esm/src/operations/certificateOperations.d.ts.map +1 -0
  50. package/dist-esm/src/operations/certificateOperations.js +388 -0
  51. package/dist-esm/src/operations/certificateOperations.js.map +1 -0
  52. package/{esm → dist-esm/src}/operations/index.d.ts +0 -0
  53. package/dist-esm/src/operations/index.d.ts.map +1 -0
  54. package/{esm → dist-esm/src}/operations/index.js +1 -2
  55. package/dist-esm/src/operations/index.js.map +1 -0
  56. package/dist-esm/src/operations/location.d.ts +71 -0
  57. package/dist-esm/src/operations/location.d.ts.map +1 -0
  58. package/dist-esm/src/operations/location.js +316 -0
  59. package/dist-esm/src/operations/location.js.map +1 -0
  60. package/dist-esm/src/operations/operations.d.ts +32 -0
  61. package/dist-esm/src/operations/operations.d.ts.map +1 -0
  62. package/dist-esm/src/operations/operations.js +120 -0
  63. package/dist-esm/src/operations/operations.js.map +1 -0
  64. package/dist-esm/src/operations/poolOperations.d.ts +103 -0
  65. package/dist-esm/src/operations/poolOperations.d.ts.map +1 -0
  66. package/dist-esm/src/operations/poolOperations.js +410 -0
  67. package/dist-esm/src/operations/poolOperations.js.map +1 -0
  68. package/dist-esm/src/operations/privateEndpointConnectionOperations.d.ts +70 -0
  69. package/dist-esm/src/operations/privateEndpointConnectionOperations.d.ts.map +1 -0
  70. package/dist-esm/src/operations/privateEndpointConnectionOperations.js +278 -0
  71. package/dist-esm/src/operations/privateEndpointConnectionOperations.js.map +1 -0
  72. package/dist-esm/src/operations/privateLinkResourceOperations.d.ts +47 -0
  73. package/dist-esm/src/operations/privateLinkResourceOperations.d.ts.map +1 -0
  74. package/dist-esm/src/operations/privateLinkResourceOperations.js +170 -0
  75. package/dist-esm/src/operations/privateLinkResourceOperations.js.map +1 -0
  76. package/dist-esm/src/operationsInterfaces/applicationOperations.d.ts +46 -0
  77. package/dist-esm/src/operationsInterfaces/applicationOperations.d.ts.map +1 -0
  78. package/{src/models/operationsMappers.ts → dist-esm/src/operationsInterfaces/applicationOperations.js} +2 -7
  79. package/dist-esm/src/operationsInterfaces/applicationOperations.js.map +1 -0
  80. package/dist-esm/src/operationsInterfaces/applicationPackageOperations.d.ts +56 -0
  81. package/dist-esm/src/operationsInterfaces/applicationPackageOperations.d.ts.map +1 -0
  82. package/{esm/models/operationsMappers.js → dist-esm/src/operationsInterfaces/applicationPackageOperations.js} +2 -2
  83. package/dist-esm/src/operationsInterfaces/applicationPackageOperations.js.map +1 -0
  84. package/dist-esm/src/operationsInterfaces/batchAccountOperations.d.ts +112 -0
  85. package/dist-esm/src/operationsInterfaces/batchAccountOperations.d.ts.map +1 -0
  86. package/{src/models/locationMappers.ts → dist-esm/src/operationsInterfaces/batchAccountOperations.js} +2 -10
  87. package/dist-esm/src/operationsInterfaces/batchAccountOperations.js.map +1 -0
  88. package/dist-esm/src/operationsInterfaces/certificateOperations.d.ts +81 -0
  89. package/dist-esm/src/operationsInterfaces/certificateOperations.d.ts.map +1 -0
  90. package/dist-esm/src/operationsInterfaces/certificateOperations.js +9 -0
  91. package/dist-esm/src/operationsInterfaces/certificateOperations.js.map +1 -0
  92. package/dist-esm/src/operationsInterfaces/index.d.ts +10 -0
  93. package/dist-esm/src/operationsInterfaces/index.d.ts.map +1 -0
  94. package/dist-esm/src/operationsInterfaces/index.js +17 -0
  95. package/dist-esm/src/operationsInterfaces/index.js.map +1 -0
  96. package/dist-esm/src/operationsInterfaces/location.d.ts +31 -0
  97. package/dist-esm/src/operationsInterfaces/location.d.ts.map +1 -0
  98. package/dist-esm/src/operationsInterfaces/location.js +9 -0
  99. package/dist-esm/src/operationsInterfaces/location.js.map +1 -0
  100. package/dist-esm/src/operationsInterfaces/operations.d.ts +11 -0
  101. package/dist-esm/src/operationsInterfaces/operations.d.ts.map +1 -0
  102. package/dist-esm/src/operationsInterfaces/operations.js +9 -0
  103. package/dist-esm/src/operationsInterfaces/operations.js.map +1 -0
  104. package/dist-esm/src/operationsInterfaces/poolOperations.d.ts +78 -0
  105. package/dist-esm/src/operationsInterfaces/poolOperations.d.ts.map +1 -0
  106. package/dist-esm/src/operationsInterfaces/poolOperations.js +9 -0
  107. package/dist-esm/src/operationsInterfaces/poolOperations.js.map +1 -0
  108. package/dist-esm/src/operationsInterfaces/privateEndpointConnectionOperations.d.ts +45 -0
  109. package/dist-esm/src/operationsInterfaces/privateEndpointConnectionOperations.d.ts.map +1 -0
  110. package/dist-esm/src/operationsInterfaces/privateEndpointConnectionOperations.js +9 -0
  111. package/dist-esm/src/operationsInterfaces/privateEndpointConnectionOperations.js.map +1 -0
  112. package/dist-esm/src/operationsInterfaces/privateLinkResourceOperations.d.ts +22 -0
  113. package/dist-esm/src/operationsInterfaces/privateLinkResourceOperations.d.ts.map +1 -0
  114. package/dist-esm/src/operationsInterfaces/privateLinkResourceOperations.js +9 -0
  115. package/dist-esm/src/operationsInterfaces/privateLinkResourceOperations.js.map +1 -0
  116. package/dist-esm/test/sampleTest.d.ts +4 -0
  117. package/dist-esm/test/sampleTest.d.ts.map +1 -0
  118. package/dist-esm/test/sampleTest.js +479 -0
  119. package/dist-esm/test/sampleTest.js.map +1 -0
  120. package/package.json +66 -22
  121. package/review/arm-batch.api.md +1459 -0
  122. package/rollup.config.js +181 -30
  123. package/src/batchManagementClient.ts +59 -48
  124. package/src/batchManagementClientContext.ts +46 -43
  125. package/src/index.ts +13 -0
  126. package/src/lroImpl.ts +34 -0
  127. package/src/models/index.ts +1460 -3635
  128. package/src/models/mappers.ts +1705 -1851
  129. package/src/models/parameters.ts +216 -117
  130. package/src/operations/applicationOperations.ts +215 -263
  131. package/src/operations/applicationPackageOperations.ts +252 -279
  132. package/src/operations/batchAccountOperations.ts +660 -572
  133. package/src/operations/certificateOperations.ts +360 -359
  134. package/src/operations/index.ts +1 -2
  135. package/src/operations/location.ts +285 -234
  136. package/src/operations/operations.ts +82 -70
  137. package/src/operations/poolOperations.ts +373 -378
  138. package/src/operations/privateEndpointConnectionOperations.ts +269 -169
  139. package/src/operations/privateLinkResourceOperations.ts +156 -126
  140. package/src/operationsInterfaces/applicationOperations.ts +90 -0
  141. package/src/operationsInterfaces/applicationPackageOperations.ts +106 -0
  142. package/src/operationsInterfaces/batchAccountOperations.ts +196 -0
  143. package/src/operationsInterfaces/certificateOperations.ts +139 -0
  144. package/src/operationsInterfaces/index.ts +17 -0
  145. package/src/operationsInterfaces/location.ts +62 -0
  146. package/src/operationsInterfaces/operations.ts +22 -0
  147. package/src/operationsInterfaces/poolOperations.ts +142 -0
  148. package/src/operationsInterfaces/privateEndpointConnectionOperations.ts +87 -0
  149. package/src/operationsInterfaces/privateLinkResourceOperations.ts +45 -0
  150. package/tsconfig.json +3 -3
  151. package/types/arm-batch.d.ts +2528 -0
  152. package/types/tsdoc-metadata.json +11 -0
  153. package/dist/arm-batch.js +0 -6972
  154. package/dist/arm-batch.js.map +0 -1
  155. package/dist/arm-batch.min.js +0 -1
  156. package/dist/arm-batch.min.js.map +0 -1
  157. package/esm/batchManagementClient.d.ts +0 -33
  158. package/esm/batchManagementClient.d.ts.map +0 -1
  159. package/esm/batchManagementClient.js +0 -46
  160. package/esm/batchManagementClient.js.map +0 -1
  161. package/esm/batchManagementClientContext.d.ts +0 -23
  162. package/esm/batchManagementClientContext.d.ts.map +0 -1
  163. package/esm/batchManagementClientContext.js +0 -61
  164. package/esm/batchManagementClientContext.js.map +0 -1
  165. package/esm/models/applicationOperationsMappers.d.ts +0 -2
  166. package/esm/models/applicationOperationsMappers.d.ts.map +0 -1
  167. package/esm/models/applicationOperationsMappers.js +0 -9
  168. package/esm/models/applicationOperationsMappers.js.map +0 -1
  169. package/esm/models/applicationPackageOperationsMappers.d.ts +0 -2
  170. package/esm/models/applicationPackageOperationsMappers.d.ts.map +0 -1
  171. package/esm/models/applicationPackageOperationsMappers.js +0 -9
  172. package/esm/models/applicationPackageOperationsMappers.js.map +0 -1
  173. package/esm/models/batchAccountOperationsMappers.d.ts +0 -2
  174. package/esm/models/batchAccountOperationsMappers.d.ts.map +0 -1
  175. package/esm/models/batchAccountOperationsMappers.js +0 -9
  176. package/esm/models/batchAccountOperationsMappers.js.map +0 -1
  177. package/esm/models/certificateOperationsMappers.d.ts +0 -2
  178. package/esm/models/certificateOperationsMappers.d.ts.map +0 -1
  179. package/esm/models/certificateOperationsMappers.js +0 -9
  180. package/esm/models/certificateOperationsMappers.js.map +0 -1
  181. package/esm/models/index.d.ts +0 -3946
  182. package/esm/models/index.d.ts.map +0 -1
  183. package/esm/models/index.js.map +0 -1
  184. package/esm/models/locationMappers.d.ts +0 -2
  185. package/esm/models/locationMappers.d.ts.map +0 -1
  186. package/esm/models/locationMappers.js +0 -9
  187. package/esm/models/locationMappers.js.map +0 -1
  188. package/esm/models/mappers.d.ts +0 -110
  189. package/esm/models/mappers.d.ts.map +0 -1
  190. package/esm/models/mappers.js.map +0 -1
  191. package/esm/models/operationsMappers.d.ts +0 -2
  192. package/esm/models/operationsMappers.d.ts.map +0 -1
  193. package/esm/models/operationsMappers.js.map +0 -1
  194. package/esm/models/parameters.d.ts +0 -21
  195. package/esm/models/parameters.d.ts.map +0 -1
  196. package/esm/models/parameters.js +0 -250
  197. package/esm/models/parameters.js.map +0 -1
  198. package/esm/models/poolOperationsMappers.d.ts +0 -2
  199. package/esm/models/poolOperationsMappers.d.ts.map +0 -1
  200. package/esm/models/poolOperationsMappers.js +0 -9
  201. package/esm/models/poolOperationsMappers.js.map +0 -1
  202. package/esm/models/privateEndpointConnectionOperationsMappers.d.ts +0 -2
  203. package/esm/models/privateEndpointConnectionOperationsMappers.d.ts.map +0 -1
  204. package/esm/models/privateEndpointConnectionOperationsMappers.js +0 -9
  205. package/esm/models/privateEndpointConnectionOperationsMappers.js.map +0 -1
  206. package/esm/models/privateLinkResourceOperationsMappers.d.ts +0 -2
  207. package/esm/models/privateLinkResourceOperationsMappers.d.ts.map +0 -1
  208. package/esm/models/privateLinkResourceOperationsMappers.js +0 -9
  209. package/esm/models/privateLinkResourceOperationsMappers.js.map +0 -1
  210. package/esm/operations/applicationOperations.d.ts +0 -151
  211. package/esm/operations/applicationOperations.d.ts.map +0 -1
  212. package/esm/operations/applicationOperations.js +0 -232
  213. package/esm/operations/applicationOperations.js.map +0 -1
  214. package/esm/operations/applicationPackageOperations.d.ts +0 -171
  215. package/esm/operations/applicationPackageOperations.d.ts.map +0 -1
  216. package/esm/operations/applicationPackageOperations.js +0 -244
  217. package/esm/operations/applicationPackageOperations.js.map +0 -1
  218. package/esm/operations/batchAccountOperations.d.ts +0 -299
  219. package/esm/operations/batchAccountOperations.d.ts.map +0 -1
  220. package/esm/operations/batchAccountOperations.js +0 -493
  221. package/esm/operations/batchAccountOperations.js.map +0 -1
  222. package/esm/operations/certificateOperations.d.ts +0 -207
  223. package/esm/operations/certificateOperations.d.ts.map +0 -1
  224. package/esm/operations/certificateOperations.js +0 -310
  225. package/esm/operations/certificateOperations.js.map +0 -1
  226. package/esm/operations/index.d.ts.map +0 -1
  227. package/esm/operations/index.js.map +0 -1
  228. package/esm/operations/location.d.ts +0 -124
  229. package/esm/operations/location.d.ts.map +0 -1
  230. package/esm/operations/location.js +0 -216
  231. package/esm/operations/location.js.map +0 -1
  232. package/esm/operations/operations.d.ts +0 -46
  233. package/esm/operations/operations.d.ts.map +0 -1
  234. package/esm/operations/operations.js +0 -79
  235. package/esm/operations/operations.js.map +0 -1
  236. package/esm/operations/poolOperations.d.ts +0 -206
  237. package/esm/operations/poolOperations.d.ts.map +0 -1
  238. package/esm/operations/poolOperations.js +0 -341
  239. package/esm/operations/poolOperations.js.map +0 -1
  240. package/esm/operations/privateEndpointConnectionOperations.d.ts +0 -104
  241. package/esm/operations/privateEndpointConnectionOperations.d.ts.map +0 -1
  242. package/esm/operations/privateEndpointConnectionOperations.js +0 -195
  243. package/esm/operations/privateEndpointConnectionOperations.js.map +0 -1
  244. package/esm/operations/privateLinkResourceOperations.d.ts +0 -79
  245. package/esm/operations/privateLinkResourceOperations.d.ts.map +0 -1
  246. package/esm/operations/privateLinkResourceOperations.js +0 -121
  247. package/esm/operations/privateLinkResourceOperations.js.map +0 -1
  248. package/src/models/applicationOperationsMappers.ts +0 -79
  249. package/src/models/applicationPackageOperationsMappers.ts +0 -80
  250. package/src/models/batchAccountOperationsMappers.ts +0 -89
  251. package/src/models/certificateOperationsMappers.ts +0 -84
  252. package/src/models/poolOperationsMappers.ts +0 -85
  253. package/src/models/privateEndpointConnectionOperationsMappers.ts +0 -80
  254. package/src/models/privateLinkResourceOperationsMappers.ts +0 -79
@@ -5,47 +5,102 @@
5
5
  * Code generated by Microsoft (R) AutoRest Code Generator.
6
6
  * Changes may cause incorrect behavior and will be lost if the code is regenerated.
7
7
  */
8
- import { __assign } from "tslib";
9
- import { CloudErrorMapper, BaseResourceMapper } from "@azure/ms-rest-azure-js";
10
- export var CloudError = CloudErrorMapper;
11
- export var BaseResource = BaseResourceMapper;
12
- export var ComputeNodeIdentityReference = {
13
- serializedName: "ComputeNodeIdentityReference",
8
+ export const BatchAccountCreateParameters = {
14
9
  type: {
15
10
  name: "Composite",
16
- className: "ComputeNodeIdentityReference",
11
+ className: "BatchAccountCreateParameters",
17
12
  modelProperties: {
18
- resourceId: {
19
- serializedName: "resourceId",
13
+ location: {
14
+ serializedName: "location",
15
+ required: true,
20
16
  type: {
21
17
  name: "String"
22
18
  }
19
+ },
20
+ tags: {
21
+ serializedName: "tags",
22
+ type: {
23
+ name: "Dictionary",
24
+ value: { type: { name: "String" } }
25
+ }
26
+ },
27
+ identity: {
28
+ serializedName: "identity",
29
+ type: {
30
+ name: "Composite",
31
+ className: "BatchAccountIdentity"
32
+ }
33
+ },
34
+ autoStorage: {
35
+ serializedName: "properties.autoStorage",
36
+ type: {
37
+ name: "Composite",
38
+ className: "AutoStorageBaseProperties"
39
+ }
40
+ },
41
+ poolAllocationMode: {
42
+ serializedName: "properties.poolAllocationMode",
43
+ type: {
44
+ name: "Enum",
45
+ allowedValues: ["BatchService", "UserSubscription"]
46
+ }
47
+ },
48
+ keyVaultReference: {
49
+ serializedName: "properties.keyVaultReference",
50
+ type: {
51
+ name: "Composite",
52
+ className: "KeyVaultReference"
53
+ }
54
+ },
55
+ publicNetworkAccess: {
56
+ defaultValue: "Enabled",
57
+ serializedName: "properties.publicNetworkAccess",
58
+ type: {
59
+ name: "Enum",
60
+ allowedValues: ["Enabled", "Disabled"]
61
+ }
62
+ },
63
+ encryption: {
64
+ serializedName: "properties.encryption",
65
+ type: {
66
+ name: "Composite",
67
+ className: "EncryptionProperties"
68
+ }
69
+ },
70
+ allowedAuthenticationModes: {
71
+ serializedName: "properties.allowedAuthenticationModes",
72
+ nullable: true,
73
+ type: {
74
+ name: "Sequence",
75
+ element: {
76
+ type: {
77
+ name: "Enum",
78
+ allowedValues: ["SharedKey", "AAD", "TaskAuthenticationToken"]
79
+ }
80
+ }
81
+ }
23
82
  }
24
83
  }
25
84
  }
26
85
  };
27
- export var AutoStorageBaseProperties = {
28
- serializedName: "AutoStorageBaseProperties",
86
+ export const AutoStorageBaseProperties = {
29
87
  type: {
30
88
  name: "Composite",
31
89
  className: "AutoStorageBaseProperties",
32
90
  modelProperties: {
33
91
  storageAccountId: {
34
- required: true,
35
92
  serializedName: "storageAccountId",
93
+ required: true,
36
94
  type: {
37
95
  name: "String"
38
96
  }
39
97
  },
40
98
  authenticationMode: {
99
+ defaultValue: "StorageKeys",
41
100
  serializedName: "authenticationMode",
42
- defaultValue: 'StorageKeys',
43
101
  type: {
44
102
  name: "Enum",
45
- allowedValues: [
46
- "StorageKeys",
47
- "BatchAccountManagedIdentity"
48
- ]
103
+ allowedValues: ["StorageKeys", "BatchAccountManagedIdentity"]
49
104
  }
50
105
  },
51
106
  nodeIdentityReference: {
@@ -58,14 +113,13 @@ export var AutoStorageBaseProperties = {
58
113
  }
59
114
  }
60
115
  };
61
- export var KeyVaultProperties = {
62
- serializedName: "KeyVaultProperties",
116
+ export const ComputeNodeIdentityReference = {
63
117
  type: {
64
118
  name: "Composite",
65
- className: "KeyVaultProperties",
119
+ className: "ComputeNodeIdentityReference",
66
120
  modelProperties: {
67
- keyIdentifier: {
68
- serializedName: "keyIdentifier",
121
+ resourceId: {
122
+ serializedName: "resourceId",
69
123
  type: {
70
124
  name: "String"
71
125
  }
@@ -73,71 +127,57 @@ export var KeyVaultProperties = {
73
127
  }
74
128
  }
75
129
  };
76
- export var EncryptionProperties = {
77
- serializedName: "EncryptionProperties",
130
+ export const KeyVaultReference = {
78
131
  type: {
79
132
  name: "Composite",
80
- className: "EncryptionProperties",
133
+ className: "KeyVaultReference",
81
134
  modelProperties: {
82
- keySource: {
83
- serializedName: "keySource",
135
+ id: {
136
+ serializedName: "id",
137
+ required: true,
84
138
  type: {
85
- name: "Enum",
86
- allowedValues: [
87
- "Microsoft.Batch",
88
- "Microsoft.KeyVault"
89
- ]
139
+ name: "String"
90
140
  }
91
141
  },
92
- keyVaultProperties: {
93
- serializedName: "keyVaultProperties",
142
+ url: {
143
+ serializedName: "url",
144
+ required: true,
94
145
  type: {
95
- name: "Composite",
96
- className: "KeyVaultProperties"
146
+ name: "String"
97
147
  }
98
148
  }
99
149
  }
100
150
  }
101
151
  };
102
- export var KeyVaultReference = {
103
- serializedName: "KeyVaultReference",
152
+ export const EncryptionProperties = {
104
153
  type: {
105
154
  name: "Composite",
106
- className: "KeyVaultReference",
155
+ className: "EncryptionProperties",
107
156
  modelProperties: {
108
- id: {
109
- required: true,
110
- serializedName: "id",
157
+ keySource: {
158
+ serializedName: "keySource",
111
159
  type: {
112
- name: "String"
160
+ name: "Enum",
161
+ allowedValues: ["Microsoft.Batch", "Microsoft.KeyVault"]
113
162
  }
114
163
  },
115
- url: {
116
- required: true,
117
- serializedName: "url",
164
+ keyVaultProperties: {
165
+ serializedName: "keyVaultProperties",
118
166
  type: {
119
- name: "String"
167
+ name: "Composite",
168
+ className: "KeyVaultProperties"
120
169
  }
121
170
  }
122
171
  }
123
172
  }
124
173
  };
125
- export var UserAssignedIdentities = {
126
- serializedName: "UserAssignedIdentities",
174
+ export const KeyVaultProperties = {
127
175
  type: {
128
176
  name: "Composite",
129
- className: "UserAssignedIdentities",
177
+ className: "KeyVaultProperties",
130
178
  modelProperties: {
131
- principalId: {
132
- readOnly: true,
133
- serializedName: "principalId",
134
- type: {
135
- name: "String"
136
- }
137
- },
138
- clientId: {
139
- readOnly: true,
140
- serializedName: "clientId",
179
+ keyIdentifier: {
180
+ serializedName: "keyIdentifier",
141
181
  type: {
142
182
  name: "String"
143
183
  }
@@ -145,36 +185,31 @@ export var UserAssignedIdentities = {
145
185
  }
146
186
  }
147
187
  };
148
- export var BatchAccountIdentity = {
149
- serializedName: "BatchAccountIdentity",
188
+ export const BatchAccountIdentity = {
150
189
  type: {
151
190
  name: "Composite",
152
191
  className: "BatchAccountIdentity",
153
192
  modelProperties: {
154
193
  principalId: {
155
- readOnly: true,
156
194
  serializedName: "principalId",
195
+ readOnly: true,
157
196
  type: {
158
197
  name: "String"
159
198
  }
160
199
  },
161
200
  tenantId: {
162
- readOnly: true,
163
201
  serializedName: "tenantId",
202
+ readOnly: true,
164
203
  type: {
165
204
  name: "String"
166
205
  }
167
206
  },
168
207
  type: {
169
- required: true,
170
208
  serializedName: "type",
209
+ required: true,
171
210
  type: {
172
211
  name: "Enum",
173
- allowedValues: [
174
- "SystemAssigned",
175
- "UserAssigned",
176
- "None"
177
- ]
212
+ allowedValues: ["SystemAssigned", "UserAssigned", "None"]
178
213
  }
179
214
  },
180
215
  userAssignedIdentities: {
@@ -182,157 +217,43 @@ export var BatchAccountIdentity = {
182
217
  type: {
183
218
  name: "Dictionary",
184
219
  value: {
185
- type: {
186
- name: "Composite",
187
- className: "UserAssignedIdentities"
188
- }
189
- }
190
- }
191
- }
192
- }
193
- }
194
- };
195
- export var BatchAccountCreateParameters = {
196
- serializedName: "BatchAccountCreateParameters",
197
- type: {
198
- name: "Composite",
199
- className: "BatchAccountCreateParameters",
200
- modelProperties: {
201
- location: {
202
- required: true,
203
- serializedName: "location",
204
- type: {
205
- name: "String"
206
- }
207
- },
208
- tags: {
209
- serializedName: "tags",
210
- type: {
211
- name: "Dictionary",
212
- value: {
213
- type: {
214
- name: "String"
215
- }
216
- }
217
- }
218
- },
219
- autoStorage: {
220
- serializedName: "properties.autoStorage",
221
- type: {
222
- name: "Composite",
223
- className: "AutoStorageBaseProperties"
224
- }
225
- },
226
- poolAllocationMode: {
227
- serializedName: "properties.poolAllocationMode",
228
- type: {
229
- name: "Enum",
230
- allowedValues: [
231
- "BatchService",
232
- "UserSubscription"
233
- ]
234
- }
235
- },
236
- keyVaultReference: {
237
- serializedName: "properties.keyVaultReference",
238
- type: {
239
- name: "Composite",
240
- className: "KeyVaultReference"
241
- }
242
- },
243
- publicNetworkAccess: {
244
- serializedName: "properties.publicNetworkAccess",
245
- defaultValue: 'Enabled',
246
- type: {
247
- name: "Enum",
248
- allowedValues: [
249
- "Enabled",
250
- "Disabled"
251
- ]
252
- }
253
- },
254
- encryption: {
255
- serializedName: "properties.encryption",
256
- type: {
257
- name: "Composite",
258
- className: "EncryptionProperties"
259
- }
260
- },
261
- allowedAuthenticationModes: {
262
- nullable: true,
263
- serializedName: "properties.allowedAuthenticationModes",
264
- type: {
265
- name: "Sequence",
266
- element: {
267
- type: {
268
- name: "Enum",
269
- allowedValues: [
270
- "SharedKey",
271
- "AAD",
272
- "TaskAuthenticationToken"
273
- ]
274
- }
220
+ type: { name: "Composite", className: "UserAssignedIdentities" }
275
221
  }
276
222
  }
277
- },
278
- identity: {
279
- serializedName: "identity",
280
- type: {
281
- name: "Composite",
282
- className: "BatchAccountIdentity"
283
- }
284
223
  }
285
224
  }
286
225
  }
287
226
  };
288
- export var AutoStorageProperties = {
289
- serializedName: "AutoStorageProperties",
290
- type: {
291
- name: "Composite",
292
- className: "AutoStorageProperties",
293
- modelProperties: __assign(__assign({}, AutoStorageBaseProperties.type.modelProperties), { lastKeySync: {
294
- required: true,
295
- serializedName: "lastKeySync",
296
- type: {
297
- name: "DateTime"
298
- }
299
- } })
300
- }
301
- };
302
- export var VirtualMachineFamilyCoreQuota = {
303
- serializedName: "VirtualMachineFamilyCoreQuota",
227
+ export const UserAssignedIdentities = {
304
228
  type: {
305
229
  name: "Composite",
306
- className: "VirtualMachineFamilyCoreQuota",
230
+ className: "UserAssignedIdentities",
307
231
  modelProperties: {
308
- name: {
309
- nullable: false,
232
+ principalId: {
233
+ serializedName: "principalId",
310
234
  readOnly: true,
311
- serializedName: "name",
312
235
  type: {
313
236
  name: "String"
314
237
  }
315
238
  },
316
- coreQuota: {
317
- nullable: false,
239
+ clientId: {
240
+ serializedName: "clientId",
318
241
  readOnly: true,
319
- serializedName: "coreQuota",
320
242
  type: {
321
- name: "Number"
243
+ name: "String"
322
244
  }
323
245
  }
324
246
  }
325
247
  }
326
248
  };
327
- export var PrivateEndpoint = {
328
- serializedName: "PrivateEndpoint",
249
+ export const PrivateEndpoint = {
329
250
  type: {
330
251
  name: "Composite",
331
252
  className: "PrivateEndpoint",
332
253
  modelProperties: {
333
254
  id: {
334
- readOnly: true,
335
255
  serializedName: "id",
256
+ readOnly: true,
336
257
  type: {
337
258
  name: "String"
338
259
  }
@@ -340,23 +261,17 @@ export var PrivateEndpoint = {
340
261
  }
341
262
  }
342
263
  };
343
- export var PrivateLinkServiceConnectionState = {
344
- serializedName: "PrivateLinkServiceConnectionState",
264
+ export const PrivateLinkServiceConnectionState = {
345
265
  type: {
346
266
  name: "Composite",
347
267
  className: "PrivateLinkServiceConnectionState",
348
268
  modelProperties: {
349
269
  status: {
350
- required: true,
351
270
  serializedName: "status",
271
+ required: true,
352
272
  type: {
353
273
  name: "Enum",
354
- allowedValues: [
355
- "Approved",
356
- "Pending",
357
- "Rejected",
358
- "Disconnected"
359
- ]
274
+ allowedValues: ["Approved", "Pending", "Rejected", "Disconnected"]
360
275
  }
361
276
  },
362
277
  description: {
@@ -366,8 +281,8 @@ export var PrivateLinkServiceConnectionState = {
366
281
  }
367
282
  },
368
283
  actionRequired: {
369
- readOnly: true,
370
284
  serializedName: "actionRequired",
285
+ readOnly: true,
371
286
  type: {
372
287
  name: "String"
373
288
  }
@@ -375,36 +290,35 @@ export var PrivateLinkServiceConnectionState = {
375
290
  }
376
291
  }
377
292
  };
378
- export var ProxyResource = {
379
- serializedName: "ProxyResource",
293
+ export const ProxyResource = {
380
294
  type: {
381
295
  name: "Composite",
382
296
  className: "ProxyResource",
383
297
  modelProperties: {
384
298
  id: {
385
- readOnly: true,
386
299
  serializedName: "id",
300
+ readOnly: true,
387
301
  type: {
388
302
  name: "String"
389
303
  }
390
304
  },
391
305
  name: {
392
- readOnly: true,
393
306
  serializedName: "name",
307
+ readOnly: true,
394
308
  type: {
395
309
  name: "String"
396
310
  }
397
311
  },
398
312
  type: {
399
- readOnly: true,
400
313
  serializedName: "type",
314
+ readOnly: true,
401
315
  type: {
402
316
  name: "String"
403
317
  }
404
318
  },
405
319
  etag: {
406
- readOnly: true,
407
320
  serializedName: "etag",
321
+ readOnly: true,
408
322
  type: {
409
323
  name: "String"
410
324
  }
@@ -412,244 +326,126 @@ export var ProxyResource = {
412
326
  }
413
327
  }
414
328
  };
415
- export var PrivateEndpointConnection = {
416
- serializedName: "PrivateEndpointConnection",
329
+ export const VirtualMachineFamilyCoreQuota = {
417
330
  type: {
418
331
  name: "Composite",
419
- className: "PrivateEndpointConnection",
420
- modelProperties: __assign(__assign({}, ProxyResource.type.modelProperties), { provisioningState: {
421
- nullable: false,
332
+ className: "VirtualMachineFamilyCoreQuota",
333
+ modelProperties: {
334
+ name: {
335
+ serializedName: "name",
422
336
  readOnly: true,
423
- serializedName: "properties.provisioningState",
424
- type: {
425
- name: "Enum",
426
- allowedValues: [
427
- "Succeeded",
428
- "Updating",
429
- "Failed"
430
- ]
431
- }
432
- }, privateEndpoint: {
433
- serializedName: "properties.privateEndpoint",
434
337
  type: {
435
- name: "Composite",
436
- className: "PrivateEndpoint"
338
+ name: "String"
437
339
  }
438
- }, privateLinkServiceConnectionState: {
439
- serializedName: "properties.privateLinkServiceConnectionState",
340
+ },
341
+ coreQuota: {
342
+ serializedName: "coreQuota",
343
+ readOnly: true,
440
344
  type: {
441
- name: "Composite",
442
- className: "PrivateLinkServiceConnectionState"
345
+ name: "Number"
443
346
  }
444
- } })
347
+ }
348
+ }
445
349
  }
446
350
  };
447
- export var Resource = {
448
- serializedName: "Resource",
351
+ export const Resource = {
449
352
  type: {
450
353
  name: "Composite",
451
354
  className: "Resource",
452
355
  modelProperties: {
453
356
  id: {
454
- readOnly: true,
455
357
  serializedName: "id",
358
+ readOnly: true,
456
359
  type: {
457
360
  name: "String"
458
361
  }
459
362
  },
460
363
  name: {
461
- readOnly: true,
462
364
  serializedName: "name",
365
+ readOnly: true,
463
366
  type: {
464
367
  name: "String"
465
368
  }
466
369
  },
467
370
  type: {
468
- readOnly: true,
469
371
  serializedName: "type",
372
+ readOnly: true,
470
373
  type: {
471
374
  name: "String"
472
375
  }
473
376
  },
474
377
  location: {
475
- readOnly: true,
476
378
  serializedName: "location",
379
+ readOnly: true,
477
380
  type: {
478
381
  name: "String"
479
382
  }
480
383
  },
481
384
  tags: {
482
- readOnly: true,
483
385
  serializedName: "tags",
386
+ readOnly: true,
484
387
  type: {
485
388
  name: "Dictionary",
486
- value: {
487
- type: {
488
- name: "String"
489
- }
490
- }
389
+ value: { type: { name: "String" } }
491
390
  }
492
391
  }
493
392
  }
494
393
  }
495
394
  };
496
- export var BatchAccount = {
497
- serializedName: "BatchAccount",
395
+ export const CloudError = {
498
396
  type: {
499
397
  name: "Composite",
500
- className: "BatchAccount",
501
- modelProperties: __assign(__assign({}, Resource.type.modelProperties), { accountEndpoint: {
502
- readOnly: true,
503
- serializedName: "properties.accountEndpoint",
504
- type: {
505
- name: "String"
506
- }
507
- }, provisioningState: {
508
- nullable: false,
509
- readOnly: true,
510
- serializedName: "properties.provisioningState",
511
- type: {
512
- name: "Enum",
513
- allowedValues: [
514
- "Invalid",
515
- "Creating",
516
- "Deleting",
517
- "Succeeded",
518
- "Failed",
519
- "Cancelled"
520
- ]
521
- }
522
- }, poolAllocationMode: {
523
- readOnly: true,
524
- serializedName: "properties.poolAllocationMode",
525
- type: {
526
- name: "Enum",
527
- allowedValues: [
528
- "BatchService",
529
- "UserSubscription"
530
- ]
531
- }
532
- }, keyVaultReference: {
533
- readOnly: true,
534
- serializedName: "properties.keyVaultReference",
535
- type: {
536
- name: "Composite",
537
- className: "KeyVaultReference"
538
- }
539
- }, publicNetworkAccess: {
540
- readOnly: true,
541
- serializedName: "properties.publicNetworkAccess",
542
- defaultValue: 'Enabled',
543
- type: {
544
- name: "Enum",
545
- allowedValues: [
546
- "Enabled",
547
- "Disabled"
548
- ]
549
- }
550
- }, privateEndpointConnections: {
551
- nullable: true,
552
- readOnly: true,
553
- serializedName: "properties.privateEndpointConnections",
554
- type: {
555
- name: "Sequence",
556
- element: {
557
- type: {
558
- name: "Composite",
559
- className: "PrivateEndpointConnection"
560
- }
561
- }
562
- }
563
- }, autoStorage: {
564
- readOnly: true,
565
- serializedName: "properties.autoStorage",
398
+ className: "CloudError",
399
+ modelProperties: {
400
+ error: {
401
+ serializedName: "error",
566
402
  type: {
567
403
  name: "Composite",
568
- className: "AutoStorageProperties"
404
+ className: "CloudErrorBody"
569
405
  }
570
- }, encryption: {
571
- readOnly: true,
572
- serializedName: "properties.encryption",
406
+ }
407
+ }
408
+ }
409
+ };
410
+ export const CloudErrorBody = {
411
+ type: {
412
+ name: "Composite",
413
+ className: "CloudErrorBody",
414
+ modelProperties: {
415
+ code: {
416
+ serializedName: "code",
573
417
  type: {
574
- name: "Composite",
575
- className: "EncryptionProperties"
418
+ name: "String"
576
419
  }
577
- }, dedicatedCoreQuota: {
578
- nullable: true,
579
- readOnly: true,
580
- serializedName: "properties.dedicatedCoreQuota",
420
+ },
421
+ message: {
422
+ serializedName: "message",
581
423
  type: {
582
- name: "Number"
424
+ name: "String"
583
425
  }
584
- }, lowPriorityCoreQuota: {
585
- nullable: true,
586
- readOnly: true,
587
- serializedName: "properties.lowPriorityCoreQuota",
426
+ },
427
+ target: {
428
+ serializedName: "target",
588
429
  type: {
589
- name: "Number"
430
+ name: "String"
590
431
  }
591
- }, dedicatedCoreQuotaPerVMFamily: {
592
- nullable: true,
593
- readOnly: true,
594
- serializedName: "properties.dedicatedCoreQuotaPerVMFamily",
432
+ },
433
+ details: {
434
+ serializedName: "details",
595
435
  type: {
596
436
  name: "Sequence",
597
437
  element: {
598
438
  type: {
599
439
  name: "Composite",
600
- className: "VirtualMachineFamilyCoreQuota"
601
- }
602
- }
603
- }
604
- }, dedicatedCoreQuotaPerVMFamilyEnforced: {
605
- nullable: false,
606
- readOnly: true,
607
- serializedName: "properties.dedicatedCoreQuotaPerVMFamilyEnforced",
608
- type: {
609
- name: "Boolean"
610
- }
611
- }, poolQuota: {
612
- nullable: false,
613
- readOnly: true,
614
- serializedName: "properties.poolQuota",
615
- type: {
616
- name: "Number"
617
- }
618
- }, activeJobAndJobScheduleQuota: {
619
- nullable: false,
620
- readOnly: true,
621
- serializedName: "properties.activeJobAndJobScheduleQuota",
622
- type: {
623
- name: "Number"
624
- }
625
- }, allowedAuthenticationModes: {
626
- nullable: false,
627
- readOnly: true,
628
- serializedName: "properties.allowedAuthenticationModes",
629
- type: {
630
- name: "Sequence",
631
- element: {
632
- type: {
633
- name: "Enum",
634
- allowedValues: [
635
- "SharedKey",
636
- "AAD",
637
- "TaskAuthenticationToken"
638
- ]
440
+ className: "CloudErrorBody"
639
441
  }
640
442
  }
641
443
  }
642
- }, identity: {
643
- serializedName: "identity",
644
- type: {
645
- name: "Composite",
646
- className: "BatchAccountIdentity"
647
- }
648
- } })
444
+ }
445
+ }
649
446
  }
650
447
  };
651
- export var BatchAccountUpdateParameters = {
652
- serializedName: "BatchAccountUpdateParameters",
448
+ export const BatchAccountUpdateParameters = {
653
449
  type: {
654
450
  name: "Composite",
655
451
  className: "BatchAccountUpdateParameters",
@@ -658,11 +454,14 @@ export var BatchAccountUpdateParameters = {
658
454
  serializedName: "tags",
659
455
  type: {
660
456
  name: "Dictionary",
661
- value: {
662
- type: {
663
- name: "String"
664
- }
665
- }
457
+ value: { type: { name: "String" } }
458
+ }
459
+ },
460
+ identity: {
461
+ serializedName: "identity",
462
+ type: {
463
+ name: "Composite",
464
+ className: "BatchAccountIdentity"
666
465
  }
667
466
  },
668
467
  autoStorage: {
@@ -680,75 +479,85 @@ export var BatchAccountUpdateParameters = {
680
479
  }
681
480
  },
682
481
  allowedAuthenticationModes: {
683
- nullable: true,
684
482
  serializedName: "properties.allowedAuthenticationModes",
483
+ nullable: true,
685
484
  type: {
686
485
  name: "Sequence",
687
486
  element: {
688
487
  type: {
689
488
  name: "Enum",
690
- allowedValues: [
691
- "SharedKey",
692
- "AAD",
693
- "TaskAuthenticationToken"
694
- ]
489
+ allowedValues: ["SharedKey", "AAD", "TaskAuthenticationToken"]
490
+ }
491
+ }
492
+ }
493
+ }
494
+ }
495
+ }
496
+ };
497
+ export const BatchAccountListResult = {
498
+ type: {
499
+ name: "Composite",
500
+ className: "BatchAccountListResult",
501
+ modelProperties: {
502
+ value: {
503
+ serializedName: "value",
504
+ type: {
505
+ name: "Sequence",
506
+ element: {
507
+ type: {
508
+ name: "Composite",
509
+ className: "BatchAccount"
695
510
  }
696
511
  }
697
512
  }
698
513
  },
699
- identity: {
700
- serializedName: "identity",
514
+ nextLink: {
515
+ serializedName: "nextLink",
701
516
  type: {
702
- name: "Composite",
703
- className: "BatchAccountIdentity"
517
+ name: "String"
704
518
  }
705
519
  }
706
520
  }
707
521
  }
708
522
  };
709
- export var BatchAccountRegenerateKeyParameters = {
710
- serializedName: "BatchAccountRegenerateKeyParameters",
523
+ export const BatchAccountRegenerateKeyParameters = {
711
524
  type: {
712
525
  name: "Composite",
713
526
  className: "BatchAccountRegenerateKeyParameters",
714
527
  modelProperties: {
715
528
  keyName: {
716
- required: true,
717
529
  serializedName: "keyName",
530
+ required: true,
718
531
  type: {
719
532
  name: "Enum",
720
- allowedValues: [
721
- "Primary",
722
- "Secondary"
723
- ]
533
+ allowedValues: ["Primary", "Secondary"]
724
534
  }
725
535
  }
726
536
  }
727
537
  }
728
538
  };
729
- export var BatchAccountKeys = {
730
- serializedName: "BatchAccountKeys",
539
+ export const BatchAccountKeys = {
731
540
  type: {
732
541
  name: "Composite",
733
542
  className: "BatchAccountKeys",
734
543
  modelProperties: {
735
544
  accountName: {
736
- readOnly: true,
737
545
  serializedName: "accountName",
546
+ readOnly: true,
738
547
  type: {
739
548
  name: "String"
740
549
  }
741
550
  },
742
551
  primary: {
743
- readOnly: true,
744
552
  serializedName: "primary",
553
+ readOnly: true,
745
554
  type: {
746
555
  name: "String"
747
556
  }
748
557
  },
749
558
  secondary: {
750
- readOnly: true,
751
559
  serializedName: "secondary",
560
+ readOnly: true,
752
561
  type: {
753
562
  name: "String"
754
563
  }
@@ -756,15 +565,14 @@ export var BatchAccountKeys = {
756
565
  }
757
566
  }
758
567
  };
759
- export var ActivateApplicationPackageParameters = {
760
- serializedName: "ActivateApplicationPackageParameters",
568
+ export const ActivateApplicationPackageParameters = {
761
569
  type: {
762
570
  name: "Composite",
763
571
  className: "ActivateApplicationPackageParameters",
764
572
  modelProperties: {
765
573
  format: {
766
- required: true,
767
574
  serializedName: "format",
575
+ required: true,
768
576
  type: {
769
577
  name: "String"
770
578
  }
@@ -772,80 +580,66 @@ export var ActivateApplicationPackageParameters = {
772
580
  }
773
581
  }
774
582
  };
775
- export var Application = {
776
- serializedName: "Application",
583
+ export const ListApplicationsResult = {
777
584
  type: {
778
585
  name: "Composite",
779
- className: "Application",
780
- modelProperties: __assign(__assign({}, ProxyResource.type.modelProperties), { displayName: {
781
- serializedName: "properties.displayName",
586
+ className: "ListApplicationsResult",
587
+ modelProperties: {
588
+ value: {
589
+ serializedName: "value",
782
590
  type: {
783
- name: "String"
591
+ name: "Sequence",
592
+ element: {
593
+ type: {
594
+ name: "Composite",
595
+ className: "Application"
596
+ }
597
+ }
784
598
  }
785
- }, allowUpdates: {
786
- serializedName: "properties.allowUpdates",
787
- type: {
788
- name: "Boolean"
789
- }
790
- }, defaultVersion: {
791
- serializedName: "properties.defaultVersion",
599
+ },
600
+ nextLink: {
601
+ serializedName: "nextLink",
792
602
  type: {
793
603
  name: "String"
794
604
  }
795
- } })
605
+ }
606
+ }
796
607
  }
797
608
  };
798
- export var ApplicationPackage = {
799
- serializedName: "ApplicationPackage",
609
+ export const ListApplicationPackagesResult = {
800
610
  type: {
801
611
  name: "Composite",
802
- className: "ApplicationPackage",
803
- modelProperties: __assign(__assign({}, ProxyResource.type.modelProperties), { state: {
804
- readOnly: true,
805
- serializedName: "properties.state",
806
- type: {
807
- name: "Enum",
808
- allowedValues: [
809
- "Pending",
810
- "Active"
811
- ]
812
- }
813
- }, format: {
814
- readOnly: true,
815
- serializedName: "properties.format",
612
+ className: "ListApplicationPackagesResult",
613
+ modelProperties: {
614
+ value: {
615
+ serializedName: "value",
816
616
  type: {
817
- name: "String"
617
+ name: "Sequence",
618
+ element: {
619
+ type: {
620
+ name: "Composite",
621
+ className: "ApplicationPackage"
622
+ }
623
+ }
818
624
  }
819
- }, storageUrl: {
820
- readOnly: true,
821
- serializedName: "properties.storageUrl",
625
+ },
626
+ nextLink: {
627
+ serializedName: "nextLink",
822
628
  type: {
823
629
  name: "String"
824
630
  }
825
- }, storageUrlExpiry: {
826
- readOnly: true,
827
- serializedName: "properties.storageUrlExpiry",
828
- type: {
829
- name: "DateTime"
830
- }
831
- }, lastActivationTime: {
832
- readOnly: true,
833
- serializedName: "properties.lastActivationTime",
834
- type: {
835
- name: "DateTime"
836
- }
837
- } })
631
+ }
632
+ }
838
633
  }
839
634
  };
840
- export var BatchLocationQuota = {
841
- serializedName: "BatchLocationQuota",
635
+ export const BatchLocationQuota = {
842
636
  type: {
843
637
  name: "Composite",
844
638
  className: "BatchLocationQuota",
845
639
  modelProperties: {
846
640
  accountQuota: {
847
- readOnly: true,
848
641
  serializedName: "accountQuota",
642
+ readOnly: true,
849
643
  type: {
850
644
  name: "Number"
851
645
  }
@@ -853,72 +647,62 @@ export var BatchLocationQuota = {
853
647
  }
854
648
  }
855
649
  };
856
- export var CertificateBaseProperties = {
857
- serializedName: "CertificateBaseProperties",
650
+ export const SupportedSkusResult = {
858
651
  type: {
859
652
  name: "Composite",
860
- className: "CertificateBaseProperties",
653
+ className: "SupportedSkusResult",
861
654
  modelProperties: {
862
- thumbprintAlgorithm: {
863
- serializedName: "thumbprintAlgorithm",
655
+ value: {
656
+ serializedName: "value",
657
+ required: true,
864
658
  type: {
865
- name: "String"
659
+ name: "Sequence",
660
+ element: {
661
+ type: {
662
+ name: "Composite",
663
+ className: "SupportedSku"
664
+ }
665
+ }
866
666
  }
867
667
  },
868
- thumbprint: {
869
- serializedName: "thumbprint",
668
+ nextLink: {
669
+ serializedName: "nextLink",
670
+ readOnly: true,
870
671
  type: {
871
672
  name: "String"
872
673
  }
873
- },
874
- format: {
875
- nullable: false,
876
- serializedName: "format",
877
- type: {
878
- name: "Enum",
879
- allowedValues: [
880
- "Pfx",
881
- "Cer"
882
- ]
883
- }
884
674
  }
885
675
  }
886
676
  }
887
677
  };
888
- export var DeleteCertificateError = {
889
- serializedName: "DeleteCertificateError",
678
+ export const SupportedSku = {
890
679
  type: {
891
680
  name: "Composite",
892
- className: "DeleteCertificateError",
681
+ className: "SupportedSku",
893
682
  modelProperties: {
894
- code: {
895
- required: true,
896
- serializedName: "code",
897
- type: {
898
- name: "String"
899
- }
900
- },
901
- message: {
902
- required: true,
903
- serializedName: "message",
683
+ name: {
684
+ serializedName: "name",
685
+ readOnly: true,
904
686
  type: {
905
687
  name: "String"
906
688
  }
907
689
  },
908
- target: {
909
- serializedName: "target",
690
+ familyName: {
691
+ serializedName: "familyName",
692
+ readOnly: true,
910
693
  type: {
911
694
  name: "String"
912
695
  }
913
696
  },
914
- details: {
915
- serializedName: "details",
697
+ capabilities: {
698
+ serializedName: "capabilities",
699
+ readOnly: true,
916
700
  type: {
917
701
  name: "Sequence",
918
702
  element: {
919
703
  type: {
920
704
  name: "Composite",
921
- className: "DeleteCertificateError"
705
+ className: "SkuCapability"
922
706
  }
923
707
  }
924
708
  }
@@ -926,173 +710,142 @@ export var DeleteCertificateError = {
926
710
  }
927
711
  }
928
712
  };
929
- export var Certificate = {
930
- serializedName: "Certificate",
713
+ export const SkuCapability = {
931
714
  type: {
932
715
  name: "Composite",
933
- className: "Certificate",
934
- modelProperties: __assign(__assign({}, ProxyResource.type.modelProperties), { thumbprintAlgorithm: {
935
- serializedName: "properties.thumbprintAlgorithm",
716
+ className: "SkuCapability",
717
+ modelProperties: {
718
+ name: {
719
+ serializedName: "name",
720
+ readOnly: true,
936
721
  type: {
937
722
  name: "String"
938
723
  }
939
- }, thumbprint: {
940
- serializedName: "properties.thumbprint",
724
+ },
725
+ value: {
726
+ serializedName: "value",
727
+ readOnly: true,
941
728
  type: {
942
729
  name: "String"
943
730
  }
944
- }, format: {
945
- nullable: false,
946
- serializedName: "properties.format",
731
+ }
732
+ }
733
+ }
734
+ };
735
+ export const OperationListResult = {
736
+ type: {
737
+ name: "Composite",
738
+ className: "OperationListResult",
739
+ modelProperties: {
740
+ value: {
741
+ serializedName: "value",
947
742
  type: {
948
- name: "Enum",
949
- allowedValues: [
950
- "Pfx",
951
- "Cer"
952
- ]
743
+ name: "Sequence",
744
+ element: {
745
+ type: {
746
+ name: "Composite",
747
+ className: "Operation"
748
+ }
749
+ }
953
750
  }
954
- }, provisioningState: {
955
- nullable: false,
956
- readOnly: true,
957
- serializedName: "properties.provisioningState",
751
+ },
752
+ nextLink: {
753
+ serializedName: "nextLink",
958
754
  type: {
959
- name: "Enum",
960
- allowedValues: [
961
- "Succeeded",
962
- "Deleting",
963
- "Failed"
964
- ]
755
+ name: "String"
965
756
  }
966
- }, provisioningStateTransitionTime: {
967
- readOnly: true,
968
- serializedName: "properties.provisioningStateTransitionTime",
757
+ }
758
+ }
759
+ }
760
+ };
761
+ export const Operation = {
762
+ type: {
763
+ name: "Composite",
764
+ className: "Operation",
765
+ modelProperties: {
766
+ name: {
767
+ serializedName: "name",
969
768
  type: {
970
- name: "DateTime"
769
+ name: "String"
971
770
  }
972
- }, previousProvisioningState: {
973
- nullable: false,
974
- readOnly: true,
975
- serializedName: "properties.previousProvisioningState",
771
+ },
772
+ isDataAction: {
773
+ serializedName: "isDataAction",
976
774
  type: {
977
- name: "Enum",
978
- allowedValues: [
979
- "Succeeded",
980
- "Deleting",
981
- "Failed"
982
- ]
775
+ name: "Boolean"
983
776
  }
984
- }, previousProvisioningStateTransitionTime: {
985
- readOnly: true,
986
- serializedName: "properties.previousProvisioningStateTransitionTime",
777
+ },
778
+ display: {
779
+ serializedName: "display",
987
780
  type: {
988
- name: "DateTime"
781
+ name: "Composite",
782
+ className: "OperationDisplay"
989
783
  }
990
- }, publicData: {
991
- readOnly: true,
992
- serializedName: "properties.publicData",
784
+ },
785
+ origin: {
786
+ serializedName: "origin",
993
787
  type: {
994
788
  name: "String"
995
789
  }
996
- }, deleteCertificateError: {
997
- readOnly: true,
998
- serializedName: "properties.deleteCertificateError",
790
+ },
791
+ properties: {
792
+ serializedName: "properties",
999
793
  type: {
1000
- name: "Composite",
1001
- className: "DeleteCertificateError"
794
+ name: "Dictionary",
795
+ value: { type: { name: "any" } }
1002
796
  }
1003
- } })
797
+ }
798
+ }
1004
799
  }
1005
800
  };
1006
- export var CertificateCreateOrUpdateParameters = {
1007
- serializedName: "CertificateCreateOrUpdateParameters",
801
+ export const OperationDisplay = {
1008
802
  type: {
1009
803
  name: "Composite",
1010
- className: "CertificateCreateOrUpdateParameters",
1011
- modelProperties: __assign(__assign({}, ProxyResource.type.modelProperties), { thumbprintAlgorithm: {
1012
- serializedName: "properties.thumbprintAlgorithm",
804
+ className: "OperationDisplay",
805
+ modelProperties: {
806
+ provider: {
807
+ serializedName: "provider",
1013
808
  type: {
1014
809
  name: "String"
1015
810
  }
1016
- }, thumbprint: {
1017
- serializedName: "properties.thumbprint",
811
+ },
812
+ operation: {
813
+ serializedName: "operation",
1018
814
  type: {
1019
815
  name: "String"
1020
816
  }
1021
- }, format: {
1022
- nullable: false,
1023
- serializedName: "properties.format",
1024
- type: {
1025
- name: "Enum",
1026
- allowedValues: [
1027
- "Pfx",
1028
- "Cer"
1029
- ]
1030
- }
1031
- }, data: {
1032
- required: true,
1033
- serializedName: "properties.data",
817
+ },
818
+ resource: {
819
+ serializedName: "resource",
1034
820
  type: {
1035
821
  name: "String"
1036
822
  }
1037
- }, password: {
1038
- serializedName: "properties.password",
823
+ },
824
+ description: {
825
+ serializedName: "description",
1039
826
  type: {
1040
827
  name: "String"
1041
828
  }
1042
- } })
829
+ }
830
+ }
1043
831
  }
1044
832
  };
1045
- export var PrivateLinkResource = {
1046
- serializedName: "PrivateLinkResource",
833
+ export const CheckNameAvailabilityParameters = {
1047
834
  type: {
1048
835
  name: "Composite",
1049
- className: "PrivateLinkResource",
1050
- modelProperties: __assign(__assign({}, ProxyResource.type.modelProperties), { groupId: {
1051
- readOnly: true,
1052
- serializedName: "properties.groupId",
1053
- type: {
1054
- name: "String"
1055
- }
1056
- }, requiredMembers: {
1057
- readOnly: true,
1058
- serializedName: "properties.requiredMembers",
1059
- type: {
1060
- name: "Sequence",
1061
- element: {
1062
- type: {
1063
- name: "String"
1064
- }
1065
- }
1066
- }
1067
- }, requiredZoneNames: {
1068
- readOnly: true,
1069
- serializedName: "properties.requiredZoneNames",
1070
- type: {
1071
- name: "Sequence",
1072
- element: {
1073
- type: {
1074
- name: "String"
1075
- }
1076
- }
1077
- }
1078
- } })
1079
- }
1080
- };
1081
- export var CloudServiceConfiguration = {
1082
- serializedName: "CloudServiceConfiguration",
1083
- type: {
1084
- name: "Composite",
1085
- className: "CloudServiceConfiguration",
1086
- modelProperties: {
1087
- osFamily: {
1088
- required: true,
1089
- serializedName: "osFamily",
836
+ className: "CheckNameAvailabilityParameters",
837
+ modelProperties: {
838
+ name: {
839
+ serializedName: "name",
840
+ required: true,
1090
841
  type: {
1091
842
  name: "String"
1092
843
  }
1093
844
  },
1094
- osVersion: {
1095
- serializedName: "osVersion",
845
+ type: {
846
+ defaultValue: "Microsoft.Batch/batchAccounts",
847
+ isConstant: true,
848
+ serializedName: "type",
1096
849
  type: {
1097
850
  name: "String"
1098
851
  }
@@ -1100,38 +853,29 @@ export var CloudServiceConfiguration = {
1100
853
  }
1101
854
  }
1102
855
  };
1103
- export var ImageReference = {
1104
- serializedName: "ImageReference",
856
+ export const CheckNameAvailabilityResult = {
1105
857
  type: {
1106
858
  name: "Composite",
1107
- className: "ImageReference",
859
+ className: "CheckNameAvailabilityResult",
1108
860
  modelProperties: {
1109
- publisher: {
1110
- serializedName: "publisher",
1111
- type: {
1112
- name: "String"
1113
- }
1114
- },
1115
- offer: {
1116
- serializedName: "offer",
1117
- type: {
1118
- name: "String"
1119
- }
1120
- },
1121
- sku: {
1122
- serializedName: "sku",
861
+ nameAvailable: {
862
+ serializedName: "nameAvailable",
863
+ readOnly: true,
1123
864
  type: {
1124
- name: "String"
865
+ name: "Boolean"
1125
866
  }
1126
867
  },
1127
- version: {
1128
- serializedName: "version",
868
+ reason: {
869
+ serializedName: "reason",
870
+ readOnly: true,
1129
871
  type: {
1130
- name: "String"
872
+ name: "Enum",
873
+ allowedValues: ["Invalid", "AlreadyExists"]
1131
874
  }
1132
875
  },
1133
- id: {
1134
- serializedName: "id",
876
+ message: {
877
+ serializedName: "message",
878
+ readOnly: true,
1135
879
  type: {
1136
880
  name: "String"
1137
881
  }
@@ -1139,299 +883,235 @@ export var ImageReference = {
1139
883
  }
1140
884
  }
1141
885
  };
1142
- export var WindowsConfiguration = {
1143
- serializedName: "WindowsConfiguration",
886
+ export const ListCertificatesResult = {
1144
887
  type: {
1145
888
  name: "Composite",
1146
- className: "WindowsConfiguration",
889
+ className: "ListCertificatesResult",
1147
890
  modelProperties: {
1148
- enableAutomaticUpdates: {
1149
- serializedName: "enableAutomaticUpdates",
891
+ value: {
892
+ serializedName: "value",
1150
893
  type: {
1151
- name: "Boolean"
894
+ name: "Sequence",
895
+ element: {
896
+ type: {
897
+ name: "Composite",
898
+ className: "Certificate"
899
+ }
900
+ }
901
+ }
902
+ },
903
+ nextLink: {
904
+ serializedName: "nextLink",
905
+ type: {
906
+ name: "String"
1152
907
  }
1153
908
  }
1154
909
  }
1155
910
  }
1156
911
  };
1157
- export var DataDisk = {
1158
- serializedName: "DataDisk",
912
+ export const DeleteCertificateError = {
1159
913
  type: {
1160
914
  name: "Composite",
1161
- className: "DataDisk",
915
+ className: "DeleteCertificateError",
1162
916
  modelProperties: {
1163
- lun: {
917
+ code: {
918
+ serializedName: "code",
1164
919
  required: true,
1165
- serializedName: "lun",
1166
920
  type: {
1167
- name: "Number"
921
+ name: "String"
1168
922
  }
1169
923
  },
1170
- caching: {
1171
- serializedName: "caching",
924
+ message: {
925
+ serializedName: "message",
926
+ required: true,
1172
927
  type: {
1173
- name: "Enum",
1174
- allowedValues: [
1175
- "None",
1176
- "ReadOnly",
1177
- "ReadWrite"
1178
- ]
928
+ name: "String"
1179
929
  }
1180
930
  },
1181
- diskSizeGB: {
1182
- required: true,
1183
- serializedName: "diskSizeGB",
931
+ target: {
932
+ serializedName: "target",
1184
933
  type: {
1185
- name: "Number"
934
+ name: "String"
1186
935
  }
1187
936
  },
1188
- storageAccountType: {
1189
- serializedName: "storageAccountType",
937
+ details: {
938
+ serializedName: "details",
1190
939
  type: {
1191
- name: "Enum",
1192
- allowedValues: [
1193
- "Standard_LRS",
1194
- "Premium_LRS"
1195
- ]
940
+ name: "Sequence",
941
+ element: {
942
+ type: {
943
+ name: "Composite",
944
+ className: "DeleteCertificateError"
945
+ }
946
+ }
1196
947
  }
1197
948
  }
1198
949
  }
1199
950
  }
1200
951
  };
1201
- export var ContainerRegistry = {
1202
- serializedName: "ContainerRegistry",
952
+ export const CertificateBaseProperties = {
1203
953
  type: {
1204
954
  name: "Composite",
1205
- className: "ContainerRegistry",
955
+ className: "CertificateBaseProperties",
1206
956
  modelProperties: {
1207
- userName: {
1208
- serializedName: "username",
1209
- type: {
1210
- name: "String"
1211
- }
1212
- },
1213
- password: {
1214
- serializedName: "password",
957
+ thumbprintAlgorithm: {
958
+ serializedName: "thumbprintAlgorithm",
1215
959
  type: {
1216
960
  name: "String"
1217
961
  }
1218
962
  },
1219
- registryServer: {
1220
- serializedName: "registryServer",
963
+ thumbprint: {
964
+ serializedName: "thumbprint",
1221
965
  type: {
1222
966
  name: "String"
1223
967
  }
1224
968
  },
1225
- identityReference: {
1226
- serializedName: "identityReference",
969
+ format: {
970
+ serializedName: "format",
1227
971
  type: {
1228
- name: "Composite",
1229
- className: "ComputeNodeIdentityReference"
972
+ name: "Enum",
973
+ allowedValues: ["Pfx", "Cer"]
1230
974
  }
1231
975
  }
1232
976
  }
1233
977
  }
1234
978
  };
1235
- export var ContainerConfiguration = {
1236
- serializedName: "ContainerConfiguration",
979
+ export const ListPrivateLinkResourcesResult = {
1237
980
  type: {
1238
981
  name: "Composite",
1239
- className: "ContainerConfiguration",
982
+ className: "ListPrivateLinkResourcesResult",
1240
983
  modelProperties: {
1241
- type: {
1242
- required: true,
1243
- isConstant: true,
1244
- serializedName: "type",
1245
- defaultValue: 'DockerCompatible',
1246
- type: {
1247
- name: "String"
1248
- }
1249
- },
1250
- containerImageNames: {
1251
- serializedName: "containerImageNames",
984
+ value: {
985
+ serializedName: "value",
1252
986
  type: {
1253
987
  name: "Sequence",
1254
988
  element: {
1255
989
  type: {
1256
- name: "String"
990
+ name: "Composite",
991
+ className: "PrivateLinkResource"
1257
992
  }
1258
993
  }
1259
994
  }
1260
995
  },
1261
- containerRegistries: {
1262
- serializedName: "containerRegistries",
996
+ nextLink: {
997
+ serializedName: "nextLink",
998
+ type: {
999
+ name: "String"
1000
+ }
1001
+ }
1002
+ }
1003
+ }
1004
+ };
1005
+ export const ListPrivateEndpointConnectionsResult = {
1006
+ type: {
1007
+ name: "Composite",
1008
+ className: "ListPrivateEndpointConnectionsResult",
1009
+ modelProperties: {
1010
+ value: {
1011
+ serializedName: "value",
1263
1012
  type: {
1264
1013
  name: "Sequence",
1265
1014
  element: {
1266
1015
  type: {
1267
1016
  name: "Composite",
1268
- className: "ContainerRegistry"
1017
+ className: "PrivateEndpointConnection"
1269
1018
  }
1270
1019
  }
1271
1020
  }
1021
+ },
1022
+ nextLink: {
1023
+ serializedName: "nextLink",
1024
+ type: {
1025
+ name: "String"
1026
+ }
1272
1027
  }
1273
1028
  }
1274
1029
  }
1275
1030
  };
1276
- export var DiskEncryptionConfiguration = {
1277
- serializedName: "DiskEncryptionConfiguration",
1031
+ export const ListPoolsResult = {
1278
1032
  type: {
1279
1033
  name: "Composite",
1280
- className: "DiskEncryptionConfiguration",
1034
+ className: "ListPoolsResult",
1281
1035
  modelProperties: {
1282
- targets: {
1283
- serializedName: "targets",
1036
+ value: {
1037
+ serializedName: "value",
1284
1038
  type: {
1285
1039
  name: "Sequence",
1286
1040
  element: {
1287
1041
  type: {
1288
- name: "Enum",
1289
- allowedValues: [
1290
- "OsDisk",
1291
- "TemporaryDisk"
1292
- ]
1042
+ name: "Composite",
1043
+ className: "Pool"
1293
1044
  }
1294
1045
  }
1295
1046
  }
1047
+ },
1048
+ nextLink: {
1049
+ serializedName: "nextLink",
1050
+ type: {
1051
+ name: "String"
1052
+ }
1296
1053
  }
1297
1054
  }
1298
1055
  }
1299
1056
  };
1300
- export var NodePlacementConfiguration = {
1301
- serializedName: "NodePlacementConfiguration",
1057
+ export const DeploymentConfiguration = {
1302
1058
  type: {
1303
1059
  name: "Composite",
1304
- className: "NodePlacementConfiguration",
1060
+ className: "DeploymentConfiguration",
1305
1061
  modelProperties: {
1306
- policy: {
1307
- serializedName: "policy",
1062
+ cloudServiceConfiguration: {
1063
+ serializedName: "cloudServiceConfiguration",
1308
1064
  type: {
1309
- name: "Enum",
1310
- allowedValues: [
1311
- "Regional",
1312
- "Zonal"
1313
- ]
1065
+ name: "Composite",
1066
+ className: "CloudServiceConfiguration"
1067
+ }
1068
+ },
1069
+ virtualMachineConfiguration: {
1070
+ serializedName: "virtualMachineConfiguration",
1071
+ type: {
1072
+ name: "Composite",
1073
+ className: "VirtualMachineConfiguration"
1314
1074
  }
1315
1075
  }
1316
1076
  }
1317
1077
  }
1318
1078
  };
1319
- export var VMExtension = {
1320
- serializedName: "VMExtension",
1079
+ export const CloudServiceConfiguration = {
1321
1080
  type: {
1322
1081
  name: "Composite",
1323
- className: "VMExtension",
1082
+ className: "CloudServiceConfiguration",
1324
1083
  modelProperties: {
1325
- name: {
1084
+ osFamily: {
1085
+ serializedName: "osFamily",
1326
1086
  required: true,
1327
- serializedName: "name",
1328
1087
  type: {
1329
1088
  name: "String"
1330
1089
  }
1331
1090
  },
1332
- publisher: {
1333
- required: true,
1334
- serializedName: "publisher",
1091
+ osVersion: {
1092
+ serializedName: "osVersion",
1335
1093
  type: {
1336
1094
  name: "String"
1337
1095
  }
1338
- },
1339
- type: {
1340
- required: true,
1341
- serializedName: "type",
1096
+ }
1097
+ }
1098
+ }
1099
+ };
1100
+ export const VirtualMachineConfiguration = {
1101
+ type: {
1102
+ name: "Composite",
1103
+ className: "VirtualMachineConfiguration",
1104
+ modelProperties: {
1105
+ imageReference: {
1106
+ serializedName: "imageReference",
1342
1107
  type: {
1343
- name: "String"
1108
+ name: "Composite",
1109
+ className: "ImageReference"
1344
1110
  }
1345
1111
  },
1346
- typeHandlerVersion: {
1347
- serializedName: "typeHandlerVersion",
1348
- type: {
1349
- name: "String"
1350
- }
1351
- },
1352
- autoUpgradeMinorVersion: {
1353
- serializedName: "autoUpgradeMinorVersion",
1354
- type: {
1355
- name: "Boolean"
1356
- }
1357
- },
1358
- settings: {
1359
- serializedName: "settings",
1360
- type: {
1361
- name: "Object"
1362
- }
1363
- },
1364
- protectedSettings: {
1365
- serializedName: "protectedSettings",
1366
- type: {
1367
- name: "Object"
1368
- }
1369
- },
1370
- provisionAfterExtensions: {
1371
- serializedName: "provisionAfterExtensions",
1372
- type: {
1373
- name: "Sequence",
1374
- element: {
1375
- type: {
1376
- name: "String"
1377
- }
1378
- }
1379
- }
1380
- }
1381
- }
1382
- }
1383
- };
1384
- export var DiffDiskSettings = {
1385
- serializedName: "DiffDiskSettings",
1386
- type: {
1387
- name: "Composite",
1388
- className: "DiffDiskSettings",
1389
- modelProperties: {
1390
- placement: {
1391
- serializedName: "placement",
1392
- type: {
1393
- name: "Enum",
1394
- allowedValues: [
1395
- "CacheDisk"
1396
- ]
1397
- }
1398
- }
1399
- }
1400
- }
1401
- };
1402
- export var OSDisk = {
1403
- serializedName: "OSDisk",
1404
- type: {
1405
- name: "Composite",
1406
- className: "OSDisk",
1407
- modelProperties: {
1408
- ephemeralOSDiskSettings: {
1409
- serializedName: "ephemeralOSDiskSettings",
1410
- type: {
1411
- name: "Composite",
1412
- className: "DiffDiskSettings"
1413
- }
1414
- }
1415
- }
1416
- }
1417
- };
1418
- export var VirtualMachineConfiguration = {
1419
- serializedName: "VirtualMachineConfiguration",
1420
- type: {
1421
- name: "Composite",
1422
- className: "VirtualMachineConfiguration",
1423
- modelProperties: {
1424
- imageReference: {
1425
- required: true,
1426
- serializedName: "imageReference",
1427
- type: {
1428
- name: "Composite",
1429
- className: "ImageReference"
1430
- }
1431
- },
1432
- nodeAgentSkuId: {
1433
- required: true,
1434
- serializedName: "nodeAgentSkuId",
1112
+ nodeAgentSkuId: {
1113
+ serializedName: "nodeAgentSkuId",
1114
+ required: true,
1435
1115
  type: {
1436
1116
  name: "String"
1437
1117
  }
@@ -1504,141 +1184,126 @@ export var VirtualMachineConfiguration = {
1504
1184
  }
1505
1185
  }
1506
1186
  };
1507
- export var DeploymentConfiguration = {
1508
- serializedName: "DeploymentConfiguration",
1187
+ export const ImageReference = {
1509
1188
  type: {
1510
1189
  name: "Composite",
1511
- className: "DeploymentConfiguration",
1190
+ className: "ImageReference",
1512
1191
  modelProperties: {
1513
- cloudServiceConfiguration: {
1514
- serializedName: "cloudServiceConfiguration",
1192
+ publisher: {
1193
+ serializedName: "publisher",
1515
1194
  type: {
1516
- name: "Composite",
1517
- className: "CloudServiceConfiguration"
1195
+ name: "String"
1518
1196
  }
1519
1197
  },
1520
- virtualMachineConfiguration: {
1521
- serializedName: "virtualMachineConfiguration",
1522
- type: {
1523
- name: "Composite",
1524
- className: "VirtualMachineConfiguration"
1525
- }
1526
- }
1527
- }
1528
- }
1529
- };
1530
- export var FixedScaleSettings = {
1531
- serializedName: "FixedScaleSettings",
1532
- type: {
1533
- name: "Composite",
1534
- className: "FixedScaleSettings",
1535
- modelProperties: {
1536
- resizeTimeout: {
1537
- serializedName: "resizeTimeout",
1198
+ offer: {
1199
+ serializedName: "offer",
1538
1200
  type: {
1539
- name: "TimeSpan"
1201
+ name: "String"
1540
1202
  }
1541
1203
  },
1542
- targetDedicatedNodes: {
1543
- serializedName: "targetDedicatedNodes",
1204
+ sku: {
1205
+ serializedName: "sku",
1544
1206
  type: {
1545
- name: "Number"
1207
+ name: "String"
1546
1208
  }
1547
1209
  },
1548
- targetLowPriorityNodes: {
1549
- serializedName: "targetLowPriorityNodes",
1210
+ version: {
1211
+ serializedName: "version",
1550
1212
  type: {
1551
- name: "Number"
1213
+ name: "String"
1552
1214
  }
1553
1215
  },
1554
- nodeDeallocationOption: {
1555
- serializedName: "nodeDeallocationOption",
1216
+ id: {
1217
+ serializedName: "id",
1556
1218
  type: {
1557
- name: "Enum",
1558
- allowedValues: [
1559
- "Requeue",
1560
- "Terminate",
1561
- "TaskCompletion",
1562
- "RetainedData"
1563
- ]
1219
+ name: "String"
1564
1220
  }
1565
1221
  }
1566
1222
  }
1567
1223
  }
1568
1224
  };
1569
- export var AutoScaleSettings = {
1570
- serializedName: "AutoScaleSettings",
1225
+ export const WindowsConfiguration = {
1571
1226
  type: {
1572
1227
  name: "Composite",
1573
- className: "AutoScaleSettings",
1228
+ className: "WindowsConfiguration",
1574
1229
  modelProperties: {
1575
- formula: {
1576
- required: true,
1577
- serializedName: "formula",
1578
- type: {
1579
- name: "String"
1580
- }
1581
- },
1582
- evaluationInterval: {
1583
- serializedName: "evaluationInterval",
1230
+ enableAutomaticUpdates: {
1231
+ serializedName: "enableAutomaticUpdates",
1584
1232
  type: {
1585
- name: "TimeSpan"
1233
+ name: "Boolean"
1586
1234
  }
1587
1235
  }
1588
1236
  }
1589
1237
  }
1590
1238
  };
1591
- export var ScaleSettings = {
1592
- serializedName: "ScaleSettings",
1239
+ export const DataDisk = {
1593
1240
  type: {
1594
1241
  name: "Composite",
1595
- className: "ScaleSettings",
1242
+ className: "DataDisk",
1596
1243
  modelProperties: {
1597
- fixedScale: {
1598
- serializedName: "fixedScale",
1244
+ lun: {
1245
+ serializedName: "lun",
1246
+ required: true,
1599
1247
  type: {
1600
- name: "Composite",
1601
- className: "FixedScaleSettings"
1248
+ name: "Number"
1602
1249
  }
1603
1250
  },
1604
- autoScale: {
1605
- serializedName: "autoScale",
1251
+ caching: {
1252
+ serializedName: "caching",
1606
1253
  type: {
1607
- name: "Composite",
1608
- className: "AutoScaleSettings"
1254
+ name: "Enum",
1255
+ allowedValues: ["None", "ReadOnly", "ReadWrite"]
1256
+ }
1257
+ },
1258
+ diskSizeGB: {
1259
+ serializedName: "diskSizeGB",
1260
+ required: true,
1261
+ type: {
1262
+ name: "Number"
1263
+ }
1264
+ },
1265
+ storageAccountType: {
1266
+ serializedName: "storageAccountType",
1267
+ type: {
1268
+ name: "Enum",
1269
+ allowedValues: ["Standard_LRS", "Premium_LRS"]
1609
1270
  }
1610
1271
  }
1611
1272
  }
1612
1273
  }
1613
1274
  };
1614
- export var AutoScaleRunError = {
1615
- serializedName: "AutoScaleRunError",
1275
+ export const ContainerConfiguration = {
1616
1276
  type: {
1617
1277
  name: "Composite",
1618
- className: "AutoScaleRunError",
1278
+ className: "ContainerConfiguration",
1619
1279
  modelProperties: {
1620
- code: {
1621
- required: true,
1622
- serializedName: "code",
1280
+ type: {
1281
+ defaultValue: "DockerCompatible",
1282
+ isConstant: true,
1283
+ serializedName: "type",
1623
1284
  type: {
1624
1285
  name: "String"
1625
1286
  }
1626
1287
  },
1627
- message: {
1628
- required: true,
1629
- serializedName: "message",
1288
+ containerImageNames: {
1289
+ serializedName: "containerImageNames",
1630
1290
  type: {
1631
- name: "String"
1291
+ name: "Sequence",
1292
+ element: {
1293
+ type: {
1294
+ name: "String"
1295
+ }
1296
+ }
1632
1297
  }
1633
1298
  },
1634
- details: {
1635
- serializedName: "details",
1299
+ containerRegistries: {
1300
+ serializedName: "containerRegistries",
1636
1301
  type: {
1637
1302
  name: "Sequence",
1638
1303
  element: {
1639
1304
  type: {
1640
1305
  name: "Composite",
1641
- className: "AutoScaleRunError"
1306
+ className: "ContainerRegistry"
1642
1307
  }
1643
1308
  }
1644
1309
  }
@@ -1646,73 +1311,52 @@ export var AutoScaleRunError = {
1646
1311
  }
1647
1312
  }
1648
1313
  };
1649
- export var AutoScaleRun = {
1650
- serializedName: "AutoScaleRun",
1314
+ export const ContainerRegistry = {
1651
1315
  type: {
1652
1316
  name: "Composite",
1653
- className: "AutoScaleRun",
1317
+ className: "ContainerRegistry",
1654
1318
  modelProperties: {
1655
- evaluationTime: {
1656
- required: true,
1657
- serializedName: "evaluationTime",
1319
+ userName: {
1320
+ serializedName: "username",
1658
1321
  type: {
1659
- name: "DateTime"
1322
+ name: "String"
1660
1323
  }
1661
1324
  },
1662
- results: {
1663
- serializedName: "results",
1325
+ password: {
1326
+ serializedName: "password",
1664
1327
  type: {
1665
1328
  name: "String"
1666
1329
  }
1667
1330
  },
1668
- error: {
1669
- serializedName: "error",
1331
+ registryServer: {
1332
+ serializedName: "registryServer",
1333
+ type: {
1334
+ name: "String"
1335
+ }
1336
+ },
1337
+ identityReference: {
1338
+ serializedName: "identityReference",
1670
1339
  type: {
1671
1340
  name: "Composite",
1672
- className: "AutoScaleRunError"
1341
+ className: "ComputeNodeIdentityReference"
1673
1342
  }
1674
1343
  }
1675
1344
  }
1676
1345
  }
1677
1346
  };
1678
- export var NetworkSecurityGroupRule = {
1679
- serializedName: "NetworkSecurityGroupRule",
1347
+ export const DiskEncryptionConfiguration = {
1680
1348
  type: {
1681
1349
  name: "Composite",
1682
- className: "NetworkSecurityGroupRule",
1350
+ className: "DiskEncryptionConfiguration",
1683
1351
  modelProperties: {
1684
- priority: {
1685
- required: true,
1686
- serializedName: "priority",
1687
- type: {
1688
- name: "Number"
1689
- }
1690
- },
1691
- access: {
1692
- required: true,
1693
- serializedName: "access",
1694
- type: {
1695
- name: "Enum",
1696
- allowedValues: [
1697
- "Allow",
1698
- "Deny"
1699
- ]
1700
- }
1701
- },
1702
- sourceAddressPrefix: {
1703
- required: true,
1704
- serializedName: "sourceAddressPrefix",
1705
- type: {
1706
- name: "String"
1707
- }
1708
- },
1709
- sourcePortRanges: {
1710
- serializedName: "sourcePortRanges",
1352
+ targets: {
1353
+ serializedName: "targets",
1711
1354
  type: {
1712
1355
  name: "Sequence",
1713
1356
  element: {
1714
1357
  type: {
1715
- name: "String"
1358
+ name: "Enum",
1359
+ allowedValues: ["OsDisk", "TemporaryDisk"]
1716
1360
  }
1717
1361
  }
1718
1362
  }
@@ -1720,59 +1364,80 @@ export var NetworkSecurityGroupRule = {
1720
1364
  }
1721
1365
  }
1722
1366
  };
1723
- export var InboundNatPool = {
1724
- serializedName: "InboundNatPool",
1367
+ export const NodePlacementConfiguration = {
1725
1368
  type: {
1726
1369
  name: "Composite",
1727
- className: "InboundNatPool",
1370
+ className: "NodePlacementConfiguration",
1371
+ modelProperties: {
1372
+ policy: {
1373
+ serializedName: "policy",
1374
+ type: {
1375
+ name: "Enum",
1376
+ allowedValues: ["Regional", "Zonal"]
1377
+ }
1378
+ }
1379
+ }
1380
+ }
1381
+ };
1382
+ export const VMExtension = {
1383
+ type: {
1384
+ name: "Composite",
1385
+ className: "VMExtension",
1728
1386
  modelProperties: {
1729
1387
  name: {
1730
- required: true,
1731
1388
  serializedName: "name",
1389
+ required: true,
1732
1390
  type: {
1733
1391
  name: "String"
1734
1392
  }
1735
1393
  },
1736
- protocol: {
1394
+ publisher: {
1395
+ serializedName: "publisher",
1737
1396
  required: true,
1738
- serializedName: "protocol",
1739
1397
  type: {
1740
- name: "Enum",
1741
- allowedValues: [
1742
- "TCP",
1743
- "UDP"
1744
- ]
1398
+ name: "String"
1745
1399
  }
1746
1400
  },
1747
- backendPort: {
1401
+ type: {
1402
+ serializedName: "type",
1748
1403
  required: true,
1749
- serializedName: "backendPort",
1750
1404
  type: {
1751
- name: "Number"
1405
+ name: "String"
1752
1406
  }
1753
1407
  },
1754
- frontendPortRangeStart: {
1755
- required: true,
1756
- serializedName: "frontendPortRangeStart",
1408
+ typeHandlerVersion: {
1409
+ serializedName: "typeHandlerVersion",
1757
1410
  type: {
1758
- name: "Number"
1411
+ name: "String"
1759
1412
  }
1760
1413
  },
1761
- frontendPortRangeEnd: {
1762
- required: true,
1763
- serializedName: "frontendPortRangeEnd",
1414
+ autoUpgradeMinorVersion: {
1415
+ serializedName: "autoUpgradeMinorVersion",
1764
1416
  type: {
1765
- name: "Number"
1417
+ name: "Boolean"
1766
1418
  }
1767
1419
  },
1768
- networkSecurityGroupRules: {
1769
- serializedName: "networkSecurityGroupRules",
1420
+ settings: {
1421
+ serializedName: "settings",
1422
+ type: {
1423
+ name: "Dictionary",
1424
+ value: { type: { name: "any" } }
1425
+ }
1426
+ },
1427
+ protectedSettings: {
1428
+ serializedName: "protectedSettings",
1429
+ type: {
1430
+ name: "Dictionary",
1431
+ value: { type: { name: "any" } }
1432
+ }
1433
+ },
1434
+ provisionAfterExtensions: {
1435
+ serializedName: "provisionAfterExtensions",
1770
1436
  type: {
1771
1437
  name: "Sequence",
1772
1438
  element: {
1773
1439
  type: {
1774
- name: "Composite",
1775
- className: "NetworkSecurityGroupRule"
1440
+ name: "String"
1776
1441
  }
1777
1442
  }
1778
1443
  }
@@ -1780,390 +1445,475 @@ export var InboundNatPool = {
1780
1445
  }
1781
1446
  }
1782
1447
  };
1783
- export var PoolEndpointConfiguration = {
1784
- serializedName: "PoolEndpointConfiguration",
1448
+ export const OSDisk = {
1785
1449
  type: {
1786
1450
  name: "Composite",
1787
- className: "PoolEndpointConfiguration",
1451
+ className: "OSDisk",
1788
1452
  modelProperties: {
1789
- inboundNatPools: {
1790
- required: true,
1791
- serializedName: "inboundNatPools",
1453
+ ephemeralOSDiskSettings: {
1454
+ serializedName: "ephemeralOSDiskSettings",
1792
1455
  type: {
1793
- name: "Sequence",
1794
- element: {
1795
- type: {
1796
- name: "Composite",
1797
- className: "InboundNatPool"
1798
- }
1799
- }
1456
+ name: "Composite",
1457
+ className: "DiffDiskSettings"
1800
1458
  }
1801
1459
  }
1802
1460
  }
1803
1461
  }
1804
1462
  };
1805
- export var PublicIPAddressConfiguration = {
1806
- serializedName: "PublicIPAddressConfiguration",
1463
+ export const DiffDiskSettings = {
1807
1464
  type: {
1808
1465
  name: "Composite",
1809
- className: "PublicIPAddressConfiguration",
1466
+ className: "DiffDiskSettings",
1810
1467
  modelProperties: {
1811
- provision: {
1812
- serializedName: "provision",
1813
- type: {
1814
- name: "Enum",
1815
- allowedValues: [
1816
- "BatchManaged",
1817
- "UserManaged",
1818
- "NoPublicIPAddresses"
1819
- ]
1820
- }
1821
- },
1822
- ipAddressIds: {
1823
- serializedName: "ipAddressIds",
1468
+ placement: {
1469
+ defaultValue: "CacheDisk",
1470
+ isConstant: true,
1471
+ serializedName: "placement",
1824
1472
  type: {
1825
- name: "Sequence",
1826
- element: {
1827
- type: {
1828
- name: "String"
1829
- }
1830
- }
1473
+ name: "String"
1831
1474
  }
1832
1475
  }
1833
1476
  }
1834
1477
  }
1835
1478
  };
1836
- export var NetworkConfiguration = {
1837
- serializedName: "NetworkConfiguration",
1479
+ export const ScaleSettings = {
1838
1480
  type: {
1839
1481
  name: "Composite",
1840
- className: "NetworkConfiguration",
1482
+ className: "ScaleSettings",
1841
1483
  modelProperties: {
1842
- subnetId: {
1843
- serializedName: "subnetId",
1844
- type: {
1845
- name: "String"
1846
- }
1847
- },
1848
- endpointConfiguration: {
1849
- serializedName: "endpointConfiguration",
1484
+ fixedScale: {
1485
+ serializedName: "fixedScale",
1850
1486
  type: {
1851
1487
  name: "Composite",
1852
- className: "PoolEndpointConfiguration"
1488
+ className: "FixedScaleSettings"
1853
1489
  }
1854
1490
  },
1855
- publicIPAddressConfiguration: {
1856
- serializedName: "publicIPAddressConfiguration",
1491
+ autoScale: {
1492
+ serializedName: "autoScale",
1857
1493
  type: {
1858
1494
  name: "Composite",
1859
- className: "PublicIPAddressConfiguration"
1495
+ className: "AutoScaleSettings"
1860
1496
  }
1861
1497
  }
1862
1498
  }
1863
1499
  }
1864
1500
  };
1865
- export var TaskSchedulingPolicy = {
1866
- serializedName: "TaskSchedulingPolicy",
1501
+ export const FixedScaleSettings = {
1867
1502
  type: {
1868
1503
  name: "Composite",
1869
- className: "TaskSchedulingPolicy",
1504
+ className: "FixedScaleSettings",
1870
1505
  modelProperties: {
1871
- nodeFillType: {
1872
- required: true,
1873
- serializedName: "nodeFillType",
1506
+ resizeTimeout: {
1507
+ serializedName: "resizeTimeout",
1874
1508
  type: {
1875
- name: "Enum",
1876
- allowedValues: [
1877
- "Spread",
1878
- "Pack"
1879
- ]
1509
+ name: "TimeSpan"
1880
1510
  }
1881
- }
1882
- }
1883
- }
1884
- };
1885
- export var LinuxUserConfiguration = {
1886
- serializedName: "LinuxUserConfiguration",
1887
- type: {
1888
- name: "Composite",
1889
- className: "LinuxUserConfiguration",
1890
- modelProperties: {
1891
- uid: {
1892
- serializedName: "uid",
1511
+ },
1512
+ targetDedicatedNodes: {
1513
+ serializedName: "targetDedicatedNodes",
1893
1514
  type: {
1894
1515
  name: "Number"
1895
1516
  }
1896
1517
  },
1897
- gid: {
1898
- serializedName: "gid",
1518
+ targetLowPriorityNodes: {
1519
+ serializedName: "targetLowPriorityNodes",
1899
1520
  type: {
1900
1521
  name: "Number"
1901
1522
  }
1902
1523
  },
1903
- sshPrivateKey: {
1904
- serializedName: "sshPrivateKey",
1524
+ nodeDeallocationOption: {
1525
+ serializedName: "nodeDeallocationOption",
1905
1526
  type: {
1906
- name: "String"
1527
+ name: "Enum",
1528
+ allowedValues: [
1529
+ "Requeue",
1530
+ "Terminate",
1531
+ "TaskCompletion",
1532
+ "RetainedData"
1533
+ ]
1907
1534
  }
1908
1535
  }
1909
1536
  }
1910
1537
  }
1911
1538
  };
1912
- export var WindowsUserConfiguration = {
1913
- serializedName: "WindowsUserConfiguration",
1539
+ export const AutoScaleSettings = {
1914
1540
  type: {
1915
1541
  name: "Composite",
1916
- className: "WindowsUserConfiguration",
1542
+ className: "AutoScaleSettings",
1917
1543
  modelProperties: {
1918
- loginMode: {
1919
- serializedName: "loginMode",
1544
+ formula: {
1545
+ serializedName: "formula",
1546
+ required: true,
1920
1547
  type: {
1921
- name: "Enum",
1922
- allowedValues: [
1923
- "Batch",
1924
- "Interactive"
1925
- ]
1548
+ name: "String"
1549
+ }
1550
+ },
1551
+ evaluationInterval: {
1552
+ serializedName: "evaluationInterval",
1553
+ type: {
1554
+ name: "TimeSpan"
1926
1555
  }
1927
1556
  }
1928
1557
  }
1929
1558
  }
1930
1559
  };
1931
- export var UserAccount = {
1932
- serializedName: "UserAccount",
1560
+ export const AutoScaleRun = {
1933
1561
  type: {
1934
1562
  name: "Composite",
1935
- className: "UserAccount",
1563
+ className: "AutoScaleRun",
1936
1564
  modelProperties: {
1937
- name: {
1565
+ evaluationTime: {
1566
+ serializedName: "evaluationTime",
1938
1567
  required: true,
1939
- serializedName: "name",
1940
1568
  type: {
1941
- name: "String"
1569
+ name: "DateTime"
1942
1570
  }
1943
1571
  },
1944
- password: {
1945
- required: true,
1946
- serializedName: "password",
1572
+ results: {
1573
+ serializedName: "results",
1947
1574
  type: {
1948
1575
  name: "String"
1949
1576
  }
1950
1577
  },
1951
- elevationLevel: {
1952
- serializedName: "elevationLevel",
1953
- type: {
1954
- name: "Enum",
1955
- allowedValues: [
1956
- "NonAdmin",
1957
- "Admin"
1958
- ]
1959
- }
1960
- },
1961
- linuxUserConfiguration: {
1962
- serializedName: "linuxUserConfiguration",
1963
- type: {
1964
- name: "Composite",
1965
- className: "LinuxUserConfiguration"
1966
- }
1967
- },
1968
- windowsUserConfiguration: {
1969
- serializedName: "windowsUserConfiguration",
1578
+ error: {
1579
+ serializedName: "error",
1970
1580
  type: {
1971
1581
  name: "Composite",
1972
- className: "WindowsUserConfiguration"
1582
+ className: "AutoScaleRunError"
1973
1583
  }
1974
1584
  }
1975
1585
  }
1976
1586
  }
1977
1587
  };
1978
- export var MetadataItem = {
1979
- serializedName: "MetadataItem",
1588
+ export const AutoScaleRunError = {
1980
1589
  type: {
1981
1590
  name: "Composite",
1982
- className: "MetadataItem",
1591
+ className: "AutoScaleRunError",
1983
1592
  modelProperties: {
1984
- name: {
1593
+ code: {
1594
+ serializedName: "code",
1985
1595
  required: true,
1986
- serializedName: "name",
1987
1596
  type: {
1988
1597
  name: "String"
1989
1598
  }
1990
1599
  },
1991
- value: {
1600
+ message: {
1601
+ serializedName: "message",
1992
1602
  required: true,
1993
- serializedName: "value",
1994
1603
  type: {
1995
1604
  name: "String"
1996
1605
  }
1606
+ },
1607
+ details: {
1608
+ serializedName: "details",
1609
+ type: {
1610
+ name: "Sequence",
1611
+ element: {
1612
+ type: {
1613
+ name: "Composite",
1614
+ className: "AutoScaleRunError"
1615
+ }
1616
+ }
1617
+ }
1997
1618
  }
1998
1619
  }
1999
1620
  }
2000
1621
  };
2001
- export var ResourceFile = {
2002
- serializedName: "ResourceFile",
1622
+ export const NetworkConfiguration = {
2003
1623
  type: {
2004
1624
  name: "Composite",
2005
- className: "ResourceFile",
1625
+ className: "NetworkConfiguration",
2006
1626
  modelProperties: {
2007
- autoStorageContainerName: {
2008
- serializedName: "autoStorageContainerName",
1627
+ subnetId: {
1628
+ serializedName: "subnetId",
2009
1629
  type: {
2010
1630
  name: "String"
2011
1631
  }
2012
1632
  },
2013
- storageContainerUrl: {
2014
- serializedName: "storageContainerUrl",
1633
+ endpointConfiguration: {
1634
+ serializedName: "endpointConfiguration",
2015
1635
  type: {
2016
- name: "String"
1636
+ name: "Composite",
1637
+ className: "PoolEndpointConfiguration"
2017
1638
  }
2018
1639
  },
2019
- httpUrl: {
2020
- serializedName: "httpUrl",
1640
+ publicIPAddressConfiguration: {
1641
+ serializedName: "publicIPAddressConfiguration",
2021
1642
  type: {
2022
- name: "String"
2023
- }
2024
- },
2025
- blobPrefix: {
2026
- serializedName: "blobPrefix",
1643
+ name: "Composite",
1644
+ className: "PublicIPAddressConfiguration"
1645
+ }
1646
+ }
1647
+ }
1648
+ }
1649
+ };
1650
+ export const PoolEndpointConfiguration = {
1651
+ type: {
1652
+ name: "Composite",
1653
+ className: "PoolEndpointConfiguration",
1654
+ modelProperties: {
1655
+ inboundNatPools: {
1656
+ serializedName: "inboundNatPools",
1657
+ required: true,
1658
+ type: {
1659
+ name: "Sequence",
1660
+ element: {
1661
+ type: {
1662
+ name: "Composite",
1663
+ className: "InboundNatPool"
1664
+ }
1665
+ }
1666
+ }
1667
+ }
1668
+ }
1669
+ }
1670
+ };
1671
+ export const InboundNatPool = {
1672
+ type: {
1673
+ name: "Composite",
1674
+ className: "InboundNatPool",
1675
+ modelProperties: {
1676
+ name: {
1677
+ serializedName: "name",
1678
+ required: true,
2027
1679
  type: {
2028
1680
  name: "String"
2029
1681
  }
2030
1682
  },
2031
- filePath: {
2032
- serializedName: "filePath",
1683
+ protocol: {
1684
+ serializedName: "protocol",
1685
+ required: true,
2033
1686
  type: {
2034
- name: "String"
1687
+ name: "Enum",
1688
+ allowedValues: ["TCP", "UDP"]
2035
1689
  }
2036
1690
  },
2037
- fileMode: {
2038
- serializedName: "fileMode",
1691
+ backendPort: {
1692
+ serializedName: "backendPort",
1693
+ required: true,
2039
1694
  type: {
2040
- name: "String"
1695
+ name: "Number"
2041
1696
  }
2042
1697
  },
2043
- identityReference: {
2044
- serializedName: "identityReference",
1698
+ frontendPortRangeStart: {
1699
+ serializedName: "frontendPortRangeStart",
1700
+ required: true,
2045
1701
  type: {
2046
- name: "Composite",
2047
- className: "ComputeNodeIdentityReference"
1702
+ name: "Number"
1703
+ }
1704
+ },
1705
+ frontendPortRangeEnd: {
1706
+ serializedName: "frontendPortRangeEnd",
1707
+ required: true,
1708
+ type: {
1709
+ name: "Number"
1710
+ }
1711
+ },
1712
+ networkSecurityGroupRules: {
1713
+ serializedName: "networkSecurityGroupRules",
1714
+ type: {
1715
+ name: "Sequence",
1716
+ element: {
1717
+ type: {
1718
+ name: "Composite",
1719
+ className: "NetworkSecurityGroupRule"
1720
+ }
1721
+ }
2048
1722
  }
2049
1723
  }
2050
1724
  }
2051
1725
  }
2052
1726
  };
2053
- export var EnvironmentSetting = {
2054
- serializedName: "EnvironmentSetting",
1727
+ export const NetworkSecurityGroupRule = {
2055
1728
  type: {
2056
1729
  name: "Composite",
2057
- className: "EnvironmentSetting",
1730
+ className: "NetworkSecurityGroupRule",
2058
1731
  modelProperties: {
2059
- name: {
1732
+ priority: {
1733
+ serializedName: "priority",
2060
1734
  required: true,
2061
- serializedName: "name",
2062
1735
  type: {
2063
- name: "String"
1736
+ name: "Number"
2064
1737
  }
2065
1738
  },
2066
- value: {
2067
- serializedName: "value",
1739
+ access: {
1740
+ serializedName: "access",
1741
+ required: true,
1742
+ type: {
1743
+ name: "Enum",
1744
+ allowedValues: ["Allow", "Deny"]
1745
+ }
1746
+ },
1747
+ sourceAddressPrefix: {
1748
+ serializedName: "sourceAddressPrefix",
1749
+ required: true,
2068
1750
  type: {
2069
1751
  name: "String"
2070
1752
  }
1753
+ },
1754
+ sourcePortRanges: {
1755
+ serializedName: "sourcePortRanges",
1756
+ type: {
1757
+ name: "Sequence",
1758
+ element: {
1759
+ type: {
1760
+ name: "String"
1761
+ }
1762
+ }
1763
+ }
2071
1764
  }
2072
1765
  }
2073
1766
  }
2074
1767
  };
2075
- export var AutoUserSpecification = {
2076
- serializedName: "AutoUserSpecification",
1768
+ export const PublicIPAddressConfiguration = {
2077
1769
  type: {
2078
1770
  name: "Composite",
2079
- className: "AutoUserSpecification",
1771
+ className: "PublicIPAddressConfiguration",
2080
1772
  modelProperties: {
2081
- scope: {
2082
- serializedName: "scope",
1773
+ provision: {
1774
+ serializedName: "provision",
2083
1775
  type: {
2084
1776
  name: "Enum",
2085
- allowedValues: [
2086
- "Task",
2087
- "Pool"
2088
- ]
1777
+ allowedValues: ["BatchManaged", "UserManaged", "NoPublicIPAddresses"]
2089
1778
  }
2090
1779
  },
2091
- elevationLevel: {
2092
- serializedName: "elevationLevel",
1780
+ ipAddressIds: {
1781
+ serializedName: "ipAddressIds",
1782
+ type: {
1783
+ name: "Sequence",
1784
+ element: {
1785
+ type: {
1786
+ name: "String"
1787
+ }
1788
+ }
1789
+ }
1790
+ }
1791
+ }
1792
+ }
1793
+ };
1794
+ export const TaskSchedulingPolicy = {
1795
+ type: {
1796
+ name: "Composite",
1797
+ className: "TaskSchedulingPolicy",
1798
+ modelProperties: {
1799
+ nodeFillType: {
1800
+ serializedName: "nodeFillType",
1801
+ required: true,
2093
1802
  type: {
2094
1803
  name: "Enum",
2095
- allowedValues: [
2096
- "NonAdmin",
2097
- "Admin"
2098
- ]
1804
+ allowedValues: ["Spread", "Pack"]
2099
1805
  }
2100
1806
  }
2101
1807
  }
2102
1808
  }
2103
1809
  };
2104
- export var UserIdentity = {
2105
- serializedName: "UserIdentity",
1810
+ export const UserAccount = {
2106
1811
  type: {
2107
1812
  name: "Composite",
2108
- className: "UserIdentity",
1813
+ className: "UserAccount",
2109
1814
  modelProperties: {
2110
- userName: {
2111
- serializedName: "userName",
1815
+ name: {
1816
+ serializedName: "name",
1817
+ required: true,
2112
1818
  type: {
2113
1819
  name: "String"
2114
1820
  }
2115
1821
  },
2116
- autoUser: {
2117
- serializedName: "autoUser",
1822
+ password: {
1823
+ serializedName: "password",
1824
+ required: true,
1825
+ type: {
1826
+ name: "String"
1827
+ }
1828
+ },
1829
+ elevationLevel: {
1830
+ serializedName: "elevationLevel",
1831
+ type: {
1832
+ name: "Enum",
1833
+ allowedValues: ["NonAdmin", "Admin"]
1834
+ }
1835
+ },
1836
+ linuxUserConfiguration: {
1837
+ serializedName: "linuxUserConfiguration",
2118
1838
  type: {
2119
1839
  name: "Composite",
2120
- className: "AutoUserSpecification"
1840
+ className: "LinuxUserConfiguration"
1841
+ }
1842
+ },
1843
+ windowsUserConfiguration: {
1844
+ serializedName: "windowsUserConfiguration",
1845
+ type: {
1846
+ name: "Composite",
1847
+ className: "WindowsUserConfiguration"
2121
1848
  }
2122
1849
  }
2123
1850
  }
2124
1851
  }
2125
1852
  };
2126
- export var TaskContainerSettings = {
2127
- serializedName: "TaskContainerSettings",
1853
+ export const LinuxUserConfiguration = {
2128
1854
  type: {
2129
1855
  name: "Composite",
2130
- className: "TaskContainerSettings",
1856
+ className: "LinuxUserConfiguration",
2131
1857
  modelProperties: {
2132
- containerRunOptions: {
2133
- serializedName: "containerRunOptions",
1858
+ uid: {
1859
+ serializedName: "uid",
2134
1860
  type: {
2135
- name: "String"
1861
+ name: "Number"
2136
1862
  }
2137
1863
  },
2138
- imageName: {
2139
- required: true,
2140
- serializedName: "imageName",
1864
+ gid: {
1865
+ serializedName: "gid",
2141
1866
  type: {
2142
- name: "String"
1867
+ name: "Number"
2143
1868
  }
2144
1869
  },
2145
- registry: {
2146
- serializedName: "registry",
1870
+ sshPrivateKey: {
1871
+ serializedName: "sshPrivateKey",
2147
1872
  type: {
2148
- name: "Composite",
2149
- className: "ContainerRegistry"
1873
+ name: "String"
2150
1874
  }
2151
- },
2152
- workingDirectory: {
2153
- serializedName: "workingDirectory",
1875
+ }
1876
+ }
1877
+ }
1878
+ };
1879
+ export const WindowsUserConfiguration = {
1880
+ type: {
1881
+ name: "Composite",
1882
+ className: "WindowsUserConfiguration",
1883
+ modelProperties: {
1884
+ loginMode: {
1885
+ serializedName: "loginMode",
2154
1886
  type: {
2155
1887
  name: "Enum",
2156
- allowedValues: [
2157
- "TaskWorkingDirectory",
2158
- "ContainerImageDefault"
2159
- ]
1888
+ allowedValues: ["Batch", "Interactive"]
1889
+ }
1890
+ }
1891
+ }
1892
+ }
1893
+ };
1894
+ export const MetadataItem = {
1895
+ type: {
1896
+ name: "Composite",
1897
+ className: "MetadataItem",
1898
+ modelProperties: {
1899
+ name: {
1900
+ serializedName: "name",
1901
+ required: true,
1902
+ type: {
1903
+ name: "String"
1904
+ }
1905
+ },
1906
+ value: {
1907
+ serializedName: "value",
1908
+ required: true,
1909
+ type: {
1910
+ name: "String"
2160
1911
  }
2161
1912
  }
2162
1913
  }
2163
1914
  }
2164
1915
  };
2165
- export var StartTask = {
2166
- serializedName: "StartTask",
1916
+ export const StartTask = {
2167
1917
  type: {
2168
1918
  name: "Composite",
2169
1919
  className: "StartTask",
@@ -2227,69 +1977,71 @@ export var StartTask = {
2227
1977
  }
2228
1978
  }
2229
1979
  };
2230
- export var CertificateReference = {
2231
- serializedName: "CertificateReference",
1980
+ export const ResourceFile = {
2232
1981
  type: {
2233
1982
  name: "Composite",
2234
- className: "CertificateReference",
1983
+ className: "ResourceFile",
2235
1984
  modelProperties: {
2236
- id: {
2237
- required: true,
2238
- serializedName: "id",
1985
+ autoStorageContainerName: {
1986
+ serializedName: "autoStorageContainerName",
2239
1987
  type: {
2240
1988
  name: "String"
2241
1989
  }
2242
1990
  },
2243
- storeLocation: {
2244
- serializedName: "storeLocation",
1991
+ storageContainerUrl: {
1992
+ serializedName: "storageContainerUrl",
2245
1993
  type: {
2246
- name: "Enum",
2247
- allowedValues: [
2248
- "CurrentUser",
2249
- "LocalMachine"
2250
- ]
1994
+ name: "String"
2251
1995
  }
2252
1996
  },
2253
- storeName: {
2254
- serializedName: "storeName",
1997
+ httpUrl: {
1998
+ serializedName: "httpUrl",
2255
1999
  type: {
2256
2000
  name: "String"
2257
2001
  }
2258
2002
  },
2259
- visibility: {
2260
- serializedName: "visibility",
2003
+ blobPrefix: {
2004
+ serializedName: "blobPrefix",
2261
2005
  type: {
2262
- name: "Sequence",
2263
- element: {
2264
- type: {
2265
- name: "Enum",
2266
- allowedValues: [
2267
- "StartTask",
2268
- "Task",
2269
- "RemoteUser"
2270
- ]
2271
- }
2272
- }
2006
+ name: "String"
2007
+ }
2008
+ },
2009
+ filePath: {
2010
+ serializedName: "filePath",
2011
+ type: {
2012
+ name: "String"
2013
+ }
2014
+ },
2015
+ fileMode: {
2016
+ serializedName: "fileMode",
2017
+ type: {
2018
+ name: "String"
2019
+ }
2020
+ },
2021
+ identityReference: {
2022
+ serializedName: "identityReference",
2023
+ type: {
2024
+ name: "Composite",
2025
+ className: "ComputeNodeIdentityReference"
2273
2026
  }
2274
2027
  }
2275
2028
  }
2276
2029
  }
2277
2030
  };
2278
- export var ApplicationPackageReference = {
2279
- serializedName: "ApplicationPackageReference",
2031
+ export const EnvironmentSetting = {
2280
2032
  type: {
2281
2033
  name: "Composite",
2282
- className: "ApplicationPackageReference",
2034
+ className: "EnvironmentSetting",
2283
2035
  modelProperties: {
2284
- id: {
2036
+ name: {
2037
+ serializedName: "name",
2285
2038
  required: true,
2286
- serializedName: "id",
2287
2039
  type: {
2288
2040
  name: "String"
2289
2041
  }
2290
2042
  },
2291
- version: {
2292
- serializedName: "version",
2043
+ value: {
2044
+ serializedName: "value",
2293
2045
  type: {
2294
2046
  name: "String"
2295
2047
  }
@@ -2297,34 +2049,117 @@ export var ApplicationPackageReference = {
2297
2049
  }
2298
2050
  }
2299
2051
  };
2300
- export var ResizeError = {
2301
- serializedName: "ResizeError",
2052
+ export const UserIdentity = {
2302
2053
  type: {
2303
2054
  name: "Composite",
2304
- className: "ResizeError",
2055
+ className: "UserIdentity",
2305
2056
  modelProperties: {
2306
- code: {
2057
+ userName: {
2058
+ serializedName: "userName",
2059
+ type: {
2060
+ name: "String"
2061
+ }
2062
+ },
2063
+ autoUser: {
2064
+ serializedName: "autoUser",
2065
+ type: {
2066
+ name: "Composite",
2067
+ className: "AutoUserSpecification"
2068
+ }
2069
+ }
2070
+ }
2071
+ }
2072
+ };
2073
+ export const AutoUserSpecification = {
2074
+ type: {
2075
+ name: "Composite",
2076
+ className: "AutoUserSpecification",
2077
+ modelProperties: {
2078
+ scope: {
2079
+ serializedName: "scope",
2080
+ type: {
2081
+ name: "Enum",
2082
+ allowedValues: ["Task", "Pool"]
2083
+ }
2084
+ },
2085
+ elevationLevel: {
2086
+ serializedName: "elevationLevel",
2087
+ type: {
2088
+ name: "Enum",
2089
+ allowedValues: ["NonAdmin", "Admin"]
2090
+ }
2091
+ }
2092
+ }
2093
+ }
2094
+ };
2095
+ export const TaskContainerSettings = {
2096
+ type: {
2097
+ name: "Composite",
2098
+ className: "TaskContainerSettings",
2099
+ modelProperties: {
2100
+ containerRunOptions: {
2101
+ serializedName: "containerRunOptions",
2102
+ type: {
2103
+ name: "String"
2104
+ }
2105
+ },
2106
+ imageName: {
2107
+ serializedName: "imageName",
2307
2108
  required: true,
2308
- serializedName: "code",
2309
2109
  type: {
2310
2110
  name: "String"
2311
2111
  }
2312
2112
  },
2313
- message: {
2113
+ registry: {
2114
+ serializedName: "registry",
2115
+ type: {
2116
+ name: "Composite",
2117
+ className: "ContainerRegistry"
2118
+ }
2119
+ },
2120
+ workingDirectory: {
2121
+ serializedName: "workingDirectory",
2122
+ type: {
2123
+ name: "Enum",
2124
+ allowedValues: ["TaskWorkingDirectory", "ContainerImageDefault"]
2125
+ }
2126
+ }
2127
+ }
2128
+ }
2129
+ };
2130
+ export const CertificateReference = {
2131
+ type: {
2132
+ name: "Composite",
2133
+ className: "CertificateReference",
2134
+ modelProperties: {
2135
+ id: {
2136
+ serializedName: "id",
2314
2137
  required: true,
2315
- serializedName: "message",
2316
2138
  type: {
2317
2139
  name: "String"
2318
2140
  }
2319
2141
  },
2320
- details: {
2321
- serializedName: "details",
2142
+ storeLocation: {
2143
+ serializedName: "storeLocation",
2144
+ type: {
2145
+ name: "Enum",
2146
+ allowedValues: ["CurrentUser", "LocalMachine"]
2147
+ }
2148
+ },
2149
+ storeName: {
2150
+ serializedName: "storeName",
2151
+ type: {
2152
+ name: "String"
2153
+ }
2154
+ },
2155
+ visibility: {
2156
+ serializedName: "visibility",
2322
2157
  type: {
2323
2158
  name: "Sequence",
2324
2159
  element: {
2325
2160
  type: {
2326
- name: "Composite",
2327
- className: "ResizeError"
2161
+ name: "Enum",
2162
+ allowedValues: ["StartTask", "Task", "RemoteUser"]
2328
2163
  }
2329
2164
  }
2330
2165
  }
@@ -2332,8 +2167,28 @@ export var ResizeError = {
2332
2167
  }
2333
2168
  }
2334
2169
  };
2335
- export var ResizeOperationStatus = {
2336
- serializedName: "ResizeOperationStatus",
2170
+ export const ApplicationPackageReference = {
2171
+ type: {
2172
+ name: "Composite",
2173
+ className: "ApplicationPackageReference",
2174
+ modelProperties: {
2175
+ id: {
2176
+ serializedName: "id",
2177
+ required: true,
2178
+ type: {
2179
+ name: "String"
2180
+ }
2181
+ },
2182
+ version: {
2183
+ serializedName: "version",
2184
+ type: {
2185
+ name: "String"
2186
+ }
2187
+ }
2188
+ }
2189
+ }
2190
+ };
2191
+ export const ResizeOperationStatus = {
2337
2192
  type: {
2338
2193
  name: "Composite",
2339
2194
  className: "ResizeOperationStatus",
@@ -2389,22 +2244,91 @@ export var ResizeOperationStatus = {
2389
2244
  }
2390
2245
  }
2391
2246
  };
2392
- export var AzureBlobFileSystemConfiguration = {
2393
- serializedName: "AzureBlobFileSystemConfiguration",
2247
+ export const ResizeError = {
2248
+ type: {
2249
+ name: "Composite",
2250
+ className: "ResizeError",
2251
+ modelProperties: {
2252
+ code: {
2253
+ serializedName: "code",
2254
+ required: true,
2255
+ type: {
2256
+ name: "String"
2257
+ }
2258
+ },
2259
+ message: {
2260
+ serializedName: "message",
2261
+ required: true,
2262
+ type: {
2263
+ name: "String"
2264
+ }
2265
+ },
2266
+ details: {
2267
+ serializedName: "details",
2268
+ type: {
2269
+ name: "Sequence",
2270
+ element: {
2271
+ type: {
2272
+ name: "Composite",
2273
+ className: "ResizeError"
2274
+ }
2275
+ }
2276
+ }
2277
+ }
2278
+ }
2279
+ }
2280
+ };
2281
+ export const MountConfiguration = {
2282
+ type: {
2283
+ name: "Composite",
2284
+ className: "MountConfiguration",
2285
+ modelProperties: {
2286
+ azureBlobFileSystemConfiguration: {
2287
+ serializedName: "azureBlobFileSystemConfiguration",
2288
+ type: {
2289
+ name: "Composite",
2290
+ className: "AzureBlobFileSystemConfiguration"
2291
+ }
2292
+ },
2293
+ nfsMountConfiguration: {
2294
+ serializedName: "nfsMountConfiguration",
2295
+ type: {
2296
+ name: "Composite",
2297
+ className: "NFSMountConfiguration"
2298
+ }
2299
+ },
2300
+ cifsMountConfiguration: {
2301
+ serializedName: "cifsMountConfiguration",
2302
+ type: {
2303
+ name: "Composite",
2304
+ className: "CifsMountConfiguration"
2305
+ }
2306
+ },
2307
+ azureFileShareConfiguration: {
2308
+ serializedName: "azureFileShareConfiguration",
2309
+ type: {
2310
+ name: "Composite",
2311
+ className: "AzureFileShareConfiguration"
2312
+ }
2313
+ }
2314
+ }
2315
+ }
2316
+ };
2317
+ export const AzureBlobFileSystemConfiguration = {
2394
2318
  type: {
2395
2319
  name: "Composite",
2396
2320
  className: "AzureBlobFileSystemConfiguration",
2397
2321
  modelProperties: {
2398
2322
  accountName: {
2399
- required: true,
2400
2323
  serializedName: "accountName",
2324
+ required: true,
2401
2325
  type: {
2402
2326
  name: "String"
2403
2327
  }
2404
2328
  },
2405
2329
  containerName: {
2406
- required: true,
2407
2330
  serializedName: "containerName",
2331
+ required: true,
2408
2332
  type: {
2409
2333
  name: "String"
2410
2334
  }
@@ -2428,8 +2352,8 @@ export var AzureBlobFileSystemConfiguration = {
2428
2352
  }
2429
2353
  },
2430
2354
  relativeMountPath: {
2431
- required: true,
2432
2355
  serializedName: "relativeMountPath",
2356
+ required: true,
2433
2357
  type: {
2434
2358
  name: "String"
2435
2359
  }
@@ -2444,22 +2368,21 @@ export var AzureBlobFileSystemConfiguration = {
2444
2368
  }
2445
2369
  }
2446
2370
  };
2447
- export var NFSMountConfiguration = {
2448
- serializedName: "NFSMountConfiguration",
2371
+ export const NFSMountConfiguration = {
2449
2372
  type: {
2450
2373
  name: "Composite",
2451
2374
  className: "NFSMountConfiguration",
2452
2375
  modelProperties: {
2453
2376
  source: {
2454
- required: true,
2455
2377
  serializedName: "source",
2378
+ required: true,
2456
2379
  type: {
2457
2380
  name: "String"
2458
2381
  }
2459
2382
  },
2460
2383
  relativeMountPath: {
2461
- required: true,
2462
2384
  serializedName: "relativeMountPath",
2385
+ required: true,
2463
2386
  type: {
2464
2387
  name: "String"
2465
2388
  }
@@ -2473,29 +2396,28 @@ export var NFSMountConfiguration = {
2473
2396
  }
2474
2397
  }
2475
2398
  };
2476
- export var CIFSMountConfiguration = {
2477
- serializedName: "CIFSMountConfiguration",
2399
+ export const CifsMountConfiguration = {
2478
2400
  type: {
2479
2401
  name: "Composite",
2480
- className: "CIFSMountConfiguration",
2402
+ className: "CifsMountConfiguration",
2481
2403
  modelProperties: {
2482
2404
  username: {
2483
- required: true,
2484
2405
  serializedName: "username",
2406
+ required: true,
2485
2407
  type: {
2486
2408
  name: "String"
2487
2409
  }
2488
2410
  },
2489
2411
  source: {
2490
- required: true,
2491
2412
  serializedName: "source",
2413
+ required: true,
2492
2414
  type: {
2493
2415
  name: "String"
2494
2416
  }
2495
2417
  },
2496
2418
  relativeMountPath: {
2497
- required: true,
2498
2419
  serializedName: "relativeMountPath",
2420
+ required: true,
2499
2421
  type: {
2500
2422
  name: "String"
2501
2423
  }
@@ -2507,8 +2429,8 @@ export var CIFSMountConfiguration = {
2507
2429
  }
2508
2430
  },
2509
2431
  password: {
2510
- required: true,
2511
2432
  serializedName: "password",
2433
+ required: true,
2512
2434
  type: {
2513
2435
  name: "String"
2514
2436
  }
@@ -2516,36 +2438,35 @@ export var CIFSMountConfiguration = {
2516
2438
  }
2517
2439
  }
2518
2440
  };
2519
- export var AzureFileShareConfiguration = {
2520
- serializedName: "AzureFileShareConfiguration",
2441
+ export const AzureFileShareConfiguration = {
2521
2442
  type: {
2522
2443
  name: "Composite",
2523
2444
  className: "AzureFileShareConfiguration",
2524
2445
  modelProperties: {
2525
2446
  accountName: {
2526
- required: true,
2527
2447
  serializedName: "accountName",
2448
+ required: true,
2528
2449
  type: {
2529
2450
  name: "String"
2530
2451
  }
2531
2452
  },
2532
2453
  azureFileUrl: {
2533
- required: true,
2534
2454
  serializedName: "azureFileUrl",
2455
+ required: true,
2535
2456
  type: {
2536
2457
  name: "String"
2537
2458
  }
2538
2459
  },
2539
2460
  accountKey: {
2540
- required: true,
2541
2461
  serializedName: "accountKey",
2462
+ required: true,
2542
2463
  type: {
2543
2464
  name: "String"
2544
2465
  }
2545
2466
  },
2546
2467
  relativeMountPath: {
2547
- required: true,
2548
2468
  serializedName: "relativeMountPath",
2469
+ required: true,
2549
2470
  type: {
2550
2471
  name: "String"
2551
2472
  }
@@ -2559,68 +2480,79 @@ export var AzureFileShareConfiguration = {
2559
2480
  }
2560
2481
  }
2561
2482
  };
2562
- export var MountConfiguration = {
2563
- serializedName: "MountConfiguration",
2483
+ export const BatchPoolIdentity = {
2564
2484
  type: {
2565
2485
  name: "Composite",
2566
- className: "MountConfiguration",
2486
+ className: "BatchPoolIdentity",
2567
2487
  modelProperties: {
2568
- azureBlobFileSystemConfiguration: {
2569
- serializedName: "azureBlobFileSystemConfiguration",
2488
+ type: {
2489
+ serializedName: "type",
2490
+ required: true,
2570
2491
  type: {
2571
- name: "Composite",
2572
- className: "AzureBlobFileSystemConfiguration"
2492
+ name: "Enum",
2493
+ allowedValues: ["UserAssigned", "None"]
2573
2494
  }
2574
2495
  },
2575
- nfsMountConfiguration: {
2576
- serializedName: "nfsMountConfiguration",
2577
- type: {
2578
- name: "Composite",
2579
- className: "NFSMountConfiguration"
2496
+ userAssignedIdentities: {
2497
+ serializedName: "userAssignedIdentities",
2498
+ type: {
2499
+ name: "Dictionary",
2500
+ value: {
2501
+ type: { name: "Composite", className: "UserAssignedIdentities" }
2502
+ }
2580
2503
  }
2581
- },
2582
- cifsMountConfiguration: {
2583
- serializedName: "cifsMountConfiguration",
2504
+ }
2505
+ }
2506
+ }
2507
+ };
2508
+ export const OutboundEnvironmentEndpointCollection = {
2509
+ type: {
2510
+ name: "Composite",
2511
+ className: "OutboundEnvironmentEndpointCollection",
2512
+ modelProperties: {
2513
+ value: {
2514
+ serializedName: "value",
2515
+ readOnly: true,
2584
2516
  type: {
2585
- name: "Composite",
2586
- className: "CIFSMountConfiguration"
2517
+ name: "Sequence",
2518
+ element: {
2519
+ type: {
2520
+ name: "Composite",
2521
+ className: "OutboundEnvironmentEndpoint"
2522
+ }
2523
+ }
2587
2524
  }
2588
2525
  },
2589
- azureFileShareConfiguration: {
2590
- serializedName: "azureFileShareConfiguration",
2526
+ nextLink: {
2527
+ serializedName: "nextLink",
2591
2528
  type: {
2592
- name: "Composite",
2593
- className: "AzureFileShareConfiguration"
2529
+ name: "String"
2594
2530
  }
2595
2531
  }
2596
2532
  }
2597
2533
  }
2598
2534
  };
2599
- export var BatchPoolIdentity = {
2600
- serializedName: "BatchPoolIdentity",
2535
+ export const OutboundEnvironmentEndpoint = {
2601
2536
  type: {
2602
2537
  name: "Composite",
2603
- className: "BatchPoolIdentity",
2538
+ className: "OutboundEnvironmentEndpoint",
2604
2539
  modelProperties: {
2605
- type: {
2606
- required: true,
2607
- serializedName: "type",
2540
+ category: {
2541
+ serializedName: "category",
2542
+ readOnly: true,
2608
2543
  type: {
2609
- name: "Enum",
2610
- allowedValues: [
2611
- "UserAssigned",
2612
- "None"
2613
- ]
2544
+ name: "String"
2614
2545
  }
2615
2546
  },
2616
- userAssignedIdentities: {
2617
- serializedName: "userAssignedIdentities",
2547
+ endpoints: {
2548
+ serializedName: "endpoints",
2549
+ readOnly: true,
2618
2550
  type: {
2619
- name: "Dictionary",
2620
- value: {
2551
+ name: "Sequence",
2552
+ element: {
2621
2553
  type: {
2622
2554
  name: "Composite",
2623
- className: "UserAssignedIdentities"
2555
+ className: "EndpointDependency"
2624
2556
  }
2625
2557
  }
2626
2558
  }
@@ -2628,153 +2560,425 @@ export var BatchPoolIdentity = {
2628
2560
  }
2629
2561
  }
2630
2562
  };
2631
- export var Pool = {
2632
- serializedName: "Pool",
2563
+ export const EndpointDependency = {
2633
2564
  type: {
2634
2565
  name: "Composite",
2635
- className: "Pool",
2636
- modelProperties: __assign(__assign({}, ProxyResource.type.modelProperties), { displayName: {
2637
- serializedName: "properties.displayName",
2566
+ className: "EndpointDependency",
2567
+ modelProperties: {
2568
+ domainName: {
2569
+ serializedName: "domainName",
2570
+ readOnly: true,
2638
2571
  type: {
2639
2572
  name: "String"
2640
2573
  }
2641
- }, lastModified: {
2574
+ },
2575
+ description: {
2576
+ serializedName: "description",
2642
2577
  readOnly: true,
2643
- serializedName: "properties.lastModified",
2644
2578
  type: {
2645
- name: "DateTime"
2579
+ name: "String"
2646
2580
  }
2647
- }, creationTime: {
2581
+ },
2582
+ endpointDetails: {
2583
+ serializedName: "endpointDetails",
2648
2584
  readOnly: true,
2649
- serializedName: "properties.creationTime",
2650
2585
  type: {
2651
- name: "DateTime"
2586
+ name: "Sequence",
2587
+ element: {
2588
+ type: {
2589
+ name: "Composite",
2590
+ className: "EndpointDetail"
2591
+ }
2592
+ }
2652
2593
  }
2653
- }, provisioningState: {
2594
+ }
2595
+ }
2596
+ }
2597
+ };
2598
+ export const EndpointDetail = {
2599
+ type: {
2600
+ name: "Composite",
2601
+ className: "EndpointDetail",
2602
+ modelProperties: {
2603
+ port: {
2604
+ serializedName: "port",
2654
2605
  readOnly: true,
2655
- serializedName: "properties.provisioningState",
2656
2606
  type: {
2657
- name: "Enum",
2658
- allowedValues: [
2659
- "Succeeded",
2660
- "Deleting"
2661
- ]
2607
+ name: "Number"
2662
2608
  }
2663
- }, provisioningStateTransitionTime: {
2664
- readOnly: true,
2665
- serializedName: "properties.provisioningStateTransitionTime",
2609
+ }
2610
+ }
2611
+ }
2612
+ };
2613
+ export const AutoStorageProperties = {
2614
+ type: {
2615
+ name: "Composite",
2616
+ className: "AutoStorageProperties",
2617
+ modelProperties: Object.assign(Object.assign({}, AutoStorageBaseProperties.type.modelProperties), { lastKeySync: {
2618
+ serializedName: "lastKeySync",
2619
+ required: true,
2666
2620
  type: {
2667
2621
  name: "DateTime"
2668
2622
  }
2669
- }, allocationState: {
2623
+ } })
2624
+ }
2625
+ };
2626
+ export const PrivateEndpointConnection = {
2627
+ type: {
2628
+ name: "Composite",
2629
+ className: "PrivateEndpointConnection",
2630
+ modelProperties: Object.assign(Object.assign({}, ProxyResource.type.modelProperties), { provisioningState: {
2631
+ serializedName: "properties.provisioningState",
2670
2632
  readOnly: true,
2671
- serializedName: "properties.allocationState",
2672
2633
  type: {
2673
2634
  name: "Enum",
2674
- allowedValues: [
2675
- "Steady",
2676
- "Resizing",
2677
- "Stopping"
2678
- ]
2635
+ allowedValues: ["Succeeded", "Updating", "Failed"]
2679
2636
  }
2680
- }, allocationStateTransitionTime: {
2681
- readOnly: true,
2682
- serializedName: "properties.allocationStateTransitionTime",
2637
+ }, privateEndpoint: {
2638
+ serializedName: "properties.privateEndpoint",
2683
2639
  type: {
2684
- name: "DateTime"
2640
+ name: "Composite",
2641
+ className: "PrivateEndpoint"
2685
2642
  }
2686
- }, vmSize: {
2687
- serializedName: "properties.vmSize",
2643
+ }, privateLinkServiceConnectionState: {
2644
+ serializedName: "properties.privateLinkServiceConnectionState",
2688
2645
  type: {
2689
- name: "String"
2646
+ name: "Composite",
2647
+ className: "PrivateLinkServiceConnectionState"
2690
2648
  }
2691
- }, deploymentConfiguration: {
2692
- serializedName: "properties.deploymentConfiguration",
2649
+ } })
2650
+ }
2651
+ };
2652
+ export const ApplicationPackage = {
2653
+ type: {
2654
+ name: "Composite",
2655
+ className: "ApplicationPackage",
2656
+ modelProperties: Object.assign(Object.assign({}, ProxyResource.type.modelProperties), { state: {
2657
+ serializedName: "properties.state",
2658
+ readOnly: true,
2693
2659
  type: {
2694
- name: "Composite",
2695
- className: "DeploymentConfiguration"
2660
+ name: "Enum",
2661
+ allowedValues: ["Pending", "Active"]
2696
2662
  }
2697
- }, currentDedicatedNodes: {
2663
+ }, format: {
2664
+ serializedName: "properties.format",
2698
2665
  readOnly: true,
2699
- serializedName: "properties.currentDedicatedNodes",
2700
2666
  type: {
2701
- name: "Number"
2667
+ name: "String"
2702
2668
  }
2703
- }, currentLowPriorityNodes: {
2669
+ }, storageUrl: {
2670
+ serializedName: "properties.storageUrl",
2704
2671
  readOnly: true,
2705
- serializedName: "properties.currentLowPriorityNodes",
2706
2672
  type: {
2707
- name: "Number"
2673
+ name: "String"
2708
2674
  }
2709
- }, scaleSettings: {
2710
- serializedName: "properties.scaleSettings",
2675
+ }, storageUrlExpiry: {
2676
+ serializedName: "properties.storageUrlExpiry",
2677
+ readOnly: true,
2711
2678
  type: {
2712
- name: "Composite",
2713
- className: "ScaleSettings"
2679
+ name: "DateTime"
2714
2680
  }
2715
- }, autoScaleRun: {
2681
+ }, lastActivationTime: {
2682
+ serializedName: "properties.lastActivationTime",
2716
2683
  readOnly: true,
2717
- serializedName: "properties.autoScaleRun",
2718
2684
  type: {
2719
- name: "Composite",
2720
- className: "AutoScaleRun"
2685
+ name: "DateTime"
2721
2686
  }
2722
- }, interNodeCommunication: {
2723
- serializedName: "properties.interNodeCommunication",
2687
+ } })
2688
+ }
2689
+ };
2690
+ export const Application = {
2691
+ type: {
2692
+ name: "Composite",
2693
+ className: "Application",
2694
+ modelProperties: Object.assign(Object.assign({}, ProxyResource.type.modelProperties), { displayName: {
2695
+ serializedName: "properties.displayName",
2724
2696
  type: {
2725
- name: "Enum",
2726
- allowedValues: [
2727
- "Enabled",
2728
- "Disabled"
2729
- ]
2697
+ name: "String"
2730
2698
  }
2731
- }, networkConfiguration: {
2732
- serializedName: "properties.networkConfiguration",
2699
+ }, allowUpdates: {
2700
+ serializedName: "properties.allowUpdates",
2733
2701
  type: {
2734
- name: "Composite",
2735
- className: "NetworkConfiguration"
2702
+ name: "Boolean"
2736
2703
  }
2737
- }, taskSlotsPerNode: {
2738
- serializedName: "properties.taskSlotsPerNode",
2704
+ }, defaultVersion: {
2705
+ serializedName: "properties.defaultVersion",
2739
2706
  type: {
2740
- name: "Number"
2707
+ name: "String"
2741
2708
  }
2742
- }, taskSchedulingPolicy: {
2743
- serializedName: "properties.taskSchedulingPolicy",
2709
+ } })
2710
+ }
2711
+ };
2712
+ export const Certificate = {
2713
+ type: {
2714
+ name: "Composite",
2715
+ className: "Certificate",
2716
+ modelProperties: Object.assign(Object.assign({}, ProxyResource.type.modelProperties), { thumbprintAlgorithm: {
2717
+ serializedName: "properties.thumbprintAlgorithm",
2744
2718
  type: {
2745
- name: "Composite",
2746
- className: "TaskSchedulingPolicy"
2719
+ name: "String"
2747
2720
  }
2748
- }, userAccounts: {
2749
- serializedName: "properties.userAccounts",
2721
+ }, thumbprint: {
2722
+ serializedName: "properties.thumbprint",
2750
2723
  type: {
2751
- name: "Sequence",
2752
- element: {
2753
- type: {
2754
- name: "Composite",
2755
- className: "UserAccount"
2756
- }
2757
- }
2724
+ name: "String"
2758
2725
  }
2759
- }, metadata: {
2760
- serializedName: "properties.metadata",
2726
+ }, format: {
2727
+ serializedName: "properties.format",
2761
2728
  type: {
2762
- name: "Sequence",
2763
- element: {
2764
- type: {
2765
- name: "Composite",
2766
- className: "MetadataItem"
2767
- }
2768
- }
2729
+ name: "Enum",
2730
+ allowedValues: ["Pfx", "Cer"]
2769
2731
  }
2770
- }, startTask: {
2771
- serializedName: "properties.startTask",
2732
+ }, provisioningState: {
2733
+ serializedName: "properties.provisioningState",
2734
+ readOnly: true,
2772
2735
  type: {
2773
- name: "Composite",
2774
- className: "StartTask"
2736
+ name: "Enum",
2737
+ allowedValues: ["Succeeded", "Deleting", "Failed"]
2775
2738
  }
2776
- }, certificates: {
2777
- serializedName: "properties.certificates",
2739
+ }, provisioningStateTransitionTime: {
2740
+ serializedName: "properties.provisioningStateTransitionTime",
2741
+ readOnly: true,
2742
+ type: {
2743
+ name: "DateTime"
2744
+ }
2745
+ }, previousProvisioningState: {
2746
+ serializedName: "properties.previousProvisioningState",
2747
+ readOnly: true,
2748
+ type: {
2749
+ name: "Enum",
2750
+ allowedValues: ["Succeeded", "Deleting", "Failed"]
2751
+ }
2752
+ }, previousProvisioningStateTransitionTime: {
2753
+ serializedName: "properties.previousProvisioningStateTransitionTime",
2754
+ readOnly: true,
2755
+ type: {
2756
+ name: "DateTime"
2757
+ }
2758
+ }, publicData: {
2759
+ serializedName: "properties.publicData",
2760
+ readOnly: true,
2761
+ type: {
2762
+ name: "String"
2763
+ }
2764
+ }, deleteCertificateError: {
2765
+ serializedName: "properties.deleteCertificateError",
2766
+ type: {
2767
+ name: "Composite",
2768
+ className: "DeleteCertificateError"
2769
+ }
2770
+ } })
2771
+ }
2772
+ };
2773
+ export const CertificateCreateOrUpdateParameters = {
2774
+ type: {
2775
+ name: "Composite",
2776
+ className: "CertificateCreateOrUpdateParameters",
2777
+ modelProperties: Object.assign(Object.assign({}, ProxyResource.type.modelProperties), { thumbprintAlgorithm: {
2778
+ serializedName: "properties.thumbprintAlgorithm",
2779
+ type: {
2780
+ name: "String"
2781
+ }
2782
+ }, thumbprint: {
2783
+ serializedName: "properties.thumbprint",
2784
+ type: {
2785
+ name: "String"
2786
+ }
2787
+ }, format: {
2788
+ serializedName: "properties.format",
2789
+ type: {
2790
+ name: "Enum",
2791
+ allowedValues: ["Pfx", "Cer"]
2792
+ }
2793
+ }, data: {
2794
+ serializedName: "properties.data",
2795
+ type: {
2796
+ name: "String"
2797
+ }
2798
+ }, password: {
2799
+ serializedName: "properties.password",
2800
+ type: {
2801
+ name: "String"
2802
+ }
2803
+ } })
2804
+ }
2805
+ };
2806
+ export const PrivateLinkResource = {
2807
+ type: {
2808
+ name: "Composite",
2809
+ className: "PrivateLinkResource",
2810
+ modelProperties: Object.assign(Object.assign({}, ProxyResource.type.modelProperties), { groupId: {
2811
+ serializedName: "properties.groupId",
2812
+ readOnly: true,
2813
+ type: {
2814
+ name: "String"
2815
+ }
2816
+ }, requiredMembers: {
2817
+ serializedName: "properties.requiredMembers",
2818
+ readOnly: true,
2819
+ type: {
2820
+ name: "Sequence",
2821
+ element: {
2822
+ type: {
2823
+ name: "String"
2824
+ }
2825
+ }
2826
+ }
2827
+ }, requiredZoneNames: {
2828
+ serializedName: "properties.requiredZoneNames",
2829
+ readOnly: true,
2830
+ type: {
2831
+ name: "Sequence",
2832
+ element: {
2833
+ type: {
2834
+ name: "String"
2835
+ }
2836
+ }
2837
+ }
2838
+ } })
2839
+ }
2840
+ };
2841
+ export const Pool = {
2842
+ type: {
2843
+ name: "Composite",
2844
+ className: "Pool",
2845
+ modelProperties: Object.assign(Object.assign({}, ProxyResource.type.modelProperties), { identity: {
2846
+ serializedName: "identity",
2847
+ type: {
2848
+ name: "Composite",
2849
+ className: "BatchPoolIdentity"
2850
+ }
2851
+ }, displayName: {
2852
+ serializedName: "properties.displayName",
2853
+ type: {
2854
+ name: "String"
2855
+ }
2856
+ }, lastModified: {
2857
+ serializedName: "properties.lastModified",
2858
+ readOnly: true,
2859
+ type: {
2860
+ name: "DateTime"
2861
+ }
2862
+ }, creationTime: {
2863
+ serializedName: "properties.creationTime",
2864
+ readOnly: true,
2865
+ type: {
2866
+ name: "DateTime"
2867
+ }
2868
+ }, provisioningState: {
2869
+ serializedName: "properties.provisioningState",
2870
+ readOnly: true,
2871
+ type: {
2872
+ name: "Enum",
2873
+ allowedValues: ["Succeeded", "Deleting"]
2874
+ }
2875
+ }, provisioningStateTransitionTime: {
2876
+ serializedName: "properties.provisioningStateTransitionTime",
2877
+ readOnly: true,
2878
+ type: {
2879
+ name: "DateTime"
2880
+ }
2881
+ }, allocationState: {
2882
+ serializedName: "properties.allocationState",
2883
+ readOnly: true,
2884
+ type: {
2885
+ name: "Enum",
2886
+ allowedValues: ["Steady", "Resizing", "Stopping"]
2887
+ }
2888
+ }, allocationStateTransitionTime: {
2889
+ serializedName: "properties.allocationStateTransitionTime",
2890
+ readOnly: true,
2891
+ type: {
2892
+ name: "DateTime"
2893
+ }
2894
+ }, vmSize: {
2895
+ serializedName: "properties.vmSize",
2896
+ type: {
2897
+ name: "String"
2898
+ }
2899
+ }, deploymentConfiguration: {
2900
+ serializedName: "properties.deploymentConfiguration",
2901
+ type: {
2902
+ name: "Composite",
2903
+ className: "DeploymentConfiguration"
2904
+ }
2905
+ }, currentDedicatedNodes: {
2906
+ serializedName: "properties.currentDedicatedNodes",
2907
+ readOnly: true,
2908
+ type: {
2909
+ name: "Number"
2910
+ }
2911
+ }, currentLowPriorityNodes: {
2912
+ serializedName: "properties.currentLowPriorityNodes",
2913
+ readOnly: true,
2914
+ type: {
2915
+ name: "Number"
2916
+ }
2917
+ }, scaleSettings: {
2918
+ serializedName: "properties.scaleSettings",
2919
+ type: {
2920
+ name: "Composite",
2921
+ className: "ScaleSettings"
2922
+ }
2923
+ }, autoScaleRun: {
2924
+ serializedName: "properties.autoScaleRun",
2925
+ type: {
2926
+ name: "Composite",
2927
+ className: "AutoScaleRun"
2928
+ }
2929
+ }, interNodeCommunication: {
2930
+ serializedName: "properties.interNodeCommunication",
2931
+ type: {
2932
+ name: "Enum",
2933
+ allowedValues: ["Enabled", "Disabled"]
2934
+ }
2935
+ }, networkConfiguration: {
2936
+ serializedName: "properties.networkConfiguration",
2937
+ type: {
2938
+ name: "Composite",
2939
+ className: "NetworkConfiguration"
2940
+ }
2941
+ }, taskSlotsPerNode: {
2942
+ serializedName: "properties.taskSlotsPerNode",
2943
+ type: {
2944
+ name: "Number"
2945
+ }
2946
+ }, taskSchedulingPolicy: {
2947
+ serializedName: "properties.taskSchedulingPolicy",
2948
+ type: {
2949
+ name: "Composite",
2950
+ className: "TaskSchedulingPolicy"
2951
+ }
2952
+ }, userAccounts: {
2953
+ serializedName: "properties.userAccounts",
2954
+ type: {
2955
+ name: "Sequence",
2956
+ element: {
2957
+ type: {
2958
+ name: "Composite",
2959
+ className: "UserAccount"
2960
+ }
2961
+ }
2962
+ }
2963
+ }, metadata: {
2964
+ serializedName: "properties.metadata",
2965
+ type: {
2966
+ name: "Sequence",
2967
+ element: {
2968
+ type: {
2969
+ name: "Composite",
2970
+ className: "MetadataItem"
2971
+ }
2972
+ }
2973
+ }
2974
+ }, startTask: {
2975
+ serializedName: "properties.startTask",
2976
+ type: {
2977
+ name: "Composite",
2978
+ className: "StartTask"
2979
+ }
2980
+ }, certificates: {
2981
+ serializedName: "properties.certificates",
2778
2982
  type: {
2779
2983
  name: "Sequence",
2780
2984
  element: {
@@ -2806,7 +3010,6 @@ export var Pool = {
2806
3010
  }
2807
3011
  }
2808
3012
  }, resizeOperationStatus: {
2809
- readOnly: true,
2810
3013
  serializedName: "properties.resizeOperationStatus",
2811
3014
  type: {
2812
3015
  name: "Composite",
@@ -2823,294 +3026,215 @@ export var Pool = {
2823
3026
  }
2824
3027
  }
2825
3028
  }
2826
- }, identity: {
2827
- serializedName: "identity",
2828
- type: {
2829
- name: "Composite",
2830
- className: "BatchPoolIdentity"
2831
- }
2832
3029
  } })
2833
3030
  }
2834
3031
  };
2835
- export var SkuCapability = {
2836
- serializedName: "SkuCapability",
3032
+ export const BatchAccount = {
2837
3033
  type: {
2838
3034
  name: "Composite",
2839
- className: "SkuCapability",
2840
- modelProperties: {
2841
- name: {
3035
+ className: "BatchAccount",
3036
+ modelProperties: Object.assign(Object.assign({}, Resource.type.modelProperties), { identity: {
3037
+ serializedName: "identity",
3038
+ type: {
3039
+ name: "Composite",
3040
+ className: "BatchAccountIdentity"
3041
+ }
3042
+ }, accountEndpoint: {
3043
+ serializedName: "properties.accountEndpoint",
2842
3044
  readOnly: true,
2843
- serializedName: "name",
2844
3045
  type: {
2845
3046
  name: "String"
2846
3047
  }
2847
- },
2848
- value: {
3048
+ }, provisioningState: {
3049
+ serializedName: "properties.provisioningState",
2849
3050
  readOnly: true,
2850
- serializedName: "value",
2851
3051
  type: {
2852
- name: "String"
3052
+ name: "Enum",
3053
+ allowedValues: [
3054
+ "Invalid",
3055
+ "Creating",
3056
+ "Deleting",
3057
+ "Succeeded",
3058
+ "Failed",
3059
+ "Cancelled"
3060
+ ]
2853
3061
  }
2854
- }
2855
- }
2856
- }
2857
- };
2858
- export var SupportedSku = {
2859
- serializedName: "SupportedSku",
2860
- type: {
2861
- name: "Composite",
2862
- className: "SupportedSku",
2863
- modelProperties: {
2864
- name: {
3062
+ }, poolAllocationMode: {
3063
+ serializedName: "properties.poolAllocationMode",
2865
3064
  readOnly: true,
2866
- serializedName: "name",
2867
3065
  type: {
2868
- name: "String"
3066
+ name: "Enum",
3067
+ allowedValues: ["BatchService", "UserSubscription"]
2869
3068
  }
2870
- },
2871
- familyName: {
3069
+ }, keyVaultReference: {
3070
+ serializedName: "properties.keyVaultReference",
3071
+ type: {
3072
+ name: "Composite",
3073
+ className: "KeyVaultReference"
3074
+ }
3075
+ }, publicNetworkAccess: {
3076
+ defaultValue: "Enabled",
3077
+ serializedName: "properties.publicNetworkAccess",
2872
3078
  readOnly: true,
2873
- serializedName: "familyName",
3079
+ nullable: true,
2874
3080
  type: {
2875
- name: "String"
3081
+ name: "Enum",
3082
+ allowedValues: ["Enabled", "Disabled"]
2876
3083
  }
2877
- },
2878
- capabilities: {
3084
+ }, privateEndpointConnections: {
3085
+ serializedName: "properties.privateEndpointConnections",
2879
3086
  readOnly: true,
2880
- serializedName: "capabilities",
3087
+ nullable: true,
2881
3088
  type: {
2882
3089
  name: "Sequence",
2883
3090
  element: {
2884
3091
  type: {
2885
3092
  name: "Composite",
2886
- className: "SkuCapability"
3093
+ className: "PrivateEndpointConnection"
2887
3094
  }
2888
3095
  }
2889
3096
  }
2890
- }
2891
- }
2892
- }
2893
- };
2894
- export var OperationDisplay = {
2895
- serializedName: "Operation_display",
2896
- type: {
2897
- name: "Composite",
2898
- className: "OperationDisplay",
2899
- modelProperties: {
2900
- provider: {
2901
- serializedName: "provider",
3097
+ }, autoStorage: {
3098
+ serializedName: "properties.autoStorage",
2902
3099
  type: {
2903
- name: "String"
3100
+ name: "Composite",
3101
+ className: "AutoStorageProperties"
2904
3102
  }
2905
- },
2906
- operation: {
2907
- serializedName: "operation",
3103
+ }, encryption: {
3104
+ serializedName: "properties.encryption",
2908
3105
  type: {
2909
- name: "String"
3106
+ name: "Composite",
3107
+ className: "EncryptionProperties"
2910
3108
  }
2911
- },
2912
- resource: {
2913
- serializedName: "resource",
3109
+ }, dedicatedCoreQuota: {
3110
+ serializedName: "properties.dedicatedCoreQuota",
3111
+ readOnly: true,
3112
+ nullable: true,
2914
3113
  type: {
2915
- name: "String"
3114
+ name: "Number"
2916
3115
  }
2917
- },
2918
- description: {
2919
- serializedName: "description",
3116
+ }, lowPriorityCoreQuota: {
3117
+ serializedName: "properties.lowPriorityCoreQuota",
3118
+ readOnly: true,
3119
+ nullable: true,
2920
3120
  type: {
2921
- name: "String"
3121
+ name: "Number"
2922
3122
  }
2923
- }
2924
- }
2925
- }
2926
- };
2927
- export var Operation = {
2928
- serializedName: "Operation",
2929
- type: {
2930
- name: "Composite",
2931
- className: "Operation",
2932
- modelProperties: {
2933
- name: {
2934
- serializedName: "name",
3123
+ }, dedicatedCoreQuotaPerVMFamily: {
3124
+ serializedName: "properties.dedicatedCoreQuotaPerVMFamily",
3125
+ readOnly: true,
3126
+ nullable: true,
2935
3127
  type: {
2936
- name: "String"
3128
+ name: "Sequence",
3129
+ element: {
3130
+ type: {
3131
+ name: "Composite",
3132
+ className: "VirtualMachineFamilyCoreQuota"
3133
+ }
3134
+ }
2937
3135
  }
2938
- },
2939
- isDataAction: {
2940
- serializedName: "isDataAction",
3136
+ }, dedicatedCoreQuotaPerVMFamilyEnforced: {
3137
+ serializedName: "properties.dedicatedCoreQuotaPerVMFamilyEnforced",
3138
+ readOnly: true,
2941
3139
  type: {
2942
3140
  name: "Boolean"
2943
3141
  }
2944
- },
2945
- display: {
2946
- serializedName: "display",
2947
- type: {
2948
- name: "Composite",
2949
- className: "OperationDisplay"
2950
- }
2951
- },
2952
- origin: {
2953
- serializedName: "origin",
2954
- type: {
2955
- name: "String"
2956
- }
2957
- },
2958
- properties: {
2959
- serializedName: "properties",
3142
+ }, poolQuota: {
3143
+ serializedName: "properties.poolQuota",
3144
+ readOnly: true,
2960
3145
  type: {
2961
- name: "Object"
3146
+ name: "Number"
2962
3147
  }
2963
- }
2964
- }
2965
- }
2966
- };
2967
- export var CheckNameAvailabilityParameters = {
2968
- serializedName: "CheckNameAvailabilityParameters",
2969
- type: {
2970
- name: "Composite",
2971
- className: "CheckNameAvailabilityParameters",
2972
- modelProperties: {
2973
- name: {
2974
- required: true,
2975
- serializedName: "name",
3148
+ }, activeJobAndJobScheduleQuota: {
3149
+ serializedName: "properties.activeJobAndJobScheduleQuota",
3150
+ readOnly: true,
2976
3151
  type: {
2977
- name: "String"
3152
+ name: "Number"
2978
3153
  }
2979
- },
2980
- type: {
2981
- required: true,
2982
- isConstant: true,
2983
- serializedName: "type",
2984
- defaultValue: 'Microsoft.Batch/batchAccounts',
3154
+ }, allowedAuthenticationModes: {
3155
+ serializedName: "properties.allowedAuthenticationModes",
3156
+ readOnly: true,
2985
3157
  type: {
2986
- name: "String"
3158
+ name: "Sequence",
3159
+ element: {
3160
+ type: {
3161
+ name: "Enum",
3162
+ allowedValues: ["SharedKey", "AAD", "TaskAuthenticationToken"]
3163
+ }
3164
+ }
2987
3165
  }
2988
- }
2989
- }
3166
+ } })
2990
3167
  }
2991
3168
  };
2992
- export var CheckNameAvailabilityResult = {
2993
- serializedName: "CheckNameAvailabilityResult",
3169
+ export const CertificateProperties = {
2994
3170
  type: {
2995
3171
  name: "Composite",
2996
- className: "CheckNameAvailabilityResult",
2997
- modelProperties: {
2998
- nameAvailable: {
3172
+ className: "CertificateProperties",
3173
+ modelProperties: Object.assign(Object.assign({}, CertificateBaseProperties.type.modelProperties), { provisioningState: {
3174
+ serializedName: "provisioningState",
2999
3175
  readOnly: true,
3000
- serializedName: "nameAvailable",
3001
- type: {
3002
- name: "Boolean"
3003
- }
3004
- },
3005
- reason: {
3006
- readOnly: true,
3007
- serializedName: "reason",
3008
3176
  type: {
3009
3177
  name: "Enum",
3010
- allowedValues: [
3011
- "Invalid",
3012
- "AlreadyExists"
3013
- ]
3178
+ allowedValues: ["Succeeded", "Deleting", "Failed"]
3014
3179
  }
3015
- },
3016
- message: {
3180
+ }, provisioningStateTransitionTime: {
3181
+ serializedName: "provisioningStateTransitionTime",
3017
3182
  readOnly: true,
3018
- serializedName: "message",
3019
3183
  type: {
3020
- name: "String"
3184
+ name: "DateTime"
3021
3185
  }
3022
- }
3023
- }
3024
- }
3025
- };
3026
- export var EndpointDetail = {
3027
- serializedName: "EndpointDetail",
3028
- type: {
3029
- name: "Composite",
3030
- className: "EndpointDetail",
3031
- modelProperties: {
3032
- port: {
3186
+ }, previousProvisioningState: {
3187
+ serializedName: "previousProvisioningState",
3033
3188
  readOnly: true,
3034
- serializedName: "port",
3035
3189
  type: {
3036
- name: "Number"
3190
+ name: "Enum",
3191
+ allowedValues: ["Succeeded", "Deleting", "Failed"]
3037
3192
  }
3038
- }
3039
- }
3040
- }
3041
- };
3042
- export var EndpointDependency = {
3043
- serializedName: "EndpointDependency",
3044
- type: {
3045
- name: "Composite",
3046
- className: "EndpointDependency",
3047
- modelProperties: {
3048
- domainName: {
3193
+ }, previousProvisioningStateTransitionTime: {
3194
+ serializedName: "previousProvisioningStateTransitionTime",
3049
3195
  readOnly: true,
3050
- serializedName: "domainName",
3051
3196
  type: {
3052
- name: "String"
3197
+ name: "DateTime"
3053
3198
  }
3054
- },
3055
- description: {
3199
+ }, publicData: {
3200
+ serializedName: "publicData",
3056
3201
  readOnly: true,
3057
- serializedName: "description",
3058
3202
  type: {
3059
3203
  name: "String"
3060
3204
  }
3061
- },
3062
- endpointDetails: {
3063
- readOnly: true,
3064
- serializedName: "endpointDetails",
3205
+ }, deleteCertificateError: {
3206
+ serializedName: "deleteCertificateError",
3065
3207
  type: {
3066
- name: "Sequence",
3067
- element: {
3068
- type: {
3069
- name: "Composite",
3070
- className: "EndpointDetail"
3071
- }
3072
- }
3208
+ name: "Composite",
3209
+ className: "DeleteCertificateError"
3073
3210
  }
3074
- }
3075
- }
3211
+ } })
3076
3212
  }
3077
3213
  };
3078
- export var OutboundEnvironmentEndpoint = {
3079
- serializedName: "OutboundEnvironmentEndpoint",
3214
+ export const CertificateCreateOrUpdateProperties = {
3080
3215
  type: {
3081
3216
  name: "Composite",
3082
- className: "OutboundEnvironmentEndpoint",
3083
- modelProperties: {
3084
- category: {
3085
- readOnly: true,
3086
- serializedName: "category",
3217
+ className: "CertificateCreateOrUpdateProperties",
3218
+ modelProperties: Object.assign(Object.assign({}, CertificateBaseProperties.type.modelProperties), { data: {
3219
+ serializedName: "data",
3220
+ required: true,
3087
3221
  type: {
3088
3222
  name: "String"
3089
3223
  }
3090
- },
3091
- endpoints: {
3092
- readOnly: true,
3093
- serializedName: "endpoints",
3224
+ }, password: {
3225
+ serializedName: "password",
3094
3226
  type: {
3095
- name: "Sequence",
3096
- element: {
3097
- type: {
3098
- name: "Composite",
3099
- className: "EndpointDependency"
3100
- }
3101
- }
3227
+ name: "String"
3102
3228
  }
3103
- }
3104
- }
3229
+ } })
3105
3230
  }
3106
3231
  };
3107
- export var BatchAccountCreateHeaders = {
3108
- serializedName: "batchaccount-create-headers",
3232
+ export const BatchAccountCreateHeaders = {
3109
3233
  type: {
3110
3234
  name: "Composite",
3111
3235
  className: "BatchAccountCreateHeaders",
3112
3236
  modelProperties: {
3113
- locationHeader: {
3237
+ location: {
3114
3238
  serializedName: "location",
3115
3239
  type: {
3116
3240
  name: "String"
@@ -3125,8 +3249,7 @@ export var BatchAccountCreateHeaders = {
3125
3249
  }
3126
3250
  }
3127
3251
  };
3128
- export var BatchAccountDeleteHeaders = {
3129
- serializedName: "batchaccount-delete-headers",
3252
+ export const BatchAccountDeleteHeaders = {
3130
3253
  type: {
3131
3254
  name: "Composite",
3132
3255
  className: "BatchAccountDeleteHeaders",
@@ -3146,8 +3269,7 @@ export var BatchAccountDeleteHeaders = {
3146
3269
  }
3147
3270
  }
3148
3271
  };
3149
- export var CertificateCreateHeaders = {
3150
- serializedName: "certificate-create-headers",
3272
+ export const CertificateCreateHeaders = {
3151
3273
  type: {
3152
3274
  name: "Composite",
3153
3275
  className: "CertificateCreateHeaders",
@@ -3161,8 +3283,7 @@ export var CertificateCreateHeaders = {
3161
3283
  }
3162
3284
  }
3163
3285
  };
3164
- export var CertificateUpdateHeaders = {
3165
- serializedName: "certificate-update-headers",
3286
+ export const CertificateUpdateHeaders = {
3166
3287
  type: {
3167
3288
  name: "Composite",
3168
3289
  className: "CertificateUpdateHeaders",
@@ -3176,8 +3297,7 @@ export var CertificateUpdateHeaders = {
3176
3297
  }
3177
3298
  }
3178
3299
  };
3179
- export var CertificateDeleteHeaders = {
3180
- serializedName: "certificate-delete-headers",
3300
+ export const CertificateDeleteHeaders = {
3181
3301
  type: {
3182
3302
  name: "Composite",
3183
3303
  className: "CertificateDeleteHeaders",
@@ -3197,8 +3317,7 @@ export var CertificateDeleteHeaders = {
3197
3317
  }
3198
3318
  }
3199
3319
  };
3200
- export var CertificateGetHeaders = {
3201
- serializedName: "certificate-get-headers",
3320
+ export const CertificateGetHeaders = {
3202
3321
  type: {
3203
3322
  name: "Composite",
3204
3323
  className: "CertificateGetHeaders",
@@ -3212,8 +3331,7 @@ export var CertificateGetHeaders = {
3212
3331
  }
3213
3332
  }
3214
3333
  };
3215
- export var CertificateCancelDeletionHeaders = {
3216
- serializedName: "certificate-canceldeletion-headers",
3334
+ export const CertificateCancelDeletionHeaders = {
3217
3335
  type: {
3218
3336
  name: "Composite",
3219
3337
  className: "CertificateCancelDeletionHeaders",
@@ -3227,8 +3345,7 @@ export var CertificateCancelDeletionHeaders = {
3227
3345
  }
3228
3346
  }
3229
3347
  };
3230
- export var PrivateEndpointConnectionUpdateHeaders = {
3231
- serializedName: "privateendpointconnection-update-headers",
3348
+ export const PrivateEndpointConnectionUpdateHeaders = {
3232
3349
  type: {
3233
3350
  name: "Composite",
3234
3351
  className: "PrivateEndpointConnectionUpdateHeaders",
@@ -3248,8 +3365,7 @@ export var PrivateEndpointConnectionUpdateHeaders = {
3248
3365
  }
3249
3366
  }
3250
3367
  };
3251
- export var PoolCreateHeaders = {
3252
- serializedName: "pool-create-headers",
3368
+ export const PoolCreateHeaders = {
3253
3369
  type: {
3254
3370
  name: "Composite",
3255
3371
  className: "PoolCreateHeaders",
@@ -3263,8 +3379,7 @@ export var PoolCreateHeaders = {
3263
3379
  }
3264
3380
  }
3265
3381
  };
3266
- export var PoolUpdateHeaders = {
3267
- serializedName: "pool-update-headers",
3382
+ export const PoolUpdateHeaders = {
3268
3383
  type: {
3269
3384
  name: "Composite",
3270
3385
  className: "PoolUpdateHeaders",
@@ -3278,8 +3393,7 @@ export var PoolUpdateHeaders = {
3278
3393
  }
3279
3394
  }
3280
3395
  };
3281
- export var PoolDeleteHeaders = {
3282
- serializedName: "pool-delete-headers",
3396
+ export const PoolDeleteHeaders = {
3283
3397
  type: {
3284
3398
  name: "Composite",
3285
3399
  className: "PoolDeleteHeaders",
@@ -3299,8 +3413,7 @@ export var PoolDeleteHeaders = {
3299
3413
  }
3300
3414
  }
3301
3415
  };
3302
- export var PoolGetHeaders = {
3303
- serializedName: "pool-get-headers",
3416
+ export const PoolGetHeaders = {
3304
3417
  type: {
3305
3418
  name: "Composite",
3306
3419
  className: "PoolGetHeaders",
@@ -3314,8 +3427,7 @@ export var PoolGetHeaders = {
3314
3427
  }
3315
3428
  }
3316
3429
  };
3317
- export var PoolDisableAutoScaleHeaders = {
3318
- serializedName: "pool-disableautoscale-headers",
3430
+ export const PoolDisableAutoScaleHeaders = {
3319
3431
  type: {
3320
3432
  name: "Composite",
3321
3433
  className: "PoolDisableAutoScaleHeaders",
@@ -3329,8 +3441,7 @@ export var PoolDisableAutoScaleHeaders = {
3329
3441
  }
3330
3442
  }
3331
3443
  };
3332
- export var PoolStopResizeHeaders = {
3333
- serializedName: "pool-stopresize-headers",
3444
+ export const PoolStopResizeHeaders = {
3334
3445
  type: {
3335
3446
  name: "Composite",
3336
3447
  className: "PoolStopResizeHeaders",
@@ -3344,277 +3455,4 @@ export var PoolStopResizeHeaders = {
3344
3455
  }
3345
3456
  }
3346
3457
  };
3347
- export var BatchAccountListResult = {
3348
- serializedName: "BatchAccountListResult",
3349
- type: {
3350
- name: "Composite",
3351
- className: "BatchAccountListResult",
3352
- modelProperties: {
3353
- value: {
3354
- serializedName: "",
3355
- type: {
3356
- name: "Sequence",
3357
- element: {
3358
- type: {
3359
- name: "Composite",
3360
- className: "BatchAccount"
3361
- }
3362
- }
3363
- }
3364
- },
3365
- nextLink: {
3366
- serializedName: "nextLink",
3367
- type: {
3368
- name: "String"
3369
- }
3370
- }
3371
- }
3372
- }
3373
- };
3374
- export var OutboundEnvironmentEndpointCollection = {
3375
- serializedName: "OutboundEnvironmentEndpointCollection",
3376
- type: {
3377
- name: "Composite",
3378
- className: "OutboundEnvironmentEndpointCollection",
3379
- modelProperties: {
3380
- value: {
3381
- readOnly: true,
3382
- serializedName: "",
3383
- type: {
3384
- name: "Sequence",
3385
- element: {
3386
- type: {
3387
- name: "Composite",
3388
- className: "OutboundEnvironmentEndpoint"
3389
- }
3390
- }
3391
- }
3392
- },
3393
- nextLink: {
3394
- serializedName: "nextLink",
3395
- type: {
3396
- name: "String"
3397
- }
3398
- }
3399
- }
3400
- }
3401
- };
3402
- export var ListApplicationPackagesResult = {
3403
- serializedName: "ListApplicationPackagesResult",
3404
- type: {
3405
- name: "Composite",
3406
- className: "ListApplicationPackagesResult",
3407
- modelProperties: {
3408
- value: {
3409
- serializedName: "",
3410
- type: {
3411
- name: "Sequence",
3412
- element: {
3413
- type: {
3414
- name: "Composite",
3415
- className: "ApplicationPackage"
3416
- }
3417
- }
3418
- }
3419
- },
3420
- nextLink: {
3421
- serializedName: "nextLink",
3422
- type: {
3423
- name: "String"
3424
- }
3425
- }
3426
- }
3427
- }
3428
- };
3429
- export var ListApplicationsResult = {
3430
- serializedName: "ListApplicationsResult",
3431
- type: {
3432
- name: "Composite",
3433
- className: "ListApplicationsResult",
3434
- modelProperties: {
3435
- value: {
3436
- serializedName: "",
3437
- type: {
3438
- name: "Sequence",
3439
- element: {
3440
- type: {
3441
- name: "Composite",
3442
- className: "Application"
3443
- }
3444
- }
3445
- }
3446
- },
3447
- nextLink: {
3448
- serializedName: "nextLink",
3449
- type: {
3450
- name: "String"
3451
- }
3452
- }
3453
- }
3454
- }
3455
- };
3456
- export var SupportedSkusResult = {
3457
- serializedName: "SupportedSkusResult",
3458
- type: {
3459
- name: "Composite",
3460
- className: "SupportedSkusResult",
3461
- modelProperties: {
3462
- value: {
3463
- required: true,
3464
- serializedName: "",
3465
- type: {
3466
- name: "Sequence",
3467
- element: {
3468
- type: {
3469
- name: "Composite",
3470
- className: "SupportedSku"
3471
- }
3472
- }
3473
- }
3474
- },
3475
- nextLink: {
3476
- readOnly: true,
3477
- serializedName: "nextLink",
3478
- type: {
3479
- name: "String"
3480
- }
3481
- }
3482
- }
3483
- }
3484
- };
3485
- export var OperationListResult = {
3486
- serializedName: "OperationListResult",
3487
- type: {
3488
- name: "Composite",
3489
- className: "OperationListResult",
3490
- modelProperties: {
3491
- value: {
3492
- serializedName: "",
3493
- type: {
3494
- name: "Sequence",
3495
- element: {
3496
- type: {
3497
- name: "Composite",
3498
- className: "Operation"
3499
- }
3500
- }
3501
- }
3502
- },
3503
- nextLink: {
3504
- serializedName: "nextLink",
3505
- type: {
3506
- name: "String"
3507
- }
3508
- }
3509
- }
3510
- }
3511
- };
3512
- export var ListCertificatesResult = {
3513
- serializedName: "ListCertificatesResult",
3514
- type: {
3515
- name: "Composite",
3516
- className: "ListCertificatesResult",
3517
- modelProperties: {
3518
- value: {
3519
- serializedName: "",
3520
- type: {
3521
- name: "Sequence",
3522
- element: {
3523
- type: {
3524
- name: "Composite",
3525
- className: "Certificate"
3526
- }
3527
- }
3528
- }
3529
- },
3530
- nextLink: {
3531
- serializedName: "nextLink",
3532
- type: {
3533
- name: "String"
3534
- }
3535
- }
3536
- }
3537
- }
3538
- };
3539
- export var ListPrivateLinkResourcesResult = {
3540
- serializedName: "ListPrivateLinkResourcesResult",
3541
- type: {
3542
- name: "Composite",
3543
- className: "ListPrivateLinkResourcesResult",
3544
- modelProperties: {
3545
- value: {
3546
- serializedName: "",
3547
- type: {
3548
- name: "Sequence",
3549
- element: {
3550
- type: {
3551
- name: "Composite",
3552
- className: "PrivateLinkResource"
3553
- }
3554
- }
3555
- }
3556
- },
3557
- nextLink: {
3558
- serializedName: "nextLink",
3559
- type: {
3560
- name: "String"
3561
- }
3562
- }
3563
- }
3564
- }
3565
- };
3566
- export var ListPrivateEndpointConnectionsResult = {
3567
- serializedName: "ListPrivateEndpointConnectionsResult",
3568
- type: {
3569
- name: "Composite",
3570
- className: "ListPrivateEndpointConnectionsResult",
3571
- modelProperties: {
3572
- value: {
3573
- serializedName: "",
3574
- type: {
3575
- name: "Sequence",
3576
- element: {
3577
- type: {
3578
- name: "Composite",
3579
- className: "PrivateEndpointConnection"
3580
- }
3581
- }
3582
- }
3583
- },
3584
- nextLink: {
3585
- serializedName: "nextLink",
3586
- type: {
3587
- name: "String"
3588
- }
3589
- }
3590
- }
3591
- }
3592
- };
3593
- export var ListPoolsResult = {
3594
- serializedName: "ListPoolsResult",
3595
- type: {
3596
- name: "Composite",
3597
- className: "ListPoolsResult",
3598
- modelProperties: {
3599
- value: {
3600
- serializedName: "",
3601
- type: {
3602
- name: "Sequence",
3603
- element: {
3604
- type: {
3605
- name: "Composite",
3606
- className: "Pool"
3607
- }
3608
- }
3609
- }
3610
- },
3611
- nextLink: {
3612
- serializedName: "nextLink",
3613
- type: {
3614
- name: "String"
3615
- }
3616
- }
3617
- }
3618
- }
3619
- };
3620
3458
  //# sourceMappingURL=mappers.js.map