| | 1 | | //This file was autogenerated by a tool. Do not modify it by hand. |
| | 2 | | namespace Microsoft.Azure.Batch.Protocol.BatchRequests |
| | 3 | | { |
| | 4 | | using System.Collections.Generic; |
| | 5 | | using System.Threading; |
| | 6 | | using Rest.Azure; |
| | 7 | | using Microsoft.Azure.Batch.Protocol.Models; |
| | 8 | |
|
| | 9 | | #region Account |
| | 10 | |
|
| | 11 | | /// <summary> |
| | 12 | | /// An <see cref="IBatchRequest"/> for the AccountListNodeAgentSkus operation. |
| | 13 | | /// </summary> |
| | 14 | | public class AccountListSupportedImagesBatchRequest : Protocol.BatchRequest< |
| | 15 | | AccountListSupportedImagesOptions, |
| | 16 | | AzureOperationResponse<IPage<ImageInformation>, AccountListSupportedImagesHeaders>> |
| | 17 | | { |
| | 18 | | /// <summary> |
| | 19 | | /// Initializes a new instance of the <see cref="AccountListSupportedImagesBatchRequest " /> class. |
| | 20 | | /// </summary> |
| | 21 | | /// <param name="serviceClient">The service client to use.</param> |
| | 22 | | /// <param name="cancellationToken">A <see cref="CancellationToken"/> controlling the request lifetime.</param> |
| | 23 | | public AccountListSupportedImagesBatchRequest( |
| | 24 | | BatchServiceClient serviceClient, |
| | 25 | | CancellationToken cancellationToken) : base(serviceClient, cancellationToken) |
| | 26 | | { |
| | 27 | | } |
| | 28 | | } |
| | 29 | |
|
| | 30 | | /// <summary> |
| | 31 | | /// An <see cref="IBatchRequest"/> for the AccountListNodeAgentSkusNext operation. |
| | 32 | | /// </summary> |
| | 33 | | public class AccountListSupportedImagesNextBatchRequest : Protocol.BatchRequest< |
| | 34 | | AccountListSupportedImagesNextOptions, |
| | 35 | | AzureOperationResponse<IPage<ImageInformation>, AccountListSupportedImagesHeaders>> |
| | 36 | | { |
| | 37 | | /// <summary> |
| | 38 | | /// Initializes a new instance of the <see cref="AccountListSupportedImagesNextBatchRequest" /> class. |
| | 39 | | /// </summary> |
| | 40 | | /// <param name="serviceClient">The service client to use.</param> |
| | 41 | | /// <param name="cancellationToken">A <see cref="CancellationToken"/> controlling the request lifetime.</param> |
| | 42 | | public AccountListSupportedImagesNextBatchRequest( |
| | 43 | | BatchServiceClient serviceClient, |
| | 44 | | CancellationToken cancellationToken) : base(serviceClient, cancellationToken) |
| | 45 | | { |
| | 46 | | } |
| | 47 | | } |
| | 48 | |
|
| | 49 | | /// <summary> |
| | 50 | | /// An <see cref="IBatchRequest"/> for the AccountListPoolNodeCounts operation. |
| | 51 | | /// </summary> |
| | 52 | | public class AccountListPoolNodeCountsBatchRequest : Protocol.BatchRequest< |
| | 53 | | AccountListPoolNodeCountsOptions, |
| | 54 | | AzureOperationResponse<IPage<PoolNodeCounts>, AccountListPoolNodeCountsHeaders>> |
| | 55 | | { |
| | 56 | | /// <summary> |
| | 57 | | /// Initializes a new instance of the <see cref="AccountListPoolNodeCountsBatchRequest" /> class. |
| | 58 | | /// </summary> |
| | 59 | | /// <param name="serviceClient">The service client to use.</param> |
| | 60 | | /// <param name="cancellationToken">A <see cref="CancellationToken"/> controlling the request lifetime.</param> |
| | 61 | | public AccountListPoolNodeCountsBatchRequest( |
| | 62 | | BatchServiceClient serviceClient, |
| | 63 | | CancellationToken cancellationToken) : base(serviceClient, cancellationToken) |
| | 64 | | { |
| | 65 | | } |
| | 66 | | } |
| | 67 | |
|
| | 68 | | /// <summary> |
| | 69 | | /// An <see cref="IBatchRequest"/> for the AccountListPoolNodeCountsNext operation. |
| | 70 | | /// </summary> |
| | 71 | | public class AccountListPoolNodeCountsNextBatchRequest : Protocol.BatchRequest< |
| | 72 | | AccountListPoolNodeCountsNextOptions, |
| | 73 | | AzureOperationResponse<IPage<PoolNodeCounts>, AccountListPoolNodeCountsHeaders>> |
| | 74 | | { |
| | 75 | | /// <summary> |
| | 76 | | /// Initializes a new instance of the <see cref="AccountListPoolNodeCountsNextBatchRequest" /> class. |
| | 77 | | /// </summary> |
| | 78 | | /// <param name="serviceClient">The service client to use.</param> |
| | 79 | | /// <param name="cancellationToken">A <see cref="CancellationToken"/> controlling the request lifetime.</param> |
| | 80 | | public AccountListPoolNodeCountsNextBatchRequest( |
| | 81 | | BatchServiceClient serviceClient, |
| | 82 | | CancellationToken cancellationToken) : base(serviceClient, cancellationToken) |
| | 83 | | { |
| | 84 | | } |
| | 85 | | } |
| | 86 | |
|
| | 87 | | #endregion |
| | 88 | |
|
| | 89 | | #region Application |
| | 90 | |
|
| | 91 | | /// <summary> |
| | 92 | | /// An <see cref="IBatchRequest"/> for the ApplicationList operation. |
| | 93 | | /// </summary> |
| | 94 | | public class ApplicationListBatchRequest : Protocol.BatchRequest< |
| | 95 | | ApplicationListOptions, |
| | 96 | | AzureOperationResponse<IPage<ApplicationSummary>, ApplicationListHeaders>> |
| | 97 | | { |
| | 98 | | /// <summary> |
| | 99 | | /// Initializes a new instance of the <see cref="ApplicationListBatchRequest" /> class. |
| | 100 | | /// </summary> |
| | 101 | | /// <param name="serviceClient">The service client to use.</param> |
| | 102 | | /// <param name="cancellationToken">A <see cref="CancellationToken"/> controlling the request lifetime.</param> |
| | 103 | | public ApplicationListBatchRequest( |
| | 104 | | BatchServiceClient serviceClient, |
| | 105 | | CancellationToken cancellationToken) : base(serviceClient, cancellationToken) |
| | 106 | | { |
| | 107 | | } |
| | 108 | | } |
| | 109 | |
|
| | 110 | | /// <summary> |
| | 111 | | /// An <see cref="IBatchRequest"/> for the ApplicationGet operation. |
| | 112 | | /// </summary> |
| | 113 | | public class ApplicationGetBatchRequest : Protocol.BatchRequest< |
| | 114 | | ApplicationGetOptions, |
| | 115 | | AzureOperationResponse<ApplicationSummary, ApplicationGetHeaders>> |
| | 116 | | { |
| | 117 | | /// <summary> |
| | 118 | | /// Initializes a new instance of the <see cref="ApplicationGetBatchRequest" /> class. |
| | 119 | | /// </summary> |
| | 120 | | /// <param name="serviceClient">The service client to use.</param> |
| | 121 | | /// <param name="cancellationToken">A <see cref="CancellationToken"/> controlling the request lifetime.</param> |
| | 122 | | public ApplicationGetBatchRequest( |
| | 123 | | BatchServiceClient serviceClient, |
| | 124 | | CancellationToken cancellationToken) : base(serviceClient, cancellationToken) |
| | 125 | | { |
| | 126 | | } |
| | 127 | | } |
| | 128 | |
|
| | 129 | | /// <summary> |
| | 130 | | /// An <see cref="IBatchRequest"/> for the ApplicationListNext operation. |
| | 131 | | /// </summary> |
| | 132 | | public class ApplicationListNextBatchRequest : Protocol.BatchRequest< |
| | 133 | | ApplicationListNextOptions, |
| | 134 | | AzureOperationResponse<IPage<ApplicationSummary>, ApplicationListHeaders>> |
| | 135 | | { |
| | 136 | | /// <summary> |
| | 137 | | /// Initializes a new instance of the <see cref="ApplicationListNextBatchRequest" /> class. |
| | 138 | | /// </summary> |
| | 139 | | /// <param name="serviceClient">The service client to use.</param> |
| | 140 | | /// <param name="cancellationToken">A <see cref="CancellationToken"/> controlling the request lifetime.</param> |
| | 141 | | public ApplicationListNextBatchRequest( |
| | 142 | | BatchServiceClient serviceClient, |
| | 143 | | CancellationToken cancellationToken) : base(serviceClient, cancellationToken) |
| | 144 | | { |
| | 145 | | } |
| | 146 | | } |
| | 147 | |
|
| | 148 | | #endregion |
| | 149 | |
|
| | 150 | | #region Certificate |
| | 151 | |
|
| | 152 | | /// <summary> |
| | 153 | | /// An <see cref="IBatchRequest"/> for the CertificateAdd operation. |
| | 154 | | /// </summary> |
| | 155 | | public class CertificateAddBatchRequest : Protocol.BatchRequest< |
| | 156 | | CertificateAddParameter, |
| | 157 | | CertificateAddOptions, |
| | 158 | | AzureOperationHeaderResponse<CertificateAddHeaders>> |
| | 159 | | { |
| | 160 | | /// <summary> |
| | 161 | | /// Initializes a new instance of the <see cref="CertificateAddBatchRequest" /> class. |
| | 162 | | /// </summary> |
| | 163 | | /// <param name="serviceClient">The service client to use.</param> |
| | 164 | | /// <param name="parameters">The parameters to use.</param> |
| | 165 | | /// <param name="cancellationToken">A <see cref="CancellationToken"/> controlling the request lifetime.</param> |
| | 166 | | public CertificateAddBatchRequest( |
| | 167 | | BatchServiceClient serviceClient, |
| | 168 | | CertificateAddParameter parameters, |
| | 169 | | CancellationToken cancellationToken) : base(serviceClient, parameters, cancellationToken) |
| | 170 | | { |
| | 171 | | } |
| | 172 | | } |
| | 173 | |
|
| | 174 | | /// <summary> |
| | 175 | | /// An <see cref="IBatchRequest"/> for the CertificateList operation. |
| | 176 | | /// </summary> |
| | 177 | | public class CertificateListBatchRequest : Protocol.BatchRequest< |
| | 178 | | CertificateListOptions, |
| | 179 | | AzureOperationResponse<IPage<Certificate>, CertificateListHeaders>> |
| | 180 | | { |
| | 181 | | /// <summary> |
| | 182 | | /// Initializes a new instance of the <see cref="CertificateListBatchRequest" /> class. |
| | 183 | | /// </summary> |
| | 184 | | /// <param name="serviceClient">The service client to use.</param> |
| | 185 | | /// <param name="cancellationToken">A <see cref="CancellationToken"/> controlling the request lifetime.</param> |
| | 186 | | public CertificateListBatchRequest( |
| | 187 | | BatchServiceClient serviceClient, |
| | 188 | | CancellationToken cancellationToken) : base(serviceClient, cancellationToken) |
| | 189 | | { |
| | 190 | | } |
| | 191 | | } |
| | 192 | |
|
| | 193 | | /// <summary> |
| | 194 | | /// An <see cref="IBatchRequest"/> for the CertificateCancelDeletion operation. |
| | 195 | | /// </summary> |
| | 196 | | public class CertificateCancelDeletionBatchRequest : Protocol.BatchRequest< |
| | 197 | | CertificateCancelDeletionOptions, |
| | 198 | | AzureOperationHeaderResponse<CertificateCancelDeletionHeaders>> |
| | 199 | | { |
| | 200 | | /// <summary> |
| | 201 | | /// Initializes a new instance of the <see cref="CertificateCancelDeletionBatchRequest" /> class. |
| | 202 | | /// </summary> |
| | 203 | | /// <param name="serviceClient">The service client to use.</param> |
| | 204 | | /// <param name="cancellationToken">A <see cref="CancellationToken"/> controlling the request lifetime.</param> |
| | 205 | | public CertificateCancelDeletionBatchRequest( |
| | 206 | | BatchServiceClient serviceClient, |
| | 207 | | CancellationToken cancellationToken) : base(serviceClient, cancellationToken) |
| | 208 | | { |
| | 209 | | } |
| | 210 | | } |
| | 211 | |
|
| | 212 | | /// <summary> |
| | 213 | | /// An <see cref="IBatchRequest"/> for the CertificateDelete operation. |
| | 214 | | /// </summary> |
| | 215 | | public class CertificateDeleteBatchRequest : Protocol.BatchRequest< |
| | 216 | | CertificateDeleteOptions, |
| | 217 | | AzureOperationHeaderResponse<CertificateDeleteHeaders>> |
| | 218 | | { |
| | 219 | | /// <summary> |
| | 220 | | /// Initializes a new instance of the <see cref="CertificateDeleteBatchRequest" /> class. |
| | 221 | | /// </summary> |
| | 222 | | /// <param name="serviceClient">The service client to use.</param> |
| | 223 | | /// <param name="cancellationToken">A <see cref="CancellationToken"/> controlling the request lifetime.</param> |
| | 224 | | public CertificateDeleteBatchRequest( |
| | 225 | | BatchServiceClient serviceClient, |
| | 226 | | CancellationToken cancellationToken) : base(serviceClient, cancellationToken) |
| | 227 | | { |
| | 228 | | } |
| | 229 | | } |
| | 230 | |
|
| | 231 | | /// <summary> |
| | 232 | | /// An <see cref="IBatchRequest"/> for the CertificateGet operation. |
| | 233 | | /// </summary> |
| | 234 | | public class CertificateGetBatchRequest : Protocol.BatchRequest< |
| | 235 | | CertificateGetOptions, |
| | 236 | | AzureOperationResponse<Certificate, CertificateGetHeaders>> |
| | 237 | | { |
| | 238 | | /// <summary> |
| | 239 | | /// Initializes a new instance of the <see cref="CertificateGetBatchRequest" /> class. |
| | 240 | | /// </summary> |
| | 241 | | /// <param name="serviceClient">The service client to use.</param> |
| | 242 | | /// <param name="cancellationToken">A <see cref="CancellationToken"/> controlling the request lifetime.</param> |
| | 243 | | public CertificateGetBatchRequest( |
| | 244 | | BatchServiceClient serviceClient, |
| | 245 | | CancellationToken cancellationToken) : base(serviceClient, cancellationToken) |
| | 246 | | { |
| | 247 | | } |
| | 248 | | } |
| | 249 | |
|
| | 250 | | /// <summary> |
| | 251 | | /// An <see cref="IBatchRequest"/> for the CertificateListNext operation. |
| | 252 | | /// </summary> |
| | 253 | | public class CertificateListNextBatchRequest : Protocol.BatchRequest< |
| | 254 | | CertificateListNextOptions, |
| | 255 | | AzureOperationResponse<IPage<Certificate>, CertificateListHeaders>> |
| | 256 | | { |
| | 257 | | /// <summary> |
| | 258 | | /// Initializes a new instance of the <see cref="CertificateListNextBatchRequest" /> class. |
| | 259 | | /// </summary> |
| | 260 | | /// <param name="serviceClient">The service client to use.</param> |
| | 261 | | /// <param name="cancellationToken">A <see cref="CancellationToken"/> controlling the request lifetime.</param> |
| | 262 | | public CertificateListNextBatchRequest( |
| | 263 | | BatchServiceClient serviceClient, |
| | 264 | | CancellationToken cancellationToken) : base(serviceClient, cancellationToken) |
| | 265 | | { |
| | 266 | | } |
| | 267 | | } |
| | 268 | |
|
| | 269 | | #endregion |
| | 270 | |
|
| | 271 | | #region ComputeNode |
| | 272 | |
|
| | 273 | | /// <summary> |
| | 274 | | /// An <see cref="IBatchRequest"/> for the ComputeNodeAddUser operation. |
| | 275 | | /// </summary> |
| | 276 | | public class ComputeNodeAddUserBatchRequest : Protocol.BatchRequest< |
| | 277 | | ComputeNodeUser, |
| | 278 | | ComputeNodeAddUserOptions, |
| | 279 | | AzureOperationHeaderResponse<ComputeNodeAddUserHeaders>> |
| | 280 | | { |
| | 281 | | /// <summary> |
| | 282 | | /// Initializes a new instance of the <see cref="ComputeNodeAddUserBatchRequest" /> class. |
| | 283 | | /// </summary> |
| | 284 | | /// <param name="serviceClient">The service client to use.</param> |
| | 285 | | /// <param name="parameters">The parameters to use.</param> |
| | 286 | | /// <param name="cancellationToken">A <see cref="CancellationToken"/> controlling the request lifetime.</param> |
| | 287 | | public ComputeNodeAddUserBatchRequest( |
| | 288 | | BatchServiceClient serviceClient, |
| | 289 | | ComputeNodeUser parameters, |
| | 290 | | CancellationToken cancellationToken) : base(serviceClient, parameters, cancellationToken) |
| | 291 | | { |
| | 292 | | } |
| | 293 | | } |
| | 294 | |
|
| | 295 | | /// <summary> |
| | 296 | | /// An <see cref="IBatchRequest"/> for the ComputeNodeDeleteUser operation. |
| | 297 | | /// </summary> |
| | 298 | | public class ComputeNodeDeleteUserBatchRequest : Protocol.BatchRequest< |
| | 299 | | ComputeNodeDeleteUserOptions, |
| | 300 | | AzureOperationHeaderResponse<ComputeNodeDeleteUserHeaders>> |
| | 301 | | { |
| | 302 | | /// <summary> |
| | 303 | | /// Initializes a new instance of the <see cref="ComputeNodeDeleteUserBatchRequest" /> class. |
| | 304 | | /// </summary> |
| | 305 | | /// <param name="serviceClient">The service client to use.</param> |
| | 306 | | /// <param name="cancellationToken">A <see cref="CancellationToken"/> controlling the request lifetime.</param> |
| | 307 | | public ComputeNodeDeleteUserBatchRequest( |
| | 308 | | BatchServiceClient serviceClient, |
| | 309 | | CancellationToken cancellationToken) : base(serviceClient, cancellationToken) |
| | 310 | | { |
| | 311 | | } |
| | 312 | | } |
| | 313 | |
|
| | 314 | | /// <summary> |
| | 315 | | /// An <see cref="IBatchRequest"/> for the ComputeNodeUpdateUser operation. |
| | 316 | | /// </summary> |
| | 317 | | public class ComputeNodeUpdateUserBatchRequest : Protocol.BatchRequest< |
| | 318 | | NodeUpdateUserParameter, |
| | 319 | | ComputeNodeUpdateUserOptions, |
| | 320 | | AzureOperationHeaderResponse<ComputeNodeUpdateUserHeaders>> |
| | 321 | | { |
| | 322 | | /// <summary> |
| | 323 | | /// Initializes a new instance of the <see cref="ComputeNodeUpdateUserBatchRequest" /> class. |
| | 324 | | /// </summary> |
| | 325 | | /// <param name="serviceClient">The service client to use.</param> |
| | 326 | | /// <param name="parameters">The parameters to use.</param> |
| | 327 | | /// <param name="cancellationToken">A <see cref="CancellationToken"/> controlling the request lifetime.</param> |
| | 328 | | public ComputeNodeUpdateUserBatchRequest( |
| | 329 | | BatchServiceClient serviceClient, |
| | 330 | | NodeUpdateUserParameter parameters, |
| | 331 | | CancellationToken cancellationToken) : base(serviceClient, parameters, cancellationToken) |
| | 332 | | { |
| | 333 | | } |
| | 334 | | } |
| | 335 | |
|
| | 336 | | /// <summary> |
| | 337 | | /// An <see cref="IBatchRequest"/> for the ComputeNodeUploadBatchServiceLogsBatchRequest operation. |
| | 338 | | /// </summary> |
| | 339 | | public class ComputeNodeUploadBatchServiceLogsBatchRequest : Protocol.BatchRequest< |
| | 340 | | ComputeNodeUploadBatchServiceLogsOptions, |
| | 341 | | AzureOperationResponse<UploadBatchServiceLogsResult, ComputeNodeUploadBatchServiceLogsHeaders>> |
| | 342 | | { |
| | 343 | | /// <summary> |
| | 344 | | /// Initializes a new instance of the <see cref="AccountListPoolNodeCountsBatchRequest" /> class. |
| | 345 | | /// </summary> |
| | 346 | | /// <param name="serviceClient">The service client to use.</param> |
| | 347 | | /// <param name="cancellationToken">A <see cref="CancellationToken"/> controlling the request lifetime.</param> |
| | 348 | | public ComputeNodeUploadBatchServiceLogsBatchRequest( |
| | 349 | | BatchServiceClient serviceClient, |
| | 350 | | CancellationToken cancellationToken) : base(serviceClient, cancellationToken) |
| | 351 | | { |
| | 352 | | } |
| | 353 | | } |
| | 354 | |
|
| | 355 | | /// <summary> |
| | 356 | | /// An <see cref="IBatchRequest"/> for the ComputeNodeGet operation. |
| | 357 | | /// </summary> |
| | 358 | | public class ComputeNodeGetBatchRequest : Protocol.BatchRequest< |
| | 359 | | ComputeNodeGetOptions, |
| | 360 | | AzureOperationResponse<ComputeNode, ComputeNodeGetHeaders>> |
| | 361 | | { |
| | 362 | | /// <summary> |
| | 363 | | /// Initializes a new instance of the <see cref="ComputeNodeGetBatchRequest" /> class. |
| | 364 | | /// </summary> |
| | 365 | | /// <param name="serviceClient">The service client to use.</param> |
| | 366 | | /// <param name="cancellationToken">A <see cref="CancellationToken"/> controlling the request lifetime.</param> |
| | 367 | | public ComputeNodeGetBatchRequest( |
| | 368 | | BatchServiceClient serviceClient, |
| | 369 | | CancellationToken cancellationToken) : base(serviceClient, cancellationToken) |
| | 370 | | { |
| | 371 | | } |
| | 372 | | } |
| | 373 | |
|
| | 374 | | /// <summary> |
| | 375 | | /// An <see cref="IBatchRequest"/> for the ComputeNodeReboot operation. |
| | 376 | | /// </summary> |
| | 377 | | public class ComputeNodeRebootBatchRequest : Protocol.BatchRequest< |
| | 378 | | ComputeNodeRebootOption?, |
| | 379 | | ComputeNodeRebootOptions, |
| | 380 | | AzureOperationHeaderResponse<ComputeNodeRebootHeaders>> |
| | 381 | | { |
| | 382 | | /// <summary> |
| | 383 | | /// Initializes a new instance of the <see cref="ComputeNodeRebootBatchRequest" /> class. |
| | 384 | | /// </summary> |
| | 385 | | /// <param name="serviceClient">The service client to use.</param> |
| | 386 | | /// <param name="parameters">The parameters to use.</param> |
| | 387 | | /// <param name="cancellationToken">A <see cref="CancellationToken"/> controlling the request lifetime.</param> |
| | 388 | | public ComputeNodeRebootBatchRequest( |
| | 389 | | BatchServiceClient serviceClient, |
| | 390 | | ComputeNodeRebootOption? parameters, |
| | 391 | | CancellationToken cancellationToken) : base(serviceClient, parameters, cancellationToken) |
| | 392 | | { |
| | 393 | | } |
| | 394 | | } |
| | 395 | |
|
| | 396 | | /// <summary> |
| | 397 | | /// An <see cref="IBatchRequest"/> for the ComputeNodeReimage operation. |
| | 398 | | /// </summary> |
| | 399 | | public class ComputeNodeReimageBatchRequest : Protocol.BatchRequest< |
| | 400 | | ComputeNodeReimageOption?, |
| | 401 | | ComputeNodeReimageOptions, |
| | 402 | | AzureOperationHeaderResponse<ComputeNodeReimageHeaders>> |
| | 403 | | { |
| | 404 | | /// <summary> |
| | 405 | | /// Initializes a new instance of the <see cref="ComputeNodeReimageBatchRequest" /> class. |
| | 406 | | /// </summary> |
| | 407 | | /// <param name="serviceClient">The service client to use.</param> |
| | 408 | | /// <param name="parameters">The parameters to use.</param> |
| | 409 | | /// <param name="cancellationToken">A <see cref="CancellationToken"/> controlling the request lifetime.</param> |
| | 410 | | public ComputeNodeReimageBatchRequest( |
| | 411 | | BatchServiceClient serviceClient, |
| | 412 | | ComputeNodeReimageOption? parameters, |
| | 413 | | CancellationToken cancellationToken) : base(serviceClient, parameters, cancellationToken) |
| | 414 | | { |
| | 415 | | } |
| | 416 | | } |
| | 417 | |
|
| | 418 | | /// <summary> |
| | 419 | | /// An <see cref="IBatchRequest"/> for the ComputeNodeDisableScheduling operation. |
| | 420 | | /// </summary> |
| | 421 | | public class ComputeNodeDisableSchedulingBatchRequest : Protocol.BatchRequest< |
| | 422 | | DisableComputeNodeSchedulingOption?, |
| | 423 | | ComputeNodeDisableSchedulingOptions, |
| | 424 | | AzureOperationHeaderResponse<ComputeNodeDisableSchedulingHeaders>> |
| | 425 | | { |
| | 426 | | /// <summary> |
| | 427 | | /// Initializes a new instance of the <see cref="ComputeNodeDisableSchedulingBatchRequest" /> class. |
| | 428 | | /// </summary> |
| | 429 | | /// <param name="serviceClient">The service client to use.</param> |
| | 430 | | /// <param name="parameters">The parameters to use.</param> |
| | 431 | | /// <param name="cancellationToken">A <see cref="CancellationToken"/> controlling the request lifetime.</param> |
| | 432 | | public ComputeNodeDisableSchedulingBatchRequest( |
| | 433 | | BatchServiceClient serviceClient, |
| | 434 | | DisableComputeNodeSchedulingOption? parameters, |
| | 435 | | CancellationToken cancellationToken) : base(serviceClient, parameters, cancellationToken) |
| | 436 | | { |
| | 437 | | } |
| | 438 | | } |
| | 439 | |
|
| | 440 | | /// <summary> |
| | 441 | | /// An <see cref="IBatchRequest"/> for the ComputeNodeEnableScheduling operation. |
| | 442 | | /// </summary> |
| | 443 | | public class ComputeNodeEnableSchedulingBatchRequest : Protocol.BatchRequest< |
| | 444 | | ComputeNodeEnableSchedulingOptions, |
| | 445 | | AzureOperationHeaderResponse<ComputeNodeEnableSchedulingHeaders>> |
| | 446 | | { |
| | 447 | | /// <summary> |
| | 448 | | /// Initializes a new instance of the <see cref="ComputeNodeEnableSchedulingBatchRequest" /> class. |
| | 449 | | /// </summary> |
| | 450 | | /// <param name="serviceClient">The service client to use.</param> |
| | 451 | | /// <param name="cancellationToken">A <see cref="CancellationToken"/> controlling the request lifetime.</param> |
| | 452 | | public ComputeNodeEnableSchedulingBatchRequest( |
| | 453 | | BatchServiceClient serviceClient, |
| | 454 | | CancellationToken cancellationToken) : base(serviceClient, cancellationToken) |
| | 455 | | { |
| | 456 | | } |
| | 457 | | } |
| | 458 | |
|
| | 459 | | /// <summary> |
| | 460 | | /// An <see cref="IBatchRequest"/> for the ComputeNodeGetRemoteLoginSettings operation. |
| | 461 | | /// </summary> |
| | 462 | | public class ComputeNodeGetRemoteLoginSettingsBatchRequest : Protocol.BatchRequest< |
| | 463 | | ComputeNodeGetRemoteLoginSettingsOptions, |
| | 464 | | AzureOperationResponse<ComputeNodeGetRemoteLoginSettingsResult, ComputeNodeGetRemoteLoginSettingsHeaders>> |
| | 465 | | { |
| | 466 | | /// <summary> |
| | 467 | | /// Initializes a new instance of the <see cref="ComputeNodeGetRemoteLoginSettingsBatchRequest" /> class. |
| | 468 | | /// </summary> |
| | 469 | | /// <param name="serviceClient">The service client to use.</param> |
| | 470 | | /// <param name="cancellationToken">A <see cref="CancellationToken"/> controlling the request lifetime.</param> |
| | 471 | | public ComputeNodeGetRemoteLoginSettingsBatchRequest( |
| | 472 | | BatchServiceClient serviceClient, |
| | 473 | | CancellationToken cancellationToken) : base(serviceClient, cancellationToken) |
| | 474 | | { |
| | 475 | | } |
| | 476 | | } |
| | 477 | |
|
| | 478 | | /// <summary> |
| | 479 | | /// An <see cref="IBatchRequest"/> for the ComputeNodeGetRemoteDesktop operation. |
| | 480 | | /// </summary> |
| | 481 | | public class ComputeNodeGetRemoteDesktopBatchRequest : Protocol.BatchRequest< |
| | 482 | | ComputeNodeGetRemoteDesktopOptions, |
| | 483 | | AzureOperationResponse<System.IO.Stream, ComputeNodeGetRemoteDesktopHeaders>> |
| | 484 | | { |
| | 485 | | /// <summary> |
| | 486 | | /// Initializes a new instance of the <see cref="ComputeNodeGetRemoteDesktopBatchRequest" /> class. |
| | 487 | | /// </summary> |
| | 488 | | /// <param name="serviceClient">The service client to use.</param> |
| | 489 | | /// <param name="cancellationToken">A <see cref="CancellationToken"/> controlling the request lifetime.</param> |
| | 490 | | public ComputeNodeGetRemoteDesktopBatchRequest( |
| | 491 | | BatchServiceClient serviceClient, |
| | 492 | | CancellationToken cancellationToken) : base(serviceClient, cancellationToken) |
| | 493 | | { |
| | 494 | | } |
| | 495 | | } |
| | 496 | |
|
| | 497 | | /// <summary> |
| | 498 | | /// An <see cref="IBatchRequest"/> for the ComputeNodeList operation. |
| | 499 | | /// </summary> |
| | 500 | | public class ComputeNodeListBatchRequest : Protocol.BatchRequest< |
| | 501 | | ComputeNodeListOptions, |
| | 502 | | AzureOperationResponse<IPage<ComputeNode>, ComputeNodeListHeaders>> |
| | 503 | | { |
| | 504 | | /// <summary> |
| | 505 | | /// Initializes a new instance of the <see cref="ComputeNodeListBatchRequest" /> class. |
| | 506 | | /// </summary> |
| | 507 | | /// <param name="serviceClient">The service client to use.</param> |
| | 508 | | /// <param name="cancellationToken">A <see cref="CancellationToken"/> controlling the request lifetime.</param> |
| | 509 | | public ComputeNodeListBatchRequest( |
| | 510 | | BatchServiceClient serviceClient, |
| | 511 | | CancellationToken cancellationToken) : base(serviceClient, cancellationToken) |
| | 512 | | { |
| | 513 | | } |
| | 514 | | } |
| | 515 | |
|
| | 516 | | /// <summary> |
| | 517 | | /// An <see cref="IBatchRequest"/> for the ComputeNodeListNext operation. |
| | 518 | | /// </summary> |
| | 519 | | public class ComputeNodeListNextBatchRequest : Protocol.BatchRequest< |
| | 520 | | ComputeNodeListNextOptions, |
| | 521 | | AzureOperationResponse<IPage<ComputeNode>, ComputeNodeListHeaders>> |
| | 522 | | { |
| | 523 | | /// <summary> |
| | 524 | | /// Initializes a new instance of the <see cref="ComputeNodeListNextBatchRequest" /> class. |
| | 525 | | /// </summary> |
| | 526 | | /// <param name="serviceClient">The service client to use.</param> |
| | 527 | | /// <param name="cancellationToken">A <see cref="CancellationToken"/> controlling the request lifetime.</param> |
| | 528 | | public ComputeNodeListNextBatchRequest( |
| | 529 | | BatchServiceClient serviceClient, |
| | 530 | | CancellationToken cancellationToken) : base(serviceClient, cancellationToken) |
| | 531 | | { |
| | 532 | | } |
| | 533 | | } |
| | 534 | |
|
| | 535 | | #endregion |
| | 536 | |
|
| | 537 | | #region File |
| | 538 | |
|
| | 539 | | /// <summary> |
| | 540 | | /// An <see cref="IBatchRequest"/> for the FileDeleteFromTask operation. |
| | 541 | | /// </summary> |
| | 542 | | public class FileDeleteFromTaskBatchRequest : Protocol.BatchRequest< |
| | 543 | | bool?, |
| | 544 | | FileDeleteFromTaskOptions, |
| | 545 | | AzureOperationHeaderResponse<FileDeleteFromTaskHeaders>> |
| | 546 | | { |
| | 547 | | /// <summary> |
| | 548 | | /// Initializes a new instance of the <see cref="FileDeleteFromTaskBatchRequest" /> class. |
| | 549 | | /// </summary> |
| | 550 | | /// <param name="serviceClient">The service client to use.</param> |
| | 551 | | /// <param name="parameters">The parameters to use.</param> |
| | 552 | | /// <param name="cancellationToken">A <see cref="CancellationToken"/> controlling the request lifetime.</param> |
| | 553 | | public FileDeleteFromTaskBatchRequest( |
| | 554 | | BatchServiceClient serviceClient, |
| | 555 | | bool? parameters, |
| | 556 | | CancellationToken cancellationToken) : base(serviceClient, parameters, cancellationToken) |
| | 557 | | { |
| | 558 | | } |
| | 559 | | } |
| | 560 | |
|
| | 561 | | /// <summary> |
| | 562 | | /// An <see cref="IBatchRequest"/> for the FileGetFromTask operation. |
| | 563 | | /// </summary> |
| | 564 | | public class FileGetFromTaskBatchRequest : Protocol.BatchRequest< |
| | 565 | | FileGetFromTaskOptions, |
| | 566 | | AzureOperationResponse<System.IO.Stream, FileGetFromTaskHeaders>> |
| | 567 | | { |
| | 568 | | /// <summary> |
| | 569 | | /// Initializes a new instance of the <see cref="FileGetFromTaskBatchRequest" /> class. |
| | 570 | | /// </summary> |
| | 571 | | /// <param name="serviceClient">The service client to use.</param> |
| | 572 | | /// <param name="cancellationToken">A <see cref="CancellationToken"/> controlling the request lifetime.</param> |
| | 573 | | public FileGetFromTaskBatchRequest( |
| | 574 | | BatchServiceClient serviceClient, |
| | 575 | | CancellationToken cancellationToken) : base(serviceClient, cancellationToken) |
| | 576 | | { |
| | 577 | | this.Timeout = Constants.DefaultLongRestRequestClientTimeout; |
| | 578 | | } |
| | 579 | | } |
| | 580 | |
|
| | 581 | | /// <summary> |
| | 582 | | /// An <see cref="IBatchRequest"/> for the FileGetNodeFilePropertiesFromTask operation. |
| | 583 | | /// </summary> |
| | 584 | | public class FileGetNodeFilePropertiesFromTaskBatchRequest : Protocol.BatchRequest< |
| | 585 | | FileGetPropertiesFromTaskOptions, |
| | 586 | | AzureOperationHeaderResponse<FileGetPropertiesFromTaskHeaders>> |
| | 587 | | { |
| | 588 | | /// <summary> |
| | 589 | | /// Initializes a new instance of the <see cref="FileGetNodeFilePropertiesFromTaskBatchRequest" /> class. |
| | 590 | | /// </summary> |
| | 591 | | /// <param name="serviceClient">The service client to use.</param> |
| | 592 | | /// <param name="cancellationToken">A <see cref="CancellationToken"/> controlling the request lifetime.</param> |
| | 593 | | public FileGetNodeFilePropertiesFromTaskBatchRequest( |
| | 594 | | BatchServiceClient serviceClient, |
| | 595 | | CancellationToken cancellationToken) : base(serviceClient, cancellationToken) |
| | 596 | | { |
| | 597 | | } |
| | 598 | | } |
| | 599 | |
|
| | 600 | | /// <summary> |
| | 601 | | /// An <see cref="IBatchRequest"/> for the FileDeleteFromComputeNode operation. |
| | 602 | | /// </summary> |
| | 603 | | public class FileDeleteFromComputeNodeBatchRequest : Protocol.BatchRequest< |
| | 604 | | bool?, |
| | 605 | | FileDeleteFromComputeNodeOptions, |
| | 606 | | AzureOperationHeaderResponse<FileDeleteFromComputeNodeHeaders>> |
| | 607 | | { |
| | 608 | | /// <summary> |
| | 609 | | /// Initializes a new instance of the <see cref="FileDeleteFromComputeNodeBatchRequest" /> class. |
| | 610 | | /// </summary> |
| | 611 | | /// <param name="serviceClient">The service client to use.</param> |
| | 612 | | /// <param name="parameters">The parameters to use.</param> |
| | 613 | | /// <param name="cancellationToken">A <see cref="CancellationToken"/> controlling the request lifetime.</param> |
| | 614 | | public FileDeleteFromComputeNodeBatchRequest( |
| | 615 | | BatchServiceClient serviceClient, |
| | 616 | | bool? parameters, |
| | 617 | | CancellationToken cancellationToken) : base(serviceClient, parameters, cancellationToken) |
| | 618 | | { |
| | 619 | | } |
| | 620 | | } |
| | 621 | |
|
| | 622 | | /// <summary> |
| | 623 | | /// An <see cref="IBatchRequest"/> for the FileGetFromComputeNode operation. |
| | 624 | | /// </summary> |
| | 625 | | public class FileGetFromComputeNodeBatchRequest : Protocol.BatchRequest< |
| | 626 | | FileGetFromComputeNodeOptions, |
| | 627 | | AzureOperationResponse<System.IO.Stream, FileGetFromComputeNodeHeaders>> |
| | 628 | | { |
| | 629 | | /// <summary> |
| | 630 | | /// Initializes a new instance of the <see cref="FileGetFromComputeNodeBatchRequest" /> class. |
| | 631 | | /// </summary> |
| | 632 | | /// <param name="serviceClient">The service client to use.</param> |
| | 633 | | /// <param name="cancellationToken">A <see cref="CancellationToken"/> controlling the request lifetime.</param> |
| | 634 | | public FileGetFromComputeNodeBatchRequest( |
| | 635 | | BatchServiceClient serviceClient, |
| | 636 | | CancellationToken cancellationToken) : base(serviceClient, cancellationToken) |
| | 637 | | { |
| | 638 | | this.Timeout = Constants.DefaultLongRestRequestClientTimeout; |
| | 639 | | } |
| | 640 | | } |
| | 641 | |
|
| | 642 | | /// <summary> |
| | 643 | | /// An <see cref="IBatchRequest"/> for the FileGetNodeFilePropertiesFromComputeNode operation. |
| | 644 | | /// </summary> |
| | 645 | | public class FileGetNodeFilePropertiesFromComputeNodeBatchRequest : Protocol.BatchRequest< |
| | 646 | | FileGetPropertiesFromComputeNodeOptions, |
| | 647 | | AzureOperationHeaderResponse<FileGetPropertiesFromComputeNodeHeaders>> |
| | 648 | | { |
| | 649 | | /// <summary> |
| | 650 | | /// Initializes a new instance of the <see cref="FileGetNodeFilePropertiesFromComputeNodeBatchRequest" /> class. |
| | 651 | | /// </summary> |
| | 652 | | /// <param name="serviceClient">The service client to use.</param> |
| | 653 | | /// <param name="cancellationToken">A <see cref="CancellationToken"/> controlling the request lifetime.</param> |
| | 654 | | public FileGetNodeFilePropertiesFromComputeNodeBatchRequest( |
| | 655 | | BatchServiceClient serviceClient, |
| | 656 | | CancellationToken cancellationToken) : base(serviceClient, cancellationToken) |
| | 657 | | { |
| | 658 | | } |
| | 659 | | } |
| | 660 | |
|
| | 661 | | /// <summary> |
| | 662 | | /// An <see cref="IBatchRequest"/> for the FileListFromTask operation. |
| | 663 | | /// </summary> |
| | 664 | | public class FileListFromTaskBatchRequest : Protocol.BatchRequest< |
| | 665 | | bool?, |
| | 666 | | FileListFromTaskOptions, |
| | 667 | | AzureOperationResponse<IPage<NodeFile>, FileListFromTaskHeaders>> |
| | 668 | | { |
| | 669 | | /// <summary> |
| | 670 | | /// Initializes a new instance of the <see cref="FileListFromTaskBatchRequest" /> class. |
| | 671 | | /// </summary> |
| | 672 | | /// <param name="serviceClient">The service client to use.</param> |
| | 673 | | /// <param name="parameters">The parameters to use.</param> |
| | 674 | | /// <param name="cancellationToken">A <see cref="CancellationToken"/> controlling the request lifetime.</param> |
| | 675 | | public FileListFromTaskBatchRequest( |
| | 676 | | BatchServiceClient serviceClient, |
| | 677 | | bool? parameters, |
| | 678 | | CancellationToken cancellationToken) : base(serviceClient, parameters, cancellationToken) |
| | 679 | | { |
| | 680 | | } |
| | 681 | | } |
| | 682 | |
|
| | 683 | | /// <summary> |
| | 684 | | /// An <see cref="IBatchRequest"/> for the FileListFromComputeNode operation. |
| | 685 | | /// </summary> |
| | 686 | | public class FileListFromComputeNodeBatchRequest : Protocol.BatchRequest< |
| | 687 | | bool?, |
| | 688 | | FileListFromComputeNodeOptions, |
| | 689 | | AzureOperationResponse<IPage<NodeFile>, FileListFromComputeNodeHeaders>> |
| | 690 | | { |
| | 691 | | /// <summary> |
| | 692 | | /// Initializes a new instance of the <see cref="FileListFromComputeNodeBatchRequest" /> class. |
| | 693 | | /// </summary> |
| | 694 | | /// <param name="serviceClient">The service client to use.</param> |
| | 695 | | /// <param name="parameters">The parameters to use.</param> |
| | 696 | | /// <param name="cancellationToken">A <see cref="CancellationToken"/> controlling the request lifetime.</param> |
| | 697 | | public FileListFromComputeNodeBatchRequest( |
| | 698 | | BatchServiceClient serviceClient, |
| | 699 | | bool? parameters, |
| | 700 | | CancellationToken cancellationToken) : base(serviceClient, parameters, cancellationToken) |
| | 701 | | { |
| | 702 | | } |
| | 703 | | } |
| | 704 | |
|
| | 705 | | /// <summary> |
| | 706 | | /// An <see cref="IBatchRequest"/> for the FileListFromTaskNext operation. |
| | 707 | | /// </summary> |
| | 708 | | public class FileListFromTaskNextBatchRequest : Protocol.BatchRequest< |
| | 709 | | FileListFromTaskNextOptions, |
| | 710 | | AzureOperationResponse<IPage<NodeFile>, FileListFromTaskHeaders>> |
| | 711 | | { |
| | 712 | | /// <summary> |
| | 713 | | /// Initializes a new instance of the <see cref="FileListFromTaskNextBatchRequest" /> class. |
| | 714 | | /// </summary> |
| | 715 | | /// <param name="serviceClient">The service client to use.</param> |
| | 716 | | /// <param name="cancellationToken">A <see cref="CancellationToken"/> controlling the request lifetime.</param> |
| | 717 | | public FileListFromTaskNextBatchRequest( |
| | 718 | | BatchServiceClient serviceClient, |
| | 719 | | CancellationToken cancellationToken) : base(serviceClient, cancellationToken) |
| | 720 | | { |
| | 721 | | } |
| | 722 | | } |
| | 723 | |
|
| | 724 | | /// <summary> |
| | 725 | | /// An <see cref="IBatchRequest"/> for the FileListFromComputeNodeNext operation. |
| | 726 | | /// </summary> |
| | 727 | | public class FileListFromComputeNodeNextBatchRequest : Protocol.BatchRequest< |
| | 728 | | FileListFromComputeNodeNextOptions, |
| | 729 | | AzureOperationResponse<IPage<NodeFile>, FileListFromComputeNodeHeaders>> |
| | 730 | | { |
| | 731 | | /// <summary> |
| | 732 | | /// Initializes a new instance of the <see cref="FileListFromComputeNodeNextBatchRequest" /> class. |
| | 733 | | /// </summary> |
| | 734 | | /// <param name="serviceClient">The service client to use.</param> |
| | 735 | | /// <param name="cancellationToken">A <see cref="CancellationToken"/> controlling the request lifetime.</param> |
| | 736 | | public FileListFromComputeNodeNextBatchRequest( |
| | 737 | | BatchServiceClient serviceClient, |
| | 738 | | CancellationToken cancellationToken) : base(serviceClient, cancellationToken) |
| | 739 | | { |
| | 740 | | } |
| | 741 | | } |
| | 742 | |
|
| | 743 | | #endregion |
| | 744 | |
|
| | 745 | | #region Job |
| | 746 | |
|
| | 747 | | /// <summary> |
| | 748 | | /// An <see cref="IBatchRequest"/> for the JobGetAllJobsLifetimeStatistics operation. |
| | 749 | | /// </summary> |
| | 750 | | public class JobGetAllJobsLifetimeStatisticsBatchRequest : Protocol.BatchRequest< |
| | 751 | | JobGetAllLifetimeStatisticsOptions, |
| | 752 | | AzureOperationResponse<JobStatistics, JobGetAllLifetimeStatisticsHeaders>> |
| | 753 | | { |
| | 754 | | /// <summary> |
| | 755 | | /// Initializes a new instance of the <see cref="JobGetAllJobsLifetimeStatisticsBatchRequest" /> class. |
| | 756 | | /// </summary> |
| | 757 | | /// <param name="serviceClient">The service client to use.</param> |
| | 758 | | /// <param name="cancellationToken">A <see cref="CancellationToken"/> controlling the request lifetime.</param> |
| | 759 | | public JobGetAllJobsLifetimeStatisticsBatchRequest( |
| | 760 | | BatchServiceClient serviceClient, |
| | 761 | | CancellationToken cancellationToken) : base(serviceClient, cancellationToken) |
| | 762 | | { |
| | 763 | | } |
| | 764 | | } |
| | 765 | |
|
| | 766 | | /// <summary> |
| | 767 | | /// An <see cref="IBatchRequest"/> for the JobDelete operation. |
| | 768 | | /// </summary> |
| | 769 | | public class JobDeleteBatchRequest : Protocol.BatchRequest< |
| | 770 | | JobDeleteOptions, |
| | 771 | | AzureOperationHeaderResponse<JobDeleteHeaders>> |
| | 772 | | { |
| | 773 | | /// <summary> |
| | 774 | | /// Initializes a new instance of the <see cref="JobDeleteBatchRequest" /> class. |
| | 775 | | /// </summary> |
| | 776 | | /// <param name="serviceClient">The service client to use.</param> |
| | 777 | | /// <param name="cancellationToken">A <see cref="CancellationToken"/> controlling the request lifetime.</param> |
| | 778 | | public JobDeleteBatchRequest( |
| | 779 | | BatchServiceClient serviceClient, |
| | 780 | | CancellationToken cancellationToken) : base(serviceClient, cancellationToken) |
| | 781 | | { |
| | 782 | | } |
| | 783 | | } |
| | 784 | |
|
| | 785 | | /// <summary> |
| | 786 | | /// An <see cref="IBatchRequest"/> for the JobGet operation. |
| | 787 | | /// </summary> |
| | 788 | | public class JobGetBatchRequest : Protocol.BatchRequest< |
| | 789 | | JobGetOptions, |
| | 790 | | AzureOperationResponse<CloudJob, JobGetHeaders>> |
| | 791 | | { |
| | 792 | | /// <summary> |
| | 793 | | /// Initializes a new instance of the <see cref="JobGetBatchRequest" /> class. |
| | 794 | | /// </summary> |
| | 795 | | /// <param name="serviceClient">The service client to use.</param> |
| | 796 | | /// <param name="cancellationToken">A <see cref="CancellationToken"/> controlling the request lifetime.</param> |
| | 797 | | public JobGetBatchRequest( |
| | 798 | | BatchServiceClient serviceClient, |
| | 799 | | CancellationToken cancellationToken) : base(serviceClient, cancellationToken) |
| | 800 | | { |
| | 801 | | } |
| | 802 | | } |
| | 803 | |
|
| | 804 | | /// <summary> |
| | 805 | | /// An <see cref="IBatchRequest"/> for the JobGet operation. |
| | 806 | | /// </summary> |
| | 807 | | public class JobGetTaskCountsBatchRequest : Protocol.BatchRequest< |
| | 808 | | JobGetTaskCountsOptions, |
| | 809 | | AzureOperationResponse<TaskCounts, JobGetTaskCountsHeaders>> |
| | 810 | | { |
| | 811 | | /// <summary> |
| | 812 | | /// Initializes a new instance of the <see cref="JobGetTaskCountsBatchRequest" /> class. |
| | 813 | | /// </summary> |
| | 814 | | /// <param name="serviceClient">The service client to use.</param> |
| | 815 | | /// <param name="cancellationToken">A <see cref="CancellationToken"/> controlling the request lifetime.</param> |
| | 816 | | public JobGetTaskCountsBatchRequest( |
| | 817 | | BatchServiceClient serviceClient, |
| | 818 | | CancellationToken cancellationToken) : base(serviceClient, cancellationToken) |
| | 819 | | { |
| | 820 | | } |
| | 821 | | } |
| | 822 | |
|
| | 823 | | /// <summary> |
| | 824 | | /// An <see cref="IBatchRequest"/> for the JobPatch operation. |
| | 825 | | /// </summary> |
| | 826 | | public class JobPatchBatchRequest : Protocol.BatchRequest< |
| | 827 | | JobPatchParameter, |
| | 828 | | JobPatchOptions, |
| | 829 | | AzureOperationHeaderResponse<JobPatchHeaders>> |
| | 830 | | { |
| | 831 | | /// <summary> |
| | 832 | | /// Initializes a new instance of the <see cref="JobPatchBatchRequest" /> class. |
| | 833 | | /// </summary> |
| | 834 | | /// <param name="serviceClient">The service client to use.</param> |
| | 835 | | /// <param name="parameters">The parameters to use.</param> |
| | 836 | | /// <param name="cancellationToken">A <see cref="CancellationToken"/> controlling the request lifetime.</param> |
| | 837 | | public JobPatchBatchRequest( |
| | 838 | | BatchServiceClient serviceClient, |
| | 839 | | JobPatchParameter parameters, |
| | 840 | | CancellationToken cancellationToken) : base(serviceClient, parameters, cancellationToken) |
| | 841 | | { |
| | 842 | | } |
| | 843 | | } |
| | 844 | |
|
| | 845 | | /// <summary> |
| | 846 | | /// An <see cref="IBatchRequest"/> for the JobUpdate operation. |
| | 847 | | /// </summary> |
| | 848 | | public class JobUpdateBatchRequest : Protocol.BatchRequest< |
| | 849 | | JobUpdateParameter, |
| | 850 | | JobUpdateOptions, |
| | 851 | | AzureOperationHeaderResponse<JobUpdateHeaders>> |
| | 852 | | { |
| | 853 | | /// <summary> |
| | 854 | | /// Initializes a new instance of the <see cref="JobUpdateBatchRequest" /> class. |
| | 855 | | /// </summary> |
| | 856 | | /// <param name="serviceClient">The service client to use.</param> |
| | 857 | | /// <param name="parameters">The parameters to use.</param> |
| | 858 | | /// <param name="cancellationToken">A <see cref="CancellationToken"/> controlling the request lifetime.</param> |
| | 859 | | public JobUpdateBatchRequest( |
| | 860 | | BatchServiceClient serviceClient, |
| | 861 | | JobUpdateParameter parameters, |
| | 862 | | CancellationToken cancellationToken) : base(serviceClient, parameters, cancellationToken) |
| | 863 | | { |
| | 864 | | } |
| | 865 | | } |
| | 866 | |
|
| | 867 | | /// <summary> |
| | 868 | | /// An <see cref="IBatchRequest"/> for the JobDisable operation. |
| | 869 | | /// </summary> |
| | 870 | | public class JobDisableBatchRequest : Protocol.BatchRequest< |
| | 871 | | DisableJobOption, |
| | 872 | | JobDisableOptions, |
| | 873 | | AzureOperationHeaderResponse<JobDisableHeaders>> |
| | 874 | | { |
| | 875 | | /// <summary> |
| | 876 | | /// Initializes a new instance of the <see cref="JobDisableBatchRequest" /> class. |
| | 877 | | /// </summary> |
| | 878 | | /// <param name="serviceClient">The service client to use.</param> |
| | 879 | | /// <param name="parameters">The parameters to use.</param> |
| | 880 | | /// <param name="cancellationToken">A <see cref="CancellationToken"/> controlling the request lifetime.</param> |
| | 881 | | public JobDisableBatchRequest( |
| | 882 | | BatchServiceClient serviceClient, |
| | 883 | | DisableJobOption parameters, |
| | 884 | | CancellationToken cancellationToken) : base(serviceClient, parameters, cancellationToken) |
| | 885 | | { |
| | 886 | | } |
| | 887 | | } |
| | 888 | |
|
| | 889 | | /// <summary> |
| | 890 | | /// An <see cref="IBatchRequest"/> for the JobEnable operation. |
| | 891 | | /// </summary> |
| | 892 | | public class JobEnableBatchRequest : Protocol.BatchRequest< |
| | 893 | | JobEnableOptions, |
| | 894 | | AzureOperationHeaderResponse<JobEnableHeaders>> |
| | 895 | | { |
| | 896 | | /// <summary> |
| | 897 | | /// Initializes a new instance of the <see cref="JobEnableBatchRequest" /> class. |
| | 898 | | /// </summary> |
| | 899 | | /// <param name="serviceClient">The service client to use.</param> |
| | 900 | | /// <param name="cancellationToken">A <see cref="CancellationToken"/> controlling the request lifetime.</param> |
| | 901 | | public JobEnableBatchRequest( |
| | 902 | | BatchServiceClient serviceClient, |
| | 903 | | CancellationToken cancellationToken) : base(serviceClient, cancellationToken) |
| | 904 | | { |
| | 905 | | } |
| | 906 | | } |
| | 907 | |
|
| | 908 | | /// <summary> |
| | 909 | | /// An <see cref="IBatchRequest"/> for the JobTerminate operation. |
| | 910 | | /// </summary> |
| | 911 | | public class JobTerminateBatchRequest : Protocol.BatchRequest< |
| | 912 | | string, |
| | 913 | | JobTerminateOptions, |
| | 914 | | AzureOperationHeaderResponse<JobTerminateHeaders>> |
| | 915 | | { |
| | 916 | | /// <summary> |
| | 917 | | /// Initializes a new instance of the <see cref="JobTerminateBatchRequest" /> class. |
| | 918 | | /// </summary> |
| | 919 | | /// <param name="serviceClient">The service client to use.</param> |
| | 920 | | /// <param name="parameters">The parameters to use.</param> |
| | 921 | | /// <param name="cancellationToken">A <see cref="CancellationToken"/> controlling the request lifetime.</param> |
| | 922 | | public JobTerminateBatchRequest( |
| | 923 | | BatchServiceClient serviceClient, |
| | 924 | | string parameters, |
| | 925 | | CancellationToken cancellationToken) : base(serviceClient, parameters, cancellationToken) |
| | 926 | | { |
| | 927 | | } |
| | 928 | | } |
| | 929 | |
|
| | 930 | | /// <summary> |
| | 931 | | /// An <see cref="IBatchRequest"/> for the JobAdd operation. |
| | 932 | | /// </summary> |
| | 933 | | public class JobAddBatchRequest : Protocol.BatchRequest< |
| | 934 | | JobAddParameter, |
| | 935 | | JobAddOptions, |
| | 936 | | AzureOperationHeaderResponse<JobAddHeaders>> |
| | 937 | | { |
| | 938 | | /// <summary> |
| | 939 | | /// Initializes a new instance of the <see cref="JobAddBatchRequest" /> class. |
| | 940 | | /// </summary> |
| | 941 | | /// <param name="serviceClient">The service client to use.</param> |
| | 942 | | /// <param name="parameters">The parameters to use.</param> |
| | 943 | | /// <param name="cancellationToken">A <see cref="CancellationToken"/> controlling the request lifetime.</param> |
| | 944 | | public JobAddBatchRequest( |
| | 945 | | BatchServiceClient serviceClient, |
| | 946 | | JobAddParameter parameters, |
| | 947 | | CancellationToken cancellationToken) : base(serviceClient, parameters, cancellationToken) |
| | 948 | | { |
| | 949 | | } |
| | 950 | | } |
| | 951 | |
|
| | 952 | | /// <summary> |
| | 953 | | /// An <see cref="IBatchRequest"/> for the JobList operation. |
| | 954 | | /// </summary> |
| | 955 | | public class JobListBatchRequest : Protocol.BatchRequest< |
| | 956 | | JobListOptions, |
| | 957 | | AzureOperationResponse<IPage<CloudJob>, JobListHeaders>> |
| | 958 | | { |
| | 959 | | /// <summary> |
| | 960 | | /// Initializes a new instance of the <see cref="JobListBatchRequest" /> class. |
| | 961 | | /// </summary> |
| | 962 | | /// <param name="serviceClient">The service client to use.</param> |
| | 963 | | /// <param name="cancellationToken">A <see cref="CancellationToken"/> controlling the request lifetime.</param> |
| | 964 | | public JobListBatchRequest( |
| | 965 | | BatchServiceClient serviceClient, |
| | 966 | | CancellationToken cancellationToken) : base(serviceClient, cancellationToken) |
| | 967 | | { |
| | 968 | | } |
| | 969 | | } |
| | 970 | |
|
| | 971 | | /// <summary> |
| | 972 | | /// An <see cref="IBatchRequest"/> for the JobListFromJobSchedule operation. |
| | 973 | | /// </summary> |
| | 974 | | public class JobListFromJobScheduleBatchRequest : Protocol.BatchRequest< |
| | 975 | | JobListFromJobScheduleOptions, |
| | 976 | | AzureOperationResponse<IPage<CloudJob>, JobListFromJobScheduleHeaders>> |
| | 977 | | { |
| | 978 | | /// <summary> |
| | 979 | | /// Initializes a new instance of the <see cref="JobListFromJobScheduleBatchRequest" /> class. |
| | 980 | | /// </summary> |
| | 981 | | /// <param name="serviceClient">The service client to use.</param> |
| | 982 | | /// <param name="cancellationToken">A <see cref="CancellationToken"/> controlling the request lifetime.</param> |
| | 983 | | public JobListFromJobScheduleBatchRequest( |
| | 984 | | BatchServiceClient serviceClient, |
| | 985 | | CancellationToken cancellationToken) : base(serviceClient, cancellationToken) |
| | 986 | | { |
| | 987 | | } |
| | 988 | | } |
| | 989 | |
|
| | 990 | | /// <summary> |
| | 991 | | /// An <see cref="IBatchRequest"/> for the JobListPreparationAndReleaseTaskStatus operation. |
| | 992 | | /// </summary> |
| | 993 | | public class JobListPreparationAndReleaseTaskStatusBatchRequest : Protocol.BatchRequest< |
| | 994 | | JobListPreparationAndReleaseTaskStatusOptions, |
| | 995 | | AzureOperationResponse<IPage<JobPreparationAndReleaseTaskExecutionInformation>, JobListPreparationAndReleaseTask |
| | 996 | | { |
| | 997 | | /// <summary> |
| | 998 | | /// Initializes a new instance of the <see cref="JobListPreparationAndReleaseTaskStatusBatchRequest" /> class. |
| | 999 | | /// </summary> |
| | 1000 | | /// <param name="serviceClient">The service client to use.</param> |
| | 1001 | | /// <param name="cancellationToken">A <see cref="CancellationToken"/> controlling the request lifetime.</param> |
| | 1002 | | public JobListPreparationAndReleaseTaskStatusBatchRequest( |
| | 1003 | | BatchServiceClient serviceClient, |
| | 1004 | | CancellationToken cancellationToken) : base(serviceClient, cancellationToken) |
| | 1005 | | { |
| | 1006 | | } |
| | 1007 | | } |
| | 1008 | |
|
| | 1009 | | /// <summary> |
| | 1010 | | /// An <see cref="IBatchRequest"/> for the JobListNext operation. |
| | 1011 | | /// </summary> |
| | 1012 | | public class JobListNextBatchRequest : Protocol.BatchRequest< |
| | 1013 | | JobListNextOptions, |
| | 1014 | | AzureOperationResponse<IPage<CloudJob>, JobListHeaders>> |
| | 1015 | | { |
| | 1016 | | /// <summary> |
| | 1017 | | /// Initializes a new instance of the <see cref="JobListNextBatchRequest" /> class. |
| | 1018 | | /// </summary> |
| | 1019 | | /// <param name="serviceClient">The service client to use.</param> |
| | 1020 | | /// <param name="cancellationToken">A <see cref="CancellationToken"/> controlling the request lifetime.</param> |
| | 1021 | | public JobListNextBatchRequest( |
| | 1022 | | BatchServiceClient serviceClient, |
| | 1023 | | CancellationToken cancellationToken) : base(serviceClient, cancellationToken) |
| | 1024 | | { |
| | 1025 | | } |
| | 1026 | | } |
| | 1027 | |
|
| | 1028 | | /// <summary> |
| | 1029 | | /// An <see cref="IBatchRequest"/> for the JobListFromJobScheduleNext operation. |
| | 1030 | | /// </summary> |
| | 1031 | | public class JobListFromJobScheduleNextBatchRequest : Protocol.BatchRequest< |
| | 1032 | | JobListFromJobScheduleNextOptions, |
| | 1033 | | AzureOperationResponse<IPage<CloudJob>, JobListFromJobScheduleHeaders>> |
| | 1034 | | { |
| | 1035 | | /// <summary> |
| | 1036 | | /// Initializes a new instance of the <see cref="JobListFromJobScheduleNextBatchRequest" /> class. |
| | 1037 | | /// </summary> |
| | 1038 | | /// <param name="serviceClient">The service client to use.</param> |
| | 1039 | | /// <param name="cancellationToken">A <see cref="CancellationToken"/> controlling the request lifetime.</param> |
| | 1040 | | public JobListFromJobScheduleNextBatchRequest( |
| | 1041 | | BatchServiceClient serviceClient, |
| | 1042 | | CancellationToken cancellationToken) : base(serviceClient, cancellationToken) |
| | 1043 | | { |
| | 1044 | | } |
| | 1045 | | } |
| | 1046 | |
|
| | 1047 | | /// <summary> |
| | 1048 | | /// An <see cref="IBatchRequest"/> for the JobListPreparationAndReleaseTaskStatusNext operation. |
| | 1049 | | /// </summary> |
| | 1050 | | public class JobListPreparationAndReleaseTaskStatusNextBatchRequest : Protocol.BatchRequest< |
| | 1051 | | JobListPreparationAndReleaseTaskStatusNextOptions, |
| | 1052 | | AzureOperationResponse<IPage<JobPreparationAndReleaseTaskExecutionInformation>, JobListPreparationAndReleaseTask |
| | 1053 | | { |
| | 1054 | | /// <summary> |
| | 1055 | | /// Initializes a new instance of the <see cref="JobListPreparationAndReleaseTaskStatusNextBatchRequest" /> clas |
| | 1056 | | /// </summary> |
| | 1057 | | /// <param name="serviceClient">The service client to use.</param> |
| | 1058 | | /// <param name="cancellationToken">A <see cref="CancellationToken"/> controlling the request lifetime.</param> |
| | 1059 | | public JobListPreparationAndReleaseTaskStatusNextBatchRequest( |
| | 1060 | | BatchServiceClient serviceClient, |
| | 1061 | | CancellationToken cancellationToken) : base(serviceClient, cancellationToken) |
| | 1062 | | { |
| | 1063 | | } |
| | 1064 | | } |
| | 1065 | |
|
| | 1066 | | #endregion |
| | 1067 | |
|
| | 1068 | | #region JobSchedule |
| | 1069 | |
|
| | 1070 | | /// <summary> |
| | 1071 | | /// An <see cref="IBatchRequest"/> for the JobScheduleExists operation. |
| | 1072 | | /// </summary> |
| | 1073 | | public class JobScheduleExistsBatchRequest : Protocol.BatchRequest< |
| | 1074 | | JobScheduleExistsOptions, |
| | 1075 | | AzureOperationResponse<bool, JobScheduleExistsHeaders>> |
| | 1076 | | { |
| | 1077 | | /// <summary> |
| | 1078 | | /// Initializes a new instance of the <see cref="JobScheduleExistsBatchRequest" /> class. |
| | 1079 | | /// </summary> |
| | 1080 | | /// <param name="serviceClient">The service client to use.</param> |
| | 1081 | | /// <param name="cancellationToken">A <see cref="CancellationToken"/> controlling the request lifetime.</param> |
| | 1082 | | public JobScheduleExistsBatchRequest( |
| | 1083 | | BatchServiceClient serviceClient, |
| | 1084 | | CancellationToken cancellationToken) : base(serviceClient, cancellationToken) |
| | 1085 | | { |
| | 1086 | | } |
| | 1087 | | } |
| | 1088 | |
|
| | 1089 | | /// <summary> |
| | 1090 | | /// An <see cref="IBatchRequest"/> for the JobScheduleDelete operation. |
| | 1091 | | /// </summary> |
| | 1092 | | public class JobScheduleDeleteBatchRequest : Protocol.BatchRequest< |
| | 1093 | | JobScheduleDeleteOptions, |
| | 1094 | | AzureOperationHeaderResponse<JobScheduleDeleteHeaders>> |
| | 1095 | | { |
| | 1096 | | /// <summary> |
| | 1097 | | /// Initializes a new instance of the <see cref="JobScheduleDeleteBatchRequest" /> class. |
| | 1098 | | /// </summary> |
| | 1099 | | /// <param name="serviceClient">The service client to use.</param> |
| | 1100 | | /// <param name="cancellationToken">A <see cref="CancellationToken"/> controlling the request lifetime.</param> |
| | 1101 | | public JobScheduleDeleteBatchRequest( |
| | 1102 | | BatchServiceClient serviceClient, |
| | 1103 | | CancellationToken cancellationToken) : base(serviceClient, cancellationToken) |
| | 1104 | | { |
| | 1105 | | } |
| | 1106 | | } |
| | 1107 | |
|
| | 1108 | | /// <summary> |
| | 1109 | | /// An <see cref="IBatchRequest"/> for the JobScheduleGet operation. |
| | 1110 | | /// </summary> |
| | 1111 | | public class JobScheduleGetBatchRequest : Protocol.BatchRequest< |
| | 1112 | | JobScheduleGetOptions, |
| | 1113 | | AzureOperationResponse<CloudJobSchedule, JobScheduleGetHeaders>> |
| | 1114 | | { |
| | 1115 | | /// <summary> |
| | 1116 | | /// Initializes a new instance of the <see cref="JobScheduleGetBatchRequest" /> class. |
| | 1117 | | /// </summary> |
| | 1118 | | /// <param name="serviceClient">The service client to use.</param> |
| | 1119 | | /// <param name="cancellationToken">A <see cref="CancellationToken"/> controlling the request lifetime.</param> |
| | 1120 | | public JobScheduleGetBatchRequest( |
| | 1121 | | BatchServiceClient serviceClient, |
| | 1122 | | CancellationToken cancellationToken) : base(serviceClient, cancellationToken) |
| | 1123 | | { |
| | 1124 | | } |
| | 1125 | | } |
| | 1126 | |
|
| | 1127 | | /// <summary> |
| | 1128 | | /// An <see cref="IBatchRequest"/> for the JobSchedulePatch operation. |
| | 1129 | | /// </summary> |
| | 1130 | | public class JobSchedulePatchBatchRequest : Protocol.BatchRequest< |
| | 1131 | | JobSchedulePatchParameter, |
| | 1132 | | JobSchedulePatchOptions, |
| | 1133 | | AzureOperationHeaderResponse<JobSchedulePatchHeaders>> |
| | 1134 | | { |
| | 1135 | | /// <summary> |
| | 1136 | | /// Initializes a new instance of the <see cref="JobSchedulePatchBatchRequest" /> class. |
| | 1137 | | /// </summary> |
| | 1138 | | /// <param name="serviceClient">The service client to use.</param> |
| | 1139 | | /// <param name="parameters">The parameters to use.</param> |
| | 1140 | | /// <param name="cancellationToken">A <see cref="CancellationToken"/> controlling the request lifetime.</param> |
| | 1141 | | public JobSchedulePatchBatchRequest( |
| | 1142 | | BatchServiceClient serviceClient, |
| | 1143 | | JobSchedulePatchParameter parameters, |
| | 1144 | | CancellationToken cancellationToken) : base(serviceClient, parameters, cancellationToken) |
| | 1145 | | { |
| | 1146 | | } |
| | 1147 | | } |
| | 1148 | |
|
| | 1149 | | /// <summary> |
| | 1150 | | /// An <see cref="IBatchRequest"/> for the JobScheduleUpdate operation. |
| | 1151 | | /// </summary> |
| | 1152 | | public class JobScheduleUpdateBatchRequest : Protocol.BatchRequest< |
| | 1153 | | JobScheduleUpdateParameter, |
| | 1154 | | JobScheduleUpdateOptions, |
| | 1155 | | AzureOperationHeaderResponse<JobScheduleUpdateHeaders>> |
| | 1156 | | { |
| | 1157 | | /// <summary> |
| | 1158 | | /// Initializes a new instance of the <see cref="JobScheduleUpdateBatchRequest" /> class. |
| | 1159 | | /// </summary> |
| | 1160 | | /// <param name="serviceClient">The service client to use.</param> |
| | 1161 | | /// <param name="parameters">The parameters to use.</param> |
| | 1162 | | /// <param name="cancellationToken">A <see cref="CancellationToken"/> controlling the request lifetime.</param> |
| | 1163 | | public JobScheduleUpdateBatchRequest( |
| | 1164 | | BatchServiceClient serviceClient, |
| | 1165 | | JobScheduleUpdateParameter parameters, |
| | 1166 | | CancellationToken cancellationToken) : base(serviceClient, parameters, cancellationToken) |
| | 1167 | | { |
| | 1168 | | } |
| | 1169 | | } |
| | 1170 | |
|
| | 1171 | | /// <summary> |
| | 1172 | | /// An <see cref="IBatchRequest"/> for the JobScheduleDisable operation. |
| | 1173 | | /// </summary> |
| | 1174 | | public class JobScheduleDisableBatchRequest : Protocol.BatchRequest< |
| | 1175 | | JobScheduleDisableOptions, |
| | 1176 | | AzureOperationHeaderResponse<JobScheduleDisableHeaders>> |
| | 1177 | | { |
| | 1178 | | /// <summary> |
| | 1179 | | /// Initializes a new instance of the <see cref="JobScheduleDisableBatchRequest" /> class. |
| | 1180 | | /// </summary> |
| | 1181 | | /// <param name="serviceClient">The service client to use.</param> |
| | 1182 | | /// <param name="cancellationToken">A <see cref="CancellationToken"/> controlling the request lifetime.</param> |
| | 1183 | | public JobScheduleDisableBatchRequest( |
| | 1184 | | BatchServiceClient serviceClient, |
| | 1185 | | CancellationToken cancellationToken) : base(serviceClient, cancellationToken) |
| | 1186 | | { |
| | 1187 | | } |
| | 1188 | | } |
| | 1189 | |
|
| | 1190 | | /// <summary> |
| | 1191 | | /// An <see cref="IBatchRequest"/> for the JobScheduleEnable operation. |
| | 1192 | | /// </summary> |
| | 1193 | | public class JobScheduleEnableBatchRequest : Protocol.BatchRequest< |
| | 1194 | | JobScheduleEnableOptions, |
| | 1195 | | AzureOperationHeaderResponse<JobScheduleEnableHeaders>> |
| | 1196 | | { |
| | 1197 | | /// <summary> |
| | 1198 | | /// Initializes a new instance of the <see cref="JobScheduleEnableBatchRequest" /> class. |
| | 1199 | | /// </summary> |
| | 1200 | | /// <param name="serviceClient">The service client to use.</param> |
| | 1201 | | /// <param name="cancellationToken">A <see cref="CancellationToken"/> controlling the request lifetime.</param> |
| | 1202 | | public JobScheduleEnableBatchRequest( |
| | 1203 | | BatchServiceClient serviceClient, |
| | 1204 | | CancellationToken cancellationToken) : base(serviceClient, cancellationToken) |
| | 1205 | | { |
| | 1206 | | } |
| | 1207 | | } |
| | 1208 | |
|
| | 1209 | | /// <summary> |
| | 1210 | | /// An <see cref="IBatchRequest"/> for the JobScheduleTerminate operation. |
| | 1211 | | /// </summary> |
| | 1212 | | public class JobScheduleTerminateBatchRequest : Protocol.BatchRequest< |
| | 1213 | | JobScheduleTerminateOptions, |
| | 1214 | | AzureOperationHeaderResponse<JobScheduleTerminateHeaders>> |
| | 1215 | | { |
| | 1216 | | /// <summary> |
| | 1217 | | /// Initializes a new instance of the <see cref="JobScheduleTerminateBatchRequest" /> class. |
| | 1218 | | /// </summary> |
| | 1219 | | /// <param name="serviceClient">The service client to use.</param> |
| | 1220 | | /// <param name="cancellationToken">A <see cref="CancellationToken"/> controlling the request lifetime.</param> |
| | 1221 | | public JobScheduleTerminateBatchRequest( |
| | 1222 | | BatchServiceClient serviceClient, |
| | 1223 | | CancellationToken cancellationToken) : base(serviceClient, cancellationToken) |
| | 1224 | | { |
| | 1225 | | } |
| | 1226 | | } |
| | 1227 | |
|
| | 1228 | | /// <summary> |
| | 1229 | | /// An <see cref="IBatchRequest"/> for the JobScheduleAdd operation. |
| | 1230 | | /// </summary> |
| | 1231 | | public class JobScheduleAddBatchRequest : Protocol.BatchRequest< |
| | 1232 | | JobScheduleAddParameter, |
| | 1233 | | JobScheduleAddOptions, |
| | 1234 | | AzureOperationHeaderResponse<JobScheduleAddHeaders>> |
| | 1235 | | { |
| | 1236 | | /// <summary> |
| | 1237 | | /// Initializes a new instance of the <see cref="JobScheduleAddBatchRequest" /> class. |
| | 1238 | | /// </summary> |
| | 1239 | | /// <param name="serviceClient">The service client to use.</param> |
| | 1240 | | /// <param name="parameters">The parameters to use.</param> |
| | 1241 | | /// <param name="cancellationToken">A <see cref="CancellationToken"/> controlling the request lifetime.</param> |
| | 1242 | | public JobScheduleAddBatchRequest( |
| | 1243 | | BatchServiceClient serviceClient, |
| | 1244 | | JobScheduleAddParameter parameters, |
| | 1245 | | CancellationToken cancellationToken) : base(serviceClient, parameters, cancellationToken) |
| | 1246 | | { |
| | 1247 | | } |
| | 1248 | | } |
| | 1249 | |
|
| | 1250 | | /// <summary> |
| | 1251 | | /// An <see cref="IBatchRequest"/> for the JobScheduleList operation. |
| | 1252 | | /// </summary> |
| | 1253 | | public class JobScheduleListBatchRequest : Protocol.BatchRequest< |
| | 1254 | | JobScheduleListOptions, |
| | 1255 | | AzureOperationResponse<IPage<CloudJobSchedule>, JobScheduleListHeaders>> |
| | 1256 | | { |
| | 1257 | | /// <summary> |
| | 1258 | | /// Initializes a new instance of the <see cref="JobScheduleListBatchRequest" /> class. |
| | 1259 | | /// </summary> |
| | 1260 | | /// <param name="serviceClient">The service client to use.</param> |
| | 1261 | | /// <param name="cancellationToken">A <see cref="CancellationToken"/> controlling the request lifetime.</param> |
| | 1262 | | public JobScheduleListBatchRequest( |
| | 1263 | | BatchServiceClient serviceClient, |
| | 1264 | | CancellationToken cancellationToken) : base(serviceClient, cancellationToken) |
| | 1265 | | { |
| | 1266 | | } |
| | 1267 | | } |
| | 1268 | |
|
| | 1269 | | /// <summary> |
| | 1270 | | /// An <see cref="IBatchRequest"/> for the JobScheduleListNext operation. |
| | 1271 | | /// </summary> |
| | 1272 | | public class JobScheduleListNextBatchRequest : Protocol.BatchRequest< |
| | 1273 | | JobScheduleListNextOptions, |
| | 1274 | | AzureOperationResponse<IPage<CloudJobSchedule>, JobScheduleListHeaders>> |
| | 1275 | | { |
| | 1276 | | /// <summary> |
| | 1277 | | /// Initializes a new instance of the <see cref="JobScheduleListNextBatchRequest" /> class. |
| | 1278 | | /// </summary> |
| | 1279 | | /// <param name="serviceClient">The service client to use.</param> |
| | 1280 | | /// <param name="cancellationToken">A <see cref="CancellationToken"/> controlling the request lifetime.</param> |
| | 1281 | | public JobScheduleListNextBatchRequest( |
| | 1282 | | BatchServiceClient serviceClient, |
| | 1283 | | CancellationToken cancellationToken) : base(serviceClient, cancellationToken) |
| | 1284 | | { |
| | 1285 | | } |
| | 1286 | | } |
| | 1287 | |
|
| | 1288 | | #endregion |
| | 1289 | |
|
| | 1290 | | #region Pool |
| | 1291 | |
|
| | 1292 | | /// <summary> |
| | 1293 | | /// An <see cref="IBatchRequest"/> for the PoolListPoolUsageMetrics operation. |
| | 1294 | | /// </summary> |
| | 1295 | | public class PoolListPoolUsageMetricsBatchRequest : Protocol.BatchRequest< |
| | 1296 | | PoolListUsageMetricsOptions, |
| | 1297 | | AzureOperationResponse<IPage<PoolUsageMetrics>, PoolListUsageMetricsHeaders>> |
| | 1298 | | { |
| | 1299 | | /// <summary> |
| | 1300 | | /// Initializes a new instance of the <see cref="PoolListPoolUsageMetricsBatchRequest" /> class. |
| | 1301 | | /// </summary> |
| | 1302 | | /// <param name="serviceClient">The service client to use.</param> |
| | 1303 | | /// <param name="cancellationToken">A <see cref="CancellationToken"/> controlling the request lifetime.</param> |
| | 1304 | | public PoolListPoolUsageMetricsBatchRequest( |
| | 1305 | | BatchServiceClient serviceClient, |
| | 1306 | | CancellationToken cancellationToken) : base(serviceClient, cancellationToken) |
| | 1307 | | { |
| | 1308 | | } |
| | 1309 | | } |
| | 1310 | |
|
| | 1311 | | /// <summary> |
| | 1312 | | /// An <see cref="IBatchRequest"/> for the PoolGetAllPoolsLifetimeStatistics operation. |
| | 1313 | | /// </summary> |
| | 1314 | | public class PoolGetAllPoolsLifetimeStatisticsBatchRequest : Protocol.BatchRequest< |
| | 1315 | | PoolGetAllLifetimeStatisticsOptions, |
| | 1316 | | AzureOperationResponse<PoolStatistics, PoolGetAllLifetimeStatisticsHeaders>> |
| | 1317 | | { |
| | 1318 | | /// <summary> |
| | 1319 | | /// Initializes a new instance of the <see cref="PoolGetAllPoolsLifetimeStatisticsBatchRequest" /> class. |
| | 1320 | | /// </summary> |
| | 1321 | | /// <param name="serviceClient">The service client to use.</param> |
| | 1322 | | /// <param name="cancellationToken">A <see cref="CancellationToken"/> controlling the request lifetime.</param> |
| | 1323 | | public PoolGetAllPoolsLifetimeStatisticsBatchRequest( |
| | 1324 | | BatchServiceClient serviceClient, |
| | 1325 | | CancellationToken cancellationToken) : base(serviceClient, cancellationToken) |
| | 1326 | | { |
| | 1327 | | } |
| | 1328 | | } |
| | 1329 | |
|
| | 1330 | | /// <summary> |
| | 1331 | | /// An <see cref="IBatchRequest"/> for the PoolAdd operation. |
| | 1332 | | /// </summary> |
| | 1333 | | public class PoolAddBatchRequest : Protocol.BatchRequest< |
| | 1334 | | PoolAddParameter, |
| | 1335 | | PoolAddOptions, |
| | 1336 | | AzureOperationHeaderResponse<PoolAddHeaders>> |
| | 1337 | | { |
| | 1338 | | /// <summary> |
| | 1339 | | /// Initializes a new instance of the <see cref="PoolAddBatchRequest" /> class. |
| | 1340 | | /// </summary> |
| | 1341 | | /// <param name="serviceClient">The service client to use.</param> |
| | 1342 | | /// <param name="parameters">The parameters to use.</param> |
| | 1343 | | /// <param name="cancellationToken">A <see cref="CancellationToken"/> controlling the request lifetime.</param> |
| | 1344 | | public PoolAddBatchRequest( |
| | 1345 | | BatchServiceClient serviceClient, |
| | 1346 | | PoolAddParameter parameters, |
| | 1347 | | CancellationToken cancellationToken) : base(serviceClient, parameters, cancellationToken) |
| | 1348 | | { |
| | 1349 | | } |
| | 1350 | | } |
| | 1351 | |
|
| | 1352 | | /// <summary> |
| | 1353 | | /// An <see cref="IBatchRequest"/> for the PoolList operation. |
| | 1354 | | /// </summary> |
| | 1355 | | public class PoolListBatchRequest : Protocol.BatchRequest< |
| | 1356 | | PoolListOptions, |
| | 1357 | | AzureOperationResponse<IPage<CloudPool>, PoolListHeaders>> |
| | 1358 | | { |
| | 1359 | | /// <summary> |
| | 1360 | | /// Initializes a new instance of the <see cref="PoolListBatchRequest" /> class. |
| | 1361 | | /// </summary> |
| | 1362 | | /// <param name="serviceClient">The service client to use.</param> |
| | 1363 | | /// <param name="cancellationToken">A <see cref="CancellationToken"/> controlling the request lifetime.</param> |
| | 1364 | | public PoolListBatchRequest( |
| | 1365 | | BatchServiceClient serviceClient, |
| | 1366 | | CancellationToken cancellationToken) : base(serviceClient, cancellationToken) |
| | 1367 | | { |
| | 1368 | | } |
| | 1369 | | } |
| | 1370 | |
|
| | 1371 | | /// <summary> |
| | 1372 | | /// An <see cref="IBatchRequest"/> for the PoolDelete operation. |
| | 1373 | | /// </summary> |
| | 1374 | | public class PoolDeleteBatchRequest : Protocol.BatchRequest< |
| | 1375 | | PoolDeleteOptions, |
| | 1376 | | AzureOperationHeaderResponse<PoolDeleteHeaders>> |
| | 1377 | | { |
| | 1378 | | /// <summary> |
| | 1379 | | /// Initializes a new instance of the <see cref="PoolDeleteBatchRequest" /> class. |
| | 1380 | | /// </summary> |
| | 1381 | | /// <param name="serviceClient">The service client to use.</param> |
| | 1382 | | /// <param name="cancellationToken">A <see cref="CancellationToken"/> controlling the request lifetime.</param> |
| | 1383 | | public PoolDeleteBatchRequest( |
| | 1384 | | BatchServiceClient serviceClient, |
| | 1385 | | CancellationToken cancellationToken) : base(serviceClient, cancellationToken) |
| | 1386 | | { |
| | 1387 | | } |
| | 1388 | | } |
| | 1389 | |
|
| | 1390 | | /// <summary> |
| | 1391 | | /// An <see cref="IBatchRequest"/> for the PoolExists operation. |
| | 1392 | | /// </summary> |
| | 1393 | | public class PoolExistsBatchRequest : Protocol.BatchRequest< |
| | 1394 | | PoolExistsOptions, |
| | 1395 | | AzureOperationResponse<bool, PoolExistsHeaders>> |
| | 1396 | | { |
| | 1397 | | /// <summary> |
| | 1398 | | /// Initializes a new instance of the <see cref="PoolExistsBatchRequest" /> class. |
| | 1399 | | /// </summary> |
| | 1400 | | /// <param name="serviceClient">The service client to use.</param> |
| | 1401 | | /// <param name="cancellationToken">A <see cref="CancellationToken"/> controlling the request lifetime.</param> |
| | 1402 | | public PoolExistsBatchRequest( |
| | 1403 | | BatchServiceClient serviceClient, |
| | 1404 | | CancellationToken cancellationToken) : base(serviceClient, cancellationToken) |
| | 1405 | | { |
| | 1406 | | } |
| | 1407 | | } |
| | 1408 | |
|
| | 1409 | | /// <summary> |
| | 1410 | | /// An <see cref="IBatchRequest"/> for the PoolGet operation. |
| | 1411 | | /// </summary> |
| | 1412 | | public class PoolGetBatchRequest : Protocol.BatchRequest< |
| | 1413 | | PoolGetOptions, |
| | 1414 | | AzureOperationResponse<CloudPool, PoolGetHeaders>> |
| | 1415 | | { |
| | 1416 | | /// <summary> |
| | 1417 | | /// Initializes a new instance of the <see cref="PoolGetBatchRequest" /> class. |
| | 1418 | | /// </summary> |
| | 1419 | | /// <param name="serviceClient">The service client to use.</param> |
| | 1420 | | /// <param name="cancellationToken">A <see cref="CancellationToken"/> controlling the request lifetime.</param> |
| | 1421 | | public PoolGetBatchRequest( |
| | 1422 | | BatchServiceClient serviceClient, |
| | 1423 | | CancellationToken cancellationToken) : base(serviceClient, cancellationToken) |
| | 1424 | | { |
| | 1425 | | } |
| | 1426 | | } |
| | 1427 | |
|
| | 1428 | | /// <summary> |
| | 1429 | | /// An <see cref="IBatchRequest"/> for the PoolPatch operation. |
| | 1430 | | /// </summary> |
| | 1431 | | public class PoolPatchBatchRequest : Protocol.BatchRequest< |
| | 1432 | | PoolPatchParameter, |
| | 1433 | | PoolPatchOptions, |
| | 1434 | | AzureOperationHeaderResponse<PoolPatchHeaders>> |
| | 1435 | | { |
| | 1436 | | /// <summary> |
| | 1437 | | /// Initializes a new instance of the <see cref="PoolPatchBatchRequest" /> class. |
| | 1438 | | /// </summary> |
| | 1439 | | /// <param name="serviceClient">The service client to use.</param> |
| | 1440 | | /// <param name="parameters">The parameters to use.</param> |
| | 1441 | | /// <param name="cancellationToken">A <see cref="CancellationToken"/> controlling the request lifetime.</param> |
| | 1442 | | public PoolPatchBatchRequest( |
| | 1443 | | BatchServiceClient serviceClient, |
| | 1444 | | PoolPatchParameter parameters, |
| | 1445 | | CancellationToken cancellationToken) : base(serviceClient, parameters, cancellationToken) |
| | 1446 | | { |
| | 1447 | | } |
| | 1448 | | } |
| | 1449 | |
|
| | 1450 | | /// <summary> |
| | 1451 | | /// An <see cref="IBatchRequest"/> for the PoolDisableAutoScale operation. |
| | 1452 | | /// </summary> |
| | 1453 | | public class PoolDisableAutoScaleBatchRequest : Protocol.BatchRequest< |
| | 1454 | | PoolDisableAutoScaleOptions, |
| | 1455 | | AzureOperationHeaderResponse<PoolDisableAutoScaleHeaders>> |
| | 1456 | | { |
| | 1457 | | /// <summary> |
| | 1458 | | /// Initializes a new instance of the <see cref="PoolDisableAutoScaleBatchRequest" /> class. |
| | 1459 | | /// </summary> |
| | 1460 | | /// <param name="serviceClient">The service client to use.</param> |
| | 1461 | | /// <param name="cancellationToken">A <see cref="CancellationToken"/> controlling the request lifetime.</param> |
| | 1462 | | public PoolDisableAutoScaleBatchRequest( |
| | 1463 | | BatchServiceClient serviceClient, |
| | 1464 | | CancellationToken cancellationToken) : base(serviceClient, cancellationToken) |
| | 1465 | | { |
| | 1466 | | } |
| | 1467 | | } |
| | 1468 | |
|
| | 1469 | | /// <summary> |
| | 1470 | | /// An <see cref="IBatchRequest"/> for the PoolEnableAutoScale operation. |
| | 1471 | | /// </summary> |
| | 1472 | | public class PoolEnableAutoScaleBatchRequest : Protocol.BatchRequest< |
| | 1473 | | PoolEnableAutoScaleParameter, |
| | 1474 | | PoolEnableAutoScaleOptions, |
| | 1475 | | AzureOperationHeaderResponse<PoolEnableAutoScaleHeaders>> |
| | 1476 | | { |
| | 1477 | | /// <summary> |
| | 1478 | | /// Initializes a new instance of the <see cref="PoolEnableAutoScaleBatchRequest" /> class. |
| | 1479 | | /// </summary> |
| | 1480 | | /// <param name="serviceClient">The service client to use.</param> |
| | 1481 | | /// <param name="parameters">The parameters to use.</param> |
| | 1482 | | /// <param name="cancellationToken">A <see cref="CancellationToken"/> controlling the request lifetime.</param> |
| | 1483 | | public PoolEnableAutoScaleBatchRequest( |
| | 1484 | | BatchServiceClient serviceClient, |
| | 1485 | | PoolEnableAutoScaleParameter parameters, |
| | 1486 | | CancellationToken cancellationToken) : base(serviceClient, parameters, cancellationToken) |
| | 1487 | | { |
| | 1488 | | } |
| | 1489 | | } |
| | 1490 | |
|
| | 1491 | | /// <summary> |
| | 1492 | | /// An <see cref="IBatchRequest"/> for the PoolEvaluateAutoScale operation. |
| | 1493 | | /// </summary> |
| | 1494 | | public class PoolEvaluateAutoScaleBatchRequest : Protocol.BatchRequest< |
| | 1495 | | string, |
| | 1496 | | PoolEvaluateAutoScaleOptions, |
| | 1497 | | AzureOperationResponse<AutoScaleRun, PoolEvaluateAutoScaleHeaders>> |
| | 1498 | | { |
| | 1499 | | /// <summary> |
| | 1500 | | /// Initializes a new instance of the <see cref="PoolEvaluateAutoScaleBatchRequest" /> class. |
| | 1501 | | /// </summary> |
| | 1502 | | /// <param name="serviceClient">The service client to use.</param> |
| | 1503 | | /// <param name="parameters">The parameters to use.</param> |
| | 1504 | | /// <param name="cancellationToken">A <see cref="CancellationToken"/> controlling the request lifetime.</param> |
| | 1505 | | public PoolEvaluateAutoScaleBatchRequest( |
| | 1506 | | BatchServiceClient serviceClient, |
| | 1507 | | string parameters, |
| | 1508 | | CancellationToken cancellationToken) : base(serviceClient, parameters, cancellationToken) |
| | 1509 | | { |
| | 1510 | | } |
| | 1511 | | } |
| | 1512 | |
|
| | 1513 | | /// <summary> |
| | 1514 | | /// An <see cref="IBatchRequest"/> for the PoolResize operation. |
| | 1515 | | /// </summary> |
| | 1516 | | public class PoolResizeBatchRequest : Protocol.BatchRequest< |
| | 1517 | | PoolResizeParameter, |
| | 1518 | | PoolResizeOptions, |
| | 1519 | | AzureOperationHeaderResponse<PoolResizeHeaders>> |
| | 1520 | | { |
| | 1521 | | /// <summary> |
| | 1522 | | /// Initializes a new instance of the <see cref="PoolResizeBatchRequest" /> class. |
| | 1523 | | /// </summary> |
| | 1524 | | /// <param name="serviceClient">The service client to use.</param> |
| | 1525 | | /// <param name="parameters">The parameters to use.</param> |
| | 1526 | | /// <param name="cancellationToken">A <see cref="CancellationToken"/> controlling the request lifetime.</param> |
| | 1527 | | public PoolResizeBatchRequest( |
| | 1528 | | BatchServiceClient serviceClient, |
| | 1529 | | PoolResizeParameter parameters, |
| | 1530 | | CancellationToken cancellationToken) : base(serviceClient, parameters, cancellationToken) |
| | 1531 | | { |
| | 1532 | | } |
| | 1533 | | } |
| | 1534 | |
|
| | 1535 | | /// <summary> |
| | 1536 | | /// An <see cref="IBatchRequest"/> for the PoolStopResize operation. |
| | 1537 | | /// </summary> |
| | 1538 | | public class PoolStopResizeBatchRequest : Protocol.BatchRequest< |
| | 1539 | | PoolStopResizeOptions, |
| | 1540 | | AzureOperationHeaderResponse<PoolStopResizeHeaders>> |
| | 1541 | | { |
| | 1542 | | /// <summary> |
| | 1543 | | /// Initializes a new instance of the <see cref="PoolStopResizeBatchRequest" /> class. |
| | 1544 | | /// </summary> |
| | 1545 | | /// <param name="serviceClient">The service client to use.</param> |
| | 1546 | | /// <param name="cancellationToken">A <see cref="CancellationToken"/> controlling the request lifetime.</param> |
| | 1547 | | public PoolStopResizeBatchRequest( |
| | 1548 | | BatchServiceClient serviceClient, |
| | 1549 | | CancellationToken cancellationToken) : base(serviceClient, cancellationToken) |
| | 1550 | | { |
| | 1551 | | } |
| | 1552 | | } |
| | 1553 | |
|
| | 1554 | | /// <summary> |
| | 1555 | | /// An <see cref="IBatchRequest"/> for the PoolUpdateProperties operation. |
| | 1556 | | /// </summary> |
| | 1557 | | public class PoolUpdatePropertiesBatchRequest : Protocol.BatchRequest< |
| | 1558 | | PoolUpdatePropertiesParameter, |
| | 1559 | | PoolUpdatePropertiesOptions, |
| | 1560 | | AzureOperationHeaderResponse<PoolUpdatePropertiesHeaders>> |
| | 1561 | | { |
| | 1562 | | /// <summary> |
| | 1563 | | /// Initializes a new instance of the <see cref="PoolUpdatePropertiesBatchRequest" /> class. |
| | 1564 | | /// </summary> |
| | 1565 | | /// <param name="serviceClient">The service client to use.</param> |
| | 1566 | | /// <param name="parameters">The parameters to use.</param> |
| | 1567 | | /// <param name="cancellationToken">A <see cref="CancellationToken"/> controlling the request lifetime.</param> |
| | 1568 | | public PoolUpdatePropertiesBatchRequest( |
| | 1569 | | BatchServiceClient serviceClient, |
| | 1570 | | PoolUpdatePropertiesParameter parameters, |
| | 1571 | | CancellationToken cancellationToken) : base(serviceClient, parameters, cancellationToken) |
| | 1572 | | { |
| | 1573 | | } |
| | 1574 | | } |
| | 1575 | |
|
| | 1576 | | /// <summary> |
| | 1577 | | /// An <see cref="IBatchRequest"/> for the PoolRemoveNodes operation. |
| | 1578 | | /// </summary> |
| | 1579 | | public class PoolRemoveNodesBatchRequest : Protocol.BatchRequest< |
| | 1580 | | NodeRemoveParameter, |
| | 1581 | | PoolRemoveNodesOptions, |
| | 1582 | | AzureOperationHeaderResponse<PoolRemoveNodesHeaders>> |
| | 1583 | | { |
| | 1584 | | /// <summary> |
| | 1585 | | /// Initializes a new instance of the <see cref="PoolRemoveNodesBatchRequest" /> class. |
| | 1586 | | /// </summary> |
| | 1587 | | /// <param name="serviceClient">The service client to use.</param> |
| | 1588 | | /// <param name="parameters">The parameters to use.</param> |
| | 1589 | | /// <param name="cancellationToken">A <see cref="CancellationToken"/> controlling the request lifetime.</param> |
| | 1590 | | public PoolRemoveNodesBatchRequest( |
| | 1591 | | BatchServiceClient serviceClient, |
| | 1592 | | NodeRemoveParameter parameters, |
| | 1593 | | CancellationToken cancellationToken) : base(serviceClient, parameters, cancellationToken) |
| | 1594 | | { |
| | 1595 | | } |
| | 1596 | | } |
| | 1597 | |
|
| | 1598 | | /// <summary> |
| | 1599 | | /// An <see cref="IBatchRequest"/> for the PoolListPoolUsageMetricsNext operation. |
| | 1600 | | /// </summary> |
| | 1601 | | public class PoolListPoolUsageMetricsNextBatchRequest : Protocol.BatchRequest< |
| | 1602 | | PoolListUsageMetricsNextOptions, |
| | 1603 | | AzureOperationResponse<IPage<PoolUsageMetrics>, PoolListUsageMetricsHeaders>> |
| | 1604 | | { |
| | 1605 | | /// <summary> |
| | 1606 | | /// Initializes a new instance of the <see cref="PoolListPoolUsageMetricsNextBatchRequest" /> class. |
| | 1607 | | /// </summary> |
| | 1608 | | /// <param name="serviceClient">The service client to use.</param> |
| | 1609 | | /// <param name="cancellationToken">A <see cref="CancellationToken"/> controlling the request lifetime.</param> |
| | 1610 | | public PoolListPoolUsageMetricsNextBatchRequest( |
| | 1611 | | BatchServiceClient serviceClient, |
| | 1612 | | CancellationToken cancellationToken) : base(serviceClient, cancellationToken) |
| | 1613 | | { |
| | 1614 | | } |
| | 1615 | | } |
| | 1616 | |
|
| | 1617 | | /// <summary> |
| | 1618 | | /// An <see cref="IBatchRequest"/> for the PoolListNext operation. |
| | 1619 | | /// </summary> |
| | 1620 | | public class PoolListNextBatchRequest : Protocol.BatchRequest< |
| | 1621 | | PoolListNextOptions, |
| | 1622 | | AzureOperationResponse<IPage<CloudPool>, PoolListHeaders>> |
| | 1623 | | { |
| | 1624 | | /// <summary> |
| | 1625 | | /// Initializes a new instance of the <see cref="PoolListNextBatchRequest" /> class. |
| | 1626 | | /// </summary> |
| | 1627 | | /// <param name="serviceClient">The service client to use.</param> |
| | 1628 | | /// <param name="cancellationToken">A <see cref="CancellationToken"/> controlling the request lifetime.</param> |
| | 1629 | | public PoolListNextBatchRequest( |
| | 1630 | | BatchServiceClient serviceClient, |
| | 1631 | | CancellationToken cancellationToken) : base(serviceClient, cancellationToken) |
| | 1632 | | { |
| | 1633 | | } |
| | 1634 | | } |
| | 1635 | |
|
| | 1636 | | #endregion |
| | 1637 | |
|
| | 1638 | | #region Task |
| | 1639 | |
|
| | 1640 | | /// <summary> |
| | 1641 | | /// An <see cref="IBatchRequest"/> for the TaskAdd operation. |
| | 1642 | | /// </summary> |
| | 1643 | | public class TaskAddBatchRequest : Protocol.BatchRequest< |
| | 1644 | | TaskAddParameter, |
| | 1645 | | TaskAddOptions, |
| | 1646 | | AzureOperationHeaderResponse<TaskAddHeaders>> |
| | 1647 | | { |
| | 1648 | | /// <summary> |
| | 1649 | | /// Initializes a new instance of the <see cref="TaskAddBatchRequest" /> class. |
| | 1650 | | /// </summary> |
| | 1651 | | /// <param name="serviceClient">The service client to use.</param> |
| | 1652 | | /// <param name="parameters">The parameters to use.</param> |
| | 1653 | | /// <param name="cancellationToken">A <see cref="CancellationToken"/> controlling the request lifetime.</param> |
| | 1654 | | public TaskAddBatchRequest( |
| | 1655 | | BatchServiceClient serviceClient, |
| | 1656 | | TaskAddParameter parameters, |
| 8 | 1657 | | CancellationToken cancellationToken) : base(serviceClient, parameters, cancellationToken) |
| | 1658 | | { |
| 8 | 1659 | | this.Timeout = Constants.DefaultLongRestRequestClientTimeout; |
| 8 | 1660 | | } |
| | 1661 | | } |
| | 1662 | |
|
| | 1663 | | /// <summary> |
| | 1664 | | /// An <see cref="IBatchRequest"/> for the TaskList operation. |
| | 1665 | | /// </summary> |
| | 1666 | | public class TaskListBatchRequest : Protocol.BatchRequest< |
| | 1667 | | TaskListOptions, |
| | 1668 | | AzureOperationResponse<IPage<CloudTask>, TaskListHeaders>> |
| | 1669 | | { |
| | 1670 | | /// <summary> |
| | 1671 | | /// Initializes a new instance of the <see cref="TaskListBatchRequest" /> class. |
| | 1672 | | /// </summary> |
| | 1673 | | /// <param name="serviceClient">The service client to use.</param> |
| | 1674 | | /// <param name="cancellationToken">A <see cref="CancellationToken"/> controlling the request lifetime.</param> |
| | 1675 | | public TaskListBatchRequest( |
| | 1676 | | BatchServiceClient serviceClient, |
| | 1677 | | CancellationToken cancellationToken) : base(serviceClient, cancellationToken) |
| | 1678 | | { |
| | 1679 | | } |
| | 1680 | | } |
| | 1681 | |
|
| | 1682 | | /// <summary> |
| | 1683 | | /// An <see cref="IBatchRequest"/> for the TaskAddCollection operation. |
| | 1684 | | /// </summary> |
| | 1685 | | public class TaskAddCollectionBatchRequest : Protocol.BatchRequest< |
| | 1686 | | System.Collections.Generic.IList<TaskAddParameter>, |
| | 1687 | | TaskAddCollectionOptions, |
| | 1688 | | AzureOperationResponse<TaskAddCollectionResult, TaskAddCollectionHeaders>> |
| | 1689 | | { |
| | 1690 | | /// <summary> |
| | 1691 | | /// Initializes a new instance of the <see cref="TaskAddCollectionBatchRequest" /> class. |
| | 1692 | | /// </summary> |
| | 1693 | | /// <param name="serviceClient">The service client to use.</param> |
| | 1694 | | /// <param name="parameters">The parameters to use.</param> |
| | 1695 | | /// <param name="cancellationToken">A <see cref="CancellationToken"/> controlling the request lifetime.</param> |
| | 1696 | | public TaskAddCollectionBatchRequest( |
| | 1697 | | BatchServiceClient serviceClient, |
| | 1698 | | System.Collections.Generic.IList<TaskAddParameter> parameters, |
| | 1699 | | CancellationToken cancellationToken) : base(serviceClient, parameters, cancellationToken) |
| | 1700 | | { |
| | 1701 | | } |
| | 1702 | | } |
| | 1703 | |
|
| | 1704 | | /// <summary> |
| | 1705 | | /// An <see cref="IBatchRequest"/> for the TaskDelete operation. |
| | 1706 | | /// </summary> |
| | 1707 | | public class TaskDeleteBatchRequest : Protocol.BatchRequest< |
| | 1708 | | TaskDeleteOptions, |
| | 1709 | | AzureOperationHeaderResponse<TaskDeleteHeaders>> |
| | 1710 | | { |
| | 1711 | | /// <summary> |
| | 1712 | | /// Initializes a new instance of the <see cref="TaskDeleteBatchRequest" /> class. |
| | 1713 | | /// </summary> |
| | 1714 | | /// <param name="serviceClient">The service client to use.</param> |
| | 1715 | | /// <param name="cancellationToken">A <see cref="CancellationToken"/> controlling the request lifetime.</param> |
| | 1716 | | public TaskDeleteBatchRequest( |
| | 1717 | | BatchServiceClient serviceClient, |
| | 1718 | | CancellationToken cancellationToken) : base(serviceClient, cancellationToken) |
| | 1719 | | { |
| | 1720 | | } |
| | 1721 | | } |
| | 1722 | |
|
| | 1723 | | /// <summary> |
| | 1724 | | /// An <see cref="IBatchRequest"/> for the TaskGet operation. |
| | 1725 | | /// </summary> |
| | 1726 | | public class TaskGetBatchRequest : Protocol.BatchRequest< |
| | 1727 | | TaskGetOptions, |
| | 1728 | | AzureOperationResponse<CloudTask, TaskGetHeaders>> |
| | 1729 | | { |
| | 1730 | | /// <summary> |
| | 1731 | | /// Initializes a new instance of the <see cref="TaskGetBatchRequest" /> class. |
| | 1732 | | /// </summary> |
| | 1733 | | /// <param name="serviceClient">The service client to use.</param> |
| | 1734 | | /// <param name="cancellationToken">A <see cref="CancellationToken"/> controlling the request lifetime.</param> |
| | 1735 | | public TaskGetBatchRequest( |
| | 1736 | | BatchServiceClient serviceClient, |
| | 1737 | | CancellationToken cancellationToken) : base(serviceClient, cancellationToken) |
| | 1738 | | { |
| | 1739 | | } |
| | 1740 | | } |
| | 1741 | |
|
| | 1742 | | /// <summary> |
| | 1743 | | /// An <see cref="IBatchRequest"/> for the TaskUpdate operation. |
| | 1744 | | /// </summary> |
| | 1745 | | public class TaskUpdateBatchRequest : Protocol.BatchRequest< |
| | 1746 | | TaskConstraints, |
| | 1747 | | TaskUpdateOptions, |
| | 1748 | | AzureOperationHeaderResponse<TaskUpdateHeaders>> |
| | 1749 | | { |
| | 1750 | | /// <summary> |
| | 1751 | | /// Initializes a new instance of the <see cref="TaskUpdateBatchRequest" /> class. |
| | 1752 | | /// </summary> |
| | 1753 | | /// <param name="serviceClient">The service client to use.</param> |
| | 1754 | | /// <param name="parameters">The parameters to use.</param> |
| | 1755 | | /// <param name="cancellationToken">A <see cref="CancellationToken"/> controlling the request lifetime.</param> |
| | 1756 | | public TaskUpdateBatchRequest( |
| | 1757 | | BatchServiceClient serviceClient, |
| | 1758 | | TaskConstraints parameters, |
| | 1759 | | CancellationToken cancellationToken) : base(serviceClient, parameters, cancellationToken) |
| | 1760 | | { |
| | 1761 | | } |
| | 1762 | | } |
| | 1763 | |
|
| | 1764 | | /// <summary> |
| | 1765 | | /// An <see cref="IBatchRequest"/> for the TaskListSubtasks operation. |
| | 1766 | | /// </summary> |
| | 1767 | | public class TaskListSubtasksBatchRequest : Protocol.BatchRequest< |
| | 1768 | | TaskListSubtasksOptions, |
| | 1769 | | AzureOperationResponse<CloudTaskListSubtasksResult, TaskListSubtasksHeaders>> |
| | 1770 | | { |
| | 1771 | | /// <summary> |
| | 1772 | | /// Initializes a new instance of the <see cref="TaskListSubtasksBatchRequest" /> class. |
| | 1773 | | /// </summary> |
| | 1774 | | /// <param name="serviceClient">The service client to use.</param> |
| | 1775 | | /// <param name="cancellationToken">A <see cref="CancellationToken"/> controlling the request lifetime.</param> |
| | 1776 | | public TaskListSubtasksBatchRequest( |
| | 1777 | | BatchServiceClient serviceClient, |
| | 1778 | | CancellationToken cancellationToken) : base(serviceClient, cancellationToken) |
| | 1779 | | { |
| | 1780 | | } |
| | 1781 | | } |
| | 1782 | |
|
| | 1783 | | /// <summary> |
| | 1784 | | /// An <see cref="IBatchRequest"/> for the TaskTerminate operation. |
| | 1785 | | /// </summary> |
| | 1786 | | public class TaskTerminateBatchRequest : Protocol.BatchRequest< |
| | 1787 | | TaskTerminateOptions, |
| | 1788 | | AzureOperationHeaderResponse<TaskTerminateHeaders>> |
| | 1789 | | { |
| | 1790 | | /// <summary> |
| | 1791 | | /// Initializes a new instance of the <see cref="TaskTerminateBatchRequest" /> class. |
| | 1792 | | /// </summary> |
| | 1793 | | /// <param name="serviceClient">The service client to use.</param> |
| | 1794 | | /// <param name="cancellationToken">A <see cref="CancellationToken"/> controlling the request lifetime.</param> |
| | 1795 | | public TaskTerminateBatchRequest( |
| | 1796 | | BatchServiceClient serviceClient, |
| | 1797 | | CancellationToken cancellationToken) : base(serviceClient, cancellationToken) |
| | 1798 | | { |
| | 1799 | | } |
| | 1800 | | } |
| | 1801 | |
|
| | 1802 | | /// <summary> |
| | 1803 | | /// An <see cref="IBatchRequest"/> for the TaskReactivate operation. |
| | 1804 | | /// </summary> |
| | 1805 | | public class TaskReactivateBatchRequest : Protocol.BatchRequest< |
| | 1806 | | TaskReactivateOptions, |
| | 1807 | | AzureOperationHeaderResponse<TaskReactivateHeaders>> |
| | 1808 | | { |
| | 1809 | | /// <summary> |
| | 1810 | | /// Initializes a new instance of the <see cref="TaskReactivateBatchRequest" /> class. |
| | 1811 | | /// </summary> |
| | 1812 | | /// <param name="serviceClient">The service client to use.</param> |
| | 1813 | | /// <param name="cancellationToken">A <see cref="CancellationToken"/> controlling the request lifetime.</param> |
| | 1814 | | public TaskReactivateBatchRequest( |
| | 1815 | | BatchServiceClient serviceClient, |
| | 1816 | | CancellationToken cancellationToken) : base(serviceClient, cancellationToken) |
| | 1817 | | { |
| | 1818 | | } |
| | 1819 | | } |
| | 1820 | |
|
| | 1821 | | /// <summary> |
| | 1822 | | /// An <see cref="IBatchRequest"/> for the TaskListNext operation. |
| | 1823 | | /// </summary> |
| | 1824 | | public class TaskListNextBatchRequest : Protocol.BatchRequest< |
| | 1825 | | TaskListNextOptions, |
| | 1826 | | AzureOperationResponse<IPage<CloudTask>, TaskListHeaders>> |
| | 1827 | | { |
| | 1828 | | /// <summary> |
| | 1829 | | /// Initializes a new instance of the <see cref="TaskListNextBatchRequest" /> class. |
| | 1830 | | /// </summary> |
| | 1831 | | /// <param name="serviceClient">The service client to use.</param> |
| | 1832 | | /// <param name="cancellationToken">A <see cref="CancellationToken"/> controlling the request lifetime.</param> |
| | 1833 | | public TaskListNextBatchRequest( |
| | 1834 | | BatchServiceClient serviceClient, |
| | 1835 | | CancellationToken cancellationToken) : base(serviceClient, cancellationToken) |
| | 1836 | | { |
| | 1837 | | } |
| | 1838 | | } |
| | 1839 | |
|
| | 1840 | | #endregion |
| | 1841 | |
|
| | 1842 | | } |