@azure-rest/batch 1.0.0-beta.1 → 1.0.0-beta.3

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 (190) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +5 -4
  3. package/dist/browser/batchClient.d.ts +3 -3
  4. package/dist/browser/batchClient.js +20 -24
  5. package/dist/browser/batchClient.js.map +1 -1
  6. package/dist/browser/clientDefinitions.d.ts +68 -7
  7. package/dist/browser/clientDefinitions.js +1 -1
  8. package/dist/browser/clientDefinitions.js.map +1 -1
  9. package/dist/browser/credentials/batchSharedKeyCredentials-browser.mjs.map +1 -1
  10. package/dist/browser/credentials/batchSharedKeyCredentials.js +1 -1
  11. package/dist/browser/index.d.ts +0 -1
  12. package/dist/browser/index.js +1 -2
  13. package/dist/browser/index.js.map +1 -1
  14. package/dist/browser/isUnexpected.d.ts +9 -1
  15. package/dist/browser/isUnexpected.js +15 -6
  16. package/dist/browser/isUnexpected.js.map +1 -1
  17. package/dist/browser/logger.js +1 -1
  18. package/dist/browser/logger.js.map +1 -1
  19. package/dist/browser/models.d.ts +485 -156
  20. package/dist/browser/models.js +1 -1
  21. package/dist/browser/models.js.map +1 -1
  22. package/dist/browser/outputModels.d.ts +532 -155
  23. package/dist/browser/outputModels.js +1 -1
  24. package/dist/browser/outputModels.js.map +1 -1
  25. package/dist/browser/paginateHelper.d.ts +28 -3
  26. package/dist/browser/paginateHelper.js +70 -3
  27. package/dist/browser/paginateHelper.js.map +1 -1
  28. package/dist/browser/parameters.d.ts +546 -58
  29. package/dist/browser/parameters.js +1 -1
  30. package/dist/browser/parameters.js.map +1 -1
  31. package/dist/browser/responses.d.ts +178 -4
  32. package/dist/browser/responses.js +1 -1
  33. package/dist/browser/responses.js.map +1 -1
  34. package/dist/commonjs/batchClient.d.ts +3 -3
  35. package/dist/commonjs/batchClient.js +20 -24
  36. package/dist/commonjs/batchClient.js.map +1 -1
  37. package/dist/commonjs/clientDefinitions.d.ts +68 -7
  38. package/dist/commonjs/clientDefinitions.js +1 -1
  39. package/dist/commonjs/clientDefinitions.js.map +1 -1
  40. package/dist/commonjs/credentials/batchSharedKeyCredentials.d.ts +1 -1
  41. package/dist/commonjs/credentials/batchSharedKeyCredentials.js +2 -3
  42. package/dist/commonjs/credentials/batchSharedKeyCredentials.js.map +1 -1
  43. package/dist/commonjs/index.d.ts +0 -1
  44. package/dist/commonjs/index.js +1 -2
  45. package/dist/commonjs/index.js.map +1 -1
  46. package/dist/commonjs/isUnexpected.d.ts +9 -1
  47. package/dist/commonjs/isUnexpected.js +15 -6
  48. package/dist/commonjs/isUnexpected.js.map +1 -1
  49. package/dist/commonjs/logger.js +1 -1
  50. package/dist/commonjs/logger.js.map +1 -1
  51. package/dist/commonjs/models.d.ts +485 -156
  52. package/dist/commonjs/models.js +1 -1
  53. package/dist/commonjs/models.js.map +1 -1
  54. package/dist/commonjs/outputModels.d.ts +532 -155
  55. package/dist/commonjs/outputModels.js +1 -1
  56. package/dist/commonjs/outputModels.js.map +1 -1
  57. package/dist/commonjs/paginateHelper.d.ts +28 -3
  58. package/dist/commonjs/paginateHelper.js +71 -4
  59. package/dist/commonjs/paginateHelper.js.map +1 -1
  60. package/dist/commonjs/parameters.d.ts +546 -58
  61. package/dist/commonjs/parameters.js +1 -1
  62. package/dist/commonjs/parameters.js.map +1 -1
  63. package/dist/commonjs/responses.d.ts +178 -4
  64. package/dist/commonjs/responses.js +1 -1
  65. package/dist/commonjs/responses.js.map +1 -1
  66. package/dist/commonjs/tsdoc-metadata.json +11 -11
  67. package/dist/esm/batchClient.d.ts +3 -3
  68. package/dist/esm/batchClient.js +20 -24
  69. package/dist/esm/batchClient.js.map +1 -1
  70. package/dist/esm/clientDefinitions.d.ts +68 -7
  71. package/dist/esm/clientDefinitions.js +1 -1
  72. package/dist/esm/clientDefinitions.js.map +1 -1
  73. package/dist/esm/credentials/batchSharedKeyCredentials.d.ts +1 -1
  74. package/dist/esm/credentials/batchSharedKeyCredentials.js +2 -3
  75. package/dist/esm/credentials/batchSharedKeyCredentials.js.map +1 -1
  76. package/dist/esm/index.d.ts +0 -1
  77. package/dist/esm/index.js +1 -2
  78. package/dist/esm/index.js.map +1 -1
  79. package/dist/esm/isUnexpected.d.ts +9 -1
  80. package/dist/esm/isUnexpected.js +15 -6
  81. package/dist/esm/isUnexpected.js.map +1 -1
  82. package/dist/esm/logger.js +1 -1
  83. package/dist/esm/logger.js.map +1 -1
  84. package/dist/esm/models.d.ts +485 -156
  85. package/dist/esm/models.js +1 -1
  86. package/dist/esm/models.js.map +1 -1
  87. package/dist/esm/outputModels.d.ts +532 -155
  88. package/dist/esm/outputModels.js +1 -1
  89. package/dist/esm/outputModels.js.map +1 -1
  90. package/dist/esm/paginateHelper.d.ts +28 -3
  91. package/dist/esm/paginateHelper.js +70 -3
  92. package/dist/esm/paginateHelper.js.map +1 -1
  93. package/dist/esm/parameters.d.ts +546 -58
  94. package/dist/esm/parameters.js +1 -1
  95. package/dist/esm/parameters.js.map +1 -1
  96. package/dist/esm/responses.d.ts +178 -4
  97. package/dist/esm/responses.js +1 -1
  98. package/dist/esm/responses.js.map +1 -1
  99. package/dist/react-native/batchClient.d.ts +3 -3
  100. package/dist/react-native/batchClient.js +20 -24
  101. package/dist/react-native/batchClient.js.map +1 -1
  102. package/dist/react-native/clientDefinitions.d.ts +68 -7
  103. package/dist/react-native/clientDefinitions.js +1 -1
  104. package/dist/react-native/clientDefinitions.js.map +1 -1
  105. package/dist/react-native/credentials/batchSharedKeyCredentials-react-native.mjs.map +1 -1
  106. package/dist/react-native/credentials/batchSharedKeyCredentials.js +1 -1
  107. package/dist/react-native/index.d.ts +0 -1
  108. package/dist/react-native/index.js +1 -2
  109. package/dist/react-native/index.js.map +1 -1
  110. package/dist/react-native/isUnexpected.d.ts +9 -1
  111. package/dist/react-native/isUnexpected.js +15 -6
  112. package/dist/react-native/isUnexpected.js.map +1 -1
  113. package/dist/react-native/logger.js +1 -1
  114. package/dist/react-native/logger.js.map +1 -1
  115. package/dist/react-native/models.d.ts +485 -156
  116. package/dist/react-native/models.js +1 -1
  117. package/dist/react-native/models.js.map +1 -1
  118. package/dist/react-native/outputModels.d.ts +532 -155
  119. package/dist/react-native/outputModels.js +1 -1
  120. package/dist/react-native/outputModels.js.map +1 -1
  121. package/dist/react-native/paginateHelper.d.ts +28 -3
  122. package/dist/react-native/paginateHelper.js +70 -3
  123. package/dist/react-native/paginateHelper.js.map +1 -1
  124. package/dist/react-native/parameters.d.ts +546 -58
  125. package/dist/react-native/parameters.js +1 -1
  126. package/dist/react-native/parameters.js.map +1 -1
  127. package/dist/react-native/responses.d.ts +178 -4
  128. package/dist/react-native/responses.js +1 -1
  129. package/dist/react-native/responses.js.map +1 -1
  130. package/package.json +33 -51
  131. package/dist/browser/batchClient.d.ts.map +0 -1
  132. package/dist/browser/clientDefinitions.d.ts.map +0 -1
  133. package/dist/browser/credentials/batchSharedKeyCredentials-browser.d.mts.map +0 -1
  134. package/dist/browser/index.d.ts.map +0 -1
  135. package/dist/browser/isUnexpected.d.ts.map +0 -1
  136. package/dist/browser/logger.d.ts.map +0 -1
  137. package/dist/browser/models.d.ts.map +0 -1
  138. package/dist/browser/outputModels.d.ts.map +0 -1
  139. package/dist/browser/paginateHelper.d.ts.map +0 -1
  140. package/dist/browser/parameters.d.ts.map +0 -1
  141. package/dist/browser/replacePoolPropertiesPolicy.d.ts +0 -11
  142. package/dist/browser/replacePoolPropertiesPolicy.d.ts.map +0 -1
  143. package/dist/browser/replacePoolPropertiesPolicy.js +0 -33
  144. package/dist/browser/replacePoolPropertiesPolicy.js.map +0 -1
  145. package/dist/browser/responses.d.ts.map +0 -1
  146. package/dist/commonjs/batchClient.d.ts.map +0 -1
  147. package/dist/commonjs/clientDefinitions.d.ts.map +0 -1
  148. package/dist/commonjs/credentials/batchSharedKeyCredentials.d.ts.map +0 -1
  149. package/dist/commonjs/index.d.ts.map +0 -1
  150. package/dist/commonjs/isUnexpected.d.ts.map +0 -1
  151. package/dist/commonjs/logger.d.ts.map +0 -1
  152. package/dist/commonjs/models.d.ts.map +0 -1
  153. package/dist/commonjs/outputModels.d.ts.map +0 -1
  154. package/dist/commonjs/paginateHelper.d.ts.map +0 -1
  155. package/dist/commonjs/parameters.d.ts.map +0 -1
  156. package/dist/commonjs/replacePoolPropertiesPolicy.d.ts +0 -11
  157. package/dist/commonjs/replacePoolPropertiesPolicy.d.ts.map +0 -1
  158. package/dist/commonjs/replacePoolPropertiesPolicy.js +0 -36
  159. package/dist/commonjs/replacePoolPropertiesPolicy.js.map +0 -1
  160. package/dist/commonjs/responses.d.ts.map +0 -1
  161. package/dist/esm/batchClient.d.ts.map +0 -1
  162. package/dist/esm/clientDefinitions.d.ts.map +0 -1
  163. package/dist/esm/credentials/batchSharedKeyCredentials.d.ts.map +0 -1
  164. package/dist/esm/index.d.ts.map +0 -1
  165. package/dist/esm/isUnexpected.d.ts.map +0 -1
  166. package/dist/esm/logger.d.ts.map +0 -1
  167. package/dist/esm/models.d.ts.map +0 -1
  168. package/dist/esm/outputModels.d.ts.map +0 -1
  169. package/dist/esm/paginateHelper.d.ts.map +0 -1
  170. package/dist/esm/parameters.d.ts.map +0 -1
  171. package/dist/esm/replacePoolPropertiesPolicy.d.ts +0 -11
  172. package/dist/esm/replacePoolPropertiesPolicy.d.ts.map +0 -1
  173. package/dist/esm/replacePoolPropertiesPolicy.js +0 -33
  174. package/dist/esm/replacePoolPropertiesPolicy.js.map +0 -1
  175. package/dist/esm/responses.d.ts.map +0 -1
  176. package/dist/react-native/batchClient.d.ts.map +0 -1
  177. package/dist/react-native/clientDefinitions.d.ts.map +0 -1
  178. package/dist/react-native/credentials/batchSharedKeyCredentials-react-native.d.mts.map +0 -1
  179. package/dist/react-native/index.d.ts.map +0 -1
  180. package/dist/react-native/isUnexpected.d.ts.map +0 -1
  181. package/dist/react-native/logger.d.ts.map +0 -1
  182. package/dist/react-native/models.d.ts.map +0 -1
  183. package/dist/react-native/outputModels.d.ts.map +0 -1
  184. package/dist/react-native/paginateHelper.d.ts.map +0 -1
  185. package/dist/react-native/parameters.d.ts.map +0 -1
  186. package/dist/react-native/replacePoolPropertiesPolicy.d.ts +0 -11
  187. package/dist/react-native/replacePoolPropertiesPolicy.d.ts.map +0 -1
  188. package/dist/react-native/replacePoolPropertiesPolicy.js +0 -33
  189. package/dist/react-native/replacePoolPropertiesPolicy.js.map +0 -1
  190. package/dist/react-native/responses.d.ts.map +0 -1
