@alicloud/appstream-center20210901 3.2.0 → 3.2.2

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
@@ -80,7 +80,26 @@ export class AskSessionPackagePriceResponseBodyData extends $dara.Model {
80
80
  }
81
81
 
82
82
  export class AuthorizeInstanceGroupRequestUserMeta extends $dara.Model {
83
+ /**
84
+ * @remarks
85
+ * The AD domain name.
86
+ *
87
+ * @example
88
+ * example.com
89
+ */
83
90
  adDomain?: string;
91
+ /**
92
+ * @remarks
93
+ * The user type.
94
+ *
95
+ * Valid values:
96
+ *
97
+ * * ad: Active Directory (AD) account
98
+ * * simple: convenience account
99
+ *
100
+ * @example
101
+ * simple
102
+ */
84
103
  type?: string;
85
104
  static names(): { [key: string]: string } {
86
105
  return {
@@ -2082,6 +2101,32 @@ export class ListAccessPagesResponseBodyData extends $dara.Model {
2082
2101
  }
2083
2102
  }
2084
2103
 
2104
+ export class ListAppInstanceGroupRequestTag extends $dara.Model {
2105
+ key?: string;
2106
+ value?: string;
2107
+ static names(): { [key: string]: string } {
2108
+ return {
2109
+ key: 'Key',
2110
+ value: 'Value',
2111
+ };
2112
+ }
2113
+
2114
+ static types(): { [key: string]: any } {
2115
+ return {
2116
+ key: 'string',
2117
+ value: 'string',
2118
+ };
2119
+ }
2120
+
2121
+ validate() {
2122
+ super.validate();
2123
+ }
2124
+
2125
+ constructor(map?: { [key: string]: any }) {
2126
+ super(map);
2127
+ }
2128
+ }
2129
+
2085
2130
  export class ListAppInstanceGroupResponseBodyAppInstanceGroupModelsApps extends $dara.Model {
2086
2131
  /**
2087
2132
  * @remarks
@@ -2571,6 +2616,35 @@ export class ListAppInstanceGroupResponseBodyAppInstanceGroupModelsResourceTags
2571
2616
  }
2572
2617
  }
2573
2618
 
2619
+ export class ListAppInstanceGroupResponseBodyAppInstanceGroupModelsTags extends $dara.Model {
2620
+ key?: string;
2621
+ scope?: string;
2622
+ value?: string;
2623
+ static names(): { [key: string]: string } {
2624
+ return {
2625
+ key: 'Key',
2626
+ scope: 'Scope',
2627
+ value: 'Value',
2628
+ };
2629
+ }
2630
+
2631
+ static types(): { [key: string]: any } {
2632
+ return {
2633
+ key: 'string',
2634
+ scope: 'string',
2635
+ value: 'string',
2636
+ };
2637
+ }
2638
+
2639
+ validate() {
2640
+ super.validate();
2641
+ }
2642
+
2643
+ constructor(map?: { [key: string]: any }) {
2644
+ super(map);
2645
+ }
2646
+ }
2647
+
2574
2648
  export class ListAppInstanceGroupResponseBodyAppInstanceGroupModels extends $dara.Model {
2575
2649
  /**
2576
2650
  * @remarks
@@ -2855,6 +2929,7 @@ export class ListAppInstanceGroupResponseBodyAppInstanceGroupModels extends $dar
2855
2929
  * PUBLISHED
2856
2930
  */
2857
2931
  status?: string;
2932
+ tags?: ListAppInstanceGroupResponseBodyAppInstanceGroupModelsTags[];
2858
2933
  static names(): { [key: string]: string } {
2859
2934
  return {
2860
2935
  amount: 'Amount',
@@ -2890,6 +2965,7 @@ export class ListAppInstanceGroupResponseBodyAppInstanceGroupModels extends $dar
2890
2965
  skipUserAuthCheck: 'SkipUserAuthCheck',
2891
2966
  specId: 'SpecId',
2892
2967
  status: 'Status',
2968
+ tags: 'Tags',
2893
2969
  };
2894
2970
  }
2895
2971
 
@@ -2928,6 +3004,7 @@ export class ListAppInstanceGroupResponseBodyAppInstanceGroupModels extends $dar
2928
3004
  skipUserAuthCheck: 'boolean',
2929
3005
  specId: 'string',
2930
3006
  status: 'string',
3007
+ tags: { 'type': 'array', 'itemType': ListAppInstanceGroupResponseBodyAppInstanceGroupModelsTags },
2931
3008
  };
2932
3009
  }
2933
3010
 
@@ -2944,6 +3021,9 @@ export class ListAppInstanceGroupResponseBodyAppInstanceGroupModels extends $dar
2944
3021
  if(Array.isArray(this.resourceTags)) {
2945
3022
  $dara.Model.validateArray(this.resourceTags);
2946
3023
  }
3024
+ if(Array.isArray(this.tags)) {
3025
+ $dara.Model.validateArray(this.tags);
3026
+ }
2947
3027
  super.validate();
2948
3028
  }
2949
3029
 
