@alicloud/ecd20200930 4.5.3 → 4.5.4
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 +72 -64
- package/dist/client.js +39 -20
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +94 -64
package/dist/client.js
CHANGED
|
@@ -1619,6 +1619,7 @@ class DescribeDesktopGroupsResponseBodyDesktopGroups extends $dara.Model {
|
|
|
1619
1619
|
systemDiskCategory: 'SystemDiskCategory',
|
|
1620
1620
|
systemDiskSize: 'SystemDiskSize',
|
|
1621
1621
|
tags: 'Tags',
|
|
1622
|
+
userOuPath: 'UserOuPath',
|
|
1622
1623
|
version: 'Version',
|
|
1623
1624
|
volumeEncryptionEnabled: 'VolumeEncryptionEnabled',
|
|
1624
1625
|
volumeEncryptionKey: 'VolumeEncryptionKey',
|
|
@@ -1671,6 +1672,7 @@ class DescribeDesktopGroupsResponseBodyDesktopGroups extends $dara.Model {
|
|
|
1671
1672
|
systemDiskCategory: 'string',
|
|
1672
1673
|
systemDiskSize: 'number',
|
|
1673
1674
|
tags: { 'type': 'array', 'itemType': DescribeDesktopGroupsResponseBodyDesktopGroupsTags },
|
|
1675
|
+
userOuPath: 'string',
|
|
1674
1676
|
version: 'number',
|
|
1675
1677
|
volumeEncryptionEnabled: 'boolean',
|
|
1676
1678
|
volumeEncryptionKey: 'string',
|
|
@@ -6684,6 +6686,7 @@ class AddUserToDesktopGroupRequest extends $dara.Model {
|
|
|
6684
6686
|
desktopGroupIds: 'DesktopGroupIds',
|
|
6685
6687
|
endUserIds: 'EndUserIds',
|
|
6686
6688
|
regionId: 'RegionId',
|
|
6689
|
+
userOuPath: 'UserOuPath',
|
|
6687
6690
|
};
|
|
6688
6691
|
}
|
|
6689
6692
|
static types() {
|
|
@@ -6693,6 +6696,7 @@ class AddUserToDesktopGroupRequest extends $dara.Model {
|
|
|
6693
6696
|
desktopGroupIds: { 'type': 'array', 'itemType': 'string' },
|
|
6694
6697
|
endUserIds: { 'type': 'array', 'itemType': 'string' },
|
|
6695
6698
|
regionId: 'string',
|
|
6699
|
+
userOuPath: 'string',
|
|
6696
6700
|
};
|
|
6697
6701
|
}
|
|
6698
6702
|
validate() {
|
|
@@ -9298,6 +9302,7 @@ class CreateDesktopGroupRequest extends $dara.Model {
|
|
|
9298
9302
|
systemDiskSize: 'SystemDiskSize',
|
|
9299
9303
|
tag: 'Tag',
|
|
9300
9304
|
timerGroupId: 'TimerGroupId',
|
|
9305
|
+
userOuPath: 'UserOuPath',
|
|
9301
9306
|
volumeEncryptionEnabled: 'VolumeEncryptionEnabled',
|
|
9302
9307
|
volumeEncryptionKey: 'VolumeEncryptionKey',
|
|
9303
9308
|
vpcId: 'VpcId',
|
|
@@ -9358,6 +9363,7 @@ class CreateDesktopGroupRequest extends $dara.Model {
|
|
|
9358
9363
|
systemDiskSize: 'number',
|
|
9359
9364
|
tag: { 'type': 'array', 'itemType': CreateDesktopGroupRequestTag },
|
|
9360
9365
|
timerGroupId: 'string',
|
|
9366
|
+
userOuPath: 'string',
|
|
9361
9367
|
volumeEncryptionEnabled: 'boolean',
|
|
9362
9368
|
volumeEncryptionKey: 'string',
|
|
9363
9369
|
vpcId: 'string',
|
|
@@ -16681,6 +16687,7 @@ class DescribeUsersInGroupResponseBody extends $dara.Model {
|
|
|
16681
16687
|
nextToken: 'NextToken',
|
|
16682
16688
|
onlineUsersCount: 'OnlineUsersCount',
|
|
16683
16689
|
requestId: 'RequestId',
|
|
16690
|
+
userOuPath: 'UserOuPath',
|
|
16684
16691
|
usersCount: 'UsersCount',
|
|
16685
16692
|
};
|
|
16686
16693
|
}
|
|
@@ -16690,6 +16697,7 @@ class DescribeUsersInGroupResponseBody extends $dara.Model {
|
|
|
16690
16697
|
nextToken: 'string',
|
|
16691
16698
|
onlineUsersCount: 'number',
|
|
16692
16699
|
requestId: 'string',
|
|
16700
|
+
userOuPath: 'string',
|
|
16693
16701
|
usersCount: 'number',
|
|
16694
16702
|
};
|
|
16695
16703
|
}
|
|
@@ -22672,6 +22680,7 @@ class RemoveUserFromDesktopGroupRequest extends $dara.Model {
|
|
|
22672
22680
|
desktopGroupIds: 'DesktopGroupIds',
|
|
22673
22681
|
endUserIds: 'EndUserIds',
|
|
22674
22682
|
regionId: 'RegionId',
|
|
22683
|
+
userOuPath: 'UserOuPath',
|
|
22675
22684
|
};
|
|
22676
22685
|
}
|
|
22677
22686
|
static types() {
|
|
@@ -22680,6 +22689,7 @@ class RemoveUserFromDesktopGroupRequest extends $dara.Model {
|
|
|
22680
22689
|
desktopGroupIds: { 'type': 'array', 'itemType': 'string' },
|
|
22681
22690
|
endUserIds: { 'type': 'array', 'itemType': 'string' },
|
|
22682
22691
|
regionId: 'string',
|
|
22692
|
+
userOuPath: 'string',
|
|
22683
22693
|
};
|
|
22684
22694
|
}
|
|
22685
22695
|
validate() {
|
|
@@ -25406,7 +25416,7 @@ class Client extends openapi_core_1.default {
|
|
|
25406
25416
|
return await this.addFilePermissionWithOptions(request, runtime);
|
|
25407
25417
|
}
|
|
25408
25418
|
/**
|
|
25409
|
-
* Adds authorized
|
|
25419
|
+
* Adds authorized users for a cloud computer share. The system automatically assigns cloud computers from a share to authorized users based on administrator-configured rules.
|
|
25410
25420
|
*
|
|
25411
25421
|
* @param request - AddUserToDesktopGroupRequest
|
|
25412
25422
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -25430,6 +25440,9 @@ class Client extends openapi_core_1.default {
|
|
|
25430
25440
|
if (!$dara.isNull(request.regionId)) {
|
|
25431
25441
|
query["RegionId"] = request.regionId;
|
|
25432
25442
|
}
|
|
25443
|
+
if (!$dara.isNull(request.userOuPath)) {
|
|
25444
|
+
query["UserOuPath"] = request.userOuPath;
|
|
25445
|
+
}
|
|
25433
25446
|
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
25434
25447
|
query: openapi_core_2.OpenApiUtil.query(query),
|
|
25435
25448
|
});
|
|
@@ -25452,7 +25465,7 @@ class Client extends openapi_core_1.default {
|
|
|
25452
25465
|
}
|
|
25453
25466
|
}
|
|
25454
25467
|
/**
|
|
25455
|
-
* Adds authorized
|
|
25468
|
+
* Adds authorized users for a cloud computer share. The system automatically assigns cloud computers from a share to authorized users based on administrator-configured rules.
|
|
25456
25469
|
*
|
|
25457
25470
|
* @param request - AddUserToDesktopGroupRequest
|
|
25458
25471
|
* @returns AddUserToDesktopGroupResponse
|
|
@@ -27522,6 +27535,9 @@ class Client extends openapi_core_1.default {
|
|
|
27522
27535
|
if (!$dara.isNull(request.timerGroupId)) {
|
|
27523
27536
|
query["TimerGroupId"] = request.timerGroupId;
|
|
27524
27537
|
}
|
|
27538
|
+
if (!$dara.isNull(request.userOuPath)) {
|
|
27539
|
+
query["UserOuPath"] = request.userOuPath;
|
|
27540
|
+
}
|
|
27525
27541
|
if (!$dara.isNull(request.volumeEncryptionEnabled)) {
|
|
27526
27542
|
query["VolumeEncryptionEnabled"] = request.volumeEncryptionEnabled;
|
|
27527
27543
|
}
|
|
@@ -32871,7 +32887,7 @@ class Client extends openapi_core_1.default {
|
|
|
32871
32887
|
return await this.describeUserProfilePathRulesWithOptions(request, runtime);
|
|
32872
32888
|
}
|
|
32873
32889
|
/**
|
|
32874
|
-
* Queries the information about authorized users
|
|
32890
|
+
* Queries the information about authorized users of a cloud computer share, including the usernames, email addresses, mobile numbers, and cloud computer IDs.
|
|
32875
32891
|
*
|
|
32876
32892
|
* @param request - DescribeUsersInGroupRequest
|
|
32877
32893
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -32932,7 +32948,7 @@ class Client extends openapi_core_1.default {
|
|
|
32932
32948
|
}
|
|
32933
32949
|
}
|
|
32934
32950
|
/**
|
|
32935
|
-
* Queries the information about authorized users
|
|
32951
|
+
* Queries the information about authorized users of a cloud computer share, including the usernames, email addresses, mobile numbers, and cloud computer IDs.
|
|
32936
32952
|
*
|
|
32937
32953
|
* @param request - DescribeUsersInGroupRequest
|
|
32938
32954
|
* @returns DescribeUsersInGroupResponse
|
|
@@ -33478,7 +33494,7 @@ class Client extends openapi_core_1.default {
|
|
|
33478
33494
|
return await this.exportClientEventsWithOptions(request, runtime);
|
|
33479
33495
|
}
|
|
33480
33496
|
/**
|
|
33481
|
-
* Exports cloud computer
|
|
33497
|
+
* Exports cloud computer shares and saves the list as an XLSX file. Each entry includes the ID and name of the cloud computer share, the ID and name of the office network, the cloud computer share template, and the name of the security policy.
|
|
33482
33498
|
*
|
|
33483
33499
|
* @param request - ExportDesktopGroupInfoRequest
|
|
33484
33500
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -33545,7 +33561,7 @@ class Client extends openapi_core_1.default {
|
|
|
33545
33561
|
}
|
|
33546
33562
|
}
|
|
33547
33563
|
/**
|
|
33548
|
-
* Exports cloud computer
|
|
33564
|
+
* Exports cloud computer shares and saves the list as an XLSX file. Each entry includes the ID and name of the cloud computer share, the ID and name of the office network, the cloud computer share template, and the name of the security policy.
|
|
33549
33565
|
*
|
|
33550
33566
|
* @param request - ExportDesktopGroupInfoRequest
|
|
33551
33567
|
* @returns ExportDesktopGroupInfoResponse
|
|
@@ -37128,7 +37144,7 @@ class Client extends openapi_core_1.default {
|
|
|
37128
37144
|
return await this.modifyUserEntitlementWithOptions(request, runtime);
|
|
37129
37145
|
}
|
|
37130
37146
|
/**
|
|
37131
|
-
*
|
|
37147
|
+
* Replaces the existing authorized users of a cloud computer share with different users
|
|
37132
37148
|
*
|
|
37133
37149
|
* @param request - ModifyUserToDesktopGroupRequest
|
|
37134
37150
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -37171,7 +37187,7 @@ class Client extends openapi_core_1.default {
|
|
|
37171
37187
|
}
|
|
37172
37188
|
}
|
|
37173
37189
|
/**
|
|
37174
|
-
*
|
|
37190
|
+
* Replaces the existing authorized users of a cloud computer share with different users
|
|
37175
37191
|
*
|
|
37176
37192
|
* @param request - ModifyUserToDesktopGroupRequest
|
|
37177
37193
|
* @returns ModifyUserToDesktopGroupResponse
|
|
@@ -37435,7 +37451,7 @@ class Client extends openapi_core_1.default {
|
|
|
37435
37451
|
return await this.removeFilePermissionWithOptions(request, runtime);
|
|
37436
37452
|
}
|
|
37437
37453
|
/**
|
|
37438
|
-
*
|
|
37454
|
+
* Revokes user access permissions for a cloud computer share. Once access permissions for a cloud computer share are revoked from a user, the user can no longer access any cloud computers within that share.
|
|
37439
37455
|
*
|
|
37440
37456
|
* @param request - RemoveUserFromDesktopGroupRequest
|
|
37441
37457
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -37456,6 +37472,9 @@ class Client extends openapi_core_1.default {
|
|
|
37456
37472
|
if (!$dara.isNull(request.regionId)) {
|
|
37457
37473
|
query["RegionId"] = request.regionId;
|
|
37458
37474
|
}
|
|
37475
|
+
if (!$dara.isNull(request.userOuPath)) {
|
|
37476
|
+
query["UserOuPath"] = request.userOuPath;
|
|
37477
|
+
}
|
|
37459
37478
|
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
37460
37479
|
query: openapi_core_2.OpenApiUtil.query(query),
|
|
37461
37480
|
});
|
|
@@ -37478,7 +37497,7 @@ class Client extends openapi_core_1.default {
|
|
|
37478
37497
|
}
|
|
37479
37498
|
}
|
|
37480
37499
|
/**
|
|
37481
|
-
*
|
|
37500
|
+
* Revokes user access permissions for a cloud computer share. Once access permissions for a cloud computer share are revoked from a user, the user can no longer access any cloud computers within that share.
|
|
37482
37501
|
*
|
|
37483
37502
|
* @param request - RemoveUserFromDesktopGroupRequest
|
|
37484
37503
|
* @returns RemoveUserFromDesktopGroupResponse
|
|
@@ -37541,7 +37560,7 @@ class Client extends openapi_core_1.default {
|
|
|
37541
37560
|
return await this.removeUserFromDesktopOversoldUserGroupWithOptions(request, runtime);
|
|
37542
37561
|
}
|
|
37543
37562
|
/**
|
|
37544
|
-
*
|
|
37563
|
+
* Renews a shared cloud computer.
|
|
37545
37564
|
*
|
|
37546
37565
|
* @param request - RenewDesktopGroupRequest
|
|
37547
37566
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -37590,7 +37609,7 @@ class Client extends openapi_core_1.default {
|
|
|
37590
37609
|
}
|
|
37591
37610
|
}
|
|
37592
37611
|
/**
|
|
37593
|
-
*
|
|
37612
|
+
* Renews a shared cloud computer.
|
|
37594
37613
|
*
|
|
37595
37614
|
* @param request - RenewDesktopGroupRequest
|
|
37596
37615
|
* @returns RenewDesktopGroupResponse
|
|
@@ -37777,10 +37796,10 @@ class Client extends openapi_core_1.default {
|
|
|
37777
37796
|
return await this.renewNetworkPackagesWithOptions(request, runtime);
|
|
37778
37797
|
}
|
|
37779
37798
|
/**
|
|
37780
|
-
* Resets cloud computers.
|
|
37799
|
+
* Resets cloud computers of a cloud computer share.
|
|
37781
37800
|
*
|
|
37782
37801
|
* @remarks
|
|
37783
|
-
* >
|
|
37802
|
+
* > You can call this operation to reset only cloud computers from a cloud computer share.
|
|
37784
37803
|
*
|
|
37785
37804
|
* @param request - ResetDesktopsRequest
|
|
37786
37805
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -37835,10 +37854,10 @@ class Client extends openapi_core_1.default {
|
|
|
37835
37854
|
}
|
|
37836
37855
|
}
|
|
37837
37856
|
/**
|
|
37838
|
-
* Resets cloud computers.
|
|
37857
|
+
* Resets cloud computers of a cloud computer share.
|
|
37839
37858
|
*
|
|
37840
37859
|
* @remarks
|
|
37841
|
-
* >
|
|
37860
|
+
* > You can call this operation to reset only cloud computers from a cloud computer share.
|
|
37842
37861
|
*
|
|
37843
37862
|
* @param request - ResetDesktopsRequest
|
|
37844
37863
|
* @returns ResetDesktopsResponse
|
|
@@ -38190,7 +38209,7 @@ class Client extends openapi_core_1.default {
|
|
|
38190
38209
|
return await this.setDesktopGroupScaleTimerWithOptions(request, runtime);
|
|
38191
38210
|
}
|
|
38192
38211
|
/**
|
|
38193
|
-
* Configures a scheduled
|
|
38212
|
+
* Configures a scheduled start, stop, restart, or reset task for a cloud computer share.
|
|
38194
38213
|
*
|
|
38195
38214
|
* @param request - SetDesktopGroupTimerRequest
|
|
38196
38215
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -38239,7 +38258,7 @@ class Client extends openapi_core_1.default {
|
|
|
38239
38258
|
}
|
|
38240
38259
|
}
|
|
38241
38260
|
/**
|
|
38242
|
-
* Configures a scheduled
|
|
38261
|
+
* Configures a scheduled start, stop, restart, or reset task for a cloud computer share.
|
|
38243
38262
|
*
|
|
38244
38263
|
* @param request - SetDesktopGroupTimerRequest
|
|
38245
38264
|
* @returns SetDesktopGroupTimerResponse
|
|
@@ -38249,7 +38268,7 @@ class Client extends openapi_core_1.default {
|
|
|
38249
38268
|
return await this.setDesktopGroupTimerWithOptions(request, runtime);
|
|
38250
38269
|
}
|
|
38251
38270
|
/**
|
|
38252
|
-
* Sets the status of a scheduled task for a cloud computer
|
|
38271
|
+
* Sets the status of a scheduled task for a cloud computer share, such as enabling or disabling it.
|
|
38253
38272
|
*
|
|
38254
38273
|
* @param request - SetDesktopGroupTimerStatusRequest
|
|
38255
38274
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -38292,7 +38311,7 @@ class Client extends openapi_core_1.default {
|
|
|
38292
38311
|
}
|
|
38293
38312
|
}
|
|
38294
38313
|
/**
|
|
38295
|
-
* Sets the status of a scheduled task for a cloud computer
|
|
38314
|
+
* Sets the status of a scheduled task for a cloud computer share, such as enabling or disabling it.
|
|
38296
38315
|
*
|
|
38297
38316
|
* @param request - SetDesktopGroupTimerStatusRequest
|
|
38298
38317
|
* @returns SetDesktopGroupTimerStatusResponse
|