@@ -1,6 +1,6 @@
1
- import { RawHttpHeadersInput } from "@azure/core-rest-pipeline";
2
- import { RequestParameters } from "@azure-rest/core-client";
3
- import { BatchPoolCreateContent, BatchPoolUpdateContent, BatchPoolEnableAutoScaleContent, BatchPoolEvaluateAutoScaleContent, BatchPoolResizeContent, BatchPoolReplaceContent, BatchNodeRemoveContent, BatchJobUpdateContent, BatchJob, BatchJobDisableContent, BatchJobTerminateContent, BatchJobCreateContent, BatchJobScheduleUpdateContent, BatchJobSchedule, BatchJobScheduleCreateContent, BatchTaskCreateContent, BatchTaskGroup, BatchTask, BatchNodeUserCreateContent, BatchNodeUserUpdateContent, BatchNodeRebootContent, BatchNodeDisableSchedulingContent, UploadBatchServiceLogsContent } from "./models.js";
1
+ import type { RawHttpHeadersInput } from "@azure/core-rest-pipeline";
2
+ import type { RequestParameters } from "@azure-rest/core-client";
3
+ import type { BatchPoolCreateOptions, BatchPoolUpdateOptions, BatchPoolEnableAutoScaleOptions, BatchPoolEvaluateAutoScaleOptions, BatchPoolResizeOptions, BatchPoolReplaceOptions, BatchNodeRemoveOptions, BatchJobUpdateOptions, BatchJob, BatchJobDisableOptions, BatchJobTerminateOptions, BatchJobCreateOptions, BatchCertificate, BatchJobScheduleUpdateOptions, BatchJobSchedule, BatchJobScheduleCreateOptions, BatchTaskCreateOptions, BatchTaskGroup, BatchTask, BatchNodeUserCreateOptions, BatchNodeUserUpdateOptions, BatchNodeRebootOptions, BatchNodeDeallocateOptions, BatchNodeReimageOptions, BatchNodeDisableSchedulingOptions, UploadBatchServiceLogsOptions } from "./models.js";
4
4
  export interface ListApplicationsHeaders {
5
5
  /**
6
6
  * The caller-generated request identity, in the form of a GUID with no decoration
@@ -95,7 +95,7 @@ export interface ListPoolUsageMetricsQueryParamProperties {
95
95
  endtime?: Date | string;
96
96
  /**
97
97
  * An OData $filter clause. For more information on constructing this filter, see
98
- * https://docs.microsoft.com/en-us/rest/api/batchservice/odata-filters-in-batch#list-account-usage-metrics.
98
+ * https://learn.microsoft.com/rest/api/batchservice/odata-filters-in-batch#list-account-usage-metrics.
99
99
  */
100
100
  $filter?: string;
101
101
  }
@@ -123,7 +123,7 @@ export interface CreatePoolHeaders {
123
123
  }
124
124
  export interface CreatePoolBodyParam {
125
125
  /** The Pool to be created. */
126
- body: BatchPoolCreateContent;
126
+ body: BatchPoolCreateOptions;
127
127
  }
