@alicloud/ecd20200930 4.1.2 → 4.2.1

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
@@ -3097,7 +3097,7 @@ export class CreateADConnectorDirectoryRequest extends $tea.Model {
3097
3097
  * This parameter is required.
3098
3098
  *
3099
3099
  * @example
3100
- * 127.0.\*\*.**
3100
+ * ``127.0.**.**``
3101
3101
  */
3102
3102
  dnsAddress?: string[];
3103
3103
  /**
@@ -3214,7 +3214,7 @@ export class CreateADConnectorDirectoryRequest extends $tea.Model {
3214
3214
  * If you specify the `SubDomainName` parameter but you do not specify this parameter, the DNS address of the subdomain is the same as the DNS address of the parent domain.
3215
3215
  *
3216
3216
  * @example
3217
- * 127.0.\*\*.**
3217
+ * ``127.0.**.**``
3218
3218
  */
3219
3219
  subDomainDnsAddress?: string[];
3220
3220
  /**
@@ -3378,8 +3378,6 @@ export class CreateADConnectorOfficeSiteRequest extends $tea.Model {
3378
3378
  * @remarks
3379
3379
  * The ID of the CEN instance.
3380
3380
  *
3381
- * This parameter is required.
3382
- *
3383
3381
  * @example
3384
3382
  * cen-3gwy16dojz1m65****
3385
3383
  */
@@ -3403,8 +3401,6 @@ export class CreateADConnectorOfficeSiteRequest extends $tea.Model {
3403
3401
  * * `172.16.0.0/12` (subnet mask range: 12 to 24 bits)
3404
3402
  * * `192.168.0.0/16` (subnet mask range: 16 to 24 bits)
3405
3403
  *
3406
- * This parameter is required.
3407
- *
3408
3404
  * @example
3409
3405
  * 47.100.XX.XX
3410
3406
  */
@@ -3586,6 +3582,7 @@ export class CreateADConnectorOfficeSiteRequest extends $tea.Model {
3586
3582
  * child.example.com
3587
3583
  */
3588
3584
  subDomainName?: string;
3585
+ vSwitchId?: string[];
3589
3586
  /**
3590
3587
  * @remarks
3591
3588
  * The verification code. If the CEN instance that you specify for the CenId parameter belongs to another Alibaba Cloud account, you must call the [SendVerifyCode](https://help.aliyun.com/document_detail/436847.html) operation to obtain the verification code.
@@ -3617,6 +3614,7 @@ export class CreateADConnectorOfficeSiteRequest extends $tea.Model {
3617
3614
  specification: 'Specification',
3618
3615
  subDomainDnsAddress: 'SubDomainDnsAddress',
3619
3616
  subDomainName: 'SubDomainName',
3617
+ vSwitchId: 'VSwitchId',
3620
3618
  verifyCode: 'VerifyCode',
3621
3619
  };
3622
3620
  }
@@ -3644,6 +3642,7 @@ export class CreateADConnectorOfficeSiteRequest extends $tea.Model {
3644
3642
  specification: 'number',
3645
3643
  subDomainDnsAddress: { 'type': 'array', 'itemType': 'string' },
3646
3644
  subDomainName: 'string',
3645
+ vSwitchId: { 'type': 'array', 'itemType': 'string' },
3647
3646
  verifyCode: 'string',
3648
3647
  };
3649
3648
  }
@@ -5363,7 +5362,7 @@ export class CreateDesktopGroupRequest extends $tea.Model {
5363
5362
  endUserIds?: string[];
5364
5363
  /**
5365
5364
  * @remarks
5366
- * The Apsara File Storage NAS (NAS) file system that is used after data roaming is enabled.
5365
+ * The File Storage NAS (NAS) file system that is used after data roaming is enabled.
5367
5366
  *
5368
5367
  * @example
5369
5368
  * 04f314****
@@ -5484,6 +5483,7 @@ export class CreateDesktopGroupRequest extends $tea.Model {
5484
5483
  * false
5485
5484
  */
5486
5485
  profileFollowSwitch?: boolean;
5486
+ promotionId?: string;
5487
5487
  /**
5488
5488
  * @remarks
5489
5489
  * The threshold for the ratio of connected sessions. This parameter is the condition that triggers auto scaling in a multi-session desktop group. `Ratio of connected sessions = Number of connected sessions/(Total number of cloud desktops × Maximum number of sessions allowed for each cloud desktop) × 100%`. When the specified threshold is reached, new cloud desktops are automatically created. When the specified threshold is not reached, idle cloud desktops are released.
@@ -5589,6 +5589,7 @@ export class CreateDesktopGroupRequest extends $tea.Model {
5589
5589
  periodUnit: 'PeriodUnit',
5590
5590
  policyGroupId: 'PolicyGroupId',
5591
5591
  profileFollowSwitch: 'ProfileFollowSwitch',
5592
+ promotionId: 'PromotionId',
5592
5593
  ratioThreshold: 'RatioThreshold',
5593
5594
  regionId: 'RegionId',
5594
5595
  resetType: 'ResetType',
@@ -5633,6 +5634,7 @@ export class CreateDesktopGroupRequest extends $tea.Model {
5633
5634
  periodUnit: 'string',
5634
5635
  policyGroupId: 'string',
5635
5636
  profileFollowSwitch: 'boolean',
5637
+ promotionId: 'string',
5636
5638
  ratioThreshold: 'number',
5637
5639
  regionId: 'string',
5638
5640
  resetType: 'number',
@@ -5896,6 +5898,7 @@ export class CreateDesktopsRequest extends $tea.Model {
5896
5898
  * PrePaid
5897
5899
  */
5898
5900
  chargeType?: string;
5901
+ desktopAttachment?: CreateDesktopsRequestDesktopAttachment;
5899
5902
  /**
5900
5903
  * @remarks
5901
5904
  * The private IP address of the cloud computer.
@@ -6065,12 +6068,14 @@ export class CreateDesktopsRequest extends $tea.Model {
6065
6068
  * cn-hangzhou
6066
6069
  */
6067
6070
  regionId?: string;
6071
+ resourceGroupId?: string;
6068
6072
  snapshotPolicyId?: string;
6069
6073
  /**
6070
6074
  * @remarks
6071
6075
  * The tags that you want to add to the cloud desktop.
6072
6076
  */
6073
6077
  tag?: CreateDesktopsRequestTag[];
6078
+ timerGroupId?: string;
6074
6079
  /**
6075
6080
  * @remarks
6076
6081
  * How the cloud computers are assigned.
@@ -6146,6 +6151,7 @@ export class CreateDesktopsRequest extends $tea.Model {
6146
6151
  bundleId: 'BundleId',
6147
6152
  bundleModels: 'BundleModels',
6148
6153
  chargeType: 'ChargeType',
6154
+ desktopAttachment: 'DesktopAttachment',
6149
6155
  desktopMemberIp: 'DesktopMemberIp',
6150
6156
  desktopName: 'DesktopName',
6151
6157
  desktopNameSuffix: 'DesktopNameSuffix',
@@ -6161,8 +6167,10 @@ export class CreateDesktopsRequest extends $tea.Model {
6161
6167
  policyGroupId: 'PolicyGroupId',
6162
6168
  promotionId: 'PromotionId',
6163
6169
  regionId: 'RegionId',
6170
+ resourceGroupId: 'ResourceGroupId',
6164
6171
  snapshotPolicyId: 'SnapshotPolicyId',
6165
6172
  tag: 'Tag',
6173
+ timerGroupId: 'TimerGroupId',
6166
6174
  userAssignMode: 'UserAssignMode',
6167
6175
  userCommands: 'UserCommands',
6168
6176
  userName: 'UserName',
@@ -6180,6 +6188,7 @@ export class CreateDesktopsRequest extends $tea.Model {
6180
6188
  bundleId: 'string',
6181
6189
  bundleModels: { 'type': 'array', 'itemType': CreateDesktopsRequestBundleModels },
6182
6190
  chargeType: 'string',
6191
+ desktopAttachment: CreateDesktopsRequestDesktopAttachment,
6183
6192
  desktopMemberIp: 'string',
6184
6193
  desktopName: 'string',
6185
6194
  desktopNameSuffix: 'boolean',
@@ -6195,8 +6204,10 @@ export class CreateDesktopsRequest extends $tea.Model {
6195
6204
  policyGroupId: 'string',
6196
6205
  promotionId: 'string',
6197
6206
  regionId: 'string',
6207
+ resourceGroupId: 'string',
6198
6208
  snapshotPolicyId: 'string',
6199
6209
  tag: { 'type': 'array', 'itemType': CreateDesktopsRequestTag },
6210
+ timerGroupId: 'string',
6200
6211
  userAssignMode: 'string',
6201
6212
  userCommands: { 'type': 'array', 'itemType': CreateDesktopsRequestUserCommands },
6202
6213
  userName: 'string',
@@ -6211,6 +6222,397 @@ export class CreateDesktopsRequest extends $tea.Model {
6211
6222
  }
6212
6223
  }
6213
6224
 
6225
+ export class CreateDesktopsShrinkRequest extends $tea.Model {
6226
+ /**
6227
+ * @remarks
6228
+ * The number of cloud computers that you want to create. Valid values: 1 to 300. Default value: 1.
6229
+ *
6230
+ * @example
6231
+ * 1
6232
+ */
6233
+ amount?: number;
6234
+ /**
6235
+ * @remarks
6236
+ * Specifies whether to enable automatic payment.
6237
+ *
6238
+ * @example
6239
+ * false
6240
+ */
6241
+ autoPay?: boolean;
6242
+ /**
6243
+ * @remarks
6244
+ * Specifies whether to enable auto-renewal. This parameter takes effect only when the ChargeType parameter is set to PrePaid.
6245
+ *
6246
+ * @example
6247
+ * false
6248
+ */
6249
+ autoRenew?: boolean;
6250
+ /**
6251
+ * @remarks
6252
+ * The ID of the cloud computer template.
6253
+ *
6254
+ * @example
6255
+ * b-je9hani001wfn****
6256
+ */
6257
+ bundleId?: string;
6258
+ /**
6259
+ * @remarks
6260
+ * The cloud computer templates.
6261
+ *
6262
+ * **if can be null:**
6263
+ * true
6264
+ */
6265
+ bundleModels?: CreateDesktopsShrinkRequestBundleModels[];
6266
+ /**
6267
+ * @remarks
6268
+ * The billing method of the cloud computers.
6269
+ *
6270
+ * Default value: PostPaid. Valid values:
6271
+ *
6272
+ * * Postpaid: pay-as-you-go
6273
+ *
6274
+ * <!-- -->
6275
+ *
6276
+ * <!-- -->
6277
+ *
6278
+ * <!-- -->
6279
+ *
6280
+ * * PrePaid: subscription
6281
+ *
6282
+ * <!-- -->
6283
+ *
6284
+ * <!-- -->
6285
+ *
6286
+ * <!-- -->
6287
+ *
6288
+ * @example
6289
+ * PrePaid
6290
+ */
6291
+ chargeType?: string;
6292
+ desktopAttachmentShrink?: string;
6293
+ /**
6294
+ * @remarks
6295
+ * The private IP address of the cloud computer.
6296
+ *
6297
+ * @example
6298
+ * 10.0.0.1
6299
+ */
6300
+ desktopMemberIp?: string;
6301
+ /**
6302
+ * @remarks
6303
+ * The name of the cloud computer. The name must meet the following requirements:
6304
+ *
6305
+ * * The name must be 1 to 64 characters in length.
6306
+ * * The name must start with a letter but cannot start with `http://` or `https://`.
6307
+ * * The name can only contain letters, digits, colons (:), underscores (_), periods (.), and hyphens (-).
6308
+ *
6309
+ * @example
6310
+ * testDesktopName
6311
+ */
6312
+ desktopName?: string;
6313
+ /**
6314
+ * @remarks
6315
+ * Specifies whether to automatically add suffixes to the names of cloud computers when you create multiple cloud computers at the same time.
6316
+ *
6317
+ * Default value: true. Valid values:
6318
+ *
6319
+ * * true
6320
+ *
6321
+ * <!-- -->
6322
+ *
6323
+ * <!-- -->
6324
+ *
6325
+ * <!-- -->
6326
+ *
6327
+ * * False
6328
+ *
6329
+ * <!-- -->
6330
+ *
6331
+ * <!-- -->
6332
+ *
6333
+ * <!-- -->
6334
+ *
6335
+ * @example
6336
+ * false
6337
+ */
6338
+ desktopNameSuffix?: boolean;
6339
+ /**
6340
+ * @remarks
6341
+ * The details of the scheduled task on cloud computers.
6342
+ *
6343
+ * **if can be null:**
6344
+ * true
6345
+ */
6346
+ desktopTimers?: CreateDesktopsShrinkRequestDesktopTimers[];
6347
+ /**
6348
+ * @remarks
6349
+ * > This parameter is not publicly available.
6350
+ *
6351
+ * @example
6352
+ * To be hidden.
6353
+ */
6354
+ directoryId?: string;
6355
+ /**
6356
+ * @remarks
6357
+ * The IDs of the end users to which you want to assign the cloud computers. You can specify 1 to 100 IDs.
6358
+ *
6359
+ * @example
6360
+ * 123456789
6361
+ */
6362
+ endUserId?: string[];
6363
+ /**
6364
+ * @remarks
6365
+ * The ID of the cloud computer pool.
6366
+ *
6367
+ * @example
6368
+ * dg-boyczi8enfyc5****
6369
+ */
6370
+ groupId?: string;
6371
+ /**
6372
+ * @remarks
6373
+ * The custom hostnames of the cloud computers. This parameter is valid only if the office network is an AD office network and the operating system type of the cloud computers is Windows.
6374
+ *
6375
+ * The hostnames must meet the following requirements:
6376
+ *
6377
+ * * The hostnames must be 2 to 15 characters in length.
6378
+ * * The hostnames can contain only letters, digits, and hyphens (-). The hostnames cannot start or end with a hyphen (-), contain consecutive hyphens (-), or contain only digits.
6379
+ *
6380
+ * When you create multiple cloud computers, you can use the `name_prefix[begin_number,bits]name_suffix` naming format to name the cloud computers. For example, if you set the value of the Hostname parameter to ecd-[1,4]-test, the hostname of the first cloud computer is ecd-0001-test, the hostname of the second cloud computer is ecd-0002-test, and so on.
6381
+ *
6382
+ * * `name_prefix`: the prefix of the hostname.
6383
+ * * `[begin_number,bits]`: the sequential number in the hostname. The `begin_number` value is the starting digit. Valid values of begin_number: 0 to 999999. Default value: 0. The `bits` value is the number of digits. Valid values: 1 to 6. Default value: 6.
6384
+ * * `name_suffix`: the suffix of the hostname.
6385
+ *
6386
+ * @example
6387
+ * testhost
6388
+ */
6389
+ hostname?: string;
6390
+ /**
6391
+ * @remarks
6392
+ * > This parameter is not publicly available.
6393
+ */
6394
+ monthDesktopSetting?: CreateDesktopsShrinkRequestMonthDesktopSetting;
6395
+ /**
6396
+ * @remarks
6397
+ * The office network ID.
6398
+ *
6399
+ * @example
6400
+ * cn-hangzhou+os-c5cy7q578s8jc****
6401
+ */
6402
+ officeSiteId?: string;
6403
+ /**
6404
+ * @remarks
6405
+ * The subscription duration of the cloud desktop that you want to create. The unit is specified by the `PeriodUnit` parameter. This parameter takes effect and is required only when the `ChargeType` parameter is set to `PrePaid`.
6406
+ *
6407
+ * * Valid values if the `PeriodUnit` parameter is set to `Month`:
6408
+ *
6409
+ * * 1
6410
+ * * 2
6411
+ * * 3
6412
+ * * 6
6413
+ *
6414
+ * * Valid values if the `PeriodUnit` parameter is set to `Year`:
6415
+ *
6416
+ * * 1
6417
+ * * 2
6418
+ * * 3
6419
+ * * 4
6420
+ * * 5
6421
+ *
6422
+ * @example
6423
+ * 1
6424
+ */
6425
+ period?: number;
6426
+ /**
6427
+ * @remarks
6428
+ * The unit of the subscription duration.
6429
+ *
6430
+ * @example
6431
+ * Month
6432
+ */
6433
+ periodUnit?: string;
6434
+ /**
6435
+ * @remarks
6436
+ * The ID of the policy.
6437
+ *
6438
+ * This parameter is required.
6439
+ *
6440
+ * @example
6441
+ * system-all-enabled-policy
6442
+ */
6443
+ policyGroupId?: string;
6444
+ /**
6445
+ * @remarks
6446
+ * The ID of the sales promotion.
6447
+ *
6448
+ * @example
6449
+ * 23141
6450
+ */
6451
+ promotionId?: string;
6452
+ /**
6453
+ * @remarks
6454
+ * The region ID. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/196646.html) operation to query the most recent region list.
6455
+ *
6456
+ * This parameter is required.
6457
+ *
6458
+ * @example
6459
+ * cn-hangzhou
6460
+ */
6461
+ regionId?: string;
6462
+ resourceGroupId?: string;
6463
+ snapshotPolicyId?: string;
6464
+ /**
6465
+ * @remarks
6466
+ * The tags that you want to add to the cloud desktop.
6467
+ */
6468
+ tag?: CreateDesktopsShrinkRequestTag[];
6469
+ timerGroupId?: string;
6470
+ /**
6471
+ * @remarks
6472
+ * How the cloud computers are assigned.
6473
+ *
6474
+ * > If you do not specify the `EndUserId` parameter, the cloud computers are not assigned to end users after the cloud computers are created.
6475
+ *
6476
+ * Default value: ALL. Valid values:
6477
+ *
6478
+ * * ALL: If you specify the EndUserId parameter, the cloud computers are assigned to all specified end users after the cloud computers are created.
6479
+ *
6480
+ * <!-- -->
6481
+ *
6482
+ * <!-- -->
6483
+ *
6484
+ * <!-- -->
6485
+ *
6486
+ * * PER_USER: If you specify the EndUserId parameter, the cloud computers are evenly assigned to the specified end users after the cloud computers are created.
6487
+ *
6488
+ * <!-- -->
6489
+ *
6490
+ * <!-- -->
6491
+ *
6492
+ * In this case, you must make sure that the value of the Amount parameter can be divided by the N value of the EndUserId.N parameter that you specify.
6493
+ *
6494
+ * <!-- -->
6495
+ *
6496
+ * @example
6497
+ * ALL
6498
+ */
6499
+ userAssignMode?: string;
6500
+ /**
6501
+ * @remarks
6502
+ * Details about the custom command scripts.
6503
+ */
6504
+ userCommands?: CreateDesktopsShrinkRequestUserCommands[];
6505
+ /**
6506
+ * @remarks
6507
+ * > This parameter is not publicly available.
6508
+ *
6509
+ * @example
6510
+ * To be hidden.
6511
+ */
6512
+ userName?: string;
6513
+ /**
6514
+ * @remarks
6515
+ * Specifies whether to enable disk encryption.
6516
+ *
6517
+ * @example
6518
+ * false
6519
+ */
6520
+ volumeEncryptionEnabled?: boolean;
6521
+ /**
6522
+ * @remarks
6523
+ * The ID of the Key Management Service (KMS) key that you want to use when disk encryption is enabled. You can call the [ListKeys](https://help.aliyun.com/document_detail/28951.html) operation to obtain a list of KMS keys.
6524
+ *
6525
+ * @example
6526
+ * 08c33a6f-4e0a-4a1b-a3fa-7ddfa1d4****
6527
+ */
6528
+ volumeEncryptionKey?: string;
6529
+ /**
6530
+ * @remarks
6531
+ * > This parameter is not publicly available.
6532
+ *
6533
+ * @example
6534
+ * To be hidden.
6535
+ */
6536
+ vpcId?: string;
6537
+ static names(): { [key: string]: string } {
6538
+ return {
6539
+ amount: 'Amount',
6540
+ autoPay: 'AutoPay',
6541
+ autoRenew: 'AutoRenew',
6542
+ bundleId: 'BundleId',
6543
+ bundleModels: 'BundleModels',
6544
+ chargeType: 'ChargeType',
6545
+ desktopAttachmentShrink: 'DesktopAttachment',
6546
+ desktopMemberIp: 'DesktopMemberIp',
6547
+ desktopName: 'DesktopName',
6548
+ desktopNameSuffix: 'DesktopNameSuffix',
6549
+ desktopTimers: 'DesktopTimers',
6550
+ directoryId: 'DirectoryId',
6551
+ endUserId: 'EndUserId',
6552
+ groupId: 'GroupId',
6553
+ hostname: 'Hostname',
6554
+ monthDesktopSetting: 'MonthDesktopSetting',
6555
+ officeSiteId: 'OfficeSiteId',
6556
+ period: 'Period',
6557
+ periodUnit: 'PeriodUnit',
6558
+ policyGroupId: 'PolicyGroupId',
6559
+ promotionId: 'PromotionId',
6560
+ regionId: 'RegionId',
6561
+ resourceGroupId: 'ResourceGroupId',
6562
+ snapshotPolicyId: 'SnapshotPolicyId',
6563
+ tag: 'Tag',
6564
+ timerGroupId: 'TimerGroupId',
6565
+ userAssignMode: 'UserAssignMode',
6566
+ userCommands: 'UserCommands',
6567
+ userName: 'UserName',
6568
+ volumeEncryptionEnabled: 'VolumeEncryptionEnabled',
6569
+ volumeEncryptionKey: 'VolumeEncryptionKey',
6570
+ vpcId: 'VpcId',
6571
+ };
6572
+ }
6573
+
6574
+ static types(): { [key: string]: any } {
6575
+ return {
6576
+ amount: 'number',
6577
+ autoPay: 'boolean',
6578
+ autoRenew: 'boolean',
6579
+ bundleId: 'string',
6580
+ bundleModels: { 'type': 'array', 'itemType': CreateDesktopsShrinkRequestBundleModels },
6581
+ chargeType: 'string',
6582
+ desktopAttachmentShrink: 'string',
6583
+ desktopMemberIp: 'string',
6584
+ desktopName: 'string',
6585
+ desktopNameSuffix: 'boolean',
6586
+ desktopTimers: { 'type': 'array', 'itemType': CreateDesktopsShrinkRequestDesktopTimers },
6587
+ directoryId: 'string',
6588
+ endUserId: { 'type': 'array', 'itemType': 'string' },
6589
+ groupId: 'string',
6590
+ hostname: 'string',
6591
+ monthDesktopSetting: CreateDesktopsShrinkRequestMonthDesktopSetting,
6592
+ officeSiteId: 'string',
6593
+ period: 'number',
6594
+ periodUnit: 'string',
6595
+ policyGroupId: 'string',
6596
+ promotionId: 'string',
6597
+ regionId: 'string',
6598
+ resourceGroupId: 'string',
6599
+ snapshotPolicyId: 'string',
6600
+ tag: { 'type': 'array', 'itemType': CreateDesktopsShrinkRequestTag },
6601
+ timerGroupId: 'string',
6602
+ userAssignMode: 'string',
6603
+ userCommands: { 'type': 'array', 'itemType': CreateDesktopsShrinkRequestUserCommands },
6604
+ userName: 'string',
6605
+ volumeEncryptionEnabled: 'boolean',
6606
+ volumeEncryptionKey: 'string',
6607
+ vpcId: 'string',
6608
+ };
6609
+ }
6610
+
6611
+ constructor(map?: { [key: string]: any }) {
6612
+ super(map);
6613
+ }
6614
+ }
6615
+
6214
6616
  export class CreateDesktopsResponseBody extends $tea.Model {
6215
6617
  /**
6216
6618
  * @remarks
@@ -6553,22 +6955,42 @@ export class CreateImageResponse extends $tea.Model {
6553
6955
 
6554
6956
  export class CreateNASFileSystemRequest extends $tea.Model {
6555
6957
  /**
6958
+ * @remarks
6959
+ * Description of the NAS file system.
6960
+ *
6556
6961
  * @example
6557
6962
  * testDescription
6558
6963
  */
6559
6964
  description?: string;
6560
6965
  /**
6966
+ * @remarks
6967
+ * Whether the file system is encrypted. Uses KMS service-managed keys to encrypt the file system\\"s on-disk data. No decryption is required when reading and writing encrypted data. Possible values and their meanings:
6968
+ *
6969
+ * - 0: Not encrypted.
6970
+ * - 1: Encrypted using NAS-managed keys.
6971
+ *
6972
+ * Default value: 0
6973
+ *
6561
6974
  * @example
6562
6975
  * 0
6563
6976
  */
6564
6977
  encryptType?: string;
6565
6978
  /**
6979
+ * @remarks
6980
+ * Name of the NAS file system.
6981
+ * The file name must follow these rules:
6982
+ * - Length: 2 to 128 English or Chinese characters.
6983
+ * - Must start with an uppercase or lowercase letter or a Chinese character, cannot start with http:// or https://.
6984
+ * - Can include numbers, underscores (_), or hyphens (-).
6985
+ *
6566
6986
  * @example
6567
6987
  * testNAS
6568
6988
  */
6569
6989
  name?: string;
6570
6990
  /**
6571
6991
  * @remarks
6992
+ * Workspace ID.
6993
+ *
6572
6994
  * This parameter is required.
6573
6995
  *
6574
6996
  * @example
@@ -6577,6 +6999,8 @@ export class CreateNASFileSystemRequest extends $tea.Model {
6577
6999
  officeSiteId?: string;
6578
7000
  /**
6579
7001
  * @remarks
7002
+ * Region ID.
7003
+ *
6580
7004
  * This parameter is required.
6581
7005
  *
6582
7006
  * @example
@@ -6584,6 +7008,14 @@ export class CreateNASFileSystemRequest extends $tea.Model {
6584
7008
  */
6585
7009
  regionId?: string;
6586
7010
  /**
7011
+ * @remarks
7012
+ * Storage specification type of the NAS file system. Allowed values:
7013
+ *
7014
+ * - Capacity: Capacity type.
7015
+ * - Performance: Performance type.
7016
+ *
7017
+ * Default value: Capacity
7018
+ *
6587
7019
  * @example
6588
7020
  * Capacity
6589
7021
  */
@@ -6617,26 +7049,41 @@ export class CreateNASFileSystemRequest extends $tea.Model {
6617
7049
 
6618
7050
  export class CreateNASFileSystemResponseBody extends $tea.Model {
6619
7051
  /**
7052
+ * @remarks
7053
+ * ID of the NAS file system.
7054
+ *
6620
7055
  * @example
6621
7056
  * 04f314****
6622
7057
  */
6623
7058
  fileSystemId?: string;
6624
7059
  /**
7060
+ * @remarks
7061
+ * Name of the NAS file system.
7062
+ *
6625
7063
  * @example
6626
7064
  * testNAS
6627
7065
  */
6628
7066
  fileSystemName?: string;
6629
7067
  /**
7068
+ * @remarks
7069
+ * Mount point domain.
7070
+ *
6630
7071
  * @example
6631
7072
  * 04f314****-at***.cn-hangzhou.nas.aliyuncs.com
6632
7073
  */
6633
7074
  mountTargetDomain?: string;
6634
7075
  /**
7076
+ * @remarks
7077
+ * Workspace ID.
7078
+ *
6635
7079
  * @example
6636
7080
  * cn-hangzhou+dir-363353****
6637
7081
  */
6638
7082
  officeSiteId?: string;
6639
7083
  /**
7084
+ * @remarks
7085
+ * Request ID.
7086
+ *
6640
7087
  * @example
6641
7088
  * 269BDB16-2CD8-4865-84BD-11C40BC21DB0
6642
7089
  */
@@ -7823,6 +8270,7 @@ export class CreatePolicyGroupRequest extends $tea.Model {
7823
8270
  * EndUserId
7824
8271
  */
7825
8272
  watermarkType?: string;
8273
+ wyAssistant?: string;
7826
8274
  static names(): { [key: string]: string } {
7827
8275
  return {
7828
8276
  adminAccess: 'AdminAccess',
@@ -7881,6 +8329,7 @@ export class CreatePolicyGroupRequest extends $tea.Model {
7881
8329
  watermarkTransparency: 'WatermarkTransparency',
7882
8330
  watermarkTransparencyValue: 'WatermarkTransparencyValue',
7883
8331
  watermarkType: 'WatermarkType',
8332
+ wyAssistant: 'WyAssistant',
7884
8333
  };
7885
8334
  }
7886
8335
 
@@ -7942,6 +8391,7 @@ export class CreatePolicyGroupRequest extends $tea.Model {
7942
8391
  watermarkTransparency: 'string',
7943
8392
  watermarkTransparencyValue: 'number',
7944
8393
  watermarkType: 'string',
8394
+ wyAssistant: 'string',
7945
8395
  };
7946
8396
  }
7947
8397
 
@@ -12999,6 +13449,7 @@ export class DescribeDesktopSessionsRequest extends $tea.Model {
12999
13449
  * testUser
13000
13450
  */
13001
13451
  endUserId?: string;
13452
+ endUserIdFilter?: string;
13002
13453
  /**
13003
13454
  * @remarks
13004
13455
  * The ID of the office network.
@@ -13062,6 +13513,7 @@ export class DescribeDesktopSessionsRequest extends $tea.Model {
13062
13513
  desktopName: 'DesktopName',
13063
13514
  endTime: 'EndTime',
13064
13515
  endUserId: 'EndUserId',
13516
+ endUserIdFilter: 'EndUserIdFilter',
13065
13517
  officeSiteId: 'OfficeSiteId',
13066
13518
  pageNumber: 'PageNumber',
13067
13519
  pageSize: 'PageSize',
@@ -13079,6 +13531,7 @@ export class DescribeDesktopSessionsRequest extends $tea.Model {
13079
13531
  desktopName: 'string',
13080
13532
  endTime: 'string',
13081
13533
  endUserId: 'string',
13534
+ endUserIdFilter: 'string',
13082
13535
  officeSiteId: 'string',
13083
13536
  pageNumber: 'number',
13084
13537
  pageSize: 'number',
@@ -13367,6 +13820,7 @@ export class DescribeDesktopTypesRequest extends $tea.Model {
13367
13820
  * ecd.graphics.xlarge
13368
13821
  */
13369
13822
  desktopTypeId?: string;
13823
+ desktopTypeIdList?: string[];
13370
13824
  /**
13371
13825
  * @remarks
13372
13826
  * The number of GPUs.
@@ -13452,6 +13906,7 @@ export class DescribeDesktopTypesRequest extends $tea.Model {
13452
13906
  * 4
13453
13907
  */
13454
13908
  memorySize?: number;
13909
+ orderBy?: string;
13455
13910
  /**
13456
13911
  * @remarks
13457
13912
  * The order type.
@@ -13470,6 +13925,8 @@ export class DescribeDesktopTypesRequest extends $tea.Model {
13470
13925
  * cn-hangzhou
13471
13926
  */
13472
13927
  regionId?: string;
13928
+ scope?: string;
13929
+ sortType?: string;
13473
13930
  static names(): { [key: string]: string } {
13474
13931
  return {
13475
13932
  appliedScope: 'AppliedScope',
@@ -13477,12 +13934,16 @@ export class DescribeDesktopTypesRequest extends $tea.Model {
13477
13934
  desktopGroupIdForModify: 'DesktopGroupIdForModify',
13478
13935
  desktopIdForModify: 'DesktopIdForModify',
13479
13936
  desktopTypeId: 'DesktopTypeId',
13937
+ desktopTypeIdList: 'DesktopTypeIdList',
13480
13938
  gpuCount: 'GpuCount',
13481
13939
  gpuDriverType: 'GpuDriverType',
13482
13940
  instanceTypeFamily: 'InstanceTypeFamily',
13483
13941
  memorySize: 'MemorySize',
13942
+ orderBy: 'OrderBy',
13484
13943
  orderType: 'OrderType',
13485
13944
  regionId: 'RegionId',
13945
+ scope: 'Scope',
13946
+ sortType: 'SortType',
13486
13947
  };
13487
13948
  }
13488
13949
 
@@ -13493,12 +13954,16 @@ export class DescribeDesktopTypesRequest extends $tea.Model {
13493
13954
  desktopGroupIdForModify: 'string',
13494
13955
  desktopIdForModify: 'string',
13495
13956
  desktopTypeId: 'string',
13957
+ desktopTypeIdList: { 'type': 'array', 'itemType': 'string' },
13496
13958
  gpuCount: 'number',
13497
13959
  gpuDriverType: 'string',
13498
13960
  instanceTypeFamily: 'string',
13499
13961
  memorySize: 'number',
13962
+ orderBy: 'string',
13500
13963
  orderType: 'string',
13501
13964
  regionId: 'string',
13965
+ scope: 'string',
13966
+ sortType: 'string',
13502
13967
  };
13503
13968
  }
13504
13969
 
@@ -13734,6 +14199,8 @@ export class DescribeDesktopsRequest extends $tea.Model {
13734
14199
  * The types of the OSs.
13735
14200
  */
13736
14201
  osTypes?: string[];
14202
+ pageNumber?: number;
14203
+ pageSize?: number;
13737
14204
  /**
13738
14205
  * @remarks
13739
14206
  * The ID of the policy.
@@ -13817,6 +14284,8 @@ export class DescribeDesktopsRequest extends $tea.Model {
13817
14284
  officeSiteName: 'OfficeSiteName',
13818
14285
  onlyDesktopGroup: 'OnlyDesktopGroup',
13819
14286
  osTypes: 'OsTypes',
14287
+ pageNumber: 'PageNumber',
14288
+ pageSize: 'PageSize',
13820
14289
  policyGroupId: 'PolicyGroupId',
13821
14290
  protocolType: 'ProtocolType',
13822
14291
  qosRuleId: 'QosRuleId',
@@ -13855,6 +14324,8 @@ export class DescribeDesktopsRequest extends $tea.Model {
13855
14324
  officeSiteName: 'string',
13856
14325
  onlyDesktopGroup: 'boolean',
13857
14326
  osTypes: { 'type': 'array', 'itemType': 'string' },
14327
+ pageNumber: 'number',
14328
+ pageSize: 'number',
13858
14329
  policyGroupId: 'string',
13859
14330
  protocolType: 'string',
13860
14331
  qosRuleId: 'string',
@@ -13887,6 +14358,8 @@ export class DescribeDesktopsResponseBody extends $tea.Model {
13887
14358
  * caeba0bbb2be03f84eb48b699f0a4883
13888
14359
  */
13889
14360
  nextToken?: string;
14361
+ pageNumber?: number;
14362
+ pageSize?: number;
13890
14363
  /**
13891
14364
  * @remarks
13892
14365
  * The ID of the request.
@@ -13907,6 +14380,8 @@ export class DescribeDesktopsResponseBody extends $tea.Model {
13907
14380
  return {
13908
14381
  desktops: 'Desktops',
13909
14382
  nextToken: 'NextToken',
14383
+ pageNumber: 'PageNumber',
14384
+ pageSize: 'PageSize',
13910
14385
  requestId: 'RequestId',
13911
14386
  totalCount: 'TotalCount',
13912
14387
  };
@@ -13916,6 +14391,8 @@ export class DescribeDesktopsResponseBody extends $tea.Model {
13916
14391
  return {
13917
14392
  desktops: { 'type': 'array', 'itemType': DescribeDesktopsResponseBodyDesktops },
13918
14393
  nextToken: 'string',
14394
+ pageNumber: 'number',
14395
+ pageSize: 'number',
13919
14396
  requestId: 'string',
13920
14397
  totalCount: 'number',
13921
14398
  };
@@ -15942,6 +16419,7 @@ export class DescribeInvocationsRequest extends $tea.Model {
15942
16419
  * test1
15943
16420
  */
15944
16421
  endUserId?: string;
16422
+ includeInvokeDesktops?: boolean;
15945
16423
  /**
15946
16424
  * @remarks
15947
16425
  * Specifies whether to return command outputs in the response. Valid values:
@@ -16015,6 +16493,7 @@ export class DescribeInvocationsRequest extends $tea.Model {
16015
16493
  desktopId: 'DesktopId',
16016
16494
  desktopIds: 'DesktopIds',
16017
16495
  endUserId: 'EndUserId',
16496
+ includeInvokeDesktops: 'IncludeInvokeDesktops',
16018
16497
  includeOutput: 'IncludeOutput',
16019
16498
  invokeId: 'InvokeId',
16020
16499
  invokeStatus: 'InvokeStatus',
@@ -16031,6 +16510,7 @@ export class DescribeInvocationsRequest extends $tea.Model {
16031
16510
  desktopId: 'string',
16032
16511
  desktopIds: { 'type': 'array', 'itemType': 'string' },
16033
16512
  endUserId: 'string',
16513
+ includeInvokeDesktops: 'boolean',
16034
16514
  includeOutput: 'boolean',
16035
16515
  invokeId: 'string',
16036
16516
  invokeStatus: 'string',
@@ -16217,6 +16697,125 @@ export class DescribeKmsKeysResponse extends $tea.Model {
16217
16697
  }
16218
16698
  }
16219
16699
 
16700
+ export class DescribeModificationPriceRequest extends $tea.Model {
16701
+ /**
16702
+ * @example
16703
+ * 20
16704
+ */
16705
+ bandwidth?: number;
16706
+ /**
16707
+ * @example
16708
+ * ecd-0gfv2z3sf95zvt****
16709
+ */
16710
+ instanceId?: string;
16711
+ /**
16712
+ * @example
16713
+ * eds.enterprise_office.8c16g
16714
+ */
16715
+ instanceType?: string;
16716
+ /**
16717
+ * @remarks
16718
+ * This parameter is required.
16719
+ *
16720
+ * @example
16721
+ * cn-hangzhou
16722
+ */
16723
+ regionId?: string;
16724
+ /**
16725
+ * @example
16726
+ * Desktop
16727
+ */
16728
+ resourceType?: string;
16729
+ /**
16730
+ * @example
16731
+ * 80
16732
+ */
16733
+ rootDiskSizeGib?: number;
16734
+ /**
16735
+ * @example
16736
+ * 50
16737
+ */
16738
+ userDiskSizeGib?: number;
16739
+ static names(): { [key: string]: string } {
16740
+ return {
16741
+ bandwidth: 'Bandwidth',
16742
+ instanceId: 'InstanceId',
16743
+ instanceType: 'InstanceType',
16744
+ regionId: 'RegionId',
16745
+ resourceType: 'ResourceType',
16746
+ rootDiskSizeGib: 'RootDiskSizeGib',
16747
+ userDiskSizeGib: 'UserDiskSizeGib',
16748
+ };
16749
+ }
16750
+
16751
+ static types(): { [key: string]: any } {
16752
+ return {
16753
+ bandwidth: 'number',
16754
+ instanceId: 'string',
16755
+ instanceType: 'string',
16756
+ regionId: 'string',
16757
+ resourceType: 'string',
16758
+ rootDiskSizeGib: 'number',
16759
+ userDiskSizeGib: 'number',
16760
+ };
16761
+ }
16762
+
16763
+ constructor(map?: { [key: string]: any }) {
16764
+ super(map);
16765
+ }
16766
+ }
16767
+
16768
+ export class DescribeModificationPriceResponseBody extends $tea.Model {
16769
+ priceInfo?: DescribeModificationPriceResponseBodyPriceInfo;
16770
+ /**
16771
+ * @example
16772
+ * 48174475-5EB2-5F99-A9E9-6F892D645****
16773
+ */
16774
+ requestId?: string;
16775
+ static names(): { [key: string]: string } {
16776
+ return {
16777
+ priceInfo: 'PriceInfo',
16778
+ requestId: 'RequestId',
16779
+ };
16780
+ }
16781
+
16782
+ static types(): { [key: string]: any } {
16783
+ return {
16784
+ priceInfo: DescribeModificationPriceResponseBodyPriceInfo,
16785
+ requestId: 'string',
16786
+ };
16787
+ }
16788
+
16789
+ constructor(map?: { [key: string]: any }) {
16790
+ super(map);
16791
+ }
16792
+ }
16793
+
16794
+ export class DescribeModificationPriceResponse extends $tea.Model {
16795
+ headers?: { [key: string]: string };
16796
+ statusCode?: number;
16797
+ body?: DescribeModificationPriceResponseBody;
16798
+ static names(): { [key: string]: string } {
16799
+ return {
16800
+ headers: 'headers',
16801
+ statusCode: 'statusCode',
16802
+ body: 'body',
16803
+ };
16804
+ }
16805
+
16806
+ static types(): { [key: string]: any } {
16807
+ return {
16808
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
16809
+ statusCode: 'number',
16810
+ body: DescribeModificationPriceResponseBody,
16811
+ };
16812
+ }
16813
+
16814
+ constructor(map?: { [key: string]: any }) {
16815
+ super(map);
16816
+ }
16817
+ }
16818
+
16220
16819
  export class DescribeNASFileSystemsRequest extends $tea.Model {
16221
16820
  /**
16222
16821
  * @remarks
@@ -16576,6 +17175,18 @@ export class DescribeOfficeSitesRequest extends $tea.Model {
16576
17175
  * cn-hangzhou
16577
17176
  */
16578
17177
  regionId?: string;
17178
+ /**
17179
+ * @remarks
17180
+ * The security protection setting of the office network.
17181
+ *
17182
+ * Valid values:
17183
+ *
17184
+ * * SASE: SASE is configured.
17185
+ * * OFF: No security protection setting is configured.
17186
+ *
17187
+ * @example
17188
+ * SASE
17189
+ */
16579
17190
  securityProtection?: string;
16580
17191
  /**
16581
17192
  * @remarks
@@ -16710,6 +17321,13 @@ export class DescribeOfficeSitesResponseBody extends $tea.Model {
16710
17321
  * 1CBAFFAB-B697-4049-A9B1-67E1FC5F****
16711
17322
  */
16712
17323
  requestId?: string;
17324
+ /**
17325
+ * @remarks
17326
+ * The total number of entries returned.
17327
+ *
17328
+ * @example
17329
+ * 20
17330
+ */
16713
17331
  totalCount?: number;
16714
17332
  static names(): { [key: string]: string } {
16715
17333
  return {
@@ -16924,30 +17542,8 @@ export class DescribePriceRequest extends $tea.Model {
16924
17542
  * 10
16925
17543
  */
16926
17544
  bandwidth?: number;
16927
- /**
16928
- * **if can be null:**
16929
- * true
16930
- */
16931
- bundleModels?: DescribePriceRequestBundleModels[];
16932
- eduCdsEnable?: string;
16933
- eduCdsSize?: number;
16934
- eduCommittedTime?: number;
16935
- eduDesktopBundleId?: string;
16936
- eduDesktopNum?: number;
16937
- eduRoomClassify?: string;
16938
- eduStudentBundleId?: string;
16939
- eduStudentNum?: number;
16940
- eduTeacherBundleId?: string;
16941
- eduTeacherNum?: number;
17545
+ duration?: number;
16942
17546
  groupDesktopCount?: number;
16943
- /**
16944
- * @remarks
16945
- * The model of the WUYING hardware client.
16946
- *
16947
- * @example
16948
- * hide
16949
- */
16950
- hardwareVersion?: string;
16951
17547
  /**
16952
17548
  * @remarks
16953
17549
  * The resource specifications.
@@ -16992,7 +17588,6 @@ export class DescribePriceRequest extends $tea.Model {
16992
17588
  * PayByTraffic
16993
17589
  */
16994
17590
  internetChargeType?: string;
16995
- networkType?: string;
16996
17591
  /**
16997
17592
  * @remarks
16998
17593
  * The OS. Valid values:
@@ -17006,7 +17601,6 @@ export class DescribePriceRequest extends $tea.Model {
17006
17601
  * Windows
17007
17602
  */
17008
17603
  osType?: string;
17009
- packageSize?: number;
17010
17604
  /**
17011
17605
  * @remarks
17012
17606
  * The subscription duration. Default value: 1.
@@ -17061,19 +17655,7 @@ export class DescribePriceRequest extends $tea.Model {
17061
17655
  * Desktop
17062
17656
  */
17063
17657
  resourceType?: string;
17064
- /**
17065
- * @remarks
17066
- * The performance level (PL) of the system disk. Valid values:
17067
- *
17068
- * * PL0
17069
- * * PL1
17070
- * * PL2
17071
- * * PL3
17072
- *
17073
- * @example
17074
- * PL0
17075
- */
17076
- rootDiskPerformanceLevel?: string;
17658
+ rootDiskCategory?: string;
17077
17659
  /**
17078
17660
  * @remarks
17079
17661
  * The system disk size. Unit: GiB.
@@ -17082,22 +17664,7 @@ export class DescribePriceRequest extends $tea.Model {
17082
17664
  * 80
17083
17665
  */
17084
17666
  rootDiskSizeGib?: number;
17085
- spPeriodInfo?: string;
17086
- spPrice?: boolean;
17087
- spType?: string;
17088
- /**
17089
- * @remarks
17090
- * The PL of the data disk. Valid values:
17091
- *
17092
- * * PL0
17093
- * * PL1
17094
- * * PL2
17095
- * * PL3
17096
- *
17097
- * @example
17098
- * PL0
17099
- */
17100
- userDiskPerformanceLevel?: string;
17667
+ userDiskCategory?: string;
17101
17668
  /**
17102
17669
  * @remarks
17103
17670
  * The data disk size. Unit: GiB.
@@ -17110,35 +17677,19 @@ export class DescribePriceRequest extends $tea.Model {
17110
17677
  return {
17111
17678
  amount: 'Amount',
17112
17679
  bandwidth: 'Bandwidth',
17113
- bundleModels: 'BundleModels',
17114
- eduCdsEnable: 'EduCdsEnable',
17115
- eduCdsSize: 'EduCdsSize',
17116
- eduCommittedTime: 'EduCommittedTime',
17117
- eduDesktopBundleId: 'EduDesktopBundleId',
17118
- eduDesktopNum: 'EduDesktopNum',
17119
- eduRoomClassify: 'EduRoomClassify',
17120
- eduStudentBundleId: 'EduStudentBundleId',
17121
- eduStudentNum: 'EduStudentNum',
17122
- eduTeacherBundleId: 'EduTeacherBundleId',
17123
- eduTeacherNum: 'EduTeacherNum',
17680
+ duration: 'Duration',
17124
17681
  groupDesktopCount: 'GroupDesktopCount',
17125
- hardwareVersion: 'HardwareVersion',
17126
17682
  instanceType: 'InstanceType',
17127
17683
  internetChargeType: 'InternetChargeType',
17128
- networkType: 'NetworkType',
17129
17684
  osType: 'OsType',
17130
- packageSize: 'PackageSize',
17131
17685
  period: 'Period',
17132
17686
  periodUnit: 'PeriodUnit',
17133
17687
  promotionId: 'PromotionId',
17134
17688
  regionId: 'RegionId',
17135
17689
  resourceType: 'ResourceType',
17136
- rootDiskPerformanceLevel: 'RootDiskPerformanceLevel',
17690
+ rootDiskCategory: 'RootDiskCategory',
17137
17691
  rootDiskSizeGib: 'RootDiskSizeGib',
17138
- spPeriodInfo: 'SpPeriodInfo',
17139
- spPrice: 'SpPrice',
17140
- spType: 'SpType',
17141
- userDiskPerformanceLevel: 'UserDiskPerformanceLevel',
17692
+ userDiskCategory: 'UserDiskCategory',
17142
17693
  userDiskSizeGib: 'UserDiskSizeGib',
17143
17694
  };
17144
17695
  }
@@ -17147,35 +17698,19 @@ export class DescribePriceRequest extends $tea.Model {
17147
17698
  return {
17148
17699
  amount: 'number',
17149
17700
  bandwidth: 'number',
17150
- bundleModels: { 'type': 'array', 'itemType': DescribePriceRequestBundleModels },
17151
- eduCdsEnable: 'string',
17152
- eduCdsSize: 'number',
17153
- eduCommittedTime: 'number',
17154
- eduDesktopBundleId: 'string',
17155
- eduDesktopNum: 'number',
17156
- eduRoomClassify: 'string',
17157
- eduStudentBundleId: 'string',
17158
- eduStudentNum: 'number',
17159
- eduTeacherBundleId: 'string',
17160
- eduTeacherNum: 'number',
17701
+ duration: 'number',
17161
17702
  groupDesktopCount: 'number',
17162
- hardwareVersion: 'string',
17163
17703
  instanceType: 'string',
17164
17704
  internetChargeType: 'string',
17165
- networkType: 'string',
17166
17705
  osType: 'string',
17167
- packageSize: 'number',
17168
17706
  period: 'number',
17169
17707
  periodUnit: 'string',
17170
17708
  promotionId: 'string',
17171
17709
  regionId: 'string',
17172
17710
  resourceType: 'string',
17173
- rootDiskPerformanceLevel: 'string',
17711
+ rootDiskCategory: 'string',
17174
17712
  rootDiskSizeGib: 'number',
17175
- spPeriodInfo: 'string',
17176
- spPrice: 'boolean',
17177
- spType: 'string',
17178
- userDiskPerformanceLevel: 'string',
17713
+ userDiskCategory: 'string',
17179
17714
  userDiskSizeGib: 'number',
17180
17715
  };
17181
17716
  }
@@ -17611,6 +18146,97 @@ export class DescribeRecordingsResponse extends $tea.Model {
17611
18146
  }
17612
18147
  }
17613
18148
 
18149
+ export class DescribeRefundPriceRequest extends $tea.Model {
18150
+ /**
18151
+ * @remarks
18152
+ * This parameter is required.
18153
+ */
18154
+ desktopId?: string[];
18155
+ /**
18156
+ * @example
18157
+ * RemainRefund
18158
+ */
18159
+ refundType?: string;
18160
+ /**
18161
+ * @remarks
18162
+ * This parameter is required.
18163
+ *
18164
+ * @example
18165
+ * cn-hangzhou
18166
+ */
18167
+ regionId?: string;
18168
+ static names(): { [key: string]: string } {
18169
+ return {
18170
+ desktopId: 'DesktopId',
18171
+ refundType: 'RefundType',
18172
+ regionId: 'RegionId',
18173
+ };
18174
+ }
18175
+
18176
+ static types(): { [key: string]: any } {
18177
+ return {
18178
+ desktopId: { 'type': 'array', 'itemType': 'string' },
18179
+ refundType: 'string',
18180
+ regionId: 'string',
18181
+ };
18182
+ }
18183
+
18184
+ constructor(map?: { [key: string]: any }) {
18185
+ super(map);
18186
+ }
18187
+ }
18188
+
18189
+ export class DescribeRefundPriceResponseBody extends $tea.Model {
18190
+ priceInfo?: DescribeRefundPriceResponseBodyPriceInfo;
18191
+ /**
18192
+ * @example
18193
+ * 1CBAFFAB-B697-4049-A9B1-67E1FC5F****
18194
+ */
18195
+ requestId?: string;
18196
+ static names(): { [key: string]: string } {
18197
+ return {
18198
+ priceInfo: 'PriceInfo',
18199
+ requestId: 'RequestId',
18200
+ };
18201
+ }
18202
+
18203
+ static types(): { [key: string]: any } {
18204
+ return {
18205
+ priceInfo: DescribeRefundPriceResponseBodyPriceInfo,
18206
+ requestId: 'string',
18207
+ };
18208
+ }
18209
+
18210
+ constructor(map?: { [key: string]: any }) {
18211
+ super(map);
18212
+ }
18213
+ }
18214
+
18215
+ export class DescribeRefundPriceResponse extends $tea.Model {
18216
+ headers?: { [key: string]: string };
18217
+ statusCode?: number;
18218
+ body?: DescribeRefundPriceResponseBody;
18219
+ static names(): { [key: string]: string } {
18220
+ return {
18221
+ headers: 'headers',
18222
+ statusCode: 'statusCode',
18223
+ body: 'body',
18224
+ };
18225
+ }
18226
+
18227
+ static types(): { [key: string]: any } {
18228
+ return {
18229
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
18230
+ statusCode: 'number',
18231
+ body: DescribeRefundPriceResponseBody,
18232
+ };
18233
+ }
18234
+
18235
+ constructor(map?: { [key: string]: any }) {
18236
+ super(map);
18237
+ }
18238
+ }
18239
+
17614
18240
  export class DescribeRegionsRequest extends $tea.Model {
17615
18241
  /**
17616
18242
  * @remarks
@@ -17707,6 +18333,114 @@ export class DescribeRegionsResponse extends $tea.Model {
17707
18333
  }
17708
18334
  }
17709
18335
 
18336
+ export class DescribeRenewalPriceRequest extends $tea.Model {
18337
+ /**
18338
+ * @example
18339
+ * ecd-6ldllk9zxcpfhs****
18340
+ */
18341
+ instanceId?: string;
18342
+ instanceIds?: string[];
18343
+ /**
18344
+ * @example
18345
+ * 1
18346
+ */
18347
+ period?: number;
18348
+ /**
18349
+ * @example
18350
+ * Month
18351
+ */
18352
+ periodUnit?: string;
18353
+ /**
18354
+ * @remarks
18355
+ * This parameter is required.
18356
+ *
18357
+ * @example
18358
+ * cn-hangzhou
18359
+ */
18360
+ regionId?: string;
18361
+ /**
18362
+ * @example
18363
+ * Desktop
18364
+ */
18365
+ resourceType?: string;
18366
+ static names(): { [key: string]: string } {
18367
+ return {
18368
+ instanceId: 'InstanceId',
18369
+ instanceIds: 'InstanceIds',
18370
+ period: 'Period',
18371
+ periodUnit: 'PeriodUnit',
18372
+ regionId: 'RegionId',
18373
+ resourceType: 'ResourceType',
18374
+ };
18375
+ }
18376
+
18377
+ static types(): { [key: string]: any } {
18378
+ return {
18379
+ instanceId: 'string',
18380
+ instanceIds: { 'type': 'array', 'itemType': 'string' },
18381
+ period: 'number',
18382
+ periodUnit: 'string',
18383
+ regionId: 'string',
18384
+ resourceType: 'string',
18385
+ };
18386
+ }
18387
+
18388
+ constructor(map?: { [key: string]: any }) {
18389
+ super(map);
18390
+ }
18391
+ }
18392
+
18393
+ export class DescribeRenewalPriceResponseBody extends $tea.Model {
18394
+ priceInfo?: DescribeRenewalPriceResponseBodyPriceInfo;
18395
+ /**
18396
+ * @example
18397
+ * 72E47B1E-6B11-5A11-A27C-7A80F866****
18398
+ */
18399
+ requestId?: string;
18400
+ static names(): { [key: string]: string } {
18401
+ return {
18402
+ priceInfo: 'PriceInfo',
18403
+ requestId: 'RequestId',
18404
+ };
18405
+ }
18406
+
18407
+ static types(): { [key: string]: any } {
18408
+ return {
18409
+ priceInfo: DescribeRenewalPriceResponseBodyPriceInfo,
18410
+ requestId: 'string',
18411
+ };
18412
+ }
18413
+
18414
+ constructor(map?: { [key: string]: any }) {
18415
+ super(map);
18416
+ }
18417
+ }
18418
+
18419
+ export class DescribeRenewalPriceResponse extends $tea.Model {
18420
+ headers?: { [key: string]: string };
18421
+ statusCode?: number;
18422
+ body?: DescribeRenewalPriceResponseBody;
18423
+ static names(): { [key: string]: string } {
18424
+ return {
18425
+ headers: 'headers',
18426
+ statusCode: 'statusCode',
18427
+ body: 'body',
18428
+ };
18429
+ }
18430
+
18431
+ static types(): { [key: string]: any } {
18432
+ return {
18433
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
18434
+ statusCode: 'number',
18435
+ body: DescribeRenewalPriceResponseBody,
18436
+ };
18437
+ }
18438
+
18439
+ constructor(map?: { [key: string]: any }) {
18440
+ super(map);
18441
+ }
18442
+ }
18443
+
17710
18444
  export class DescribeSessionStatisticRequest extends $tea.Model {
17711
18445
  /**
17712
18446
  * @remarks
@@ -20758,6 +21492,7 @@ export class GetConnectionTicketRequest extends $tea.Model {
20758
21492
  }
20759
21493
 
20760
21494
  export class GetConnectionTicketResponseBody extends $tea.Model {
21495
+ desktopId?: string;
20761
21496
  /**
20762
21497
  * @remarks
20763
21498
  * The ID of the request.
@@ -20766,6 +21501,7 @@ export class GetConnectionTicketResponseBody extends $tea.Model {
20766
21501
  * 1CBAFFAB-B697-4049-A9B1-67E1FC5F****
20767
21502
  */
20768
21503
  requestId?: string;
21504
+ taskCode?: string;
20769
21505
  /**
20770
21506
  * @remarks
20771
21507
  * The ID of the cloud computer connection task.
@@ -20774,6 +21510,7 @@ export class GetConnectionTicketResponseBody extends $tea.Model {
20774
21510
  * 2afbad19-778a-4fc5-9674-1f19c638****
20775
21511
  */
20776
21512
  taskId?: string;
21513
+ taskMessage?: string;
20777
21514
  /**
20778
21515
  * @remarks
20779
21516
  * The task status.
@@ -20828,8 +21565,11 @@ export class GetConnectionTicketResponseBody extends $tea.Model {
20828
21565
  ticket?: string;
20829
21566
  static names(): { [key: string]: string } {
20830
21567
  return {
21568
+ desktopId: 'DesktopId',
20831
21569
  requestId: 'RequestId',
21570
+ taskCode: 'TaskCode',
20832
21571
  taskId: 'TaskId',
21572
+ taskMessage: 'TaskMessage',
20833
21573
  taskStatus: 'TaskStatus',
20834
21574
  ticket: 'Ticket',
20835
21575
  };
@@ -20837,8 +21577,11 @@ export class GetConnectionTicketResponseBody extends $tea.Model {
20837
21577
 
20838
21578
  static types(): { [key: string]: any } {
20839
21579
  return {
21580
+ desktopId: 'string',
20840
21581
  requestId: 'string',
21582
+ taskCode: 'string',
20841
21583
  taskId: 'string',
21584
+ taskMessage: 'string',
20842
21585
  taskStatus: 'string',
20843
21586
  ticket: 'string',
20844
21587
  };
@@ -22061,6 +22804,7 @@ export class ListCdsFilesResponse extends $tea.Model {
22061
22804
  }
22062
22805
 
22063
22806
  export class ListDirectoryUsersRequest extends $tea.Model {
22807
+ assignedInfo?: string;
22064
22808
  /**
22065
22809
  * @remarks
22066
22810
  * The ID of the AD directory.
@@ -22079,6 +22823,7 @@ export class ListDirectoryUsersRequest extends $tea.Model {
22079
22823
  * alice
22080
22824
  */
22081
22825
  filter?: string;
22826
+ includeAssignedUser?: boolean;
22082
22827
  /**
22083
22828
  * @remarks
22084
22829
  * The number of entries to return on each page.
@@ -22117,25 +22862,32 @@ export class ListDirectoryUsersRequest extends $tea.Model {
22117
22862
  * cn-hangzhou
22118
22863
  */
22119
22864
  regionId?: string;
22865
+ sortType?: string;
22120
22866
  static names(): { [key: string]: string } {
22121
22867
  return {
22868
+ assignedInfo: 'AssignedInfo',
22122
22869
  directoryId: 'DirectoryId',
22123
22870
  filter: 'Filter',
22871
+ includeAssignedUser: 'IncludeAssignedUser',
22124
22872
  maxResults: 'MaxResults',
22125
22873
  nextToken: 'NextToken',
22126
22874
  OUPath: 'OUPath',
22127
22875
  regionId: 'RegionId',
22876
+ sortType: 'SortType',
22128
22877
  };
22129
22878
  }
22130
22879
 
22131
22880
  static types(): { [key: string]: any } {
22132
22881
  return {
22882
+ assignedInfo: 'string',
22133
22883
  directoryId: 'string',
22134
22884
  filter: 'string',
22885
+ includeAssignedUser: 'boolean',
22135
22886
  maxResults: 'number',
22136
22887
  nextToken: 'string',
22137
22888
  OUPath: 'string',
22138
22889
  regionId: 'string',
22890
+ sortType: 'string',
22139
22891
  };
22140
22892
  }
22141
22893
 
@@ -22495,6 +23247,7 @@ export class ListOfficeSiteOverviewResponse extends $tea.Model {
22495
23247
  }
22496
23248
 
22497
23249
  export class ListOfficeSiteUsersRequest extends $tea.Model {
23250
+ assignedInfo?: string;
22498
23251
  /**
22499
23252
  * @remarks
22500
23253
  * The query string for fuzzy query.
@@ -22503,6 +23256,7 @@ export class ListOfficeSiteUsersRequest extends $tea.Model {
22503
23256
  * *jin*
22504
23257
  */
22505
23258
  filter?: string;
23259
+ includeAssignedUser?: boolean;
22506
23260
  /**
22507
23261
  * @remarks
22508
23262
  * The number of entries per page.
@@ -22550,25 +23304,32 @@ export class ListOfficeSiteUsersRequest extends $tea.Model {
22550
23304
  * cn-hangzhou
22551
23305
  */
22552
23306
  regionId?: string;
23307
+ sortType?: string;
22553
23308
  static names(): { [key: string]: string } {
22554
23309
  return {
23310
+ assignedInfo: 'AssignedInfo',
22555
23311
  filter: 'Filter',
23312
+ includeAssignedUser: 'IncludeAssignedUser',
22556
23313
  maxResults: 'MaxResults',
22557
23314
  nextToken: 'NextToken',
22558
23315
  OUPath: 'OUPath',
22559
23316
  officeSiteId: 'OfficeSiteId',
22560
23317
  regionId: 'RegionId',
23318
+ sortType: 'SortType',
22561
23319
  };
22562
23320
  }
22563
23321
 
22564
23322
  static types(): { [key: string]: any } {
22565
23323
  return {
23324
+ assignedInfo: 'string',
22566
23325
  filter: 'string',
23326
+ includeAssignedUser: 'boolean',
22567
23327
  maxResults: 'number',
22568
23328
  nextToken: 'string',
22569
23329
  OUPath: 'string',
22570
23330
  officeSiteId: 'string',
22571
23331
  regionId: 'string',
23332
+ sortType: 'string',
22572
23333
  };
22573
23334
  }
22574
23335
 
@@ -23263,7 +24024,7 @@ export class ModifyADConnectorDirectoryRequest extends $tea.Model {
23263
24024
  * The IP address of the DNS server corresponding to the enterprise AD. You can specify only one IP address. Make sure that the specified IP address is accessible in the network of the selected vSwitch.
23264
24025
  *
23265
24026
  * @example
23266
- * 127.0.\*\*.**
24027
+ * ``127.0.**.**``
23267
24028
  */
23268
24029
  dnsAddress?: string[];
23269
24030
  /**
@@ -23342,7 +24103,7 @@ export class ModifyADConnectorDirectoryRequest extends $tea.Model {
23342
24103
  * If you specify the `SubDomainName` parameter but you do not specify this parameter, the DNS address of the subdomain is the same as the DNS address of the parent domain.
23343
24104
  *
23344
24105
  * @example
23345
- * 127.0.\*\*.**
24106
+ * ``127.0.**.**``
23346
24107
  */
23347
24108
  subDomainDnsAddress?: string[];
23348
24109
  /**
@@ -24871,6 +25632,7 @@ export class ModifyCloudDrivePermissionRequest extends $tea.Model {
24871
25632
  * The IDs of the users who have the upload and download permissions.
24872
25633
  */
24873
25634
  downloadUploadEndUserIds?: string[];
25635
+ noDownloadNoUploadEndUserIds?: string[];
24874
25636
  /**
24875
25637
  * @remarks
24876
25638
  * The region ID.
@@ -24886,6 +25648,7 @@ export class ModifyCloudDrivePermissionRequest extends $tea.Model {
24886
25648
  cdsId: 'CdsId',
24887
25649
  downloadEndUserIds: 'DownloadEndUserIds',
24888
25650
  downloadUploadEndUserIds: 'DownloadUploadEndUserIds',
25651
+ noDownloadNoUploadEndUserIds: 'NoDownloadNoUploadEndUserIds',
24889
25652
  regionId: 'RegionId',
24890
25653
  };
24891
25654
  }
@@ -24895,6 +25658,7 @@ export class ModifyCloudDrivePermissionRequest extends $tea.Model {
24895
25658
  cdsId: 'string',
24896
25659
  downloadEndUserIds: { 'type': 'array', 'itemType': 'string' },
24897
25660
  downloadUploadEndUserIds: { 'type': 'array', 'itemType': 'string' },
25661
+ noDownloadNoUploadEndUserIds: { 'type': 'array', 'itemType': 'string' },
24898
25662
  regionId: 'string',
24899
25663
  };
24900
25664
  }
@@ -25506,7 +26270,7 @@ export class ModifyDesktopGroupRequest extends $tea.Model {
25506
26270
  disableSessionConfig?: boolean;
25507
26271
  /**
25508
26272
  * @remarks
25509
- * The ID of the Apsara File Storage NAS (NAS) file system for the user data roaming feature.
26273
+ * The ID of the File Storage NAS (NAS) file system for the user data roaming feature.
25510
26274
  *
25511
26275
  * > This parameter is unavailable.
25512
26276
  *
@@ -28469,6 +29233,7 @@ export class ModifyPolicyGroupRequest extends $tea.Model {
28469
29233
  * EndUserId
28470
29234
  */
28471
29235
  watermarkType?: string;
29236
+ wyAssistant?: string;
28472
29237
  static names(): { [key: string]: string } {
28473
29238
  return {
28474
29239
  adminAccess: 'AdminAccess',
@@ -28530,6 +29295,7 @@ export class ModifyPolicyGroupRequest extends $tea.Model {
28530
29295
  watermarkTransparency: 'WatermarkTransparency',
28531
29296
  watermarkTransparencyValue: 'WatermarkTransparencyValue',
28532
29297
  watermarkType: 'WatermarkType',
29298
+ wyAssistant: 'WyAssistant',
28533
29299
  };
28534
29300
  }
28535
29301
 
@@ -28594,6 +29360,7 @@ export class ModifyPolicyGroupRequest extends $tea.Model {
28594
29360
  watermarkTransparency: 'string',
28595
29361
  watermarkTransparencyValue: 'number',
28596
29362
  watermarkType: 'string',
29363
+ wyAssistant: 'string',
28597
29364
  };
28598
29365
  }
28599
29366
 
@@ -29189,7 +29956,7 @@ export class RebootDesktopsResponse extends $tea.Model {
29189
29956
  export class RebuildDesktopsRequest extends $tea.Model {
29190
29957
  /**
29191
29958
  * @remarks
29192
- * The IDs of the cloud computers. You can specify 1 to 20 IDs.
29959
+ * The cloud computer IDs. You can specify the IDs of 1 to 20 cloud computers.
29193
29960
  *
29194
29961
  * This parameter is required.
29195
29962
  *
@@ -29205,6 +29972,20 @@ export class RebuildDesktopsRequest extends $tea.Model {
29205
29972
  * m-84mztzatmlnys****
29206
29973
  */
29207
29974
  imageId?: string;
29975
+ /**
29976
+ * @remarks
29977
+ * The OS language. Only system images are supported, and Linux cloud computers support only English.
29978
+ *
29979
+ * Valid values:
29980
+ *
29981
+ * * en-US: English
29982
+ * * zh-HK: Traditional Chinese (Hong Kong, China)
29983
+ * * zh-CN: Simplified Chinese
29984
+ * * ja-JP: Japanese
29985
+ *
29986
+ * @example
29987
+ * en-US
29988
+ */
29208
29989
  language?: string;
29209
29990
  /**
29210
29991
  * @remarks
@@ -29233,7 +30014,7 @@ export class RebuildDesktopsRequest extends $tea.Model {
29233
30014
  operateType?: string;
29234
30015
  /**
29235
30016
  * @remarks
29236
- * The region ID. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/196646.html) operation to query the most recent region list.
30017
+ * The region ID. You can call the [DescribeRegions](~~DescribeRegions~~) operation to query the regions supported by Elastic Desktop Service (EDS).
29237
30018
  *
29238
30019
  * This parameter is required.
29239
30020
  *
@@ -29708,6 +30489,121 @@ export class RemoveUserFromDesktopOversoldUserGroupResponse extends $tea.Model {
29708
30489
  }
29709
30490
  }
29710
30491
 
30492
+ export class RenewDesktopGroupRequest extends $tea.Model {
30493
+ /**
30494
+ * @example
30495
+ * true
30496
+ */
30497
+ autoPay?: boolean;
30498
+ /**
30499
+ * @example
30500
+ * false
30501
+ */
30502
+ autoRenew?: boolean;
30503
+ /**
30504
+ * @remarks
30505
+ * This parameter is required.
30506
+ *
30507
+ * @example
30508
+ * dg-7724r1jitbjzc****
30509
+ */
30510
+ desktopGroupId?: string;
30511
+ /**
30512
+ * @example
30513
+ * 1
30514
+ */
30515
+ period?: number;
30516
+ /**
30517
+ * @example
30518
+ * Month
30519
+ */
30520
+ periodUnit?: string;
30521
+ /**
30522
+ * @remarks
30523
+ * This parameter is required.
30524
+ *
30525
+ * @example
30526
+ * cn-hangzhou
30527
+ */
30528
+ regionId?: string;
30529
+ static names(): { [key: string]: string } {
30530
+ return {
30531
+ autoPay: 'AutoPay',
30532
+ autoRenew: 'AutoRenew',
30533
+ desktopGroupId: 'DesktopGroupId',
30534
+ period: 'Period',
30535
+ periodUnit: 'PeriodUnit',
30536
+ regionId: 'RegionId',
30537
+ };
30538
+ }
30539
+
30540
+ static types(): { [key: string]: any } {
30541
+ return {
30542
+ autoPay: 'boolean',
30543
+ autoRenew: 'boolean',
30544
+ desktopGroupId: 'string',
30545
+ period: 'number',
30546
+ periodUnit: 'string',
30547
+ regionId: 'string',
30548
+ };
30549
+ }
30550
+
30551
+ constructor(map?: { [key: string]: any }) {
30552
+ super(map);
30553
+ }
30554
+ }
30555
+
30556
+ export class RenewDesktopGroupResponseBody extends $tea.Model {
30557
+ orderId?: string[];
30558
+ /**
30559
+ * @example
30560
+ * E55E6732-2028-52FA-AB06-EA29C36B****
30561
+ */
30562
+ requestId?: string;
30563
+ static names(): { [key: string]: string } {
30564
+ return {
30565
+ orderId: 'OrderId',
30566
+ requestId: 'RequestId',
30567
+ };
30568
+ }
30569
+
30570
+ static types(): { [key: string]: any } {
30571
+ return {
30572
+ orderId: { 'type': 'array', 'itemType': 'string' },
30573
+ requestId: 'string',
30574
+ };
30575
+ }
30576
+
30577
+ constructor(map?: { [key: string]: any }) {
30578
+ super(map);
30579
+ }
30580
+ }
30581
+
30582
+ export class RenewDesktopGroupResponse extends $tea.Model {
30583
+ headers?: { [key: string]: string };
30584
+ statusCode?: number;
30585
+ body?: RenewDesktopGroupResponseBody;
30586
+ static names(): { [key: string]: string } {
30587
+ return {
30588
+ headers: 'headers',
30589
+ statusCode: 'statusCode',
30590
+ body: 'body',
30591
+ };
30592
+ }
30593
+
30594
+ static types(): { [key: string]: any } {
30595
+ return {
30596
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
30597
+ statusCode: 'number',
30598
+ body: RenewDesktopGroupResponseBody,
30599
+ };
30600
+ }
30601
+
30602
+ constructor(map?: { [key: string]: any }) {
30603
+ super(map);
30604
+ }
30605
+ }
30606
+
29711
30607
  export class RenewDesktopOversoldGroupRequest extends $tea.Model {
29712
30608
  oversoldGroupId?: string;
29713
30609
  period?: number;
@@ -32868,6 +33764,7 @@ export class UploadImageRequest extends $tea.Model {
32868
33764
  * cn-hangzhou
32869
33765
  */
32870
33766
  regionId?: string;
33767
+ systemDiskSize?: string;
32871
33768
  static names(): { [key: string]: string } {
32872
33769
  return {
32873
33770
  dataDiskSize: 'DataDiskSize',
@@ -32881,6 +33778,7 @@ export class UploadImageRequest extends $tea.Model {
32881
33778
  ossObjectPath: 'OssObjectPath',
32882
33779
  protocolType: 'ProtocolType',
32883
33780
  regionId: 'RegionId',
33781
+ systemDiskSize: 'SystemDiskSize',
32884
33782
  };
32885
33783
  }
32886
33784
 
@@ -32897,6 +33795,7 @@ export class UploadImageRequest extends $tea.Model {
32897
33795
  ossObjectPath: 'string',
32898
33796
  protocolType: 'string',
32899
33797
  regionId: 'string',
33798
+ systemDiskSize: 'string',
32900
33799
  };
32901
33800
  }
32902
33801
 
@@ -33660,7 +34559,7 @@ export class CreateADConnectorDirectoryResponseBodyAdConnectors extends $tea.Mod
33660
34559
  * The connection address.
33661
34560
  *
33662
34561
  * @example
33663
- * 127.0.\*\*.**
34562
+ * ``127.0.**.**``
33664
34563
  */
33665
34564
  address?: string;
33666
34565
  static names(): { [key: string]: string } {
@@ -33814,20 +34713,475 @@ export class CreateDesktopGroupRequestTag extends $tea.Model {
33814
34713
  }
33815
34714
  }
33816
34715
 
33817
- export class CreateDesktopOversoldGroupResponseBodyData extends $tea.Model {
33818
- orderId?: number;
33819
- oversoldGroupId?: string;
34716
+ export class CreateDesktopOversoldGroupResponseBodyData extends $tea.Model {
34717
+ orderId?: number;
34718
+ oversoldGroupId?: string;
34719
+ static names(): { [key: string]: string } {
34720
+ return {
34721
+ orderId: 'OrderId',
34722
+ oversoldGroupId: 'OversoldGroupId',
34723
+ };
34724
+ }
34725
+
34726
+ static types(): { [key: string]: any } {
34727
+ return {
34728
+ orderId: 'number',
34729
+ oversoldGroupId: 'string',
34730
+ };
34731
+ }
34732
+
34733
+ constructor(map?: { [key: string]: any }) {
34734
+ super(map);
34735
+ }
34736
+ }
34737
+
34738
+ export class CreateDesktopsRequestBundleModels extends $tea.Model {
34739
+ /**
34740
+ * @remarks
34741
+ * The number of cloud computers that you want to create. Valid values: 1 to 300. Default value: null.
34742
+ *
34743
+ * @example
34744
+ * 1
34745
+ */
34746
+ amount?: number;
34747
+ /**
34748
+ * @remarks
34749
+ * The ID of a cloud computer template.
34750
+ *
34751
+ * @example
34752
+ * b-je9hani001wfn****
34753
+ */
34754
+ bundleId?: string;
34755
+ /**
34756
+ * @remarks
34757
+ * The name of the cloud computer. The name must meet the following requirements:
34758
+ *
34759
+ * * The name must be 1 to 64 characters in length.
34760
+ * * The name must start with a letter but cannot start with `http://` or `https://`.
34761
+ * * The name can only contain letters, digits, colons (:), underscores (_), periods (.), and hyphens (-).
34762
+ *
34763
+ * @example
34764
+ * testDesktopName
34765
+ */
34766
+ desktopName?: string;
34767
+ /**
34768
+ * @remarks
34769
+ * The IDs of the end users to whom the cloud computer are assigned.
34770
+ */
34771
+ endUserIds?: string[];
34772
+ /**
34773
+ * @remarks
34774
+ * The custom hostnames of the cloud computers. This parameter is valid only if the office network is an AD office network and the operating system type of the cloud computers is Windows.
34775
+ *
34776
+ * The hostnames must meet the following requirements:
34777
+ *
34778
+ * * The hostnames must be 2 to 15 characters in length.
34779
+ * * The hostnames can contain only letters, digits, and hyphens (-). The hostnames cannot start or end with a hyphen (-), contain consecutive hyphens (-), or contain only digits.
34780
+ *
34781
+ * When you create multiple cloud computers, you can use the `name_prefix[begin_number,bits]name_suffix` naming format to name the cloud computers. For example, if you set the value of the Hostname parameter to ecd-[1,4]-test, the hostname of the first cloud computer is ecd-0001-test, the hostname of the second cloud computer is ecd-0002-test, and so on.
34782
+ *
34783
+ * * `name_prefix`: the prefix of the hostname.
34784
+ * * `[begin_number,bits]`: the sequential number in the hostname. The `begin_number` value is the starting digit. Valid values of begin_number: 0 to 999999. Default value: 0. The `bits` value is the number of digits. Valid values: 1 to 6. Default value: 6.
34785
+ * * `name_suffix`: the suffix of the hostname.
34786
+ *
34787
+ * @example
34788
+ * testhost
34789
+ */
34790
+ hostname?: string;
34791
+ /**
34792
+ * @remarks
34793
+ * Specifies whether to enable disk encryption.
34794
+ *
34795
+ * @example
34796
+ * false
34797
+ */
34798
+ volumeEncryptionEnabled?: boolean;
34799
+ /**
34800
+ * @remarks
34801
+ * The ID of the Key Management Service (KMS) key that is used when disk encryption is enabled. You can call the [ListKeys](https://help.aliyun.com/document_detail/28951.html) operation to query the list of KMS keys.
34802
+ *
34803
+ * @example
34804
+ * 08c33a6f-4e0a-4a1b-a3fa-7ddfa1d4****
34805
+ */
34806
+ volumeEncryptionKey?: string;
34807
+ static names(): { [key: string]: string } {
34808
+ return {
34809
+ amount: 'Amount',
34810
+ bundleId: 'BundleId',
34811
+ desktopName: 'DesktopName',
34812
+ endUserIds: 'EndUserIds',
34813
+ hostname: 'Hostname',
34814
+ volumeEncryptionEnabled: 'VolumeEncryptionEnabled',
34815
+ volumeEncryptionKey: 'VolumeEncryptionKey',
34816
+ };
34817
+ }
34818
+
34819
+ static types(): { [key: string]: any } {
34820
+ return {
34821
+ amount: 'number',
34822
+ bundleId: 'string',
34823
+ desktopName: 'string',
34824
+ endUserIds: { 'type': 'array', 'itemType': 'string' },
34825
+ hostname: 'string',
34826
+ volumeEncryptionEnabled: 'boolean',
34827
+ volumeEncryptionKey: 'string',
34828
+ };
34829
+ }
34830
+
34831
+ constructor(map?: { [key: string]: any }) {
34832
+ super(map);
34833
+ }
34834
+ }
34835
+
34836
+ export class CreateDesktopsRequestDesktopAttachment extends $tea.Model {
34837
+ dataDiskCategory?: string;
34838
+ dataDiskPerLevel?: string;
34839
+ dataDiskSize?: number;
34840
+ defaultLanguage?: string;
34841
+ desktopType?: string;
34842
+ imageId?: string;
34843
+ systemDiskCategory?: string;
34844
+ systemDiskPerLevel?: string;
34845
+ systemDiskSize?: number;
34846
+ static names(): { [key: string]: string } {
34847
+ return {
34848
+ dataDiskCategory: 'DataDiskCategory',
34849
+ dataDiskPerLevel: 'DataDiskPerLevel',
34850
+ dataDiskSize: 'DataDiskSize',
34851
+ defaultLanguage: 'DefaultLanguage',
34852
+ desktopType: 'DesktopType',
34853
+ imageId: 'ImageId',
34854
+ systemDiskCategory: 'SystemDiskCategory',
34855
+ systemDiskPerLevel: 'SystemDiskPerLevel',
34856
+ systemDiskSize: 'SystemDiskSize',
34857
+ };
34858
+ }
34859
+
34860
+ static types(): { [key: string]: any } {
34861
+ return {
34862
+ dataDiskCategory: 'string',
34863
+ dataDiskPerLevel: 'string',
34864
+ dataDiskSize: 'number',
34865
+ defaultLanguage: 'string',
34866
+ desktopType: 'string',
34867
+ imageId: 'string',
34868
+ systemDiskCategory: 'string',
34869
+ systemDiskPerLevel: 'string',
34870
+ systemDiskSize: 'number',
34871
+ };
34872
+ }
34873
+
34874
+ constructor(map?: { [key: string]: any }) {
34875
+ super(map);
34876
+ }
34877
+ }
34878
+
34879
+ export class CreateDesktopsRequestDesktopTimers extends $tea.Model {
34880
+ /**
34881
+ * @remarks
34882
+ * Specifies whether to allow the end user to configure the scheduled task.
34883
+ *
34884
+ * @example
34885
+ * true
34886
+ */
34887
+ allowClientSetting?: boolean;
34888
+ /**
34889
+ * @remarks
34890
+ * The cron expression for the scheduled task.
34891
+ *
34892
+ * > The time must be in UTC. For example, for 24:00 (UTC+8), you must set the value to 0 0 16 ? \\* 1,2,3,4,5,6,7
34893
+ *
34894
+ * @example
34895
+ * 0 40 7 ? * 1,2,3,4,5,6,7
34896
+ */
34897
+ cronExpression?: string;
34898
+ /**
34899
+ * @remarks
34900
+ * Specifies whether to forcibly execute the scheduled task.
34901
+ *
34902
+ * Valid values:
34903
+ *
34904
+ * * true: forcibly executes the scheduled task regardless of the status and connection of the cloud computers.
34905
+ *
34906
+ * <!-- -->
34907
+ *
34908
+ * <!-- -->
34909
+ *
34910
+ * <!-- -->
34911
+ *
34912
+ * * false: does not forcibly execute the scheduled task.
34913
+ *
34914
+ * <!-- -->
34915
+ *
34916
+ * <!-- -->
34917
+ *
34918
+ * <!-- -->
34919
+ *
34920
+ * @example
34921
+ * True
34922
+ */
34923
+ enforce?: boolean;
34924
+ /**
34925
+ * @remarks
34926
+ * The interval at which cloud computers are created. Unit: minutes.
34927
+ *
34928
+ * @example
34929
+ * 10
34930
+ */
34931
+ interval?: number;
34932
+ /**
34933
+ * @remarks
34934
+ * The operations that scheduled tasks support. This parameter is valid only when TimerType is set to NoConnect.
34935
+ *
34936
+ * Valid values:
34937
+ *
34938
+ * * Hibernate: hibernates the cloud computers.
34939
+ *
34940
+ * <!-- -->
34941
+ *
34942
+ * <!-- -->
34943
+ *
34944
+ * <!-- -->
34945
+ *
34946
+ * * Shutdown: stops the cloud computers.
34947
+ *
34948
+ * <!-- -->
34949
+ *
34950
+ * <!-- -->
34951
+ *
34952
+ * <!-- -->
34953
+ *
34954
+ * @example
34955
+ * Shutdown
34956
+ */
34957
+ operationType?: string;
34958
+ /**
34959
+ * @remarks
34960
+ * The reset type of the cloud computers.
34961
+ *
34962
+ * Valid values:
34963
+ *
34964
+ * * RESET_TYPE_SYSTEM: resets the system disks.
34965
+ *
34966
+ * <!-- -->
34967
+ *
34968
+ * <!-- -->
34969
+ *
34970
+ * <!-- -->
34971
+ *
34972
+ * * RESET_TYPE_BOTH: resets the system disks and data disks.
34973
+ *
34974
+ * <!-- -->
34975
+ *
34976
+ * <!-- -->
34977
+ *
34978
+ * <!-- -->
34979
+ *
34980
+ * @example
34981
+ * RESET_TYPE_SYSTEM
34982
+ */
34983
+ resetType?: string;
34984
+ /**
34985
+ * @remarks
34986
+ * The type of the scheduled task.
34987
+ *
34988
+ * @example
34989
+ * NoOperationReboot
34990
+ */
34991
+ timerType?: string;
34992
+ static names(): { [key: string]: string } {
34993
+ return {
34994
+ allowClientSetting: 'AllowClientSetting',
34995
+ cronExpression: 'CronExpression',
34996
+ enforce: 'Enforce',
34997
+ interval: 'Interval',
34998
+ operationType: 'OperationType',
34999
+ resetType: 'ResetType',
35000
+ timerType: 'TimerType',
35001
+ };
35002
+ }
35003
+
35004
+ static types(): { [key: string]: any } {
35005
+ return {
35006
+ allowClientSetting: 'boolean',
35007
+ cronExpression: 'string',
35008
+ enforce: 'boolean',
35009
+ interval: 'number',
35010
+ operationType: 'string',
35011
+ resetType: 'string',
35012
+ timerType: 'string',
35013
+ };
35014
+ }
35015
+
35016
+ constructor(map?: { [key: string]: any }) {
35017
+ super(map);
35018
+ }
35019
+ }
35020
+
35021
+ export class CreateDesktopsRequestMonthDesktopSetting extends $tea.Model {
35022
+ /**
35023
+ * @remarks
35024
+ * > This parameter is not publicly available.
35025
+ *
35026
+ * @example
35027
+ * null
35028
+ */
35029
+ buyerId?: number;
35030
+ /**
35031
+ * @remarks
35032
+ * > This parameter is not publicly available.
35033
+ *
35034
+ * @example
35035
+ * null
35036
+ */
35037
+ desktopId?: string;
35038
+ /**
35039
+ * @remarks
35040
+ * > This parameter is not publicly available.
35041
+ *
35042
+ * @example
35043
+ * null
35044
+ */
35045
+ useDuration?: number;
35046
+ static names(): { [key: string]: string } {
35047
+ return {
35048
+ buyerId: 'BuyerId',
35049
+ desktopId: 'DesktopId',
35050
+ useDuration: 'UseDuration',
35051
+ };
35052
+ }
35053
+
35054
+ static types(): { [key: string]: any } {
35055
+ return {
35056
+ buyerId: 'number',
35057
+ desktopId: 'string',
35058
+ useDuration: 'number',
35059
+ };
35060
+ }
35061
+
35062
+ constructor(map?: { [key: string]: any }) {
35063
+ super(map);
35064
+ }
35065
+ }
35066
+
35067
+ export class CreateDesktopsRequestTag extends $tea.Model {
35068
+ /**
35069
+ * @remarks
35070
+ * The key of the tag. You can specify 1 to 20 keys for a tag.
35071
+ *
35072
+ * @example
35073
+ * TestKey
35074
+ */
35075
+ key?: string;
35076
+ /**
35077
+ * @remarks
35078
+ * The value of the tag. You can specify 1 to 20 values for a tag.
35079
+ *
35080
+ * @example
35081
+ * TestValue
35082
+ */
35083
+ value?: string;
35084
+ static names(): { [key: string]: string } {
35085
+ return {
35086
+ key: 'Key',
35087
+ value: 'Value',
35088
+ };
35089
+ }
35090
+
35091
+ static types(): { [key: string]: any } {
35092
+ return {
35093
+ key: 'string',
35094
+ value: 'string',
35095
+ };
35096
+ }
35097
+
35098
+ constructor(map?: { [key: string]: any }) {
35099
+ super(map);
35100
+ }
35101
+ }
35102
+
35103
+ export class CreateDesktopsRequestUserCommands extends $tea.Model {
35104
+ /**
35105
+ * @remarks
35106
+ * The command content.
35107
+ *
35108
+ * @example
35109
+ * bmV3LWl0ZW0gZDpcdGVzdF91c2VyX2NvbW1hbmRzLnR4dCAtdHlwZSBm****
35110
+ */
35111
+ content?: string;
35112
+ /**
35113
+ * @remarks
35114
+ * The encoding mode of the command content.
35115
+ *
35116
+ * Valid values:
35117
+ *
35118
+ * * Base64: encodes the command content in Base64.
35119
+ *
35120
+ * <!-- -->
35121
+ *
35122
+ * <!-- -->
35123
+ *
35124
+ * <!-- -->
35125
+ *
35126
+ * * PlainText: does not encode the command content.
35127
+ *
35128
+ * <!-- -->
35129
+ *
35130
+ * <!-- -->
35131
+ *
35132
+ * <!-- -->
35133
+ *
35134
+ * @example
35135
+ * Base64
35136
+ */
35137
+ contentEncoding?: string;
35138
+ /**
35139
+ * @remarks
35140
+ * The language type of the command.
35141
+ *
35142
+ * Valid values:
35143
+ *
35144
+ * * RunPowerShellScript: PowerShell commands (applicable to Windows cloud computers).
35145
+ *
35146
+ * <!-- -->
35147
+ *
35148
+ * <!-- -->
35149
+ *
35150
+ * <!-- -->
35151
+ *
35152
+ * * RunShellScript: shell commands (applicable to Linux cloud computers).
35153
+ *
35154
+ * <!-- -->
35155
+ *
35156
+ * <!-- -->
35157
+ *
35158
+ * <!-- -->
35159
+ *
35160
+ * * RunBatScript: batch commands (applicable to Windows cloud computers).
35161
+ *
35162
+ * <!-- -->
35163
+ *
35164
+ * <!-- -->
35165
+ *
35166
+ * <!-- -->
35167
+ *
35168
+ * @example
35169
+ * RunPowerShellScript
35170
+ */
35171
+ contentType?: string;
33820
35172
  static names(): { [key: string]: string } {
33821
35173
  return {
33822
- orderId: 'OrderId',
33823
- oversoldGroupId: 'OversoldGroupId',
35174
+ content: 'Content',
35175
+ contentEncoding: 'ContentEncoding',
35176
+ contentType: 'ContentType',
33824
35177
  };
33825
35178
  }
33826
35179
 
33827
35180
  static types(): { [key: string]: any } {
33828
35181
  return {
33829
- orderId: 'number',
33830
- oversoldGroupId: 'string',
35182
+ content: 'string',
35183
+ contentEncoding: 'string',
35184
+ contentType: 'string',
33831
35185
  };
33832
35186
  }
33833
35187
 
@@ -33836,7 +35190,7 @@ export class CreateDesktopOversoldGroupResponseBodyData extends $tea.Model {
33836
35190
  }
33837
35191
  }
33838
35192
 
33839
- export class CreateDesktopsRequestBundleModels extends $tea.Model {
35193
+ export class CreateDesktopsShrinkRequestBundleModels extends $tea.Model {
33840
35194
  /**
33841
35195
  * @remarks
33842
35196
  * The number of cloud computers that you want to create. Valid values: 1 to 300. Default value: null.
@@ -33934,7 +35288,7 @@ export class CreateDesktopsRequestBundleModels extends $tea.Model {
33934
35288
  }
33935
35289
  }
33936
35290
 
33937
- export class CreateDesktopsRequestDesktopTimers extends $tea.Model {
35291
+ export class CreateDesktopsShrinkRequestDesktopTimers extends $tea.Model {
33938
35292
  /**
33939
35293
  * @remarks
33940
35294
  * Specifies whether to allow the end user to configure the scheduled task.
@@ -34076,7 +35430,7 @@ export class CreateDesktopsRequestDesktopTimers extends $tea.Model {
34076
35430
  }
34077
35431
  }
34078
35432
 
34079
- export class CreateDesktopsRequestMonthDesktopSetting extends $tea.Model {
35433
+ export class CreateDesktopsShrinkRequestMonthDesktopSetting extends $tea.Model {
34080
35434
  /**
34081
35435
  * @remarks
34082
35436
  * > This parameter is not publicly available.
@@ -34122,7 +35476,7 @@ export class CreateDesktopsRequestMonthDesktopSetting extends $tea.Model {
34122
35476
  }
34123
35477
  }
34124
35478
 
34125
- export class CreateDesktopsRequestTag extends $tea.Model {
35479
+ export class CreateDesktopsShrinkRequestTag extends $tea.Model {
34126
35480
  /**
34127
35481
  * @remarks
34128
35482
  * The key of the tag. You can specify 1 to 20 keys for a tag.
@@ -34158,7 +35512,7 @@ export class CreateDesktopsRequestTag extends $tea.Model {
34158
35512
  }
34159
35513
  }
34160
35514
 
34161
- export class CreateDesktopsRequestUserCommands extends $tea.Model {
35515
+ export class CreateDesktopsShrinkRequestUserCommands extends $tea.Model {
34162
35516
  /**
34163
35517
  * @remarks
34164
35518
  * The command content.
@@ -36001,6 +37355,7 @@ export class DescribeCloudDriveGroupsResponseBodyCloudDriveGroups extends $tea.M
36001
37355
  */
36002
37356
  groupName?: string;
36003
37357
  orgId?: string;
37358
+ recycleBinSize?: string;
36004
37359
  /**
36005
37360
  * @remarks
36006
37361
  * The team space status. Valid values:
@@ -36040,6 +37395,7 @@ export class DescribeCloudDriveGroupsResponseBodyCloudDriveGroups extends $tea.M
36040
37395
  groupId: 'GroupId',
36041
37396
  groupName: 'GroupName',
36042
37397
  orgId: 'OrgId',
37398
+ recycleBinSize: 'RecycleBinSize',
36043
37399
  status: 'Status',
36044
37400
  totalSize: 'TotalSize',
36045
37401
  usedSize: 'UsedSize',
@@ -36056,6 +37412,7 @@ export class DescribeCloudDriveGroupsResponseBodyCloudDriveGroups extends $tea.M
36056
37412
  groupId: 'string',
36057
37413
  groupName: 'string',
36058
37414
  orgId: 'string',
37415
+ recycleBinSize: 'string',
36059
37416
  status: 'string',
36060
37417
  totalSize: 'number',
36061
37418
  usedSize: 'string',
@@ -37682,6 +39039,7 @@ export class DescribeDesktopTypesResponseBodyDesktopTypes extends $tea.Model {
37682
39039
  * 1
37683
39040
  */
37684
39041
  gpuCount?: number;
39042
+ gpuMemory?: number;
37685
39043
  /**
37686
39044
  * @remarks
37687
39045
  * The GPU memory.
@@ -37706,6 +39064,8 @@ export class DescribeDesktopTypesResponseBodyDesktopTypes extends $tea.Model {
37706
39064
  * 23552
37707
39065
  */
37708
39066
  memorySize?: string;
39067
+ scopes?: string[];
39068
+ stockState?: string;
37709
39069
  /**
37710
39070
  * @remarks
37711
39071
  * The size of the system disk. Unit: GiB.
@@ -37721,9 +39081,12 @@ export class DescribeDesktopTypesResponseBodyDesktopTypes extends $tea.Model {
37721
39081
  desktopTypeId: 'DesktopTypeId',
37722
39082
  desktopTypeStatus: 'DesktopTypeStatus',
37723
39083
  gpuCount: 'GpuCount',
39084
+ gpuMemory: 'GpuMemory',
37724
39085
  gpuSpec: 'GpuSpec',
37725
39086
  instanceTypeFamily: 'InstanceTypeFamily',
37726
39087
  memorySize: 'MemorySize',
39088
+ scopes: 'Scopes',
39089
+ stockState: 'StockState',
37727
39090
  systemDiskSize: 'SystemDiskSize',
37728
39091
  };
37729
39092
  }
@@ -37735,9 +39098,12 @@ export class DescribeDesktopTypesResponseBodyDesktopTypes extends $tea.Model {
37735
39098
  desktopTypeId: 'string',
37736
39099
  desktopTypeStatus: 'string',
37737
39100
  gpuCount: 'number',
39101
+ gpuMemory: 'number',
37738
39102
  gpuSpec: 'string',
37739
39103
  instanceTypeFamily: 'string',
37740
39104
  memorySize: 'string',
39105
+ scopes: { 'type': 'array', 'itemType': 'string' },
39106
+ stockState: 'string',
37741
39107
  systemDiskSize: 'string',
37742
39108
  };
37743
39109
  }
@@ -37784,6 +39150,7 @@ export class DescribeDesktopsRequestTag extends $tea.Model {
37784
39150
  }
37785
39151
 
37786
39152
  export class DescribeDesktopsResponseBodyDesktopsDisks extends $tea.Model {
39153
+ diskCategory?: string;
37787
39154
  /**
37788
39155
  * @remarks
37789
39156
  * The disk ID.
@@ -37843,6 +39210,7 @@ export class DescribeDesktopsResponseBodyDesktopsDisks extends $tea.Model {
37843
39210
  performanceLevel?: string;
37844
39211
  static names(): { [key: string]: string } {
37845
39212
  return {
39213
+ diskCategory: 'DiskCategory',
37846
39214
  diskId: 'DiskId',
37847
39215
  diskSize: 'DiskSize',
37848
39216
  diskType: 'DiskType',
@@ -37852,6 +39220,7 @@ export class DescribeDesktopsResponseBodyDesktopsDisks extends $tea.Model {
37852
39220
 
37853
39221
  static types(): { [key: string]: any } {
37854
39222
  return {
39223
+ diskCategory: 'string',
37855
39224
  diskId: 'string',
37856
39225
  diskSize: 'number',
37857
39226
  diskType: 'string',
@@ -39669,7 +41038,7 @@ export class DescribeDirectoriesResponseBodyDirectoriesADConnectors extends $tea
39669
41038
  * The connection address.
39670
41039
  *
39671
41040
  * @example
39672
- * 172.17.\*\*.**
41041
+ * ``172.17.**.**``
39673
41042
  */
39674
41043
  ADConnectorAddress?: string;
39675
41044
  /**
@@ -39851,8 +41220,20 @@ export class DescribeDirectoriesResponseBodyDirectories extends $tea.Model {
39851
41220
  * Details of the AD connector.
39852
41221
  */
39853
41222
  ADConnectors?: DescribeDirectoriesResponseBodyDirectoriesADConnectors[];
41223
+ /**
41224
+ * @example
41225
+ * dc001
41226
+ */
39854
41227
  adHostname?: string;
41228
+ /**
41229
+ * @example
41230
+ * dc002
41231
+ */
39855
41232
  backupDCHostname?: string;
41233
+ /**
41234
+ * @example
41235
+ * 192.168.2.100
41236
+ */
39856
41237
  backupDns?: string;
39857
41238
  /**
39858
41239
  * @remarks
@@ -40011,7 +41392,7 @@ export class DescribeDirectoriesResponseBodyDirectories extends $tea.Model {
40011
41392
  enableInternetAccess?: boolean;
40012
41393
  /**
40013
41394
  * @remarks
40014
- * The IDs of Apsara File Storage NAS (NAS) file systems.
41395
+ * The IDs of File Storage NAS (NAS) file systems.
40015
41396
  */
40016
41397
  fileSystemIds?: string[];
40017
41398
  /**
@@ -41376,6 +42757,8 @@ export class DescribeInvocationsResponseBodyInvocations extends $tea.Model {
41376
42757
  * Pending
41377
42758
  */
41378
42759
  invocationStatus?: string;
42760
+ invokeDesktopCount?: number;
42761
+ invokeDesktopSucceedCount?: number;
41379
42762
  /**
41380
42763
  * @remarks
41381
42764
  * The cloud desktops on which the command is executed.
@@ -41396,6 +42779,8 @@ export class DescribeInvocationsResponseBodyInvocations extends $tea.Model {
41396
42779
  creationTime: 'CreationTime',
41397
42780
  endUserId: 'EndUserId',
41398
42781
  invocationStatus: 'InvocationStatus',
42782
+ invokeDesktopCount: 'InvokeDesktopCount',
42783
+ invokeDesktopSucceedCount: 'InvokeDesktopSucceedCount',
41399
42784
  invokeDesktops: 'InvokeDesktops',
41400
42785
  invokeId: 'InvokeId',
41401
42786
  };
@@ -41408,6 +42793,8 @@ export class DescribeInvocationsResponseBodyInvocations extends $tea.Model {
41408
42793
  creationTime: 'string',
41409
42794
  endUserId: 'string',
41410
42795
  invocationStatus: 'string',
42796
+ invokeDesktopCount: 'number',
42797
+ invokeDesktopSucceedCount: 'number',
41411
42798
  invokeDesktops: { 'type': 'array', 'itemType': DescribeInvocationsResponseBodyInvocationsInvokeDesktops },
41412
42799
  invokeId: 'string',
41413
42800
  };
@@ -41474,6 +42861,169 @@ export class DescribeKmsKeysResponseBodyKeys extends $tea.Model {
41474
42861
  }
41475
42862
  }
41476
42863
 
42864
+ export class DescribeModificationPriceResponseBodyPriceInfoPricePromotions extends $tea.Model {
42865
+ /**
42866
+ * @example
42867
+ * test
42868
+ */
42869
+ optionCode?: string;
42870
+ promotionDesc?: string;
42871
+ /**
42872
+ * @example
42873
+ * promo_option
42874
+ */
42875
+ promotionId?: string;
42876
+ promotionName?: string;
42877
+ /**
42878
+ * @example
42879
+ * false
42880
+ */
42881
+ selected?: boolean;
42882
+ static names(): { [key: string]: string } {
42883
+ return {
42884
+ optionCode: 'OptionCode',
42885
+ promotionDesc: 'PromotionDesc',
42886
+ promotionId: 'PromotionId',
42887
+ promotionName: 'PromotionName',
42888
+ selected: 'Selected',
42889
+ };
42890
+ }
42891
+
42892
+ static types(): { [key: string]: any } {
42893
+ return {
42894
+ optionCode: 'string',
42895
+ promotionDesc: 'string',
42896
+ promotionId: 'string',
42897
+ promotionName: 'string',
42898
+ selected: 'boolean',
42899
+ };
42900
+ }
42901
+
42902
+ constructor(map?: { [key: string]: any }) {
42903
+ super(map);
42904
+ }
42905
+ }
42906
+
42907
+ export class DescribeModificationPriceResponseBodyPriceInfoPrice extends $tea.Model {
42908
+ /**
42909
+ * @example
42910
+ * CNY
42911
+ */
42912
+ currency?: string;
42913
+ /**
42914
+ * @example
42915
+ * 15.8
42916
+ */
42917
+ discountPrice?: number;
42918
+ orderLines?: { [key: string]: string };
42919
+ /**
42920
+ * @example
42921
+ * 79.0
42922
+ */
42923
+ originalPrice?: number;
42924
+ promotions?: DescribeModificationPriceResponseBodyPriceInfoPricePromotions[];
42925
+ /**
42926
+ * @example
42927
+ * 63.2
42928
+ */
42929
+ tradePrice?: number;
42930
+ static names(): { [key: string]: string } {
42931
+ return {
42932
+ currency: 'Currency',
42933
+ discountPrice: 'DiscountPrice',
42934
+ orderLines: 'OrderLines',
42935
+ originalPrice: 'OriginalPrice',
42936
+ promotions: 'Promotions',
42937
+ tradePrice: 'TradePrice',
42938
+ };
42939
+ }
42940
+
42941
+ static types(): { [key: string]: any } {
42942
+ return {
42943
+ currency: 'string',
42944
+ discountPrice: 'number',
42945
+ orderLines: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
42946
+ originalPrice: 'number',
42947
+ promotions: { 'type': 'array', 'itemType': DescribeModificationPriceResponseBodyPriceInfoPricePromotions },
42948
+ tradePrice: 'number',
42949
+ };
42950
+ }
42951
+
42952
+ constructor(map?: { [key: string]: any }) {
42953
+ super(map);
42954
+ }
42955
+ }
42956
+
42957
+ export class DescribeModificationPriceResponseBodyPriceInfoRules extends $tea.Model {
42958
+ description?: string;
42959
+ /**
42960
+ * @example
42961
+ * 14806
42962
+ */
42963
+ ruleId?: number;
42964
+ static names(): { [key: string]: string } {
42965
+ return {
42966
+ description: 'Description',
42967
+ ruleId: 'RuleId',
42968
+ };
42969
+ }
42970
+
42971
+ static types(): { [key: string]: any } {
42972
+ return {
42973
+ description: 'string',
42974
+ ruleId: 'number',
42975
+ };
42976
+ }
42977
+
42978
+ constructor(map?: { [key: string]: any }) {
42979
+ super(map);
42980
+ }
42981
+ }
42982
+
42983
+ export class DescribeModificationPriceResponseBodyPriceInfo extends $tea.Model {
42984
+ price?: DescribeModificationPriceResponseBodyPriceInfoPrice;
42985
+ rules?: DescribeModificationPriceResponseBodyPriceInfoRules[];
42986
+ static names(): { [key: string]: string } {
42987
+ return {
42988
+ price: 'Price',
42989
+ rules: 'Rules',
42990
+ };
42991
+ }
42992
+
42993
+ static types(): { [key: string]: any } {
42994
+ return {
42995
+ price: DescribeModificationPriceResponseBodyPriceInfoPrice,
42996
+ rules: { 'type': 'array', 'itemType': DescribeModificationPriceResponseBodyPriceInfoRules },
42997
+ };
42998
+ }
42999
+
43000
+ constructor(map?: { [key: string]: any }) {
43001
+ super(map);
43002
+ }
43003
+ }
43004
+
43005
+ export class DescribeNASFileSystemsResponseBodyFileSystemsAppInstanceGroups extends $tea.Model {
43006
+ appInstanceGroupId?: string;
43007
+ appInstanceGroupName?: string;
43008
+ static names(): { [key: string]: string } {
43009
+ return {
43010
+ appInstanceGroupId: 'AppInstanceGroupId',
43011
+ appInstanceGroupName: 'AppInstanceGroupName',
43012
+ };
43013
+ }
43014
+
43015
+ static types(): { [key: string]: any } {
43016
+ return {
43017
+ appInstanceGroupId: 'string',
43018
+ appInstanceGroupName: 'string',
43019
+ };
43020
+ }
43021
+
43022
+ constructor(map?: { [key: string]: any }) {
43023
+ super(map);
43024
+ }
43025
+ }
43026
+
41477
43027
  export class DescribeNASFileSystemsResponseBodyFileSystemsDesktopGroups extends $tea.Model {
41478
43028
  /**
41479
43029
  * @remarks
@@ -41510,7 +43060,31 @@ export class DescribeNASFileSystemsResponseBodyFileSystemsDesktopGroups extends
41510
43060
  }
41511
43061
  }
41512
43062
 
43063
+ export class DescribeNASFileSystemsResponseBodyFileSystemsOfficeSites extends $tea.Model {
43064
+ officeSiteId?: string;
43065
+ officeSiteName?: string;
43066
+ static names(): { [key: string]: string } {
43067
+ return {
43068
+ officeSiteId: 'OfficeSiteId',
43069
+ officeSiteName: 'OfficeSiteName',
43070
+ };
43071
+ }
43072
+
43073
+ static types(): { [key: string]: any } {
43074
+ return {
43075
+ officeSiteId: 'string',
43076
+ officeSiteName: 'string',
43077
+ };
43078
+ }
43079
+
43080
+ constructor(map?: { [key: string]: any }) {
43081
+ super(map);
43082
+ }
43083
+ }
43084
+
41513
43085
  export class DescribeNASFileSystemsResponseBodyFileSystems extends $tea.Model {
43086
+ allowOperateUserDrive?: boolean;
43087
+ appInstanceGroups?: DescribeNASFileSystemsResponseBodyFileSystemsAppInstanceGroups[];
41514
43088
  /**
41515
43089
  * @remarks
41516
43090
  * The total capacity of the NAS file system. Unit: GiB.
@@ -41636,6 +43210,7 @@ export class DescribeNASFileSystemsResponseBodyFileSystems extends $tea.Model {
41636
43210
  * test
41637
43211
  */
41638
43212
  officeSiteName?: string;
43213
+ officeSites?: DescribeNASFileSystemsResponseBodyFileSystemsOfficeSites[];
41639
43214
  /**
41640
43215
  * @remarks
41641
43216
  * Indicates whether the User Profile Management (UPM) feature is supported.
@@ -41652,6 +43227,7 @@ export class DescribeNASFileSystemsResponseBodyFileSystems extends $tea.Model {
41652
43227
  * cn-hangzhou
41653
43228
  */
41654
43229
  regionId?: string;
43230
+ scene?: string;
41655
43231
  /**
41656
43232
  * @remarks
41657
43233
  * The storage type of the NAS file system. Valid values:
@@ -41681,6 +43257,8 @@ export class DescribeNASFileSystemsResponseBodyFileSystems extends $tea.Model {
41681
43257
  zoneId?: string;
41682
43258
  static names(): { [key: string]: string } {
41683
43259
  return {
43260
+ allowOperateUserDrive: 'AllowOperateUserDrive',
43261
+ appInstanceGroups: 'AppInstanceGroups',
41684
43262
  capacity: 'Capacity',
41685
43263
  createTime: 'CreateTime',
41686
43264
  description: 'Description',
@@ -41695,8 +43273,10 @@ export class DescribeNASFileSystemsResponseBodyFileSystems extends $tea.Model {
41695
43273
  mountTargetStatus: 'MountTargetStatus',
41696
43274
  officeSiteId: 'OfficeSiteId',
41697
43275
  officeSiteName: 'OfficeSiteName',
43276
+ officeSites: 'OfficeSites',
41698
43277
  profileCompatible: 'ProfileCompatible',
41699
43278
  regionId: 'RegionId',
43279
+ scene: 'Scene',
41700
43280
  storageType: 'StorageType',
41701
43281
  supportAcl: 'SupportAcl',
41702
43282
  zoneId: 'ZoneId',
@@ -41705,6 +43285,8 @@ export class DescribeNASFileSystemsResponseBodyFileSystems extends $tea.Model {
41705
43285
 
41706
43286
  static types(): { [key: string]: any } {
41707
43287
  return {
43288
+ allowOperateUserDrive: 'boolean',
43289
+ appInstanceGroups: { 'type': 'array', 'itemType': DescribeNASFileSystemsResponseBodyFileSystemsAppInstanceGroups },
41708
43290
  capacity: 'number',
41709
43291
  createTime: 'string',
41710
43292
  description: 'string',
@@ -41719,8 +43301,10 @@ export class DescribeNASFileSystemsResponseBodyFileSystems extends $tea.Model {
41719
43301
  mountTargetStatus: 'string',
41720
43302
  officeSiteId: 'string',
41721
43303
  officeSiteName: 'string',
43304
+ officeSites: { 'type': 'array', 'itemType': DescribeNASFileSystemsResponseBodyFileSystemsOfficeSites },
41722
43305
  profileCompatible: 'boolean',
41723
43306
  regionId: 'string',
43307
+ scene: 'string',
41724
43308
  storageType: 'string',
41725
43309
  supportAcl: 'boolean',
41726
43310
  zoneId: 'string',
@@ -42127,6 +43711,28 @@ export class DescribeOfficeSitesResponseBodyOfficeSitesLogs extends $tea.Model {
42127
43711
  }
42128
43712
  }
42129
43713
 
43714
+ export class DescribeOfficeSitesResponseBodyOfficeSitesResourceAmounts extends $tea.Model {
43715
+ amount?: number;
43716
+ resourceType?: string;
43717
+ static names(): { [key: string]: string } {
43718
+ return {
43719
+ amount: 'amount',
43720
+ resourceType: 'resourceType',
43721
+ };
43722
+ }
43723
+
43724
+ static types(): { [key: string]: any } {
43725
+ return {
43726
+ amount: 'number',
43727
+ resourceType: 'string',
43728
+ };
43729
+ }
43730
+
43731
+ constructor(map?: { [key: string]: any }) {
43732
+ super(map);
43733
+ }
43734
+ }
43735
+
42130
43736
  export class DescribeOfficeSitesResponseBodyOfficeSites extends $tea.Model {
42131
43737
  /**
42132
43738
  * @remarks
@@ -42211,6 +43817,8 @@ export class DescribeOfficeSitesResponseBodyOfficeSites extends $tea.Model {
42211
43817
  * 2021-05-06T05:58Z
42212
43818
  */
42213
43819
  creationTime?: string;
43820
+ customAccessPoint?: string;
43821
+ customDnsAddress?: string[];
42214
43822
  /**
42215
43823
  * @remarks
42216
43824
  * The ID of the security group.
@@ -42327,7 +43935,7 @@ export class DescribeOfficeSitesResponseBodyOfficeSites extends $tea.Model {
42327
43935
  enableServiceRoute?: boolean;
42328
43936
  /**
42329
43937
  * @remarks
42330
- * An array of Apsara File Storage NAS (NAS) file system IDs.
43938
+ * An array of File Storage NAS (NAS) file system IDs.
42331
43939
  */
42332
43940
  fileSystemIds?: string[];
42333
43941
  /**
@@ -42380,6 +43988,7 @@ export class DescribeOfficeSitesResponseBodyOfficeSites extends $tea.Model {
42380
43988
  * np-amtp8e8q1o9e4****
42381
43989
  */
42382
43990
  networkPackageId?: string;
43991
+ nmVersion?: string;
42383
43992
  /**
42384
43993
  * @remarks
42385
43994
  * The IDs of the office networks.
@@ -42446,6 +44055,19 @@ export class DescribeOfficeSitesResponseBodyOfficeSites extends $tea.Model {
42446
44055
  * 2
42447
44056
  */
42448
44057
  rdsLicenseStatus?: string;
44058
+ resourceAmounts?: DescribeOfficeSitesResponseBodyOfficeSitesResourceAmounts[];
44059
+ /**
44060
+ * @remarks
44061
+ * The security protection setting of the office network.
44062
+ *
44063
+ * Valid values:
44064
+ *
44065
+ * * SASE: SASE is configured.
44066
+ * * OFF: No security protection setting is configured.
44067
+ *
44068
+ * @example
44069
+ * SASE
44070
+ */
42449
44071
  securityProtection?: string;
42450
44072
  /**
42451
44073
  * @remarks
@@ -42500,6 +44122,18 @@ export class DescribeOfficeSitesResponseBodyOfficeSites extends $tea.Model {
42500
44122
  * testSubDnsUserName
42501
44123
  */
42502
44124
  subDomainName?: string;
44125
+ /**
44126
+ * @remarks
44127
+ * The subnet mode of the office network.
44128
+ *
44129
+ * Valid values:
44130
+ *
44131
+ * * 0: disabled.
44132
+ * * 1: enabled.
44133
+ *
44134
+ * @example
44135
+ * 0
44136
+ */
42503
44137
  subnetMode?: string;
42504
44138
  /**
42505
44139
  * @remarks
@@ -42517,6 +44151,7 @@ export class DescribeOfficeSitesResponseBodyOfficeSites extends $tea.Model {
42517
44151
  * 0
42518
44152
  */
42519
44153
  totalEdsCountForGroup?: number;
44154
+ totalResourceAmount?: number;
42520
44155
  /**
42521
44156
  * @remarks
42522
44157
  * > This parameter is unavailable.
@@ -42564,6 +44199,8 @@ export class DescribeOfficeSitesResponseBodyOfficeSites extends $tea.Model {
42564
44199
  cidrBlock: 'CidrBlock',
42565
44200
  cloudBoxOfficeSite: 'CloudBoxOfficeSite',
42566
44201
  creationTime: 'CreationTime',
44202
+ customAccessPoint: 'CustomAccessPoint',
44203
+ customDnsAddress: 'CustomDnsAddress',
42567
44204
  customSecurityGroupId: 'CustomSecurityGroupId',
42568
44205
  desktopAccessType: 'DesktopAccessType',
42569
44206
  desktopCount: 'DesktopCount',
@@ -42584,6 +44221,7 @@ export class DescribeOfficeSitesResponseBodyOfficeSites extends $tea.Model {
42584
44221
  needVerifyLoginRisk: 'NeedVerifyLoginRisk',
42585
44222
  needVerifyZeroDevice: 'NeedVerifyZeroDevice',
42586
44223
  networkPackageId: 'NetworkPackageId',
44224
+ nmVersion: 'NmVersion',
42587
44225
  officeSiteId: 'OfficeSiteId',
42588
44226
  officeSiteType: 'OfficeSiteType',
42589
44227
  ouName: 'OuName',
@@ -42591,6 +44229,7 @@ export class DescribeOfficeSitesResponseBodyOfficeSites extends $tea.Model {
42591
44229
  rdsLicenseAddress: 'RdsLicenseAddress',
42592
44230
  rdsLicenseDomainName: 'RdsLicenseDomainName',
42593
44231
  rdsLicenseStatus: 'RdsLicenseStatus',
44232
+ resourceAmounts: 'ResourceAmounts',
42594
44233
  securityProtection: 'SecurityProtection',
42595
44234
  ssoEnabled: 'SsoEnabled',
42596
44235
  ssoType: 'SsoType',
@@ -42600,6 +44239,7 @@ export class DescribeOfficeSitesResponseBodyOfficeSites extends $tea.Model {
42600
44239
  subnetMode: 'SubnetMode',
42601
44240
  totalEdsCount: 'TotalEdsCount',
42602
44241
  totalEdsCountForGroup: 'TotalEdsCountForGroup',
44242
+ totalResourceAmount: 'TotalResourceAmount',
42603
44243
  trustPassword: 'TrustPassword',
42604
44244
  vSwitchIds: 'VSwitchIds',
42605
44245
  vpcId: 'VpcId',
@@ -42619,6 +44259,8 @@ export class DescribeOfficeSitesResponseBodyOfficeSites extends $tea.Model {
42619
44259
  cidrBlock: 'string',
42620
44260
  cloudBoxOfficeSite: 'boolean',
42621
44261
  creationTime: 'string',
44262
+ customAccessPoint: 'string',
44263
+ customDnsAddress: { 'type': 'array', 'itemType': 'string' },
42622
44264
  customSecurityGroupId: 'string',
42623
44265
  desktopAccessType: 'string',
42624
44266
  desktopCount: 'number',
@@ -42639,6 +44281,7 @@ export class DescribeOfficeSitesResponseBodyOfficeSites extends $tea.Model {
42639
44281
  needVerifyLoginRisk: 'boolean',
42640
44282
  needVerifyZeroDevice: 'boolean',
42641
44283
  networkPackageId: 'string',
44284
+ nmVersion: 'string',
42642
44285
  officeSiteId: 'string',
42643
44286
  officeSiteType: 'string',
42644
44287
  ouName: 'string',
@@ -42646,6 +44289,7 @@ export class DescribeOfficeSitesResponseBodyOfficeSites extends $tea.Model {
42646
44289
  rdsLicenseAddress: 'string',
42647
44290
  rdsLicenseDomainName: 'string',
42648
44291
  rdsLicenseStatus: 'string',
44292
+ resourceAmounts: { 'type': 'array', 'itemType': DescribeOfficeSitesResponseBodyOfficeSitesResourceAmounts },
42649
44293
  securityProtection: 'string',
42650
44294
  ssoEnabled: 'boolean',
42651
44295
  ssoType: 'string',
@@ -42655,6 +44299,7 @@ export class DescribeOfficeSitesResponseBodyOfficeSites extends $tea.Model {
42655
44299
  subnetMode: 'string',
42656
44300
  totalEdsCount: 'number',
42657
44301
  totalEdsCountForGroup: 'number',
44302
+ totalResourceAmount: 'number',
42658
44303
  trustPassword: 'string',
42659
44304
  vSwitchIds: { 'type': 'array', 'itemType': 'string' },
42660
44305
  vpcId: 'string',
@@ -43226,6 +44871,8 @@ export class DescribePolicyGroupsResponseBodyDescribePolicyGroups extends $tea.M
43226
44871
  * 70
43227
44872
  */
43228
44873
  cpuSingleRateLimit?: number;
44874
+ desktopCount?: number;
44875
+ desktopGroupCount?: number;
43229
44876
  deviceRedirects?: DescribePolicyGroupsResponseBodyDescribePolicyGroupsDeviceRedirects[];
43230
44877
  deviceRules?: DescribePolicyGroupsResponseBodyDescribePolicyGroupsDeviceRules[];
43231
44878
  displayMode?: string;
@@ -43397,6 +45044,8 @@ export class DescribePolicyGroupsResponseBodyDescribePolicyGroups extends $tea.M
43397
45044
  * 30
43398
45045
  */
43399
45046
  memorySingleRateLimit?: number;
45047
+ mobileRestart?: string;
45048
+ mobileShutdown?: string;
43400
45049
  /**
43401
45050
  * @remarks
43402
45051
  * The policy name.
@@ -43607,6 +45256,8 @@ export class DescribePolicyGroupsResponseBodyDescribePolicyGroups extends $tea.M
43607
45256
  * fullControl
43608
45257
  */
43609
45258
  remoteCoordinate?: string;
45259
+ resourceGroupCount?: number;
45260
+ resourceRegionId?: string;
43610
45261
  /**
43611
45262
  * @remarks
43612
45263
  * The effective scope of the policy. Valid values:
@@ -43624,6 +45275,7 @@ export class DescribePolicyGroupsResponseBodyDescribePolicyGroups extends $tea.M
43624
45275
  */
43625
45276
  scopeValue?: string[];
43626
45277
  smoothEnhancement?: string;
45278
+ statusMonitor?: string;
43627
45279
  streamingMode?: string;
43628
45280
  targetFps?: number;
43629
45281
  /**
@@ -43797,6 +45449,7 @@ export class DescribePolicyGroupsResponseBodyDescribePolicyGroups extends $tea.M
43797
45449
  * EndUserId
43798
45450
  */
43799
45451
  watermarkType?: string;
45452
+ wyAssistant?: string;
43800
45453
  static names(): { [key: string]: string } {
43801
45454
  return {
43802
45455
  adminAccess: 'AdminAccess',
@@ -43813,6 +45466,8 @@ export class DescribePolicyGroupsResponseBodyDescribePolicyGroups extends $tea.M
43813
45466
  cpuRateLimit: 'CpuRateLimit',
43814
45467
  cpuSampleDuration: 'CpuSampleDuration',
43815
45468
  cpuSingleRateLimit: 'CpuSingleRateLimit',
45469
+ desktopCount: 'DesktopCount',
45470
+ desktopGroupCount: 'DesktopGroupCount',
43816
45471
  deviceRedirects: 'DeviceRedirects',
43817
45472
  deviceRules: 'DeviceRules',
43818
45473
  displayMode: 'DisplayMode',
@@ -43834,6 +45489,8 @@ export class DescribePolicyGroupsResponseBodyDescribePolicyGroups extends $tea.M
43834
45489
  memoryRateLimit: 'MemoryRateLimit',
43835
45490
  memorySampleDuration: 'MemorySampleDuration',
43836
45491
  memorySingleRateLimit: 'MemorySingleRateLimit',
45492
+ mobileRestart: 'MobileRestart',
45493
+ mobileShutdown: 'MobileShutdown',
43837
45494
  name: 'Name',
43838
45495
  netRedirect: 'NetRedirect',
43839
45496
  netRedirectRule: 'NetRedirectRule',
@@ -43856,9 +45513,12 @@ export class DescribePolicyGroupsResponseBodyDescribePolicyGroups extends $tea.M
43856
45513
  recordingUserNotify: 'RecordingUserNotify',
43857
45514
  recordingUserNotifyMessage: 'RecordingUserNotifyMessage',
43858
45515
  remoteCoordinate: 'RemoteCoordinate',
45516
+ resourceGroupCount: 'ResourceGroupCount',
45517
+ resourceRegionId: 'ResourceRegionId',
43859
45518
  scope: 'Scope',
43860
45519
  scopeValue: 'ScopeValue',
43861
45520
  smoothEnhancement: 'SmoothEnhancement',
45521
+ statusMonitor: 'StatusMonitor',
43862
45522
  streamingMode: 'StreamingMode',
43863
45523
  targetFps: 'TargetFps',
43864
45524
  usbRedirect: 'UsbRedirect',
@@ -43883,6 +45543,7 @@ export class DescribePolicyGroupsResponseBodyDescribePolicyGroups extends $tea.M
43883
45543
  watermarkTransparency: 'WatermarkTransparency',
43884
45544
  watermarkTransparencyValue: 'WatermarkTransparencyValue',
43885
45545
  watermarkType: 'WatermarkType',
45546
+ wyAssistant: 'WyAssistant',
43886
45547
  };
43887
45548
  }
43888
45549
 
@@ -43902,6 +45563,8 @@ export class DescribePolicyGroupsResponseBodyDescribePolicyGroups extends $tea.M
43902
45563
  cpuRateLimit: 'number',
43903
45564
  cpuSampleDuration: 'number',
43904
45565
  cpuSingleRateLimit: 'number',
45566
+ desktopCount: 'number',
45567
+ desktopGroupCount: 'number',
43905
45568
  deviceRedirects: { 'type': 'array', 'itemType': DescribePolicyGroupsResponseBodyDescribePolicyGroupsDeviceRedirects },
43906
45569
  deviceRules: { 'type': 'array', 'itemType': DescribePolicyGroupsResponseBodyDescribePolicyGroupsDeviceRules },
43907
45570
  displayMode: 'string',
@@ -43923,6 +45586,8 @@ export class DescribePolicyGroupsResponseBodyDescribePolicyGroups extends $tea.M
43923
45586
  memoryRateLimit: 'number',
43924
45587
  memorySampleDuration: 'number',
43925
45588
  memorySingleRateLimit: 'number',
45589
+ mobileRestart: 'string',
45590
+ mobileShutdown: 'string',
43926
45591
  name: 'string',
43927
45592
  netRedirect: 'string',
43928
45593
  netRedirectRule: { 'type': 'array', 'itemType': DescribePolicyGroupsResponseBodyDescribePolicyGroupsNetRedirectRule },
@@ -43945,9 +45610,12 @@ export class DescribePolicyGroupsResponseBodyDescribePolicyGroups extends $tea.M
43945
45610
  recordingUserNotify: 'string',
43946
45611
  recordingUserNotifyMessage: 'string',
43947
45612
  remoteCoordinate: 'string',
45613
+ resourceGroupCount: 'number',
45614
+ resourceRegionId: 'string',
43948
45615
  scope: 'string',
43949
45616
  scopeValue: { 'type': 'array', 'itemType': 'string' },
43950
45617
  smoothEnhancement: 'string',
45618
+ statusMonitor: 'string',
43951
45619
  streamingMode: 'string',
43952
45620
  targetFps: 'number',
43953
45621
  usbRedirect: 'string',
@@ -43972,43 +45640,7 @@ export class DescribePolicyGroupsResponseBodyDescribePolicyGroups extends $tea.M
43972
45640
  watermarkTransparency: 'string',
43973
45641
  watermarkTransparencyValue: 'number',
43974
45642
  watermarkType: 'string',
43975
- };
43976
- }
43977
-
43978
- constructor(map?: { [key: string]: any }) {
43979
- super(map);
43980
- }
43981
- }
43982
-
43983
- export class DescribePriceRequestBundleModels extends $tea.Model {
43984
- amount?: number;
43985
- bundleId?: string;
43986
- duration?: number;
43987
- instanceType?: string;
43988
- osType?: string;
43989
- rootDiskId?: string;
43990
- userDiskId?: string;
43991
- static names(): { [key: string]: string } {
43992
- return {
43993
- amount: 'Amount',
43994
- bundleId: 'BundleId',
43995
- duration: 'Duration',
43996
- instanceType: 'InstanceType',
43997
- osType: 'OsType',
43998
- rootDiskId: 'RootDiskId',
43999
- userDiskId: 'UserDiskId',
44000
- };
44001
- }
44002
-
44003
- static types(): { [key: string]: any } {
44004
- return {
44005
- amount: 'number',
44006
- bundleId: 'string',
44007
- duration: 'number',
44008
- instanceType: 'string',
44009
- osType: 'string',
44010
- rootDiskId: 'string',
44011
- userDiskId: 'string',
45643
+ wyAssistant: 'string',
44012
45644
  };
44013
45645
  }
44014
45646
 
@@ -44359,6 +45991,36 @@ export class DescribeRecordingsResponseBodyRecordings extends $tea.Model {
44359
45991
  }
44360
45992
  }
44361
45993
 
45994
+ export class DescribeRefundPriceResponseBodyPriceInfo extends $tea.Model {
45995
+ /**
45996
+ * @example
45997
+ * CNY
45998
+ */
45999
+ currency?: string;
46000
+ /**
46001
+ * @example
46002
+ * 3990.75
46003
+ */
46004
+ refundFee?: number;
46005
+ static names(): { [key: string]: string } {
46006
+ return {
46007
+ currency: 'Currency',
46008
+ refundFee: 'RefundFee',
46009
+ };
46010
+ }
46011
+
46012
+ static types(): { [key: string]: any } {
46013
+ return {
46014
+ currency: 'string',
46015
+ refundFee: 'number',
46016
+ };
46017
+ }
46018
+
46019
+ constructor(map?: { [key: string]: any }) {
46020
+ super(map);
46021
+ }
46022
+ }
46023
+
44362
46024
  export class DescribeRegionsResponseBodyRegions extends $tea.Model {
44363
46025
  /**
44364
46026
  * @remarks
@@ -44405,6 +46067,147 @@ export class DescribeRegionsResponseBodyRegions extends $tea.Model {
44405
46067
  }
44406
46068
  }
44407
46069
 
46070
+ export class DescribeRenewalPriceResponseBodyPriceInfoPricePromotions extends $tea.Model {
46071
+ /**
46072
+ * @example
46073
+ * test
46074
+ */
46075
+ optionCode?: string;
46076
+ promotionDesc?: string;
46077
+ /**
46078
+ * @example
46079
+ * promo_option
46080
+ */
46081
+ promotionId?: string;
46082
+ promotionName?: string;
46083
+ /**
46084
+ * @example
46085
+ * false
46086
+ */
46087
+ selected?: boolean;
46088
+ static names(): { [key: string]: string } {
46089
+ return {
46090
+ optionCode: 'OptionCode',
46091
+ promotionDesc: 'PromotionDesc',
46092
+ promotionId: 'PromotionId',
46093
+ promotionName: 'PromotionName',
46094
+ selected: 'Selected',
46095
+ };
46096
+ }
46097
+
46098
+ static types(): { [key: string]: any } {
46099
+ return {
46100
+ optionCode: 'string',
46101
+ promotionDesc: 'string',
46102
+ promotionId: 'string',
46103
+ promotionName: 'string',
46104
+ selected: 'boolean',
46105
+ };
46106
+ }
46107
+
46108
+ constructor(map?: { [key: string]: any }) {
46109
+ super(map);
46110
+ }
46111
+ }
46112
+
46113
+ export class DescribeRenewalPriceResponseBodyPriceInfoPrice extends $tea.Model {
46114
+ /**
46115
+ * @example
46116
+ * CNY
46117
+ */
46118
+ currency?: string;
46119
+ /**
46120
+ * @example
46121
+ * 15.8
46122
+ */
46123
+ discountPrice?: number;
46124
+ orderLines?: { [key: string]: string };
46125
+ /**
46126
+ * @example
46127
+ * 79.0
46128
+ */
46129
+ originalPrice?: number;
46130
+ promotions?: DescribeRenewalPriceResponseBodyPriceInfoPricePromotions[];
46131
+ /**
46132
+ * @example
46133
+ * 63.2
46134
+ */
46135
+ tradePrice?: number;
46136
+ static names(): { [key: string]: string } {
46137
+ return {
46138
+ currency: 'Currency',
46139
+ discountPrice: 'DiscountPrice',
46140
+ orderLines: 'OrderLines',
46141
+ originalPrice: 'OriginalPrice',
46142
+ promotions: 'Promotions',
46143
+ tradePrice: 'TradePrice',
46144
+ };
46145
+ }
46146
+
46147
+ static types(): { [key: string]: any } {
46148
+ return {
46149
+ currency: 'string',
46150
+ discountPrice: 'number',
46151
+ orderLines: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
46152
+ originalPrice: 'number',
46153
+ promotions: { 'type': 'array', 'itemType': DescribeRenewalPriceResponseBodyPriceInfoPricePromotions },
46154
+ tradePrice: 'number',
46155
+ };
46156
+ }
46157
+
46158
+ constructor(map?: { [key: string]: any }) {
46159
+ super(map);
46160
+ }
46161
+ }
46162
+
46163
+ export class DescribeRenewalPriceResponseBodyPriceInfoRules extends $tea.Model {
46164
+ description?: string;
46165
+ /**
46166
+ * @example
46167
+ * 29644
46168
+ */
46169
+ ruleId?: number;
46170
+ static names(): { [key: string]: string } {
46171
+ return {
46172
+ description: 'Description',
46173
+ ruleId: 'RuleId',
46174
+ };
46175
+ }
46176
+
46177
+ static types(): { [key: string]: any } {
46178
+ return {
46179
+ description: 'string',
46180
+ ruleId: 'number',
46181
+ };
46182
+ }
46183
+
46184
+ constructor(map?: { [key: string]: any }) {
46185
+ super(map);
46186
+ }
46187
+ }
46188
+
46189
+ export class DescribeRenewalPriceResponseBodyPriceInfo extends $tea.Model {
46190
+ price?: DescribeRenewalPriceResponseBodyPriceInfoPrice;
46191
+ rules?: DescribeRenewalPriceResponseBodyPriceInfoRules[];
46192
+ static names(): { [key: string]: string } {
46193
+ return {
46194
+ price: 'Price',
46195
+ rules: 'Rules',
46196
+ };
46197
+ }
46198
+
46199
+ static types(): { [key: string]: any } {
46200
+ return {
46201
+ price: DescribeRenewalPriceResponseBodyPriceInfoPrice,
46202
+ rules: { 'type': 'array', 'itemType': DescribeRenewalPriceResponseBodyPriceInfoRules },
46203
+ };
46204
+ }
46205
+
46206
+ constructor(map?: { [key: string]: any }) {
46207
+ super(map);
46208
+ }
46209
+ }
46210
+
44408
46211
  export class DescribeSessionStatisticResponseBodyStatistic extends $tea.Model {
44409
46212
  /**
44410
46213
  * @remarks
@@ -46252,7 +48055,7 @@ export class GetDesktopGroupDetailResponseBodyDesktops extends $tea.Model {
46252
48055
  minDesktopsCount?: number;
46253
48056
  /**
46254
48057
  * @remarks
46255
- * The ID of the Apsara File Storage NAS (NAS) file system for the user data roaming feature.
48058
+ * The ID of the File Storage NAS (NAS) file system for the user data roaming feature.
46256
48059
  *
46257
48060
  * @example
46258
48061
  * 0783b4****
@@ -46819,6 +48622,7 @@ export class ListCdsFilesResponseBodyFileModels extends $tea.Model {
46819
48622
  }
46820
48623
 
46821
48624
  export class ListDirectoryUsersResponseBodyUsers extends $tea.Model {
48625
+ assignedDesktopNumber?: number;
46822
48626
  /**
46823
48627
  * @remarks
46824
48628
  * The display name of the user.
@@ -46827,6 +48631,7 @@ export class ListDirectoryUsersResponseBodyUsers extends $tea.Model {
46827
48631
  * Alice
46828
48632
  */
46829
48633
  displayName?: string;
48634
+ email?: string;
46830
48635
  /**
46831
48636
  * @remarks
46832
48637
  * The name of the user.
@@ -46835,17 +48640,24 @@ export class ListDirectoryUsersResponseBodyUsers extends $tea.Model {
46835
48640
  * Alice
46836
48641
  */
46837
48642
  endUser?: string;
48643
+ phone?: string;
46838
48644
  static names(): { [key: string]: string } {
46839
48645
  return {
48646
+ assignedDesktopNumber: 'AssignedDesktopNumber',
46840
48647
  displayName: 'DisplayName',
48648
+ email: 'Email',
46841
48649
  endUser: 'EndUser',
48650
+ phone: 'Phone',
46842
48651
  };
46843
48652
  }
46844
48653
 
46845
48654
  static types(): { [key: string]: any } {
46846
48655
  return {
48656
+ assignedDesktopNumber: 'number',
46847
48657
  displayName: 'string',
48658
+ email: 'string',
46848
48659
  endUser: 'string',
48660
+ phone: 'string',
46849
48661
  };
46850
48662
  }
46851
48663
 
@@ -47081,6 +48893,7 @@ export class ListOfficeSiteOverviewResponseBodyOfficeSiteOverviewResults extends
47081
48893
  }
47082
48894
 
47083
48895
  export class ListOfficeSiteUsersResponseBodyUsers extends $tea.Model {
48896
+ assignedDesktopNumber?: number;
47084
48897
  /**
47085
48898
  * @remarks
47086
48899
  * The display name of the user.
@@ -47089,6 +48902,7 @@ export class ListOfficeSiteUsersResponseBodyUsers extends $tea.Model {
47089
48902
  * Alice
47090
48903
  */
47091
48904
  displayName?: string;
48905
+ email?: string;
47092
48906
  /**
47093
48907
  * @remarks
47094
48908
  * The name of the AD user.
@@ -47097,17 +48911,24 @@ export class ListOfficeSiteUsersResponseBodyUsers extends $tea.Model {
47097
48911
  * Alice
47098
48912
  */
47099
48913
  endUser?: string;
48914
+ phone?: string;
47100
48915
  static names(): { [key: string]: string } {
47101
48916
  return {
48917
+ assignedDesktopNumber: 'AssignedDesktopNumber',
47102
48918
  displayName: 'DisplayName',
48919
+ email: 'Email',
47103
48920
  endUser: 'EndUser',
48921
+ phone: 'Phone',
47104
48922
  };
47105
48923
  }
47106
48924
 
47107
48925
  static types(): { [key: string]: any } {
47108
48926
  return {
48927
+ assignedDesktopNumber: 'number',
47109
48928
  displayName: 'string',
48929
+ email: 'string',
47110
48930
  endUser: 'string',
48931
+ phone: 'string',
47111
48932
  };
47112
48933
  }
47113
48934
 
@@ -50643,6 +52464,10 @@ export default class Client extends OpenApi {
50643
52464
  query["SubDomainName"] = request.subDomainName;
50644
52465
  }
50645
52466
 
52467
+ if (!Util.isUnset(request.vSwitchId)) {
52468
+ query["VSwitchId"] = request.vSwitchId;
52469
+ }
52470
+
50646
52471
  if (!Util.isUnset(request.verifyCode)) {
50647
52472
  query["VerifyCode"] = request.verifyCode;
50648
52473
  }
@@ -50685,7 +52510,7 @@ export default class Client extends OpenApi {
50685
52510
  }
50686
52511
 
50687
52512
  /**
50688
- * Creates an Apsara File Storage NAS (NAS) file system and mount the file system to the workspace in which a desktop group resides.
52513
+ * Creates a File Storage NAS (NAS) file system and mount the file system to the workspace in which a desktop group resides.
50689
52514
  *
50690
52515
  * @param request - CreateAndBindNasFileSystemRequest
50691
52516
  * @param runtime - runtime options for this request RuntimeOptions
@@ -50744,7 +52569,7 @@ export default class Client extends OpenApi {
50744
52569
  }
50745
52570
 
50746
52571
  /**
50747
- * Creates an Apsara File Storage NAS (NAS) file system and mount the file system to the workspace in which a desktop group resides.
52572
+ * Creates a File Storage NAS (NAS) file system and mount the file system to the workspace in which a desktop group resides.
50748
52573
  *
50749
52574
  * @param request - CreateAndBindNasFileSystemRequest
50750
52575
  * @returns CreateAndBindNasFileSystemResponse
@@ -51371,6 +53196,10 @@ export default class Client extends OpenApi {
51371
53196
  query["ProfileFollowSwitch"] = request.profileFollowSwitch;
51372
53197
  }
51373
53198
 
53199
+ if (!Util.isUnset(request.promotionId)) {
53200
+ query["PromotionId"] = request.promotionId;
53201
+ }
53202
+
51374
53203
  if (!Util.isUnset(request.ratioThreshold)) {
51375
53204
  query["RatioThreshold"] = request.ratioThreshold;
51376
53205
  }
@@ -51554,12 +53383,18 @@ export default class Client extends OpenApi {
51554
53383
  * * Make sure a policy exists. If no policy exists, call the [CreatePolicyGroup](https://help.aliyun.com/document_detail/188889.html) operation to create a policy.
51555
53384
  * If you want the cloud computers to automatically execute a custom command script, you can use the `UserCommands` field to configure a custom command.
51556
53385
  *
51557
- * @param request - CreateDesktopsRequest
53386
+ * @param tmpReq - CreateDesktopsRequest
51558
53387
  * @param runtime - runtime options for this request RuntimeOptions
51559
53388
  * @returns CreateDesktopsResponse
51560
53389
  */
51561
- async createDesktopsWithOptions(request: CreateDesktopsRequest, runtime: $Util.RuntimeOptions): Promise<CreateDesktopsResponse> {
51562
- Util.validateModel(request);
53390
+ async createDesktopsWithOptions(tmpReq: CreateDesktopsRequest, runtime: $Util.RuntimeOptions): Promise<CreateDesktopsResponse> {
53391
+ Util.validateModel(tmpReq);
53392
+ let request = new CreateDesktopsShrinkRequest({ });
53393
+ OpenApiUtil.convert(tmpReq, request);
53394
+ if (!Util.isUnset(tmpReq.desktopAttachment)) {
53395
+ request.desktopAttachmentShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.desktopAttachment, "DesktopAttachment", "json");
53396
+ }
53397
+
51563
53398
  let query = { };
51564
53399
  if (!Util.isUnset(request.amount)) {
51565
53400
  query["Amount"] = request.amount;
@@ -51585,6 +53420,10 @@ export default class Client extends OpenApi {
51585
53420
  query["ChargeType"] = request.chargeType;
51586
53421
  }
51587
53422
 
53423
+ if (!Util.isUnset(request.desktopAttachmentShrink)) {
53424
+ query["DesktopAttachment"] = request.desktopAttachmentShrink;
53425
+ }
53426
+
51588
53427
  if (!Util.isUnset(request.desktopMemberIp)) {
51589
53428
  query["DesktopMemberIp"] = request.desktopMemberIp;
51590
53429
  }
@@ -51645,6 +53484,10 @@ export default class Client extends OpenApi {
51645
53484
  query["RegionId"] = request.regionId;
51646
53485
  }
51647
53486
 
53487
+ if (!Util.isUnset(request.resourceGroupId)) {
53488
+ query["ResourceGroupId"] = request.resourceGroupId;
53489
+ }
53490
+
51648
53491
  if (!Util.isUnset(request.snapshotPolicyId)) {
51649
53492
  query["SnapshotPolicyId"] = request.snapshotPolicyId;
51650
53493
  }
@@ -51653,6 +53496,10 @@ export default class Client extends OpenApi {
51653
53496
  query["Tag"] = request.tag;
51654
53497
  }
51655
53498
 
53499
+ if (!Util.isUnset(request.timerGroupId)) {
53500
+ query["TimerGroupId"] = request.timerGroupId;
53501
+ }
53502
+
51656
53503
  if (!Util.isUnset(request.userAssignMode)) {
51657
53504
  query["UserAssignMode"] = request.userAssignMode;
51658
53505
  }
@@ -51831,6 +53678,20 @@ export default class Client extends OpenApi {
51831
53678
  }
51832
53679
 
51833
53680
  /**
53681
+ * Create a NAS file system.
53682
+ *
53683
+ * @remarks
53684
+ * <props="china">
53685
+ * - Each standard workspace can create one NAS file system to meet the need for sharing files between cloud desktops in the workspace.
53686
+ * - The system will automatically create a general-purpose NAS file system (with storage specifications of Capacity and Performance, with capacities of 10 PiB and 1 PiB respectively) and generate a default mount point.
53687
+ * - The NAS file system uses pay-as-you-go by default. You need to pay for the actual storage usage. You can also purchase resource packages to offset the storage usage.
53688
+ * For more information, see [Creating Shared Storage NAS](https://help.aliyun.com/document_detail/214481.html).
53689
+ * <props="intl">
53690
+ * - Each standard workspace can create one NAS file system to meet the need for sharing files between cloud desktops in the workspace.
53691
+ * - The system will automatically create a general-purpose NAS file system (with storage specifications of Capacity and Performance, with capacities of 10 PiB and 1 PiB respectively) and generate a default mount point.
53692
+ * - The NAS file system uses pay-as-you-go by default. You need to pay for the actual storage usage. You can also purchase storage packages to offset the storage usage.
53693
+ * For more information, see [Creating Shared Storage NAS](https://help.aliyun.com/document_detail/214481.html).
53694
+ *
51834
53695
  * @param request - CreateNASFileSystemRequest
51835
53696
  * @param runtime - runtime options for this request RuntimeOptions
51836
53697
  * @returns CreateNASFileSystemResponse
@@ -51880,6 +53741,20 @@ export default class Client extends OpenApi {
51880
53741
  }
51881
53742
 
51882
53743
  /**
53744
+ * Create a NAS file system.
53745
+ *
53746
+ * @remarks
53747
+ * <props="china">
53748
+ * - Each standard workspace can create one NAS file system to meet the need for sharing files between cloud desktops in the workspace.
53749
+ * - The system will automatically create a general-purpose NAS file system (with storage specifications of Capacity and Performance, with capacities of 10 PiB and 1 PiB respectively) and generate a default mount point.
53750
+ * - The NAS file system uses pay-as-you-go by default. You need to pay for the actual storage usage. You can also purchase resource packages to offset the storage usage.
53751
+ * For more information, see [Creating Shared Storage NAS](https://help.aliyun.com/document_detail/214481.html).
53752
+ * <props="intl">
53753
+ * - Each standard workspace can create one NAS file system to meet the need for sharing files between cloud desktops in the workspace.
53754
+ * - The system will automatically create a general-purpose NAS file system (with storage specifications of Capacity and Performance, with capacities of 10 PiB and 1 PiB respectively) and generate a default mount point.
53755
+ * - The NAS file system uses pay-as-you-go by default. You need to pay for the actual storage usage. You can also purchase storage packages to offset the storage usage.
53756
+ * For more information, see [Creating Shared Storage NAS](https://help.aliyun.com/document_detail/214481.html).
53757
+ *
51883
53758
  * @param request - CreateNASFileSystemRequest
51884
53759
  * @returns CreateNASFileSystemResponse
51885
53760
  */
@@ -52203,6 +54078,10 @@ export default class Client extends OpenApi {
52203
54078
  query["WatermarkType"] = request.watermarkType;
52204
54079
  }
52205
54080
 
54081
+ if (!Util.isUnset(request.wyAssistant)) {
54082
+ query["WyAssistant"] = request.wyAssistant;
54083
+ }
54084
+
52206
54085
  let req = new $OpenApi.OpenApiRequest({
52207
54086
  query: OpenApiUtil.query(query),
52208
54087
  });
@@ -53032,7 +54911,7 @@ export default class Client extends OpenApi {
53032
54911
  * Deletes NAS file systems.
53033
54912
  *
53034
54913
  * @remarks
53035
- * Before you delete an Apsara File Storage NAS (NAS) file system, make sure that the data you want to retain is backed up.
54914
+ * Before you delete a File Storage NAS (NAS) file system, make sure that the data you want to retain is backed up.
53036
54915
  * >Warning: If a NAS file system is deleted, data stored in the NAS file system cannot be restored. Proceed with caution when you delete NAS file systems.
53037
54916
  *
53038
54917
  * @param request - DeleteNASFileSystemsRequest
@@ -53071,7 +54950,7 @@ export default class Client extends OpenApi {
53071
54950
  * Deletes NAS file systems.
53072
54951
  *
53073
54952
  * @remarks
53074
- * Before you delete an Apsara File Storage NAS (NAS) file system, make sure that the data you want to retain is backed up.
54953
+ * Before you delete a File Storage NAS (NAS) file system, make sure that the data you want to retain is backed up.
53075
54954
  * >Warning: If a NAS file system is deleted, data stored in the NAS file system cannot be restored. Proceed with caution when you delete NAS file systems.
53076
54955
  *
53077
54956
  * @param request - DeleteNASFileSystemsRequest
@@ -54457,6 +56336,10 @@ export default class Client extends OpenApi {
54457
56336
  query["EndUserId"] = request.endUserId;
54458
56337
  }
54459
56338
 
56339
+ if (!Util.isUnset(request.endUserIdFilter)) {
56340
+ query["EndUserIdFilter"] = request.endUserIdFilter;
56341
+ }
56342
+
54460
56343
  if (!Util.isUnset(request.officeSiteId)) {
54461
56344
  query["OfficeSiteId"] = request.officeSiteId;
54462
56345
  }
@@ -54549,6 +56432,10 @@ export default class Client extends OpenApi {
54549
56432
  query["DesktopTypeId"] = request.desktopTypeId;
54550
56433
  }
54551
56434
 
56435
+ if (!Util.isUnset(request.desktopTypeIdList)) {
56436
+ query["DesktopTypeIdList"] = request.desktopTypeIdList;
56437
+ }
56438
+
54552
56439
  if (!Util.isUnset(request.gpuCount)) {
54553
56440
  query["GpuCount"] = request.gpuCount;
54554
56441
  }
@@ -54565,6 +56452,10 @@ export default class Client extends OpenApi {
54565
56452
  query["MemorySize"] = request.memorySize;
54566
56453
  }
54567
56454
 
56455
+ if (!Util.isUnset(request.orderBy)) {
56456
+ query["OrderBy"] = request.orderBy;
56457
+ }
56458
+
54568
56459
  if (!Util.isUnset(request.orderType)) {
54569
56460
  query["OrderType"] = request.orderType;
54570
56461
  }
@@ -54573,6 +56464,14 @@ export default class Client extends OpenApi {
54573
56464
  query["RegionId"] = request.regionId;
54574
56465
  }
54575
56466
 
56467
+ if (!Util.isUnset(request.scope)) {
56468
+ query["Scope"] = request.scope;
56469
+ }
56470
+
56471
+ if (!Util.isUnset(request.sortType)) {
56472
+ query["SortType"] = request.sortType;
56473
+ }
56474
+
54576
56475
  let req = new $OpenApi.OpenApiRequest({
54577
56476
  query: OpenApiUtil.query(query),
54578
56477
  });
@@ -54706,6 +56605,14 @@ export default class Client extends OpenApi {
54706
56605
  query["OsTypes"] = request.osTypes;
54707
56606
  }
54708
56607
 
56608
+ if (!Util.isUnset(request.pageNumber)) {
56609
+ query["PageNumber"] = request.pageNumber;
56610
+ }
56611
+
56612
+ if (!Util.isUnset(request.pageSize)) {
56613
+ query["PageSize"] = request.pageSize;
56614
+ }
56615
+
54709
56616
  if (!Util.isUnset(request.policyGroupId)) {
54710
56617
  query["PolicyGroupId"] = request.policyGroupId;
54711
56618
  }
@@ -55115,7 +57022,35 @@ export default class Client extends OpenApi {
55115
57022
  */
55116
57023
  async describeFotaPendingDesktopsWithOptions(request: DescribeFotaPendingDesktopsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeFotaPendingDesktopsResponse> {
55117
57024
  Util.validateModel(request);
55118
- let query = OpenApiUtil.query(Util.toMap(request));
57025
+ let query = { };
57026
+ if (!Util.isUnset(request.desktopId)) {
57027
+ query["DesktopId"] = request.desktopId;
57028
+ }
57029
+
57030
+ if (!Util.isUnset(request.desktopName)) {
57031
+ query["DesktopName"] = request.desktopName;
57032
+ }
57033
+
57034
+ if (!Util.isUnset(request.maxResults)) {
57035
+ query["MaxResults"] = request.maxResults;
57036
+ }
57037
+
57038
+ if (!Util.isUnset(request.nextToken)) {
57039
+ query["NextToken"] = request.nextToken;
57040
+ }
57041
+
57042
+ if (!Util.isUnset(request.officeSiteId)) {
57043
+ query["OfficeSiteId"] = request.officeSiteId;
57044
+ }
57045
+
57046
+ if (!Util.isUnset(request.regionId)) {
57047
+ query["RegionId"] = request.regionId;
57048
+ }
57049
+
57050
+ if (!Util.isUnset(request.taskUid)) {
57051
+ query["TaskUid"] = request.taskUid;
57052
+ }
57053
+
55119
57054
  let req = new $OpenApi.OpenApiRequest({
55120
57055
  query: OpenApiUtil.query(query),
55121
57056
  });
@@ -55124,7 +57059,7 @@ export default class Client extends OpenApi {
55124
57059
  version: "2020-09-30",
55125
57060
  protocol: "HTTPS",
55126
57061
  pathname: "/",
55127
- method: "GET",
57062
+ method: "POST",
55128
57063
  authType: "AK",
55129
57064
  style: "RPC",
55130
57065
  reqBodyType: "formData",
@@ -55496,6 +57431,10 @@ export default class Client extends OpenApi {
55496
57431
  query["EndUserId"] = request.endUserId;
55497
57432
  }
55498
57433
 
57434
+ if (!Util.isUnset(request.includeInvokeDesktops)) {
57435
+ query["IncludeInvokeDesktops"] = request.includeInvokeDesktops;
57436
+ }
57437
+
55499
57438
  if (!Util.isUnset(request.includeOutput)) {
55500
57439
  query["IncludeOutput"] = request.includeOutput;
55501
57440
  }
@@ -55593,7 +57532,69 @@ export default class Client extends OpenApi {
55593
57532
  }
55594
57533
 
55595
57534
  /**
55596
- * Queries the information about Apsara File Storage NAS (NAS) file systems.
57535
+ * @param request - DescribeModificationPriceRequest
57536
+ * @param runtime - runtime options for this request RuntimeOptions
57537
+ * @returns DescribeModificationPriceResponse
57538
+ */
57539
+ async describeModificationPriceWithOptions(request: DescribeModificationPriceRequest, runtime: $Util.RuntimeOptions): Promise<DescribeModificationPriceResponse> {
57540
+ Util.validateModel(request);
57541
+ let query = { };
57542
+ if (!Util.isUnset(request.bandwidth)) {
57543
+ query["Bandwidth"] = request.bandwidth;
57544
+ }
57545
+
57546
+ if (!Util.isUnset(request.instanceId)) {
57547
+ query["InstanceId"] = request.instanceId;
57548
+ }
57549
+
57550
+ if (!Util.isUnset(request.instanceType)) {
57551
+ query["InstanceType"] = request.instanceType;
57552
+ }
57553
+
57554
+ if (!Util.isUnset(request.regionId)) {
57555
+ query["RegionId"] = request.regionId;
57556
+ }
57557
+
57558
+ if (!Util.isUnset(request.resourceType)) {
57559
+ query["ResourceType"] = request.resourceType;
57560
+ }
57561
+
57562
+ if (!Util.isUnset(request.rootDiskSizeGib)) {
57563
+ query["RootDiskSizeGib"] = request.rootDiskSizeGib;
57564
+ }
57565
+
57566
+ if (!Util.isUnset(request.userDiskSizeGib)) {
57567
+ query["UserDiskSizeGib"] = request.userDiskSizeGib;
57568
+ }
57569
+
57570
+ let req = new $OpenApi.OpenApiRequest({
57571
+ query: OpenApiUtil.query(query),
57572
+ });
57573
+ let params = new $OpenApi.Params({
57574
+ action: "DescribeModificationPrice",
57575
+ version: "2020-09-30",
57576
+ protocol: "HTTPS",
57577
+ pathname: "/",
57578
+ method: "POST",
57579
+ authType: "AK",
57580
+ style: "RPC",
57581
+ reqBodyType: "formData",
57582
+ bodyType: "json",
57583
+ });
57584
+ return $tea.cast<DescribeModificationPriceResponse>(await this.callApi(params, req, runtime), new DescribeModificationPriceResponse({}));
57585
+ }
57586
+
57587
+ /**
57588
+ * @param request - DescribeModificationPriceRequest
57589
+ * @returns DescribeModificationPriceResponse
57590
+ */
57591
+ async describeModificationPrice(request: DescribeModificationPriceRequest): Promise<DescribeModificationPriceResponse> {
57592
+ let runtime = new $Util.RuntimeOptions({ });
57593
+ return await this.describeModificationPriceWithOptions(request, runtime);
57594
+ }
57595
+
57596
+ /**
57597
+ * Queries the information about File Storage NAS (NAS) file systems.
55597
57598
  *
55598
57599
  * @param request - DescribeNASFileSystemsRequest
55599
57600
  * @param runtime - runtime options for this request RuntimeOptions
@@ -55644,7 +57645,7 @@ export default class Client extends OpenApi {
55644
57645
  }
55645
57646
 
55646
57647
  /**
55647
- * Queries the information about Apsara File Storage NAS (NAS) file systems.
57648
+ * Queries the information about File Storage NAS (NAS) file systems.
55648
57649
  *
55649
57650
  * @param request - DescribeNASFileSystemsRequest
55650
57651
  * @returns DescribeNASFileSystemsResponse
@@ -55862,58 +57863,14 @@ export default class Client extends OpenApi {
55862
57863
  query["Bandwidth"] = request.bandwidth;
55863
57864
  }
55864
57865
 
55865
- if (!Util.isUnset(request.bundleModels)) {
55866
- query["BundleModels"] = request.bundleModels;
55867
- }
55868
-
55869
- if (!Util.isUnset(request.eduCdsEnable)) {
55870
- query["EduCdsEnable"] = request.eduCdsEnable;
55871
- }
55872
-
55873
- if (!Util.isUnset(request.eduCdsSize)) {
55874
- query["EduCdsSize"] = request.eduCdsSize;
55875
- }
55876
-
55877
- if (!Util.isUnset(request.eduCommittedTime)) {
55878
- query["EduCommittedTime"] = request.eduCommittedTime;
55879
- }
55880
-
55881
- if (!Util.isUnset(request.eduDesktopBundleId)) {
55882
- query["EduDesktopBundleId"] = request.eduDesktopBundleId;
55883
- }
55884
-
55885
- if (!Util.isUnset(request.eduDesktopNum)) {
55886
- query["EduDesktopNum"] = request.eduDesktopNum;
55887
- }
55888
-
55889
- if (!Util.isUnset(request.eduRoomClassify)) {
55890
- query["EduRoomClassify"] = request.eduRoomClassify;
55891
- }
55892
-
55893
- if (!Util.isUnset(request.eduStudentBundleId)) {
55894
- query["EduStudentBundleId"] = request.eduStudentBundleId;
55895
- }
55896
-
55897
- if (!Util.isUnset(request.eduStudentNum)) {
55898
- query["EduStudentNum"] = request.eduStudentNum;
55899
- }
55900
-
55901
- if (!Util.isUnset(request.eduTeacherBundleId)) {
55902
- query["EduTeacherBundleId"] = request.eduTeacherBundleId;
55903
- }
55904
-
55905
- if (!Util.isUnset(request.eduTeacherNum)) {
55906
- query["EduTeacherNum"] = request.eduTeacherNum;
57866
+ if (!Util.isUnset(request.duration)) {
57867
+ query["Duration"] = request.duration;
55907
57868
  }
55908
57869
 
55909
57870
  if (!Util.isUnset(request.groupDesktopCount)) {
55910
57871
  query["GroupDesktopCount"] = request.groupDesktopCount;
55911
57872
  }
55912
57873
 
55913
- if (!Util.isUnset(request.hardwareVersion)) {
55914
- query["HardwareVersion"] = request.hardwareVersion;
55915
- }
55916
-
55917
57874
  if (!Util.isUnset(request.instanceType)) {
55918
57875
  query["InstanceType"] = request.instanceType;
55919
57876
  }
@@ -55922,18 +57879,10 @@ export default class Client extends OpenApi {
55922
57879
  query["InternetChargeType"] = request.internetChargeType;
55923
57880
  }
55924
57881
 
55925
- if (!Util.isUnset(request.networkType)) {
55926
- query["NetworkType"] = request.networkType;
55927
- }
55928
-
55929
57882
  if (!Util.isUnset(request.osType)) {
55930
57883
  query["OsType"] = request.osType;
55931
57884
  }
55932
57885
 
55933
- if (!Util.isUnset(request.packageSize)) {
55934
- query["PackageSize"] = request.packageSize;
55935
- }
55936
-
55937
57886
  if (!Util.isUnset(request.period)) {
55938
57887
  query["Period"] = request.period;
55939
57888
  }
@@ -55954,28 +57903,16 @@ export default class Client extends OpenApi {
55954
57903
  query["ResourceType"] = request.resourceType;
55955
57904
  }
55956
57905
 
55957
- if (!Util.isUnset(request.rootDiskPerformanceLevel)) {
55958
- query["RootDiskPerformanceLevel"] = request.rootDiskPerformanceLevel;
57906
+ if (!Util.isUnset(request.rootDiskCategory)) {
57907
+ query["RootDiskCategory"] = request.rootDiskCategory;
55959
57908
  }
55960
57909
 
55961
57910
  if (!Util.isUnset(request.rootDiskSizeGib)) {
55962
57911
  query["RootDiskSizeGib"] = request.rootDiskSizeGib;
55963
57912
  }
55964
57913
 
55965
- if (!Util.isUnset(request.spPeriodInfo)) {
55966
- query["SpPeriodInfo"] = request.spPeriodInfo;
55967
- }
55968
-
55969
- if (!Util.isUnset(request.spPrice)) {
55970
- query["SpPrice"] = request.spPrice;
55971
- }
55972
-
55973
- if (!Util.isUnset(request.spType)) {
55974
- query["SpType"] = request.spType;
55975
- }
55976
-
55977
- if (!Util.isUnset(request.userDiskPerformanceLevel)) {
55978
- query["UserDiskPerformanceLevel"] = request.userDiskPerformanceLevel;
57914
+ if (!Util.isUnset(request.userDiskCategory)) {
57915
+ query["UserDiskCategory"] = request.userDiskCategory;
55979
57916
  }
55980
57917
 
55981
57918
  if (!Util.isUnset(request.userDiskSizeGib)) {
@@ -56254,6 +58191,52 @@ export default class Client extends OpenApi {
56254
58191
  return await this.describeRecordingsWithOptions(request, runtime);
56255
58192
  }
56256
58193
 
58194
+ /**
58195
+ * @param request - DescribeRefundPriceRequest
58196
+ * @param runtime - runtime options for this request RuntimeOptions
58197
+ * @returns DescribeRefundPriceResponse
58198
+ */
58199
+ async describeRefundPriceWithOptions(request: DescribeRefundPriceRequest, runtime: $Util.RuntimeOptions): Promise<DescribeRefundPriceResponse> {
58200
+ Util.validateModel(request);
58201
+ let query = { };
58202
+ if (!Util.isUnset(request.desktopId)) {
58203
+ query["DesktopId"] = request.desktopId;
58204
+ }
58205
+
58206
+ if (!Util.isUnset(request.refundType)) {
58207
+ query["RefundType"] = request.refundType;
58208
+ }
58209
+
58210
+ if (!Util.isUnset(request.regionId)) {
58211
+ query["RegionId"] = request.regionId;
58212
+ }
58213
+
58214
+ let req = new $OpenApi.OpenApiRequest({
58215
+ query: OpenApiUtil.query(query),
58216
+ });
58217
+ let params = new $OpenApi.Params({
58218
+ action: "DescribeRefundPrice",
58219
+ version: "2020-09-30",
58220
+ protocol: "HTTPS",
58221
+ pathname: "/",
58222
+ method: "POST",
58223
+ authType: "AK",
58224
+ style: "RPC",
58225
+ reqBodyType: "formData",
58226
+ bodyType: "json",
58227
+ });
58228
+ return $tea.cast<DescribeRefundPriceResponse>(await this.callApi(params, req, runtime), new DescribeRefundPriceResponse({}));
58229
+ }
58230
+
58231
+ /**
58232
+ * @param request - DescribeRefundPriceRequest
58233
+ * @returns DescribeRefundPriceResponse
58234
+ */
58235
+ async describeRefundPrice(request: DescribeRefundPriceRequest): Promise<DescribeRefundPriceResponse> {
58236
+ let runtime = new $Util.RuntimeOptions({ });
58237
+ return await this.describeRefundPriceWithOptions(request, runtime);
58238
+ }
58239
+
56257
58240
  /**
56258
58241
  * Queries the Alibaba Cloud regions that are available for Elastic Desktop Service (EDS).
56259
58242
  *
@@ -56300,6 +58283,64 @@ export default class Client extends OpenApi {
56300
58283
  return await this.describeRegionsWithOptions(request, runtime);
56301
58284
  }
56302
58285
 
58286
+ /**
58287
+ * @param request - DescribeRenewalPriceRequest
58288
+ * @param runtime - runtime options for this request RuntimeOptions
58289
+ * @returns DescribeRenewalPriceResponse
58290
+ */
58291
+ async describeRenewalPriceWithOptions(request: DescribeRenewalPriceRequest, runtime: $Util.RuntimeOptions): Promise<DescribeRenewalPriceResponse> {
58292
+ Util.validateModel(request);
58293
+ let query = { };
58294
+ if (!Util.isUnset(request.instanceId)) {
58295
+ query["InstanceId"] = request.instanceId;
58296
+ }
58297
+
58298
+ if (!Util.isUnset(request.instanceIds)) {
58299
+ query["InstanceIds"] = request.instanceIds;
58300
+ }
58301
+
58302
+ if (!Util.isUnset(request.period)) {
58303
+ query["Period"] = request.period;
58304
+ }
58305
+
58306
+ if (!Util.isUnset(request.periodUnit)) {
58307
+ query["PeriodUnit"] = request.periodUnit;
58308
+ }
58309
+
58310
+ if (!Util.isUnset(request.regionId)) {
58311
+ query["RegionId"] = request.regionId;
58312
+ }
58313
+
58314
+ if (!Util.isUnset(request.resourceType)) {
58315
+ query["ResourceType"] = request.resourceType;
58316
+ }
58317
+
58318
+ let req = new $OpenApi.OpenApiRequest({
58319
+ query: OpenApiUtil.query(query),
58320
+ });
58321
+ let params = new $OpenApi.Params({
58322
+ action: "DescribeRenewalPrice",
58323
+ version: "2020-09-30",
58324
+ protocol: "HTTPS",
58325
+ pathname: "/",
58326
+ method: "POST",
58327
+ authType: "AK",
58328
+ style: "RPC",
58329
+ reqBodyType: "formData",
58330
+ bodyType: "json",
58331
+ });
58332
+ return $tea.cast<DescribeRenewalPriceResponse>(await this.callApi(params, req, runtime), new DescribeRenewalPriceResponse({}));
58333
+ }
58334
+
58335
+ /**
58336
+ * @param request - DescribeRenewalPriceRequest
58337
+ * @returns DescribeRenewalPriceResponse
58338
+ */
58339
+ async describeRenewalPrice(request: DescribeRenewalPriceRequest): Promise<DescribeRenewalPriceResponse> {
58340
+ let runtime = new $Util.RuntimeOptions({ });
58341
+ return await this.describeRenewalPriceWithOptions(request, runtime);
58342
+ }
58343
+
56303
58344
  /**
56304
58345
  * Queries the session statistics of a region.
56305
58346
  *
@@ -57997,6 +60038,10 @@ export default class Client extends OpenApi {
57997
60038
  async listDirectoryUsersWithOptions(request: ListDirectoryUsersRequest, runtime: $Util.RuntimeOptions): Promise<ListDirectoryUsersResponse> {
57998
60039
  Util.validateModel(request);
57999
60040
  let query = { };
60041
+ if (!Util.isUnset(request.assignedInfo)) {
60042
+ query["AssignedInfo"] = request.assignedInfo;
60043
+ }
60044
+
58000
60045
  if (!Util.isUnset(request.directoryId)) {
58001
60046
  query["DirectoryId"] = request.directoryId;
58002
60047
  }
@@ -58005,6 +60050,10 @@ export default class Client extends OpenApi {
58005
60050
  query["Filter"] = request.filter;
58006
60051
  }
58007
60052
 
60053
+ if (!Util.isUnset(request.includeAssignedUser)) {
60054
+ query["IncludeAssignedUser"] = request.includeAssignedUser;
60055
+ }
60056
+
58008
60057
  if (!Util.isUnset(request.maxResults)) {
58009
60058
  query["MaxResults"] = request.maxResults;
58010
60059
  }
@@ -58021,6 +60070,10 @@ export default class Client extends OpenApi {
58021
60070
  query["RegionId"] = request.regionId;
58022
60071
  }
58023
60072
 
60073
+ if (!Util.isUnset(request.sortType)) {
60074
+ query["SortType"] = request.sortType;
60075
+ }
60076
+
58024
60077
  let req = new $OpenApi.OpenApiRequest({
58025
60078
  query: OpenApiUtil.query(query),
58026
60079
  });
@@ -58182,10 +60235,18 @@ export default class Client extends OpenApi {
58182
60235
  async listOfficeSiteUsersWithOptions(request: ListOfficeSiteUsersRequest, runtime: $Util.RuntimeOptions): Promise<ListOfficeSiteUsersResponse> {
58183
60236
  Util.validateModel(request);
58184
60237
  let query = { };
60238
+ if (!Util.isUnset(request.assignedInfo)) {
60239
+ query["AssignedInfo"] = request.assignedInfo;
60240
+ }
60241
+
58185
60242
  if (!Util.isUnset(request.filter)) {
58186
60243
  query["Filter"] = request.filter;
58187
60244
  }
58188
60245
 
60246
+ if (!Util.isUnset(request.includeAssignedUser)) {
60247
+ query["IncludeAssignedUser"] = request.includeAssignedUser;
60248
+ }
60249
+
58189
60250
  if (!Util.isUnset(request.maxResults)) {
58190
60251
  query["MaxResults"] = request.maxResults;
58191
60252
  }
@@ -58206,6 +60267,10 @@ export default class Client extends OpenApi {
58206
60267
  query["RegionId"] = request.regionId;
58207
60268
  }
58208
60269
 
60270
+ if (!Util.isUnset(request.sortType)) {
60271
+ query["SortType"] = request.sortType;
60272
+ }
60273
+
58209
60274
  let req = new $OpenApi.OpenApiRequest({
58210
60275
  query: OpenApiUtil.query(query),
58211
60276
  });
@@ -59146,6 +61211,10 @@ export default class Client extends OpenApi {
59146
61211
  query["DownloadUploadEndUserIds"] = request.downloadUploadEndUserIds;
59147
61212
  }
59148
61213
 
61214
+ if (!Util.isUnset(request.noDownloadNoUploadEndUserIds)) {
61215
+ query["NoDownloadNoUploadEndUserIds"] = request.noDownloadNoUploadEndUserIds;
61216
+ }
61217
+
59149
61218
  if (!Util.isUnset(request.regionId)) {
59150
61219
  query["RegionId"] = request.regionId;
59151
61220
  }
@@ -60317,7 +62386,7 @@ export default class Client extends OpenApi {
60317
62386
  }
60318
62387
 
60319
62388
  /**
60320
- * Modifies the mount target of an Apsara File Storage NAS (NAS) file system.
62389
+ * Modifies the mount target of a File Storage NAS (NAS) file system.
60321
62390
  *
60322
62391
  * @remarks
60323
62392
  * When you create a NAS file system, a mount target is automatically generated. By default, the mount target does not need to be changed. If the mount target is deleted by misoperation, you must specify a new mount target for the NAS file system in the workspace. You can call the [CreateMountTarget](https://help.aliyun.com/document_detail/62621.html) operation to create a mount target.
@@ -60359,7 +62428,7 @@ export default class Client extends OpenApi {
60359
62428
  }
60360
62429
 
60361
62430
  /**
60362
- * Modifies the mount target of an Apsara File Storage NAS (NAS) file system.
62431
+ * Modifies the mount target of a File Storage NAS (NAS) file system.
60363
62432
  *
60364
62433
  * @remarks
60365
62434
  * When you create a NAS file system, a mount target is automatically generated. By default, the mount target does not need to be changed. If the mount target is deleted by misoperation, you must specify a new mount target for the NAS file system in the workspace. You can call the [CreateMountTarget](https://help.aliyun.com/document_detail/62621.html) operation to create a mount target.
@@ -60898,6 +62967,10 @@ export default class Client extends OpenApi {
60898
62967
  query["WatermarkType"] = request.watermarkType;
60899
62968
  }
60900
62969
 
62970
+ if (!Util.isUnset(request.wyAssistant)) {
62971
+ query["WyAssistant"] = request.wyAssistant;
62972
+ }
62973
+
60901
62974
  let req = new $OpenApi.OpenApiRequest({
60902
62975
  query: OpenApiUtil.query(query),
60903
62976
  });
@@ -61162,12 +63235,12 @@ export default class Client extends OpenApi {
61162
63235
  * Recreates cloud computers.
61163
63236
  *
61164
63237
  * @remarks
61165
- * Before you change the image of a cloud computer, take note of the following limits:
61166
- * * You can select an image whose OS is different from the OS of the original image. The image change feature is not supported in the following regions: China (Hong Kong), Australia (Sydney), Singapore, and Japan (Tokyo).
61167
- * * GPU images and non-GPU images cannot be exchanged. Graphical cloud computers can only use GPU-accelerated images. Non-graphical cloud computers can only use non-GPU-accelerated images.
61168
- * After the image is changed, the system uses the new image to initialize the system disk of the cloud computer. This has the following impacts:
61169
- * * Data in the system disk of the original cloud computer is cleared. Snapshots that are created based on the system disk of the original cloud computer can no longer be used. The system automatically deletes the snapshots.
61170
- * * If the OS of the image is changed, the data in the data disks of the original cloud computer is cleared, and the snapshots that are created based on the data disks of the original cloud computer can no longer be used. The system automatically deletes the snapshots. If the OS of the image is not changed, the data in the data disks of the original cloud computer is retained, and the snapshots that are created based on the data disks of the original cloud computer can still be used.
63238
+ * Take note of the following limits when you change an image:
63239
+ * * You can select an image whose OS is different from the OS of the original image. The image change feature is not supported in the following regions: China (Hong Kong), Singapore, and Japan (Tokyo).
63240
+ * * GPU images and non-GPU images cannot be exchanged. Graphic-based cloud computers can only use GPU-accelerated images. The other cloud computers can only use non-GPU-accelerated images.
63241
+ * After the image of a cloud computer is changed, the system uses the new image to initialize the system disk of the cloud computer. This has the following impacts:
63242
+ * * Data in the system disk of the original cloud computer is cleared. Snapshots that are created based on the system disk of the original cloud computer become unavailable. The system automatically deletes the snapshots.
63243
+ * * If the OS of the image is changed, the data in the data disk of the original cloud computer is cleared, and the snapshots that are created based on the data disk of the original cloud computer can no longer be used. The system automatically deletes the snapshots. If the OS of the image is not changed, the data in the data disk of the original cloud computer is retained, and the snapshots that are created based on the data disk of the original cloud computer can still be used.
61171
63244
  *
61172
63245
  * @param request - RebuildDesktopsRequest
61173
63246
  * @param runtime - runtime options for this request RuntimeOptions
@@ -61217,12 +63290,12 @@ export default class Client extends OpenApi {
61217
63290
  * Recreates cloud computers.
61218
63291
  *
61219
63292
  * @remarks
61220
- * Before you change the image of a cloud computer, take note of the following limits:
61221
- * * You can select an image whose OS is different from the OS of the original image. The image change feature is not supported in the following regions: China (Hong Kong), Australia (Sydney), Singapore, and Japan (Tokyo).
61222
- * * GPU images and non-GPU images cannot be exchanged. Graphical cloud computers can only use GPU-accelerated images. Non-graphical cloud computers can only use non-GPU-accelerated images.
61223
- * After the image is changed, the system uses the new image to initialize the system disk of the cloud computer. This has the following impacts:
61224
- * * Data in the system disk of the original cloud computer is cleared. Snapshots that are created based on the system disk of the original cloud computer can no longer be used. The system automatically deletes the snapshots.
61225
- * * If the OS of the image is changed, the data in the data disks of the original cloud computer is cleared, and the snapshots that are created based on the data disks of the original cloud computer can no longer be used. The system automatically deletes the snapshots. If the OS of the image is not changed, the data in the data disks of the original cloud computer is retained, and the snapshots that are created based on the data disks of the original cloud computer can still be used.
63293
+ * Take note of the following limits when you change an image:
63294
+ * * You can select an image whose OS is different from the OS of the original image. The image change feature is not supported in the following regions: China (Hong Kong), Singapore, and Japan (Tokyo).
63295
+ * * GPU images and non-GPU images cannot be exchanged. Graphic-based cloud computers can only use GPU-accelerated images. The other cloud computers can only use non-GPU-accelerated images.
63296
+ * After the image of a cloud computer is changed, the system uses the new image to initialize the system disk of the cloud computer. This has the following impacts:
63297
+ * * Data in the system disk of the original cloud computer is cleared. Snapshots that are created based on the system disk of the original cloud computer become unavailable. The system automatically deletes the snapshots.
63298
+ * * If the OS of the image is changed, the data in the data disk of the original cloud computer is cleared, and the snapshots that are created based on the data disk of the original cloud computer can no longer be used. The system automatically deletes the snapshots. If the OS of the image is not changed, the data in the data disk of the original cloud computer is retained, and the snapshots that are created based on the data disk of the original cloud computer can still be used.
61226
63299
  *
61227
63300
  * @param request - RebuildDesktopsRequest
61228
63301
  * @returns RebuildDesktopsResponse
@@ -61408,6 +63481,64 @@ export default class Client extends OpenApi {
61408
63481
  return await this.removeUserFromDesktopOversoldUserGroupWithOptions(request, runtime);
61409
63482
  }
61410
63483
 
63484
+ /**
63485
+ * @param request - RenewDesktopGroupRequest
63486
+ * @param runtime - runtime options for this request RuntimeOptions
63487
+ * @returns RenewDesktopGroupResponse
63488
+ */
63489
+ async renewDesktopGroupWithOptions(request: RenewDesktopGroupRequest, runtime: $Util.RuntimeOptions): Promise<RenewDesktopGroupResponse> {
63490
+ Util.validateModel(request);
63491
+ let query = { };
63492
+ if (!Util.isUnset(request.autoPay)) {
63493
+ query["AutoPay"] = request.autoPay;
63494
+ }
63495
+
63496
+ if (!Util.isUnset(request.autoRenew)) {
63497
+ query["AutoRenew"] = request.autoRenew;
63498
+ }
63499
+
63500
+ if (!Util.isUnset(request.desktopGroupId)) {
63501
+ query["DesktopGroupId"] = request.desktopGroupId;
63502
+ }
63503
+
63504
+ if (!Util.isUnset(request.period)) {
63505
+ query["Period"] = request.period;
63506
+ }
63507
+
63508
+ if (!Util.isUnset(request.periodUnit)) {
63509
+ query["PeriodUnit"] = request.periodUnit;
63510
+ }
63511
+
63512
+ if (!Util.isUnset(request.regionId)) {
63513
+ query["RegionId"] = request.regionId;
63514
+ }
63515
+
63516
+ let req = new $OpenApi.OpenApiRequest({
63517
+ query: OpenApiUtil.query(query),
63518
+ });
63519
+ let params = new $OpenApi.Params({
63520
+ action: "RenewDesktopGroup",
63521
+ version: "2020-09-30",
63522
+ protocol: "HTTPS",
63523
+ pathname: "/",
63524
+ method: "POST",
63525
+ authType: "AK",
63526
+ style: "RPC",
63527
+ reqBodyType: "formData",
63528
+ bodyType: "json",
63529
+ });
63530
+ return $tea.cast<RenewDesktopGroupResponse>(await this.callApi(params, req, runtime), new RenewDesktopGroupResponse({}));
63531
+ }
63532
+
63533
+ /**
63534
+ * @param request - RenewDesktopGroupRequest
63535
+ * @returns RenewDesktopGroupResponse
63536
+ */
63537
+ async renewDesktopGroup(request: RenewDesktopGroupRequest): Promise<RenewDesktopGroupResponse> {
63538
+ let runtime = new $Util.RuntimeOptions({ });
63539
+ return await this.renewDesktopGroupWithOptions(request, runtime);
63540
+ }
63541
+
61411
63542
  /**
61412
63543
  * 续费桌面超卖组
61413
63544
  *
@@ -61667,7 +63798,7 @@ export default class Client extends OpenApi {
61667
63798
  }
61668
63799
 
61669
63800
  /**
61670
- * Resets the mount target of an Apsara File Storage NAS (NAS) file system.
63801
+ * Resets the mount target of a File Storage NAS (NAS) file system.
61671
63802
  *
61672
63803
  * @remarks
61673
63804
  * When you create a NAS file system, a mount target is automatically generated. By default, you do not need to modify the mount target of the NAS file system. If the mount target is disabled, you need to reset the mount target of the NAS file system.
@@ -61705,7 +63836,7 @@ export default class Client extends OpenApi {
61705
63836
  }
61706
63837
 
61707
63838
  /**
61708
- * Resets the mount target of an Apsara File Storage NAS (NAS) file system.
63839
+ * Resets the mount target of a File Storage NAS (NAS) file system.
61709
63840
  *
61710
63841
  * @remarks
61711
63842
  * When you create a NAS file system, a mount target is automatically generated. By default, you do not need to modify the mount target of the NAS file system. If the mount target is disabled, you need to reset the mount target of the NAS file system.
@@ -62907,6 +65038,10 @@ export default class Client extends OpenApi {
62907
65038
  query["RegionId"] = request.regionId;
62908
65039
  }
62909
65040
 
65041
+ if (!Util.isUnset(request.systemDiskSize)) {
65042
+ query["SystemDiskSize"] = request.systemDiskSize;
65043
+ }
65044
+
62910
65045
  let req = new $OpenApi.OpenApiRequest({
62911
65046
  query: OpenApiUtil.query(query),
62912
65047
  });