@alicloud/ecs20140526 7.1.1 → 7.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (39) hide show
  1. package/dist/client.d.ts +336 -104
  2. package/dist/client.js +345 -104
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/DescribeDeploymentSetsRequest.d.ts +1 -1
  5. package/dist/models/DescribeInvocationResultsResponseBody.d.ts +3 -0
  6. package/dist/models/DescribeInvocationResultsResponseBody.js +6 -0
  7. package/dist/models/DescribeInvocationResultsResponseBody.js.map +1 -1
  8. package/dist/models/DescribeInvocationsResponseBody.d.ts +3 -0
  9. package/dist/models/DescribeInvocationsResponseBody.js +6 -0
  10. package/dist/models/DescribeInvocationsResponseBody.js.map +1 -1
  11. package/dist/models/InvokeCommandRequest.d.ts +1 -0
  12. package/dist/models/InvokeCommandRequest.js +2 -0
  13. package/dist/models/InvokeCommandRequest.js.map +1 -1
  14. package/dist/models/InvokeCommandShrinkRequest.d.ts +1 -0
  15. package/dist/models/InvokeCommandShrinkRequest.js +2 -0
  16. package/dist/models/InvokeCommandShrinkRequest.js.map +1 -1
  17. package/dist/models/RunCommandRequest.d.ts +1 -0
  18. package/dist/models/RunCommandRequest.js +2 -0
  19. package/dist/models/RunCommandRequest.js.map +1 -1
  20. package/dist/models/RunCommandShrinkRequest.d.ts +1 -0
  21. package/dist/models/RunCommandShrinkRequest.js +2 -0
  22. package/dist/models/RunCommandShrinkRequest.js.map +1 -1
  23. package/dist/models/RunInstancesRequest.d.ts +14 -0
  24. package/dist/models/RunInstancesRequest.js +25 -1
  25. package/dist/models/RunInstancesRequest.js.map +1 -1
  26. package/dist/models/model.d.ts +1 -0
  27. package/dist/models/model.js +34 -32
  28. package/dist/models/model.js.map +1 -1
  29. package/package.json +1 -1
  30. package/src/client.ts +348 -104
  31. package/src/models/DescribeDeploymentSetsRequest.ts +1 -1
  32. package/src/models/DescribeInvocationResultsResponseBody.ts +9 -0
  33. package/src/models/DescribeInvocationsResponseBody.ts +9 -0
  34. package/src/models/InvokeCommandRequest.ts +3 -0
  35. package/src/models/InvokeCommandShrinkRequest.ts +3 -0
  36. package/src/models/RunCommandRequest.ts +3 -0
  37. package/src/models/RunCommandShrinkRequest.ts +3 -0
  38. package/src/models/RunInstancesRequest.ts +29 -0
  39. package/src/models/model.ts +1 -0