128
128
  export interface CreatePoolQueryParamProperties {
129
129
  /** The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. If the value is larger than 30, the default will be used instead.". */
@@ -155,6 +155,24 @@ export interface ListPoolsHeaders {
155
155
  */
156
156
  "ocp-date"?: string;
157
157
  }
158
+ /** This is the wrapper object for the parameter `$select` with explode set to false and style set to form. */
159
+ export interface ListPoolsSelectQueryParam {
160
+ /** Value of the parameter */
161
+ value: string[];
162
+ /** Should we explode the value? */
163
+ explode: false;
164
+ /** Style of the value */
165
+ style: "form";
166
+ }
167
+ /** This is the wrapper object for the parameter `$expand` with explode set to false and style set to form. */
168
+ export interface ListPoolsExpandQueryParam {
169
+ /** Value of the parameter */
170
+ value: string[];
171
+ /** Should we explode the value? */
172
+ explode: false;
173
+ /** Style of the value */
174
+ style: "form";
175
+ }
158
176
  export interface ListPoolsQueryParamProperties {
159
177
  /** The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. If the value is larger than 30, the default will be used instead.". */
160
178
  timeOut?: number;
@@ -165,13 +183,13 @@ export interface ListPoolsQueryParamProperties {
165
183
  maxresults?: number;
166
184
  /**
167
185
  * An OData $filter clause. For more information on constructing this filter, see
168
- * https://docs.microsoft.com/en-us/rest/api/batchservice/odata-filters-in-batch#list-pools.
186
+ * https://learn.microsoft.com/rest/api/batchservice/odata-filters-in-batch#list-pools.
169
187
  */
170
188
  $filter?: string;
171
189
  /** An OData $select clause. */
172
- $select?: string[];
190
+ $select?: string[] | ListPoolsSelectQueryParam;
173
191
  /** An OData $expand clause. */
174
- $expand?: string[];
192
+ $expand?: string[] | ListPoolsExpandQueryParam;
175
193
  }
176
194
  export interface ListPoolsQueryParam {
177
195
  queryParameters?: ListPoolsQueryParamProperties;
@@ -319,13 +337,31 @@ export interface GetPoolHeaders {
319
337
  */
320
338
  "If-None-Match"?: string;
321
339
  }
340
+ /** This is the wrapper object for the parameter `$select` with explode set to false and style set to form. */
341
+ export interface GetPoolSelectQueryParam {
342
+ /** Value of the parameter */
343
+ value: string[];
344
+ /** Should we explode the value? */
345
+ explode: false;
346
+ /** Style of the value */
347
+ style: "form";
348
+ }
349
+ /** This is the wrapper object for the parameter `$expand` with explode set to false and style set to form. */
350
+ export interface GetPoolExpandQueryParam {
351
+ /** Value of the parameter */
352
+ value: string[];
353
+ /** Should we explode the value? */
354
+ explode: false;
355
+ /** Style of the value */
356
+ style: "form";
357
+ }
322
358
  export interface GetPoolQueryParamProperties {
323
359
  /** The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. If the value is larger than 30, the default will be used instead.". */
324
360
  timeOut?: number;
325
361
  /** An OData $select clause. */
326
- $select?: string[];
362
+ $select?: string[] | GetPoolSelectQueryParam;
327
363
  /** An OData $expand clause. */
328
- $expand?: string[];
364
+ $expand?: string[] | GetPoolExpandQueryParam;
329
365
  }
330
366
  export interface GetPoolQueryParam {
331
367
  queryParameters?: GetPoolQueryParamProperties;
@@ -375,7 +411,7 @@ export interface UpdatePoolHeaders {
375
411
  }
376
412
  export interface UpdatePoolBodyParam {
377
413
  /** The pool properties to update. */
378
- body: BatchPoolUpdateContent;
414
+ body: BatchPoolUpdateOptions;
379
415
  }
380
416
  export interface UpdatePoolQueryParamProperties {
381
417
  /** The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. If the value is larger than 30, the default will be used instead.". */
@@ -459,7 +495,7 @@ export interface EnablePoolAutoScaleHeaders {
459
495
  }
460
496
  export interface EnablePoolAutoScaleBodyParam {
461
497
  /** The options to use for enabling automatic scaling. */
462
- body: BatchPoolEnableAutoScaleContent;
498
+ body: BatchPoolEnableAutoScaleOptions;
463
499
  }
464
500
  export interface EnablePoolAutoScaleQueryParamProperties {
465
501
  /** The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. If the value is larger than 30, the default will be used instead.". */
@@ -493,7 +529,7 @@ export interface EvaluatePoolAutoScaleHeaders {
493
529
  }
494
530
  export interface EvaluatePoolAutoScaleBodyParam {
495
531
  /** The options to use for evaluating the automatic scaling formula. */
496
- body: BatchPoolEvaluateAutoScaleContent;
532
+ body: BatchPoolEvaluateAutoScaleOptions;
497
533
  }
498
534
  export interface EvaluatePoolAutoScaleQueryParamProperties {
499
535
  /** The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. If the value is larger than 30, the default will be used instead.". */
@@ -551,7 +587,7 @@ export interface ResizePoolHeaders {
551
587
  }
552
588
  export interface ResizePoolBodyParam {
553
589
  /** The options to use for resizing the pool. */
554
- body: BatchPoolResizeContent;
590
+ body: BatchPoolResizeOptions;
555
591
  }
556
592
  export interface ResizePoolQueryParamProperties {
557
593
  /** The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. If the value is larger than 30, the default will be used instead.". */
@@ -635,7 +671,7 @@ export interface ReplacePoolPropertiesHeaders {
635
671
  }
636
672
  export interface ReplacePoolPropertiesBodyParam {
637
673
  /** The options to use for replacing properties on the pool. */
638
- body: BatchPoolReplaceContent;
674
+ body: BatchPoolReplaceOptions;
639
675
  }
640
676
  export interface ReplacePoolPropertiesQueryParamProperties {
641
677
  /** The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. If the value is larger than 30, the default will be used instead.". */
@@ -693,7 +729,7 @@ export interface RemoveNodesHeaders {
693
729
  }
694
730
  export interface RemoveNodesBodyParam {
695
731
  /** The options to use for removing the node. */
696
- body: BatchNodeRemoveContent;
732
+ body: BatchNodeRemoveOptions;
697
733
  }
698
734
  export interface RemoveNodesQueryParamProperties {
699
735
  /** The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. If the value is larger than 30, the default will be used instead.". */
@@ -735,7 +771,7 @@ export interface ListSupportedImagesQueryParamProperties {
735
771
  maxresults?: number;
736
772
  /**
737
773
  * An OData $filter clause. For more information on constructing this filter, see
738
- * https://docs.microsoft.com/en-us/rest/api/batchservice/odata-filters-in-batch#list-support-images.
774
+ * https://learn.microsoft.com/rest/api/batchservice/odata-filters-in-batch#list-support-images.
739
775
  */
740
776
  $filter?: string;
741
777
  }
@@ -771,7 +807,7 @@ export interface ListPoolNodeCountsQueryParamProperties {
771
807
  maxresults?: number;
772
808
  /**
773
809
  * An OData $filter clause. For more information on constructing this filter, see
774
- * https://docs.microsoft.com/en-us/rest/api/batchservice/odata-filters-in-batch#list-support-images.
810
+ * https://learn.microsoft.com/rest/api/batchservice/odata-filters-in-batch#list-support-images.
775
811
  */
776
812
  $filter?: string;
777
813
  }
@@ -824,6 +860,8 @@ export interface DeleteJobHeaders {
824
860
  export interface DeleteJobQueryParamProperties {
825
861
  /** The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. If the value is larger than 30, the default will be used instead.". */
826
862
  timeOut?: number;
863
+ /** If true, the server will delete the Job even if the corresponding nodes have not fully processed the deletion. The default value is false. */
864
+ force?: boolean;
827
865
  }
828
866
  export interface DeleteJobQueryParam {
829
867
  queryParameters?: DeleteJobQueryParamProperties;
@@ -871,13 +909,31 @@ export interface GetJobHeaders {
871
909
  */
872
910
  "If-None-Match"?: string;
873
911
  }
912
+ /** This is the wrapper object for the parameter `$select` with explode set to false and style set to form. */
913
+ export interface GetJobSelectQueryParam {
914
+ /** Value of the parameter */
915
+ value: string[];
916
+ /** Should we explode the value? */
917
+ explode: false;
918
+ /** Style of the value */
919
+ style: "form";
920
+ }
921
+ /** This is the wrapper object for the parameter `$expand` with explode set to false and style set to form. */
922
+ export interface GetJobExpandQueryParam {
923
+ /** Value of the parameter */
924
+ value: string[];
925
+ /** Should we explode the value? */
926
+ explode: false;
927
+ /** Style of the value */
928
+ style: "form";
929
+ }
874
930
  export interface GetJobQueryParamProperties {
875
931
  /** The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. If the value is larger than 30, the default will be used instead.". */
876
932
  timeOut?: number;
877
933
  /** An OData $select clause. */
878
- $select?: string[];
934
+ $select?: string[] | GetJobSelectQueryParam;
879
935
  /** An OData $expand clause. */
880
- $expand?: string[];
936
+ $expand?: string[] | GetJobExpandQueryParam;
881
937
  }
882
938
  export interface GetJobQueryParam {
883
939
  queryParameters?: GetJobQueryParamProperties;
@@ -927,7 +983,7 @@ export interface UpdateJobHeaders {
927
983
  }
928
984
  export interface UpdateJobBodyParam {
929
985
  /** The options to use for updating the Job. */
930
- body: BatchJobUpdateContent;
986
+ body: BatchJobUpdateOptions;
931
987
  }
932
988
  export interface UpdateJobQueryParamProperties {
933
989
  /** The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. If the value is larger than 30, the default will be used instead.". */
@@ -1043,7 +1099,7 @@ export interface DisableJobHeaders {
1043
1099
  }
1044
1100
  export interface DisableJobBodyParam {
1045
1101
  /** The options to use for disabling the Job. */
1046
- body: BatchJobDisableContent;
1102
+ body: BatchJobDisableOptions;
1047
1103
  }
1048
1104
  export interface DisableJobQueryParamProperties {
1049
1105
  /** The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. If the value is larger than 30, the default will be used instead.". */
@@ -1151,11 +1207,13 @@ export interface TerminateJobHeaders {
1151
1207
  }
1152
1208
  export interface TerminateJobBodyParam {
1153
1209
  /** The options to use for terminating the Job. */
1154
- body?: BatchJobTerminateContent;
1210
+ body?: BatchJobTerminateOptions;
1155
1211
  }
1156
1212
  export interface TerminateJobQueryParamProperties {
1157
1213
  /** The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. If the value is larger than 30, the default will be used instead.". */
1158
1214
  timeOut?: number;
1215
+ /** If true, the server will terminate the Job even if the corresponding nodes have not fully processed the termination. The default value is false. */
1216
+ force?: boolean;
1159
1217
  }
1160
1218
  export interface TerminateJobQueryParam {
1161
1219
  queryParameters?: TerminateJobQueryParamProperties;
@@ -1185,7 +1243,7 @@ export interface CreateJobHeaders {
1185
1243
  }
1186
1244
  export interface CreateJobBodyParam {
1187
1245
  /** The Job to be created. */
1188
- body: BatchJobCreateContent;
1246
+ body: BatchJobCreateOptions;
1189
1247
  }
1190
1248
  export interface CreateJobQueryParamProperties {
1191
1249
  /** The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. If the value is larger than 30, the default will be used instead.". */
@@ -1217,6 +1275,24 @@ export interface ListJobsHeaders {
1217
1275
  */
1218
1276
  "ocp-date"?: string;
1219
1277
  }
1278
+ /** This is the wrapper object for the parameter `$select` with explode set to false and style set to form. */
1279
+ export interface ListJobsSelectQueryParam {
1280
+ /** Value of the parameter */
1281
+ value: string[];
1282
+ /** Should we explode the value? */
1283
+ explode: false;
1284
+ /** Style of the value */
1285
+ style: "form";
1286
+ }
1287
+ /** This is the wrapper object for the parameter `$expand` with explode set to false and style set to form. */
1288
+ export interface ListJobsExpandQueryParam {
1289
+ /** Value of the parameter */
1290
+ value: string[];
1291
+ /** Should we explode the value? */
1292
+ explode: false;
1293
+ /** Style of the value */
1294
+ style: "form";
1295
+ }
1220
1296
  export interface ListJobsQueryParamProperties {
1221
1297
  /** The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. If the value is larger than 30, the default will be used instead.". */
1222
1298
  timeOut?: number;
@@ -1227,13 +1303,13 @@ export interface ListJobsQueryParamProperties {
1227
1303
  maxresults?: number;
1228
1304
  /**
1229
1305
  * An OData $filter clause. For more information on constructing this filter, see
1230
- * https://docs.microsoft.com/en-us/rest/api/batchservice/odata-filters-in-batch#list-jobs.
1306
+ * https://learn.microsoft.com/rest/api/batchservice/odata-filters-in-batch#list-jobs.
1231
1307
  */
1232
1308
  $filter?: string;
1233
1309
  /** An OData $select clause. */
1234
- $select?: string[];
1310
+ $select?: string[] | ListJobsSelectQueryParam;
1235
1311
  /** An OData $expand clause. */
1236
- $expand?: string[];
1312
+ $expand?: string[] | ListJobsExpandQueryParam;
1237
1313
  }
1238
1314
  export interface ListJobsQueryParam {
1239
1315
  queryParameters?: ListJobsQueryParamProperties;
@@ -1257,6 +1333,24 @@ export interface ListJobsFromScheduleHeaders {
1257
1333
  */
1258
1334
  "ocp-date"?: string;
1259
1335
  }
1336
+ /** This is the wrapper object for the parameter `$select` with explode set to false and style set to form. */
1337
+ export interface ListJobsFromScheduleSelectQueryParam {
1338
+ /** Value of the parameter */
1339
+ value: string[];
1340
+ /** Should we explode the value? */
1341
+ explode: false;
1342
+ /** Style of the value */
1343
+ style: "form";
1344
+ }
1345
+ /** This is the wrapper object for the parameter `$expand` with explode set to false and style set to form. */
1346
+ export interface ListJobsFromScheduleExpandQueryParam {
1347
+ /** Value of the parameter */
1348
+ value: string[];
1349
+ /** Should we explode the value? */
1350
+ explode: false;
1351
+ /** Style of the value */
1352
+ style: "form";
1353
+ }
1260
1354
  export interface ListJobsFromScheduleQueryParamProperties {
1261
1355
  /** The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. If the value is larger than 30, the default will be used instead.". */
1262
1356
  timeOut?: number;
@@ -1267,13 +1361,13 @@ export interface ListJobsFromScheduleQueryParamProperties {
1267
1361
  maxresults?: number;
1268
1362
  /**
1269
1363
  * An OData $filter clause. For more information on constructing this filter, see
1270
- * https://docs.microsoft.com/en-us/rest/api/batchservice/odata-filters-in-batch#list-jobs-in-a-job-schedule.
1364
+ * https://learn.microsoft.com/rest/api/batchservice/odata-filters-in-batch#list-jobs-in-a-job-schedule.
1271
1365
  */
1272
1366
  $filter?: string;
1273
1367
  /** An OData $select clause. */
1274
- $select?: string[];
1368
+ $select?: string[] | ListJobsFromScheduleSelectQueryParam;
1275
1369
  /** An OData $expand clause. */
1276
- $expand?: string[];
1370
+ $expand?: string[] | ListJobsFromScheduleExpandQueryParam;
1277
1371
  }
1278
1372
  export interface ListJobsFromScheduleQueryParam {
1279
1373
  queryParameters?: ListJobsFromScheduleQueryParamProperties;
@@ -1297,6 +1391,15 @@ export interface ListJobPreparationAndReleaseTaskStatusHeaders {
1297
1391
  */
1298
1392
  "ocp-date"?: string;
1299
1393
  }
1394
+ /** This is the wrapper object for the parameter `$select` with explode set to false and style set to form. */
1395
+ export interface ListJobPreparationAndReleaseTaskStatusSelectQueryParam {
1396
+ /** Value of the parameter */
1397
+ value: string[];
1398
+ /** Should we explode the value? */
1399
+ explode: false;
1400
+ /** Style of the value */
1401
+ style: "form";
1402
+ }
1300
1403
  export interface ListJobPreparationAndReleaseTaskStatusQueryParamProperties {
1301
1404
  /** The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. If the value is larger than 30, the default will be used instead.". */
1302
1405
  timeOut?: number;
@@ -1307,11 +1410,11 @@ export interface ListJobPreparationAndReleaseTaskStatusQueryParamProperties {
1307
1410
  maxresults?: number;
1308
1411
  /**
1309
1412
  * An OData $filter clause. For more information on constructing this filter, see
1310
- * https://docs.microsoft.com/en-us/rest/api/batchservice/odata-filters-in-batch#list-job-preparation-and-release-status.
1413
+ * https://learn.microsoft.com/rest/api/batchservice/odata-filters-in-batch#list-job-preparation-and-release-status.
1311
1414
  */
1312
1415
  $filter?: string;
1313
1416
  /** An OData $select clause. */
1314
- $select?: string[];
1417
+ $select?: string[] | ListJobPreparationAndReleaseTaskStatusSelectQueryParam;
1315
1418
  }
1316
1419
  export interface ListJobPreparationAndReleaseTaskStatusQueryParam {
1317
1420
  queryParameters?: ListJobPreparationAndReleaseTaskStatusQueryParamProperties;
@@ -1346,6 +1449,176 @@ export interface GetJobTaskCountsHeaderParam {
1346
1449
  headers?: RawHttpHeadersInput & GetJobTaskCountsHeaders;
1347
1450
  }
1348
1451
  export type GetJobTaskCountsParameters = GetJobTaskCountsQueryParam & GetJobTaskCountsHeaderParam & RequestParameters;
1452
+ export interface CreateCertificateHeaders {
1453
+ /**
1454
+ * The caller-generated request identity, in the form of a GUID with no decoration
1455
+ * such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.
1456
+ */
1457
+ "client-request-id"?: string;
1458
+ /** Whether the server should return the client-request-id in the response. */
1459
+ "return-client-request-id"?: boolean;
1460
+ /**
1461
+ * The time the request was issued. Client libraries typically set this to the
1462
+ * current system clock time; set it explicitly if you are calling the REST API
1463
+ * directly.
1464
+ */
1465
+ "ocp-date"?: string;
1466
+ }
1467
+ export interface CreateCertificateBodyParam {
1468
+ /** The Certificate to be created. */
1469
+ body: BatchCertificate;
1470
+ }
1471
+ export interface CreateCertificateQueryParamProperties {
1472
+ /** The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. If the value is larger than 30, the default will be used instead.". */
1473
+ timeOut?: number;
1474
+ }
1475
+ export interface CreateCertificateQueryParam {
1476
+ queryParameters?: CreateCertificateQueryParamProperties;
1477
+ }
1478
+ export interface CreateCertificateHeaderParam {
1479
+ headers?: RawHttpHeadersInput & CreateCertificateHeaders;
1480
+ }
1481
+ export interface CreateCertificateMediaTypesParam {
1482
+ /** Type of content */
1483
+ contentType: "application/json; odata=minimalmetadata";
1484
+ }
1485
+ export type CreateCertificateParameters = CreateCertificateQueryParam & CreateCertificateHeaderParam & CreateCertificateMediaTypesParam & CreateCertificateBodyParam & RequestParameters;
1486
+ export interface ListCertificatesHeaders {
1487
+ /**
1488
+ * The caller-generated request identity, in the form of a GUID with no decoration
1489
+ * such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.
1490
+ */
1491
+ "client-request-id"?: string;
1492
+ /** Whether the server should return the client-request-id in the response. */
1493
+ "return-client-request-id"?: boolean;
1494
+ /**
1495
+ * The time the request was issued. Client libraries typically set this to the
1496
+ * current system clock time; set it explicitly if you are calling the REST API
1497
+ * directly.
1498
+ */
1499
+ "ocp-date"?: string;
1500
+ }
1501
+ /** This is the wrapper object for the parameter `$select` with explode set to false and style set to form. */
1502
+ export interface ListCertificatesSelectQueryParam {
1503
+ /** Value of the parameter */
1504
+ value: string[];
1505
+ /** Should we explode the value? */
1506
+ explode: false;
1507
+ /** Style of the value */
1508
+ style: "form";
1509
+ }
1510
+ export interface ListCertificatesQueryParamProperties {
1511
+ /** The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. If the value is larger than 30, the default will be used instead.". */
1512
+ timeOut?: number;
1513
+ /**
1514
+ * The maximum number of items to return in the response. A maximum of 1000
1515
+ * applications can be returned.
1516
+ */
1517
+ maxresults?: number;
1518
+ /**
1519
+ * An OData $filter clause. For more information on constructing this filter, see
1520
+ * https://docs.microsoft.com/en-us/rest/api/batchservice/odata-filters-in-batch#list-certificates.
1521
+ */
1522
+ $filter?: string;
1523
+ /** An OData $select clause. */
1524
+ $select?: string[] | ListCertificatesSelectQueryParam;
1525
+ }
1526
+ export interface ListCertificatesQueryParam {
1527
+ queryParameters?: ListCertificatesQueryParamProperties;
1528
+ }
1529
+ export interface ListCertificatesHeaderParam {
1530
+ headers?: RawHttpHeadersInput & ListCertificatesHeaders;
1531
+ }
1532
+ export type ListCertificatesParameters = ListCertificatesQueryParam & ListCertificatesHeaderParam & RequestParameters;
1533
+ export interface CancelCertificateDeletionHeaders {
1534
+ /**
1535
+ * The caller-generated request identity, in the form of a GUID with no decoration
1536
+ * such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.
1537
+ */
1538
+ "client-request-id"?: string;
1539
+ /** Whether the server should return the client-request-id in the response. */
1540
+ "return-client-request-id"?: boolean;
1541
+ /**
1542
+ * The time the request was issued. Client libraries typically set this to the
1543
+ * current system clock time; set it explicitly if you are calling the REST API
1544
+ * directly.
1545
+ */
1546
+ "ocp-date"?: string;
1547
+ }
1548
+ export interface CancelCertificateDeletionQueryParamProperties {
1549
+ /** The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. If the value is larger than 30, the default will be used instead.". */
1550
+ timeOut?: number;
1551
+ }
1552
+ export interface CancelCertificateDeletionQueryParam {
1553
+ queryParameters?: CancelCertificateDeletionQueryParamProperties;
1554
+ }
1555
+ export interface CancelCertificateDeletionHeaderParam {
1556
+ headers?: RawHttpHeadersInput & CancelCertificateDeletionHeaders;
1557
+ }
1558
+ export type CancelCertificateDeletionParameters = CancelCertificateDeletionQueryParam & CancelCertificateDeletionHeaderParam & RequestParameters;
1559
+ export interface DeleteCertificateHeaders {
1560
+ /**
1561
+ * The caller-generated request identity, in the form of a GUID with no decoration
1562
+ * such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.
1563
+ */
1564
+ "client-request-id"?: string;
1565
+ /** Whether the server should return the client-request-id in the response. */
1566
+ "return-client-request-id"?: boolean;
1567
+ /**
1568
+ * The time the request was issued. Client libraries typically set this to the
1569
+ * current system clock time; set it explicitly if you are calling the REST API
1570
+ * directly.
1571
+ */
1572
+ "ocp-date"?: string;
1573
+ }
1574
+ export interface DeleteCertificateQueryParamProperties {
1575
+ /** The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. If the value is larger than 30, the default will be used instead.". */
1576
+ timeOut?: number;
1577
+ }
1578
+ export interface DeleteCertificateQueryParam {
1579
+ queryParameters?: DeleteCertificateQueryParamProperties;
1580
+ }
1581
+ export interface DeleteCertificateHeaderParam {
1582
+ headers?: RawHttpHeadersInput & DeleteCertificateHeaders;
1583
+ }
1584
+ export type DeleteCertificateParameters = DeleteCertificateQueryParam & DeleteCertificateHeaderParam & RequestParameters;
1585
+ export interface GetCertificateHeaders {
1586
+ /**
1587
+ * The caller-generated request identity, in the form of a GUID with no decoration
1588
+ * such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.
1589
+ */
1590
+ "client-request-id"?: string;
1591
+ /** Whether the server should return the client-request-id in the response. */
1592
+ "return-client-request-id"?: boolean;
1593
+ /**
1594
+ * The time the request was issued. Client libraries typically set this to the
1595
+ * current system clock time; set it explicitly if you are calling the REST API
1596
+ * directly.
1597
+ */
1598
+ "ocp-date"?: string;
1599
+ }
1600
+ /** This is the wrapper object for the parameter `$select` with explode set to false and style set to form. */
1601
+ export interface GetCertificateSelectQueryParam {
1602
+ /** Value of the parameter */
1603
+ value: string[];
1604
+ /** Should we explode the value? */
1605
+ explode: false;
1606
+ /** Style of the value */
1607
+ style: "form";
1608
+ }
1609
+ export interface GetCertificateQueryParamProperties {
1610
+ /** The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. If the value is larger than 30, the default will be used instead.". */
1611
+ timeOut?: number;
1612
+ /** An OData $select clause. */
1613
+ $select?: string[] | GetCertificateSelectQueryParam;
1614
+ }
1615
+ export interface GetCertificateQueryParam {
1616
+ queryParameters?: GetCertificateQueryParamProperties;
1617
+ }
1618
+ export interface GetCertificateHeaderParam {
1619
+ headers?: RawHttpHeadersInput & GetCertificateHeaders;
1620
+ }
1621
+ export type GetCertificateParameters = GetCertificateQueryParam & GetCertificateHeaderParam & RequestParameters;
1349
1622
  export interface JobScheduleExistsHeaders {
1350
1623
  /**
1351
1624
  * The caller-generated request identity, in the form of a GUID with no decoration
@@ -1438,6 +1711,8 @@ export interface DeleteJobScheduleHeaders {
1438
1711
  export interface DeleteJobScheduleQueryParamProperties {
1439
1712
  /** The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. If the value is larger than 30, the default will be used instead.". */
1440
1713
  timeOut?: number;
1714
+ /** If true, the server will delete the JobSchedule even if the corresponding nodes have not fully processed the deletion. The default value is false. */
1715
+ force?: boolean;
1441
1716
  }
1442
1717
  export interface DeleteJobScheduleQueryParam {
1443
1718
  queryParameters?: DeleteJobScheduleQueryParamProperties;
@@ -1485,13 +1760,31 @@ export interface GetJobScheduleHeaders {
1485
1760
  */
1486
1761
  "If-None-Match"?: string;
1487
1762
  }
1763
+ /** This is the wrapper object for the parameter `$select` with explode set to false and style set to form. */
1764
+ export interface GetJobScheduleSelectQueryParam {
1765
+ /** Value of the parameter */
1766
+ value: string[];
1767
+ /** Should we explode the value? */
1768
+ explode: false;
1769
+ /** Style of the value */
1770
+ style: "form";
1771
+ }
1772
+ /** This is the wrapper object for the parameter `$expand` with explode set to false and style set to form. */
1773
+ export interface GetJobScheduleExpandQueryParam {
1774
+ /** Value of the parameter */
1775
+ value: string[];
1776
+ /** Should we explode the value? */
1777
+ explode: false;
1778
+ /** Style of the value */
1779
+ style: "form";
1780
+ }
1488
1781
  export interface GetJobScheduleQueryParamProperties {
1489
1782
  /** The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. If the value is larger than 30, the default will be used instead.". */
1490
1783
  timeOut?: number;
1491
1784
  /** An OData $select clause. */
1492
- $select?: string[];
1785
+ $select?: string[] | GetJobScheduleSelectQueryParam;
1493
1786
  /** An OData $expand clause. */
1494
- $expand?: string[];
1787
+ $expand?: string[] | GetJobScheduleExpandQueryParam;
1495
1788
  }
1496
1789
  export interface GetJobScheduleQueryParam {
1497
1790
  queryParameters?: GetJobScheduleQueryParamProperties;
@@ -1541,7 +1834,7 @@ export interface UpdateJobScheduleHeaders {
1541
1834
  }
1542
1835
  export interface UpdateJobScheduleBodyParam {
1543
1836
  /** The options to use for updating the Job Schedule. */
1544
- body: BatchJobScheduleUpdateContent;
1837
+ body: BatchJobScheduleUpdateOptions;
1545
1838
  }
1546
1839
  export interface UpdateJobScheduleQueryParamProperties {
1547
1840
  /** The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. If the value is larger than 30, the default will be used instead.". */
@@ -1758,6 +2051,8 @@ export interface TerminateJobScheduleHeaders {
1758
2051
  export interface TerminateJobScheduleQueryParamProperties {
1759
2052
  /** The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. If the value is larger than 30, the default will be used instead.". */
1760
2053
  timeOut?: number;
2054
+ /** If true, the server will terminate the JobSchedule even if the corresponding nodes have not fully processed the termination. The default value is false. */
2055
+ force?: boolean;
1761
2056
  }
1762
2057
  export interface TerminateJobScheduleQueryParam {
1763
2058
  queryParameters?: TerminateJobScheduleQueryParamProperties;
@@ -1783,7 +2078,7 @@ export interface CreateJobScheduleHeaders {
1783
2078
  }
1784
2079
  export interface CreateJobScheduleBodyParam {
1785
2080
  /** The Job Schedule to be created. */
1786
- body: BatchJobScheduleCreateContent;
2081
+ body: BatchJobScheduleCreateOptions;
1787
2082
  }
1788
2083
  export interface CreateJobScheduleQueryParamProperties {
1789
2084
  /** The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. If the value is larger than 30, the default will be used instead.". */
@@ -1815,6 +2110,24 @@ export interface ListJobSchedulesHeaders {
1815
2110
  */
1816
2111
  "ocp-date"?: string;
1817
2112
  }
2113
+ /** This is the wrapper object for the parameter `$select` with explode set to false and style set to form. */
2114
+ export interface ListJobSchedulesSelectQueryParam {
2115
+ /** Value of the parameter */
2116
+ value: string[];
2117
+ /** Should we explode the value? */
2118
+ explode: false;
2119
+ /** Style of the value */
2120
+ style: "form";
2121
+ }
2122
+ /** This is the wrapper object for the parameter `$expand` with explode set to false and style set to form. */
2123
+ export interface ListJobSchedulesExpandQueryParam {
2124
+ /** Value of the parameter */
2125
+ value: string[];
2126
+ /** Should we explode the value? */
2127
+ explode: false;
2128
+ /** Style of the value */
2129
+ style: "form";
2130
+ }
1818
2131
  export interface ListJobSchedulesQueryParamProperties {
1819
2132
  /** The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. If the value is larger than 30, the default will be used instead.". */
1820
2133
  timeOut?: number;
@@ -1825,13 +2138,13 @@ export interface ListJobSchedulesQueryParamProperties {
1825
2138
  maxresults?: number;
1826
2139
  /**
1827
2140
  * An OData $filter clause. For more information on constructing this filter, see
1828
- * https://docs.microsoft.com/en-us/rest/api/batchservice/odata-filters-in-batch#list-job-schedules.
2141
+ * https://learn.microsoft.com/rest/api/batchservice/odata-filters-in-batch#list-job-schedules.
1829
2142
  */
1830
2143
  $filter?: string;
1831
2144
  /** An OData $select clause. */
1832
- $select?: string[];
2145
+ $select?: string[] | ListJobSchedulesSelectQueryParam;
1833
2146
  /** An OData $expand clause. */
1834
- $expand?: string[];
2147
+ $expand?: string[] | ListJobSchedulesExpandQueryParam;
1835
2148
  }
1836
2149
  export interface ListJobSchedulesQueryParam {
1837
2150
  queryParameters?: ListJobSchedulesQueryParamProperties;
@@ -1857,7 +2170,7 @@ export interface CreateTaskHeaders {
1857
2170
  }
1858
2171
  export interface CreateTaskBodyParam {
1859
2172
  /** The Task to be created. */
1860
- body: BatchTaskCreateContent;
2173
+ body: BatchTaskCreateOptions;
1861
2174
  }
1862
2175
  export interface CreateTaskQueryParamProperties {
1863
2176
  /** The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. If the value is larger than 30, the default will be used instead.". */
@@ -1889,6 +2202,24 @@ export interface ListTasksHeaders {
1889
2202
  */
1890
2203
  "ocp-date"?: string;
1891
2204
  }
2205
+ /** This is the wrapper object for the parameter `$select` with explode set to false and style set to form. */
2206
+ export interface ListTasksSelectQueryParam {
2207
+ /** Value of the parameter */
2208
+ value: string[];
2209
+ /** Should we explode the value? */
2210
+ explode: false;
2211
+ /** Style of the value */
2212
+ style: "form";
2213
+ }
2214
+ /** This is the wrapper object for the parameter `$expand` with explode set to false and style set to form. */
2215
+ export interface ListTasksExpandQueryParam {
2216
+ /** Value of the parameter */
2217
+ value: string[];
2218
+ /** Should we explode the value? */
2219
+ explode: false;
2220
+ /** Style of the value */
2221
+ style: "form";
2222
+ }
1892
2223
  export interface ListTasksQueryParamProperties {
1893
2224
  /** The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. If the value is larger than 30, the default will be used instead.". */
1894
2225
  timeOut?: number;
@@ -1899,13 +2230,13 @@ export interface ListTasksQueryParamProperties {
1899
2230
  maxresults?: number;
1900
2231
  /**
1901
2232
  * An OData $filter clause. For more information on constructing this filter, see
1902
- * https://docs.microsoft.com/en-us/rest/api/batchservice/odata-filters-in-batch#list-tasks.
2233
+ * https://learn.microsoft.com/rest/api/batchservice/odata-filters-in-batch#list-tasks.
1903
2234
  */
1904
2235
  $filter?: string;
1905
2236
  /** An OData $select clause. */
1906
- $select?: string[];
2237
+ $select?: string[] | ListTasksSelectQueryParam;
1907
2238
  /** An OData $expand clause. */
1908
- $expand?: string[];
2239
+ $expand?: string[] | ListTasksExpandQueryParam;
1909
2240
  }
1910
2241
  export interface ListTasksQueryParam {
1911
2242
  queryParameters?: ListTasksQueryParamProperties;
@@ -2037,13 +2368,31 @@ export interface GetTaskHeaders {
2037
2368
  */
2038
2369
  "If-None-Match"?: string;
2039
2370
  }
2371
+ /** This is the wrapper object for the parameter `$select` with explode set to false and style set to form. */
2372
+ export interface GetTaskSelectQueryParam {
2373
+ /** Value of the parameter */
2374
+ value: string[];
2375
+ /** Should we explode the value? */
2376
+ explode: false;
2377
+ /** Style of the value */
2378
+ style: "form";
2379
+ }
2380
+ /** This is the wrapper object for the parameter `$expand` with explode set to false and style set to form. */
2381
+ export interface GetTaskExpandQueryParam {
2382
+ /** Value of the parameter */
2383
+ value: string[];
2384
+ /** Should we explode the value? */
2385
+ explode: false;
2386
+ /** Style of the value */
2387
+ style: "form";
2388
+ }
2040
2389
  export interface GetTaskQueryParamProperties {
2041
2390
  /** The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. If the value is larger than 30, the default will be used instead.". */
2042
2391
  timeOut?: number;
2043
2392
  /** An OData $select clause. */
2044
- $select?: string[];
2393
+ $select?: string[] | GetTaskSelectQueryParam;
2045
2394
  /** An OData $expand clause. */
2046
- $expand?: string[];
2395
+ $expand?: string[] | GetTaskExpandQueryParam;
2047
2396
  }
2048
2397
  export interface GetTaskQueryParam {
2049
2398
  queryParameters?: GetTaskQueryParamProperties;
@@ -2125,11 +2474,20 @@ export interface ListSubTasksHeaders {
2125
2474
  */
2126
2475
  "ocp-date"?: string;
2127
2476
  }
2477
+ /** This is the wrapper object for the parameter `$select` with explode set to false and style set to form. */
2478
+ export interface ListSubTasksSelectQueryParam {
2479
+ /** Value of the parameter */
2480
+ value: string[];
2481
+ /** Should we explode the value? */
2482
+ explode: false;
2483
+ /** Style of the value */
2484
+ style: "form";
2485
+ }
2128
2486
  export interface ListSubTasksQueryParamProperties {
2129
2487
  /** The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. If the value is larger than 30, the default will be used instead.". */
2130
2488
  timeOut?: number;
2131
2489
  /** An OData $select clause. */
2132
- $select?: string[];
2490
+ $select?: string[] | ListSubTasksSelectQueryParam;
2133
2491
  }
2134
2492
  export interface ListSubTasksQueryParam {
2135
2493
  queryParameters?: ListSubTasksQueryParamProperties;
@@ -2377,7 +2735,7 @@ export interface ListTaskFilesQueryParamProperties {
2377
2735
  maxresults?: number;
2378
2736
  /**
2379
2737
  * An OData $filter clause. For more information on constructing this filter, see
2380
- * https://docs.microsoft.com/en-us/rest/api/batchservice/odata-filters-in-batch#list-task-files.
2738
+ * https://learn.microsoft.com/rest/api/batchservice/odata-filters-in-batch#list-task-files.
2381
2739
  */
2382
2740
  $filter?: string;
2383
2741
  /**
@@ -2410,7 +2768,7 @@ export interface CreateNodeUserHeaders {
2410
2768
  }
2411
2769
  export interface CreateNodeUserBodyParam {
2412
2770
  /** The options to use for creating the user. */
2413
- body: BatchNodeUserCreateContent;
2771
+ body: BatchNodeUserCreateOptions;
2414
2772
  }
2415
2773
  export interface CreateNodeUserQueryParamProperties {
2416
2774
  /** The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. If the value is larger than 30, the default will be used instead.". */
@@ -2470,7 +2828,7 @@ export interface ReplaceNodeUserHeaders {
2470
2828
  }
2471
2829
  export interface ReplaceNodeUserBodyParam {
2472
2830
  /** The options to use for updating the user. */
2473
- body: BatchNodeUserUpdateContent;
2831
+ body: BatchNodeUserUpdateOptions;
2474
2832
  }
2475
2833
  export interface ReplaceNodeUserQueryParamProperties {
2476
2834
  /** The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. If the value is larger than 30, the default will be used instead.". */
@@ -2502,11 +2860,20 @@ export interface GetNodeHeaders {
2502
2860
  */
2503
2861
  "ocp-date"?: string;
2504
2862
  }
2863
+ /** This is the wrapper object for the parameter `$select` with explode set to false and style set to form. */
2864
+ export interface GetNodeSelectQueryParam {
2865
+ /** Value of the parameter */
2866
+ value: string[];
2867
+ /** Should we explode the value? */
2868
+ explode: false;
2869
+ /** Style of the value */
2870
+ style: "form";
2871
+ }
2505
2872
  export interface GetNodeQueryParamProperties {
2506
2873
  /** The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. If the value is larger than 30, the default will be used instead.". */
2507
2874
  timeOut?: number;
2508
2875
  /** An OData $select clause. */
2509
- $select?: string[];
2876
+ $select?: string[] | GetNodeSelectQueryParam;
2510
2877
  }
2511
2878
  export interface GetNodeQueryParam {
2512
2879
  queryParameters?: GetNodeQueryParamProperties;
@@ -2532,7 +2899,7 @@ export interface RebootNodeHeaders {
2532
2899
  }
2533
2900
  export interface RebootNodeBodyParam {
2534
2901
  /** The options to use for rebooting the Compute Node. */
2535
- body?: BatchNodeRebootContent;
2902
+ body?: BatchNodeRebootOptions;
2536
2903
  }
2537
2904
  export interface RebootNodeQueryParamProperties {
2538
2905
  /** The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. If the value is larger than 30, the default will be used instead.". */
@@ -2549,6 +2916,100 @@ export interface RebootNodeMediaTypesParam {
2549
2916
  contentType: "application/json; odata=minimalmetadata";
2550
2917
  }
2551
2918
  export type RebootNodeParameters = RebootNodeQueryParam & RebootNodeHeaderParam & RebootNodeMediaTypesParam & RebootNodeBodyParam & RequestParameters;
2919
+ export interface StartNodeHeaders {
2920
+ /**
2921
+ * The caller-generated request identity, in the form of a GUID with no decoration
2922
+ * such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.
2923
+ */
2924
+ "client-request-id"?: string;
2925
+ /** Whether the server should return the client-request-id in the response. */
2926
+ "return-client-request-id"?: boolean;
2927
+ /**
2928
+ * The time the request was issued. Client libraries typically set this to the
2929
+ * current system clock time; set it explicitly if you are calling the REST API
2930
+ * directly.
2931
+ */
2932
+ "ocp-date"?: string;
2933
+ }
2934
+ export interface StartNodeQueryParamProperties {
2935
+ /** The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. If the value is larger than 30, the default will be used instead.". */
2936
+ timeOut?: number;
2937
+ }
2938
+ export interface StartNodeQueryParam {
2939
+ queryParameters?: StartNodeQueryParamProperties;
2940
+ }
2941
+ export interface StartNodeHeaderParam {
2942
+ headers?: RawHttpHeadersInput & StartNodeHeaders;
2943
+ }
2944
+ export type StartNodeParameters = StartNodeQueryParam & StartNodeHeaderParam & RequestParameters;
2945
+ export interface DeallocateNodeHeaders {
2946
+ /**
2947
+ * The caller-generated request identity, in the form of a GUID with no decoration
2948
+ * such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.
2949
+ */
2950
+ "client-request-id"?: string;
2951
+ /** Whether the server should return the client-request-id in the response. */
2952
+ "return-client-request-id"?: boolean;
2953
+ /**
2954
+ * The time the request was issued. Client libraries typically set this to the
2955
+ * current system clock time; set it explicitly if you are calling the REST API
2956
+ * directly.
2957
+ */
2958
+ "ocp-date"?: string;
2959
+ }
2960
+ export interface DeallocateNodeBodyParam {
2961
+ /** The options to use for deallocating the Compute Node. */
2962
+ body?: BatchNodeDeallocateOptions;
2963
+ }
2964
+ export interface DeallocateNodeQueryParamProperties {
2965
+ /** The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. If the value is larger than 30, the default will be used instead.". */
2966
+ timeOut?: number;
2967
+ }
2968
+ export interface DeallocateNodeQueryParam {
2969
+ queryParameters?: DeallocateNodeQueryParamProperties;
2970
+ }
2971
+ export interface DeallocateNodeHeaderParam {
2972
+ headers?: RawHttpHeadersInput & DeallocateNodeHeaders;
2973
+ }
2974
+ export interface DeallocateNodeMediaTypesParam {
2975
+ /** Type of content */
2976
+ contentType: "application/json; odata=minimalmetadata";
2977
+ }
2978
+ export type DeallocateNodeParameters = DeallocateNodeQueryParam & DeallocateNodeHeaderParam & DeallocateNodeMediaTypesParam & DeallocateNodeBodyParam & RequestParameters;
2979
+ export interface ReimageNodeHeaders {
2980
+ /**
2981
+ * The caller-generated request identity, in the form of a GUID with no decoration
2982
+ * such as curly braces, e.g. 9C4D50EE-2D56-4CD3-8152-34347DC9F2B0.
2983
+ */
2984
+ "client-request-id"?: string;
2985
+ /** Whether the server should return the client-request-id in the response. */
2986
+ "return-client-request-id"?: boolean;
2987
+ /**
2988
+ * The time the request was issued. Client libraries typically set this to the
2989
+ * current system clock time; set it explicitly if you are calling the REST API
2990
+ * directly.
2991
+ */
2992
+ "ocp-date"?: string;
2993
+ }
2994
+ export interface ReimageNodeBodyParam {
2995
+ /** The options to use for reimaging the Compute Node. */
2996
+ body?: BatchNodeReimageOptions;
2997
+ }
2998
+ export interface ReimageNodeQueryParamProperties {
2999
+ /** The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. If the value is larger than 30, the default will be used instead.". */
3000
+ timeOut?: number;
3001
+ }
3002
+ export interface ReimageNodeQueryParam {
3003
+ queryParameters?: ReimageNodeQueryParamProperties;
3004
+ }
3005
+ export interface ReimageNodeHeaderParam {
3006
+ headers?: RawHttpHeadersInput & ReimageNodeHeaders;
3007
+ }
3008
+ export interface ReimageNodeMediaTypesParam {
3009
+ /** Type of content */
3010
+ contentType: "application/json; odata=minimalmetadata";
3011
+ }
3012
+ export type ReimageNodeParameters = ReimageNodeQueryParam & ReimageNodeHeaderParam & ReimageNodeMediaTypesParam & ReimageNodeBodyParam & RequestParameters;
2552
3013
  export interface DisableNodeSchedulingHeaders {
2553
3014
  /**
2554
3015
  * The caller-generated request identity, in the form of a GUID with no decoration
@@ -2566,7 +3027,7 @@ export interface DisableNodeSchedulingHeaders {
2566
3027
  }
2567
3028
  export interface DisableNodeSchedulingBodyParam {
2568
3029
  /** The options to use for disabling scheduling on the Compute Node. */
2569
- body?: BatchNodeDisableSchedulingContent;
3030
+ body?: BatchNodeDisableSchedulingOptions;
2570
3031
  }
2571
3032
  export interface DisableNodeSchedulingQueryParamProperties {
2572
3033
  /** The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. If the value is larger than 30, the default will be used instead.". */
@@ -2652,7 +3113,7 @@ export interface UploadNodeLogsHeaders {
2652
3113
  }
2653
3114
  export interface UploadNodeLogsBodyParam {
2654
3115
  /** The Azure Batch service log files upload options. */
2655
- body: UploadBatchServiceLogsContent;
3116
+ body: UploadBatchServiceLogsOptions;
2656
3117
  }
2657
3118
  export interface UploadNodeLogsQueryParamProperties {
2658
3119
  /** The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. If the value is larger than 30, the default will be used instead.". */
@@ -2684,6 +3145,15 @@ export interface ListNodesHeaders {
2684
3145
  */
2685
3146
  "ocp-date"?: string;
2686
3147
  }
3148
+ /** This is the wrapper object for the parameter `$select` with explode set to false and style set to form. */
3149
+ export interface ListNodesSelectQueryParam {
3150
+ /** Value of the parameter */
3151
+ value: string[];
3152
+ /** Should we explode the value? */
3153
+ explode: false;
3154
+ /** Style of the value */
3155
+ style: "form";
3156
+ }
2687
3157
  export interface ListNodesQueryParamProperties {
2688
3158
  /** The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. If the value is larger than 30, the default will be used instead.". */
2689
3159
  timeOut?: number;
@@ -2694,11 +3164,11 @@ export interface ListNodesQueryParamProperties {
2694
3164
  maxresults?: number;
2695
3165
  /**
2696
3166
  * An OData $filter clause. For more information on constructing this filter, see
2697
- * https://docs.microsoft.com/en-us/rest/api/batchservice/odata-filters-in-batch#list-nodes-in-a-pool.
3167
+ * https://learn.microsoft.com/rest/api/batchservice/odata-filters-in-batch#list-nodes-in-a-pool.
2698
3168
  */
2699
3169
  $filter?: string;
2700
3170
  /** An OData $select clause. */
2701
- $select?: string[];
3171
+ $select?: string[] | ListNodesSelectQueryParam;
2702
3172
  }
2703
3173
  export interface ListNodesQueryParam {
2704
3174
  queryParameters?: ListNodesQueryParamProperties;
@@ -2722,11 +3192,20 @@ export interface GetNodeExtensionHeaders {
2722
3192
  */
2723
3193
  "ocp-date"?: string;
2724
3194
  }
3195
+ /** This is the wrapper object for the parameter `$select` with explode set to false and style set to form. */
3196
+ export interface GetNodeExtensionSelectQueryParam {
3197
+ /** Value of the parameter */
3198
+ value: string[];
3199
+ /** Should we explode the value? */
3200
+ explode: false;
3201
+ /** Style of the value */
3202
+ style: "form";
3203
+ }
2725
3204
  export interface GetNodeExtensionQueryParamProperties {
2726
3205
  /** The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. If the value is larger than 30, the default will be used instead.". */
2727
3206
  timeOut?: number;
2728
3207
  /** An OData $select clause. */
2729
- $select?: string[];
3208
+ $select?: string[] | GetNodeExtensionSelectQueryParam;
2730
3209
  }
2731
3210
  export interface GetNodeExtensionQueryParam {
2732
3211
  queryParameters?: GetNodeExtensionQueryParamProperties;
@@ -2750,6 +3229,15 @@ export interface ListNodeExtensionsHeaders {
2750
3229
  */
2751
3230
  "ocp-date"?: string;
2752
3231
  }
3232
+ /** This is the wrapper object for the parameter `$select` with explode set to false and style set to form. */
3233
+ export interface ListNodeExtensionsSelectQueryParam {
3234
+ /** Value of the parameter */
3235
+ value: string[];
3236
+ /** Should we explode the value? */
3237
+ explode: false;
3238
+ /** Style of the value */
3239
+ style: "form";
3240
+ }
2753
3241
  export interface ListNodeExtensionsQueryParamProperties {
2754
3242
  /** The maximum time that the server can spend processing the request, in seconds. The default is 30 seconds. If the value is larger than 30, the default will be used instead.". */
2755
3243
  timeOut?: number;
@@ -2759,7 +3247,7 @@ export interface ListNodeExtensionsQueryParamProperties {
2759
3247
  */
2760
3248
  maxresults?: number;
2761
3249
  /** An OData $select clause. */
2762
- $select?: string[];
3250
+ $select?: string[] | ListNodeExtensionsSelectQueryParam;
2763
3251
  }
2764
3252
  export interface ListNodeExtensionsQueryParam {
2765
3253
  queryParameters?: ListNodeExtensionsQueryParamProperties;
@@ -2907,7 +3395,7 @@ export interface ListNodeFilesQueryParamProperties {
2907
3395
  maxresults?: number;
2908
3396
  /**
2909
3397
  * An OData $filter clause. For more information on constructing this filter, see
2910
- * https://docs.microsoft.com/en-us/rest/api/batchservice/odata-filters-in-batch#list-compute-node-files.
3398
+ * https://learn.microsoft.com/rest/api/batchservice/odata-filters-in-batch#list-compute-node-files.
2911
3399
  */
2912
3400
  $filter?: string;
2913
3401
  /** Whether to list children of a directory. */