@alicloud/dataworks-public20200518 4.3.6 → 4.3.7

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/dist/client.js CHANGED
@@ -4988,6 +4988,58 @@ class GetDeploymentResponse extends $tea.Model {
4988
4988
  }
4989
4989
  }
4990
4990
  exports.GetDeploymentResponse = GetDeploymentResponse;
4991
+ class GetExtensionRequest extends $tea.Model {
4992
+ constructor(map) {
4993
+ super(map);
4994
+ }
4995
+ static names() {
4996
+ return {
4997
+ extensionCode: 'ExtensionCode',
4998
+ };
4999
+ }
5000
+ static types() {
5001
+ return {
5002
+ extensionCode: 'string',
5003
+ };
5004
+ }
5005
+ }
5006
+ exports.GetExtensionRequest = GetExtensionRequest;
5007
+ class GetExtensionResponseBody extends $tea.Model {
5008
+ constructor(map) {
5009
+ super(map);
5010
+ }
5011
+ static names() {
5012
+ return {
5013
+ extension: 'Extension',
5014
+ requestId: 'RequestId',
5015
+ };
5016
+ }
5017
+ static types() {
5018
+ return {
5019
+ extension: GetExtensionResponseBodyExtension,
5020
+ requestId: 'string',
5021
+ };
5022
+ }
5023
+ }
5024
+ exports.GetExtensionResponseBody = GetExtensionResponseBody;
5025
+ class GetExtensionResponse extends $tea.Model {
5026
+ constructor(map) {
5027
+ super(map);
5028
+ }
5029
+ static names() {
5030
+ return {
5031
+ headers: 'headers',
5032
+ body: 'body',
5033
+ };
5034
+ }
5035
+ static types() {
5036
+ return {
5037
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
5038
+ body: GetExtensionResponseBody,
5039
+ };
5040
+ }
5041
+ }
5042
+ exports.GetExtensionResponse = GetExtensionResponse;
4991
5043
  class GetFileRequest extends $tea.Model {
4992
5044
  constructor(map) {
4993
5045
  super(map);
@@ -7308,6 +7360,60 @@ class GetOpSensitiveDataResponse extends $tea.Model {
7308
7360
  }
7309
7361
  }
7310
7362
  exports.GetOpSensitiveDataResponse = GetOpSensitiveDataResponse;
7363
+ class GetOptionValueForProjectRequest extends $tea.Model {
7364
+ constructor(map) {
7365
+ super(map);
7366
+ }
7367
+ static names() {
7368
+ return {
7369
+ extensionCode: 'ExtensionCode',
7370
+ projectId: 'ProjectId',
7371
+ };
7372
+ }
7373
+ static types() {
7374
+ return {
7375
+ extensionCode: 'string',
7376
+ projectId: 'string',
7377
+ };
7378
+ }
7379
+ }
7380
+ exports.GetOptionValueForProjectRequest = GetOptionValueForProjectRequest;
7381
+ class GetOptionValueForProjectResponseBody extends $tea.Model {
7382
+ constructor(map) {
7383
+ super(map);
7384
+ }
7385
+ static names() {
7386
+ return {
7387
+ optionValue: 'OptionValue',
7388
+ requestId: 'RequestId',
7389
+ };
7390
+ }
7391
+ static types() {
7392
+ return {
7393
+ optionValue: 'string',
7394
+ requestId: 'string',
7395
+ };
7396
+ }
7397
+ }
7398
+ exports.GetOptionValueForProjectResponseBody = GetOptionValueForProjectResponseBody;
7399
+ class GetOptionValueForProjectResponse extends $tea.Model {
7400
+ constructor(map) {
7401
+ super(map);
7402
+ }
7403
+ static names() {
7404
+ return {
7405
+ headers: 'headers',
7406
+ body: 'body',
7407
+ };
7408
+ }
7409
+ static types() {
7410
+ return {
7411
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
7412
+ body: GetOptionValueForProjectResponseBody,
7413
+ };
7414
+ }
7415
+ }
7416
+ exports.GetOptionValueForProjectResponse = GetOptionValueForProjectResponse;
7311
7417
  class GetPermissionApplyOrderDetailRequest extends $tea.Model {
7312
7418
  constructor(map) {
7313
7419
  super(map);
@@ -8436,6 +8542,134 @@ class ListConnectionsResponse extends $tea.Model {
8436
8542
  }
8437
8543
  }
8438
8544
  exports.ListConnectionsResponse = ListConnectionsResponse;
8545
+ class ListCurrentTasksForResourceGroupRequest extends $tea.Model {
8546
+ constructor(map) {
8547
+ super(map);
8548
+ }
8549
+ static names() {
8550
+ return {
8551
+ pageNumber: 'PageNumber',
8552
+ pageSize: 'PageSize',
8553
+ projectEnv: 'ProjectEnv',
8554
+ resourceGroupIdentifier: 'ResourceGroupIdentifier',
8555
+ status: 'Status',
8556
+ };
8557
+ }
8558
+ static types() {
8559
+ return {
8560
+ pageNumber: 'number',
8561
+ pageSize: 'number',
8562
+ projectEnv: 'string',
8563
+ resourceGroupIdentifier: 'string',
8564
+ status: 'number',
8565
+ };
8566
+ }
8567
+ }
8568
+ exports.ListCurrentTasksForResourceGroupRequest = ListCurrentTasksForResourceGroupRequest;
8569
+ class ListCurrentTasksForResourceGroupResponseBody extends $tea.Model {
8570
+ constructor(map) {
8571
+ super(map);
8572
+ }
8573
+ static names() {
8574
+ return {
8575
+ data: 'Data',
8576
+ errorCode: 'ErrorCode',
8577
+ errorMessage: 'ErrorMessage',
8578
+ httpStatusCode: 'HttpStatusCode',
8579
+ requestId: 'RequestId',
8580
+ success: 'Success',
8581
+ };
8582
+ }
8583
+ static types() {
8584
+ return {
8585
+ data: ListCurrentTasksForResourceGroupResponseBodyData,
8586
+ errorCode: 'string',
8587
+ errorMessage: 'string',
8588
+ httpStatusCode: 'number',
8589
+ requestId: 'string',
8590
+ success: 'boolean',
8591
+ };
8592
+ }
8593
+ }
8594
+ exports.ListCurrentTasksForResourceGroupResponseBody = ListCurrentTasksForResourceGroupResponseBody;
8595
+ class ListCurrentTasksForResourceGroupResponse extends $tea.Model {
8596
+ constructor(map) {
8597
+ super(map);
8598
+ }
8599
+ static names() {
8600
+ return {
8601
+ headers: 'headers',
8602
+ body: 'body',
8603
+ };
8604
+ }
8605
+ static types() {
8606
+ return {
8607
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
8608
+ body: ListCurrentTasksForResourceGroupResponseBody,
8609
+ };
8610
+ }
8611
+ }
8612
+ exports.ListCurrentTasksForResourceGroupResponse = ListCurrentTasksForResourceGroupResponse;
8613
+ class ListCurrentUsageForResourceGroupRequest extends $tea.Model {
8614
+ constructor(map) {
8615
+ super(map);
8616
+ }
8617
+ static names() {
8618
+ return {
8619
+ projectEnv: 'ProjectEnv',
8620
+ resourceGroupIdentifier: 'ResourceGroupIdentifier',
8621
+ };
8622
+ }
8623
+ static types() {
8624
+ return {
8625
+ projectEnv: 'string',
8626
+ resourceGroupIdentifier: 'string',
8627
+ };
8628
+ }
8629
+ }
8630
+ exports.ListCurrentUsageForResourceGroupRequest = ListCurrentUsageForResourceGroupRequest;
8631
+ class ListCurrentUsageForResourceGroupResponseBody extends $tea.Model {
8632
+ constructor(map) {
8633
+ super(map);
8634
+ }
8635
+ static names() {
8636
+ return {
8637
+ data: 'Data',
8638
+ errorMessage: 'ErrorMessage',
8639
+ httpStatusCode: 'HttpStatusCode',
8640
+ requestId: 'RequestId',
8641
+ success: 'Success',
8642
+ };
8643
+ }
8644
+ static types() {
8645
+ return {
8646
+ data: ListCurrentUsageForResourceGroupResponseBodyData,
8647
+ errorMessage: 'string',
8648
+ httpStatusCode: 'number',
8649
+ requestId: 'string',
8650
+ success: 'boolean',
8651
+ };
8652
+ }
8653
+ }
8654
+ exports.ListCurrentUsageForResourceGroupResponseBody = ListCurrentUsageForResourceGroupResponseBody;
8655
+ class ListCurrentUsageForResourceGroupResponse extends $tea.Model {
8656
+ constructor(map) {
8657
+ super(map);
8658
+ }
8659
+ static names() {
8660
+ return {
8661
+ headers: 'headers',
8662
+ body: 'body',
8663
+ };
8664
+ }
8665
+ static types() {
8666
+ return {
8667
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
8668
+ body: ListCurrentUsageForResourceGroupResponseBody,
8669
+ };
8670
+ }
8671
+ }
8672
+ exports.ListCurrentUsageForResourceGroupResponse = ListCurrentUsageForResourceGroupResponse;
8439
8673
  class ListDIProjectConfigRequest extends $tea.Model {
8440
8674
  constructor(map) {
8441
8675
  super(map);
@@ -9164,6 +9398,60 @@ class ListDeploymentsResponse extends $tea.Model {
9164
9398
  }
9165
9399
  }
9166
9400
  exports.ListDeploymentsResponse = ListDeploymentsResponse;
9401
+ class ListExtensionsRequest extends $tea.Model {
9402
+ constructor(map) {
9403
+ super(map);
9404
+ }
9405
+ static names() {
9406
+ return {
9407
+ pageNumber: 'PageNumber',
9408
+ pageSize: 'PageSize',
9409
+ };
9410
+ }
9411
+ static types() {
9412
+ return {
9413
+ pageNumber: 'number',
9414
+ pageSize: 'number',
9415
+ };
9416
+ }
9417
+ }
9418
+ exports.ListExtensionsRequest = ListExtensionsRequest;
9419
+ class ListExtensionsResponseBody extends $tea.Model {
9420
+ constructor(map) {
9421
+ super(map);
9422
+ }
9423
+ static names() {
9424
+ return {
9425
+ pagingInfo: 'PagingInfo',
9426
+ requestId: 'RequestId',
9427
+ };
9428
+ }
9429
+ static types() {
9430
+ return {
9431
+ pagingInfo: ListExtensionsResponseBodyPagingInfo,
9432
+ requestId: 'string',
9433
+ };
9434
+ }
9435
+ }
9436
+ exports.ListExtensionsResponseBody = ListExtensionsResponseBody;
9437
+ class ListExtensionsResponse extends $tea.Model {
9438
+ constructor(map) {
9439
+ super(map);
9440
+ }
9441
+ static names() {
9442
+ return {
9443
+ headers: 'headers',
9444
+ body: 'body',
9445
+ };
9446
+ }
9447
+ static types() {
9448
+ return {
9449
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
9450
+ body: ListExtensionsResponseBody,
9451
+ };
9452
+ }
9453
+ }
9454
+ exports.ListExtensionsResponse = ListExtensionsResponse;
9167
9455
  class ListFileTypeRequest extends $tea.Model {
9168
9456
  constructor(map) {
9169
9457
  super(map);
@@ -9309,26 +9597,94 @@ class ListFilesRequest extends $tea.Model {
9309
9597
  pageSize: 'PageSize',
9310
9598
  projectId: 'ProjectId',
9311
9599
  projectIdentifier: 'ProjectIdentifier',
9312
- useType: 'UseType',
9600
+ useType: 'UseType',
9601
+ };
9602
+ }
9603
+ static types() {
9604
+ return {
9605
+ fileFolderPath: 'string',
9606
+ fileTypes: 'string',
9607
+ keyword: 'string',
9608
+ nodeId: 'number',
9609
+ owner: 'string',
9610
+ pageNumber: 'number',
9611
+ pageSize: 'number',
9612
+ projectId: 'number',
9613
+ projectIdentifier: 'string',
9614
+ useType: 'string',
9615
+ };
9616
+ }
9617
+ }
9618
+ exports.ListFilesRequest = ListFilesRequest;
9619
+ class ListFilesResponseBody extends $tea.Model {
9620
+ constructor(map) {
9621
+ super(map);
9622
+ }
9623
+ static names() {
9624
+ return {
9625
+ data: 'Data',
9626
+ errorCode: 'ErrorCode',
9627
+ errorMessage: 'ErrorMessage',
9628
+ httpStatusCode: 'HttpStatusCode',
9629
+ requestId: 'RequestId',
9630
+ success: 'Success',
9631
+ };
9632
+ }
9633
+ static types() {
9634
+ return {
9635
+ data: ListFilesResponseBodyData,
9636
+ errorCode: 'string',
9637
+ errorMessage: 'string',
9638
+ httpStatusCode: 'number',
9639
+ requestId: 'string',
9640
+ success: 'boolean',
9641
+ };
9642
+ }
9643
+ }
9644
+ exports.ListFilesResponseBody = ListFilesResponseBody;
9645
+ class ListFilesResponse extends $tea.Model {
9646
+ constructor(map) {
9647
+ super(map);
9648
+ }
9649
+ static names() {
9650
+ return {
9651
+ headers: 'headers',
9652
+ body: 'body',
9653
+ };
9654
+ }
9655
+ static types() {
9656
+ return {
9657
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
9658
+ body: ListFilesResponseBody,
9659
+ };
9660
+ }
9661
+ }
9662
+ exports.ListFilesResponse = ListFilesResponse;
9663
+ class ListFoldersRequest extends $tea.Model {
9664
+ constructor(map) {
9665
+ super(map);
9666
+ }
9667
+ static names() {
9668
+ return {
9669
+ pageNumber: 'PageNumber',
9670
+ pageSize: 'PageSize',
9671
+ parentFolderPath: 'ParentFolderPath',
9672
+ projectId: 'ProjectId',
9673
+ projectIdentifier: 'ProjectIdentifier',
9313
9674
  };
9314
9675
  }
9315
9676
  static types() {
9316
9677
  return {
9317
- fileFolderPath: 'string',
9318
- fileTypes: 'string',
9319
- keyword: 'string',
9320
- nodeId: 'number',
9321
- owner: 'string',
9322
9678
  pageNumber: 'number',
9323
9679
  pageSize: 'number',
9680
+ parentFolderPath: 'string',
9324
9681
  projectId: 'number',
9325
9682
  projectIdentifier: 'string',
9326
- useType: 'string',
9327
9683
  };
9328
9684
  }
9329
9685
  }
9330
- exports.ListFilesRequest = ListFilesRequest;
9331
- class ListFilesResponseBody extends $tea.Model {
9686
+ exports.ListFoldersRequest = ListFoldersRequest;
9687
+ class ListFoldersResponseBody extends $tea.Model {
9332
9688
  constructor(map) {
9333
9689
  super(map);
9334
9690
  }
@@ -9344,7 +9700,7 @@ class ListFilesResponseBody extends $tea.Model {
9344
9700
  }
9345
9701
  static types() {
9346
9702
  return {
9347
- data: ListFilesResponseBodyData,
9703
+ data: ListFoldersResponseBodyData,
9348
9704
  errorCode: 'string',
9349
9705
  errorMessage: 'string',
9350
9706
  httpStatusCode: 'number',
@@ -9353,8 +9709,8 @@ class ListFilesResponseBody extends $tea.Model {
9353
9709
  };
9354
9710
  }
9355
9711
  }
9356
- exports.ListFilesResponseBody = ListFilesResponseBody;
9357
- class ListFilesResponse extends $tea.Model {
9712
+ exports.ListFoldersResponseBody = ListFoldersResponseBody;
9713
+ class ListFoldersResponse extends $tea.Model {
9358
9714
  constructor(map) {
9359
9715
  super(map);
9360
9716
  }
@@ -9367,36 +9723,38 @@ class ListFilesResponse extends $tea.Model {
9367
9723
  static types() {
9368
9724
  return {
9369
9725
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
9370
- body: ListFilesResponseBody,
9726
+ body: ListFoldersResponseBody,
9371
9727
  };
9372
9728
  }
9373
9729
  }
9374
- exports.ListFilesResponse = ListFilesResponse;
9375
- class ListFoldersRequest extends $tea.Model {
9730
+ exports.ListFoldersResponse = ListFoldersResponse;
9731
+ class ListHistoryTasksForResourceGroupRequest extends $tea.Model {
9376
9732
  constructor(map) {
9377
9733
  super(map);
9378
9734
  }
9379
9735
  static names() {
9380
9736
  return {
9737
+ endTime: 'EndTime',
9381
9738
  pageNumber: 'PageNumber',
9382
9739
  pageSize: 'PageSize',
9383
- parentFolderPath: 'ParentFolderPath',
9384
- projectId: 'ProjectId',
9385
- projectIdentifier: 'ProjectIdentifier',
9740
+ projectEnv: 'ProjectEnv',
9741
+ resourceGroupIdentifier: 'ResourceGroupIdentifier',
9742
+ startTime: 'StartTime',
9386
9743
  };
9387
9744
  }
9388
9745
  static types() {
9389
9746
  return {
9747
+ endTime: 'number',
9390
9748
  pageNumber: 'number',
9391
9749
  pageSize: 'number',
9392
- parentFolderPath: 'string',
9393
- projectId: 'number',
9394
- projectIdentifier: 'string',
9750
+ projectEnv: 'string',
9751
+ resourceGroupIdentifier: 'string',
9752
+ startTime: 'number',
9395
9753
  };
9396
9754
  }
9397
9755
  }
9398
- exports.ListFoldersRequest = ListFoldersRequest;
9399
- class ListFoldersResponseBody extends $tea.Model {
9756
+ exports.ListHistoryTasksForResourceGroupRequest = ListHistoryTasksForResourceGroupRequest;
9757
+ class ListHistoryTasksForResourceGroupResponseBody extends $tea.Model {
9400
9758
  constructor(map) {
9401
9759
  super(map);
9402
9760
  }
@@ -9412,7 +9770,7 @@ class ListFoldersResponseBody extends $tea.Model {
9412
9770
  }
9413
9771
  static types() {
9414
9772
  return {
9415
- data: ListFoldersResponseBodyData,
9773
+ data: ListHistoryTasksForResourceGroupResponseBodyData,
9416
9774
  errorCode: 'string',
9417
9775
  errorMessage: 'string',
9418
9776
  httpStatusCode: 'number',
@@ -9421,8 +9779,8 @@ class ListFoldersResponseBody extends $tea.Model {
9421
9779
  };
9422
9780
  }
9423
9781
  }
9424
- exports.ListFoldersResponseBody = ListFoldersResponseBody;
9425
- class ListFoldersResponse extends $tea.Model {
9782
+ exports.ListHistoryTasksForResourceGroupResponseBody = ListHistoryTasksForResourceGroupResponseBody;
9783
+ class ListHistoryTasksForResourceGroupResponse extends $tea.Model {
9426
9784
  constructor(map) {
9427
9785
  super(map);
9428
9786
  }
@@ -9435,11 +9793,11 @@ class ListFoldersResponse extends $tea.Model {
9435
9793
  static types() {
9436
9794
  return {
9437
9795
  headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
9438
- body: ListFoldersResponseBody,
9796
+ body: ListHistoryTasksForResourceGroupResponseBody,
9439
9797
  };
9440
9798
  }
9441
9799
  }
9442
- exports.ListFoldersResponse = ListFoldersResponse;
9800
+ exports.ListHistoryTasksForResourceGroupResponse = ListHistoryTasksForResourceGroupResponse;
9443
9801
  class ListInstanceAmountRequest extends $tea.Model {
9444
9802
  constructor(map) {
9445
9803
  super(map);
@@ -11022,6 +11380,72 @@ class ListTopicsResponse extends $tea.Model {
11022
11380
  }
11023
11381
  }
11024
11382
  exports.ListTopicsResponse = ListTopicsResponse;
11383
+ class ListUsageForResourceGroupRequest extends $tea.Model {
11384
+ constructor(map) {
11385
+ super(map);
11386
+ }
11387
+ static names() {
11388
+ return {
11389
+ endTime: 'EndTime',
11390
+ projectEnv: 'ProjectEnv',
11391
+ resourceGroupIdentifier: 'ResourceGroupIdentifier',
11392
+ startTime: 'StartTime',
11393
+ };
11394
+ }
11395
+ static types() {
11396
+ return {
11397
+ endTime: 'number',
11398
+ projectEnv: 'string',
11399
+ resourceGroupIdentifier: 'string',
11400
+ startTime: 'number',
11401
+ };
11402
+ }
11403
+ }
11404
+ exports.ListUsageForResourceGroupRequest = ListUsageForResourceGroupRequest;
11405
+ class ListUsageForResourceGroupResponseBody extends $tea.Model {
11406
+ constructor(map) {
11407
+ super(map);
11408
+ }
11409
+ static names() {
11410
+ return {
11411
+ data: 'Data',
11412
+ errorCode: 'ErrorCode',
11413
+ errorMessage: 'ErrorMessage',
11414
+ httpStatusCode: 'HttpStatusCode',
11415
+ requestId: 'RequestId',
11416
+ success: 'Success',
11417
+ };
11418
+ }
11419
+ static types() {
11420
+ return {
11421
+ data: { 'type': 'array', 'itemType': ListUsageForResourceGroupResponseBodyData },
11422
+ errorCode: 'string',
11423
+ errorMessage: 'string',
11424
+ httpStatusCode: 'number',
11425
+ requestId: 'string',
11426
+ success: 'boolean',
11427
+ };
11428
+ }
11429
+ }
11430
+ exports.ListUsageForResourceGroupResponseBody = ListUsageForResourceGroupResponseBody;
11431
+ class ListUsageForResourceGroupResponse extends $tea.Model {
11432
+ constructor(map) {
11433
+ super(map);
11434
+ }
11435
+ static names() {
11436
+ return {
11437
+ headers: 'headers',
11438
+ body: 'body',
11439
+ };
11440
+ }
11441
+ static types() {
11442
+ return {
11443
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
11444
+ body: ListUsageForResourceGroupResponseBody,
11445
+ };
11446
+ }
11447
+ }
11448
+ exports.ListUsageForResourceGroupResponse = ListUsageForResourceGroupResponse;
11025
11449
  class PublishDataServiceApiRequest extends $tea.Model {
11026
11450
  constructor(map) {
11027
11451
  super(map);
@@ -16010,6 +16434,78 @@ class GetDeploymentResponseBodyData extends $tea.Model {
16010
16434
  }
16011
16435
  }
16012
16436
  exports.GetDeploymentResponseBodyData = GetDeploymentResponseBodyData;
16437
+ class GetExtensionResponseBodyExtensionBindEventList extends $tea.Model {
16438
+ constructor(map) {
16439
+ super(map);
16440
+ }
16441
+ static names() {
16442
+ return {
16443
+ eventCode: 'EventCode',
16444
+ eventName: 'EventName',
16445
+ };
16446
+ }
16447
+ static types() {
16448
+ return {
16449
+ eventCode: 'string',
16450
+ eventName: 'string',
16451
+ };
16452
+ }
16453
+ }
16454
+ exports.GetExtensionResponseBodyExtensionBindEventList = GetExtensionResponseBodyExtensionBindEventList;
16455
+ class GetExtensionResponseBodyExtensionEventCategoryList extends $tea.Model {
16456
+ constructor(map) {
16457
+ super(map);
16458
+ }
16459
+ static names() {
16460
+ return {
16461
+ categoryCode: 'CategoryCode',
16462
+ categoryName: 'CategoryName',
16463
+ };
16464
+ }
16465
+ static types() {
16466
+ return {
16467
+ categoryCode: 'string',
16468
+ categoryName: 'string',
16469
+ };
16470
+ }
16471
+ }
16472
+ exports.GetExtensionResponseBodyExtensionEventCategoryList = GetExtensionResponseBodyExtensionEventCategoryList;
16473
+ class GetExtensionResponseBodyExtension extends $tea.Model {
16474
+ constructor(map) {
16475
+ super(map);
16476
+ }
16477
+ static names() {
16478
+ return {
16479
+ bindEventList: 'BindEventList',
16480
+ detailUrl: 'DetailUrl',
16481
+ eventCategoryList: 'EventCategoryList',
16482
+ extensionCode: 'ExtensionCode',
16483
+ extensionDesc: 'ExtensionDesc',
16484
+ extensionName: 'ExtensionName',
16485
+ helpDocUrl: 'HelpDocUrl',
16486
+ optionSetting: 'OptionSetting',
16487
+ parameterSetting: 'ParameterSetting',
16488
+ projectTesting: 'ProjectTesting',
16489
+ status: 'Status',
16490
+ };
16491
+ }
16492
+ static types() {
16493
+ return {
16494
+ bindEventList: { 'type': 'array', 'itemType': GetExtensionResponseBodyExtensionBindEventList },
16495
+ detailUrl: 'string',
16496
+ eventCategoryList: { 'type': 'array', 'itemType': GetExtensionResponseBodyExtensionEventCategoryList },
16497
+ extensionCode: 'string',
16498
+ extensionDesc: 'string',
16499
+ extensionName: 'string',
16500
+ helpDocUrl: 'string',
16501
+ optionSetting: 'string',
16502
+ parameterSetting: 'string',
16503
+ projectTesting: 'number',
16504
+ status: 'number',
16505
+ };
16506
+ }
16507
+ }
16508
+ exports.GetExtensionResponseBodyExtension = GetExtensionResponseBodyExtension;
16013
16509
  class GetFileResponseBodyDataFile extends $tea.Model {
16014
16510
  constructor(map) {
16015
16511
  super(map);
@@ -19020,6 +19516,74 @@ class ListConnectionsResponseBodyData extends $tea.Model {
19020
19516
  }
19021
19517
  }
19022
19518
  exports.ListConnectionsResponseBodyData = ListConnectionsResponseBodyData;
19519
+ class ListCurrentTasksForResourceGroupResponseBodyDataTasks extends $tea.Model {
19520
+ constructor(map) {
19521
+ super(map);
19522
+ }
19523
+ static names() {
19524
+ return {
19525
+ concurrency: 'Concurrency',
19526
+ projectName: 'ProjectName',
19527
+ status: 'Status',
19528
+ taskId: 'TaskId',
19529
+ taskName: 'TaskName',
19530
+ taskSource: 'TaskSource',
19531
+ taskType: 'TaskType',
19532
+ };
19533
+ }
19534
+ static types() {
19535
+ return {
19536
+ concurrency: 'string',
19537
+ projectName: 'string',
19538
+ status: 'number',
19539
+ taskId: 'string',
19540
+ taskName: 'string',
19541
+ taskSource: 'string',
19542
+ taskType: 'number',
19543
+ };
19544
+ }
19545
+ }
19546
+ exports.ListCurrentTasksForResourceGroupResponseBodyDataTasks = ListCurrentTasksForResourceGroupResponseBodyDataTasks;
19547
+ class ListCurrentTasksForResourceGroupResponseBodyData extends $tea.Model {
19548
+ constructor(map) {
19549
+ super(map);
19550
+ }
19551
+ static names() {
19552
+ return {
19553
+ pageNum: 'PageNum',
19554
+ pageSize: 'PageSize',
19555
+ tasks: 'Tasks',
19556
+ totalNum: 'TotalNum',
19557
+ };
19558
+ }
19559
+ static types() {
19560
+ return {
19561
+ pageNum: 'number',
19562
+ pageSize: 'number',
19563
+ tasks: { 'type': 'array', 'itemType': ListCurrentTasksForResourceGroupResponseBodyDataTasks },
19564
+ totalNum: 'number',
19565
+ };
19566
+ }
19567
+ }
19568
+ exports.ListCurrentTasksForResourceGroupResponseBodyData = ListCurrentTasksForResourceGroupResponseBodyData;
19569
+ class ListCurrentUsageForResourceGroupResponseBodyData extends $tea.Model {
19570
+ constructor(map) {
19571
+ super(map);
19572
+ }
19573
+ static names() {
19574
+ return {
19575
+ recodeTime: 'RecodeTime',
19576
+ usage: 'Usage',
19577
+ };
19578
+ }
19579
+ static types() {
19580
+ return {
19581
+ recodeTime: 'number',
19582
+ usage: 'number',
19583
+ };
19584
+ }
19585
+ }
19586
+ exports.ListCurrentUsageForResourceGroupResponseBodyData = ListCurrentUsageForResourceGroupResponseBodyData;
19023
19587
  class ListDIProjectConfigResponseBodyData extends $tea.Model {
19024
19588
  constructor(map) {
19025
19589
  super(map);
@@ -20212,37 +20776,103 @@ class ListDeploymentsResponseBodyDataDeployments extends $tea.Model {
20212
20776
  }
20213
20777
  static names() {
20214
20778
  return {
20215
- createTime: 'CreateTime',
20216
- creator: 'Creator',
20217
- errorMessage: 'ErrorMessage',
20218
- executeTime: 'ExecuteTime',
20219
- executor: 'Executor',
20220
- id: 'Id',
20221
- name: 'Name',
20779
+ createTime: 'CreateTime',
20780
+ creator: 'Creator',
20781
+ errorMessage: 'ErrorMessage',
20782
+ executeTime: 'ExecuteTime',
20783
+ executor: 'Executor',
20784
+ id: 'Id',
20785
+ name: 'Name',
20786
+ status: 'Status',
20787
+ };
20788
+ }
20789
+ static types() {
20790
+ return {
20791
+ createTime: 'number',
20792
+ creator: 'string',
20793
+ errorMessage: 'string',
20794
+ executeTime: 'number',
20795
+ executor: 'string',
20796
+ id: 'number',
20797
+ name: 'string',
20798
+ status: 'number',
20799
+ };
20800
+ }
20801
+ }
20802
+ exports.ListDeploymentsResponseBodyDataDeployments = ListDeploymentsResponseBodyDataDeployments;
20803
+ class ListDeploymentsResponseBodyData extends $tea.Model {
20804
+ constructor(map) {
20805
+ super(map);
20806
+ }
20807
+ static names() {
20808
+ return {
20809
+ deployments: 'Deployments',
20810
+ pageNumber: 'PageNumber',
20811
+ pageSize: 'PageSize',
20812
+ totalCount: 'TotalCount',
20813
+ };
20814
+ }
20815
+ static types() {
20816
+ return {
20817
+ deployments: { 'type': 'array', 'itemType': ListDeploymentsResponseBodyDataDeployments },
20818
+ pageNumber: 'number',
20819
+ pageSize: 'number',
20820
+ totalCount: 'number',
20821
+ };
20822
+ }
20823
+ }
20824
+ exports.ListDeploymentsResponseBodyData = ListDeploymentsResponseBodyData;
20825
+ class ListExtensionsResponseBodyPagingInfoExtensionsBindEventList extends $tea.Model {
20826
+ constructor(map) {
20827
+ super(map);
20828
+ }
20829
+ static names() {
20830
+ return {
20831
+ eventCode: 'EventCode',
20832
+ eventName: 'EventName',
20833
+ };
20834
+ }
20835
+ static types() {
20836
+ return {
20837
+ eventCode: 'string',
20838
+ eventName: 'string',
20839
+ };
20840
+ }
20841
+ }
20842
+ exports.ListExtensionsResponseBodyPagingInfoExtensionsBindEventList = ListExtensionsResponseBodyPagingInfoExtensionsBindEventList;
20843
+ class ListExtensionsResponseBodyPagingInfoExtensions extends $tea.Model {
20844
+ constructor(map) {
20845
+ super(map);
20846
+ }
20847
+ static names() {
20848
+ return {
20849
+ bindEventList: 'BindEventList',
20850
+ extensionCode: 'ExtensionCode',
20851
+ extensionDesc: 'ExtensionDesc',
20852
+ extensionName: 'ExtensionName',
20853
+ owner: 'Owner',
20222
20854
  status: 'Status',
20223
20855
  };
20224
20856
  }
20225
20857
  static types() {
20226
20858
  return {
20227
- createTime: 'number',
20228
- creator: 'string',
20229
- errorMessage: 'string',
20230
- executeTime: 'number',
20231
- executor: 'string',
20232
- id: 'number',
20233
- name: 'string',
20859
+ bindEventList: { 'type': 'array', 'itemType': ListExtensionsResponseBodyPagingInfoExtensionsBindEventList },
20860
+ extensionCode: 'string',
20861
+ extensionDesc: 'string',
20862
+ extensionName: 'string',
20863
+ owner: 'string',
20234
20864
  status: 'number',
20235
20865
  };
20236
20866
  }
20237
20867
  }
20238
- exports.ListDeploymentsResponseBodyDataDeployments = ListDeploymentsResponseBodyDataDeployments;
20239
- class ListDeploymentsResponseBodyData extends $tea.Model {
20868
+ exports.ListExtensionsResponseBodyPagingInfoExtensions = ListExtensionsResponseBodyPagingInfoExtensions;
20869
+ class ListExtensionsResponseBodyPagingInfo extends $tea.Model {
20240
20870
  constructor(map) {
20241
20871
  super(map);
20242
20872
  }
20243
20873
  static names() {
20244
20874
  return {
20245
- deployments: 'Deployments',
20875
+ extensions: 'Extensions',
20246
20876
  pageNumber: 'PageNumber',
20247
20877
  pageSize: 'PageSize',
20248
20878
  totalCount: 'TotalCount',
@@ -20250,14 +20880,14 @@ class ListDeploymentsResponseBodyData extends $tea.Model {
20250
20880
  }
20251
20881
  static types() {
20252
20882
  return {
20253
- deployments: { 'type': 'array', 'itemType': ListDeploymentsResponseBodyDataDeployments },
20883
+ extensions: { 'type': 'array', 'itemType': ListExtensionsResponseBodyPagingInfoExtensions },
20254
20884
  pageNumber: 'number',
20255
20885
  pageSize: 'number',
20256
20886
  totalCount: 'number',
20257
20887
  };
20258
20888
  }
20259
20889
  }
20260
- exports.ListDeploymentsResponseBodyData = ListDeploymentsResponseBodyData;
20890
+ exports.ListExtensionsResponseBodyPagingInfo = ListExtensionsResponseBodyPagingInfo;
20261
20891
  class ListFileTypeResponseBodyNodeTypeInfoListNodeTypeInfo extends $tea.Model {
20262
20892
  constructor(map) {
20263
20893
  super(map);
@@ -20478,6 +21108,54 @@ class ListFoldersResponseBodyData extends $tea.Model {
20478
21108
  }
20479
21109
  }
20480
21110
  exports.ListFoldersResponseBodyData = ListFoldersResponseBodyData;
21111
+ class ListHistoryTasksForResourceGroupResponseBodyDataTasks extends $tea.Model {
21112
+ constructor(map) {
21113
+ super(map);
21114
+ }
21115
+ static names() {
21116
+ return {
21117
+ concurrency: 'Concurrency',
21118
+ projectName: 'ProjectName',
21119
+ status: 'Status',
21120
+ taskId: 'TaskId',
21121
+ taskName: 'TaskName',
21122
+ taskType: 'TaskType',
21123
+ };
21124
+ }
21125
+ static types() {
21126
+ return {
21127
+ concurrency: 'number',
21128
+ projectName: 'string',
21129
+ status: 'number',
21130
+ taskId: 'string',
21131
+ taskName: 'string',
21132
+ taskType: 'number',
21133
+ };
21134
+ }
21135
+ }
21136
+ exports.ListHistoryTasksForResourceGroupResponseBodyDataTasks = ListHistoryTasksForResourceGroupResponseBodyDataTasks;
21137
+ class ListHistoryTasksForResourceGroupResponseBodyData extends $tea.Model {
21138
+ constructor(map) {
21139
+ super(map);
21140
+ }
21141
+ static names() {
21142
+ return {
21143
+ pageNum: 'PageNum',
21144
+ pageSize: 'PageSize',
21145
+ tasks: 'Tasks',
21146
+ totalNum: 'TotalNum',
21147
+ };
21148
+ }
21149
+ static types() {
21150
+ return {
21151
+ pageNum: 'number',
21152
+ pageSize: 'number',
21153
+ tasks: { 'type': 'array', 'itemType': ListHistoryTasksForResourceGroupResponseBodyDataTasks },
21154
+ totalNum: 'number',
21155
+ };
21156
+ }
21157
+ }
21158
+ exports.ListHistoryTasksForResourceGroupResponseBodyData = ListHistoryTasksForResourceGroupResponseBodyData;
20481
21159
  class ListInstanceAmountResponseBodyInstanceCounts extends $tea.Model {
20482
21160
  constructor(map) {
20483
21161
  super(map);
@@ -21934,6 +22612,24 @@ class ListTopicsResponseBodyData extends $tea.Model {
21934
22612
  }
21935
22613
  }
21936
22614
  exports.ListTopicsResponseBodyData = ListTopicsResponseBodyData;
22615
+ class ListUsageForResourceGroupResponseBodyData extends $tea.Model {
22616
+ constructor(map) {
22617
+ super(map);
22618
+ }
22619
+ static names() {
22620
+ return {
22621
+ recodeTime: 'RecodeTime',
22622
+ usage: 'Usage',
22623
+ };
22624
+ }
22625
+ static types() {
22626
+ return {
22627
+ recodeTime: 'number',
22628
+ usage: 'number',
22629
+ };
22630
+ }
22631
+ }
22632
+ exports.ListUsageForResourceGroupResponseBodyData = ListUsageForResourceGroupResponseBodyData;
21937
22633
  class QueryDISyncTaskConfigProcessResultResponseBodyData extends $tea.Model {
21938
22634
  constructor(map) {
21939
22635
  super(map);
@@ -25308,6 +26004,32 @@ class Client extends openapi_client_1.default {
25308
26004
  let runtime = new $Util.RuntimeOptions({});
25309
26005
  return await this.getDeploymentWithOptions(request, runtime);
25310
26006
  }
26007
+ async getExtensionWithOptions(request, runtime) {
26008
+ tea_util_1.default.validateModel(request);
26009
+ let query = {};
26010
+ if (!tea_util_1.default.isUnset(request.extensionCode)) {
26011
+ query["ExtensionCode"] = request.extensionCode;
26012
+ }
26013
+ let req = new $OpenApi.OpenApiRequest({
26014
+ query: openapi_util_1.default.query(query),
26015
+ });
26016
+ let params = new $OpenApi.Params({
26017
+ action: "GetExtension",
26018
+ version: "2020-05-18",
26019
+ protocol: "HTTPS",
26020
+ pathname: "/",
26021
+ method: "POST",
26022
+ authType: "AK",
26023
+ style: "RPC",
26024
+ reqBodyType: "formData",
26025
+ bodyType: "json",
26026
+ });
26027
+ return $tea.cast(await this.callApi(params, req, runtime), new GetExtensionResponse({}));
26028
+ }
26029
+ async getExtension(request) {
26030
+ let runtime = new $Util.RuntimeOptions({});
26031
+ return await this.getExtensionWithOptions(request, runtime);
26032
+ }
25311
26033
  async getFileWithOptions(request, runtime) {
25312
26034
  tea_util_1.default.validateModel(request);
25313
26035
  let body = {};
@@ -26468,6 +27190,35 @@ class Client extends openapi_client_1.default {
26468
27190
  let runtime = new $Util.RuntimeOptions({});
26469
27191
  return await this.getOpSensitiveDataWithOptions(request, runtime);
26470
27192
  }
27193
+ async getOptionValueForProjectWithOptions(request, runtime) {
27194
+ tea_util_1.default.validateModel(request);
27195
+ let body = {};
27196
+ if (!tea_util_1.default.isUnset(request.extensionCode)) {
27197
+ body["ExtensionCode"] = request.extensionCode;
27198
+ }
27199
+ if (!tea_util_1.default.isUnset(request.projectId)) {
27200
+ body["ProjectId"] = request.projectId;
27201
+ }
27202
+ let req = new $OpenApi.OpenApiRequest({
27203
+ body: openapi_util_1.default.parseToMap(body),
27204
+ });
27205
+ let params = new $OpenApi.Params({
27206
+ action: "GetOptionValueForProject",
27207
+ version: "2020-05-18",
27208
+ protocol: "HTTPS",
27209
+ pathname: "/",
27210
+ method: "POST",
27211
+ authType: "AK",
27212
+ style: "RPC",
27213
+ reqBodyType: "formData",
27214
+ bodyType: "json",
27215
+ });
27216
+ return $tea.cast(await this.callApi(params, req, runtime), new GetOptionValueForProjectResponse({}));
27217
+ }
27218
+ async getOptionValueForProject(request) {
27219
+ let runtime = new $Util.RuntimeOptions({});
27220
+ return await this.getOptionValueForProjectWithOptions(request, runtime);
27221
+ }
26471
27222
  async getPermissionApplyOrderDetailWithOptions(request, runtime) {
26472
27223
  tea_util_1.default.validateModel(request);
26473
27224
  let query = {};
@@ -27044,6 +27795,73 @@ class Client extends openapi_client_1.default {
27044
27795
  let runtime = new $Util.RuntimeOptions({});
27045
27796
  return await this.listConnectionsWithOptions(request, runtime);
27046
27797
  }
27798
+ async listCurrentTasksForResourceGroupWithOptions(request, runtime) {
27799
+ tea_util_1.default.validateModel(request);
27800
+ let body = {};
27801
+ if (!tea_util_1.default.isUnset(request.pageNumber)) {
27802
+ body["PageNumber"] = request.pageNumber;
27803
+ }
27804
+ if (!tea_util_1.default.isUnset(request.pageSize)) {
27805
+ body["PageSize"] = request.pageSize;
27806
+ }
27807
+ if (!tea_util_1.default.isUnset(request.projectEnv)) {
27808
+ body["ProjectEnv"] = request.projectEnv;
27809
+ }
27810
+ if (!tea_util_1.default.isUnset(request.resourceGroupIdentifier)) {
27811
+ body["ResourceGroupIdentifier"] = request.resourceGroupIdentifier;
27812
+ }
27813
+ if (!tea_util_1.default.isUnset(request.status)) {
27814
+ body["Status"] = request.status;
27815
+ }
27816
+ let req = new $OpenApi.OpenApiRequest({
27817
+ body: openapi_util_1.default.parseToMap(body),
27818
+ });
27819
+ let params = new $OpenApi.Params({
27820
+ action: "ListCurrentTasksForResourceGroup",
27821
+ version: "2020-05-18",
27822
+ protocol: "HTTPS",
27823
+ pathname: "/",
27824
+ method: "POST",
27825
+ authType: "AK",
27826
+ style: "RPC",
27827
+ reqBodyType: "formData",
27828
+ bodyType: "json",
27829
+ });
27830
+ return $tea.cast(await this.callApi(params, req, runtime), new ListCurrentTasksForResourceGroupResponse({}));
27831
+ }
27832
+ async listCurrentTasksForResourceGroup(request) {
27833
+ let runtime = new $Util.RuntimeOptions({});
27834
+ return await this.listCurrentTasksForResourceGroupWithOptions(request, runtime);
27835
+ }
27836
+ async listCurrentUsageForResourceGroupWithOptions(request, runtime) {
27837
+ tea_util_1.default.validateModel(request);
27838
+ let body = {};
27839
+ if (!tea_util_1.default.isUnset(request.projectEnv)) {
27840
+ body["ProjectEnv"] = request.projectEnv;
27841
+ }
27842
+ if (!tea_util_1.default.isUnset(request.resourceGroupIdentifier)) {
27843
+ body["ResourceGroupIdentifier"] = request.resourceGroupIdentifier;
27844
+ }
27845
+ let req = new $OpenApi.OpenApiRequest({
27846
+ body: openapi_util_1.default.parseToMap(body),
27847
+ });
27848
+ let params = new $OpenApi.Params({
27849
+ action: "ListCurrentUsageForResourceGroup",
27850
+ version: "2020-05-18",
27851
+ protocol: "HTTPS",
27852
+ pathname: "/",
27853
+ method: "POST",
27854
+ authType: "AK",
27855
+ style: "RPC",
27856
+ reqBodyType: "formData",
27857
+ bodyType: "json",
27858
+ });
27859
+ return $tea.cast(await this.callApi(params, req, runtime), new ListCurrentUsageForResourceGroupResponse({}));
27860
+ }
27861
+ async listCurrentUsageForResourceGroup(request) {
27862
+ let runtime = new $Util.RuntimeOptions({});
27863
+ return await this.listCurrentUsageForResourceGroupWithOptions(request, runtime);
27864
+ }
27047
27865
  async listDIProjectConfigWithOptions(request, runtime) {
27048
27866
  tea_util_1.default.validateModel(request);
27049
27867
  let query = {};
@@ -27463,6 +28281,29 @@ class Client extends openapi_client_1.default {
27463
28281
  let runtime = new $Util.RuntimeOptions({});
27464
28282
  return await this.listDeploymentsWithOptions(request, runtime);
27465
28283
  }
28284
+ async listExtensionsWithOptions(request, runtime) {
28285
+ tea_util_1.default.validateModel(request);
28286
+ let query = openapi_util_1.default.query(tea_util_1.default.toMap(request));
28287
+ let req = new $OpenApi.OpenApiRequest({
28288
+ query: openapi_util_1.default.query(query),
28289
+ });
28290
+ let params = new $OpenApi.Params({
28291
+ action: "ListExtensions",
28292
+ version: "2020-05-18",
28293
+ protocol: "HTTPS",
28294
+ pathname: "/",
28295
+ method: "GET",
28296
+ authType: "AK",
28297
+ style: "RPC",
28298
+ reqBodyType: "formData",
28299
+ bodyType: "json",
28300
+ });
28301
+ return $tea.cast(await this.callApi(params, req, runtime), new ListExtensionsResponse({}));
28302
+ }
28303
+ async listExtensions(request) {
28304
+ let runtime = new $Util.RuntimeOptions({});
28305
+ return await this.listExtensionsWithOptions(request, runtime);
28306
+ }
27466
28307
  async listFileTypeWithOptions(request, runtime) {
27467
28308
  tea_util_1.default.validateModel(request);
27468
28309
  let body = {};
@@ -27633,6 +28474,47 @@ class Client extends openapi_client_1.default {
27633
28474
  let runtime = new $Util.RuntimeOptions({});
27634
28475
  return await this.listFoldersWithOptions(request, runtime);
27635
28476
  }
28477
+ async listHistoryTasksForResourceGroupWithOptions(request, runtime) {
28478
+ tea_util_1.default.validateModel(request);
28479
+ let body = {};
28480
+ if (!tea_util_1.default.isUnset(request.endTime)) {
28481
+ body["EndTime"] = request.endTime;
28482
+ }
28483
+ if (!tea_util_1.default.isUnset(request.pageNumber)) {
28484
+ body["PageNumber"] = request.pageNumber;
28485
+ }
28486
+ if (!tea_util_1.default.isUnset(request.pageSize)) {
28487
+ body["PageSize"] = request.pageSize;
28488
+ }
28489
+ if (!tea_util_1.default.isUnset(request.projectEnv)) {
28490
+ body["ProjectEnv"] = request.projectEnv;
28491
+ }
28492
+ if (!tea_util_1.default.isUnset(request.resourceGroupIdentifier)) {
28493
+ body["ResourceGroupIdentifier"] = request.resourceGroupIdentifier;
28494
+ }
28495
+ if (!tea_util_1.default.isUnset(request.startTime)) {
28496
+ body["StartTime"] = request.startTime;
28497
+ }
28498
+ let req = new $OpenApi.OpenApiRequest({
28499
+ body: openapi_util_1.default.parseToMap(body),
28500
+ });
28501
+ let params = new $OpenApi.Params({
28502
+ action: "ListHistoryTasksForResourceGroup",
28503
+ version: "2020-05-18",
28504
+ protocol: "HTTPS",
28505
+ pathname: "/",
28506
+ method: "POST",
28507
+ authType: "AK",
28508
+ style: "RPC",
28509
+ reqBodyType: "formData",
28510
+ bodyType: "json",
28511
+ });
28512
+ return $tea.cast(await this.callApi(params, req, runtime), new ListHistoryTasksForResourceGroupResponse({}));
28513
+ }
28514
+ async listHistoryTasksForResourceGroup(request) {
28515
+ let runtime = new $Util.RuntimeOptions({});
28516
+ return await this.listHistoryTasksForResourceGroupWithOptions(request, runtime);
28517
+ }
27636
28518
  async listInstanceAmountWithOptions(request, runtime) {
27637
28519
  tea_util_1.default.validateModel(request);
27638
28520
  let body = {};
@@ -28502,6 +29384,41 @@ class Client extends openapi_client_1.default {
28502
29384
  let runtime = new $Util.RuntimeOptions({});
28503
29385
  return await this.listTopicsWithOptions(request, runtime);
28504
29386
  }
29387
+ async listUsageForResourceGroupWithOptions(request, runtime) {
29388
+ tea_util_1.default.validateModel(request);
29389
+ let body = {};
29390
+ if (!tea_util_1.default.isUnset(request.endTime)) {
29391
+ body["EndTime"] = request.endTime;
29392
+ }
29393
+ if (!tea_util_1.default.isUnset(request.projectEnv)) {
29394
+ body["ProjectEnv"] = request.projectEnv;
29395
+ }
29396
+ if (!tea_util_1.default.isUnset(request.resourceGroupIdentifier)) {
29397
+ body["ResourceGroupIdentifier"] = request.resourceGroupIdentifier;
29398
+ }
29399
+ if (!tea_util_1.default.isUnset(request.startTime)) {
29400
+ body["StartTime"] = request.startTime;
29401
+ }
29402
+ let req = new $OpenApi.OpenApiRequest({
29403
+ body: openapi_util_1.default.parseToMap(body),
29404
+ });
29405
+ let params = new $OpenApi.Params({
29406
+ action: "ListUsageForResourceGroup",
29407
+ version: "2020-05-18",
29408
+ protocol: "HTTPS",
29409
+ pathname: "/",
29410
+ method: "POST",
29411
+ authType: "AK",
29412
+ style: "RPC",
29413
+ reqBodyType: "formData",
29414
+ bodyType: "json",
29415
+ });
29416
+ return $tea.cast(await this.callApi(params, req, runtime), new ListUsageForResourceGroupResponse({}));
29417
+ }
29418
+ async listUsageForResourceGroup(request) {
29419
+ let runtime = new $Util.RuntimeOptions({});
29420
+ return await this.listUsageForResourceGroupWithOptions(request, runtime);
29421
+ }
28505
29422
  async publishDataServiceApiWithOptions(request, runtime) {
28506
29423
  tea_util_1.default.validateModel(request);
28507
29424
  let body = {};