@@ -59,7 +59,7 @@ export class DescribeDeploymentSetsRequest extends $dara.Model {
59
59
  pageNumber?: number;
60
60
  /**
61
61
  * @remarks
62
- * The number of entries per page.
62
+ * The number of entries to return on each page.
63
63
  *
64
64
  * Valid values: 1 to 50.
65
65
  *
@@ -271,6 +271,9 @@ export class DescribeInvocationResultsResponseBodyInvocationInvocationResultsInv
271
271
  * python3 -u {{ACS::ScriptFileName|Ext(".py")}}
272
272
  */
273
273
  launcher?: string;
274
+ ossOutputDelivery?: string;
275
+ ossOutputStatus?: string;
276
+ ossOutputUri?: string;
274
277
  /**
275
278
  * @remarks
276
279
  * The command output.
@@ -348,6 +351,9 @@ export class DescribeInvocationResultsResponseBodyInvocationInvocationResultsInv
348
351
  invokeId: 'InvokeId',
349
352
  invokeRecordStatus: 'InvokeRecordStatus',
350
353
  launcher: 'Launcher',
354
+ ossOutputDelivery: 'OssOutputDelivery',
355
+ ossOutputStatus: 'OssOutputStatus',
356
+ ossOutputUri: 'OssOutputUri',
351
357
  output: 'Output',
352
358
  repeats: 'Repeats',
353
359
  startTime: 'StartTime',
@@ -373,6 +379,9 @@ export class DescribeInvocationResultsResponseBodyInvocationInvocationResultsInv
373
379
  invokeId: 'string',
374
380
  invokeRecordStatus: 'string',
375
381
  launcher: 'string',
382
+ ossOutputDelivery: 'string',
383
+ ossOutputStatus: 'string',
384
+ ossOutputUri: 'string',
376
385
  output: 'string',
377
386
  repeats: 'number',
378
387
  startTime: 'string',
@@ -151,6 +151,8 @@ export class DescribeInvocationsResponseBodyInvocationsInvocationInvokeInstances
151
151
  * Success
152
152
  */
153
153
  invocationStatus?: string;
154
+ ossOutputStatus?: string;
155
+ ossOutputUri?: string;
154
156
  /**
155
157
  * @remarks
156
158
  * The command output.
@@ -216,6 +218,8 @@ export class DescribeInvocationsResponseBodyInvocationsInvocationInvokeInstances
216
218
  instanceId: 'InstanceId',
217
219
  instanceInvokeStatus: 'InstanceInvokeStatus',
218
220
  invocationStatus: 'InvocationStatus',
221
+ ossOutputStatus: 'OssOutputStatus',
222
+ ossOutputUri: 'OssOutputUri',
219
223
  output: 'Output',
220
224
  repeats: 'Repeats',
221
225
  startTime: 'StartTime',
@@ -236,6 +240,8 @@ export class DescribeInvocationsResponseBodyInvocationsInvocationInvokeInstances
236
240
  instanceId: 'string',
237
241
  instanceInvokeStatus: 'string',
238
242
  invocationStatus: 'string',
243
+ ossOutputStatus: 'string',
244
+ ossOutputUri: 'string',
239
245
  output: 'string',
240
246
  repeats: 'number',
241
247
  startTime: 'string',
@@ -488,6 +494,7 @@ export class DescribeInvocationsResponseBodyInvocationsInvocation extends $dara.
488
494
  * python3 -u {{ACS::ScriptFileName|Ext(".py")}}
489
495
  */
490
496
  launcher?: string;
497
+ ossOutputDelivery?: string;
491
498
  /**
492
499
  * @remarks
493
500
  * The custom parameters in the command.
@@ -576,6 +583,7 @@ export class DescribeInvocationsResponseBodyInvocationsInvocation extends $dara.
576
583
  invokeInstances: 'InvokeInstances',
577
584
  invokeStatus: 'InvokeStatus',
578
585
  launcher: 'Launcher',
586
+ ossOutputDelivery: 'OssOutputDelivery',
579
587
  parameters: 'Parameters',
580
588
  repeatMode: 'RepeatMode',
581
589
  tags: 'Tags',
@@ -603,6 +611,7 @@ export class DescribeInvocationsResponseBodyInvocationsInvocation extends $dara.
603
611
  invokeInstances: DescribeInvocationsResponseBodyInvocationsInvocationInvokeInstances,
604
612
  invokeStatus: 'string',
605
613
  launcher: 'string',
614
+ ossOutputDelivery: 'string',
606
615
  parameters: 'string',
607
616
  repeatMode: 'string',
608
617
  tags: DescribeInvocationsResponseBodyInvocationsInvocationTags,
@@ -211,6 +211,7 @@ export class InvokeCommandRequest extends $dara.Model {
211
211
  * python3 -u {{ACS::ScriptFileName|Ext(".py")}}
212
212
  */
213
213
  launcher?: string;
214
+ ossOutputDelivery?: string;
214
215
  ownerAccount?: string;
215
216
  ownerId?: number;
216
217
  /**
@@ -362,6 +363,7 @@ export class InvokeCommandRequest extends $dara.Model {
362
363
  frequency: 'Frequency',
363
364
  instanceId: 'InstanceId',
364
365
  launcher: 'Launcher',
366
+ ossOutputDelivery: 'OssOutputDelivery',
365
367
  ownerAccount: 'OwnerAccount',
366
368
  ownerId: 'OwnerId',
367
369
  parameters: 'Parameters',
@@ -390,6 +392,7 @@ export class InvokeCommandRequest extends $dara.Model {
390
392
  frequency: 'string',
391
393
  instanceId: { 'type': 'array', 'itemType': 'string' },
392
394
  launcher: 'string',
395
+ ossOutputDelivery: 'string',
393
396
  ownerAccount: 'string',
394
397
  ownerId: 'number',
395
398
  parameters: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
@@ -211,6 +211,7 @@ export class InvokeCommandShrinkRequest extends $dara.Model {
211
211
  * python3 -u {{ACS::ScriptFileName|Ext(".py")}}
212
212
  */
213
213
  launcher?: string;
214
+ ossOutputDelivery?: string;
214
215
  ownerAccount?: string;
215
216
  ownerId?: number;
216
217
  /**
@@ -362,6 +363,7 @@ export class InvokeCommandShrinkRequest extends $dara.Model {
362
363
  frequency: 'Frequency',
363
364
  instanceId: 'InstanceId',
364
365
  launcher: 'Launcher',
366
+ ossOutputDelivery: 'OssOutputDelivery',
365
367
  ownerAccount: 'OwnerAccount',
366
368
  ownerId: 'OwnerId',
367
369
  parametersShrink: 'Parameters',
@@ -390,6 +392,7 @@ export class InvokeCommandShrinkRequest extends $dara.Model {
390
392
  frequency: 'string',
391
393
  instanceId: { 'type': 'array', 'itemType': 'string' },
392
394
  launcher: 'string',
395
+ ossOutputDelivery: 'string',
393
396
  ownerAccount: 'string',
394
397
  ownerId: 'number',
395
398
  parametersShrink: 'string',
@@ -289,6 +289,7 @@ export class RunCommandRequest extends $dara.Model {
289
289
  * testName
290
290
  */
291
291
  name?: string;
292
+ ossOutputDelivery?: string;
292
293
  ownerAccount?: string;
293
294
  ownerId?: number;
294
295
  /**
@@ -462,6 +463,7 @@ export class RunCommandRequest extends $dara.Model {
462
463
  keepCommand: 'KeepCommand',
463
464
  launcher: 'Launcher',
464
465
  name: 'Name',
466
+ ossOutputDelivery: 'OssOutputDelivery',
465
467
  ownerAccount: 'OwnerAccount',
466
468
  ownerId: 'OwnerId',
467
469
  parameters: 'Parameters',
@@ -496,6 +498,7 @@ export class RunCommandRequest extends $dara.Model {
496
498
  keepCommand: 'boolean',
497
499
  launcher: 'string',
498
500
  name: 'string',
501
+ ossOutputDelivery: 'string',
499
502
  ownerAccount: 'string',
500
503
  ownerId: 'number',
501
504
  parameters: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
@@ -289,6 +289,7 @@ export class RunCommandShrinkRequest extends $dara.Model {
289
289
  * testName
290
290
  */
291
291
  name?: string;
292
+ ossOutputDelivery?: string;
292
293
  ownerAccount?: string;
293
294
  ownerId?: number;
294
295
  /**
@@ -462,6 +463,7 @@ export class RunCommandShrinkRequest extends $dara.Model {
462
463
  keepCommand: 'KeepCommand',
463
464
  launcher: 'Launcher',
464
465
  name: 'Name',
466
+ ossOutputDelivery: 'OssOutputDelivery',
465
467
  ownerAccount: 'OwnerAccount',
466
468
  ownerId: 'OwnerId',
467
469
  parametersShrink: 'Parameters',
@@ -496,6 +498,7 @@ export class RunCommandShrinkRequest extends $dara.Model {
496
498
  keepCommand: 'boolean',
497
499
  launcher: 'string',
498
500
  name: 'string',
501
+ ossOutputDelivery: 'string',
499
502
  ownerAccount: 'string',
500
503
  ownerId: 'number',
501
504
  parametersShrink: 'string',
@@ -499,6 +499,29 @@ export class RunInstancesRequestArn extends $dara.Model {
499
499
  }
500
500
  }
501
501
 
502
+ export class RunInstancesRequestClockOptions extends $dara.Model {
503
+ ptpStatus?: string;
504
+ static names(): { [key: string]: string } {
505
+ return {
506
+ ptpStatus: 'PtpStatus',
507
+ };
508
+ }
509
+
510
+ static types(): { [key: string]: any } {
511
+ return {
512
+ ptpStatus: 'string',
513
+ };
514
+ }
515
+
516
+ validate() {
517
+ super.validate();
518
+ }
519
+
520
+ constructor(map?: { [key: string]: any }) {
521
+ super(map);
522
+ }
523
+ }
524
+
502
525
  export class RunInstancesRequestDataDisk extends $dara.Model {
503
526
  /**
504
527
  * @remarks
@@ -1402,6 +1425,7 @@ export class RunInstancesRequest extends $dara.Model {
1402
1425
  * 123e4567-e89b-12d3-a456-426655440000
1403
1426
  */
1404
1427
  clientToken?: string;
1428
+ clockOptions?: RunInstancesRequestClockOptions;
1405
1429
  /**
1406
1430
  * @remarks
1407
1431
  * The performance mode of the burstable instance. Valid values:
@@ -2096,6 +2120,7 @@ export class RunInstancesRequest extends $dara.Model {
2096
2120
  autoRenew: 'AutoRenew',
2097
2121
  autoRenewPeriod: 'AutoRenewPeriod',
2098
2122
  clientToken: 'ClientToken',
2123
+ clockOptions: 'ClockOptions',
2099
2124
  creditSpecification: 'CreditSpecification',
2100
2125
  dataDisk: 'DataDisk',
2101
2126
  dedicatedHostId: 'DedicatedHostId',
@@ -2178,6 +2203,7 @@ export class RunInstancesRequest extends $dara.Model {
2178
2203
  autoRenew: 'boolean',
2179
2204
  autoRenewPeriod: 'number',
2180
2205
  clientToken: 'string',
2206
+ clockOptions: RunInstancesRequestClockOptions,
2181
2207
  creditSpecification: 'string',
2182
2208
  dataDisk: { 'type': 'array', 'itemType': RunInstancesRequestDataDisk },
2183
2209
  dedicatedHostId: 'string',
@@ -2266,6 +2292,9 @@ export class RunInstancesRequest extends $dara.Model {
2266
2292
  if(Array.isArray(this.arn)) {
2267
2293
  $dara.Model.validateArray(this.arn);
2268
2294
  }
2295
+ if(this.clockOptions && typeof (this.clockOptions as any).validate === 'function') {
2296
+ (this.clockOptions as any).validate();
2297
+ }
2269
2298
  if(Array.isArray(this.dataDisk)) {
2270
2299
  $dara.Model.validateArray(this.dataDisk);
2271
2300
  }
@@ -847,6 +847,7 @@ export { RunInstancesRequestSchedulerOptions } from './RunInstancesRequest';
847
847
  export { RunInstancesRequestSecurityOptions } from './RunInstancesRequest';
848
848
  export { RunInstancesRequestSystemDisk } from './RunInstancesRequest';
849
849
  export { RunInstancesRequestArn } from './RunInstancesRequest';
850
+ export { RunInstancesRequestClockOptions } from './RunInstancesRequest';
850
851
  export { RunInstancesRequestDataDisk } from './RunInstancesRequest';
851
852
  export { RunInstancesRequestImageOptions } from './RunInstancesRequest';
852
853
  export { RunInstancesRequestNetworkInterface } from './RunInstancesRequest';