@alicloud/dataworks-public20200518 4.3.13 → 4.3.15

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.
package/src/client.ts CHANGED
@@ -4,7 +4,6 @@
4
4
  */
5
5
  import Util, * as $Util from '@alicloud/tea-util';
6
6
  import OSS, * as $OSS from '@alicloud/oss-client';
7
- import RPC, * as $RPC from '@alicloud/rpc-client';
8
7
  import OpenPlatform, * as $OpenPlatform from '@alicloud/openplatform20191219';
9
8
  import OSSUtil, * as $OSSUtil from '@alicloud/oss-util';
10
9
  import FileForm, * as $FileForm from '@alicloud/tea-fileform';
@@ -563,6 +562,111 @@ export class CheckMetaTableResponse extends $tea.Model {
563
562
  }
564
563
  }
565
564
 
565
+ export class CreateBaselineRequest extends $tea.Model {
566
+ alertMarginThreshold?: number;
567
+ baselineName?: string;
568
+ baselineType?: string;
569
+ overtimeSettings?: CreateBaselineRequestOvertimeSettings[];
570
+ owner?: string;
571
+ priority?: number;
572
+ projectId?: number;
573
+ taskIds?: string;
574
+ static names(): { [key: string]: string } {
575
+ return {
576
+ alertMarginThreshold: 'AlertMarginThreshold',
577
+ baselineName: 'BaselineName',
578
+ baselineType: 'BaselineType',
579
+ overtimeSettings: 'OvertimeSettings',
580
+ owner: 'Owner',
581
+ priority: 'Priority',
582
+ projectId: 'ProjectId',
583
+ taskIds: 'TaskIds',
584
+ };
585
+ }
586
+
587
+ static types(): { [key: string]: any } {
588
+ return {
589
+ alertMarginThreshold: 'number',
590
+ baselineName: 'string',
591
+ baselineType: 'string',
592
+ overtimeSettings: { 'type': 'array', 'itemType': CreateBaselineRequestOvertimeSettings },
593
+ owner: 'string',
594
+ priority: 'number',
595
+ projectId: 'number',
596
+ taskIds: 'string',
597
+ };
598
+ }
599
+
600
+ constructor(map?: { [key: string]: any }) {
601
+ super(map);
602
+ }
603
+ }
604
+
605
+ export class CreateBaselineResponseBody extends $tea.Model {
606
+ data?: number;
607
+ dynamicErrorCode?: string;
608
+ dynamicErrorMessage?: string;
609
+ errorCode?: string;
610
+ errorMessage?: string;
611
+ httpStatusCode?: number;
612
+ requestId?: string;
613
+ success?: boolean;
614
+ static names(): { [key: string]: string } {
615
+ return {
616
+ data: 'Data',
617
+ dynamicErrorCode: 'DynamicErrorCode',
618
+ dynamicErrorMessage: 'DynamicErrorMessage',
619
+ errorCode: 'ErrorCode',
620
+ errorMessage: 'ErrorMessage',
621
+ httpStatusCode: 'HttpStatusCode',
622
+ requestId: 'RequestId',
623
+ success: 'Success',
624
+ };
625
+ }
626
+
627
+ static types(): { [key: string]: any } {
628
+ return {
629
+ data: 'number',
630
+ dynamicErrorCode: 'string',
631
+ dynamicErrorMessage: 'string',
632
+ errorCode: 'string',
633
+ errorMessage: 'string',
634
+ httpStatusCode: 'number',
635
+ requestId: 'string',
636
+ success: 'boolean',
637
+ };
638
+ }
639
+
640
+ constructor(map?: { [key: string]: any }) {
641
+ super(map);
642
+ }
643
+ }
644
+
645
+ export class CreateBaselineResponse extends $tea.Model {
646
+ headers: { [key: string]: string };
647
+ statusCode: number;
648
+ body: CreateBaselineResponseBody;
649
+ static names(): { [key: string]: string } {
650
+ return {
651
+ headers: 'headers',
652
+ statusCode: 'statusCode',
653
+ body: 'body',
654
+ };
655
+ }
656
+
657
+ static types(): { [key: string]: any } {
658
+ return {
659
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
660
+ statusCode: 'number',
661
+ body: CreateBaselineResponseBody,
662
+ };
663
+ }
664
+
665
+ constructor(map?: { [key: string]: any }) {
666
+ super(map);
667
+ }
668
+ }
669
+
566
670
  export class CreateBusinessRequest extends $tea.Model {
567
671
  businessName?: string;
568
672
  description?: string;
@@ -1849,22 +1953,22 @@ export class CreateImportMigrationRequest extends $tea.Model {
1849
1953
  }
1850
1954
 
1851
1955
  export class CreateImportMigrationAdvanceRequest extends $tea.Model {
1852
- packageFileObject: Readable;
1853
1956
  calculateEngineMap?: string;
1854
1957
  commitRule?: string;
1855
1958
  description?: string;
1856
1959
  name?: string;
1960
+ packageFileObject?: Readable;
1857
1961
  packageType?: string;
1858
1962
  projectId?: number;
1859
1963
  resourceGroupMap?: string;
1860
1964
  workspaceMap?: string;
1861
1965
  static names(): { [key: string]: string } {
1862
1966
  return {
1863
- packageFileObject: 'PackageFileObject',
1864
1967
  calculateEngineMap: 'CalculateEngineMap',
1865
1968
  commitRule: 'CommitRule',
1866
1969
  description: 'Description',
1867
1970
  name: 'Name',
1971
+ packageFileObject: 'PackageFile',
1868
1972
  packageType: 'PackageType',
1869
1973
  projectId: 'ProjectId',
1870
1974
  resourceGroupMap: 'ResourceGroupMap',
@@ -1874,11 +1978,11 @@ export class CreateImportMigrationAdvanceRequest extends $tea.Model {
1874
1978
 
1875
1979
  static types(): { [key: string]: any } {
1876
1980
  return {
1877
- packageFileObject: 'Readable',
1878
1981
  calculateEngineMap: 'string',
1879
1982
  commitRule: 'string',
1880
1983
  description: 'string',
1881
1984
  name: 'string',
1985
+ packageFileObject: 'Readable',
1882
1986
  packageType: 'string',
1883
1987
  projectId: 'number',
1884
1988
  resourceGroupMap: 'string',
@@ -2701,6 +2805,7 @@ export class CreateRemindRequest extends $tea.Model {
2701
2805
  remindType?: string;
2702
2806
  remindUnit?: string;
2703
2807
  robotUrls?: string;
2808
+ webhooks?: string;
2704
2809
  static names(): { [key: string]: string } {
2705
2810
  return {
2706
2811
  alertInterval: 'AlertInterval',
@@ -2718,6 +2823,7 @@ export class CreateRemindRequest extends $tea.Model {
2718
2823
  remindType: 'RemindType',
2719
2824
  remindUnit: 'RemindUnit',
2720
2825
  robotUrls: 'RobotUrls',
2826
+ webhooks: 'Webhooks',
2721
2827
  };
2722
2828
  }
2723
2829
 
@@ -2738,6 +2844,7 @@ export class CreateRemindRequest extends $tea.Model {
2738
2844
  remindType: 'string',
2739
2845
  remindUnit: 'string',
2740
2846
  robotUrls: 'string',
2847
+ webhooks: 'string',
2741
2848
  };
2742
2849
  }
2743
2850
 
@@ -3213,6 +3320,93 @@ export class CreateUdfFileResponse extends $tea.Model {
3213
3320
  }
3214
3321
  }
3215
3322
 
3323
+ export class DeleteBaselineRequest extends $tea.Model {
3324
+ baselineId?: number;
3325
+ projectId?: number;
3326
+ static names(): { [key: string]: string } {
3327
+ return {
3328
+ baselineId: 'BaselineId',
3329
+ projectId: 'ProjectId',
3330
+ };
3331
+ }
3332
+
3333
+ static types(): { [key: string]: any } {
3334
+ return {
3335
+ baselineId: 'number',
3336
+ projectId: 'number',
3337
+ };
3338
+ }
3339
+
3340
+ constructor(map?: { [key: string]: any }) {
3341
+ super(map);
3342
+ }
3343
+ }
3344
+
3345
+ export class DeleteBaselineResponseBody extends $tea.Model {
3346
+ data?: boolean;
3347
+ dynamicErrorCode?: string;
3348
+ dynamicErrorMessage?: string;
3349
+ errorCode?: string;
3350
+ errorMessage?: string;
3351
+ httpStatusCode?: number;
3352
+ requestId?: string;
3353
+ success?: boolean;
3354
+ static names(): { [key: string]: string } {
3355
+ return {
3356
+ data: 'Data',
3357
+ dynamicErrorCode: 'DynamicErrorCode',
3358
+ dynamicErrorMessage: 'DynamicErrorMessage',
3359
+ errorCode: 'ErrorCode',
3360
+ errorMessage: 'ErrorMessage',
3361
+ httpStatusCode: 'HttpStatusCode',
3362
+ requestId: 'RequestId',
3363
+ success: 'Success',
3364
+ };
3365
+ }
3366
+
3367
+ static types(): { [key: string]: any } {
3368
+ return {
3369
+ data: 'boolean',
3370
+ dynamicErrorCode: 'string',
3371
+ dynamicErrorMessage: 'string',
3372
+ errorCode: 'string',
3373
+ errorMessage: 'string',
3374
+ httpStatusCode: 'number',
3375
+ requestId: 'string',
3376
+ success: 'boolean',
3377
+ };
3378
+ }
3379
+
3380
+ constructor(map?: { [key: string]: any }) {
3381
+ super(map);
3382
+ }
3383
+ }
3384
+
3385
+ export class DeleteBaselineResponse extends $tea.Model {
3386
+ headers: { [key: string]: string };
3387
+ statusCode: number;
3388
+ body: DeleteBaselineResponseBody;
3389
+ static names(): { [key: string]: string } {
3390
+ return {
3391
+ headers: 'headers',
3392
+ statusCode: 'statusCode',
3393
+ body: 'body',
3394
+ };
3395
+ }
3396
+
3397
+ static types(): { [key: string]: any } {
3398
+ return {
3399
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
3400
+ statusCode: 'number',
3401
+ body: DeleteBaselineResponseBody,
3402
+ };
3403
+ }
3404
+
3405
+ constructor(map?: { [key: string]: any }) {
3406
+ super(map);
3407
+ }
3408
+ }
3409
+
3216
3410
  export class DeleteBusinessRequest extends $tea.Model {
3217
3411
  businessId?: number;
3218
3412
  projectId?: number;
@@ -5283,6 +5477,93 @@ export class GenerateDISyncTaskConfigForUpdatingResponse extends $tea.Model {
5283
5477
  }
5284
5478
  }
5285
5479
 
5480
+ export class GetBaselineRequest extends $tea.Model {
5481
+ baselineId?: number;
5482
+ projectId?: number;
5483
+ static names(): { [key: string]: string } {
5484
+ return {
5485
+ baselineId: 'BaselineId',
5486
+ projectId: 'ProjectId',
5487
+ };
5488
+ }
5489
+
5490
+ static types(): { [key: string]: any } {
5491
+ return {
5492
+ baselineId: 'number',
5493
+ projectId: 'number',
5494
+ };
5495
+ }
5496
+
5497
+ constructor(map?: { [key: string]: any }) {
5498
+ super(map);
5499
+ }
5500
+ }
5501
+
5502
+ export class GetBaselineResponseBody extends $tea.Model {
5503
+ data?: GetBaselineResponseBodyData;
5504
+ dynamicErrorCode?: string;
5505
+ dynamicErrorMessage?: string;
5506
+ errorCode?: string;
5507
+ errorMessage?: string;
5508
+ httpStatusCode?: number;
5509
+ requestId?: string;
5510
+ success?: boolean;
5511
+ static names(): { [key: string]: string } {
5512
+ return {
5513
+ data: 'Data',
5514
+ dynamicErrorCode: 'DynamicErrorCode',
5515
+ dynamicErrorMessage: 'DynamicErrorMessage',
5516
+ errorCode: 'ErrorCode',
5517
+ errorMessage: 'ErrorMessage',
5518
+ httpStatusCode: 'HttpStatusCode',
5519
+ requestId: 'RequestId',
5520
+ success: 'Success',
5521
+ };
5522
+ }
5523
+
5524
+ static types(): { [key: string]: any } {
5525
+ return {
5526
+ data: GetBaselineResponseBodyData,
5527
+ dynamicErrorCode: 'string',
5528
+ dynamicErrorMessage: 'string',
5529
+ errorCode: 'string',
5530
+ errorMessage: 'string',
5531
+ httpStatusCode: 'number',
5532
+ requestId: 'string',
5533
+ success: 'boolean',
5534
+ };
5535
+ }
5536
+
5537
+ constructor(map?: { [key: string]: any }) {
5538
+ super(map);
5539
+ }
5540
+ }
5541
+
5542
+ export class GetBaselineResponse extends $tea.Model {
5543
+ headers: { [key: string]: string };
5544
+ statusCode: number;
5545
+ body: GetBaselineResponseBody;
5546
+ static names(): { [key: string]: string } {
5547
+ return {
5548
+ headers: 'headers',
5549
+ statusCode: 'statusCode',
5550
+ body: 'body',
5551
+ };
5552
+ }
5553
+
5554
+ static types(): { [key: string]: any } {
5555
+ return {
5556
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
5557
+ statusCode: 'number',
5558
+ body: GetBaselineResponseBody,
5559
+ };
5560
+ }
5561
+
5562
+ constructor(map?: { [key: string]: any }) {
5563
+ super(map);
5564
+ }
5565
+ }
5566
+
5286
5567
  export class GetBaselineConfigRequest extends $tea.Model {
5287
5568
  baselineId?: number;
5288
5569
  static names(): { [key: string]: string } {
@@ -5829,84 +6110,6 @@ export class GetDISyncTaskResponse extends $tea.Model {
5829
6110
  }
5830
6111
  }
5831
6112
 
5832
- export class GetDISyncTaskMetricInfoRequest extends $tea.Model {
5833
- endDate?: number;
5834
- fileId?: number;
5835
- projectId?: number;
5836
- startDate?: number;
5837
- static names(): { [key: string]: string } {
5838
- return {
5839
- endDate: 'EndDate',
5840
- fileId: 'FileId',
5841
- projectId: 'ProjectId',
5842
- startDate: 'StartDate',
5843
- };
5844
- }
5845
-
5846
- static types(): { [key: string]: any } {
5847
- return {
5848
- endDate: 'number',
5849
- fileId: 'number',
5850
- projectId: 'number',
5851
- startDate: 'number',
5852
- };
5853
- }
5854
-
5855
- constructor(map?: { [key: string]: any }) {
5856
- super(map);
5857
- }
5858
- }
5859
-
5860
- export class GetDISyncTaskMetricInfoResponseBody extends $tea.Model {
5861
- metricInfo?: GetDISyncTaskMetricInfoResponseBodyMetricInfo;
5862
- requestId?: string;
5863
- success?: boolean;
5864
- static names(): { [key: string]: string } {
5865
- return {
5866
- metricInfo: 'MetricInfo',
5867
- requestId: 'RequestId',
5868
- success: 'Success',
5869
- };
5870
- }
5871
-
5872
- static types(): { [key: string]: any } {
5873
- return {
5874
- metricInfo: GetDISyncTaskMetricInfoResponseBodyMetricInfo,
5875
- requestId: 'string',
5876
- success: 'boolean',
5877
- };
5878
- }
5879
-
5880
- constructor(map?: { [key: string]: any }) {
5881
- super(map);
5882
- }
5883
- }
5884
-
5885
- export class GetDISyncTaskMetricInfoResponse extends $tea.Model {
5886
- headers: { [key: string]: string };
5887
- statusCode: number;
5888
- body: GetDISyncTaskMetricInfoResponseBody;
5889
- static names(): { [key: string]: string } {
5890
- return {
5891
- headers: 'headers',
5892
- statusCode: 'statusCode',
5893
- body: 'body',
5894
- };
5895
- }
5896
-
5897
- static types(): { [key: string]: any } {
5898
- return {
5899
- headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
5900
- statusCode: 'number',
5901
- body: GetDISyncTaskMetricInfoResponseBody,
5902
- };
5903
- }
5904
-
5905
- constructor(map?: { [key: string]: any }) {
5906
- super(map);
5907
- }
5908
- }
5909
-
5910
6113
  export class GetDagRequest extends $tea.Model {
5911
6114
  dagId?: number;
5912
6115
  projectEnv?: string;
@@ -10739,6 +10942,7 @@ export class ListAlertMessagesRequest extends $tea.Model {
10739
10942
  alertMethods?: string;
10740
10943
  alertRuleTypes?: string;
10741
10944
  alertUser?: string;
10945
+ baselineId?: number;
10742
10946
  beginTime?: string;
10743
10947
  endTime?: string;
10744
10948
  pageNumber?: number;
@@ -10749,6 +10953,7 @@ export class ListAlertMessagesRequest extends $tea.Model {
10749
10953
  alertMethods: 'AlertMethods',
10750
10954
  alertRuleTypes: 'AlertRuleTypes',
10751
10955
  alertUser: 'AlertUser',
10956
+ baselineId: 'BaselineId',
10752
10957
  beginTime: 'BeginTime',
10753
10958
  endTime: 'EndTime',
10754
10959
  pageNumber: 'PageNumber',
@@ -10762,6 +10967,7 @@ export class ListAlertMessagesRequest extends $tea.Model {
10762
10967
  alertMethods: 'string',
10763
10968
  alertRuleTypes: 'string',
10764
10969
  alertUser: 'string',
10970
+ baselineId: 'number',
10765
10971
  beginTime: 'string',
10766
10972
  endTime: 'string',
10767
10973
  pageNumber: 'number',
@@ -11038,29 +11244,41 @@ export class ListBaselineStatusesResponse extends $tea.Model {
11038
11244
  }
11039
11245
  }
11040
11246
 
11041
- export class ListBusinessRequest extends $tea.Model {
11042
- keyword?: string;
11247
+ export class ListBaselinesRequest extends $tea.Model {
11248
+ baselineTypes?: string;
11249
+ enable?: boolean;
11250
+ owner?: string;
11043
11251
  pageNumber?: number;
11044
11252
  pageSize?: number;
11253
+ priority?: string;
11254
+ projectEnv?: string;
11045
11255
  projectId?: number;
11046
- projectIdentifier?: string;
11256
+ searchText?: string;
11047
11257
  static names(): { [key: string]: string } {
11048
11258
  return {
11049
- keyword: 'Keyword',
11259
+ baselineTypes: 'BaselineTypes',
11260
+ enable: 'Enable',
11261
+ owner: 'Owner',
11050
11262
  pageNumber: 'PageNumber',
11051
11263
  pageSize: 'PageSize',
11264
+ priority: 'Priority',
11265
+ projectEnv: 'ProjectEnv',
11052
11266
  projectId: 'ProjectId',
11053
- projectIdentifier: 'ProjectIdentifier',
11267
+ searchText: 'SearchText',
11054
11268
  };
11055
11269
  }
11056
11270
 
11057
11271
  static types(): { [key: string]: any } {
11058
11272
  return {
11059
- keyword: 'string',
11273
+ baselineTypes: 'string',
11274
+ enable: 'boolean',
11275
+ owner: 'string',
11060
11276
  pageNumber: 'number',
11061
11277
  pageSize: 'number',
11278
+ priority: 'string',
11279
+ projectEnv: 'string',
11062
11280
  projectId: 'number',
11063
- projectIdentifier: 'string',
11281
+ searchText: 'string',
11064
11282
  };
11065
11283
  }
11066
11284
 
@@ -11069,8 +11287,10 @@ export class ListBusinessRequest extends $tea.Model {
11069
11287
  }
11070
11288
  }
11071
11289
 
11072
- export class ListBusinessResponseBody extends $tea.Model {
11073
- data?: ListBusinessResponseBodyData;
11290
+ export class ListBaselinesResponseBody extends $tea.Model {
11291
+ data?: ListBaselinesResponseBodyData;
11292
+ dynamicErrorCode?: string;
11293
+ dynamicErrorMessage?: string;
11074
11294
  errorCode?: string;
11075
11295
  errorMessage?: string;
11076
11296
  httpStatusCode?: number;
@@ -11079,6 +11299,8 @@ export class ListBusinessResponseBody extends $tea.Model {
11079
11299
  static names(): { [key: string]: string } {
11080
11300
  return {
11081
11301
  data: 'Data',
11302
+ dynamicErrorCode: 'DynamicErrorCode',
11303
+ dynamicErrorMessage: 'DynamicErrorMessage',
11082
11304
  errorCode: 'ErrorCode',
11083
11305
  errorMessage: 'ErrorMessage',
11084
11306
  httpStatusCode: 'HttpStatusCode',
@@ -11089,7 +11311,9 @@ export class ListBusinessResponseBody extends $tea.Model {
11089
11311
 
11090
11312
  static types(): { [key: string]: any } {
11091
11313
  return {
11092
- data: ListBusinessResponseBodyData,
11314
+ data: ListBaselinesResponseBodyData,
11315
+ dynamicErrorCode: 'string',
11316
+ dynamicErrorMessage: 'string',
11093
11317
  errorCode: 'string',
11094
11318
  errorMessage: 'string',
11095
11319
  httpStatusCode: 'number',
@@ -11103,10 +11327,10 @@ export class ListBusinessResponseBody extends $tea.Model {
11103
11327
  }
11104
11328
  }
11105
11329
 
11106
- export class ListBusinessResponse extends $tea.Model {
11330
+ export class ListBaselinesResponse extends $tea.Model {
11107
11331
  headers: { [key: string]: string };
11108
11332
  statusCode: number;
11109
- body: ListBusinessResponseBody;
11333
+ body: ListBaselinesResponseBody;
11110
11334
  static names(): { [key: string]: string } {
11111
11335
  return {
11112
11336
  headers: 'headers',
@@ -11119,7 +11343,7 @@ export class ListBusinessResponse extends $tea.Model {
11119
11343
  return {
11120
11344
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
11121
11345
  statusCode: 'number',
11122
- body: ListBusinessResponseBody,
11346
+ body: ListBaselinesResponseBody,
11123
11347
  };
11124
11348
  }
11125
11349
 
@@ -11128,32 +11352,29 @@ export class ListBusinessResponse extends $tea.Model {
11128
11352
  }
11129
11353
  }
11130
11354
 
11131
- export class ListCalcEnginesRequest extends $tea.Model {
11132
- calcEngineType?: string;
11133
- envType?: string;
11134
- name?: string;
11355
+ export class ListBusinessRequest extends $tea.Model {
11356
+ keyword?: string;
11135
11357
  pageNumber?: number;
11136
11358
  pageSize?: number;
11137
11359
  projectId?: number;
11360
+ projectIdentifier?: string;
11138
11361
  static names(): { [key: string]: string } {
11139
11362
  return {
11140
- calcEngineType: 'CalcEngineType',
11141
- envType: 'EnvType',
11142
- name: 'Name',
11363
+ keyword: 'Keyword',
11143
11364
  pageNumber: 'PageNumber',
11144
11365
  pageSize: 'PageSize',
11145
11366
  projectId: 'ProjectId',
11367
+ projectIdentifier: 'ProjectIdentifier',
11146
11368
  };
11147
11369
  }
11148
11370
 
11149
11371
  static types(): { [key: string]: any } {
11150
11372
  return {
11151
- calcEngineType: 'string',
11152
- envType: 'string',
11153
- name: 'string',
11373
+ keyword: 'string',
11154
11374
  pageNumber: 'number',
11155
11375
  pageSize: 'number',
11156
11376
  projectId: 'number',
11377
+ projectIdentifier: 'string',
11157
11378
  };
11158
11379
  }
11159
11380
 
@@ -11162,14 +11383,18 @@ export class ListCalcEnginesRequest extends $tea.Model {
11162
11383
  }
11163
11384
  }
11164
11385
 
11165
- export class ListCalcEnginesResponseBody extends $tea.Model {
11166
- data?: ListCalcEnginesResponseBodyData;
11386
+ export class ListBusinessResponseBody extends $tea.Model {
11387
+ data?: ListBusinessResponseBodyData;
11388
+ errorCode?: string;
11389
+ errorMessage?: string;
11167
11390
  httpStatusCode?: number;
11168
11391
  requestId?: string;
11169
11392
  success?: boolean;
11170
11393
  static names(): { [key: string]: string } {
11171
11394
  return {
11172
11395
  data: 'Data',
11396
+ errorCode: 'ErrorCode',
11397
+ errorMessage: 'ErrorMessage',
11173
11398
  httpStatusCode: 'HttpStatusCode',
11174
11399
  requestId: 'RequestId',
11175
11400
  success: 'Success',
@@ -11178,7 +11403,9 @@ export class ListCalcEnginesResponseBody extends $tea.Model {
11178
11403
 
11179
11404
  static types(): { [key: string]: any } {
11180
11405
  return {
11181
- data: ListCalcEnginesResponseBodyData,
11406
+ data: ListBusinessResponseBodyData,
11407
+ errorCode: 'string',
11408
+ errorMessage: 'string',
11182
11409
  httpStatusCode: 'number',
11183
11410
  requestId: 'string',
11184
11411
  success: 'boolean',
@@ -11190,10 +11417,10 @@ export class ListCalcEnginesResponseBody extends $tea.Model {
11190
11417
  }
11191
11418
  }
11192
11419
 
11193
- export class ListCalcEnginesResponse extends $tea.Model {
11420
+ export class ListBusinessResponse extends $tea.Model {
11194
11421
  headers: { [key: string]: string };
11195
11422
  statusCode: number;
11196
- body: ListCalcEnginesResponseBody;
11423
+ body: ListBusinessResponseBody;
11197
11424
  static names(): { [key: string]: string } {
11198
11425
  return {
11199
11426
  headers: 'headers',
@@ -11206,7 +11433,7 @@ export class ListCalcEnginesResponse extends $tea.Model {
11206
11433
  return {
11207
11434
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
11208
11435
  statusCode: 'number',
11209
- body: ListCalcEnginesResponseBody,
11436
+ body: ListBusinessResponseBody,
11210
11437
  };
11211
11438
  }
11212
11439
 
@@ -11215,38 +11442,32 @@ export class ListCalcEnginesResponse extends $tea.Model {
11215
11442
  }
11216
11443
  }
11217
11444
 
11218
- export class ListConnectionsRequest extends $tea.Model {
11219
- connectionType?: string;
11220
- envType?: number;
11445
+ export class ListCalcEnginesRequest extends $tea.Model {
11446
+ calcEngineType?: string;
11447
+ envType?: string;
11221
11448
  name?: string;
11222
11449
  pageNumber?: number;
11223
11450
  pageSize?: number;
11224
11451
  projectId?: number;
11225
- status?: string;
11226
- subType?: string;
11227
11452
  static names(): { [key: string]: string } {
11228
11453
  return {
11229
- connectionType: 'ConnectionType',
11454
+ calcEngineType: 'CalcEngineType',
11230
11455
  envType: 'EnvType',
11231
11456
  name: 'Name',
11232
11457
  pageNumber: 'PageNumber',
11233
11458
  pageSize: 'PageSize',
11234
11459
  projectId: 'ProjectId',
11235
- status: 'Status',
11236
- subType: 'SubType',
11237
11460
  };
11238
11461
  }
11239
11462
 
11240
11463
  static types(): { [key: string]: any } {
11241
11464
  return {
11242
- connectionType: 'string',
11243
- envType: 'number',
11465
+ calcEngineType: 'string',
11466
+ envType: 'string',
11244
11467
  name: 'string',
11245
11468
  pageNumber: 'number',
11246
11469
  pageSize: 'number',
11247
11470
  projectId: 'number',
11248
- status: 'string',
11249
- subType: 'string',
11250
11471
  };
11251
11472
  }
11252
11473
 
@@ -11255,8 +11476,8 @@ export class ListConnectionsRequest extends $tea.Model {
11255
11476
  }
11256
11477
  }
11257
11478
 
11258
- export class ListConnectionsResponseBody extends $tea.Model {
11259
- data?: ListConnectionsResponseBodyData;
11479
+ export class ListCalcEnginesResponseBody extends $tea.Model {
11480
+ data?: ListCalcEnginesResponseBodyData;
11260
11481
  httpStatusCode?: number;
11261
11482
  requestId?: string;
11262
11483
  success?: boolean;
@@ -11271,7 +11492,7 @@ export class ListConnectionsResponseBody extends $tea.Model {
11271
11492
 
11272
11493
  static types(): { [key: string]: any } {
11273
11494
  return {
11274
- data: ListConnectionsResponseBodyData,
11495
+ data: ListCalcEnginesResponseBodyData,
11275
11496
  httpStatusCode: 'number',
11276
11497
  requestId: 'string',
11277
11498
  success: 'boolean',
@@ -11283,10 +11504,10 @@ export class ListConnectionsResponseBody extends $tea.Model {
11283
11504
  }
11284
11505
  }
11285
11506
 
11286
- export class ListConnectionsResponse extends $tea.Model {
11507
+ export class ListCalcEnginesResponse extends $tea.Model {
11287
11508
  headers: { [key: string]: string };
11288
11509
  statusCode: number;
11289
- body: ListConnectionsResponseBody;
11510
+ body: ListCalcEnginesResponseBody;
11290
11511
  static names(): { [key: string]: string } {
11291
11512
  return {
11292
11513
  headers: 'headers',
@@ -11299,7 +11520,7 @@ export class ListConnectionsResponse extends $tea.Model {
11299
11520
  return {
11300
11521
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
11301
11522
  statusCode: 'number',
11302
- body: ListConnectionsResponseBody,
11523
+ body: ListCalcEnginesResponseBody,
11303
11524
  };
11304
11525
  }
11305
11526
 
@@ -11308,110 +11529,38 @@ export class ListConnectionsResponse extends $tea.Model {
11308
11529
  }
11309
11530
  }
11310
11531
 
11311
- export class ListCurrentTasksForResourceGroupRequest extends $tea.Model {
11532
+ export class ListConnectionsRequest extends $tea.Model {
11533
+ connectionType?: string;
11534
+ envType?: number;
11535
+ name?: string;
11312
11536
  pageNumber?: number;
11313
11537
  pageSize?: number;
11314
- projectEnv?: string;
11315
- resourceGroupIdentifier?: string;
11316
- status?: number;
11538
+ projectId?: number;
11539
+ status?: string;
11540
+ subType?: string;
11317
11541
  static names(): { [key: string]: string } {
11318
11542
  return {
11543
+ connectionType: 'ConnectionType',
11544
+ envType: 'EnvType',
11545
+ name: 'Name',
11319
11546
  pageNumber: 'PageNumber',
11320
11547
  pageSize: 'PageSize',
11321
- projectEnv: 'ProjectEnv',
11322
- resourceGroupIdentifier: 'ResourceGroupIdentifier',
11548
+ projectId: 'ProjectId',
11323
11549
  status: 'Status',
11550
+ subType: 'SubType',
11324
11551
  };
11325
11552
  }
11326
11553
 
11327
11554
  static types(): { [key: string]: any } {
11328
11555
  return {
11556
+ connectionType: 'string',
11557
+ envType: 'number',
11558
+ name: 'string',
11329
11559
  pageNumber: 'number',
11330
11560
  pageSize: 'number',
11331
- projectEnv: 'string',
11332
- resourceGroupIdentifier: 'string',
11333
- status: 'number',
11334
- };
11335
- }
11336
-
11337
- constructor(map?: { [key: string]: any }) {
11338
- super(map);
11339
- }
11340
- }
11341
-
11342
- export class ListCurrentTasksForResourceGroupResponseBody extends $tea.Model {
11343
- data?: ListCurrentTasksForResourceGroupResponseBodyData;
11344
- errorCode?: string;
11345
- errorMessage?: string;
11346
- httpStatusCode?: number;
11347
- requestId?: string;
11348
- success?: boolean;
11349
- static names(): { [key: string]: string } {
11350
- return {
11351
- data: 'Data',
11352
- errorCode: 'ErrorCode',
11353
- errorMessage: 'ErrorMessage',
11354
- httpStatusCode: 'HttpStatusCode',
11355
- requestId: 'RequestId',
11356
- success: 'Success',
11357
- };
11358
- }
11359
-
11360
- static types(): { [key: string]: any } {
11361
- return {
11362
- data: ListCurrentTasksForResourceGroupResponseBodyData,
11363
- errorCode: 'string',
11364
- errorMessage: 'string',
11365
- httpStatusCode: 'number',
11366
- requestId: 'string',
11367
- success: 'boolean',
11368
- };
11369
- }
11370
-
11371
- constructor(map?: { [key: string]: any }) {
11372
- super(map);
11373
- }
11374
- }
11375
-
11376
- export class ListCurrentTasksForResourceGroupResponse extends $tea.Model {
11377
- headers: { [key: string]: string };
11378
- statusCode: number;
11379
- body: ListCurrentTasksForResourceGroupResponseBody;
11380
- static names(): { [key: string]: string } {
11381
- return {
11382
- headers: 'headers',
11383
- statusCode: 'statusCode',
11384
- body: 'body',
11385
- };
11386
- }
11387
-
11388
- static types(): { [key: string]: any } {
11389
- return {
11390
- headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
11391
- statusCode: 'number',
11392
- body: ListCurrentTasksForResourceGroupResponseBody,
11393
- };
11394
- }
11395
-
11396
- constructor(map?: { [key: string]: any }) {
11397
- super(map);
11398
- }
11399
- }
11400
-
11401
- export class ListCurrentUsageForResourceGroupRequest extends $tea.Model {
11402
- projectEnv?: string;
11403
- resourceGroupIdentifier?: string;
11404
- static names(): { [key: string]: string } {
11405
- return {
11406
- projectEnv: 'ProjectEnv',
11407
- resourceGroupIdentifier: 'ResourceGroupIdentifier',
11408
- };
11409
- }
11410
-
11411
- static types(): { [key: string]: any } {
11412
- return {
11413
- projectEnv: 'string',
11414
- resourceGroupIdentifier: 'string',
11561
+ projectId: 'number',
11562
+ status: 'string',
11563
+ subType: 'string',
11415
11564
  };
11416
11565
  }
11417
11566
 
@@ -11420,16 +11569,14 @@ export class ListCurrentUsageForResourceGroupRequest extends $tea.Model {
11420
11569
  }
11421
11570
  }
11422
11571
 
11423
- export class ListCurrentUsageForResourceGroupResponseBody extends $tea.Model {
11424
- data?: ListCurrentUsageForResourceGroupResponseBodyData;
11425
- errorMessage?: string;
11572
+ export class ListConnectionsResponseBody extends $tea.Model {
11573
+ data?: ListConnectionsResponseBodyData;
11426
11574
  httpStatusCode?: number;
11427
11575
  requestId?: string;
11428
11576
  success?: boolean;
11429
11577
  static names(): { [key: string]: string } {
11430
11578
  return {
11431
11579
  data: 'Data',
11432
- errorMessage: 'ErrorMessage',
11433
11580
  httpStatusCode: 'HttpStatusCode',
11434
11581
  requestId: 'RequestId',
11435
11582
  success: 'Success',
@@ -11438,8 +11585,7 @@ export class ListCurrentUsageForResourceGroupResponseBody extends $tea.Model {
11438
11585
 
11439
11586
  static types(): { [key: string]: any } {
11440
11587
  return {
11441
- data: ListCurrentUsageForResourceGroupResponseBodyData,
11442
- errorMessage: 'string',
11588
+ data: ListConnectionsResponseBodyData,
11443
11589
  httpStatusCode: 'number',
11444
11590
  requestId: 'string',
11445
11591
  success: 'boolean',
@@ -11451,10 +11597,10 @@ export class ListCurrentUsageForResourceGroupResponseBody extends $tea.Model {
11451
11597
  }
11452
11598
  }
11453
11599
 
11454
- export class ListCurrentUsageForResourceGroupResponse extends $tea.Model {
11600
+ export class ListConnectionsResponse extends $tea.Model {
11455
11601
  headers: { [key: string]: string };
11456
11602
  statusCode: number;
11457
- body: ListCurrentUsageForResourceGroupResponseBody;
11603
+ body: ListConnectionsResponseBody;
11458
11604
  static names(): { [key: string]: string } {
11459
11605
  return {
11460
11606
  headers: 'headers',
@@ -11467,7 +11613,7 @@ export class ListCurrentUsageForResourceGroupResponse extends $tea.Model {
11467
11613
  return {
11468
11614
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
11469
11615
  statusCode: 'number',
11470
- body: ListCurrentUsageForResourceGroupResponseBody,
11616
+ body: ListConnectionsResponseBody,
11471
11617
  };
11472
11618
  }
11473
11619
 
@@ -12505,6 +12651,78 @@ export class ListDeploymentsResponse extends $tea.Model {
12505
12651
  }
12506
12652
  }
12507
12653
 
12654
+ export class ListEnabledExtensionsForProjectRequest extends $tea.Model {
12655
+ eventCode?: string;
12656
+ fileType?: string;
12657
+ projectId?: number;
12658
+ static names(): { [key: string]: string } {
12659
+ return {
12660
+ eventCode: 'EventCode',
12661
+ fileType: 'FileType',
12662
+ projectId: 'ProjectId',
12663
+ };
12664
+ }
12665
+
12666
+ static types(): { [key: string]: any } {
12667
+ return {
12668
+ eventCode: 'string',
12669
+ fileType: 'string',
12670
+ projectId: 'number',
12671
+ };
12672
+ }
12673
+
12674
+ constructor(map?: { [key: string]: any }) {
12675
+ super(map);
12676
+ }
12677
+ }
12678
+
12679
+ export class ListEnabledExtensionsForProjectResponseBody extends $tea.Model {
12680
+ extensions?: ListEnabledExtensionsForProjectResponseBodyExtensions[];
12681
+ requestId?: string;
12682
+ static names(): { [key: string]: string } {
12683
+ return {
12684
+ extensions: 'Extensions',
12685
+ requestId: 'RequestId',
12686
+ };
12687
+ }
12688
+
12689
+ static types(): { [key: string]: any } {
12690
+ return {
12691
+ extensions: { 'type': 'array', 'itemType': ListEnabledExtensionsForProjectResponseBodyExtensions },
12692
+ requestId: 'string',
12693
+ };
12694
+ }
12695
+
12696
+ constructor(map?: { [key: string]: any }) {
12697
+ super(map);
12698
+ }
12699
+ }
12700
+
12701
+ export class ListEnabledExtensionsForProjectResponse extends $tea.Model {
12702
+ headers: { [key: string]: string };
12703
+ statusCode: number;
12704
+ body: ListEnabledExtensionsForProjectResponseBody;
12705
+ static names(): { [key: string]: string } {
12706
+ return {
12707
+ headers: 'headers',
12708
+ statusCode: 'statusCode',
12709
+ body: 'body',
12710
+ };
12711
+ }
12712
+
12713
+ static types(): { [key: string]: any } {
12714
+ return {
12715
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
12716
+ statusCode: 'number',
12717
+ body: ListEnabledExtensionsForProjectResponseBody,
12718
+ };
12719
+ }
12720
+
12721
+ constructor(map?: { [key: string]: any }) {
12722
+ super(map);
12723
+ }
12724
+ }
12725
+
12508
12726
  export class ListExtensionsRequest extends $tea.Model {
12509
12727
  pageNumber?: number;
12510
12728
  pageSize?: number;
@@ -12940,99 +13158,6 @@ export class ListFoldersResponse extends $tea.Model {
12940
13158
  }
12941
13159
  }
12942
13160
 
12943
- export class ListHistoryTasksForResourceGroupRequest extends $tea.Model {
12944
- endTime?: number;
12945
- pageNumber?: number;
12946
- pageSize?: number;
12947
- projectEnv?: string;
12948
- resourceGroupIdentifier?: string;
12949
- startTime?: number;
12950
- static names(): { [key: string]: string } {
12951
- return {
12952
- endTime: 'EndTime',
12953
- pageNumber: 'PageNumber',
12954
- pageSize: 'PageSize',
12955
- projectEnv: 'ProjectEnv',
12956
- resourceGroupIdentifier: 'ResourceGroupIdentifier',
12957
- startTime: 'StartTime',
12958
- };
12959
- }
12960
-
12961
- static types(): { [key: string]: any } {
12962
- return {
12963
- endTime: 'number',
12964
- pageNumber: 'number',
12965
- pageSize: 'number',
12966
- projectEnv: 'string',
12967
- resourceGroupIdentifier: 'string',
12968
- startTime: 'number',
12969
- };
12970
- }
12971
-
12972
- constructor(map?: { [key: string]: any }) {
12973
- super(map);
12974
- }
12975
- }
12976
-
12977
- export class ListHistoryTasksForResourceGroupResponseBody extends $tea.Model {
12978
- data?: ListHistoryTasksForResourceGroupResponseBodyData;
12979
- errorCode?: string;
12980
- errorMessage?: string;
12981
- httpStatusCode?: number;
12982
- requestId?: string;
12983
- success?: boolean;
12984
- static names(): { [key: string]: string } {
12985
- return {
12986
- data: 'Data',
12987
- errorCode: 'ErrorCode',
12988
- errorMessage: 'ErrorMessage',
12989
- httpStatusCode: 'HttpStatusCode',
12990
- requestId: 'RequestId',
12991
- success: 'Success',
12992
- };
12993
- }
12994
-
12995
- static types(): { [key: string]: any } {
12996
- return {
12997
- data: ListHistoryTasksForResourceGroupResponseBodyData,
12998
- errorCode: 'string',
12999
- errorMessage: 'string',
13000
- httpStatusCode: 'number',
13001
- requestId: 'string',
13002
- success: 'boolean',
13003
- };
13004
- }
13005
-
13006
- constructor(map?: { [key: string]: any }) {
13007
- super(map);
13008
- }
13009
- }
13010
-
13011
- export class ListHistoryTasksForResourceGroupResponse extends $tea.Model {
13012
- headers: { [key: string]: string };
13013
- statusCode: number;
13014
- body: ListHistoryTasksForResourceGroupResponseBody;
13015
- static names(): { [key: string]: string } {
13016
- return {
13017
- headers: 'headers',
13018
- statusCode: 'statusCode',
13019
- body: 'body',
13020
- };
13021
- }
13022
-
13023
- static types(): { [key: string]: any } {
13024
- return {
13025
- headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
13026
- statusCode: 'number',
13027
- body: ListHistoryTasksForResourceGroupResponseBody,
13028
- };
13029
- }
13030
-
13031
- constructor(map?: { [key: string]: any }) {
13032
- super(map);
13033
- }
13034
- }
13035
-
13036
13161
  export class ListInnerNodesRequest extends $tea.Model {
13037
13162
  nodeName?: string;
13038
13163
  outerNodeId?: number;
@@ -13278,6 +13403,7 @@ export class ListInstancesRequest extends $tea.Model {
13278
13403
  programType?: string;
13279
13404
  projectEnv?: string;
13280
13405
  projectId?: number;
13406
+ status?: string;
13281
13407
  static names(): { [key: string]: string } {
13282
13408
  return {
13283
13409
  beginBizdate: 'BeginBizdate',
@@ -13293,6 +13419,7 @@ export class ListInstancesRequest extends $tea.Model {
13293
13419
  programType: 'ProgramType',
13294
13420
  projectEnv: 'ProjectEnv',
13295
13421
  projectId: 'ProjectId',
13422
+ status: 'Status',
13296
13423
  };
13297
13424
  }
13298
13425
 
@@ -13311,6 +13438,7 @@ export class ListInstancesRequest extends $tea.Model {
13311
13438
  programType: 'string',
13312
13439
  projectEnv: 'string',
13313
13440
  projectId: 'number',
13441
+ status: 'string',
13314
13442
  };
13315
13443
  }
13316
13444
 
@@ -14407,10 +14535,42 @@ export class ListProjectRolesResponse extends $tea.Model {
14407
14535
  export class ListProjectsRequest extends $tea.Model {
14408
14536
  pageNumber?: number;
14409
14537
  pageSize?: number;
14538
+ resourceManagerResourceGroupId?: string;
14539
+ tags?: ListProjectsRequestTags[];
14540
+ static names(): { [key: string]: string } {
14541
+ return {
14542
+ pageNumber: 'PageNumber',
14543
+ pageSize: 'PageSize',
14544
+ resourceManagerResourceGroupId: 'ResourceManagerResourceGroupId',
14545
+ tags: 'Tags',
14546
+ };
14547
+ }
14548
+
14549
+ static types(): { [key: string]: any } {
14550
+ return {
14551
+ pageNumber: 'number',
14552
+ pageSize: 'number',
14553
+ resourceManagerResourceGroupId: 'string',
14554
+ tags: { 'type': 'array', 'itemType': ListProjectsRequestTags },
14555
+ };
14556
+ }
14557
+
14558
+ constructor(map?: { [key: string]: any }) {
14559
+ super(map);
14560
+ }
14561
+ }
14562
+
14563
+ export class ListProjectsShrinkRequest extends $tea.Model {
14564
+ pageNumber?: number;
14565
+ pageSize?: number;
14566
+ resourceManagerResourceGroupId?: string;
14567
+ tagsShrink?: string;
14410
14568
  static names(): { [key: string]: string } {
14411
14569
  return {
14412
14570
  pageNumber: 'PageNumber',
14413
14571
  pageSize: 'PageSize',
14572
+ resourceManagerResourceGroupId: 'ResourceManagerResourceGroupId',
14573
+ tagsShrink: 'Tags',
14414
14574
  };
14415
14575
  }
14416
14576
 
@@ -14418,6 +14578,8 @@ export class ListProjectsRequest extends $tea.Model {
14418
14578
  return {
14419
14579
  pageNumber: 'number',
14420
14580
  pageSize: 'number',
14581
+ resourceManagerResourceGroupId: 'string',
14582
+ tagsShrink: 'string',
14421
14583
  };
14422
14584
  }
14423
14585
 
@@ -14930,11 +15092,46 @@ export class ListResourceGroupsRequest extends $tea.Model {
14930
15092
  bizExtKey?: string;
14931
15093
  keyword?: string;
14932
15094
  resourceGroupType?: number;
15095
+ resourceManagerResourceGroupId?: string;
15096
+ tags?: ListResourceGroupsRequestTags[];
15097
+ static names(): { [key: string]: string } {
15098
+ return {
15099
+ bizExtKey: 'BizExtKey',
15100
+ keyword: 'Keyword',
15101
+ resourceGroupType: 'ResourceGroupType',
15102
+ resourceManagerResourceGroupId: 'ResourceManagerResourceGroupId',
15103
+ tags: 'Tags',
15104
+ };
15105
+ }
15106
+
15107
+ static types(): { [key: string]: any } {
15108
+ return {
15109
+ bizExtKey: 'string',
15110
+ keyword: 'string',
15111
+ resourceGroupType: 'number',
15112
+ resourceManagerResourceGroupId: 'string',
15113
+ tags: { 'type': 'array', 'itemType': ListResourceGroupsRequestTags },
15114
+ };
15115
+ }
15116
+
15117
+ constructor(map?: { [key: string]: any }) {
15118
+ super(map);
15119
+ }
15120
+ }
15121
+
15122
+ export class ListResourceGroupsShrinkRequest extends $tea.Model {
15123
+ bizExtKey?: string;
15124
+ keyword?: string;
15125
+ resourceGroupType?: number;
15126
+ resourceManagerResourceGroupId?: string;
15127
+ tagsShrink?: string;
14933
15128
  static names(): { [key: string]: string } {
14934
15129
  return {
14935
15130
  bizExtKey: 'BizExtKey',
14936
15131
  keyword: 'Keyword',
14937
15132
  resourceGroupType: 'ResourceGroupType',
15133
+ resourceManagerResourceGroupId: 'ResourceManagerResourceGroupId',
15134
+ tagsShrink: 'Tags',
14938
15135
  };
14939
15136
  }
14940
15137
 
@@ -14943,6 +15140,8 @@ export class ListResourceGroupsRequest extends $tea.Model {
14943
15140
  bizExtKey: 'string',
14944
15141
  keyword: 'string',
14945
15142
  resourceGroupType: 'number',
15143
+ resourceManagerResourceGroupId: 'string',
15144
+ tagsShrink: 'string',
14946
15145
  };
14947
15146
  }
14948
15147
 
@@ -15499,26 +15698,20 @@ export class ListTopicsResponse extends $tea.Model {
15499
15698
  }
15500
15699
  }
15501
15700
 
15502
- export class ListUsageForResourceGroupRequest extends $tea.Model {
15503
- endTime?: number;
15504
- projectEnv?: string;
15505
- resourceGroupIdentifier?: string;
15506
- startTime?: number;
15701
+ export class OfflineNodeRequest extends $tea.Model {
15702
+ nodeId?: number;
15703
+ projectId?: number;
15507
15704
  static names(): { [key: string]: string } {
15508
15705
  return {
15509
- endTime: 'EndTime',
15510
- projectEnv: 'ProjectEnv',
15511
- resourceGroupIdentifier: 'ResourceGroupIdentifier',
15512
- startTime: 'StartTime',
15706
+ nodeId: 'NodeId',
15707
+ projectId: 'ProjectId',
15513
15708
  };
15514
15709
  }
15515
15710
 
15516
15711
  static types(): { [key: string]: any } {
15517
15712
  return {
15518
- endTime: 'number',
15519
- projectEnv: 'string',
15520
- resourceGroupIdentifier: 'string',
15521
- startTime: 'number',
15713
+ nodeId: 'number',
15714
+ projectId: 'number',
15522
15715
  };
15523
15716
  }
15524
15717
 
@@ -15527,19 +15720,11 @@ export class ListUsageForResourceGroupRequest extends $tea.Model {
15527
15720
  }
15528
15721
  }
15529
15722
 
15530
- export class ListUsageForResourceGroupResponseBody extends $tea.Model {
15531
- data?: ListUsageForResourceGroupResponseBodyData[];
15532
- errorCode?: string;
15533
- errorMessage?: string;
15534
- httpStatusCode?: number;
15723
+ export class OfflineNodeResponseBody extends $tea.Model {
15535
15724
  requestId?: string;
15536
- success?: boolean;
15725
+ success?: string;
15537
15726
  static names(): { [key: string]: string } {
15538
15727
  return {
15539
- data: 'Data',
15540
- errorCode: 'ErrorCode',
15541
- errorMessage: 'ErrorMessage',
15542
- httpStatusCode: 'HttpStatusCode',
15543
15728
  requestId: 'RequestId',
15544
15729
  success: 'Success',
15545
15730
  };
@@ -15547,12 +15732,8 @@ export class ListUsageForResourceGroupResponseBody extends $tea.Model {
15547
15732
 
15548
15733
  static types(): { [key: string]: any } {
15549
15734
  return {
15550
- data: { 'type': 'array', 'itemType': ListUsageForResourceGroupResponseBodyData },
15551
- errorCode: 'string',
15552
- errorMessage: 'string',
15553
- httpStatusCode: 'number',
15554
15735
  requestId: 'string',
15555
- success: 'boolean',
15736
+ success: 'string',
15556
15737
  };
15557
15738
  }
15558
15739
 
@@ -15561,10 +15742,10 @@ export class ListUsageForResourceGroupResponseBody extends $tea.Model {
15561
15742
  }
15562
15743
  }
15563
15744
 
15564
- export class ListUsageForResourceGroupResponse extends $tea.Model {
15745
+ export class OfflineNodeResponse extends $tea.Model {
15565
15746
  headers: { [key: string]: string };
15566
15747
  statusCode: number;
15567
- body: ListUsageForResourceGroupResponseBody;
15748
+ body: OfflineNodeResponseBody;
15568
15749
  static names(): { [key: string]: string } {
15569
15750
  return {
15570
15751
  headers: 'headers',
@@ -15577,7 +15758,7 @@ export class ListUsageForResourceGroupResponse extends $tea.Model {
15577
15758
  return {
15578
15759
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
15579
15760
  statusCode: 'number',
15580
- body: ListUsageForResourceGroupResponseBody,
15761
+ body: OfflineNodeResponseBody,
15581
15762
  };
15582
15763
  }
15583
15764
 
@@ -17833,6 +18014,181 @@ export class TopTenErrorTimesInstanceResponse extends $tea.Model {
17833
18014
  }
17834
18015
  }
17835
18016
 
18017
+ export class UpdateBaselineRequest extends $tea.Model {
18018
+ alertEnabled?: boolean;
18019
+ alertMarginThreshold?: number;
18020
+ alertSettings?: UpdateBaselineRequestAlertSettings[];
18021
+ baselineId?: number;
18022
+ baselineName?: string;
18023
+ baselineType?: string;
18024
+ enabled?: boolean;
18025
+ overtimeSettings?: UpdateBaselineRequestOvertimeSettings[];
18026
+ owner?: string;
18027
+ priority?: number;
18028
+ projectId?: number;
18029
+ removeTaskIds?: string;
18030
+ taskIds?: string;
18031
+ static names(): { [key: string]: string } {
18032
+ return {
18033
+ alertEnabled: 'AlertEnabled',
18034
+ alertMarginThreshold: 'AlertMarginThreshold',
18035
+ alertSettings: 'AlertSettings',
18036
+ baselineId: 'BaselineId',
18037
+ baselineName: 'BaselineName',
18038
+ baselineType: 'BaselineType',
18039
+ enabled: 'Enabled',
18040
+ overtimeSettings: 'OvertimeSettings',
18041
+ owner: 'Owner',
18042
+ priority: 'Priority',
18043
+ projectId: 'ProjectId',
18044
+ removeTaskIds: 'RemoveTaskIds',
18045
+ taskIds: 'TaskIds',
18046
+ };
18047
+ }
18048
+
18049
+ static types(): { [key: string]: any } {
18050
+ return {
18051
+ alertEnabled: 'boolean',
18052
+ alertMarginThreshold: 'number',
18053
+ alertSettings: { 'type': 'array', 'itemType': UpdateBaselineRequestAlertSettings },
18054
+ baselineId: 'number',
18055
+ baselineName: 'string',
18056
+ baselineType: 'string',
18057
+ enabled: 'boolean',
18058
+ overtimeSettings: { 'type': 'array', 'itemType': UpdateBaselineRequestOvertimeSettings },
18059
+ owner: 'string',
18060
+ priority: 'number',
18061
+ projectId: 'number',
18062
+ removeTaskIds: 'string',
18063
+ taskIds: 'string',
18064
+ };
18065
+ }
18066
+
18067
+ constructor(map?: { [key: string]: any }) {
18068
+ super(map);
18069
+ }
18070
+ }
18071
+
18072
+ export class UpdateBaselineShrinkRequest extends $tea.Model {
18073
+ alertEnabled?: boolean;
18074
+ alertMarginThreshold?: number;
18075
+ alertSettingsShrink?: string;
18076
+ baselineId?: number;
18077
+ baselineName?: string;
18078
+ baselineType?: string;
18079
+ enabled?: boolean;
18080
+ overtimeSettingsShrink?: string;
18081
+ owner?: string;
18082
+ priority?: number;
18083
+ projectId?: number;
18084
+ removeTaskIds?: string;
18085
+ taskIds?: string;
18086
+ static names(): { [key: string]: string } {
18087
+ return {
18088
+ alertEnabled: 'AlertEnabled',
18089
+ alertMarginThreshold: 'AlertMarginThreshold',
18090
+ alertSettingsShrink: 'AlertSettings',
18091
+ baselineId: 'BaselineId',
18092
+ baselineName: 'BaselineName',
18093
+ baselineType: 'BaselineType',
18094
+ enabled: 'Enabled',
18095
+ overtimeSettingsShrink: 'OvertimeSettings',
18096
+ owner: 'Owner',
18097
+ priority: 'Priority',
18098
+ projectId: 'ProjectId',
18099
+ removeTaskIds: 'RemoveTaskIds',
18100
+ taskIds: 'TaskIds',
18101
+ };
18102
+ }
18103
+
18104
+ static types(): { [key: string]: any } {
18105
+ return {
18106
+ alertEnabled: 'boolean',
18107
+ alertMarginThreshold: 'number',
18108
+ alertSettingsShrink: 'string',
18109
+ baselineId: 'number',
18110
+ baselineName: 'string',
18111
+ baselineType: 'string',
18112
+ enabled: 'boolean',
18113
+ overtimeSettingsShrink: 'string',
18114
+ owner: 'string',
18115
+ priority: 'number',
18116
+ projectId: 'number',
18117
+ removeTaskIds: 'string',
18118
+ taskIds: 'string',
18119
+ };
18120
+ }
18121
+
18122
+ constructor(map?: { [key: string]: any }) {
18123
+ super(map);
18124
+ }
18125
+ }
18126
+
18127
+ export class UpdateBaselineResponseBody extends $tea.Model {
18128
+ data?: boolean;
18129
+ dynamicErrorCode?: string;
18130
+ dynamicErrorMessage?: string;
18131
+ errorCode?: string;
18132
+ errorMessage?: string;
18133
+ httpStatusCode?: number;
18134
+ requestId?: string;
18135
+ success?: boolean;
18136
+ static names(): { [key: string]: string } {
18137
+ return {
18138
+ data: 'Data',
18139
+ dynamicErrorCode: 'DynamicErrorCode',
18140
+ dynamicErrorMessage: 'DynamicErrorMessage',
18141
+ errorCode: 'ErrorCode',
18142
+ errorMessage: 'ErrorMessage',
18143
+ httpStatusCode: 'HttpStatusCode',
18144
+ requestId: 'RequestId',
18145
+ success: 'Success',
18146
+ };
18147
+ }
18148
+
18149
+ static types(): { [key: string]: any } {
18150
+ return {
18151
+ data: 'boolean',
18152
+ dynamicErrorCode: 'string',
18153
+ dynamicErrorMessage: 'string',
18154
+ errorCode: 'string',
18155
+ errorMessage: 'string',
18156
+ httpStatusCode: 'number',
18157
+ requestId: 'string',
18158
+ success: 'boolean',
18159
+ };
18160
+ }
18161
+
18162
+ constructor(map?: { [key: string]: any }) {
18163
+ super(map);
18164
+ }
18165
+ }
18166
+
18167
+ export class UpdateBaselineResponse extends $tea.Model {
18168
+ headers: { [key: string]: string };
18169
+ statusCode: number;
18170
+ body: UpdateBaselineResponseBody;
18171
+ static names(): { [key: string]: string } {
18172
+ return {
18173
+ headers: 'headers',
18174
+ statusCode: 'statusCode',
18175
+ body: 'body',
18176
+ };
18177
+ }
18178
+
18179
+ static types(): { [key: string]: any } {
18180
+ return {
18181
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
18182
+ statusCode: 'number',
18183
+ body: UpdateBaselineResponseBody,
18184
+ };
18185
+ }
18186
+
18187
+ constructor(map?: { [key: string]: any }) {
18188
+ super(map);
18189
+ }
18190
+ }
18191
+
17836
18192
  export class UpdateBusinessRequest extends $tea.Model {
17837
18193
  businessId?: number;
17838
18194
  businessName?: string;
@@ -19312,6 +19668,7 @@ export class UpdateRemindRequest extends $tea.Model {
19312
19668
  remindUnit?: string;
19313
19669
  robotUrls?: string;
19314
19670
  useFlag?: boolean;
19671
+ webhooks?: string;
19315
19672
  static names(): { [key: string]: string } {
19316
19673
  return {
19317
19674
  alertInterval: 'AlertInterval',
@@ -19331,6 +19688,7 @@ export class UpdateRemindRequest extends $tea.Model {
19331
19688
  remindUnit: 'RemindUnit',
19332
19689
  robotUrls: 'RobotUrls',
19333
19690
  useFlag: 'UseFlag',
19691
+ webhooks: 'Webhooks',
19334
19692
  };
19335
19693
  }
19336
19694
 
@@ -19353,6 +19711,7 @@ export class UpdateRemindRequest extends $tea.Model {
19353
19711
  remindUnit: 'string',
19354
19712
  robotUrls: 'string',
19355
19713
  useFlag: 'boolean',
19714
+ webhooks: 'string',
19356
19715
  };
19357
19716
  }
19358
19717
 
@@ -20047,6 +20406,28 @@ export class UpdateWorkbenchEventResultResponse extends $tea.Model {
20047
20406
  }
20048
20407
  }
20049
20408
 
20409
+ export class CreateBaselineRequestOvertimeSettings extends $tea.Model {
20410
+ cycle?: number;
20411
+ time?: string;
20412
+ static names(): { [key: string]: string } {
20413
+ return {
20414
+ cycle: 'Cycle',
20415
+ time: 'Time',
20416
+ };
20417
+ }
20418
+
20419
+ static types(): { [key: string]: any } {
20420
+ return {
20421
+ cycle: 'number',
20422
+ time: 'string',
20423
+ };
20424
+ }
20425
+
20426
+ constructor(map?: { [key: string]: any }) {
20427
+ super(map);
20428
+ }
20429
+ }
20430
+
20050
20431
  export class CreateDISyncTaskResponseBodyData extends $tea.Model {
20051
20432
  fileId?: number;
20052
20433
  message?: string;
@@ -20442,6 +20823,154 @@ export class GenerateDISyncTaskConfigForUpdatingResponseBodyData extends $tea.Mo
20442
20823
  }
20443
20824
  }
20444
20825
 
20826
+ export class GetBaselineResponseBodyDataAlertSettingsDingRobots extends $tea.Model {
20827
+ atAll?: boolean;
20828
+ webUrl?: string;
20829
+ static names(): { [key: string]: string } {
20830
+ return {
20831
+ atAll: 'AtAll',
20832
+ webUrl: 'WebUrl',
20833
+ };
20834
+ }
20835
+
20836
+ static types(): { [key: string]: any } {
20837
+ return {
20838
+ atAll: 'boolean',
20839
+ webUrl: 'string',
20840
+ };
20841
+ }
20842
+
20843
+ constructor(map?: { [key: string]: any }) {
20844
+ super(map);
20845
+ }
20846
+ }
20847
+
20848
+ export class GetBaselineResponseBodyDataAlertSettings extends $tea.Model {
20849
+ alertInterval?: number;
20850
+ alertMaximum?: number;
20851
+ alertMethods?: string[];
20852
+ alertRecipient?: string;
20853
+ alertRecipientType?: string;
20854
+ alertType?: string;
20855
+ baselineAlertEnabled?: boolean;
20856
+ dingRobots?: GetBaselineResponseBodyDataAlertSettingsDingRobots[];
20857
+ silenceEndTime?: string;
20858
+ silenceStartTime?: string;
20859
+ topicTypes?: string[];
20860
+ webhooks?: string[];
20861
+ static names(): { [key: string]: string } {
20862
+ return {
20863
+ alertInterval: 'AlertInterval',
20864
+ alertMaximum: 'AlertMaximum',
20865
+ alertMethods: 'AlertMethods',
20866
+ alertRecipient: 'AlertRecipient',
20867
+ alertRecipientType: 'AlertRecipientType',
20868
+ alertType: 'AlertType',
20869
+ baselineAlertEnabled: 'BaselineAlertEnabled',
20870
+ dingRobots: 'DingRobots',
20871
+ silenceEndTime: 'SilenceEndTime',
20872
+ silenceStartTime: 'SilenceStartTime',
20873
+ topicTypes: 'TopicTypes',
20874
+ webhooks: 'Webhooks',
20875
+ };
20876
+ }
20877
+
20878
+ static types(): { [key: string]: any } {
20879
+ return {
20880
+ alertInterval: 'number',
20881
+ alertMaximum: 'number',
20882
+ alertMethods: { 'type': 'array', 'itemType': 'string' },
20883
+ alertRecipient: 'string',
20884
+ alertRecipientType: 'string',
20885
+ alertType: 'string',
20886
+ baselineAlertEnabled: 'boolean',
20887
+ dingRobots: { 'type': 'array', 'itemType': GetBaselineResponseBodyDataAlertSettingsDingRobots },
20888
+ silenceEndTime: 'string',
20889
+ silenceStartTime: 'string',
20890
+ topicTypes: { 'type': 'array', 'itemType': 'string' },
20891
+ webhooks: { 'type': 'array', 'itemType': 'string' },
20892
+ };
20893
+ }
20894
+
20895
+ constructor(map?: { [key: string]: any }) {
20896
+ super(map);
20897
+ }
20898
+ }
20899
+
20900
+ export class GetBaselineResponseBodyDataOverTimeSettings extends $tea.Model {
20901
+ cycle?: number;
20902
+ time?: string;
20903
+ static names(): { [key: string]: string } {
20904
+ return {
20905
+ cycle: 'Cycle',
20906
+ time: 'Time',
20907
+ };
20908
+ }
20909
+
20910
+ static types(): { [key: string]: any } {
20911
+ return {
20912
+ cycle: 'number',
20913
+ time: 'string',
20914
+ };
20915
+ }
20916
+
20917
+ constructor(map?: { [key: string]: any }) {
20918
+ super(map);
20919
+ }
20920
+ }
20921
+
20922
+ export class GetBaselineResponseBodyData extends $tea.Model {
20923
+ alertEnabled?: boolean;
20924
+ alertMarginThreshold?: number;
20925
+ alertSettings?: GetBaselineResponseBodyDataAlertSettings[];
20926
+ baselineId?: number;
20927
+ baselineName?: string;
20928
+ baselineType?: string;
20929
+ enabled?: boolean;
20930
+ overTimeSettings?: GetBaselineResponseBodyDataOverTimeSettings[];
20931
+ owner?: string;
20932
+ priority?: number;
20933
+ projectId?: number;
20934
+ taskIds?: number[];
20935
+ static names(): { [key: string]: string } {
20936
+ return {
20937
+ alertEnabled: 'AlertEnabled',
20938
+ alertMarginThreshold: 'AlertMarginThreshold',
20939
+ alertSettings: 'AlertSettings',
20940
+ baselineId: 'BaselineId',
20941
+ baselineName: 'BaselineName',
20942
+ baselineType: 'BaselineType',
20943
+ enabled: 'Enabled',
20944
+ overTimeSettings: 'OverTimeSettings',
20945
+ owner: 'Owner',
20946
+ priority: 'Priority',
20947
+ projectId: 'ProjectId',
20948
+ taskIds: 'TaskIds',
20949
+ };
20950
+ }
20951
+
20952
+ static types(): { [key: string]: any } {
20953
+ return {
20954
+ alertEnabled: 'boolean',
20955
+ alertMarginThreshold: 'number',
20956
+ alertSettings: { 'type': 'array', 'itemType': GetBaselineResponseBodyDataAlertSettings },
20957
+ baselineId: 'number',
20958
+ baselineName: 'string',
20959
+ baselineType: 'string',
20960
+ enabled: 'boolean',
20961
+ overTimeSettings: { 'type': 'array', 'itemType': GetBaselineResponseBodyDataOverTimeSettings },
20962
+ owner: 'string',
20963
+ priority: 'number',
20964
+ projectId: 'number',
20965
+ taskIds: { 'type': 'array', 'itemType': 'number' },
20966
+ };
20967
+ }
20968
+
20969
+ constructor(map?: { [key: string]: any }) {
20970
+ super(map);
20971
+ }
20972
+ }
20973
+
20445
20974
  export class GetBaselineConfigResponseBodyData extends $tea.Model {
20446
20975
  baselineId?: number;
20447
20976
  baselineName?: string;
@@ -20845,11 +21374,13 @@ export class GetDDLJobStatusResponseBodyData extends $tea.Model {
20845
21374
  }
20846
21375
 
20847
21376
  export class GetDISyncInstanceInfoResponseBodyDataSolutionInfoStepDetail extends $tea.Model {
21377
+ info?: string;
20848
21378
  status?: string;
20849
21379
  stepId?: number;
20850
21380
  stepName?: string;
20851
21381
  static names(): { [key: string]: string } {
20852
21382
  return {
21383
+ info: 'Info',
20853
21384
  status: 'Status',
20854
21385
  stepId: 'StepId',
20855
21386
  stepName: 'StepName',
@@ -20858,6 +21389,7 @@ export class GetDISyncInstanceInfoResponseBodyDataSolutionInfoStepDetail extends
20858
21389
 
20859
21390
  static types(): { [key: string]: any } {
20860
21391
  return {
21392
+ info: 'string',
20861
21393
  status: 'string',
20862
21394
  stepId: 'number',
20863
21395
  stepName: 'string',
@@ -21002,52 +21534,6 @@ export class GetDISyncTaskResponseBodyData extends $tea.Model {
21002
21534
  }
21003
21535
  }
21004
21536
 
21005
- export class GetDISyncTaskMetricInfoResponseBodyMetricInfo extends $tea.Model {
21006
- deleteReaderRecords?: number;
21007
- deleteWriterRecords?: number;
21008
- insertReaderRecords?: number;
21009
- insertWriterRecords?: number;
21010
- lastTaskDelay?: number;
21011
- message?: string;
21012
- sumReaderRecords?: number;
21013
- sumWriterRecords?: number;
21014
- updateReaderRecords?: number;
21015
- updateWriterRecords?: number;
21016
- static names(): { [key: string]: string } {
21017
- return {
21018
- deleteReaderRecords: 'DeleteReaderRecords',
21019
- deleteWriterRecords: 'DeleteWriterRecords',
21020
- insertReaderRecords: 'InsertReaderRecords',
21021
- insertWriterRecords: 'InsertWriterRecords',
21022
- lastTaskDelay: 'LastTaskDelay',
21023
- message: 'Message',
21024
- sumReaderRecords: 'SumReaderRecords',
21025
- sumWriterRecords: 'SumWriterRecords',
21026
- updateReaderRecords: 'UpdateReaderRecords',
21027
- updateWriterRecords: 'UpdateWriterRecords',
21028
- };
21029
- }
21030
-
21031
- static types(): { [key: string]: any } {
21032
- return {
21033
- deleteReaderRecords: 'number',
21034
- deleteWriterRecords: 'number',
21035
- insertReaderRecords: 'number',
21036
- insertWriterRecords: 'number',
21037
- lastTaskDelay: 'number',
21038
- message: 'string',
21039
- sumReaderRecords: 'number',
21040
- sumWriterRecords: 'number',
21041
- updateReaderRecords: 'number',
21042
- updateWriterRecords: 'number',
21043
- };
21044
- }
21045
-
21046
- constructor(map?: { [key: string]: any }) {
21047
- super(map);
21048
- }
21049
- }
21050
-
21051
21537
  export class GetDagResponseBodyData extends $tea.Model {
21052
21538
  bizdate?: number;
21053
21539
  createTime?: number;
@@ -22217,6 +22703,31 @@ export class GetDataSourceMetaResponseBodyData extends $tea.Model {
22217
22703
  }
22218
22704
  }
22219
22705
 
22706
+ export class GetDeploymentResponseBodyDataDeployedItems extends $tea.Model {
22707
+ fileId?: number;
22708
+ fileVersion?: number;
22709
+ status?: number;
22710
+ static names(): { [key: string]: string } {
22711
+ return {
22712
+ fileId: 'FileId',
22713
+ fileVersion: 'FileVersion',
22714
+ status: 'Status',
22715
+ };
22716
+ }
22717
+
22718
+ static types(): { [key: string]: any } {
22719
+ return {
22720
+ fileId: 'number',
22721
+ fileVersion: 'number',
22722
+ status: 'number',
22723
+ };
22724
+ }
22725
+
22726
+ constructor(map?: { [key: string]: any }) {
22727
+ super(map);
22728
+ }
22729
+ }
22730
+
22220
22731
  export class GetDeploymentResponseBodyDataDeployment extends $tea.Model {
22221
22732
  checkingStatus?: number;
22222
22733
  createTime?: number;
@@ -22264,15 +22775,18 @@ export class GetDeploymentResponseBodyDataDeployment extends $tea.Model {
22264
22775
  }
22265
22776
 
22266
22777
  export class GetDeploymentResponseBodyData extends $tea.Model {
22778
+ deployedItems?: GetDeploymentResponseBodyDataDeployedItems[];
22267
22779
  deployment?: GetDeploymentResponseBodyDataDeployment;
22268
22780
  static names(): { [key: string]: string } {
22269
22781
  return {
22782
+ deployedItems: 'DeployedItems',
22270
22783
  deployment: 'Deployment',
22271
22784
  };
22272
22785
  }
22273
22786
 
22274
22787
  static types(): { [key: string]: any } {
22275
22788
  return {
22789
+ deployedItems: { 'type': 'array', 'itemType': GetDeploymentResponseBodyDataDeployedItems },
22276
22790
  deployment: GetDeploymentResponseBodyDataDeployment,
22277
22791
  };
22278
22792
  }
@@ -24955,6 +25469,28 @@ export class GetPermissionApplyOrderDetailResponseBodyApplyOrderDetail extends $
24955
25469
  }
24956
25470
  }
24957
25471
 
25472
+ export class GetProjectResponseBodyDataTags extends $tea.Model {
25473
+ key?: string;
25474
+ value?: string;
25475
+ static names(): { [key: string]: string } {
25476
+ return {
25477
+ key: 'Key',
25478
+ value: 'Value',
25479
+ };
25480
+ }
25481
+
25482
+ static types(): { [key: string]: any } {
25483
+ return {
25484
+ key: 'string',
25485
+ value: 'string',
25486
+ };
25487
+ }
25488
+
25489
+ constructor(map?: { [key: string]: any }) {
25490
+ super(map);
25491
+ }
25492
+ }
25493
+
24958
25494
  export class GetProjectResponseBodyData extends $tea.Model {
24959
25495
  appkey?: string;
24960
25496
  baseProject?: boolean;
@@ -24978,10 +25514,12 @@ export class GetProjectResponseBodyData extends $tea.Model {
24978
25514
  projectOwnerBaseId?: string;
24979
25515
  protectedMode?: number;
24980
25516
  residentArea?: string;
25517
+ resourceManagerResourceGroupId?: string;
24981
25518
  schedulerMaxRetryTimes?: number;
24982
25519
  schedulerRetryInterval?: number;
24983
25520
  status?: number;
24984
25521
  tablePrivacyMode?: number;
25522
+ tags?: GetProjectResponseBodyDataTags[];
24985
25523
  tenantId?: number;
24986
25524
  useProxyOdpsAccount?: boolean;
24987
25525
  static names(): { [key: string]: string } {
@@ -25008,10 +25546,12 @@ export class GetProjectResponseBodyData extends $tea.Model {
25008
25546
  projectOwnerBaseId: 'ProjectOwnerBaseId',
25009
25547
  protectedMode: 'ProtectedMode',
25010
25548
  residentArea: 'ResidentArea',
25549
+ resourceManagerResourceGroupId: 'ResourceManagerResourceGroupId',
25011
25550
  schedulerMaxRetryTimes: 'SchedulerMaxRetryTimes',
25012
25551
  schedulerRetryInterval: 'SchedulerRetryInterval',
25013
25552
  status: 'Status',
25014
25553
  tablePrivacyMode: 'TablePrivacyMode',
25554
+ tags: 'Tags',
25015
25555
  tenantId: 'TenantId',
25016
25556
  useProxyOdpsAccount: 'UseProxyOdpsAccount',
25017
25557
  };
@@ -25041,10 +25581,12 @@ export class GetProjectResponseBodyData extends $tea.Model {
25041
25581
  projectOwnerBaseId: 'string',
25042
25582
  protectedMode: 'number',
25043
25583
  residentArea: 'string',
25584
+ resourceManagerResourceGroupId: 'string',
25044
25585
  schedulerMaxRetryTimes: 'number',
25045
25586
  schedulerRetryInterval: 'number',
25046
25587
  status: 'number',
25047
25588
  tablePrivacyMode: 'number',
25589
+ tags: { 'type': 'array', 'itemType': GetProjectResponseBodyDataTags },
25048
25590
  tenantId: 'number',
25049
25591
  useProxyOdpsAccount: 'boolean',
25050
25592
  };
@@ -25055,13 +25597,37 @@ export class GetProjectResponseBodyData extends $tea.Model {
25055
25597
  }
25056
25598
  }
25057
25599
 
25600
+ export class GetProjectDetailResponseBodyDataTags extends $tea.Model {
25601
+ key?: string;
25602
+ value?: string;
25603
+ static names(): { [key: string]: string } {
25604
+ return {
25605
+ key: 'Key',
25606
+ value: 'Value',
25607
+ };
25608
+ }
25609
+
25610
+ static types(): { [key: string]: any } {
25611
+ return {
25612
+ key: 'string',
25613
+ value: 'string',
25614
+ };
25615
+ }
25616
+
25617
+ constructor(map?: { [key: string]: any }) {
25618
+ super(map);
25619
+ }
25620
+ }
25621
+
25058
25622
  export class GetProjectDetailResponseBodyData extends $tea.Model {
25059
25623
  defaultDiResourceGroupIdentifier?: string;
25060
25624
  developmentType?: number;
25625
+ disableDevelopment?: boolean;
25061
25626
  envTypes?: string[];
25062
25627
  gmtCreate?: string;
25063
25628
  gmtModified?: string;
25064
25629
  isAllowDownload?: number;
25630
+ isDefault?: number;
25065
25631
  projectDescription?: string;
25066
25632
  projectId?: number;
25067
25633
  projectIdentifier?: string;
@@ -25070,18 +25636,24 @@ export class GetProjectDetailResponseBodyData extends $tea.Model {
25070
25636
  projectOwnerBaseId?: string;
25071
25637
  protectedMode?: number;
25072
25638
  residentArea?: string;
25639
+ resourceManagerResourceGroupId?: string;
25073
25640
  schedulerMaxRetryTimes?: number;
25074
25641
  schedulerRetryInterval?: number;
25075
25642
  status?: number;
25643
+ tablePrivacyMode?: number;
25644
+ tags?: GetProjectDetailResponseBodyDataTags[];
25076
25645
  tenantId?: number;
25646
+ useProxyOdpsAccount?: boolean;
25077
25647
  static names(): { [key: string]: string } {
25078
25648
  return {
25079
25649
  defaultDiResourceGroupIdentifier: 'DefaultDiResourceGroupIdentifier',
25080
25650
  developmentType: 'DevelopmentType',
25651
+ disableDevelopment: 'DisableDevelopment',
25081
25652
  envTypes: 'EnvTypes',
25082
25653
  gmtCreate: 'GmtCreate',
25083
25654
  gmtModified: 'GmtModified',
25084
25655
  isAllowDownload: 'IsAllowDownload',
25656
+ isDefault: 'IsDefault',
25085
25657
  projectDescription: 'ProjectDescription',
25086
25658
  projectId: 'ProjectId',
25087
25659
  projectIdentifier: 'ProjectIdentifier',
@@ -25090,10 +25662,14 @@ export class GetProjectDetailResponseBodyData extends $tea.Model {
25090
25662
  projectOwnerBaseId: 'ProjectOwnerBaseId',
25091
25663
  protectedMode: 'ProtectedMode',
25092
25664
  residentArea: 'ResidentArea',
25665
+ resourceManagerResourceGroupId: 'ResourceManagerResourceGroupId',
25093
25666
  schedulerMaxRetryTimes: 'SchedulerMaxRetryTimes',
25094
25667
  schedulerRetryInterval: 'SchedulerRetryInterval',
25095
25668
  status: 'Status',
25669
+ tablePrivacyMode: 'TablePrivacyMode',
25670
+ tags: 'Tags',
25096
25671
  tenantId: 'TenantId',
25672
+ useProxyOdpsAccount: 'UseProxyOdpsAccount',
25097
25673
  };
25098
25674
  }
25099
25675
 
@@ -25101,10 +25677,12 @@ export class GetProjectDetailResponseBodyData extends $tea.Model {
25101
25677
  return {
25102
25678
  defaultDiResourceGroupIdentifier: 'string',
25103
25679
  developmentType: 'number',
25680
+ disableDevelopment: 'boolean',
25104
25681
  envTypes: { 'type': 'array', 'itemType': 'string' },
25105
25682
  gmtCreate: 'string',
25106
25683
  gmtModified: 'string',
25107
25684
  isAllowDownload: 'number',
25685
+ isDefault: 'number',
25108
25686
  projectDescription: 'string',
25109
25687
  projectId: 'number',
25110
25688
  projectIdentifier: 'string',
@@ -25113,10 +25691,14 @@ export class GetProjectDetailResponseBodyData extends $tea.Model {
25113
25691
  projectOwnerBaseId: 'string',
25114
25692
  protectedMode: 'number',
25115
25693
  residentArea: 'string',
25694
+ resourceManagerResourceGroupId: 'string',
25116
25695
  schedulerMaxRetryTimes: 'number',
25117
25696
  schedulerRetryInterval: 'number',
25118
25697
  status: 'number',
25698
+ tablePrivacyMode: 'number',
25699
+ tags: { 'type': 'array', 'itemType': GetProjectDetailResponseBodyDataTags },
25119
25700
  tenantId: 'number',
25701
+ useProxyOdpsAccount: 'boolean',
25120
25702
  };
25121
25703
  }
25122
25704
 
@@ -25444,6 +26026,7 @@ export class GetRemindResponseBodyData extends $tea.Model {
25444
26026
  remindUnit?: string;
25445
26027
  robots?: GetRemindResponseBodyDataRobots[];
25446
26028
  useflag?: boolean;
26029
+ webhooks?: string[];
25447
26030
  static names(): { [key: string]: string } {
25448
26031
  return {
25449
26032
  alertInterval: 'AlertInterval',
@@ -25465,6 +26048,7 @@ export class GetRemindResponseBodyData extends $tea.Model {
25465
26048
  remindUnit: 'RemindUnit',
25466
26049
  robots: 'Robots',
25467
26050
  useflag: 'Useflag',
26051
+ webhooks: 'Webhooks',
25468
26052
  };
25469
26053
  }
25470
26054
 
@@ -25489,6 +26073,7 @@ export class GetRemindResponseBodyData extends $tea.Model {
25489
26073
  remindUnit: 'string',
25490
26074
  robots: { 'type': 'array', 'itemType': GetRemindResponseBodyDataRobots },
25491
26075
  useflag: 'boolean',
26076
+ webhooks: { 'type': 'array', 'itemType': 'string' },
25492
26077
  };
25493
26078
  }
25494
26079
 
@@ -26145,6 +26730,102 @@ export class ListBaselineStatusesResponseBodyData extends $tea.Model {
26145
26730
  }
26146
26731
  }
26147
26732
 
26733
+ export class ListBaselinesResponseBodyDataBaselinesOverTimeSettings extends $tea.Model {
26734
+ cycle?: number;
26735
+ time?: string;
26736
+ static names(): { [key: string]: string } {
26737
+ return {
26738
+ cycle: 'Cycle',
26739
+ time: 'Time',
26740
+ };
26741
+ }
26742
+
26743
+ static types(): { [key: string]: any } {
26744
+ return {
26745
+ cycle: 'number',
26746
+ time: 'string',
26747
+ };
26748
+ }
26749
+
26750
+ constructor(map?: { [key: string]: any }) {
26751
+ super(map);
26752
+ }
26753
+ }
26754
+
26755
+ export class ListBaselinesResponseBodyDataBaselines extends $tea.Model {
26756
+ alertEnabled?: boolean;
26757
+ alertMarginThreshold?: number;
26758
+ baselineId?: number;
26759
+ baselineName?: string;
26760
+ baselineType?: string;
26761
+ enabled?: boolean;
26762
+ overTimeSettings?: ListBaselinesResponseBodyDataBaselinesOverTimeSettings[];
26763
+ owner?: string;
26764
+ priority?: number;
26765
+ projectId?: number;
26766
+ static names(): { [key: string]: string } {
26767
+ return {
26768
+ alertEnabled: 'AlertEnabled',
26769
+ alertMarginThreshold: 'AlertMarginThreshold',
26770
+ baselineId: 'BaselineId',
26771
+ baselineName: 'BaselineName',
26772
+ baselineType: 'BaselineType',
26773
+ enabled: 'Enabled',
26774
+ overTimeSettings: 'OverTimeSettings',
26775
+ owner: 'Owner',
26776
+ priority: 'Priority',
26777
+ projectId: 'ProjectId',
26778
+ };
26779
+ }
26780
+
26781
+ static types(): { [key: string]: any } {
26782
+ return {
26783
+ alertEnabled: 'boolean',
26784
+ alertMarginThreshold: 'number',
26785
+ baselineId: 'number',
26786
+ baselineName: 'string',
26787
+ baselineType: 'string',
26788
+ enabled: 'boolean',
26789
+ overTimeSettings: { 'type': 'array', 'itemType': ListBaselinesResponseBodyDataBaselinesOverTimeSettings },
26790
+ owner: 'string',
26791
+ priority: 'number',
26792
+ projectId: 'number',
26793
+ };
26794
+ }
26795
+
26796
+ constructor(map?: { [key: string]: any }) {
26797
+ super(map);
26798
+ }
26799
+ }
26800
+
26801
+ export class ListBaselinesResponseBodyData extends $tea.Model {
26802
+ baselines?: ListBaselinesResponseBodyDataBaselines[];
26803
+ pageNumber?: string;
26804
+ pageSize?: string;
26805
+ totalCount?: string;
26806
+ static names(): { [key: string]: string } {
26807
+ return {
26808
+ baselines: 'Baselines',
26809
+ pageNumber: 'PageNumber',
26810
+ pageSize: 'PageSize',
26811
+ totalCount: 'TotalCount',
26812
+ };
26813
+ }
26814
+
26815
+ static types(): { [key: string]: any } {
26816
+ return {
26817
+ baselines: { 'type': 'array', 'itemType': ListBaselinesResponseBodyDataBaselines },
26818
+ pageNumber: 'string',
26819
+ pageSize: 'string',
26820
+ totalCount: 'string',
26821
+ };
26822
+ }
26823
+
26824
+ constructor(map?: { [key: string]: any }) {
26825
+ super(map);
26826
+ }
26827
+ }
26828
+
26148
26829
  export class ListBusinessResponseBodyDataBusiness extends $tea.Model {
26149
26830
  businessId?: number;
26150
26831
  businessName?: string;
@@ -26388,93 +27069,6 @@ export class ListConnectionsResponseBodyData extends $tea.Model {
26388
27069
  }
26389
27070
  }
26390
27071
 
26391
- export class ListCurrentTasksForResourceGroupResponseBodyDataTasks extends $tea.Model {
26392
- concurrency?: string;
26393
- projectName?: string;
26394
- status?: number;
26395
- taskId?: string;
26396
- taskName?: string;
26397
- taskSource?: string;
26398
- taskType?: number;
26399
- static names(): { [key: string]: string } {
26400
- return {
26401
- concurrency: 'Concurrency',
26402
- projectName: 'ProjectName',
26403
- status: 'Status',
26404
- taskId: 'TaskId',
26405
- taskName: 'TaskName',
26406
- taskSource: 'TaskSource',
26407
- taskType: 'TaskType',
26408
- };
26409
- }
26410
-
26411
- static types(): { [key: string]: any } {
26412
- return {
26413
- concurrency: 'string',
26414
- projectName: 'string',
26415
- status: 'number',
26416
- taskId: 'string',
26417
- taskName: 'string',
26418
- taskSource: 'string',
26419
- taskType: 'number',
26420
- };
26421
- }
26422
-
26423
- constructor(map?: { [key: string]: any }) {
26424
- super(map);
26425
- }
26426
- }
26427
-
26428
- export class ListCurrentTasksForResourceGroupResponseBodyData extends $tea.Model {
26429
- pageNum?: number;
26430
- pageSize?: number;
26431
- tasks?: ListCurrentTasksForResourceGroupResponseBodyDataTasks[];
26432
- totalNum?: number;
26433
- static names(): { [key: string]: string } {
26434
- return {
26435
- pageNum: 'PageNum',
26436
- pageSize: 'PageSize',
26437
- tasks: 'Tasks',
26438
- totalNum: 'TotalNum',
26439
- };
26440
- }
26441
-
26442
- static types(): { [key: string]: any } {
26443
- return {
26444
- pageNum: 'number',
26445
- pageSize: 'number',
26446
- tasks: { 'type': 'array', 'itemType': ListCurrentTasksForResourceGroupResponseBodyDataTasks },
26447
- totalNum: 'number',
26448
- };
26449
- }
26450
-
26451
- constructor(map?: { [key: string]: any }) {
26452
- super(map);
26453
- }
26454
- }
26455
-
26456
- export class ListCurrentUsageForResourceGroupResponseBodyData extends $tea.Model {
26457
- recodeTime?: number;
26458
- usage?: number;
26459
- static names(): { [key: string]: string } {
26460
- return {
26461
- recodeTime: 'RecodeTime',
26462
- usage: 'Usage',
26463
- };
26464
- }
26465
-
26466
- static types(): { [key: string]: any } {
26467
- return {
26468
- recodeTime: 'number',
26469
- usage: 'number',
26470
- };
26471
- }
26472
-
26473
- constructor(map?: { [key: string]: any }) {
26474
- super(map);
26475
- }
26476
- }
26477
-
26478
27072
  export class ListDIProjectConfigResponseBodyData extends $tea.Model {
26479
27073
  config?: string;
26480
27074
  static names(): { [key: string]: string } {
@@ -28142,6 +28736,52 @@ export class ListDeploymentsResponseBodyData extends $tea.Model {
28142
28736
  }
28143
28737
  }
28144
28738
 
28739
+ export class ListEnabledExtensionsForProjectResponseBodyExtensions extends $tea.Model {
28740
+ createUser?: string;
28741
+ extensionCode?: string;
28742
+ extensionDesc?: string;
28743
+ extensionName?: string;
28744
+ gmtCreate?: number;
28745
+ gmtModified?: number;
28746
+ modifyUser?: string;
28747
+ owner?: string;
28748
+ parameterSetting?: string;
28749
+ tenantId?: number;
28750
+ static names(): { [key: string]: string } {
28751
+ return {
28752
+ createUser: 'CreateUser',
28753
+ extensionCode: 'ExtensionCode',
28754
+ extensionDesc: 'ExtensionDesc',
28755
+ extensionName: 'ExtensionName',
28756
+ gmtCreate: 'GmtCreate',
28757
+ gmtModified: 'GmtModified',
28758
+ modifyUser: 'ModifyUser',
28759
+ owner: 'Owner',
28760
+ parameterSetting: 'ParameterSetting',
28761
+ tenantId: 'TenantId',
28762
+ };
28763
+ }
28764
+
28765
+ static types(): { [key: string]: any } {
28766
+ return {
28767
+ createUser: 'string',
28768
+ extensionCode: 'string',
28769
+ extensionDesc: 'string',
28770
+ extensionName: 'string',
28771
+ gmtCreate: 'number',
28772
+ gmtModified: 'number',
28773
+ modifyUser: 'string',
28774
+ owner: 'string',
28775
+ parameterSetting: 'string',
28776
+ tenantId: 'number',
28777
+ };
28778
+ }
28779
+
28780
+ constructor(map?: { [key: string]: any }) {
28781
+ super(map);
28782
+ }
28783
+ }
28784
+
28145
28785
  export class ListExtensionsResponseBodyPagingInfoExtensionsBindEventList extends $tea.Model {
28146
28786
  eventCode?: string;
28147
28787
  eventName?: string;
@@ -28516,68 +29156,6 @@ export class ListFoldersResponseBodyData extends $tea.Model {
28516
29156
  }
28517
29157
  }
28518
29158
 
28519
- export class ListHistoryTasksForResourceGroupResponseBodyDataTasks extends $tea.Model {
28520
- concurrency?: number;
28521
- projectName?: string;
28522
- status?: number;
28523
- taskId?: string;
28524
- taskName?: string;
28525
- taskType?: number;
28526
- static names(): { [key: string]: string } {
28527
- return {
28528
- concurrency: 'Concurrency',
28529
- projectName: 'ProjectName',
28530
- status: 'Status',
28531
- taskId: 'TaskId',
28532
- taskName: 'TaskName',
28533
- taskType: 'TaskType',
28534
- };
28535
- }
28536
-
28537
- static types(): { [key: string]: any } {
28538
- return {
28539
- concurrency: 'number',
28540
- projectName: 'string',
28541
- status: 'number',
28542
- taskId: 'string',
28543
- taskName: 'string',
28544
- taskType: 'number',
28545
- };
28546
- }
28547
-
28548
- constructor(map?: { [key: string]: any }) {
28549
- super(map);
28550
- }
28551
- }
28552
-
28553
- export class ListHistoryTasksForResourceGroupResponseBodyData extends $tea.Model {
28554
- pageNum?: number;
28555
- pageSize?: number;
28556
- tasks?: ListHistoryTasksForResourceGroupResponseBodyDataTasks[];
28557
- totalNum?: number;
28558
- static names(): { [key: string]: string } {
28559
- return {
28560
- pageNum: 'PageNum',
28561
- pageSize: 'PageSize',
28562
- tasks: 'Tasks',
28563
- totalNum: 'TotalNum',
28564
- };
28565
- }
28566
-
28567
- static types(): { [key: string]: any } {
28568
- return {
28569
- pageNum: 'number',
28570
- pageSize: 'number',
28571
- tasks: { 'type': 'array', 'itemType': ListHistoryTasksForResourceGroupResponseBodyDataTasks },
28572
- totalNum: 'number',
28573
- };
28574
- }
28575
-
28576
- constructor(map?: { [key: string]: any }) {
28577
- super(map);
28578
- }
28579
- }
28580
-
28581
29159
  export class ListInnerNodesResponseBodyPagingNodes extends $tea.Model {
28582
29160
  baselineId?: number;
28583
29161
  businessId?: number;
@@ -29653,7 +30231,53 @@ export class ListProjectRolesResponseBodyProjectRoleList extends $tea.Model {
29653
30231
  }
29654
30232
  }
29655
30233
 
30234
+ export class ListProjectsRequestTags extends $tea.Model {
30235
+ key?: string;
30236
+ value?: string;
30237
+ static names(): { [key: string]: string } {
30238
+ return {
30239
+ key: 'Key',
30240
+ value: 'Value',
30241
+ };
30242
+ }
30243
+
30244
+ static types(): { [key: string]: any } {
30245
+ return {
30246
+ key: 'string',
30247
+ value: 'string',
30248
+ };
30249
+ }
30250
+
30251
+ constructor(map?: { [key: string]: any }) {
30252
+ super(map);
30253
+ }
30254
+ }
30255
+
30256
+ export class ListProjectsResponseBodyPageResultProjectListTags extends $tea.Model {
30257
+ key?: string;
30258
+ value?: string;
30259
+ static names(): { [key: string]: string } {
30260
+ return {
30261
+ key: 'Key',
30262
+ value: 'Value',
30263
+ };
30264
+ }
30265
+
30266
+ static types(): { [key: string]: any } {
30267
+ return {
30268
+ key: 'string',
30269
+ value: 'string',
30270
+ };
30271
+ }
30272
+
30273
+ constructor(map?: { [key: string]: any }) {
30274
+ super(map);
30275
+ }
30276
+ }
30277
+
29656
30278
  export class ListProjectsResponseBodyPageResultProjectList extends $tea.Model {
30279
+ disableDevelopment?: boolean;
30280
+ isDefault?: number;
29657
30281
  projectDescription?: string;
29658
30282
  projectId?: number;
29659
30283
  projectIdentifier?: string;
@@ -29661,8 +30285,14 @@ export class ListProjectsResponseBodyPageResultProjectList extends $tea.Model {
29661
30285
  projectOwnerBaseId?: string;
29662
30286
  projectStatus?: number;
29663
30287
  projectStatusCode?: string;
30288
+ resourceManagerResourceGroupId?: string;
30289
+ tablePrivacyMode?: number;
30290
+ tags?: ListProjectsResponseBodyPageResultProjectListTags[];
30291
+ useProxyOdpsAccount?: boolean;
29664
30292
  static names(): { [key: string]: string } {
29665
30293
  return {
30294
+ disableDevelopment: 'DisableDevelopment',
30295
+ isDefault: 'IsDefault',
29666
30296
  projectDescription: 'ProjectDescription',
29667
30297
  projectId: 'ProjectId',
29668
30298
  projectIdentifier: 'ProjectIdentifier',
@@ -29670,11 +30300,17 @@ export class ListProjectsResponseBodyPageResultProjectList extends $tea.Model {
29670
30300
  projectOwnerBaseId: 'ProjectOwnerBaseId',
29671
30301
  projectStatus: 'ProjectStatus',
29672
30302
  projectStatusCode: 'ProjectStatusCode',
30303
+ resourceManagerResourceGroupId: 'ResourceManagerResourceGroupId',
30304
+ tablePrivacyMode: 'TablePrivacyMode',
30305
+ tags: 'Tags',
30306
+ useProxyOdpsAccount: 'UseProxyOdpsAccount',
29673
30307
  };
29674
30308
  }
29675
30309
 
29676
30310
  static types(): { [key: string]: any } {
29677
30311
  return {
30312
+ disableDevelopment: 'boolean',
30313
+ isDefault: 'number',
29678
30314
  projectDescription: 'string',
29679
30315
  projectId: 'number',
29680
30316
  projectIdentifier: 'string',
@@ -29682,6 +30318,10 @@ export class ListProjectsResponseBodyPageResultProjectList extends $tea.Model {
29682
30318
  projectOwnerBaseId: 'string',
29683
30319
  projectStatus: 'number',
29684
30320
  projectStatusCode: 'string',
30321
+ resourceManagerResourceGroupId: 'string',
30322
+ tablePrivacyMode: 'number',
30323
+ tags: { 'type': 'array', 'itemType': ListProjectsResponseBodyPageResultProjectListTags },
30324
+ useProxyOdpsAccount: 'boolean',
29685
30325
  };
29686
30326
  }
29687
30327
 
@@ -30425,6 +31065,50 @@ export class ListRemindsResponseBodyData extends $tea.Model {
30425
31065
  }
30426
31066
  }
30427
31067
 
31068
+ export class ListResourceGroupsRequestTags extends $tea.Model {
31069
+ key?: string;
31070
+ value?: string;
31071
+ static names(): { [key: string]: string } {
31072
+ return {
31073
+ key: 'Key',
31074
+ value: 'Value',
31075
+ };
31076
+ }
31077
+
31078
+ static types(): { [key: string]: any } {
31079
+ return {
31080
+ key: 'string',
31081
+ value: 'string',
31082
+ };
31083
+ }
31084
+
31085
+ constructor(map?: { [key: string]: any }) {
31086
+ super(map);
31087
+ }
31088
+ }
31089
+
31090
+ export class ListResourceGroupsResponseBodyDataTags extends $tea.Model {
31091
+ key?: string;
31092
+ value?: string;
31093
+ static names(): { [key: string]: string } {
31094
+ return {
31095
+ key: 'Key',
31096
+ value: 'Value',
31097
+ };
31098
+ }
31099
+
31100
+ static types(): { [key: string]: any } {
31101
+ return {
31102
+ key: 'string',
31103
+ value: 'string',
31104
+ };
31105
+ }
31106
+
31107
+ constructor(map?: { [key: string]: any }) {
31108
+ super(map);
31109
+ }
31110
+ }
31111
+
30428
31112
  export class ListResourceGroupsResponseBodyData extends $tea.Model {
30429
31113
  bizExtKey?: string;
30430
31114
  cluster?: string;
@@ -30436,9 +31120,11 @@ export class ListResourceGroupsResponseBodyData extends $tea.Model {
30436
31120
  mode?: string;
30437
31121
  name?: string;
30438
31122
  resourceGroupType?: string;
31123
+ resourceManagerResourceGroupId?: string;
30439
31124
  sequence?: number;
30440
31125
  specs?: { [key: string]: any };
30441
31126
  status?: number;
31127
+ tags?: ListResourceGroupsResponseBodyDataTags[];
30442
31128
  tenantId?: number;
30443
31129
  updateTime?: string;
30444
31130
  static names(): { [key: string]: string } {
@@ -30453,9 +31139,11 @@ export class ListResourceGroupsResponseBodyData extends $tea.Model {
30453
31139
  mode: 'Mode',
30454
31140
  name: 'Name',
30455
31141
  resourceGroupType: 'ResourceGroupType',
31142
+ resourceManagerResourceGroupId: 'ResourceManagerResourceGroupId',
30456
31143
  sequence: 'Sequence',
30457
31144
  specs: 'Specs',
30458
31145
  status: 'Status',
31146
+ tags: 'Tags',
30459
31147
  tenantId: 'TenantId',
30460
31148
  updateTime: 'UpdateTime',
30461
31149
  };
@@ -30473,9 +31161,11 @@ export class ListResourceGroupsResponseBodyData extends $tea.Model {
30473
31161
  mode: 'string',
30474
31162
  name: 'string',
30475
31163
  resourceGroupType: 'string',
31164
+ resourceManagerResourceGroupId: 'string',
30476
31165
  sequence: 'number',
30477
31166
  specs: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
30478
31167
  status: 'number',
31168
+ tags: { 'type': 'array', 'itemType': ListResourceGroupsResponseBodyDataTags },
30479
31169
  tenantId: 'number',
30480
31170
  updateTime: 'string',
30481
31171
  };
@@ -30875,28 +31565,6 @@ export class ListTopicsResponseBodyData extends $tea.Model {
30875
31565
  }
30876
31566
  }
30877
31567
 
30878
- export class ListUsageForResourceGroupResponseBodyData extends $tea.Model {
30879
- recodeTime?: number;
30880
- usage?: number;
30881
- static names(): { [key: string]: string } {
30882
- return {
30883
- recodeTime: 'RecodeTime',
30884
- usage: 'Usage',
30885
- };
30886
- }
30887
-
30888
- static types(): { [key: string]: any } {
30889
- return {
30890
- recodeTime: 'number',
30891
- usage: 'number',
30892
- };
30893
- }
30894
-
30895
- constructor(map?: { [key: string]: any }) {
30896
- super(map);
30897
- }
30898
- }
30899
-
30900
31568
  export class QueryDISyncTaskConfigProcessResultResponseBodyData extends $tea.Model {
30901
31569
  message?: string;
30902
31570
  status?: string;
@@ -31331,6 +31999,102 @@ export class TopTenErrorTimesInstanceResponseBodyInstanceErrorRank extends $tea.
31331
31999
  }
31332
32000
  }
31333
32001
 
32002
+ export class UpdateBaselineRequestAlertSettingsDingRobots extends $tea.Model {
32003
+ atAll?: boolean;
32004
+ webUrl?: string;
32005
+ static names(): { [key: string]: string } {
32006
+ return {
32007
+ atAll: 'AtAll',
32008
+ webUrl: 'WebUrl',
32009
+ };
32010
+ }
32011
+
32012
+ static types(): { [key: string]: any } {
32013
+ return {
32014
+ atAll: 'boolean',
32015
+ webUrl: 'string',
32016
+ };
32017
+ }
32018
+
32019
+ constructor(map?: { [key: string]: any }) {
32020
+ super(map);
32021
+ }
32022
+ }
32023
+
32024
+ export class UpdateBaselineRequestAlertSettings extends $tea.Model {
32025
+ alertInterval?: number;
32026
+ alertMaximum?: number;
32027
+ alertMethods?: string[];
32028
+ alertRecipient?: string;
32029
+ alertRecipientType?: string;
32030
+ alertType?: string;
32031
+ baselineAlertEnabled?: boolean;
32032
+ dingRobots?: UpdateBaselineRequestAlertSettingsDingRobots[];
32033
+ silenceEndTime?: string;
32034
+ silenceStartTime?: string;
32035
+ topicTypes?: string[];
32036
+ webhooks?: string[];
32037
+ static names(): { [key: string]: string } {
32038
+ return {
32039
+ alertInterval: 'AlertInterval',
32040
+ alertMaximum: 'AlertMaximum',
32041
+ alertMethods: 'AlertMethods',
32042
+ alertRecipient: 'AlertRecipient',
32043
+ alertRecipientType: 'AlertRecipientType',
32044
+ alertType: 'AlertType',
32045
+ baselineAlertEnabled: 'BaselineAlertEnabled',
32046
+ dingRobots: 'DingRobots',
32047
+ silenceEndTime: 'SilenceEndTime',
32048
+ silenceStartTime: 'SilenceStartTime',
32049
+ topicTypes: 'TopicTypes',
32050
+ webhooks: 'Webhooks',
32051
+ };
32052
+ }
32053
+
32054
+ static types(): { [key: string]: any } {
32055
+ return {
32056
+ alertInterval: 'number',
32057
+ alertMaximum: 'number',
32058
+ alertMethods: { 'type': 'array', 'itemType': 'string' },
32059
+ alertRecipient: 'string',
32060
+ alertRecipientType: 'string',
32061
+ alertType: 'string',
32062
+ baselineAlertEnabled: 'boolean',
32063
+ dingRobots: { 'type': 'array', 'itemType': UpdateBaselineRequestAlertSettingsDingRobots },
32064
+ silenceEndTime: 'string',
32065
+ silenceStartTime: 'string',
32066
+ topicTypes: { 'type': 'array', 'itemType': 'string' },
32067
+ webhooks: { 'type': 'array', 'itemType': 'string' },
32068
+ };
32069
+ }
32070
+
32071
+ constructor(map?: { [key: string]: any }) {
32072
+ super(map);
32073
+ }
32074
+ }
32075
+
32076
+ export class UpdateBaselineRequestOvertimeSettings extends $tea.Model {
32077
+ cycle?: number;
32078
+ time?: string;
32079
+ static names(): { [key: string]: string } {
32080
+ return {
32081
+ cycle: 'Cycle',
32082
+ time: 'Time',
32083
+ };
32084
+ }
32085
+
32086
+ static types(): { [key: string]: any } {
32087
+ return {
32088
+ cycle: 'number',
32089
+ time: 'string',
32090
+ };
32091
+ }
32092
+
32093
+ constructor(map?: { [key: string]: any }) {
32094
+ super(map);
32095
+ }
32096
+ }
32097
+
31334
32098
  export class UpdateDIProjectConfigResponseBodyData extends $tea.Model {
31335
32099
  status?: string;
31336
32100
  static names(): { [key: string]: string } {
@@ -31843,6 +32607,63 @@ export default class Client extends OpenApi {
31843
32607
  return await this.checkMetaTableWithOptions(request, runtime);
31844
32608
  }
31845
32609
 
32610
+ async createBaselineWithOptions(request: CreateBaselineRequest, runtime: $Util.RuntimeOptions): Promise<CreateBaselineResponse> {
32611
+ Util.validateModel(request);
32612
+ let body : {[key: string ]: any} = { };
32613
+ if (!Util.isUnset(request.alertMarginThreshold)) {
32614
+ body["AlertMarginThreshold"] = request.alertMarginThreshold;
32615
+ }
32616
+
32617
+ if (!Util.isUnset(request.baselineName)) {
32618
+ body["BaselineName"] = request.baselineName;
32619
+ }
32620
+
32621
+ if (!Util.isUnset(request.baselineType)) {
32622
+ body["BaselineType"] = request.baselineType;
32623
+ }
32624
+
32625
+ if (!Util.isUnset(request.overtimeSettings)) {
32626
+ body["OvertimeSettings"] = request.overtimeSettings;
32627
+ }
32628
+
32629
+ if (!Util.isUnset(request.owner)) {
32630
+ body["Owner"] = request.owner;
32631
+ }
32632
+
32633
+ if (!Util.isUnset(request.priority)) {
32634
+ body["Priority"] = request.priority;
32635
+ }
32636
+
32637
+ if (!Util.isUnset(request.projectId)) {
32638
+ body["ProjectId"] = request.projectId;
32639
+ }
32640
+
32641
+ if (!Util.isUnset(request.taskIds)) {
32642
+ body["TaskIds"] = request.taskIds;
32643
+ }
32644
+
32645
+ let req = new $OpenApi.OpenApiRequest({
32646
+ body: OpenApiUtil.parseToMap(body),
32647
+ });
32648
+ let params = new $OpenApi.Params({
32649
+ action: "CreateBaseline",
32650
+ version: "2020-05-18",
32651
+ protocol: "HTTPS",
32652
+ pathname: "/",
32653
+ method: "POST",
32654
+ authType: "AK",
32655
+ style: "RPC",
32656
+ reqBodyType: "formData",
32657
+ bodyType: "json",
32658
+ });
32659
+ return $tea.cast<CreateBaselineResponse>(await this.callApi(params, req, runtime), new CreateBaselineResponse({}));
32660
+ }
32661
+
32662
+ async createBaseline(request: CreateBaselineRequest): Promise<CreateBaselineResponse> {
32663
+ let runtime = new $Util.RuntimeOptions({ });
32664
+ return await this.createBaselineWithOptions(request, runtime);
32665
+ }
32666
+
31846
32667
  async createBusinessWithOptions(request: CreateBusinessRequest, runtime: $Util.RuntimeOptions): Promise<CreateBusinessResponse> {
31847
32668
  Util.validateModel(request);
31848
32669
  let body : {[key: string ]: any} = { };
@@ -32688,7 +33509,7 @@ export default class Client extends OpenApi {
32688
33509
  credentialType = "access_key";
32689
33510
  }
32690
33511
 
32691
- let authConfig = new $RPC.Config({
33512
+ let authConfig = new $OpenApi.Config({
32692
33513
  accessKeyId: accessKeyId,
32693
33514
  accessKeySecret: accessKeySecret,
32694
33515
  securityToken: securityToken,
@@ -32719,28 +33540,28 @@ export default class Client extends OpenApi {
32719
33540
  OpenApiUtil.convert(request, createImportMigrationReq);
32720
33541
  if (!Util.isUnset(request.packageFileObject)) {
32721
33542
  authResponse = await authClient.authorizeFileUploadWithOptions(authRequest, runtime);
32722
- ossConfig.accessKeyId = authResponse.accessKeyId;
32723
- ossConfig.endpoint = OpenApiUtil.getEndpoint(authResponse.endpoint, authResponse.useAccelerate, this._endpointType);
33543
+ ossConfig.accessKeyId = authResponse.body.accessKeyId;
33544
+ ossConfig.endpoint = OpenApiUtil.getEndpoint(authResponse.body.endpoint, authResponse.body.useAccelerate, this._endpointType);
32724
33545
  ossClient = new OSS(ossConfig);
32725
33546
  fileObj = new $FileForm.FileField({
32726
- filename: authResponse.objectKey,
33547
+ filename: authResponse.body.objectKey,
32727
33548
  content: request.packageFileObject,
32728
33549
  contentType: "",
32729
33550
  });
32730
33551
  ossHeader = new $OSS.PostObjectRequestHeader({
32731
- accessKeyId: authResponse.accessKeyId,
32732
- policy: authResponse.encodedPolicy,
32733
- signature: authResponse.signature,
32734
- key: authResponse.objectKey,
33552
+ accessKeyId: authResponse.body.accessKeyId,
33553
+ policy: authResponse.body.encodedPolicy,
33554
+ signature: authResponse.body.signature,
33555
+ key: authResponse.body.objectKey,
32735
33556
  file: fileObj,
32736
33557
  successActionStatus: "201",
32737
33558
  });
32738
33559
  uploadRequest = new $OSS.PostObjectRequest({
32739
- bucketName: authResponse.bucket,
33560
+ bucketName: authResponse.body.bucket,
32740
33561
  header: ossHeader,
32741
33562
  });
32742
33563
  await ossClient.postObject(uploadRequest, ossRuntime);
32743
- createImportMigrationReq.packageFile = `http://${authResponse.bucket}.${authResponse.endpoint}/${authResponse.objectKey}`;
33564
+ createImportMigrationReq.packageFile = `http://${authResponse.body.bucket}.${authResponse.body.endpoint}/${authResponse.body.objectKey}`;
32744
33565
  }
32745
33566
 
32746
33567
  let createImportMigrationResp = await this.createImportMigrationWithOptions(createImportMigrationReq, runtime);
@@ -33242,6 +34063,10 @@ export default class Client extends OpenApi {
33242
34063
  body["RobotUrls"] = request.robotUrls;
33243
34064
  }
33244
34065
 
34066
+ if (!Util.isUnset(request.webhooks)) {
34067
+ body["Webhooks"] = request.webhooks;
34068
+ }
34069
+
33245
34070
  let req = new $OpenApi.OpenApiRequest({
33246
34071
  body: OpenApiUtil.parseToMap(body),
33247
34072
  });
@@ -33526,6 +34351,39 @@ export default class Client extends OpenApi {
33526
34351
  return await this.createUdfFileWithOptions(request, runtime);
33527
34352
  }
33528
34353
 
34354
+ async deleteBaselineWithOptions(request: DeleteBaselineRequest, runtime: $Util.RuntimeOptions): Promise<DeleteBaselineResponse> {
34355
+ Util.validateModel(request);
34356
+ let body : {[key: string ]: any} = { };
34357
+ if (!Util.isUnset(request.baselineId)) {
34358
+ body["BaselineId"] = request.baselineId;
34359
+ }
34360
+
34361
+ if (!Util.isUnset(request.projectId)) {
34362
+ body["ProjectId"] = request.projectId;
34363
+ }
34364
+
34365
+ let req = new $OpenApi.OpenApiRequest({
34366
+ body: OpenApiUtil.parseToMap(body),
34367
+ });
34368
+ let params = new $OpenApi.Params({
34369
+ action: "DeleteBaseline",
34370
+ version: "2020-05-18",
34371
+ protocol: "HTTPS",
34372
+ pathname: "/",
34373
+ method: "POST",
34374
+ authType: "AK",
34375
+ style: "RPC",
34376
+ reqBodyType: "formData",
34377
+ bodyType: "json",
34378
+ });
34379
+ return $tea.cast<DeleteBaselineResponse>(await this.callApi(params, req, runtime), new DeleteBaselineResponse({}));
34380
+ }
34381
+
34382
+ async deleteBaseline(request: DeleteBaselineRequest): Promise<DeleteBaselineResponse> {
34383
+ let runtime = new $Util.RuntimeOptions({ });
34384
+ return await this.deleteBaselineWithOptions(request, runtime);
34385
+ }
34386
+
33529
34387
  async deleteBusinessWithOptions(request: DeleteBusinessRequest, runtime: $Util.RuntimeOptions): Promise<DeleteBusinessResponse> {
33530
34388
  Util.validateModel(request);
33531
34389
  let body : {[key: string ]: any} = { };
@@ -34464,6 +35322,39 @@ export default class Client extends OpenApi {
34464
35322
  return await this.generateDISyncTaskConfigForUpdatingWithOptions(request, runtime);
34465
35323
  }
34466
35324
 
35325
+ async getBaselineWithOptions(request: GetBaselineRequest, runtime: $Util.RuntimeOptions): Promise<GetBaselineResponse> {
35326
+ Util.validateModel(request);
35327
+ let body : {[key: string ]: any} = { };
35328
+ if (!Util.isUnset(request.baselineId)) {
35329
+ body["BaselineId"] = request.baselineId;
35330
+ }
35331
+
35332
+ if (!Util.isUnset(request.projectId)) {
35333
+ body["ProjectId"] = request.projectId;
35334
+ }
35335
+
35336
+ let req = new $OpenApi.OpenApiRequest({
35337
+ body: OpenApiUtil.parseToMap(body),
35338
+ });
35339
+ let params = new $OpenApi.Params({
35340
+ action: "GetBaseline",
35341
+ version: "2020-05-18",
35342
+ protocol: "HTTPS",
35343
+ pathname: "/",
35344
+ method: "POST",
35345
+ authType: "AK",
35346
+ style: "RPC",
35347
+ reqBodyType: "formData",
35348
+ bodyType: "json",
35349
+ });
35350
+ return $tea.cast<GetBaselineResponse>(await this.callApi(params, req, runtime), new GetBaselineResponse({}));
35351
+ }
35352
+
35353
+ async getBaseline(request: GetBaselineRequest): Promise<GetBaselineResponse> {
35354
+ let runtime = new $Util.RuntimeOptions({ });
35355
+ return await this.getBaselineWithOptions(request, runtime);
35356
+ }
35357
+
34467
35358
  async getBaselineConfigWithOptions(request: GetBaselineConfigRequest, runtime: $Util.RuntimeOptions): Promise<GetBaselineConfigResponse> {
34468
35359
  Util.validateModel(request);
34469
35360
  let body : {[key: string ]: any} = { };
@@ -34703,31 +35594,6 @@ export default class Client extends OpenApi {
34703
35594
  return await this.getDISyncTaskWithOptions(request, runtime);
34704
35595
  }
34705
35596
 
34706
- async getDISyncTaskMetricInfoWithOptions(request: GetDISyncTaskMetricInfoRequest, runtime: $Util.RuntimeOptions): Promise<GetDISyncTaskMetricInfoResponse> {
34707
- Util.validateModel(request);
34708
- let query = OpenApiUtil.query(Util.toMap(request));
34709
- let req = new $OpenApi.OpenApiRequest({
34710
- query: OpenApiUtil.query(query),
34711
- });
34712
- let params = new $OpenApi.Params({
34713
- action: "GetDISyncTaskMetricInfo",
34714
- version: "2020-05-18",
34715
- protocol: "HTTPS",
34716
- pathname: "/",
34717
- method: "GET",
34718
- authType: "AK",
34719
- style: "RPC",
34720
- reqBodyType: "formData",
34721
- bodyType: "json",
34722
- });
34723
- return $tea.cast<GetDISyncTaskMetricInfoResponse>(await this.callApi(params, req, runtime), new GetDISyncTaskMetricInfoResponse({}));
34724
- }
34725
-
34726
- async getDISyncTaskMetricInfo(request: GetDISyncTaskMetricInfoRequest): Promise<GetDISyncTaskMetricInfoResponse> {
34727
- let runtime = new $Util.RuntimeOptions({ });
34728
- return await this.getDISyncTaskMetricInfoWithOptions(request, runtime);
34729
- }
34730
-
34731
35597
  async getDagWithOptions(request: GetDagRequest, runtime: $Util.RuntimeOptions): Promise<GetDagResponse> {
34732
35598
  Util.validateModel(request);
34733
35599
  let body : {[key: string ]: any} = { };
@@ -36849,6 +37715,10 @@ export default class Client extends OpenApi {
36849
37715
  body["AlertUser"] = request.alertUser;
36850
37716
  }
36851
37717
 
37718
+ if (!Util.isUnset(request.baselineId)) {
37719
+ body["BaselineId"] = request.baselineId;
37720
+ }
37721
+
36852
37722
  if (!Util.isUnset(request.beginTime)) {
36853
37723
  body["BeginTime"] = request.beginTime;
36854
37724
  }
@@ -37013,6 +37883,67 @@ export default class Client extends OpenApi {
37013
37883
  return await this.listBaselineStatusesWithOptions(request, runtime);
37014
37884
  }
37015
37885
 
37886
+ async listBaselinesWithOptions(request: ListBaselinesRequest, runtime: $Util.RuntimeOptions): Promise<ListBaselinesResponse> {
37887
+ Util.validateModel(request);
37888
+ let body : {[key: string ]: any} = { };
37889
+ if (!Util.isUnset(request.baselineTypes)) {
37890
+ body["BaselineTypes"] = request.baselineTypes;
37891
+ }
37892
+
37893
+ if (!Util.isUnset(request.enable)) {
37894
+ body["Enable"] = request.enable;
37895
+ }
37896
+
37897
+ if (!Util.isUnset(request.owner)) {
37898
+ body["Owner"] = request.owner;
37899
+ }
37900
+
37901
+ if (!Util.isUnset(request.pageNumber)) {
37902
+ body["PageNumber"] = request.pageNumber;
37903
+ }
37904
+
37905
+ if (!Util.isUnset(request.pageSize)) {
37906
+ body["PageSize"] = request.pageSize;
37907
+ }
37908
+
37909
+ if (!Util.isUnset(request.priority)) {
37910
+ body["Priority"] = request.priority;
37911
+ }
37912
+
37913
+ if (!Util.isUnset(request.projectEnv)) {
37914
+ body["ProjectEnv"] = request.projectEnv;
37915
+ }
37916
+
37917
+ if (!Util.isUnset(request.projectId)) {
37918
+ body["ProjectId"] = request.projectId;
37919
+ }
37920
+
37921
+ if (!Util.isUnset(request.searchText)) {
37922
+ body["SearchText"] = request.searchText;
37923
+ }
37924
+
37925
+ let req = new $OpenApi.OpenApiRequest({
37926
+ body: OpenApiUtil.parseToMap(body),
37927
+ });
37928
+ let params = new $OpenApi.Params({
37929
+ action: "ListBaselines",
37930
+ version: "2020-05-18",
37931
+ protocol: "HTTPS",
37932
+ pathname: "/",
37933
+ method: "POST",
37934
+ authType: "AK",
37935
+ style: "RPC",
37936
+ reqBodyType: "formData",
37937
+ bodyType: "json",
37938
+ });
37939
+ return $tea.cast<ListBaselinesResponse>(await this.callApi(params, req, runtime), new ListBaselinesResponse({}));
37940
+ }
37941
+
37942
+ async listBaselines(request: ListBaselinesRequest): Promise<ListBaselinesResponse> {
37943
+ let runtime = new $Util.RuntimeOptions({ });
37944
+ return await this.listBaselinesWithOptions(request, runtime);
37945
+ }
37946
+
37016
37947
  async listBusinessWithOptions(request: ListBusinessRequest, runtime: $Util.RuntimeOptions): Promise<ListBusinessResponse> {
37017
37948
  Util.validateModel(request);
37018
37949
  let body : {[key: string ]: any} = { };
@@ -37132,84 +38063,6 @@ export default class Client extends OpenApi {
37132
38063
  return await this.listConnectionsWithOptions(request, runtime);
37133
38064
  }
37134
38065
 
37135
- async listCurrentTasksForResourceGroupWithOptions(request: ListCurrentTasksForResourceGroupRequest, runtime: $Util.RuntimeOptions): Promise<ListCurrentTasksForResourceGroupResponse> {
37136
- Util.validateModel(request);
37137
- let body : {[key: string ]: any} = { };
37138
- if (!Util.isUnset(request.pageNumber)) {
37139
- body["PageNumber"] = request.pageNumber;
37140
- }
37141
-
37142
- if (!Util.isUnset(request.pageSize)) {
37143
- body["PageSize"] = request.pageSize;
37144
- }
37145
-
37146
- if (!Util.isUnset(request.projectEnv)) {
37147
- body["ProjectEnv"] = request.projectEnv;
37148
- }
37149
-
37150
- if (!Util.isUnset(request.resourceGroupIdentifier)) {
37151
- body["ResourceGroupIdentifier"] = request.resourceGroupIdentifier;
37152
- }
37153
-
37154
- if (!Util.isUnset(request.status)) {
37155
- body["Status"] = request.status;
37156
- }
37157
-
37158
- let req = new $OpenApi.OpenApiRequest({
37159
- body: OpenApiUtil.parseToMap(body),
37160
- });
37161
- let params = new $OpenApi.Params({
37162
- action: "ListCurrentTasksForResourceGroup",
37163
- version: "2020-05-18",
37164
- protocol: "HTTPS",
37165
- pathname: "/",
37166
- method: "POST",
37167
- authType: "AK",
37168
- style: "RPC",
37169
- reqBodyType: "formData",
37170
- bodyType: "json",
37171
- });
37172
- return $tea.cast<ListCurrentTasksForResourceGroupResponse>(await this.callApi(params, req, runtime), new ListCurrentTasksForResourceGroupResponse({}));
37173
- }
37174
-
37175
- async listCurrentTasksForResourceGroup(request: ListCurrentTasksForResourceGroupRequest): Promise<ListCurrentTasksForResourceGroupResponse> {
37176
- let runtime = new $Util.RuntimeOptions({ });
37177
- return await this.listCurrentTasksForResourceGroupWithOptions(request, runtime);
37178
- }
37179
-
37180
- async listCurrentUsageForResourceGroupWithOptions(request: ListCurrentUsageForResourceGroupRequest, runtime: $Util.RuntimeOptions): Promise<ListCurrentUsageForResourceGroupResponse> {
37181
- Util.validateModel(request);
37182
- let body : {[key: string ]: any} = { };
37183
- if (!Util.isUnset(request.projectEnv)) {
37184
- body["ProjectEnv"] = request.projectEnv;
37185
- }
37186
-
37187
- if (!Util.isUnset(request.resourceGroupIdentifier)) {
37188
- body["ResourceGroupIdentifier"] = request.resourceGroupIdentifier;
37189
- }
37190
-
37191
- let req = new $OpenApi.OpenApiRequest({
37192
- body: OpenApiUtil.parseToMap(body),
37193
- });
37194
- let params = new $OpenApi.Params({
37195
- action: "ListCurrentUsageForResourceGroup",
37196
- version: "2020-05-18",
37197
- protocol: "HTTPS",
37198
- pathname: "/",
37199
- method: "POST",
37200
- authType: "AK",
37201
- style: "RPC",
37202
- reqBodyType: "formData",
37203
- bodyType: "json",
37204
- });
37205
- return $tea.cast<ListCurrentUsageForResourceGroupResponse>(await this.callApi(params, req, runtime), new ListCurrentUsageForResourceGroupResponse({}));
37206
- }
37207
-
37208
- async listCurrentUsageForResourceGroup(request: ListCurrentUsageForResourceGroupRequest): Promise<ListCurrentUsageForResourceGroupResponse> {
37209
- let runtime = new $Util.RuntimeOptions({ });
37210
- return await this.listCurrentUsageForResourceGroupWithOptions(request, runtime);
37211
- }
37212
-
37213
38066
  async listDIProjectConfigWithOptions(request: ListDIProjectConfigRequest, runtime: $Util.RuntimeOptions): Promise<ListDIProjectConfigResponse> {
37214
38067
  Util.validateModel(request);
37215
38068
  let query = { };
@@ -37730,9 +38583,54 @@ export default class Client extends OpenApi {
37730
38583
  return await this.listDeploymentsWithOptions(request, runtime);
37731
38584
  }
37732
38585
 
38586
+ async listEnabledExtensionsForProjectWithOptions(request: ListEnabledExtensionsForProjectRequest, runtime: $Util.RuntimeOptions): Promise<ListEnabledExtensionsForProjectResponse> {
38587
+ Util.validateModel(request);
38588
+ let body : {[key: string ]: any} = { };
38589
+ if (!Util.isUnset(request.eventCode)) {
38590
+ body["EventCode"] = request.eventCode;
38591
+ }
38592
+
38593
+ if (!Util.isUnset(request.fileType)) {
38594
+ body["FileType"] = request.fileType;
38595
+ }
38596
+
38597
+ if (!Util.isUnset(request.projectId)) {
38598
+ body["ProjectId"] = request.projectId;
38599
+ }
38600
+
38601
+ let req = new $OpenApi.OpenApiRequest({
38602
+ body: OpenApiUtil.parseToMap(body),
38603
+ });
38604
+ let params = new $OpenApi.Params({
38605
+ action: "ListEnabledExtensionsForProject",
38606
+ version: "2020-05-18",
38607
+ protocol: "HTTPS",
38608
+ pathname: "/",
38609
+ method: "POST",
38610
+ authType: "AK",
38611
+ style: "RPC",
38612
+ reqBodyType: "formData",
38613
+ bodyType: "json",
38614
+ });
38615
+ return $tea.cast<ListEnabledExtensionsForProjectResponse>(await this.callApi(params, req, runtime), new ListEnabledExtensionsForProjectResponse({}));
38616
+ }
38617
+
38618
+ async listEnabledExtensionsForProject(request: ListEnabledExtensionsForProjectRequest): Promise<ListEnabledExtensionsForProjectResponse> {
38619
+ let runtime = new $Util.RuntimeOptions({ });
38620
+ return await this.listEnabledExtensionsForProjectWithOptions(request, runtime);
38621
+ }
38622
+
37733
38623
  async listExtensionsWithOptions(request: ListExtensionsRequest, runtime: $Util.RuntimeOptions): Promise<ListExtensionsResponse> {
37734
38624
  Util.validateModel(request);
37735
- let query = OpenApiUtil.query(Util.toMap(request));
38625
+ let query = { };
38626
+ if (!Util.isUnset(request.pageNumber)) {
38627
+ query["PageNumber"] = request.pageNumber;
38628
+ }
38629
+
38630
+ if (!Util.isUnset(request.pageSize)) {
38631
+ query["PageSize"] = request.pageSize;
38632
+ }
38633
+
37736
38634
  let req = new $OpenApi.OpenApiRequest({
37737
38635
  query: OpenApiUtil.query(query),
37738
38636
  });
@@ -37741,7 +38639,7 @@ export default class Client extends OpenApi {
37741
38639
  version: "2020-05-18",
37742
38640
  protocol: "HTTPS",
37743
38641
  pathname: "/",
37744
- method: "GET",
38642
+ method: "POST",
37745
38643
  authType: "AK",
37746
38644
  style: "RPC",
37747
38645
  reqBodyType: "formData",
@@ -37959,55 +38857,6 @@ export default class Client extends OpenApi {
37959
38857
  return await this.listFoldersWithOptions(request, runtime);
37960
38858
  }
37961
38859
 
37962
- async listHistoryTasksForResourceGroupWithOptions(request: ListHistoryTasksForResourceGroupRequest, runtime: $Util.RuntimeOptions): Promise<ListHistoryTasksForResourceGroupResponse> {
37963
- Util.validateModel(request);
37964
- let body : {[key: string ]: any} = { };
37965
- if (!Util.isUnset(request.endTime)) {
37966
- body["EndTime"] = request.endTime;
37967
- }
37968
-
37969
- if (!Util.isUnset(request.pageNumber)) {
37970
- body["PageNumber"] = request.pageNumber;
37971
- }
37972
-
37973
- if (!Util.isUnset(request.pageSize)) {
37974
- body["PageSize"] = request.pageSize;
37975
- }
37976
-
37977
- if (!Util.isUnset(request.projectEnv)) {
37978
- body["ProjectEnv"] = request.projectEnv;
37979
- }
37980
-
37981
- if (!Util.isUnset(request.resourceGroupIdentifier)) {
37982
- body["ResourceGroupIdentifier"] = request.resourceGroupIdentifier;
37983
- }
37984
-
37985
- if (!Util.isUnset(request.startTime)) {
37986
- body["StartTime"] = request.startTime;
37987
- }
37988
-
37989
- let req = new $OpenApi.OpenApiRequest({
37990
- body: OpenApiUtil.parseToMap(body),
37991
- });
37992
- let params = new $OpenApi.Params({
37993
- action: "ListHistoryTasksForResourceGroup",
37994
- version: "2020-05-18",
37995
- protocol: "HTTPS",
37996
- pathname: "/",
37997
- method: "POST",
37998
- authType: "AK",
37999
- style: "RPC",
38000
- reqBodyType: "formData",
38001
- bodyType: "json",
38002
- });
38003
- return $tea.cast<ListHistoryTasksForResourceGroupResponse>(await this.callApi(params, req, runtime), new ListHistoryTasksForResourceGroupResponse({}));
38004
- }
38005
-
38006
- async listHistoryTasksForResourceGroup(request: ListHistoryTasksForResourceGroupRequest): Promise<ListHistoryTasksForResourceGroupResponse> {
38007
- let runtime = new $Util.RuntimeOptions({ });
38008
- return await this.listHistoryTasksForResourceGroupWithOptions(request, runtime);
38009
- }
38010
-
38011
38860
  async listInnerNodesWithOptions(request: ListInnerNodesRequest, runtime: $Util.RuntimeOptions): Promise<ListInnerNodesResponse> {
38012
38861
  Util.validateModel(request);
38013
38862
  let body : {[key: string ]: any} = { };
@@ -38186,6 +39035,10 @@ export default class Client extends OpenApi {
38186
39035
  body["ProjectId"] = request.projectId;
38187
39036
  }
38188
39037
 
39038
+ if (!Util.isUnset(request.status)) {
39039
+ body["Status"] = request.status;
39040
+ }
39041
+
38189
39042
  let req = new $OpenApi.OpenApiRequest({
38190
39043
  body: OpenApiUtil.parseToMap(body),
38191
39044
  });
@@ -38705,8 +39558,14 @@ export default class Client extends OpenApi {
38705
39558
  return await this.listProjectRolesWithOptions(request, runtime);
38706
39559
  }
38707
39560
 
38708
- async listProjectsWithOptions(request: ListProjectsRequest, runtime: $Util.RuntimeOptions): Promise<ListProjectsResponse> {
38709
- Util.validateModel(request);
39561
+ async listProjectsWithOptions(tmpReq: ListProjectsRequest, runtime: $Util.RuntimeOptions): Promise<ListProjectsResponse> {
39562
+ Util.validateModel(tmpReq);
39563
+ let request = new ListProjectsShrinkRequest({ });
39564
+ OpenApiUtil.convert(tmpReq, request);
39565
+ if (!Util.isUnset(tmpReq.tags)) {
39566
+ request.tagsShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.tags, "Tags", "json");
39567
+ }
39568
+
38710
39569
  let query = { };
38711
39570
  if (!Util.isUnset(request.pageNumber)) {
38712
39571
  query["PageNumber"] = request.pageNumber;
@@ -38716,6 +39575,14 @@ export default class Client extends OpenApi {
38716
39575
  query["PageSize"] = request.pageSize;
38717
39576
  }
38718
39577
 
39578
+ if (!Util.isUnset(request.resourceManagerResourceGroupId)) {
39579
+ query["ResourceManagerResourceGroupId"] = request.resourceManagerResourceGroupId;
39580
+ }
39581
+
39582
+ if (!Util.isUnset(request.tagsShrink)) {
39583
+ query["Tags"] = request.tagsShrink;
39584
+ }
39585
+
38719
39586
  let req = new $OpenApi.OpenApiRequest({
38720
39587
  query: OpenApiUtil.query(query),
38721
39588
  });
@@ -38979,8 +39846,14 @@ export default class Client extends OpenApi {
38979
39846
  return await this.listRemindsWithOptions(request, runtime);
38980
39847
  }
38981
39848
 
38982
- async listResourceGroupsWithOptions(request: ListResourceGroupsRequest, runtime: $Util.RuntimeOptions): Promise<ListResourceGroupsResponse> {
38983
- Util.validateModel(request);
39849
+ async listResourceGroupsWithOptions(tmpReq: ListResourceGroupsRequest, runtime: $Util.RuntimeOptions): Promise<ListResourceGroupsResponse> {
39850
+ Util.validateModel(tmpReq);
39851
+ let request = new ListResourceGroupsShrinkRequest({ });
39852
+ OpenApiUtil.convert(tmpReq, request);
39853
+ if (!Util.isUnset(tmpReq.tags)) {
39854
+ request.tagsShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.tags, "Tags", "json");
39855
+ }
39856
+
38984
39857
  let query = { };
38985
39858
  if (!Util.isUnset(request.bizExtKey)) {
38986
39859
  query["BizExtKey"] = request.bizExtKey;
@@ -38994,6 +39867,14 @@ export default class Client extends OpenApi {
38994
39867
  query["ResourceGroupType"] = request.resourceGroupType;
38995
39868
  }
38996
39869
 
39870
+ if (!Util.isUnset(request.resourceManagerResourceGroupId)) {
39871
+ query["ResourceManagerResourceGroupId"] = request.resourceManagerResourceGroupId;
39872
+ }
39873
+
39874
+ if (!Util.isUnset(request.tagsShrink)) {
39875
+ query["Tags"] = request.tagsShrink;
39876
+ }
39877
+
38997
39878
  let req = new $OpenApi.OpenApiRequest({
38998
39879
  query: OpenApiUtil.query(query),
38999
39880
  });
@@ -39242,30 +40123,22 @@ export default class Client extends OpenApi {
39242
40123
  return await this.listTopicsWithOptions(request, runtime);
39243
40124
  }
39244
40125
 
39245
- async listUsageForResourceGroupWithOptions(request: ListUsageForResourceGroupRequest, runtime: $Util.RuntimeOptions): Promise<ListUsageForResourceGroupResponse> {
40126
+ async offlineNodeWithOptions(request: OfflineNodeRequest, runtime: $Util.RuntimeOptions): Promise<OfflineNodeResponse> {
39246
40127
  Util.validateModel(request);
39247
40128
  let body : {[key: string ]: any} = { };
39248
- if (!Util.isUnset(request.endTime)) {
39249
- body["EndTime"] = request.endTime;
39250
- }
39251
-
39252
- if (!Util.isUnset(request.projectEnv)) {
39253
- body["ProjectEnv"] = request.projectEnv;
39254
- }
39255
-
39256
- if (!Util.isUnset(request.resourceGroupIdentifier)) {
39257
- body["ResourceGroupIdentifier"] = request.resourceGroupIdentifier;
40129
+ if (!Util.isUnset(request.nodeId)) {
40130
+ body["NodeId"] = request.nodeId;
39258
40131
  }
39259
40132
 
39260
- if (!Util.isUnset(request.startTime)) {
39261
- body["StartTime"] = request.startTime;
40133
+ if (!Util.isUnset(request.projectId)) {
40134
+ body["ProjectId"] = request.projectId;
39262
40135
  }
39263
40136
 
39264
40137
  let req = new $OpenApi.OpenApiRequest({
39265
40138
  body: OpenApiUtil.parseToMap(body),
39266
40139
  });
39267
40140
  let params = new $OpenApi.Params({
39268
- action: "ListUsageForResourceGroup",
40141
+ action: "OfflineNode",
39269
40142
  version: "2020-05-18",
39270
40143
  protocol: "HTTPS",
39271
40144
  pathname: "/",
@@ -39275,12 +40148,12 @@ export default class Client extends OpenApi {
39275
40148
  reqBodyType: "formData",
39276
40149
  bodyType: "json",
39277
40150
  });
39278
- return $tea.cast<ListUsageForResourceGroupResponse>(await this.callApi(params, req, runtime), new ListUsageForResourceGroupResponse({}));
40151
+ return $tea.cast<OfflineNodeResponse>(await this.callApi(params, req, runtime), new OfflineNodeResponse({}));
39279
40152
  }
39280
40153
 
39281
- async listUsageForResourceGroup(request: ListUsageForResourceGroupRequest): Promise<ListUsageForResourceGroupResponse> {
40154
+ async offlineNode(request: OfflineNodeRequest): Promise<OfflineNodeResponse> {
39282
40155
  let runtime = new $Util.RuntimeOptions({ });
39283
- return await this.listUsageForResourceGroupWithOptions(request, runtime);
40156
+ return await this.offlineNodeWithOptions(request, runtime);
39284
40157
  }
39285
40158
 
39286
40159
  async publishDataServiceApiWithOptions(request: PublishDataServiceApiRequest, runtime: $Util.RuntimeOptions): Promise<PublishDataServiceApiResponse> {
@@ -40413,6 +41286,93 @@ export default class Client extends OpenApi {
40413
41286
  return await this.topTenErrorTimesInstanceWithOptions(request, runtime);
40414
41287
  }
40415
41288
 
41289
+ async updateBaselineWithOptions(tmpReq: UpdateBaselineRequest, runtime: $Util.RuntimeOptions): Promise<UpdateBaselineResponse> {
41290
+ Util.validateModel(tmpReq);
41291
+ let request = new UpdateBaselineShrinkRequest({ });
41292
+ OpenApiUtil.convert(tmpReq, request);
41293
+ if (!Util.isUnset(tmpReq.alertSettings)) {
41294
+ request.alertSettingsShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.alertSettings, "AlertSettings", "json");
41295
+ }
41296
+
41297
+ if (!Util.isUnset(tmpReq.overtimeSettings)) {
41298
+ request.overtimeSettingsShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.overtimeSettings, "OvertimeSettings", "json");
41299
+ }
41300
+
41301
+ let body : {[key: string ]: any} = { };
41302
+ if (!Util.isUnset(request.alertEnabled)) {
41303
+ body["AlertEnabled"] = request.alertEnabled;
41304
+ }
41305
+
41306
+ if (!Util.isUnset(request.alertMarginThreshold)) {
41307
+ body["AlertMarginThreshold"] = request.alertMarginThreshold;
41308
+ }
41309
+
41310
+ if (!Util.isUnset(request.alertSettingsShrink)) {
41311
+ body["AlertSettings"] = request.alertSettingsShrink;
41312
+ }
41313
+
41314
+ if (!Util.isUnset(request.baselineId)) {
41315
+ body["BaselineId"] = request.baselineId;
41316
+ }
41317
+
41318
+ if (!Util.isUnset(request.baselineName)) {
41319
+ body["BaselineName"] = request.baselineName;
41320
+ }
41321
+
41322
+ if (!Util.isUnset(request.baselineType)) {
41323
+ body["BaselineType"] = request.baselineType;
41324
+ }
41325
+
41326
+ if (!Util.isUnset(request.enabled)) {
41327
+ body["Enabled"] = request.enabled;
41328
+ }
41329
+
41330
+ if (!Util.isUnset(request.overtimeSettingsShrink)) {
41331
+ body["OvertimeSettings"] = request.overtimeSettingsShrink;
41332
+ }
41333
+
41334
+ if (!Util.isUnset(request.owner)) {
41335
+ body["Owner"] = request.owner;
41336
+ }
41337
+
41338
+ if (!Util.isUnset(request.priority)) {
41339
+ body["Priority"] = request.priority;
41340
+ }
41341
+
41342
+ if (!Util.isUnset(request.projectId)) {
41343
+ body["ProjectId"] = request.projectId;
41344
+ }
41345
+
41346
+ if (!Util.isUnset(request.removeTaskIds)) {
41347
+ body["RemoveTaskIds"] = request.removeTaskIds;
41348
+ }
41349
+
41350
+ if (!Util.isUnset(request.taskIds)) {
41351
+ body["TaskIds"] = request.taskIds;
41352
+ }
41353
+
41354
+ let req = new $OpenApi.OpenApiRequest({
41355
+ body: OpenApiUtil.parseToMap(body),
41356
+ });
41357
+ let params = new $OpenApi.Params({
41358
+ action: "UpdateBaseline",
41359
+ version: "2020-05-18",
41360
+ protocol: "HTTPS",
41361
+ pathname: "/",
41362
+ method: "POST",
41363
+ authType: "AK",
41364
+ style: "RPC",
41365
+ reqBodyType: "formData",
41366
+ bodyType: "json",
41367
+ });
41368
+ return $tea.cast<UpdateBaselineResponse>(await this.callApi(params, req, runtime), new UpdateBaselineResponse({}));
41369
+ }
41370
+
41371
+ async updateBaseline(request: UpdateBaselineRequest): Promise<UpdateBaselineResponse> {
41372
+ let runtime = new $Util.RuntimeOptions({ });
41373
+ return await this.updateBaselineWithOptions(request, runtime);
41374
+ }
41375
+
40416
41376
  async updateBusinessWithOptions(request: UpdateBusinessRequest, runtime: $Util.RuntimeOptions): Promise<UpdateBusinessResponse> {
40417
41377
  Util.validateModel(request);
40418
41378
  let body : {[key: string ]: any} = { };
@@ -41372,6 +42332,10 @@ export default class Client extends OpenApi {
41372
42332
  body["UseFlag"] = request.useFlag;
41373
42333
  }
41374
42334
 
42335
+ if (!Util.isUnset(request.webhooks)) {
42336
+ body["Webhooks"] = request.webhooks;
42337
+ }
42338
+
41375
42339
  let req = new $OpenApi.OpenApiRequest({
41376
42340
  body: OpenApiUtil.parseToMap(body),
41377
42341
  });