@alicloud/ecd20200930 4.1.2 → 4.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +1476 -113
- package/dist/client.js +1171 -171
- package/dist/client.js.map +1 -1
- package/package.json +3 -3
- package/src/client.ts +2516 -455
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
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
17690
|
+
rootDiskCategory: 'RootDiskCategory',
|
|
17137
17691
|
rootDiskSizeGib: 'RootDiskSizeGib',
|
|
17138
|
-
|
|
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
|
-
|
|
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
|
-
|
|
17711
|
+
rootDiskCategory: 'string',
|
|
17174
17712
|
rootDiskSizeGib: 'number',
|
|
17175
|
-
|
|
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
|
|
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
|
|
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](
|
|
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
|
-
|
|
33823
|
-
|
|
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
|
-
|
|
33830
|
-
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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,147 @@ 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
|
+
|
|
41477
43005
|
export class DescribeNASFileSystemsResponseBodyFileSystemsDesktopGroups extends $tea.Model {
|
|
41478
43006
|
/**
|
|
41479
43007
|
* @remarks
|
|
@@ -42127,6 +43655,28 @@ export class DescribeOfficeSitesResponseBodyOfficeSitesLogs extends $tea.Model {
|
|
|
42127
43655
|
}
|
|
42128
43656
|
}
|
|
42129
43657
|
|
|
43658
|
+
export class DescribeOfficeSitesResponseBodyOfficeSitesResourceAmounts extends $tea.Model {
|
|
43659
|
+
amount?: number;
|
|
43660
|
+
resourceType?: string;
|
|
43661
|
+
static names(): { [key: string]: string } {
|
|
43662
|
+
return {
|
|
43663
|
+
amount: 'amount',
|
|
43664
|
+
resourceType: 'resourceType',
|
|
43665
|
+
};
|
|
43666
|
+
}
|
|
43667
|
+
|
|
43668
|
+
static types(): { [key: string]: any } {
|
|
43669
|
+
return {
|
|
43670
|
+
amount: 'number',
|
|
43671
|
+
resourceType: 'string',
|
|
43672
|
+
};
|
|
43673
|
+
}
|
|
43674
|
+
|
|
43675
|
+
constructor(map?: { [key: string]: any }) {
|
|
43676
|
+
super(map);
|
|
43677
|
+
}
|
|
43678
|
+
}
|
|
43679
|
+
|
|
42130
43680
|
export class DescribeOfficeSitesResponseBodyOfficeSites extends $tea.Model {
|
|
42131
43681
|
/**
|
|
42132
43682
|
* @remarks
|
|
@@ -42211,6 +43761,8 @@ export class DescribeOfficeSitesResponseBodyOfficeSites extends $tea.Model {
|
|
|
42211
43761
|
* 2021-05-06T05:58Z
|
|
42212
43762
|
*/
|
|
42213
43763
|
creationTime?: string;
|
|
43764
|
+
customAccessPoint?: string;
|
|
43765
|
+
customDnsAddress?: string[];
|
|
42214
43766
|
/**
|
|
42215
43767
|
* @remarks
|
|
42216
43768
|
* The ID of the security group.
|
|
@@ -42327,7 +43879,7 @@ export class DescribeOfficeSitesResponseBodyOfficeSites extends $tea.Model {
|
|
|
42327
43879
|
enableServiceRoute?: boolean;
|
|
42328
43880
|
/**
|
|
42329
43881
|
* @remarks
|
|
42330
|
-
* An array of
|
|
43882
|
+
* An array of File Storage NAS (NAS) file system IDs.
|
|
42331
43883
|
*/
|
|
42332
43884
|
fileSystemIds?: string[];
|
|
42333
43885
|
/**
|
|
@@ -42380,6 +43932,7 @@ export class DescribeOfficeSitesResponseBodyOfficeSites extends $tea.Model {
|
|
|
42380
43932
|
* np-amtp8e8q1o9e4****
|
|
42381
43933
|
*/
|
|
42382
43934
|
networkPackageId?: string;
|
|
43935
|
+
nmVersion?: string;
|
|
42383
43936
|
/**
|
|
42384
43937
|
* @remarks
|
|
42385
43938
|
* The IDs of the office networks.
|
|
@@ -42446,6 +43999,19 @@ export class DescribeOfficeSitesResponseBodyOfficeSites extends $tea.Model {
|
|
|
42446
43999
|
* 2
|
|
42447
44000
|
*/
|
|
42448
44001
|
rdsLicenseStatus?: string;
|
|
44002
|
+
resourceAmounts?: DescribeOfficeSitesResponseBodyOfficeSitesResourceAmounts[];
|
|
44003
|
+
/**
|
|
44004
|
+
* @remarks
|
|
44005
|
+
* The security protection setting of the office network.
|
|
44006
|
+
*
|
|
44007
|
+
* Valid values:
|
|
44008
|
+
*
|
|
44009
|
+
* * SASE: SASE is configured.
|
|
44010
|
+
* * OFF: No security protection setting is configured.
|
|
44011
|
+
*
|
|
44012
|
+
* @example
|
|
44013
|
+
* SASE
|
|
44014
|
+
*/
|
|
42449
44015
|
securityProtection?: string;
|
|
42450
44016
|
/**
|
|
42451
44017
|
* @remarks
|
|
@@ -42500,6 +44066,18 @@ export class DescribeOfficeSitesResponseBodyOfficeSites extends $tea.Model {
|
|
|
42500
44066
|
* testSubDnsUserName
|
|
42501
44067
|
*/
|
|
42502
44068
|
subDomainName?: string;
|
|
44069
|
+
/**
|
|
44070
|
+
* @remarks
|
|
44071
|
+
* The subnet mode of the office network.
|
|
44072
|
+
*
|
|
44073
|
+
* Valid values:
|
|
44074
|
+
*
|
|
44075
|
+
* * 0: disabled.
|
|
44076
|
+
* * 1: enabled.
|
|
44077
|
+
*
|
|
44078
|
+
* @example
|
|
44079
|
+
* 0
|
|
44080
|
+
*/
|
|
42503
44081
|
subnetMode?: string;
|
|
42504
44082
|
/**
|
|
42505
44083
|
* @remarks
|
|
@@ -42517,6 +44095,7 @@ export class DescribeOfficeSitesResponseBodyOfficeSites extends $tea.Model {
|
|
|
42517
44095
|
* 0
|
|
42518
44096
|
*/
|
|
42519
44097
|
totalEdsCountForGroup?: number;
|
|
44098
|
+
totalResourceAmount?: number;
|
|
42520
44099
|
/**
|
|
42521
44100
|
* @remarks
|
|
42522
44101
|
* > This parameter is unavailable.
|
|
@@ -42564,6 +44143,8 @@ export class DescribeOfficeSitesResponseBodyOfficeSites extends $tea.Model {
|
|
|
42564
44143
|
cidrBlock: 'CidrBlock',
|
|
42565
44144
|
cloudBoxOfficeSite: 'CloudBoxOfficeSite',
|
|
42566
44145
|
creationTime: 'CreationTime',
|
|
44146
|
+
customAccessPoint: 'CustomAccessPoint',
|
|
44147
|
+
customDnsAddress: 'CustomDnsAddress',
|
|
42567
44148
|
customSecurityGroupId: 'CustomSecurityGroupId',
|
|
42568
44149
|
desktopAccessType: 'DesktopAccessType',
|
|
42569
44150
|
desktopCount: 'DesktopCount',
|
|
@@ -42584,6 +44165,7 @@ export class DescribeOfficeSitesResponseBodyOfficeSites extends $tea.Model {
|
|
|
42584
44165
|
needVerifyLoginRisk: 'NeedVerifyLoginRisk',
|
|
42585
44166
|
needVerifyZeroDevice: 'NeedVerifyZeroDevice',
|
|
42586
44167
|
networkPackageId: 'NetworkPackageId',
|
|
44168
|
+
nmVersion: 'NmVersion',
|
|
42587
44169
|
officeSiteId: 'OfficeSiteId',
|
|
42588
44170
|
officeSiteType: 'OfficeSiteType',
|
|
42589
44171
|
ouName: 'OuName',
|
|
@@ -42591,6 +44173,7 @@ export class DescribeOfficeSitesResponseBodyOfficeSites extends $tea.Model {
|
|
|
42591
44173
|
rdsLicenseAddress: 'RdsLicenseAddress',
|
|
42592
44174
|
rdsLicenseDomainName: 'RdsLicenseDomainName',
|
|
42593
44175
|
rdsLicenseStatus: 'RdsLicenseStatus',
|
|
44176
|
+
resourceAmounts: 'ResourceAmounts',
|
|
42594
44177
|
securityProtection: 'SecurityProtection',
|
|
42595
44178
|
ssoEnabled: 'SsoEnabled',
|
|
42596
44179
|
ssoType: 'SsoType',
|
|
@@ -42600,6 +44183,7 @@ export class DescribeOfficeSitesResponseBodyOfficeSites extends $tea.Model {
|
|
|
42600
44183
|
subnetMode: 'SubnetMode',
|
|
42601
44184
|
totalEdsCount: 'TotalEdsCount',
|
|
42602
44185
|
totalEdsCountForGroup: 'TotalEdsCountForGroup',
|
|
44186
|
+
totalResourceAmount: 'TotalResourceAmount',
|
|
42603
44187
|
trustPassword: 'TrustPassword',
|
|
42604
44188
|
vSwitchIds: 'VSwitchIds',
|
|
42605
44189
|
vpcId: 'VpcId',
|
|
@@ -42619,6 +44203,8 @@ export class DescribeOfficeSitesResponseBodyOfficeSites extends $tea.Model {
|
|
|
42619
44203
|
cidrBlock: 'string',
|
|
42620
44204
|
cloudBoxOfficeSite: 'boolean',
|
|
42621
44205
|
creationTime: 'string',
|
|
44206
|
+
customAccessPoint: 'string',
|
|
44207
|
+
customDnsAddress: { 'type': 'array', 'itemType': 'string' },
|
|
42622
44208
|
customSecurityGroupId: 'string',
|
|
42623
44209
|
desktopAccessType: 'string',
|
|
42624
44210
|
desktopCount: 'number',
|
|
@@ -42639,6 +44225,7 @@ export class DescribeOfficeSitesResponseBodyOfficeSites extends $tea.Model {
|
|
|
42639
44225
|
needVerifyLoginRisk: 'boolean',
|
|
42640
44226
|
needVerifyZeroDevice: 'boolean',
|
|
42641
44227
|
networkPackageId: 'string',
|
|
44228
|
+
nmVersion: 'string',
|
|
42642
44229
|
officeSiteId: 'string',
|
|
42643
44230
|
officeSiteType: 'string',
|
|
42644
44231
|
ouName: 'string',
|
|
@@ -42646,6 +44233,7 @@ export class DescribeOfficeSitesResponseBodyOfficeSites extends $tea.Model {
|
|
|
42646
44233
|
rdsLicenseAddress: 'string',
|
|
42647
44234
|
rdsLicenseDomainName: 'string',
|
|
42648
44235
|
rdsLicenseStatus: 'string',
|
|
44236
|
+
resourceAmounts: { 'type': 'array', 'itemType': DescribeOfficeSitesResponseBodyOfficeSitesResourceAmounts },
|
|
42649
44237
|
securityProtection: 'string',
|
|
42650
44238
|
ssoEnabled: 'boolean',
|
|
42651
44239
|
ssoType: 'string',
|
|
@@ -42655,6 +44243,7 @@ export class DescribeOfficeSitesResponseBodyOfficeSites extends $tea.Model {
|
|
|
42655
44243
|
subnetMode: 'string',
|
|
42656
44244
|
totalEdsCount: 'number',
|
|
42657
44245
|
totalEdsCountForGroup: 'number',
|
|
44246
|
+
totalResourceAmount: 'number',
|
|
42658
44247
|
trustPassword: 'string',
|
|
42659
44248
|
vSwitchIds: { 'type': 'array', 'itemType': 'string' },
|
|
42660
44249
|
vpcId: 'string',
|
|
@@ -43607,6 +45196,7 @@ export class DescribePolicyGroupsResponseBodyDescribePolicyGroups extends $tea.M
|
|
|
43607
45196
|
* fullControl
|
|
43608
45197
|
*/
|
|
43609
45198
|
remoteCoordinate?: string;
|
|
45199
|
+
resourceRegionId?: string;
|
|
43610
45200
|
/**
|
|
43611
45201
|
* @remarks
|
|
43612
45202
|
* The effective scope of the policy. Valid values:
|
|
@@ -43797,6 +45387,7 @@ export class DescribePolicyGroupsResponseBodyDescribePolicyGroups extends $tea.M
|
|
|
43797
45387
|
* EndUserId
|
|
43798
45388
|
*/
|
|
43799
45389
|
watermarkType?: string;
|
|
45390
|
+
wyAssistant?: string;
|
|
43800
45391
|
static names(): { [key: string]: string } {
|
|
43801
45392
|
return {
|
|
43802
45393
|
adminAccess: 'AdminAccess',
|
|
@@ -43856,6 +45447,7 @@ export class DescribePolicyGroupsResponseBodyDescribePolicyGroups extends $tea.M
|
|
|
43856
45447
|
recordingUserNotify: 'RecordingUserNotify',
|
|
43857
45448
|
recordingUserNotifyMessage: 'RecordingUserNotifyMessage',
|
|
43858
45449
|
remoteCoordinate: 'RemoteCoordinate',
|
|
45450
|
+
resourceRegionId: 'ResourceRegionId',
|
|
43859
45451
|
scope: 'Scope',
|
|
43860
45452
|
scopeValue: 'ScopeValue',
|
|
43861
45453
|
smoothEnhancement: 'SmoothEnhancement',
|
|
@@ -43883,6 +45475,7 @@ export class DescribePolicyGroupsResponseBodyDescribePolicyGroups extends $tea.M
|
|
|
43883
45475
|
watermarkTransparency: 'WatermarkTransparency',
|
|
43884
45476
|
watermarkTransparencyValue: 'WatermarkTransparencyValue',
|
|
43885
45477
|
watermarkType: 'WatermarkType',
|
|
45478
|
+
wyAssistant: 'WyAssistant',
|
|
43886
45479
|
};
|
|
43887
45480
|
}
|
|
43888
45481
|
|
|
@@ -43945,6 +45538,7 @@ export class DescribePolicyGroupsResponseBodyDescribePolicyGroups extends $tea.M
|
|
|
43945
45538
|
recordingUserNotify: 'string',
|
|
43946
45539
|
recordingUserNotifyMessage: 'string',
|
|
43947
45540
|
remoteCoordinate: 'string',
|
|
45541
|
+
resourceRegionId: 'string',
|
|
43948
45542
|
scope: 'string',
|
|
43949
45543
|
scopeValue: { 'type': 'array', 'itemType': 'string' },
|
|
43950
45544
|
smoothEnhancement: 'string',
|
|
@@ -43972,43 +45566,7 @@ export class DescribePolicyGroupsResponseBodyDescribePolicyGroups extends $tea.M
|
|
|
43972
45566
|
watermarkTransparency: 'string',
|
|
43973
45567
|
watermarkTransparencyValue: 'number',
|
|
43974
45568
|
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',
|
|
45569
|
+
wyAssistant: 'string',
|
|
44012
45570
|
};
|
|
44013
45571
|
}
|
|
44014
45572
|
|
|
@@ -44188,23 +45746,377 @@ export class DescribePriceResponseBodyPriceInfoRules extends $tea.Model {
|
|
|
44188
45746
|
}
|
|
44189
45747
|
}
|
|
44190
45748
|
|
|
44191
|
-
export class DescribePriceResponseBodyPriceInfo extends $tea.Model {
|
|
44192
|
-
freeCdsQuota?: boolean;
|
|
44193
|
-
freeCdsSize?: number;
|
|
44194
|
-
/**
|
|
44195
|
-
* @remarks
|
|
44196
|
-
* The information about the price.
|
|
44197
|
-
*/
|
|
44198
|
-
price?: DescribePriceResponseBodyPriceInfoPrice;
|
|
44199
|
-
/**
|
|
44200
|
-
* @remarks
|
|
44201
|
-
* The details of the promotion rules.
|
|
44202
|
-
*/
|
|
44203
|
-
rules?: DescribePriceResponseBodyPriceInfoRules[];
|
|
45749
|
+
export class DescribePriceResponseBodyPriceInfo extends $tea.Model {
|
|
45750
|
+
freeCdsQuota?: boolean;
|
|
45751
|
+
freeCdsSize?: number;
|
|
45752
|
+
/**
|
|
45753
|
+
* @remarks
|
|
45754
|
+
* The information about the price.
|
|
45755
|
+
*/
|
|
45756
|
+
price?: DescribePriceResponseBodyPriceInfoPrice;
|
|
45757
|
+
/**
|
|
45758
|
+
* @remarks
|
|
45759
|
+
* The details of the promotion rules.
|
|
45760
|
+
*/
|
|
45761
|
+
rules?: DescribePriceResponseBodyPriceInfoRules[];
|
|
45762
|
+
static names(): { [key: string]: string } {
|
|
45763
|
+
return {
|
|
45764
|
+
freeCdsQuota: 'FreeCdsQuota',
|
|
45765
|
+
freeCdsSize: 'FreeCdsSize',
|
|
45766
|
+
price: 'Price',
|
|
45767
|
+
rules: 'Rules',
|
|
45768
|
+
};
|
|
45769
|
+
}
|
|
45770
|
+
|
|
45771
|
+
static types(): { [key: string]: any } {
|
|
45772
|
+
return {
|
|
45773
|
+
freeCdsQuota: 'boolean',
|
|
45774
|
+
freeCdsSize: 'number',
|
|
45775
|
+
price: DescribePriceResponseBodyPriceInfoPrice,
|
|
45776
|
+
rules: { 'type': 'array', 'itemType': DescribePriceResponseBodyPriceInfoRules },
|
|
45777
|
+
};
|
|
45778
|
+
}
|
|
45779
|
+
|
|
45780
|
+
constructor(map?: { [key: string]: any }) {
|
|
45781
|
+
super(map);
|
|
45782
|
+
}
|
|
45783
|
+
}
|
|
45784
|
+
|
|
45785
|
+
export class DescribePriceForCreateDesktopOversoldGroupResponseBodyData extends $tea.Model {
|
|
45786
|
+
price?: string;
|
|
45787
|
+
static names(): { [key: string]: string } {
|
|
45788
|
+
return {
|
|
45789
|
+
price: 'Price',
|
|
45790
|
+
};
|
|
45791
|
+
}
|
|
45792
|
+
|
|
45793
|
+
static types(): { [key: string]: any } {
|
|
45794
|
+
return {
|
|
45795
|
+
price: 'string',
|
|
45796
|
+
};
|
|
45797
|
+
}
|
|
45798
|
+
|
|
45799
|
+
constructor(map?: { [key: string]: any }) {
|
|
45800
|
+
super(map);
|
|
45801
|
+
}
|
|
45802
|
+
}
|
|
45803
|
+
|
|
45804
|
+
export class DescribePriceForModifyDesktopOversoldGroupSaleResponseBodyData extends $tea.Model {
|
|
45805
|
+
price?: string;
|
|
45806
|
+
static names(): { [key: string]: string } {
|
|
45807
|
+
return {
|
|
45808
|
+
price: 'Price',
|
|
45809
|
+
};
|
|
45810
|
+
}
|
|
45811
|
+
|
|
45812
|
+
static types(): { [key: string]: any } {
|
|
45813
|
+
return {
|
|
45814
|
+
price: 'string',
|
|
45815
|
+
};
|
|
45816
|
+
}
|
|
45817
|
+
|
|
45818
|
+
constructor(map?: { [key: string]: any }) {
|
|
45819
|
+
super(map);
|
|
45820
|
+
}
|
|
45821
|
+
}
|
|
45822
|
+
|
|
45823
|
+
export class DescribePriceForRenewDesktopOversoldGroupResponseBodyData extends $tea.Model {
|
|
45824
|
+
price?: string;
|
|
45825
|
+
static names(): { [key: string]: string } {
|
|
45826
|
+
return {
|
|
45827
|
+
price: 'Price',
|
|
45828
|
+
};
|
|
45829
|
+
}
|
|
45830
|
+
|
|
45831
|
+
static types(): { [key: string]: any } {
|
|
45832
|
+
return {
|
|
45833
|
+
price: 'string',
|
|
45834
|
+
};
|
|
45835
|
+
}
|
|
45836
|
+
|
|
45837
|
+
constructor(map?: { [key: string]: any }) {
|
|
45838
|
+
super(map);
|
|
45839
|
+
}
|
|
45840
|
+
}
|
|
45841
|
+
|
|
45842
|
+
export class DescribeRecordingsResponseBodyRecordings extends $tea.Model {
|
|
45843
|
+
/**
|
|
45844
|
+
* @example
|
|
45845
|
+
* ecd-10v0vuvm616sk****
|
|
45846
|
+
*/
|
|
45847
|
+
desktopId?: string;
|
|
45848
|
+
/**
|
|
45849
|
+
* @example
|
|
45850
|
+
* DemoComputer
|
|
45851
|
+
*/
|
|
45852
|
+
desktopName?: string;
|
|
45853
|
+
/**
|
|
45854
|
+
* @example
|
|
45855
|
+
* 2023-04-10T07:26:06Z
|
|
45856
|
+
*/
|
|
45857
|
+
endTime?: string;
|
|
45858
|
+
endUserIds?: string[];
|
|
45859
|
+
/**
|
|
45860
|
+
* @example
|
|
45861
|
+
* pg-4w5nk44zo5yl129dd/1mk78dugw344.mp4
|
|
45862
|
+
*/
|
|
45863
|
+
filePath?: string;
|
|
45864
|
+
/**
|
|
45865
|
+
* @example
|
|
45866
|
+
* pg-6dn811rzrwh9ws4z6
|
|
45867
|
+
*/
|
|
45868
|
+
policyGroupId?: string;
|
|
45869
|
+
/**
|
|
45870
|
+
* @example
|
|
45871
|
+
* 1742845
|
|
45872
|
+
*/
|
|
45873
|
+
recordingSize?: number;
|
|
45874
|
+
/**
|
|
45875
|
+
* @example
|
|
45876
|
+
* alltime
|
|
45877
|
+
*/
|
|
45878
|
+
recordingType?: string;
|
|
45879
|
+
signedUrl?: string;
|
|
45880
|
+
/**
|
|
45881
|
+
* @example
|
|
45882
|
+
* 2023-04-10T07:26:06Z
|
|
45883
|
+
*/
|
|
45884
|
+
startTime?: string;
|
|
45885
|
+
static names(): { [key: string]: string } {
|
|
45886
|
+
return {
|
|
45887
|
+
desktopId: 'DesktopId',
|
|
45888
|
+
desktopName: 'DesktopName',
|
|
45889
|
+
endTime: 'EndTime',
|
|
45890
|
+
endUserIds: 'EndUserIds',
|
|
45891
|
+
filePath: 'FilePath',
|
|
45892
|
+
policyGroupId: 'PolicyGroupId',
|
|
45893
|
+
recordingSize: 'RecordingSize',
|
|
45894
|
+
recordingType: 'RecordingType',
|
|
45895
|
+
signedUrl: 'SignedUrl',
|
|
45896
|
+
startTime: 'StartTime',
|
|
45897
|
+
};
|
|
45898
|
+
}
|
|
45899
|
+
|
|
45900
|
+
static types(): { [key: string]: any } {
|
|
45901
|
+
return {
|
|
45902
|
+
desktopId: 'string',
|
|
45903
|
+
desktopName: 'string',
|
|
45904
|
+
endTime: 'string',
|
|
45905
|
+
endUserIds: { 'type': 'array', 'itemType': 'string' },
|
|
45906
|
+
filePath: 'string',
|
|
45907
|
+
policyGroupId: 'string',
|
|
45908
|
+
recordingSize: 'number',
|
|
45909
|
+
recordingType: 'string',
|
|
45910
|
+
signedUrl: 'string',
|
|
45911
|
+
startTime: 'string',
|
|
45912
|
+
};
|
|
45913
|
+
}
|
|
45914
|
+
|
|
45915
|
+
constructor(map?: { [key: string]: any }) {
|
|
45916
|
+
super(map);
|
|
45917
|
+
}
|
|
45918
|
+
}
|
|
45919
|
+
|
|
45920
|
+
export class DescribeRefundPriceResponseBodyPriceInfo extends $tea.Model {
|
|
45921
|
+
/**
|
|
45922
|
+
* @example
|
|
45923
|
+
* CNY
|
|
45924
|
+
*/
|
|
45925
|
+
currency?: string;
|
|
45926
|
+
/**
|
|
45927
|
+
* @example
|
|
45928
|
+
* 3990.75
|
|
45929
|
+
*/
|
|
45930
|
+
refundFee?: number;
|
|
45931
|
+
static names(): { [key: string]: string } {
|
|
45932
|
+
return {
|
|
45933
|
+
currency: 'Currency',
|
|
45934
|
+
refundFee: 'RefundFee',
|
|
45935
|
+
};
|
|
45936
|
+
}
|
|
45937
|
+
|
|
45938
|
+
static types(): { [key: string]: any } {
|
|
45939
|
+
return {
|
|
45940
|
+
currency: 'string',
|
|
45941
|
+
refundFee: 'number',
|
|
45942
|
+
};
|
|
45943
|
+
}
|
|
45944
|
+
|
|
45945
|
+
constructor(map?: { [key: string]: any }) {
|
|
45946
|
+
super(map);
|
|
45947
|
+
}
|
|
45948
|
+
}
|
|
45949
|
+
|
|
45950
|
+
export class DescribeRegionsResponseBodyRegions extends $tea.Model {
|
|
45951
|
+
/**
|
|
45952
|
+
* @remarks
|
|
45953
|
+
* The display name of the region, which varies based on the current language.
|
|
45954
|
+
*
|
|
45955
|
+
* @example
|
|
45956
|
+
* China (Hangzhou)
|
|
45957
|
+
*/
|
|
45958
|
+
localName?: string;
|
|
45959
|
+
/**
|
|
45960
|
+
* @remarks
|
|
45961
|
+
* The endpoint of the region.
|
|
45962
|
+
*
|
|
45963
|
+
* @example
|
|
45964
|
+
* ecd.cn-hangzhou.aliyuncs.com
|
|
45965
|
+
*/
|
|
45966
|
+
regionEndpoint?: string;
|
|
45967
|
+
/**
|
|
45968
|
+
* @remarks
|
|
45969
|
+
* The region ID.
|
|
45970
|
+
*
|
|
45971
|
+
* @example
|
|
45972
|
+
* cn-hangzhou
|
|
45973
|
+
*/
|
|
45974
|
+
regionId?: string;
|
|
45975
|
+
static names(): { [key: string]: string } {
|
|
45976
|
+
return {
|
|
45977
|
+
localName: 'LocalName',
|
|
45978
|
+
regionEndpoint: 'RegionEndpoint',
|
|
45979
|
+
regionId: 'RegionId',
|
|
45980
|
+
};
|
|
45981
|
+
}
|
|
45982
|
+
|
|
45983
|
+
static types(): { [key: string]: any } {
|
|
45984
|
+
return {
|
|
45985
|
+
localName: 'string',
|
|
45986
|
+
regionEndpoint: 'string',
|
|
45987
|
+
regionId: 'string',
|
|
45988
|
+
};
|
|
45989
|
+
}
|
|
45990
|
+
|
|
45991
|
+
constructor(map?: { [key: string]: any }) {
|
|
45992
|
+
super(map);
|
|
45993
|
+
}
|
|
45994
|
+
}
|
|
45995
|
+
|
|
45996
|
+
export class DescribeRenewalPriceResponseBodyPriceInfoPricePromotions extends $tea.Model {
|
|
45997
|
+
/**
|
|
45998
|
+
* @example
|
|
45999
|
+
* test
|
|
46000
|
+
*/
|
|
46001
|
+
optionCode?: string;
|
|
46002
|
+
promotionDesc?: string;
|
|
46003
|
+
/**
|
|
46004
|
+
* @example
|
|
46005
|
+
* promo_option
|
|
46006
|
+
*/
|
|
46007
|
+
promotionId?: string;
|
|
46008
|
+
promotionName?: string;
|
|
46009
|
+
/**
|
|
46010
|
+
* @example
|
|
46011
|
+
* false
|
|
46012
|
+
*/
|
|
46013
|
+
selected?: boolean;
|
|
46014
|
+
static names(): { [key: string]: string } {
|
|
46015
|
+
return {
|
|
46016
|
+
optionCode: 'OptionCode',
|
|
46017
|
+
promotionDesc: 'PromotionDesc',
|
|
46018
|
+
promotionId: 'PromotionId',
|
|
46019
|
+
promotionName: 'PromotionName',
|
|
46020
|
+
selected: 'Selected',
|
|
46021
|
+
};
|
|
46022
|
+
}
|
|
46023
|
+
|
|
46024
|
+
static types(): { [key: string]: any } {
|
|
46025
|
+
return {
|
|
46026
|
+
optionCode: 'string',
|
|
46027
|
+
promotionDesc: 'string',
|
|
46028
|
+
promotionId: 'string',
|
|
46029
|
+
promotionName: 'string',
|
|
46030
|
+
selected: 'boolean',
|
|
46031
|
+
};
|
|
46032
|
+
}
|
|
46033
|
+
|
|
46034
|
+
constructor(map?: { [key: string]: any }) {
|
|
46035
|
+
super(map);
|
|
46036
|
+
}
|
|
46037
|
+
}
|
|
46038
|
+
|
|
46039
|
+
export class DescribeRenewalPriceResponseBodyPriceInfoPrice extends $tea.Model {
|
|
46040
|
+
/**
|
|
46041
|
+
* @example
|
|
46042
|
+
* CNY
|
|
46043
|
+
*/
|
|
46044
|
+
currency?: string;
|
|
46045
|
+
/**
|
|
46046
|
+
* @example
|
|
46047
|
+
* 15.8
|
|
46048
|
+
*/
|
|
46049
|
+
discountPrice?: number;
|
|
46050
|
+
orderLines?: { [key: string]: string };
|
|
46051
|
+
/**
|
|
46052
|
+
* @example
|
|
46053
|
+
* 79.0
|
|
46054
|
+
*/
|
|
46055
|
+
originalPrice?: number;
|
|
46056
|
+
promotions?: DescribeRenewalPriceResponseBodyPriceInfoPricePromotions[];
|
|
46057
|
+
/**
|
|
46058
|
+
* @example
|
|
46059
|
+
* 63.2
|
|
46060
|
+
*/
|
|
46061
|
+
tradePrice?: number;
|
|
46062
|
+
static names(): { [key: string]: string } {
|
|
46063
|
+
return {
|
|
46064
|
+
currency: 'Currency',
|
|
46065
|
+
discountPrice: 'DiscountPrice',
|
|
46066
|
+
orderLines: 'OrderLines',
|
|
46067
|
+
originalPrice: 'OriginalPrice',
|
|
46068
|
+
promotions: 'Promotions',
|
|
46069
|
+
tradePrice: 'TradePrice',
|
|
46070
|
+
};
|
|
46071
|
+
}
|
|
46072
|
+
|
|
46073
|
+
static types(): { [key: string]: any } {
|
|
46074
|
+
return {
|
|
46075
|
+
currency: 'string',
|
|
46076
|
+
discountPrice: 'number',
|
|
46077
|
+
orderLines: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
46078
|
+
originalPrice: 'number',
|
|
46079
|
+
promotions: { 'type': 'array', 'itemType': DescribeRenewalPriceResponseBodyPriceInfoPricePromotions },
|
|
46080
|
+
tradePrice: 'number',
|
|
46081
|
+
};
|
|
46082
|
+
}
|
|
46083
|
+
|
|
46084
|
+
constructor(map?: { [key: string]: any }) {
|
|
46085
|
+
super(map);
|
|
46086
|
+
}
|
|
46087
|
+
}
|
|
46088
|
+
|
|
46089
|
+
export class DescribeRenewalPriceResponseBodyPriceInfoRules extends $tea.Model {
|
|
46090
|
+
description?: string;
|
|
46091
|
+
/**
|
|
46092
|
+
* @example
|
|
46093
|
+
* 29644
|
|
46094
|
+
*/
|
|
46095
|
+
ruleId?: number;
|
|
46096
|
+
static names(): { [key: string]: string } {
|
|
46097
|
+
return {
|
|
46098
|
+
description: 'Description',
|
|
46099
|
+
ruleId: 'RuleId',
|
|
46100
|
+
};
|
|
46101
|
+
}
|
|
46102
|
+
|
|
46103
|
+
static types(): { [key: string]: any } {
|
|
46104
|
+
return {
|
|
46105
|
+
description: 'string',
|
|
46106
|
+
ruleId: 'number',
|
|
46107
|
+
};
|
|
46108
|
+
}
|
|
46109
|
+
|
|
46110
|
+
constructor(map?: { [key: string]: any }) {
|
|
46111
|
+
super(map);
|
|
46112
|
+
}
|
|
46113
|
+
}
|
|
46114
|
+
|
|
46115
|
+
export class DescribeRenewalPriceResponseBodyPriceInfo extends $tea.Model {
|
|
46116
|
+
price?: DescribeRenewalPriceResponseBodyPriceInfoPrice;
|
|
46117
|
+
rules?: DescribeRenewalPriceResponseBodyPriceInfoRules[];
|
|
44204
46118
|
static names(): { [key: string]: string } {
|
|
44205
46119
|
return {
|
|
44206
|
-
freeCdsQuota: 'FreeCdsQuota',
|
|
44207
|
-
freeCdsSize: 'FreeCdsSize',
|
|
44208
46120
|
price: 'Price',
|
|
44209
46121
|
rules: 'Rules',
|
|
44210
46122
|
};
|
|
@@ -44212,191 +46124,8 @@ export class DescribePriceResponseBodyPriceInfo extends $tea.Model {
|
|
|
44212
46124
|
|
|
44213
46125
|
static types(): { [key: string]: any } {
|
|
44214
46126
|
return {
|
|
44215
|
-
|
|
44216
|
-
|
|
44217
|
-
price: DescribePriceResponseBodyPriceInfoPrice,
|
|
44218
|
-
rules: { 'type': 'array', 'itemType': DescribePriceResponseBodyPriceInfoRules },
|
|
44219
|
-
};
|
|
44220
|
-
}
|
|
44221
|
-
|
|
44222
|
-
constructor(map?: { [key: string]: any }) {
|
|
44223
|
-
super(map);
|
|
44224
|
-
}
|
|
44225
|
-
}
|
|
44226
|
-
|
|
44227
|
-
export class DescribePriceForCreateDesktopOversoldGroupResponseBodyData extends $tea.Model {
|
|
44228
|
-
price?: string;
|
|
44229
|
-
static names(): { [key: string]: string } {
|
|
44230
|
-
return {
|
|
44231
|
-
price: 'Price',
|
|
44232
|
-
};
|
|
44233
|
-
}
|
|
44234
|
-
|
|
44235
|
-
static types(): { [key: string]: any } {
|
|
44236
|
-
return {
|
|
44237
|
-
price: 'string',
|
|
44238
|
-
};
|
|
44239
|
-
}
|
|
44240
|
-
|
|
44241
|
-
constructor(map?: { [key: string]: any }) {
|
|
44242
|
-
super(map);
|
|
44243
|
-
}
|
|
44244
|
-
}
|
|
44245
|
-
|
|
44246
|
-
export class DescribePriceForModifyDesktopOversoldGroupSaleResponseBodyData extends $tea.Model {
|
|
44247
|
-
price?: string;
|
|
44248
|
-
static names(): { [key: string]: string } {
|
|
44249
|
-
return {
|
|
44250
|
-
price: 'Price',
|
|
44251
|
-
};
|
|
44252
|
-
}
|
|
44253
|
-
|
|
44254
|
-
static types(): { [key: string]: any } {
|
|
44255
|
-
return {
|
|
44256
|
-
price: 'string',
|
|
44257
|
-
};
|
|
44258
|
-
}
|
|
44259
|
-
|
|
44260
|
-
constructor(map?: { [key: string]: any }) {
|
|
44261
|
-
super(map);
|
|
44262
|
-
}
|
|
44263
|
-
}
|
|
44264
|
-
|
|
44265
|
-
export class DescribePriceForRenewDesktopOversoldGroupResponseBodyData extends $tea.Model {
|
|
44266
|
-
price?: string;
|
|
44267
|
-
static names(): { [key: string]: string } {
|
|
44268
|
-
return {
|
|
44269
|
-
price: 'Price',
|
|
44270
|
-
};
|
|
44271
|
-
}
|
|
44272
|
-
|
|
44273
|
-
static types(): { [key: string]: any } {
|
|
44274
|
-
return {
|
|
44275
|
-
price: 'string',
|
|
44276
|
-
};
|
|
44277
|
-
}
|
|
44278
|
-
|
|
44279
|
-
constructor(map?: { [key: string]: any }) {
|
|
44280
|
-
super(map);
|
|
44281
|
-
}
|
|
44282
|
-
}
|
|
44283
|
-
|
|
44284
|
-
export class DescribeRecordingsResponseBodyRecordings extends $tea.Model {
|
|
44285
|
-
/**
|
|
44286
|
-
* @example
|
|
44287
|
-
* ecd-10v0vuvm616sk****
|
|
44288
|
-
*/
|
|
44289
|
-
desktopId?: string;
|
|
44290
|
-
/**
|
|
44291
|
-
* @example
|
|
44292
|
-
* DemoComputer
|
|
44293
|
-
*/
|
|
44294
|
-
desktopName?: string;
|
|
44295
|
-
/**
|
|
44296
|
-
* @example
|
|
44297
|
-
* 2023-04-10T07:26:06Z
|
|
44298
|
-
*/
|
|
44299
|
-
endTime?: string;
|
|
44300
|
-
endUserIds?: string[];
|
|
44301
|
-
/**
|
|
44302
|
-
* @example
|
|
44303
|
-
* pg-4w5nk44zo5yl129dd/1mk78dugw344.mp4
|
|
44304
|
-
*/
|
|
44305
|
-
filePath?: string;
|
|
44306
|
-
/**
|
|
44307
|
-
* @example
|
|
44308
|
-
* pg-6dn811rzrwh9ws4z6
|
|
44309
|
-
*/
|
|
44310
|
-
policyGroupId?: string;
|
|
44311
|
-
/**
|
|
44312
|
-
* @example
|
|
44313
|
-
* 1742845
|
|
44314
|
-
*/
|
|
44315
|
-
recordingSize?: number;
|
|
44316
|
-
/**
|
|
44317
|
-
* @example
|
|
44318
|
-
* alltime
|
|
44319
|
-
*/
|
|
44320
|
-
recordingType?: string;
|
|
44321
|
-
signedUrl?: string;
|
|
44322
|
-
/**
|
|
44323
|
-
* @example
|
|
44324
|
-
* 2023-04-10T07:26:06Z
|
|
44325
|
-
*/
|
|
44326
|
-
startTime?: string;
|
|
44327
|
-
static names(): { [key: string]: string } {
|
|
44328
|
-
return {
|
|
44329
|
-
desktopId: 'DesktopId',
|
|
44330
|
-
desktopName: 'DesktopName',
|
|
44331
|
-
endTime: 'EndTime',
|
|
44332
|
-
endUserIds: 'EndUserIds',
|
|
44333
|
-
filePath: 'FilePath',
|
|
44334
|
-
policyGroupId: 'PolicyGroupId',
|
|
44335
|
-
recordingSize: 'RecordingSize',
|
|
44336
|
-
recordingType: 'RecordingType',
|
|
44337
|
-
signedUrl: 'SignedUrl',
|
|
44338
|
-
startTime: 'StartTime',
|
|
44339
|
-
};
|
|
44340
|
-
}
|
|
44341
|
-
|
|
44342
|
-
static types(): { [key: string]: any } {
|
|
44343
|
-
return {
|
|
44344
|
-
desktopId: 'string',
|
|
44345
|
-
desktopName: 'string',
|
|
44346
|
-
endTime: 'string',
|
|
44347
|
-
endUserIds: { 'type': 'array', 'itemType': 'string' },
|
|
44348
|
-
filePath: 'string',
|
|
44349
|
-
policyGroupId: 'string',
|
|
44350
|
-
recordingSize: 'number',
|
|
44351
|
-
recordingType: 'string',
|
|
44352
|
-
signedUrl: 'string',
|
|
44353
|
-
startTime: 'string',
|
|
44354
|
-
};
|
|
44355
|
-
}
|
|
44356
|
-
|
|
44357
|
-
constructor(map?: { [key: string]: any }) {
|
|
44358
|
-
super(map);
|
|
44359
|
-
}
|
|
44360
|
-
}
|
|
44361
|
-
|
|
44362
|
-
export class DescribeRegionsResponseBodyRegions extends $tea.Model {
|
|
44363
|
-
/**
|
|
44364
|
-
* @remarks
|
|
44365
|
-
* The display name of the region, which varies based on the current language.
|
|
44366
|
-
*
|
|
44367
|
-
* @example
|
|
44368
|
-
* China (Hangzhou)
|
|
44369
|
-
*/
|
|
44370
|
-
localName?: string;
|
|
44371
|
-
/**
|
|
44372
|
-
* @remarks
|
|
44373
|
-
* The endpoint of the region.
|
|
44374
|
-
*
|
|
44375
|
-
* @example
|
|
44376
|
-
* ecd.cn-hangzhou.aliyuncs.com
|
|
44377
|
-
*/
|
|
44378
|
-
regionEndpoint?: string;
|
|
44379
|
-
/**
|
|
44380
|
-
* @remarks
|
|
44381
|
-
* The region ID.
|
|
44382
|
-
*
|
|
44383
|
-
* @example
|
|
44384
|
-
* cn-hangzhou
|
|
44385
|
-
*/
|
|
44386
|
-
regionId?: string;
|
|
44387
|
-
static names(): { [key: string]: string } {
|
|
44388
|
-
return {
|
|
44389
|
-
localName: 'LocalName',
|
|
44390
|
-
regionEndpoint: 'RegionEndpoint',
|
|
44391
|
-
regionId: 'RegionId',
|
|
44392
|
-
};
|
|
44393
|
-
}
|
|
44394
|
-
|
|
44395
|
-
static types(): { [key: string]: any } {
|
|
44396
|
-
return {
|
|
44397
|
-
localName: 'string',
|
|
44398
|
-
regionEndpoint: 'string',
|
|
44399
|
-
regionId: 'string',
|
|
46127
|
+
price: DescribeRenewalPriceResponseBodyPriceInfoPrice,
|
|
46128
|
+
rules: { 'type': 'array', 'itemType': DescribeRenewalPriceResponseBodyPriceInfoRules },
|
|
44400
46129
|
};
|
|
44401
46130
|
}
|
|
44402
46131
|
|
|
@@ -46252,7 +47981,7 @@ export class GetDesktopGroupDetailResponseBodyDesktops extends $tea.Model {
|
|
|
46252
47981
|
minDesktopsCount?: number;
|
|
46253
47982
|
/**
|
|
46254
47983
|
* @remarks
|
|
46255
|
-
* The ID of the
|
|
47984
|
+
* The ID of the File Storage NAS (NAS) file system for the user data roaming feature.
|
|
46256
47985
|
*
|
|
46257
47986
|
* @example
|
|
46258
47987
|
* 0783b4****
|
|
@@ -46819,6 +48548,7 @@ export class ListCdsFilesResponseBodyFileModels extends $tea.Model {
|
|
|
46819
48548
|
}
|
|
46820
48549
|
|
|
46821
48550
|
export class ListDirectoryUsersResponseBodyUsers extends $tea.Model {
|
|
48551
|
+
assignedDesktopNumber?: number;
|
|
46822
48552
|
/**
|
|
46823
48553
|
* @remarks
|
|
46824
48554
|
* The display name of the user.
|
|
@@ -46827,6 +48557,7 @@ export class ListDirectoryUsersResponseBodyUsers extends $tea.Model {
|
|
|
46827
48557
|
* Alice
|
|
46828
48558
|
*/
|
|
46829
48559
|
displayName?: string;
|
|
48560
|
+
email?: string;
|
|
46830
48561
|
/**
|
|
46831
48562
|
* @remarks
|
|
46832
48563
|
* The name of the user.
|
|
@@ -46835,17 +48566,24 @@ export class ListDirectoryUsersResponseBodyUsers extends $tea.Model {
|
|
|
46835
48566
|
* Alice
|
|
46836
48567
|
*/
|
|
46837
48568
|
endUser?: string;
|
|
48569
|
+
phone?: string;
|
|
46838
48570
|
static names(): { [key: string]: string } {
|
|
46839
48571
|
return {
|
|
48572
|
+
assignedDesktopNumber: 'AssignedDesktopNumber',
|
|
46840
48573
|
displayName: 'DisplayName',
|
|
48574
|
+
email: 'Email',
|
|
46841
48575
|
endUser: 'EndUser',
|
|
48576
|
+
phone: 'Phone',
|
|
46842
48577
|
};
|
|
46843
48578
|
}
|
|
46844
48579
|
|
|
46845
48580
|
static types(): { [key: string]: any } {
|
|
46846
48581
|
return {
|
|
48582
|
+
assignedDesktopNumber: 'number',
|
|
46847
48583
|
displayName: 'string',
|
|
48584
|
+
email: 'string',
|
|
46848
48585
|
endUser: 'string',
|
|
48586
|
+
phone: 'string',
|
|
46849
48587
|
};
|
|
46850
48588
|
}
|
|
46851
48589
|
|
|
@@ -47081,6 +48819,7 @@ export class ListOfficeSiteOverviewResponseBodyOfficeSiteOverviewResults extends
|
|
|
47081
48819
|
}
|
|
47082
48820
|
|
|
47083
48821
|
export class ListOfficeSiteUsersResponseBodyUsers extends $tea.Model {
|
|
48822
|
+
assignedDesktopNumber?: number;
|
|
47084
48823
|
/**
|
|
47085
48824
|
* @remarks
|
|
47086
48825
|
* The display name of the user.
|
|
@@ -47089,6 +48828,7 @@ export class ListOfficeSiteUsersResponseBodyUsers extends $tea.Model {
|
|
|
47089
48828
|
* Alice
|
|
47090
48829
|
*/
|
|
47091
48830
|
displayName?: string;
|
|
48831
|
+
email?: string;
|
|
47092
48832
|
/**
|
|
47093
48833
|
* @remarks
|
|
47094
48834
|
* The name of the AD user.
|
|
@@ -47097,17 +48837,24 @@ export class ListOfficeSiteUsersResponseBodyUsers extends $tea.Model {
|
|
|
47097
48837
|
* Alice
|
|
47098
48838
|
*/
|
|
47099
48839
|
endUser?: string;
|
|
48840
|
+
phone?: string;
|
|
47100
48841
|
static names(): { [key: string]: string } {
|
|
47101
48842
|
return {
|
|
48843
|
+
assignedDesktopNumber: 'AssignedDesktopNumber',
|
|
47102
48844
|
displayName: 'DisplayName',
|
|
48845
|
+
email: 'Email',
|
|
47103
48846
|
endUser: 'EndUser',
|
|
48847
|
+
phone: 'Phone',
|
|
47104
48848
|
};
|
|
47105
48849
|
}
|
|
47106
48850
|
|
|
47107
48851
|
static types(): { [key: string]: any } {
|
|
47108
48852
|
return {
|
|
48853
|
+
assignedDesktopNumber: 'number',
|
|
47109
48854
|
displayName: 'string',
|
|
48855
|
+
email: 'string',
|
|
47110
48856
|
endUser: 'string',
|
|
48857
|
+
phone: 'string',
|
|
47111
48858
|
};
|
|
47112
48859
|
}
|
|
47113
48860
|
|
|
@@ -50643,6 +52390,10 @@ export default class Client extends OpenApi {
|
|
|
50643
52390
|
query["SubDomainName"] = request.subDomainName;
|
|
50644
52391
|
}
|
|
50645
52392
|
|
|
52393
|
+
if (!Util.isUnset(request.vSwitchId)) {
|
|
52394
|
+
query["VSwitchId"] = request.vSwitchId;
|
|
52395
|
+
}
|
|
52396
|
+
|
|
50646
52397
|
if (!Util.isUnset(request.verifyCode)) {
|
|
50647
52398
|
query["VerifyCode"] = request.verifyCode;
|
|
50648
52399
|
}
|
|
@@ -50685,7 +52436,7 @@ export default class Client extends OpenApi {
|
|
|
50685
52436
|
}
|
|
50686
52437
|
|
|
50687
52438
|
/**
|
|
50688
|
-
* Creates
|
|
52439
|
+
* Creates a File Storage NAS (NAS) file system and mount the file system to the workspace in which a desktop group resides.
|
|
50689
52440
|
*
|
|
50690
52441
|
* @param request - CreateAndBindNasFileSystemRequest
|
|
50691
52442
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -50744,7 +52495,7 @@ export default class Client extends OpenApi {
|
|
|
50744
52495
|
}
|
|
50745
52496
|
|
|
50746
52497
|
/**
|
|
50747
|
-
* Creates
|
|
52498
|
+
* Creates a File Storage NAS (NAS) file system and mount the file system to the workspace in which a desktop group resides.
|
|
50748
52499
|
*
|
|
50749
52500
|
* @param request - CreateAndBindNasFileSystemRequest
|
|
50750
52501
|
* @returns CreateAndBindNasFileSystemResponse
|
|
@@ -51371,6 +53122,10 @@ export default class Client extends OpenApi {
|
|
|
51371
53122
|
query["ProfileFollowSwitch"] = request.profileFollowSwitch;
|
|
51372
53123
|
}
|
|
51373
53124
|
|
|
53125
|
+
if (!Util.isUnset(request.promotionId)) {
|
|
53126
|
+
query["PromotionId"] = request.promotionId;
|
|
53127
|
+
}
|
|
53128
|
+
|
|
51374
53129
|
if (!Util.isUnset(request.ratioThreshold)) {
|
|
51375
53130
|
query["RatioThreshold"] = request.ratioThreshold;
|
|
51376
53131
|
}
|
|
@@ -51554,12 +53309,18 @@ export default class Client extends OpenApi {
|
|
|
51554
53309
|
* * 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
53310
|
* 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
53311
|
*
|
|
51557
|
-
* @param
|
|
53312
|
+
* @param tmpReq - CreateDesktopsRequest
|
|
51558
53313
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
51559
53314
|
* @returns CreateDesktopsResponse
|
|
51560
53315
|
*/
|
|
51561
|
-
async createDesktopsWithOptions(
|
|
51562
|
-
Util.validateModel(
|
|
53316
|
+
async createDesktopsWithOptions(tmpReq: CreateDesktopsRequest, runtime: $Util.RuntimeOptions): Promise<CreateDesktopsResponse> {
|
|
53317
|
+
Util.validateModel(tmpReq);
|
|
53318
|
+
let request = new CreateDesktopsShrinkRequest({ });
|
|
53319
|
+
OpenApiUtil.convert(tmpReq, request);
|
|
53320
|
+
if (!Util.isUnset(tmpReq.desktopAttachment)) {
|
|
53321
|
+
request.desktopAttachmentShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.desktopAttachment, "DesktopAttachment", "json");
|
|
53322
|
+
}
|
|
53323
|
+
|
|
51563
53324
|
let query = { };
|
|
51564
53325
|
if (!Util.isUnset(request.amount)) {
|
|
51565
53326
|
query["Amount"] = request.amount;
|
|
@@ -51585,6 +53346,10 @@ export default class Client extends OpenApi {
|
|
|
51585
53346
|
query["ChargeType"] = request.chargeType;
|
|
51586
53347
|
}
|
|
51587
53348
|
|
|
53349
|
+
if (!Util.isUnset(request.desktopAttachmentShrink)) {
|
|
53350
|
+
query["DesktopAttachment"] = request.desktopAttachmentShrink;
|
|
53351
|
+
}
|
|
53352
|
+
|
|
51588
53353
|
if (!Util.isUnset(request.desktopMemberIp)) {
|
|
51589
53354
|
query["DesktopMemberIp"] = request.desktopMemberIp;
|
|
51590
53355
|
}
|
|
@@ -51645,6 +53410,10 @@ export default class Client extends OpenApi {
|
|
|
51645
53410
|
query["RegionId"] = request.regionId;
|
|
51646
53411
|
}
|
|
51647
53412
|
|
|
53413
|
+
if (!Util.isUnset(request.resourceGroupId)) {
|
|
53414
|
+
query["ResourceGroupId"] = request.resourceGroupId;
|
|
53415
|
+
}
|
|
53416
|
+
|
|
51648
53417
|
if (!Util.isUnset(request.snapshotPolicyId)) {
|
|
51649
53418
|
query["SnapshotPolicyId"] = request.snapshotPolicyId;
|
|
51650
53419
|
}
|
|
@@ -51653,6 +53422,10 @@ export default class Client extends OpenApi {
|
|
|
51653
53422
|
query["Tag"] = request.tag;
|
|
51654
53423
|
}
|
|
51655
53424
|
|
|
53425
|
+
if (!Util.isUnset(request.timerGroupId)) {
|
|
53426
|
+
query["TimerGroupId"] = request.timerGroupId;
|
|
53427
|
+
}
|
|
53428
|
+
|
|
51656
53429
|
if (!Util.isUnset(request.userAssignMode)) {
|
|
51657
53430
|
query["UserAssignMode"] = request.userAssignMode;
|
|
51658
53431
|
}
|
|
@@ -51831,6 +53604,20 @@ export default class Client extends OpenApi {
|
|
|
51831
53604
|
}
|
|
51832
53605
|
|
|
51833
53606
|
/**
|
|
53607
|
+
* Create a NAS file system.
|
|
53608
|
+
*
|
|
53609
|
+
* @remarks
|
|
53610
|
+
* <props="china">
|
|
53611
|
+
* - Each standard workspace can create one NAS file system to meet the need for sharing files between cloud desktops in the workspace.
|
|
53612
|
+
* - 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.
|
|
53613
|
+
* - 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.
|
|
53614
|
+
* For more information, see [Creating Shared Storage NAS](https://help.aliyun.com/document_detail/214481.html).
|
|
53615
|
+
* <props="intl">
|
|
53616
|
+
* - Each standard workspace can create one NAS file system to meet the need for sharing files between cloud desktops in the workspace.
|
|
53617
|
+
* - 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.
|
|
53618
|
+
* - 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.
|
|
53619
|
+
* For more information, see [Creating Shared Storage NAS](https://help.aliyun.com/document_detail/214481.html).
|
|
53620
|
+
*
|
|
51834
53621
|
* @param request - CreateNASFileSystemRequest
|
|
51835
53622
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
51836
53623
|
* @returns CreateNASFileSystemResponse
|
|
@@ -51880,6 +53667,20 @@ export default class Client extends OpenApi {
|
|
|
51880
53667
|
}
|
|
51881
53668
|
|
|
51882
53669
|
/**
|
|
53670
|
+
* Create a NAS file system.
|
|
53671
|
+
*
|
|
53672
|
+
* @remarks
|
|
53673
|
+
* <props="china">
|
|
53674
|
+
* - Each standard workspace can create one NAS file system to meet the need for sharing files between cloud desktops in the workspace.
|
|
53675
|
+
* - 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.
|
|
53676
|
+
* - 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.
|
|
53677
|
+
* For more information, see [Creating Shared Storage NAS](https://help.aliyun.com/document_detail/214481.html).
|
|
53678
|
+
* <props="intl">
|
|
53679
|
+
* - Each standard workspace can create one NAS file system to meet the need for sharing files between cloud desktops in the workspace.
|
|
53680
|
+
* - 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.
|
|
53681
|
+
* - 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.
|
|
53682
|
+
* For more information, see [Creating Shared Storage NAS](https://help.aliyun.com/document_detail/214481.html).
|
|
53683
|
+
*
|
|
51883
53684
|
* @param request - CreateNASFileSystemRequest
|
|
51884
53685
|
* @returns CreateNASFileSystemResponse
|
|
51885
53686
|
*/
|
|
@@ -52203,6 +54004,10 @@ export default class Client extends OpenApi {
|
|
|
52203
54004
|
query["WatermarkType"] = request.watermarkType;
|
|
52204
54005
|
}
|
|
52205
54006
|
|
|
54007
|
+
if (!Util.isUnset(request.wyAssistant)) {
|
|
54008
|
+
query["WyAssistant"] = request.wyAssistant;
|
|
54009
|
+
}
|
|
54010
|
+
|
|
52206
54011
|
let req = new $OpenApi.OpenApiRequest({
|
|
52207
54012
|
query: OpenApiUtil.query(query),
|
|
52208
54013
|
});
|
|
@@ -53032,7 +54837,7 @@ export default class Client extends OpenApi {
|
|
|
53032
54837
|
* Deletes NAS file systems.
|
|
53033
54838
|
*
|
|
53034
54839
|
* @remarks
|
|
53035
|
-
* Before you delete
|
|
54840
|
+
* Before you delete a File Storage NAS (NAS) file system, make sure that the data you want to retain is backed up.
|
|
53036
54841
|
* >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
54842
|
*
|
|
53038
54843
|
* @param request - DeleteNASFileSystemsRequest
|
|
@@ -53071,7 +54876,7 @@ export default class Client extends OpenApi {
|
|
|
53071
54876
|
* Deletes NAS file systems.
|
|
53072
54877
|
*
|
|
53073
54878
|
* @remarks
|
|
53074
|
-
* Before you delete
|
|
54879
|
+
* Before you delete a File Storage NAS (NAS) file system, make sure that the data you want to retain is backed up.
|
|
53075
54880
|
* >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
54881
|
*
|
|
53077
54882
|
* @param request - DeleteNASFileSystemsRequest
|
|
@@ -54457,6 +56262,10 @@ export default class Client extends OpenApi {
|
|
|
54457
56262
|
query["EndUserId"] = request.endUserId;
|
|
54458
56263
|
}
|
|
54459
56264
|
|
|
56265
|
+
if (!Util.isUnset(request.endUserIdFilter)) {
|
|
56266
|
+
query["EndUserIdFilter"] = request.endUserIdFilter;
|
|
56267
|
+
}
|
|
56268
|
+
|
|
54460
56269
|
if (!Util.isUnset(request.officeSiteId)) {
|
|
54461
56270
|
query["OfficeSiteId"] = request.officeSiteId;
|
|
54462
56271
|
}
|
|
@@ -54549,6 +56358,10 @@ export default class Client extends OpenApi {
|
|
|
54549
56358
|
query["DesktopTypeId"] = request.desktopTypeId;
|
|
54550
56359
|
}
|
|
54551
56360
|
|
|
56361
|
+
if (!Util.isUnset(request.desktopTypeIdList)) {
|
|
56362
|
+
query["DesktopTypeIdList"] = request.desktopTypeIdList;
|
|
56363
|
+
}
|
|
56364
|
+
|
|
54552
56365
|
if (!Util.isUnset(request.gpuCount)) {
|
|
54553
56366
|
query["GpuCount"] = request.gpuCount;
|
|
54554
56367
|
}
|
|
@@ -54565,6 +56378,10 @@ export default class Client extends OpenApi {
|
|
|
54565
56378
|
query["MemorySize"] = request.memorySize;
|
|
54566
56379
|
}
|
|
54567
56380
|
|
|
56381
|
+
if (!Util.isUnset(request.orderBy)) {
|
|
56382
|
+
query["OrderBy"] = request.orderBy;
|
|
56383
|
+
}
|
|
56384
|
+
|
|
54568
56385
|
if (!Util.isUnset(request.orderType)) {
|
|
54569
56386
|
query["OrderType"] = request.orderType;
|
|
54570
56387
|
}
|
|
@@ -54573,6 +56390,14 @@ export default class Client extends OpenApi {
|
|
|
54573
56390
|
query["RegionId"] = request.regionId;
|
|
54574
56391
|
}
|
|
54575
56392
|
|
|
56393
|
+
if (!Util.isUnset(request.scope)) {
|
|
56394
|
+
query["Scope"] = request.scope;
|
|
56395
|
+
}
|
|
56396
|
+
|
|
56397
|
+
if (!Util.isUnset(request.sortType)) {
|
|
56398
|
+
query["SortType"] = request.sortType;
|
|
56399
|
+
}
|
|
56400
|
+
|
|
54576
56401
|
let req = new $OpenApi.OpenApiRequest({
|
|
54577
56402
|
query: OpenApiUtil.query(query),
|
|
54578
56403
|
});
|
|
@@ -54706,6 +56531,14 @@ export default class Client extends OpenApi {
|
|
|
54706
56531
|
query["OsTypes"] = request.osTypes;
|
|
54707
56532
|
}
|
|
54708
56533
|
|
|
56534
|
+
if (!Util.isUnset(request.pageNumber)) {
|
|
56535
|
+
query["PageNumber"] = request.pageNumber;
|
|
56536
|
+
}
|
|
56537
|
+
|
|
56538
|
+
if (!Util.isUnset(request.pageSize)) {
|
|
56539
|
+
query["PageSize"] = request.pageSize;
|
|
56540
|
+
}
|
|
56541
|
+
|
|
54709
56542
|
if (!Util.isUnset(request.policyGroupId)) {
|
|
54710
56543
|
query["PolicyGroupId"] = request.policyGroupId;
|
|
54711
56544
|
}
|
|
@@ -55115,7 +56948,35 @@ export default class Client extends OpenApi {
|
|
|
55115
56948
|
*/
|
|
55116
56949
|
async describeFotaPendingDesktopsWithOptions(request: DescribeFotaPendingDesktopsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeFotaPendingDesktopsResponse> {
|
|
55117
56950
|
Util.validateModel(request);
|
|
55118
|
-
let query =
|
|
56951
|
+
let query = { };
|
|
56952
|
+
if (!Util.isUnset(request.desktopId)) {
|
|
56953
|
+
query["DesktopId"] = request.desktopId;
|
|
56954
|
+
}
|
|
56955
|
+
|
|
56956
|
+
if (!Util.isUnset(request.desktopName)) {
|
|
56957
|
+
query["DesktopName"] = request.desktopName;
|
|
56958
|
+
}
|
|
56959
|
+
|
|
56960
|
+
if (!Util.isUnset(request.maxResults)) {
|
|
56961
|
+
query["MaxResults"] = request.maxResults;
|
|
56962
|
+
}
|
|
56963
|
+
|
|
56964
|
+
if (!Util.isUnset(request.nextToken)) {
|
|
56965
|
+
query["NextToken"] = request.nextToken;
|
|
56966
|
+
}
|
|
56967
|
+
|
|
56968
|
+
if (!Util.isUnset(request.officeSiteId)) {
|
|
56969
|
+
query["OfficeSiteId"] = request.officeSiteId;
|
|
56970
|
+
}
|
|
56971
|
+
|
|
56972
|
+
if (!Util.isUnset(request.regionId)) {
|
|
56973
|
+
query["RegionId"] = request.regionId;
|
|
56974
|
+
}
|
|
56975
|
+
|
|
56976
|
+
if (!Util.isUnset(request.taskUid)) {
|
|
56977
|
+
query["TaskUid"] = request.taskUid;
|
|
56978
|
+
}
|
|
56979
|
+
|
|
55119
56980
|
let req = new $OpenApi.OpenApiRequest({
|
|
55120
56981
|
query: OpenApiUtil.query(query),
|
|
55121
56982
|
});
|
|
@@ -55124,7 +56985,7 @@ export default class Client extends OpenApi {
|
|
|
55124
56985
|
version: "2020-09-30",
|
|
55125
56986
|
protocol: "HTTPS",
|
|
55126
56987
|
pathname: "/",
|
|
55127
|
-
method: "
|
|
56988
|
+
method: "POST",
|
|
55128
56989
|
authType: "AK",
|
|
55129
56990
|
style: "RPC",
|
|
55130
56991
|
reqBodyType: "formData",
|
|
@@ -55496,6 +57357,10 @@ export default class Client extends OpenApi {
|
|
|
55496
57357
|
query["EndUserId"] = request.endUserId;
|
|
55497
57358
|
}
|
|
55498
57359
|
|
|
57360
|
+
if (!Util.isUnset(request.includeInvokeDesktops)) {
|
|
57361
|
+
query["IncludeInvokeDesktops"] = request.includeInvokeDesktops;
|
|
57362
|
+
}
|
|
57363
|
+
|
|
55499
57364
|
if (!Util.isUnset(request.includeOutput)) {
|
|
55500
57365
|
query["IncludeOutput"] = request.includeOutput;
|
|
55501
57366
|
}
|
|
@@ -55593,7 +57458,69 @@ export default class Client extends OpenApi {
|
|
|
55593
57458
|
}
|
|
55594
57459
|
|
|
55595
57460
|
/**
|
|
55596
|
-
*
|
|
57461
|
+
* @param request - DescribeModificationPriceRequest
|
|
57462
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
57463
|
+
* @returns DescribeModificationPriceResponse
|
|
57464
|
+
*/
|
|
57465
|
+
async describeModificationPriceWithOptions(request: DescribeModificationPriceRequest, runtime: $Util.RuntimeOptions): Promise<DescribeModificationPriceResponse> {
|
|
57466
|
+
Util.validateModel(request);
|
|
57467
|
+
let query = { };
|
|
57468
|
+
if (!Util.isUnset(request.bandwidth)) {
|
|
57469
|
+
query["Bandwidth"] = request.bandwidth;
|
|
57470
|
+
}
|
|
57471
|
+
|
|
57472
|
+
if (!Util.isUnset(request.instanceId)) {
|
|
57473
|
+
query["InstanceId"] = request.instanceId;
|
|
57474
|
+
}
|
|
57475
|
+
|
|
57476
|
+
if (!Util.isUnset(request.instanceType)) {
|
|
57477
|
+
query["InstanceType"] = request.instanceType;
|
|
57478
|
+
}
|
|
57479
|
+
|
|
57480
|
+
if (!Util.isUnset(request.regionId)) {
|
|
57481
|
+
query["RegionId"] = request.regionId;
|
|
57482
|
+
}
|
|
57483
|
+
|
|
57484
|
+
if (!Util.isUnset(request.resourceType)) {
|
|
57485
|
+
query["ResourceType"] = request.resourceType;
|
|
57486
|
+
}
|
|
57487
|
+
|
|
57488
|
+
if (!Util.isUnset(request.rootDiskSizeGib)) {
|
|
57489
|
+
query["RootDiskSizeGib"] = request.rootDiskSizeGib;
|
|
57490
|
+
}
|
|
57491
|
+
|
|
57492
|
+
if (!Util.isUnset(request.userDiskSizeGib)) {
|
|
57493
|
+
query["UserDiskSizeGib"] = request.userDiskSizeGib;
|
|
57494
|
+
}
|
|
57495
|
+
|
|
57496
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
57497
|
+
query: OpenApiUtil.query(query),
|
|
57498
|
+
});
|
|
57499
|
+
let params = new $OpenApi.Params({
|
|
57500
|
+
action: "DescribeModificationPrice",
|
|
57501
|
+
version: "2020-09-30",
|
|
57502
|
+
protocol: "HTTPS",
|
|
57503
|
+
pathname: "/",
|
|
57504
|
+
method: "POST",
|
|
57505
|
+
authType: "AK",
|
|
57506
|
+
style: "RPC",
|
|
57507
|
+
reqBodyType: "formData",
|
|
57508
|
+
bodyType: "json",
|
|
57509
|
+
});
|
|
57510
|
+
return $tea.cast<DescribeModificationPriceResponse>(await this.callApi(params, req, runtime), new DescribeModificationPriceResponse({}));
|
|
57511
|
+
}
|
|
57512
|
+
|
|
57513
|
+
/**
|
|
57514
|
+
* @param request - DescribeModificationPriceRequest
|
|
57515
|
+
* @returns DescribeModificationPriceResponse
|
|
57516
|
+
*/
|
|
57517
|
+
async describeModificationPrice(request: DescribeModificationPriceRequest): Promise<DescribeModificationPriceResponse> {
|
|
57518
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
57519
|
+
return await this.describeModificationPriceWithOptions(request, runtime);
|
|
57520
|
+
}
|
|
57521
|
+
|
|
57522
|
+
/**
|
|
57523
|
+
* Queries the information about File Storage NAS (NAS) file systems.
|
|
55597
57524
|
*
|
|
55598
57525
|
* @param request - DescribeNASFileSystemsRequest
|
|
55599
57526
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -55644,7 +57571,7 @@ export default class Client extends OpenApi {
|
|
|
55644
57571
|
}
|
|
55645
57572
|
|
|
55646
57573
|
/**
|
|
55647
|
-
* Queries the information about
|
|
57574
|
+
* Queries the information about File Storage NAS (NAS) file systems.
|
|
55648
57575
|
*
|
|
55649
57576
|
* @param request - DescribeNASFileSystemsRequest
|
|
55650
57577
|
* @returns DescribeNASFileSystemsResponse
|
|
@@ -55862,58 +57789,14 @@ export default class Client extends OpenApi {
|
|
|
55862
57789
|
query["Bandwidth"] = request.bandwidth;
|
|
55863
57790
|
}
|
|
55864
57791
|
|
|
55865
|
-
if (!Util.isUnset(request.
|
|
55866
|
-
query["
|
|
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;
|
|
57792
|
+
if (!Util.isUnset(request.duration)) {
|
|
57793
|
+
query["Duration"] = request.duration;
|
|
55907
57794
|
}
|
|
55908
57795
|
|
|
55909
57796
|
if (!Util.isUnset(request.groupDesktopCount)) {
|
|
55910
57797
|
query["GroupDesktopCount"] = request.groupDesktopCount;
|
|
55911
57798
|
}
|
|
55912
57799
|
|
|
55913
|
-
if (!Util.isUnset(request.hardwareVersion)) {
|
|
55914
|
-
query["HardwareVersion"] = request.hardwareVersion;
|
|
55915
|
-
}
|
|
55916
|
-
|
|
55917
57800
|
if (!Util.isUnset(request.instanceType)) {
|
|
55918
57801
|
query["InstanceType"] = request.instanceType;
|
|
55919
57802
|
}
|
|
@@ -55922,18 +57805,10 @@ export default class Client extends OpenApi {
|
|
|
55922
57805
|
query["InternetChargeType"] = request.internetChargeType;
|
|
55923
57806
|
}
|
|
55924
57807
|
|
|
55925
|
-
if (!Util.isUnset(request.networkType)) {
|
|
55926
|
-
query["NetworkType"] = request.networkType;
|
|
55927
|
-
}
|
|
55928
|
-
|
|
55929
57808
|
if (!Util.isUnset(request.osType)) {
|
|
55930
57809
|
query["OsType"] = request.osType;
|
|
55931
57810
|
}
|
|
55932
57811
|
|
|
55933
|
-
if (!Util.isUnset(request.packageSize)) {
|
|
55934
|
-
query["PackageSize"] = request.packageSize;
|
|
55935
|
-
}
|
|
55936
|
-
|
|
55937
57812
|
if (!Util.isUnset(request.period)) {
|
|
55938
57813
|
query["Period"] = request.period;
|
|
55939
57814
|
}
|
|
@@ -55954,28 +57829,16 @@ export default class Client extends OpenApi {
|
|
|
55954
57829
|
query["ResourceType"] = request.resourceType;
|
|
55955
57830
|
}
|
|
55956
57831
|
|
|
55957
|
-
if (!Util.isUnset(request.
|
|
55958
|
-
query["
|
|
57832
|
+
if (!Util.isUnset(request.rootDiskCategory)) {
|
|
57833
|
+
query["RootDiskCategory"] = request.rootDiskCategory;
|
|
55959
57834
|
}
|
|
55960
57835
|
|
|
55961
57836
|
if (!Util.isUnset(request.rootDiskSizeGib)) {
|
|
55962
57837
|
query["RootDiskSizeGib"] = request.rootDiskSizeGib;
|
|
55963
57838
|
}
|
|
55964
57839
|
|
|
55965
|
-
if (!Util.isUnset(request.
|
|
55966
|
-
query["
|
|
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;
|
|
57840
|
+
if (!Util.isUnset(request.userDiskCategory)) {
|
|
57841
|
+
query["UserDiskCategory"] = request.userDiskCategory;
|
|
55979
57842
|
}
|
|
55980
57843
|
|
|
55981
57844
|
if (!Util.isUnset(request.userDiskSizeGib)) {
|
|
@@ -56254,6 +58117,52 @@ export default class Client extends OpenApi {
|
|
|
56254
58117
|
return await this.describeRecordingsWithOptions(request, runtime);
|
|
56255
58118
|
}
|
|
56256
58119
|
|
|
58120
|
+
/**
|
|
58121
|
+
* @param request - DescribeRefundPriceRequest
|
|
58122
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
58123
|
+
* @returns DescribeRefundPriceResponse
|
|
58124
|
+
*/
|
|
58125
|
+
async describeRefundPriceWithOptions(request: DescribeRefundPriceRequest, runtime: $Util.RuntimeOptions): Promise<DescribeRefundPriceResponse> {
|
|
58126
|
+
Util.validateModel(request);
|
|
58127
|
+
let query = { };
|
|
58128
|
+
if (!Util.isUnset(request.desktopId)) {
|
|
58129
|
+
query["DesktopId"] = request.desktopId;
|
|
58130
|
+
}
|
|
58131
|
+
|
|
58132
|
+
if (!Util.isUnset(request.refundType)) {
|
|
58133
|
+
query["RefundType"] = request.refundType;
|
|
58134
|
+
}
|
|
58135
|
+
|
|
58136
|
+
if (!Util.isUnset(request.regionId)) {
|
|
58137
|
+
query["RegionId"] = request.regionId;
|
|
58138
|
+
}
|
|
58139
|
+
|
|
58140
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
58141
|
+
query: OpenApiUtil.query(query),
|
|
58142
|
+
});
|
|
58143
|
+
let params = new $OpenApi.Params({
|
|
58144
|
+
action: "DescribeRefundPrice",
|
|
58145
|
+
version: "2020-09-30",
|
|
58146
|
+
protocol: "HTTPS",
|
|
58147
|
+
pathname: "/",
|
|
58148
|
+
method: "POST",
|
|
58149
|
+
authType: "AK",
|
|
58150
|
+
style: "RPC",
|
|
58151
|
+
reqBodyType: "formData",
|
|
58152
|
+
bodyType: "json",
|
|
58153
|
+
});
|
|
58154
|
+
return $tea.cast<DescribeRefundPriceResponse>(await this.callApi(params, req, runtime), new DescribeRefundPriceResponse({}));
|
|
58155
|
+
}
|
|
58156
|
+
|
|
58157
|
+
/**
|
|
58158
|
+
* @param request - DescribeRefundPriceRequest
|
|
58159
|
+
* @returns DescribeRefundPriceResponse
|
|
58160
|
+
*/
|
|
58161
|
+
async describeRefundPrice(request: DescribeRefundPriceRequest): Promise<DescribeRefundPriceResponse> {
|
|
58162
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
58163
|
+
return await this.describeRefundPriceWithOptions(request, runtime);
|
|
58164
|
+
}
|
|
58165
|
+
|
|
56257
58166
|
/**
|
|
56258
58167
|
* Queries the Alibaba Cloud regions that are available for Elastic Desktop Service (EDS).
|
|
56259
58168
|
*
|
|
@@ -56300,6 +58209,64 @@ export default class Client extends OpenApi {
|
|
|
56300
58209
|
return await this.describeRegionsWithOptions(request, runtime);
|
|
56301
58210
|
}
|
|
56302
58211
|
|
|
58212
|
+
/**
|
|
58213
|
+
* @param request - DescribeRenewalPriceRequest
|
|
58214
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
58215
|
+
* @returns DescribeRenewalPriceResponse
|
|
58216
|
+
*/
|
|
58217
|
+
async describeRenewalPriceWithOptions(request: DescribeRenewalPriceRequest, runtime: $Util.RuntimeOptions): Promise<DescribeRenewalPriceResponse> {
|
|
58218
|
+
Util.validateModel(request);
|
|
58219
|
+
let query = { };
|
|
58220
|
+
if (!Util.isUnset(request.instanceId)) {
|
|
58221
|
+
query["InstanceId"] = request.instanceId;
|
|
58222
|
+
}
|
|
58223
|
+
|
|
58224
|
+
if (!Util.isUnset(request.instanceIds)) {
|
|
58225
|
+
query["InstanceIds"] = request.instanceIds;
|
|
58226
|
+
}
|
|
58227
|
+
|
|
58228
|
+
if (!Util.isUnset(request.period)) {
|
|
58229
|
+
query["Period"] = request.period;
|
|
58230
|
+
}
|
|
58231
|
+
|
|
58232
|
+
if (!Util.isUnset(request.periodUnit)) {
|
|
58233
|
+
query["PeriodUnit"] = request.periodUnit;
|
|
58234
|
+
}
|
|
58235
|
+
|
|
58236
|
+
if (!Util.isUnset(request.regionId)) {
|
|
58237
|
+
query["RegionId"] = request.regionId;
|
|
58238
|
+
}
|
|
58239
|
+
|
|
58240
|
+
if (!Util.isUnset(request.resourceType)) {
|
|
58241
|
+
query["ResourceType"] = request.resourceType;
|
|
58242
|
+
}
|
|
58243
|
+
|
|
58244
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
58245
|
+
query: OpenApiUtil.query(query),
|
|
58246
|
+
});
|
|
58247
|
+
let params = new $OpenApi.Params({
|
|
58248
|
+
action: "DescribeRenewalPrice",
|
|
58249
|
+
version: "2020-09-30",
|
|
58250
|
+
protocol: "HTTPS",
|
|
58251
|
+
pathname: "/",
|
|
58252
|
+
method: "POST",
|
|
58253
|
+
authType: "AK",
|
|
58254
|
+
style: "RPC",
|
|
58255
|
+
reqBodyType: "formData",
|
|
58256
|
+
bodyType: "json",
|
|
58257
|
+
});
|
|
58258
|
+
return $tea.cast<DescribeRenewalPriceResponse>(await this.callApi(params, req, runtime), new DescribeRenewalPriceResponse({}));
|
|
58259
|
+
}
|
|
58260
|
+
|
|
58261
|
+
/**
|
|
58262
|
+
* @param request - DescribeRenewalPriceRequest
|
|
58263
|
+
* @returns DescribeRenewalPriceResponse
|
|
58264
|
+
*/
|
|
58265
|
+
async describeRenewalPrice(request: DescribeRenewalPriceRequest): Promise<DescribeRenewalPriceResponse> {
|
|
58266
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
58267
|
+
return await this.describeRenewalPriceWithOptions(request, runtime);
|
|
58268
|
+
}
|
|
58269
|
+
|
|
56303
58270
|
/**
|
|
56304
58271
|
* Queries the session statistics of a region.
|
|
56305
58272
|
*
|
|
@@ -57997,6 +59964,10 @@ export default class Client extends OpenApi {
|
|
|
57997
59964
|
async listDirectoryUsersWithOptions(request: ListDirectoryUsersRequest, runtime: $Util.RuntimeOptions): Promise<ListDirectoryUsersResponse> {
|
|
57998
59965
|
Util.validateModel(request);
|
|
57999
59966
|
let query = { };
|
|
59967
|
+
if (!Util.isUnset(request.assignedInfo)) {
|
|
59968
|
+
query["AssignedInfo"] = request.assignedInfo;
|
|
59969
|
+
}
|
|
59970
|
+
|
|
58000
59971
|
if (!Util.isUnset(request.directoryId)) {
|
|
58001
59972
|
query["DirectoryId"] = request.directoryId;
|
|
58002
59973
|
}
|
|
@@ -58005,6 +59976,10 @@ export default class Client extends OpenApi {
|
|
|
58005
59976
|
query["Filter"] = request.filter;
|
|
58006
59977
|
}
|
|
58007
59978
|
|
|
59979
|
+
if (!Util.isUnset(request.includeAssignedUser)) {
|
|
59980
|
+
query["IncludeAssignedUser"] = request.includeAssignedUser;
|
|
59981
|
+
}
|
|
59982
|
+
|
|
58008
59983
|
if (!Util.isUnset(request.maxResults)) {
|
|
58009
59984
|
query["MaxResults"] = request.maxResults;
|
|
58010
59985
|
}
|
|
@@ -58021,6 +59996,10 @@ export default class Client extends OpenApi {
|
|
|
58021
59996
|
query["RegionId"] = request.regionId;
|
|
58022
59997
|
}
|
|
58023
59998
|
|
|
59999
|
+
if (!Util.isUnset(request.sortType)) {
|
|
60000
|
+
query["SortType"] = request.sortType;
|
|
60001
|
+
}
|
|
60002
|
+
|
|
58024
60003
|
let req = new $OpenApi.OpenApiRequest({
|
|
58025
60004
|
query: OpenApiUtil.query(query),
|
|
58026
60005
|
});
|
|
@@ -58182,10 +60161,18 @@ export default class Client extends OpenApi {
|
|
|
58182
60161
|
async listOfficeSiteUsersWithOptions(request: ListOfficeSiteUsersRequest, runtime: $Util.RuntimeOptions): Promise<ListOfficeSiteUsersResponse> {
|
|
58183
60162
|
Util.validateModel(request);
|
|
58184
60163
|
let query = { };
|
|
60164
|
+
if (!Util.isUnset(request.assignedInfo)) {
|
|
60165
|
+
query["AssignedInfo"] = request.assignedInfo;
|
|
60166
|
+
}
|
|
60167
|
+
|
|
58185
60168
|
if (!Util.isUnset(request.filter)) {
|
|
58186
60169
|
query["Filter"] = request.filter;
|
|
58187
60170
|
}
|
|
58188
60171
|
|
|
60172
|
+
if (!Util.isUnset(request.includeAssignedUser)) {
|
|
60173
|
+
query["IncludeAssignedUser"] = request.includeAssignedUser;
|
|
60174
|
+
}
|
|
60175
|
+
|
|
58189
60176
|
if (!Util.isUnset(request.maxResults)) {
|
|
58190
60177
|
query["MaxResults"] = request.maxResults;
|
|
58191
60178
|
}
|
|
@@ -58206,6 +60193,10 @@ export default class Client extends OpenApi {
|
|
|
58206
60193
|
query["RegionId"] = request.regionId;
|
|
58207
60194
|
}
|
|
58208
60195
|
|
|
60196
|
+
if (!Util.isUnset(request.sortType)) {
|
|
60197
|
+
query["SortType"] = request.sortType;
|
|
60198
|
+
}
|
|
60199
|
+
|
|
58209
60200
|
let req = new $OpenApi.OpenApiRequest({
|
|
58210
60201
|
query: OpenApiUtil.query(query),
|
|
58211
60202
|
});
|
|
@@ -59146,6 +61137,10 @@ export default class Client extends OpenApi {
|
|
|
59146
61137
|
query["DownloadUploadEndUserIds"] = request.downloadUploadEndUserIds;
|
|
59147
61138
|
}
|
|
59148
61139
|
|
|
61140
|
+
if (!Util.isUnset(request.noDownloadNoUploadEndUserIds)) {
|
|
61141
|
+
query["NoDownloadNoUploadEndUserIds"] = request.noDownloadNoUploadEndUserIds;
|
|
61142
|
+
}
|
|
61143
|
+
|
|
59149
61144
|
if (!Util.isUnset(request.regionId)) {
|
|
59150
61145
|
query["RegionId"] = request.regionId;
|
|
59151
61146
|
}
|
|
@@ -60317,7 +62312,7 @@ export default class Client extends OpenApi {
|
|
|
60317
62312
|
}
|
|
60318
62313
|
|
|
60319
62314
|
/**
|
|
60320
|
-
* Modifies the mount target of
|
|
62315
|
+
* Modifies the mount target of a File Storage NAS (NAS) file system.
|
|
60321
62316
|
*
|
|
60322
62317
|
* @remarks
|
|
60323
62318
|
* 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 +62354,7 @@ export default class Client extends OpenApi {
|
|
|
60359
62354
|
}
|
|
60360
62355
|
|
|
60361
62356
|
/**
|
|
60362
|
-
* Modifies the mount target of
|
|
62357
|
+
* Modifies the mount target of a File Storage NAS (NAS) file system.
|
|
60363
62358
|
*
|
|
60364
62359
|
* @remarks
|
|
60365
62360
|
* 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 +62893,10 @@ export default class Client extends OpenApi {
|
|
|
60898
62893
|
query["WatermarkType"] = request.watermarkType;
|
|
60899
62894
|
}
|
|
60900
62895
|
|
|
62896
|
+
if (!Util.isUnset(request.wyAssistant)) {
|
|
62897
|
+
query["WyAssistant"] = request.wyAssistant;
|
|
62898
|
+
}
|
|
62899
|
+
|
|
60901
62900
|
let req = new $OpenApi.OpenApiRequest({
|
|
60902
62901
|
query: OpenApiUtil.query(query),
|
|
60903
62902
|
});
|
|
@@ -61162,12 +63161,12 @@ export default class Client extends OpenApi {
|
|
|
61162
63161
|
* Recreates cloud computers.
|
|
61163
63162
|
*
|
|
61164
63163
|
* @remarks
|
|
61165
|
-
*
|
|
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),
|
|
61167
|
-
* * GPU images and non-GPU images cannot be exchanged.
|
|
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
|
|
61170
|
-
* * If the OS of the image is changed, the data in the data
|
|
63164
|
+
* Take note of the following limits when you change an image:
|
|
63165
|
+
* * 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).
|
|
63166
|
+
* * 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.
|
|
63167
|
+
* 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:
|
|
63168
|
+
* * 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.
|
|
63169
|
+
* * 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
63170
|
*
|
|
61172
63171
|
* @param request - RebuildDesktopsRequest
|
|
61173
63172
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -61217,12 +63216,12 @@ export default class Client extends OpenApi {
|
|
|
61217
63216
|
* Recreates cloud computers.
|
|
61218
63217
|
*
|
|
61219
63218
|
* @remarks
|
|
61220
|
-
*
|
|
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),
|
|
61222
|
-
* * GPU images and non-GPU images cannot be exchanged.
|
|
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
|
|
61225
|
-
* * If the OS of the image is changed, the data in the data
|
|
63219
|
+
* Take note of the following limits when you change an image:
|
|
63220
|
+
* * 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).
|
|
63221
|
+
* * 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.
|
|
63222
|
+
* 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:
|
|
63223
|
+
* * 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.
|
|
63224
|
+
* * 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
63225
|
*
|
|
61227
63226
|
* @param request - RebuildDesktopsRequest
|
|
61228
63227
|
* @returns RebuildDesktopsResponse
|
|
@@ -61408,6 +63407,64 @@ export default class Client extends OpenApi {
|
|
|
61408
63407
|
return await this.removeUserFromDesktopOversoldUserGroupWithOptions(request, runtime);
|
|
61409
63408
|
}
|
|
61410
63409
|
|
|
63410
|
+
/**
|
|
63411
|
+
* @param request - RenewDesktopGroupRequest
|
|
63412
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
63413
|
+
* @returns RenewDesktopGroupResponse
|
|
63414
|
+
*/
|
|
63415
|
+
async renewDesktopGroupWithOptions(request: RenewDesktopGroupRequest, runtime: $Util.RuntimeOptions): Promise<RenewDesktopGroupResponse> {
|
|
63416
|
+
Util.validateModel(request);
|
|
63417
|
+
let query = { };
|
|
63418
|
+
if (!Util.isUnset(request.autoPay)) {
|
|
63419
|
+
query["AutoPay"] = request.autoPay;
|
|
63420
|
+
}
|
|
63421
|
+
|
|
63422
|
+
if (!Util.isUnset(request.autoRenew)) {
|
|
63423
|
+
query["AutoRenew"] = request.autoRenew;
|
|
63424
|
+
}
|
|
63425
|
+
|
|
63426
|
+
if (!Util.isUnset(request.desktopGroupId)) {
|
|
63427
|
+
query["DesktopGroupId"] = request.desktopGroupId;
|
|
63428
|
+
}
|
|
63429
|
+
|
|
63430
|
+
if (!Util.isUnset(request.period)) {
|
|
63431
|
+
query["Period"] = request.period;
|
|
63432
|
+
}
|
|
63433
|
+
|
|
63434
|
+
if (!Util.isUnset(request.periodUnit)) {
|
|
63435
|
+
query["PeriodUnit"] = request.periodUnit;
|
|
63436
|
+
}
|
|
63437
|
+
|
|
63438
|
+
if (!Util.isUnset(request.regionId)) {
|
|
63439
|
+
query["RegionId"] = request.regionId;
|
|
63440
|
+
}
|
|
63441
|
+
|
|
63442
|
+
let req = new $OpenApi.OpenApiRequest({
|
|
63443
|
+
query: OpenApiUtil.query(query),
|
|
63444
|
+
});
|
|
63445
|
+
let params = new $OpenApi.Params({
|
|
63446
|
+
action: "RenewDesktopGroup",
|
|
63447
|
+
version: "2020-09-30",
|
|
63448
|
+
protocol: "HTTPS",
|
|
63449
|
+
pathname: "/",
|
|
63450
|
+
method: "POST",
|
|
63451
|
+
authType: "AK",
|
|
63452
|
+
style: "RPC",
|
|
63453
|
+
reqBodyType: "formData",
|
|
63454
|
+
bodyType: "json",
|
|
63455
|
+
});
|
|
63456
|
+
return $tea.cast<RenewDesktopGroupResponse>(await this.callApi(params, req, runtime), new RenewDesktopGroupResponse({}));
|
|
63457
|
+
}
|
|
63458
|
+
|
|
63459
|
+
/**
|
|
63460
|
+
* @param request - RenewDesktopGroupRequest
|
|
63461
|
+
* @returns RenewDesktopGroupResponse
|
|
63462
|
+
*/
|
|
63463
|
+
async renewDesktopGroup(request: RenewDesktopGroupRequest): Promise<RenewDesktopGroupResponse> {
|
|
63464
|
+
let runtime = new $Util.RuntimeOptions({ });
|
|
63465
|
+
return await this.renewDesktopGroupWithOptions(request, runtime);
|
|
63466
|
+
}
|
|
63467
|
+
|
|
61411
63468
|
/**
|
|
61412
63469
|
* 续费桌面超卖组
|
|
61413
63470
|
*
|
|
@@ -61667,7 +63724,7 @@ export default class Client extends OpenApi {
|
|
|
61667
63724
|
}
|
|
61668
63725
|
|
|
61669
63726
|
/**
|
|
61670
|
-
* Resets the mount target of
|
|
63727
|
+
* Resets the mount target of a File Storage NAS (NAS) file system.
|
|
61671
63728
|
*
|
|
61672
63729
|
* @remarks
|
|
61673
63730
|
* 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 +63762,7 @@ export default class Client extends OpenApi {
|
|
|
61705
63762
|
}
|
|
61706
63763
|
|
|
61707
63764
|
/**
|
|
61708
|
-
* Resets the mount target of
|
|
63765
|
+
* Resets the mount target of a File Storage NAS (NAS) file system.
|
|
61709
63766
|
*
|
|
61710
63767
|
* @remarks
|
|
61711
63768
|
* 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 +64964,10 @@ export default class Client extends OpenApi {
|
|
|
62907
64964
|
query["RegionId"] = request.regionId;
|
|
62908
64965
|
}
|
|
62909
64966
|
|
|
64967
|
+
if (!Util.isUnset(request.systemDiskSize)) {
|
|
64968
|
+
query["SystemDiskSize"] = request.systemDiskSize;
|
|
64969
|
+
}
|
|
64970
|
+
|
|
62910
64971
|
let req = new $OpenApi.OpenApiRequest({
|
|
62911
64972
|
query: OpenApiUtil.query(query),
|
|
62912
64973
|
});
|