@alicloud/ecd20200930 4.6.1 → 4.6.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +264 -86
- package/dist/client.js +33 -0
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +295 -86
package/dist/client.js
CHANGED
|
@@ -2242,6 +2242,7 @@ class DescribeDesktopGroupsResponseBodyDesktopGroups extends $dara.Model {
|
|
|
2242
2242
|
gpuSpec: 'GpuSpec',
|
|
2243
2243
|
idleDisconnectDuration: 'IdleDisconnectDuration',
|
|
2244
2244
|
imageId: 'ImageId',
|
|
2245
|
+
isLdap: 'IsLdap',
|
|
2245
2246
|
keepDuration: 'KeepDuration',
|
|
2246
2247
|
loadPolicy: 'LoadPolicy',
|
|
2247
2248
|
maxDesktopsCount: 'MaxDesktopsCount',
|
|
@@ -2295,6 +2296,7 @@ class DescribeDesktopGroupsResponseBodyDesktopGroups extends $dara.Model {
|
|
|
2295
2296
|
gpuSpec: 'string',
|
|
2296
2297
|
idleDisconnectDuration: 'number',
|
|
2297
2298
|
imageId: 'string',
|
|
2299
|
+
isLdap: 'boolean',
|
|
2298
2300
|
keepDuration: 'number',
|
|
2299
2301
|
loadPolicy: 'number',
|
|
2300
2302
|
maxDesktopsCount: 'number',
|
|
@@ -2853,6 +2855,7 @@ class DescribeDesktopsResponseBodyDesktops extends $dara.Model {
|
|
|
2853
2855
|
hibernationOptionsConfigured: 'HibernationOptionsConfigured',
|
|
2854
2856
|
hostName: 'HostName',
|
|
2855
2857
|
imageId: 'ImageId',
|
|
2858
|
+
isLdap: 'IsLdap',
|
|
2856
2859
|
managementFlag: 'ManagementFlag',
|
|
2857
2860
|
managementFlags: 'ManagementFlags',
|
|
2858
2861
|
memory: 'Memory',
|
|
@@ -2920,6 +2923,7 @@ class DescribeDesktopsResponseBodyDesktops extends $dara.Model {
|
|
|
2920
2923
|
hibernationOptionsConfigured: 'boolean',
|
|
2921
2924
|
hostName: 'string',
|
|
2922
2925
|
imageId: 'string',
|
|
2926
|
+
isLdap: 'boolean',
|
|
2923
2927
|
managementFlag: 'string',
|
|
2924
2928
|
managementFlags: { 'type': 'array', 'itemType': 'string' },
|
|
2925
2929
|
memory: 'number',
|
|
@@ -5549,6 +5553,7 @@ class DescribeUsersInGroupResponseBodyEndUsers extends $dara.Model {
|
|
|
5549
5553
|
desktopId: 'DesktopId',
|
|
5550
5554
|
desktopName: 'DesktopName',
|
|
5551
5555
|
displayName: 'DisplayName',
|
|
5556
|
+
displayNameNew: 'DisplayNameNew',
|
|
5552
5557
|
endUserEmail: 'EndUserEmail',
|
|
5553
5558
|
endUserId: 'EndUserId',
|
|
5554
5559
|
endUserName: 'EndUserName',
|
|
@@ -5557,6 +5562,7 @@ class DescribeUsersInGroupResponseBodyEndUsers extends $dara.Model {
|
|
|
5557
5562
|
endUserType: 'EndUserType',
|
|
5558
5563
|
externalInfo: 'ExternalInfo',
|
|
5559
5564
|
userDesktopId: 'UserDesktopId',
|
|
5565
|
+
userPrincipalName: 'UserPrincipalName',
|
|
5560
5566
|
userSetPropertiesModels: 'UserSetPropertiesModels',
|
|
5561
5567
|
};
|
|
5562
5568
|
}
|
|
@@ -5566,6 +5572,7 @@ class DescribeUsersInGroupResponseBodyEndUsers extends $dara.Model {
|
|
|
5566
5572
|
desktopId: 'string',
|
|
5567
5573
|
desktopName: 'string',
|
|
5568
5574
|
displayName: 'string',
|
|
5575
|
+
displayNameNew: 'string',
|
|
5569
5576
|
endUserEmail: 'string',
|
|
5570
5577
|
endUserId: 'string',
|
|
5571
5578
|
endUserName: 'string',
|
|
@@ -5574,6 +5581,7 @@ class DescribeUsersInGroupResponseBodyEndUsers extends $dara.Model {
|
|
|
5574
5581
|
endUserType: 'string',
|
|
5575
5582
|
externalInfo: DescribeUsersInGroupResponseBodyEndUsersExternalInfo,
|
|
5576
5583
|
userDesktopId: 'string',
|
|
5584
|
+
userPrincipalName: 'string',
|
|
5577
5585
|
userSetPropertiesModels: { 'type': 'array', 'itemType': DescribeUsersInGroupResponseBodyEndUsersUserSetPropertiesModels },
|
|
5578
5586
|
};
|
|
5579
5587
|
}
|
|
@@ -6063,18 +6071,22 @@ class ListDirectoryUsersResponseBodyUsers extends $dara.Model {
|
|
|
6063
6071
|
return {
|
|
6064
6072
|
assignedDesktopNumber: 'AssignedDesktopNumber',
|
|
6065
6073
|
displayName: 'DisplayName',
|
|
6074
|
+
displayNameNew: 'DisplayNameNew',
|
|
6066
6075
|
email: 'Email',
|
|
6067
6076
|
endUser: 'EndUser',
|
|
6068
6077
|
phone: 'Phone',
|
|
6078
|
+
userPrincipalName: 'UserPrincipalName',
|
|
6069
6079
|
};
|
|
6070
6080
|
}
|
|
6071
6081
|
static types() {
|
|
6072
6082
|
return {
|
|
6073
6083
|
assignedDesktopNumber: 'number',
|
|
6074
6084
|
displayName: 'string',
|
|
6085
|
+
displayNameNew: 'string',
|
|
6075
6086
|
email: 'string',
|
|
6076
6087
|
endUser: 'string',
|
|
6077
6088
|
phone: 'string',
|
|
6089
|
+
userPrincipalName: 'string',
|
|
6078
6090
|
};
|
|
6079
6091
|
}
|
|
6080
6092
|
validate() {
|
|
@@ -6133,18 +6145,22 @@ class ListOfficeSiteUsersResponseBodyUsers extends $dara.Model {
|
|
|
6133
6145
|
return {
|
|
6134
6146
|
assignedDesktopNumber: 'AssignedDesktopNumber',
|
|
6135
6147
|
displayName: 'DisplayName',
|
|
6148
|
+
displayNameNew: 'DisplayNameNew',
|
|
6136
6149
|
email: 'Email',
|
|
6137
6150
|
endUser: 'EndUser',
|
|
6138
6151
|
phone: 'Phone',
|
|
6152
|
+
userPrincipalName: 'UserPrincipalName',
|
|
6139
6153
|
};
|
|
6140
6154
|
}
|
|
6141
6155
|
static types() {
|
|
6142
6156
|
return {
|
|
6143
6157
|
assignedDesktopNumber: 'number',
|
|
6144
6158
|
displayName: 'string',
|
|
6159
|
+
displayNameNew: 'string',
|
|
6145
6160
|
email: 'string',
|
|
6146
6161
|
endUser: 'string',
|
|
6147
6162
|
phone: 'string',
|
|
6163
|
+
userPrincipalName: 'string',
|
|
6148
6164
|
};
|
|
6149
6165
|
}
|
|
6150
6166
|
validate() {
|
|
@@ -11265,6 +11281,7 @@ class CreateImageRequest extends $dara.Model {
|
|
|
11265
11281
|
static names() {
|
|
11266
11282
|
return {
|
|
11267
11283
|
autoCleanUserdata: 'AutoCleanUserdata',
|
|
11284
|
+
dataSnapshotIds: 'DataSnapshotIds',
|
|
11268
11285
|
description: 'Description',
|
|
11269
11286
|
desktopId: 'DesktopId',
|
|
11270
11287
|
diskType: 'DiskType',
|
|
@@ -11278,6 +11295,7 @@ class CreateImageRequest extends $dara.Model {
|
|
|
11278
11295
|
static types() {
|
|
11279
11296
|
return {
|
|
11280
11297
|
autoCleanUserdata: 'boolean',
|
|
11298
|
+
dataSnapshotIds: { 'type': 'array', 'itemType': 'string' },
|
|
11281
11299
|
description: 'string',
|
|
11282
11300
|
desktopId: 'string',
|
|
11283
11301
|
diskType: 'string',
|
|
@@ -11289,6 +11307,9 @@ class CreateImageRequest extends $dara.Model {
|
|
|
11289
11307
|
};
|
|
11290
11308
|
}
|
|
11291
11309
|
validate() {
|
|
11310
|
+
if (Array.isArray(this.dataSnapshotIds)) {
|
|
11311
|
+
$dara.Model.validateArray(this.dataSnapshotIds);
|
|
11312
|
+
}
|
|
11292
11313
|
if (Array.isArray(this.snapshotIds)) {
|
|
11293
11314
|
$dara.Model.validateArray(this.snapshotIds);
|
|
11294
11315
|
}
|
|
@@ -24517,6 +24538,7 @@ exports.RebootDesktopsResponse = RebootDesktopsResponse;
|
|
|
24517
24538
|
class RebuildDesktopsRequest extends $dara.Model {
|
|
24518
24539
|
static names() {
|
|
24519
24540
|
return {
|
|
24541
|
+
afterStatus: 'AfterStatus',
|
|
24520
24542
|
desktopId: 'DesktopId',
|
|
24521
24543
|
imageId: 'ImageId',
|
|
24522
24544
|
language: 'Language',
|
|
@@ -24526,6 +24548,7 @@ class RebuildDesktopsRequest extends $dara.Model {
|
|
|
24526
24548
|
}
|
|
24527
24549
|
static types() {
|
|
24528
24550
|
return {
|
|
24551
|
+
afterStatus: 'string',
|
|
24529
24552
|
desktopId: { 'type': 'array', 'itemType': 'string' },
|
|
24530
24553
|
imageId: 'string',
|
|
24531
24554
|
language: 'string',
|
|
@@ -30319,6 +30342,9 @@ class Client extends openapi_core_1.default {
|
|
|
30319
30342
|
if (!$dara.isNull(request.autoCleanUserdata)) {
|
|
30320
30343
|
query["AutoCleanUserdata"] = request.autoCleanUserdata;
|
|
30321
30344
|
}
|
|
30345
|
+
if (!$dara.isNull(request.dataSnapshotIds)) {
|
|
30346
|
+
query["DataSnapshotIds"] = request.dataSnapshotIds;
|
|
30347
|
+
}
|
|
30322
30348
|
if (!$dara.isNull(request.description)) {
|
|
30323
30349
|
query["Description"] = request.description;
|
|
30324
30350
|
}
|
|
@@ -31111,6 +31137,8 @@ class Client extends openapi_core_1.default {
|
|
|
31111
31137
|
return await this.deleteCdsFileWithOptions(request, runtime);
|
|
31112
31138
|
}
|
|
31113
31139
|
/**
|
|
31140
|
+
* Deletes a center policy
|
|
31141
|
+
*
|
|
31114
31142
|
* @param request - DeleteCenterPolicyRequest
|
|
31115
31143
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
31116
31144
|
* @returns DeleteCenterPolicyResponse
|
|
@@ -31152,6 +31180,8 @@ class Client extends openapi_core_1.default {
|
|
|
31152
31180
|
}
|
|
31153
31181
|
}
|
|
31154
31182
|
/**
|
|
31183
|
+
* Deletes a center policy
|
|
31184
|
+
*
|
|
31155
31185
|
* @param request - DeleteCenterPolicyRequest
|
|
31156
31186
|
* @returns DeleteCenterPolicyResponse
|
|
31157
31187
|
*/
|
|
@@ -40323,6 +40353,9 @@ class Client extends openapi_core_1.default {
|
|
|
40323
40353
|
async rebuildDesktopsWithOptions(request, runtime) {
|
|
40324
40354
|
request.validate();
|
|
40325
40355
|
let query = {};
|
|
40356
|
+
if (!$dara.isNull(request.afterStatus)) {
|
|
40357
|
+
query["AfterStatus"] = request.afterStatus;
|
|
40358
|
+
}
|
|
40326
40359
|
if (!$dara.isNull(request.desktopId)) {
|
|
40327
40360
|
query["DesktopId"] = request.desktopId;
|
|
40328
40361
|
}
|