@@ -5280,7 +5360,18 @@ export class AuthorizeInstanceGroupRequest extends $dara.Model {
5280
5360
  * aig-9ciijz60n4xsv****
5281
5361
  */
5282
5362
  appInstanceGroupId?: string;
5363
+ /**
5364
+ * @remarks
5365
+ * 持久会话ID。
5366
+ *
5367
+ * @example
5368
+ * p-0cc7s3mw2fg4j****
5369
+ */
5283
5370
  appInstancePersistentId?: string;
5371
+ /**
5372
+ * @remarks
5373
+ * The IDs of the users that you want to add to the authorization list of the delivery group. You can specify 1 to 100 user IDs.
5374
+ */
5284
5375
  authorizeUserIds?: string[];
5285
5376
  /**
5286
5377
  * @remarks
@@ -5290,7 +5381,15 @@ export class AuthorizeInstanceGroupRequest extends $dara.Model {
5290
5381
  * CloudApp
5291
5382
  */
5292
5383
  productType?: string;
5384
+ /**
5385
+ * @remarks
5386
+ * The IDs of the users that you want to remove from the authorization list of the delivery group. You can specify 1 to 100 user IDs.
5387
+ */
5293
5388
  unAuthorizeUserIds?: string[];
5389
+ /**
5390
+ * @remarks
5391
+ * The user information.
5392
+ */
5294
5393
  userMeta?: AuthorizeInstanceGroupRequestUserMeta;
5295
5394
  static names(): { [key: string]: string } {
5296
5395
  return {
@@ -5341,7 +5440,18 @@ export class AuthorizeInstanceGroupShrinkRequest extends $dara.Model {
5341
5440
  * aig-9ciijz60n4xsv****
5342
5441
  */
5343
5442
  appInstanceGroupId?: string;
5443
+ /**
5444
+ * @remarks
5445
+ * 持久会话ID。
5446
+ *
5447
+ * @example
5448
+ * p-0cc7s3mw2fg4j****
5449
+ */
5344
5450
  appInstancePersistentId?: string;
5451
+ /**
5452
+ * @remarks
5453
+ * The IDs of the users that you want to add to the authorization list of the delivery group. You can specify 1 to 100 user IDs.
5454
+ */
5345
5455
  authorizeUserIds?: string[];
5346
5456
  /**
5347
5457
  * @remarks
@@ -5351,7 +5461,15 @@ export class AuthorizeInstanceGroupShrinkRequest extends $dara.Model {
5351
5461
  * CloudApp
5352
5462
  */
5353
5463
  productType?: string;
5464
+ /**
5465
+ * @remarks
5466
+ * The IDs of the users that you want to remove from the authorization list of the delivery group. You can specify 1 to 100 user IDs.
5467
+ */
5354
5468
  unAuthorizeUserIds?: string[];
5469
+ /**
5470
+ * @remarks
5471
+ * The user information.
5472
+ */
5355
5473
  userMetaShrink?: string;
5356
5474
  static names(): { [key: string]: string } {
5357
5475
  return {
@@ -6962,6 +7080,14 @@ export class GetAppInstanceGroupResponse extends $dara.Model {
6962
7080
  }
6963
7081
 
6964
7082
  export class GetConnectionTicketRequest extends $dara.Model {
7083
+ /**
7084
+ * @example
7085
+ * INTERNET
7086
+ *
7087
+ * **if can be null:**
7088
+ * true
7089
+ */
7090
+ accessType?: string;
6965
7091
  /**
6966
7092
  * @remarks
6967
7093
  * The application ID.
@@ -7062,6 +7188,7 @@ export class GetConnectionTicketRequest extends $dara.Model {
7062
7188
  taskId?: string;
7063
7189
  static names(): { [key: string]: string } {
7064
7190
  return {
7191
+ accessType: 'AccessType',
7065
7192
  appId: 'AppId',
7066
7193
  appInstanceGroupIdList: 'AppInstanceGroupIdList',
7067
7194
  appInstanceId: 'AppInstanceId',
@@ -7077,6 +7204,7 @@ export class GetConnectionTicketRequest extends $dara.Model {
7077
7204
 
7078
7205
  static types(): { [key: string]: any } {
7079
7206
  return {
7207
+ accessType: 'string',
7080
7208
  appId: 'string',
7081
7209
  appInstanceGroupIdList: { 'type': 'array', 'itemType': 'string' },
7082
7210
  appInstanceId: 'string',
@@ -8265,6 +8393,11 @@ export class ListAppInstanceGroupRequest extends $dara.Model {
8265
8393
  * The status of the delivery groups.
8266
8394
  */
8267
8395
  status?: string[];
8396
+ /**
8397
+ * **if can be null:**
8398
+ * true
8399
+ */
8400
+ tag?: ListAppInstanceGroupRequestTag[];
8268
8401
  static names(): { [key: string]: string } {
8269
8402
  return {
8270
8403
  appCenterImageId: 'AppCenterImageId',
@@ -8278,6 +8411,7 @@ export class ListAppInstanceGroupRequest extends $dara.Model {
8278
8411
  productType: 'ProductType',
8279
8412
  regionId: 'RegionId',
8280
8413
  status: 'Status',
8414
+ tag: 'Tag',
8281
8415
  };
8282
8416
  }
8283
8417
 
@@ -8294,6 +8428,7 @@ export class ListAppInstanceGroupRequest extends $dara.Model {
8294
8428
  productType: 'string',
8295
8429
  regionId: 'string',
8296
8430
  status: { 'type': 'array', 'itemType': 'string' },
8431
+ tag: { 'type': 'array', 'itemType': ListAppInstanceGroupRequestTag },
8297
8432
  };
8298
8433
  }
8299
8434
 
@@ -8301,6 +8436,9 @@ export class ListAppInstanceGroupRequest extends $dara.Model {
8301
8436
  if(Array.isArray(this.status)) {
8302
8437
  $dara.Model.validateArray(this.status);
8303
8438
  }
8439
+ if(Array.isArray(this.tag)) {
8440
+ $dara.Model.validateArray(this.tag);
8441
+ }
8304
8442
  super.validate();
8305
8443
  }
8306
8444
 
@@ -12175,12 +12313,7 @@ export default class Client extends OpenApi {
12175
12313
  reqBodyType: "formData",
12176
12314
  bodyType: "json",
12177
12315
  });
12178
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
12179
- return $dara.cast<AccessPageSetAclResponse>(await this.callApi(params, req, runtime), new AccessPageSetAclResponse({}));
12180
- } else {
12181
- return $dara.cast<AccessPageSetAclResponse>(await this.execute(params, req, runtime), new AccessPageSetAclResponse({}));
12182
- }
12183
-
12316
+ return $dara.cast<AccessPageSetAclResponse>(await this.callApi(params, req, runtime), new AccessPageSetAclResponse({}));
12184
12317
  }
12185
12318
 
12186
12319
  /**
@@ -12238,12 +12371,7 @@ export default class Client extends OpenApi {
12238
12371
  reqBodyType: "formData",
12239
12372
  bodyType: "json",
12240
12373
  });
12241
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
12242
- return $dara.cast<ApproveOtaTaskResponse>(await this.callApi(params, req, runtime), new ApproveOtaTaskResponse({}));
12243
- } else {
12244
- return $dara.cast<ApproveOtaTaskResponse>(await this.execute(params, req, runtime), new ApproveOtaTaskResponse({}));
12245
- }
12246
-
12374
+ return $dara.cast<ApproveOtaTaskResponse>(await this.callApi(params, req, runtime), new ApproveOtaTaskResponse({}));
12247
12375
  }
12248
12376
 
12249
12377
  /**
@@ -12313,12 +12441,7 @@ export default class Client extends OpenApi {
12313
12441
  reqBodyType: "formData",
12314
12442
  bodyType: "json",
12315
12443
  });
12316
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
12317
- return $dara.cast<AskSessionPackagePriceResponse>(await this.callApi(params, req, runtime), new AskSessionPackagePriceResponse({}));
12318
- } else {
12319
- return $dara.cast<AskSessionPackagePriceResponse>(await this.execute(params, req, runtime), new AskSessionPackagePriceResponse({}));
12320
- }
12321
-
12444
+ return $dara.cast<AskSessionPackagePriceResponse>(await this.callApi(params, req, runtime), new AskSessionPackagePriceResponse({}));
12322
12445
  }
12323
12446
 
12324
12447
  /**
@@ -12391,12 +12514,7 @@ export default class Client extends OpenApi {
12391
12514
  reqBodyType: "formData",
12392
12515
  bodyType: "json",
12393
12516
  });
12394
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
12395
- return $dara.cast<AuthorizeInstanceGroupResponse>(await this.callApi(params, req, runtime), new AuthorizeInstanceGroupResponse({}));
12396
- } else {
12397
- return $dara.cast<AuthorizeInstanceGroupResponse>(await this.execute(params, req, runtime), new AuthorizeInstanceGroupResponse({}));
12398
- }
12399
-
12517
+ return $dara.cast<AuthorizeInstanceGroupResponse>(await this.callApi(params, req, runtime), new AuthorizeInstanceGroupResponse({}));
12400
12518
  }
12401
12519
 
12402
12520
  /**
@@ -12478,12 +12596,7 @@ export default class Client extends OpenApi {
12478
12596
  reqBodyType: "formData",
12479
12597
  bodyType: "json",
12480
12598
  });
12481
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
12482
- return $dara.cast<BuySessionPackageResponse>(await this.callApi(params, req, runtime), new BuySessionPackageResponse({}));
12483
- } else {
12484
- return $dara.cast<BuySessionPackageResponse>(await this.execute(params, req, runtime), new BuySessionPackageResponse({}));
12485
- }
12486
-
12599
+ return $dara.cast<BuySessionPackageResponse>(await this.callApi(params, req, runtime), new BuySessionPackageResponse({}));
12487
12600
  }
12488
12601
 
12489
12602
  /**
@@ -12545,12 +12658,7 @@ export default class Client extends OpenApi {
12545
12658
  reqBodyType: "formData",
12546
12659
  bodyType: "json",
12547
12660
  });
12548
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
12549
- return $dara.cast<CreateAccessPageResponse>(await this.callApi(params, req, runtime), new CreateAccessPageResponse({}));
12550
- } else {
12551
- return $dara.cast<CreateAccessPageResponse>(await this.execute(params, req, runtime), new CreateAccessPageResponse({}));
12552
- }
12553
-
12661
+ return $dara.cast<CreateAccessPageResponse>(await this.callApi(params, req, runtime), new CreateAccessPageResponse({}));
12554
12662
  }
12555
12663
 
12556
12664
  /**
@@ -12732,12 +12840,7 @@ export default class Client extends OpenApi {
12732
12840
  reqBodyType: "formData",
12733
12841
  bodyType: "json",
12734
12842
  });
12735
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
12736
- return $dara.cast<CreateAppInstanceGroupResponse>(await this.callApi(params, req, runtime), new CreateAppInstanceGroupResponse({}));
12737
- } else {
12738
- return $dara.cast<CreateAppInstanceGroupResponse>(await this.execute(params, req, runtime), new CreateAppInstanceGroupResponse({}));
12739
- }
12740
-
12843
+ return $dara.cast<CreateAppInstanceGroupResponse>(await this.callApi(params, req, runtime), new CreateAppInstanceGroupResponse({}));
12741
12844
  }
12742
12845
 
12743
12846
  /**
@@ -12787,12 +12890,7 @@ export default class Client extends OpenApi {
12787
12890
  reqBodyType: "formData",
12788
12891
  bodyType: "json",
12789
12892
  });
12790
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
12791
- return $dara.cast<CreateImageFromAppInstanceGroupResponse>(await this.callApi(params, req, runtime), new CreateImageFromAppInstanceGroupResponse({}));
12792
- } else {
12793
- return $dara.cast<CreateImageFromAppInstanceGroupResponse>(await this.execute(params, req, runtime), new CreateImageFromAppInstanceGroupResponse({}));
12794
- }
12795
-
12893
+ return $dara.cast<CreateImageFromAppInstanceGroupResponse>(await this.callApi(params, req, runtime), new CreateImageFromAppInstanceGroupResponse({}));
12796
12894
  }
12797
12895
 
12798
12896
  /**
@@ -12834,12 +12932,7 @@ export default class Client extends OpenApi {
12834
12932
  reqBodyType: "formData",
12835
12933
  bodyType: "json",
12836
12934
  });
12837
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
12838
- return $dara.cast<DeleteAccessPageResponse>(await this.callApi(params, req, runtime), new DeleteAccessPageResponse({}));
12839
- } else {
12840
- return $dara.cast<DeleteAccessPageResponse>(await this.execute(params, req, runtime), new DeleteAccessPageResponse({}));
12841
- }
12842
-
12935
+ return $dara.cast<DeleteAccessPageResponse>(await this.callApi(params, req, runtime), new DeleteAccessPageResponse({}));
12843
12936
  }
12844
12937
 
12845
12938
  /**
@@ -12888,12 +12981,7 @@ export default class Client extends OpenApi {
12888
12981
  reqBodyType: "formData",
12889
12982
  bodyType: "json",
12890
12983
  });
12891
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
12892
- return $dara.cast<DeleteAppInstanceGroupResponse>(await this.callApi(params, req, runtime), new DeleteAppInstanceGroupResponse({}));
12893
- } else {
12894
- return $dara.cast<DeleteAppInstanceGroupResponse>(await this.execute(params, req, runtime), new DeleteAppInstanceGroupResponse({}));
12895
- }
12896
-
12984
+ return $dara.cast<DeleteAppInstanceGroupResponse>(await this.callApi(params, req, runtime), new DeleteAppInstanceGroupResponse({}));
12897
12985
  }
12898
12986
 
12899
12987
  /**
@@ -12949,12 +13037,7 @@ export default class Client extends OpenApi {
12949
13037
  reqBodyType: "formData",
12950
13038
  bodyType: "json",
12951
13039
  });
12952
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
12953
- return $dara.cast<DeleteAppInstancesResponse>(await this.callApi(params, req, runtime), new DeleteAppInstancesResponse({}));
12954
- } else {
12955
- return $dara.cast<DeleteAppInstancesResponse>(await this.execute(params, req, runtime), new DeleteAppInstancesResponse({}));
12956
- }
12957
-
13040
+ return $dara.cast<DeleteAppInstancesResponse>(await this.callApi(params, req, runtime), new DeleteAppInstancesResponse({}));
12958
13041
  }
12959
13042
 
12960
13043
  /**
@@ -13007,12 +13090,7 @@ export default class Client extends OpenApi {
13007
13090
  reqBodyType: "formData",
13008
13091
  bodyType: "json",
13009
13092
  });
13010
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
13011
- return $dara.cast<GetAccessPageSessionResponse>(await this.callApi(params, req, runtime), new GetAccessPageSessionResponse({}));
13012
- } else {
13013
- return $dara.cast<GetAccessPageSessionResponse>(await this.execute(params, req, runtime), new GetAccessPageSessionResponse({}));
13014
- }
13015
-
13093
+ return $dara.cast<GetAccessPageSessionResponse>(await this.callApi(params, req, runtime), new GetAccessPageSessionResponse({}));
13016
13094
  }
13017
13095
 
13018
13096
  /**
@@ -13058,12 +13136,7 @@ export default class Client extends OpenApi {
13058
13136
  reqBodyType: "formData",
13059
13137
  bodyType: "json",
13060
13138
  });
13061
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
13062
- return $dara.cast<GetAppInstanceGroupResponse>(await this.callApi(params, req, runtime), new GetAppInstanceGroupResponse({}));
13063
- } else {
13064
- return $dara.cast<GetAppInstanceGroupResponse>(await this.execute(params, req, runtime), new GetAppInstanceGroupResponse({}));
13065
- }
13066
-
13139
+ return $dara.cast<GetAppInstanceGroupResponse>(await this.callApi(params, req, runtime), new GetAppInstanceGroupResponse({}));
13067
13140
  }
13068
13141
 
13069
13142
  /**
@@ -13092,6 +13165,10 @@ export default class Client extends OpenApi {
13092
13165
  async getConnectionTicketWithOptions(request: GetConnectionTicketRequest, runtime: $dara.RuntimeOptions): Promise<GetConnectionTicketResponse> {
13093
13166
  request.validate();
13094
13167
  let body : {[key: string ]: any} = { };
13168
+ if (!$dara.isNull(request.accessType)) {
13169
+ body["AccessType"] = request.accessType;
13170
+ }
13171
+
13095
13172
  if (!$dara.isNull(request.appId)) {
13096
13173
  body["AppId"] = request.appId;
13097
13174
  }
@@ -13146,12 +13223,7 @@ export default class Client extends OpenApi {
13146
13223
  reqBodyType: "formData",
13147
13224
  bodyType: "json",
13148
13225
  });
13149
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
13150
- return $dara.cast<GetConnectionTicketResponse>(await this.callApi(params, req, runtime), new GetConnectionTicketResponse({}));
13151
- } else {
13152
- return $dara.cast<GetConnectionTicketResponse>(await this.execute(params, req, runtime), new GetConnectionTicketResponse({}));
13153
- }
13154
-
13226
+ return $dara.cast<GetConnectionTicketResponse>(await this.callApi(params, req, runtime), new GetConnectionTicketResponse({}));
13155
13227
  }
13156
13228
 
13157
13229
  /**
@@ -13202,12 +13274,7 @@ export default class Client extends OpenApi {
13202
13274
  reqBodyType: "formData",
13203
13275
  bodyType: "json",
13204
13276
  });
13205
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
13206
- return $dara.cast<GetDebugAppInstanceResponse>(await this.callApi(params, req, runtime), new GetDebugAppInstanceResponse({}));
13207
- } else {
13208
- return $dara.cast<GetDebugAppInstanceResponse>(await this.execute(params, req, runtime), new GetDebugAppInstanceResponse({}));
13209
- }
13210
-
13277
+ return $dara.cast<GetDebugAppInstanceResponse>(await this.callApi(params, req, runtime), new GetDebugAppInstanceResponse({}));
13211
13278
  }
13212
13279
 
13213
13280
  /**
@@ -13249,12 +13316,7 @@ export default class Client extends OpenApi {
13249
13316
  reqBodyType: "formData",
13250
13317
  bodyType: "json",
13251
13318
  });
13252
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
13253
- return $dara.cast<GetOtaTaskByTaskIdResponse>(await this.callApi(params, req, runtime), new GetOtaTaskByTaskIdResponse({}));
13254
- } else {
13255
- return $dara.cast<GetOtaTaskByTaskIdResponse>(await this.execute(params, req, runtime), new GetOtaTaskByTaskIdResponse({}));
13256
- }
13257
-
13319
+ return $dara.cast<GetOtaTaskByTaskIdResponse>(await this.callApi(params, req, runtime), new GetOtaTaskByTaskIdResponse({}));
13258
13320
  }
13259
13321
 
13260
13322
  /**
@@ -13324,12 +13386,7 @@ export default class Client extends OpenApi {
13324
13386
  reqBodyType: "formData",
13325
13387
  bodyType: "json",
13326
13388
  });
13327
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
13328
- return $dara.cast<GetResourcePriceResponse>(await this.callApi(params, req, runtime), new GetResourcePriceResponse({}));
13329
- } else {
13330
- return $dara.cast<GetResourcePriceResponse>(await this.execute(params, req, runtime), new GetResourcePriceResponse({}));
13331
- }
13332
-
13389
+ return $dara.cast<GetResourcePriceResponse>(await this.callApi(params, req, runtime), new GetResourcePriceResponse({}));
13333
13390
  }
13334
13391
 
13335
13392
  /**
@@ -13383,12 +13440,7 @@ export default class Client extends OpenApi {
13383
13440
  reqBodyType: "formData",
13384
13441
  bodyType: "json",
13385
13442
  });
13386
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
13387
- return $dara.cast<GetResourceRenewPriceResponse>(await this.callApi(params, req, runtime), new GetResourceRenewPriceResponse({}));
13388
- } else {
13389
- return $dara.cast<GetResourceRenewPriceResponse>(await this.execute(params, req, runtime), new GetResourceRenewPriceResponse({}));
13390
- }
13391
-
13443
+ return $dara.cast<GetResourceRenewPriceResponse>(await this.callApi(params, req, runtime), new GetResourceRenewPriceResponse({}));
13392
13444
  }
13393
13445
 
13394
13446
  /**
@@ -13450,12 +13502,7 @@ export default class Client extends OpenApi {
13450
13502
  reqBodyType: "formData",
13451
13503
  bodyType: "json",
13452
13504
  });
13453
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
13454
- return $dara.cast<ListAccessPagesResponse>(await this.callApi(params, req, runtime), new ListAccessPagesResponse({}));
13455
- } else {
13456
- return $dara.cast<ListAccessPagesResponse>(await this.execute(params, req, runtime), new ListAccessPagesResponse({}));
13457
- }
13458
-
13505
+ return $dara.cast<ListAccessPagesResponse>(await this.callApi(params, req, runtime), new ListAccessPagesResponse({}));
13459
13506
  }
13460
13507
 
13461
13508
  /**
@@ -13519,6 +13566,10 @@ export default class Client extends OpenApi {
13519
13566
  query["RegionId"] = request.regionId;
13520
13567
  }
13521
13568
 
13569
+ if (!$dara.isNull(request.tag)) {
13570
+ query["Tag"] = request.tag;
13571
+ }
13572
+
13522
13573
  let body : {[key: string ]: any} = { };
13523
13574
  if (!$dara.isNull(request.status)) {
13524
13575
  body["Status"] = request.status;
@@ -13539,12 +13590,7 @@ export default class Client extends OpenApi {
13539
13590
  reqBodyType: "formData",
13540
13591
  bodyType: "json",
13541
13592
  });
13542
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
13543
- return $dara.cast<ListAppInstanceGroupResponse>(await this.callApi(params, req, runtime), new ListAppInstanceGroupResponse({}));
13544
- } else {
13545
- return $dara.cast<ListAppInstanceGroupResponse>(await this.execute(params, req, runtime), new ListAppInstanceGroupResponse({}));
13546
- }
13547
-
13593
+ return $dara.cast<ListAppInstanceGroupResponse>(await this.callApi(params, req, runtime), new ListAppInstanceGroupResponse({}));
13548
13594
  }
13549
13595
 
13550
13596
  /**
@@ -13616,12 +13662,7 @@ export default class Client extends OpenApi {
13616
13662
  reqBodyType: "formData",
13617
13663
  bodyType: "json",
13618
13664
  });
13619
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
13620
- return $dara.cast<ListAppInstancesResponse>(await this.callApi(params, req, runtime), new ListAppInstancesResponse({}));
13621
- } else {
13622
- return $dara.cast<ListAppInstancesResponse>(await this.execute(params, req, runtime), new ListAppInstancesResponse({}));
13623
- }
13624
-
13665
+ return $dara.cast<ListAppInstancesResponse>(await this.callApi(params, req, runtime), new ListAppInstancesResponse({}));
13625
13666
  }
13626
13667
 
13627
13668
  /**
@@ -13687,12 +13728,7 @@ export default class Client extends OpenApi {
13687
13728
  reqBodyType: "formData",
13688
13729
  bodyType: "json",
13689
13730
  });
13690
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
13691
- return $dara.cast<ListBindInfoResponse>(await this.callApi(params, req, runtime), new ListBindInfoResponse({}));
13692
- } else {
13693
- return $dara.cast<ListBindInfoResponse>(await this.execute(params, req, runtime), new ListBindInfoResponse({}));
13694
- }
13695
-
13731
+ return $dara.cast<ListBindInfoResponse>(await this.callApi(params, req, runtime), new ListBindInfoResponse({}));
13696
13732
  }
13697
13733
 
13698
13734
  /**
@@ -13786,12 +13822,7 @@ export default class Client extends OpenApi {
13786
13822
  reqBodyType: "formData",
13787
13823
  bodyType: "json",
13788
13824
  });
13789
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
13790
- return $dara.cast<ListNodeInstanceTypeResponse>(await this.callApi(params, req, runtime), new ListNodeInstanceTypeResponse({}));
13791
- } else {
13792
- return $dara.cast<ListNodeInstanceTypeResponse>(await this.execute(params, req, runtime), new ListNodeInstanceTypeResponse({}));
13793
- }
13794
-
13825
+ return $dara.cast<ListNodeInstanceTypeResponse>(await this.callApi(params, req, runtime), new ListNodeInstanceTypeResponse({}));
13795
13826
  }
13796
13827
 
13797
13828
  /**
@@ -13845,12 +13876,7 @@ export default class Client extends OpenApi {
13845
13876
  reqBodyType: "formData",
13846
13877
  bodyType: "json",
13847
13878
  });
13848
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
13849
- return $dara.cast<ListNodesResponse>(await this.callApi(params, req, runtime), new ListNodesResponse({}));
13850
- } else {
13851
- return $dara.cast<ListNodesResponse>(await this.execute(params, req, runtime), new ListNodesResponse({}));
13852
- }
13853
-
13879
+ return $dara.cast<ListNodesResponse>(await this.callApi(params, req, runtime), new ListNodesResponse({}));
13854
13880
  }
13855
13881
 
13856
13882
  /**
@@ -13904,12 +13930,7 @@ export default class Client extends OpenApi {
13904
13930
  reqBodyType: "formData",
13905
13931
  bodyType: "json",
13906
13932
  });
13907
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
13908
- return $dara.cast<ListOtaTaskResponse>(await this.callApi(params, req, runtime), new ListOtaTaskResponse({}));
13909
- } else {
13910
- return $dara.cast<ListOtaTaskResponse>(await this.execute(params, req, runtime), new ListOtaTaskResponse({}));
13911
- }
13912
-
13933
+ return $dara.cast<ListOtaTaskResponse>(await this.callApi(params, req, runtime), new ListOtaTaskResponse({}));
13913
13934
  }
13914
13935
 
13915
13936
  /**
@@ -13967,12 +13988,7 @@ export default class Client extends OpenApi {
13967
13988
  reqBodyType: "formData",
13968
13989
  bodyType: "json",
13969
13990
  });
13970
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
13971
- return $dara.cast<ListPersistentAppInstancesResponse>(await this.callApi(params, req, runtime), new ListPersistentAppInstancesResponse({}));
13972
- } else {
13973
- return $dara.cast<ListPersistentAppInstancesResponse>(await this.execute(params, req, runtime), new ListPersistentAppInstancesResponse({}));
13974
- }
13975
-
13991
+ return $dara.cast<ListPersistentAppInstancesResponse>(await this.callApi(params, req, runtime), new ListPersistentAppInstancesResponse({}));
13976
13992
  }
13977
13993
 
13978
13994
  /**
@@ -14021,12 +14037,7 @@ export default class Client extends OpenApi {
14021
14037
  reqBodyType: "formData",
14022
14038
  bodyType: "json",
14023
14039
  });
14024
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
14025
- return $dara.cast<ListRegionsResponse>(await this.callApi(params, req, runtime), new ListRegionsResponse({}));
14026
- } else {
14027
- return $dara.cast<ListRegionsResponse>(await this.execute(params, req, runtime), new ListRegionsResponse({}));
14028
- }
14029
-
14040
+ return $dara.cast<ListRegionsResponse>(await this.callApi(params, req, runtime), new ListRegionsResponse({}));
14030
14041
  }
14031
14042
 
14032
14043
  /**
@@ -14095,12 +14106,7 @@ export default class Client extends OpenApi {
14095
14106
  reqBodyType: "formData",
14096
14107
  bodyType: "json",
14097
14108
  });
14098
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
14099
- return $dara.cast<ListSessionPackagesResponse>(await this.callApi(params, req, runtime), new ListSessionPackagesResponse({}));
14100
- } else {
14101
- return $dara.cast<ListSessionPackagesResponse>(await this.execute(params, req, runtime), new ListSessionPackagesResponse({}));
14102
- }
14103
-
14109
+ return $dara.cast<ListSessionPackagesResponse>(await this.callApi(params, req, runtime), new ListSessionPackagesResponse({}));
14104
14110
  }
14105
14111
 
14106
14112
  /**
@@ -14158,12 +14164,7 @@ export default class Client extends OpenApi {
14158
14164
  reqBodyType: "formData",
14159
14165
  bodyType: "json",
14160
14166
  });
14161
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
14162
- return $dara.cast<ListTagCloudResourcesResponse>(await this.callApi(params, req, runtime), new ListTagCloudResourcesResponse({}));
14163
- } else {
14164
- return $dara.cast<ListTagCloudResourcesResponse>(await this.execute(params, req, runtime), new ListTagCloudResourcesResponse({}));
14165
- }
14166
-
14167
+ return $dara.cast<ListTagCloudResourcesResponse>(await this.callApi(params, req, runtime), new ListTagCloudResourcesResponse({}));
14167
14168
  }
14168
14169
 
14169
14170
  /**
@@ -14197,12 +14198,7 @@ export default class Client extends OpenApi {
14197
14198
  reqBodyType: "formData",
14198
14199
  bodyType: "json",
14199
14200
  });
14200
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
14201
- return $dara.cast<ListTenantConfigResponse>(await this.callApi(params, req, runtime), new ListTenantConfigResponse({}));
14202
- } else {
14203
- return $dara.cast<ListTenantConfigResponse>(await this.execute(params, req, runtime), new ListTenantConfigResponse({}));
14204
- }
14205
-
14201
+ return $dara.cast<ListTenantConfigResponse>(await this.callApi(params, req, runtime), new ListTenantConfigResponse({}));
14206
14202
  }
14207
14203
 
14208
14204
  /**
@@ -14249,12 +14245,7 @@ export default class Client extends OpenApi {
14249
14245
  reqBodyType: "formData",
14250
14246
  bodyType: "json",
14251
14247
  });
14252
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
14253
- return $dara.cast<LogOffAllSessionsInAppInstanceGroupResponse>(await this.callApi(params, req, runtime), new LogOffAllSessionsInAppInstanceGroupResponse({}));
14254
- } else {
14255
- return $dara.cast<LogOffAllSessionsInAppInstanceGroupResponse>(await this.execute(params, req, runtime), new LogOffAllSessionsInAppInstanceGroupResponse({}));
14256
- }
14257
-
14248
+ return $dara.cast<LogOffAllSessionsInAppInstanceGroupResponse>(await this.callApi(params, req, runtime), new LogOffAllSessionsInAppInstanceGroupResponse({}));
14258
14249
  }
14259
14250
 
14260
14251
  /**
@@ -14359,12 +14350,7 @@ export default class Client extends OpenApi {
14359
14350
  reqBodyType: "formData",
14360
14351
  bodyType: "json",
14361
14352
  });
14362
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
14363
- return $dara.cast<ModifyAppInstanceGroupAttributeResponse>(await this.callApi(params, req, runtime), new ModifyAppInstanceGroupAttributeResponse({}));
14364
- } else {
14365
- return $dara.cast<ModifyAppInstanceGroupAttributeResponse>(await this.execute(params, req, runtime), new ModifyAppInstanceGroupAttributeResponse({}));
14366
- }
14367
-
14353
+ return $dara.cast<ModifyAppInstanceGroupAttributeResponse>(await this.callApi(params, req, runtime), new ModifyAppInstanceGroupAttributeResponse({}));
14368
14354
  }
14369
14355
 
14370
14356
  /**
@@ -14420,12 +14406,7 @@ export default class Client extends OpenApi {
14420
14406
  reqBodyType: "formData",
14421
14407
  bodyType: "json",
14422
14408
  });
14423
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
14424
- return $dara.cast<ModifyAppPolicyResponse>(await this.callApi(params, req, runtime), new ModifyAppPolicyResponse({}));
14425
- } else {
14426
- return $dara.cast<ModifyAppPolicyResponse>(await this.execute(params, req, runtime), new ModifyAppPolicyResponse({}));
14427
- }
14428
-
14409
+ return $dara.cast<ModifyAppPolicyResponse>(await this.callApi(params, req, runtime), new ModifyAppPolicyResponse({}));
14429
14410
  }
14430
14411
 
14431
14412
  /**
@@ -14481,12 +14462,7 @@ export default class Client extends OpenApi {
14481
14462
  reqBodyType: "formData",
14482
14463
  bodyType: "json",
14483
14464
  });
14484
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
14485
- return $dara.cast<ModifyNodePoolAmountResponse>(await this.callApi(params, req, runtime), new ModifyNodePoolAmountResponse({}));
14486
- } else {
14487
- return $dara.cast<ModifyNodePoolAmountResponse>(await this.execute(params, req, runtime), new ModifyNodePoolAmountResponse({}));
14488
- }
14489
-
14465
+ return $dara.cast<ModifyNodePoolAmountResponse>(await this.callApi(params, req, runtime), new ModifyNodePoolAmountResponse({}));
14490
14466
  }
14491
14467
 
14492
14468
  /**
@@ -14548,12 +14524,7 @@ export default class Client extends OpenApi {
14548
14524
  reqBodyType: "formData",
14549
14525
  bodyType: "json",
14550
14526
  });
14551
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
14552
- return $dara.cast<ModifyNodePoolAttributeResponse>(await this.callApi(params, req, runtime), new ModifyNodePoolAttributeResponse({}));
14553
- } else {
14554
- return $dara.cast<ModifyNodePoolAttributeResponse>(await this.execute(params, req, runtime), new ModifyNodePoolAttributeResponse({}));
14555
- }
14556
-
14527
+ return $dara.cast<ModifyNodePoolAttributeResponse>(await this.callApi(params, req, runtime), new ModifyNodePoolAttributeResponse({}));
14557
14528
  }
14558
14529
 
14559
14530
  /**
@@ -14593,12 +14564,7 @@ export default class Client extends OpenApi {
14593
14564
  reqBodyType: "formData",
14594
14565
  bodyType: "json",
14595
14566
  });
14596
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
14597
- return $dara.cast<ModifyTenantConfigResponse>(await this.callApi(params, req, runtime), new ModifyTenantConfigResponse({}));
14598
- } else {
14599
- return $dara.cast<ModifyTenantConfigResponse>(await this.execute(params, req, runtime), new ModifyTenantConfigResponse({}));
14600
- }
14601
-
14567
+ return $dara.cast<ModifyTenantConfigResponse>(await this.callApi(params, req, runtime), new ModifyTenantConfigResponse({}));
14602
14568
  }
14603
14569
 
14604
14570
  /**
@@ -14652,12 +14618,7 @@ export default class Client extends OpenApi {
14652
14618
  reqBodyType: "formData",
14653
14619
  bodyType: "json",
14654
14620
  });
14655
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
14656
- return $dara.cast<PageListAppInstanceGroupUserResponse>(await this.callApi(params, req, runtime), new PageListAppInstanceGroupUserResponse({}));
14657
- } else {
14658
- return $dara.cast<PageListAppInstanceGroupUserResponse>(await this.execute(params, req, runtime), new PageListAppInstanceGroupUserResponse({}));
14659
- }
14660
-
14621
+ return $dara.cast<PageListAppInstanceGroupUserResponse>(await this.callApi(params, req, runtime), new PageListAppInstanceGroupUserResponse({}));
14661
14622
  }
14662
14623
 
14663
14624
  /**
@@ -14722,12 +14683,7 @@ export default class Client extends OpenApi {
14722
14683
  reqBodyType: "formData",
14723
14684
  bodyType: "json",
14724
14685
  });
14725
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
14726
- return $dara.cast<RenewAppInstanceGroupResponse>(await this.callApi(params, req, runtime), new RenewAppInstanceGroupResponse({}));
14727
- } else {
14728
- return $dara.cast<RenewAppInstanceGroupResponse>(await this.execute(params, req, runtime), new RenewAppInstanceGroupResponse({}));
14729
- }
14730
-
14686
+ return $dara.cast<RenewAppInstanceGroupResponse>(await this.callApi(params, req, runtime), new RenewAppInstanceGroupResponse({}));
14731
14687
  }
14732
14688
 
14733
14689
  /**
@@ -14780,12 +14736,7 @@ export default class Client extends OpenApi {
14780
14736
  reqBodyType: "formData",
14781
14737
  bodyType: "json",
14782
14738
  });
14783
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
14784
- return $dara.cast<TagCloudResourcesResponse>(await this.callApi(params, req, runtime), new TagCloudResourcesResponse({}));
14785
- } else {
14786
- return $dara.cast<TagCloudResourcesResponse>(await this.execute(params, req, runtime), new TagCloudResourcesResponse({}));
14787
- }
14788
-
14739
+ return $dara.cast<TagCloudResourcesResponse>(await this.callApi(params, req, runtime), new TagCloudResourcesResponse({}));
14789
14740
  }
14790
14741
 
14791
14742
  /**
@@ -14843,12 +14794,7 @@ export default class Client extends OpenApi {
14843
14794
  reqBodyType: "formData",
14844
14795
  bodyType: "json",
14845
14796
  });
14846
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
14847
- return $dara.cast<UnbindResponse>(await this.callApi(params, req, runtime), new UnbindResponse({}));
14848
- } else {
14849
- return $dara.cast<UnbindResponse>(await this.execute(params, req, runtime), new UnbindResponse({}));
14850
- }
14851
-
14797
+ return $dara.cast<UnbindResponse>(await this.callApi(params, req, runtime), new UnbindResponse({}));
14852
14798
  }
14853
14799
 
14854
14800
  /**
@@ -14898,12 +14844,7 @@ export default class Client extends OpenApi {
14898
14844
  reqBodyType: "formData",
14899
14845
  bodyType: "json",
14900
14846
  });
14901
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
14902
- return $dara.cast<UntagCloudResourcesResponse>(await this.callApi(params, req, runtime), new UntagCloudResourcesResponse({}));
14903
- } else {
14904
- return $dara.cast<UntagCloudResourcesResponse>(await this.execute(params, req, runtime), new UntagCloudResourcesResponse({}));
14905
- }
14906
-
14847
+ return $dara.cast<UntagCloudResourcesResponse>(await this.callApi(params, req, runtime), new UntagCloudResourcesResponse({}));
14907
14848
  }
14908
14849
 
14909
14850
  /**
@@ -14962,12 +14903,7 @@ export default class Client extends OpenApi {
14962
14903
  reqBodyType: "formData",
14963
14904
  bodyType: "json",
14964
14905
  });
14965
- if ($dara.isNull(this._signatureVersion) || this._signatureVersion != "v4") {
14966
- return $dara.cast<UpdateAppInstanceGroupImageResponse>(await this.callApi(params, req, runtime), new UpdateAppInstanceGroupImageResponse({}));
14967
- } else {
14968
- return $dara.cast<UpdateAppInstanceGroupImageResponse>(await this.execute(params, req, runtime), new UpdateAppInstanceGroupImageResponse({}));
14969
- }
14970
-
14906
+ return $dara.cast<UpdateAppInstanceGroupImageResponse>(await this.callApi(params, req, runtime), new UpdateAppInstanceGroupImageResponse({}));
14971
14907
  }
14972
14908
 
14973
14909
  /**