@alicloud/ecd20200930 4.6.1 → 4.6.3
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 +269 -86
- package/dist/client.js +46 -0
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +314 -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',
|
|
@@ -4124,6 +4128,8 @@ class DescribeOfficeSitesResponseBodyOfficeSites extends $dara.Model {
|
|
|
4124
4128
|
enableInternetAccess: 'EnableInternetAccess',
|
|
4125
4129
|
enableServiceRoute: 'EnableServiceRoute',
|
|
4126
4130
|
fileSystemIds: 'FileSystemIds',
|
|
4131
|
+
isLdap: 'IsLdap',
|
|
4132
|
+
ldapUrl: 'LdapUrl',
|
|
4127
4133
|
logs: 'Logs',
|
|
4128
4134
|
mfaEnabled: 'MfaEnabled',
|
|
4129
4135
|
name: 'Name',
|
|
@@ -4184,6 +4190,8 @@ class DescribeOfficeSitesResponseBodyOfficeSites extends $dara.Model {
|
|
|
4184
4190
|
enableInternetAccess: 'boolean',
|
|
4185
4191
|
enableServiceRoute: 'boolean',
|
|
4186
4192
|
fileSystemIds: { 'type': 'array', 'itemType': 'string' },
|
|
4193
|
+
isLdap: 'boolean',
|
|
4194
|
+
ldapUrl: 'string',
|
|
4187
4195
|
logs: { 'type': 'array', 'itemType': DescribeOfficeSitesResponseBodyOfficeSitesLogs },
|
|
4188
4196
|
mfaEnabled: 'boolean',
|
|
4189
4197
|
name: 'string',
|
|
@@ -5187,6 +5195,8 @@ class DescribeSnapshotsResponseBodySnapshots extends $dara.Model {
|
|
|
5187
5195
|
desktopId: 'DesktopId',
|
|
5188
5196
|
desktopName: 'DesktopName',
|
|
5189
5197
|
desktopStatus: 'DesktopStatus',
|
|
5198
|
+
diskStatus: 'DiskStatus',
|
|
5199
|
+
osType: 'OsType',
|
|
5190
5200
|
progress: 'Progress',
|
|
5191
5201
|
protocolType: 'ProtocolType',
|
|
5192
5202
|
remainTime: 'RemainTime',
|
|
@@ -5211,6 +5221,8 @@ class DescribeSnapshotsResponseBodySnapshots extends $dara.Model {
|
|
|
5211
5221
|
desktopId: 'string',
|
|
5212
5222
|
desktopName: 'string',
|
|
5213
5223
|
desktopStatus: 'string',
|
|
5224
|
+
diskStatus: 'string',
|
|
5225
|
+
osType: 'string',
|
|
5214
5226
|
progress: 'string',
|
|
5215
5227
|
protocolType: 'string',
|
|
5216
5228
|
remainTime: 'number',
|
|
@@ -5549,6 +5561,7 @@ class DescribeUsersInGroupResponseBodyEndUsers extends $dara.Model {
|
|
|
5549
5561
|
desktopId: 'DesktopId',
|
|
5550
5562
|
desktopName: 'DesktopName',
|
|
5551
5563
|
displayName: 'DisplayName',
|
|
5564
|
+
displayNameNew: 'DisplayNameNew',
|
|
5552
5565
|
endUserEmail: 'EndUserEmail',
|
|
5553
5566
|
endUserId: 'EndUserId',
|
|
5554
5567
|
endUserName: 'EndUserName',
|
|
@@ -5557,6 +5570,7 @@ class DescribeUsersInGroupResponseBodyEndUsers extends $dara.Model {
|
|
|
5557
5570
|
endUserType: 'EndUserType',
|
|
5558
5571
|
externalInfo: 'ExternalInfo',
|
|
5559
5572
|
userDesktopId: 'UserDesktopId',
|
|
5573
|
+
userPrincipalName: 'UserPrincipalName',
|
|
5560
5574
|
userSetPropertiesModels: 'UserSetPropertiesModels',
|
|
5561
5575
|
};
|
|
5562
5576
|
}
|
|
@@ -5566,6 +5580,7 @@ class DescribeUsersInGroupResponseBodyEndUsers extends $dara.Model {
|
|
|
5566
5580
|
desktopId: 'string',
|
|
5567
5581
|
desktopName: 'string',
|
|
5568
5582
|
displayName: 'string',
|
|
5583
|
+
displayNameNew: 'string',
|
|
5569
5584
|
endUserEmail: 'string',
|
|
5570
5585
|
endUserId: 'string',
|
|
5571
5586
|
endUserName: 'string',
|
|
@@ -5574,6 +5589,7 @@ class DescribeUsersInGroupResponseBodyEndUsers extends $dara.Model {
|
|
|
5574
5589
|
endUserType: 'string',
|
|
5575
5590
|
externalInfo: DescribeUsersInGroupResponseBodyEndUsersExternalInfo,
|
|
5576
5591
|
userDesktopId: 'string',
|
|
5592
|
+
userPrincipalName: 'string',
|
|
5577
5593
|
userSetPropertiesModels: { 'type': 'array', 'itemType': DescribeUsersInGroupResponseBodyEndUsersUserSetPropertiesModels },
|
|
5578
5594
|
};
|
|
5579
5595
|
}
|
|
@@ -6063,18 +6079,22 @@ class ListDirectoryUsersResponseBodyUsers extends $dara.Model {
|
|
|
6063
6079
|
return {
|
|
6064
6080
|
assignedDesktopNumber: 'AssignedDesktopNumber',
|
|
6065
6081
|
displayName: 'DisplayName',
|
|
6082
|
+
displayNameNew: 'DisplayNameNew',
|
|
6066
6083
|
email: 'Email',
|
|
6067
6084
|
endUser: 'EndUser',
|
|
6068
6085
|
phone: 'Phone',
|
|
6086
|
+
userPrincipalName: 'UserPrincipalName',
|
|
6069
6087
|
};
|
|
6070
6088
|
}
|
|
6071
6089
|
static types() {
|
|
6072
6090
|
return {
|
|
6073
6091
|
assignedDesktopNumber: 'number',
|
|
6074
6092
|
displayName: 'string',
|
|
6093
|
+
displayNameNew: 'string',
|
|
6075
6094
|
email: 'string',
|
|
6076
6095
|
endUser: 'string',
|
|
6077
6096
|
phone: 'string',
|
|
6097
|
+
userPrincipalName: 'string',
|
|
6078
6098
|
};
|
|
6079
6099
|
}
|
|
6080
6100
|
validate() {
|
|
@@ -6133,18 +6153,22 @@ class ListOfficeSiteUsersResponseBodyUsers extends $dara.Model {
|
|
|
6133
6153
|
return {
|
|
6134
6154
|
assignedDesktopNumber: 'AssignedDesktopNumber',
|
|
6135
6155
|
displayName: 'DisplayName',
|
|
6156
|
+
displayNameNew: 'DisplayNameNew',
|
|
6136
6157
|
email: 'Email',
|
|
6137
6158
|
endUser: 'EndUser',
|
|
6138
6159
|
phone: 'Phone',
|
|
6160
|
+
userPrincipalName: 'UserPrincipalName',
|
|
6139
6161
|
};
|
|
6140
6162
|
}
|
|
6141
6163
|
static types() {
|
|
6142
6164
|
return {
|
|
6143
6165
|
assignedDesktopNumber: 'number',
|
|
6144
6166
|
displayName: 'string',
|
|
6167
|
+
displayNameNew: 'string',
|
|
6145
6168
|
email: 'string',
|
|
6146
6169
|
endUser: 'string',
|
|
6147
6170
|
phone: 'string',
|
|
6171
|
+
userPrincipalName: 'string',
|
|
6148
6172
|
};
|
|
6149
6173
|
}
|
|
6150
6174
|
validate() {
|
|
@@ -11265,6 +11289,7 @@ class CreateImageRequest extends $dara.Model {
|
|
|
11265
11289
|
static names() {
|
|
11266
11290
|
return {
|
|
11267
11291
|
autoCleanUserdata: 'AutoCleanUserdata',
|
|
11292
|
+
dataSnapshotIds: 'DataSnapshotIds',
|
|
11268
11293
|
description: 'Description',
|
|
11269
11294
|
desktopId: 'DesktopId',
|
|
11270
11295
|
diskType: 'DiskType',
|
|
@@ -11278,6 +11303,7 @@ class CreateImageRequest extends $dara.Model {
|
|
|
11278
11303
|
static types() {
|
|
11279
11304
|
return {
|
|
11280
11305
|
autoCleanUserdata: 'boolean',
|
|
11306
|
+
dataSnapshotIds: { 'type': 'array', 'itemType': 'string' },
|
|
11281
11307
|
description: 'string',
|
|
11282
11308
|
desktopId: 'string',
|
|
11283
11309
|
diskType: 'string',
|
|
@@ -11289,6 +11315,9 @@ class CreateImageRequest extends $dara.Model {
|
|
|
11289
11315
|
};
|
|
11290
11316
|
}
|
|
11291
11317
|
validate() {
|
|
11318
|
+
if (Array.isArray(this.dataSnapshotIds)) {
|
|
11319
|
+
$dara.Model.validateArray(this.dataSnapshotIds);
|
|
11320
|
+
}
|
|
11292
11321
|
if (Array.isArray(this.snapshotIds)) {
|
|
11293
11322
|
$dara.Model.validateArray(this.snapshotIds);
|
|
11294
11323
|
}
|
|
@@ -17843,6 +17872,7 @@ class DescribeSnapshotsRequest extends $dara.Model {
|
|
|
17843
17872
|
endTime: 'EndTime',
|
|
17844
17873
|
maxResults: 'MaxResults',
|
|
17845
17874
|
nextToken: 'NextToken',
|
|
17875
|
+
osType: 'OsType',
|
|
17846
17876
|
regionId: 'RegionId',
|
|
17847
17877
|
snapshotId: 'SnapshotId',
|
|
17848
17878
|
snapshotName: 'SnapshotName',
|
|
@@ -17859,6 +17889,7 @@ class DescribeSnapshotsRequest extends $dara.Model {
|
|
|
17859
17889
|
endTime: 'string',
|
|
17860
17890
|
maxResults: 'number',
|
|
17861
17891
|
nextToken: 'string',
|
|
17892
|
+
osType: 'string',
|
|
17862
17893
|
regionId: 'string',
|
|
17863
17894
|
snapshotId: 'string',
|
|
17864
17895
|
snapshotName: 'string',
|
|
@@ -24517,6 +24548,7 @@ exports.RebootDesktopsResponse = RebootDesktopsResponse;
|
|
|
24517
24548
|
class RebuildDesktopsRequest extends $dara.Model {
|
|
24518
24549
|
static names() {
|
|
24519
24550
|
return {
|
|
24551
|
+
afterStatus: 'AfterStatus',
|
|
24520
24552
|
desktopId: 'DesktopId',
|
|
24521
24553
|
imageId: 'ImageId',
|
|
24522
24554
|
language: 'Language',
|
|
@@ -24526,6 +24558,7 @@ class RebuildDesktopsRequest extends $dara.Model {
|
|
|
24526
24558
|
}
|
|
24527
24559
|
static types() {
|
|
24528
24560
|
return {
|
|
24561
|
+
afterStatus: 'string',
|
|
24529
24562
|
desktopId: { 'type': 'array', 'itemType': 'string' },
|
|
24530
24563
|
imageId: 'string',
|
|
24531
24564
|
language: 'string',
|
|
@@ -30319,6 +30352,9 @@ class Client extends openapi_core_1.default {
|
|
|
30319
30352
|
if (!$dara.isNull(request.autoCleanUserdata)) {
|
|
30320
30353
|
query["AutoCleanUserdata"] = request.autoCleanUserdata;
|
|
30321
30354
|
}
|
|
30355
|
+
if (!$dara.isNull(request.dataSnapshotIds)) {
|
|
30356
|
+
query["DataSnapshotIds"] = request.dataSnapshotIds;
|
|
30357
|
+
}
|
|
30322
30358
|
if (!$dara.isNull(request.description)) {
|
|
30323
30359
|
query["Description"] = request.description;
|
|
30324
30360
|
}
|
|
@@ -31111,6 +31147,8 @@ class Client extends openapi_core_1.default {
|
|
|
31111
31147
|
return await this.deleteCdsFileWithOptions(request, runtime);
|
|
31112
31148
|
}
|
|
31113
31149
|
/**
|
|
31150
|
+
* Deletes a center policy
|
|
31151
|
+
*
|
|
31114
31152
|
* @param request - DeleteCenterPolicyRequest
|
|
31115
31153
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
31116
31154
|
* @returns DeleteCenterPolicyResponse
|
|
@@ -31152,6 +31190,8 @@ class Client extends openapi_core_1.default {
|
|
|
31152
31190
|
}
|
|
31153
31191
|
}
|
|
31154
31192
|
/**
|
|
31193
|
+
* Deletes a center policy
|
|
31194
|
+
*
|
|
31155
31195
|
* @param request - DeleteCenterPolicyRequest
|
|
31156
31196
|
* @returns DeleteCenterPolicyResponse
|
|
31157
31197
|
*/
|
|
@@ -35188,6 +35228,9 @@ class Client extends openapi_core_1.default {
|
|
|
35188
35228
|
if (!$dara.isNull(request.nextToken)) {
|
|
35189
35229
|
query["NextToken"] = request.nextToken;
|
|
35190
35230
|
}
|
|
35231
|
+
if (!$dara.isNull(request.osType)) {
|
|
35232
|
+
query["OsType"] = request.osType;
|
|
35233
|
+
}
|
|
35191
35234
|
if (!$dara.isNull(request.regionId)) {
|
|
35192
35235
|
query["RegionId"] = request.regionId;
|
|
35193
35236
|
}
|
|
@@ -40323,6 +40366,9 @@ class Client extends openapi_core_1.default {
|
|
|
40323
40366
|
async rebuildDesktopsWithOptions(request, runtime) {
|
|
40324
40367
|
request.validate();
|
|
40325
40368
|
let query = {};
|
|
40369
|
+
if (!$dara.isNull(request.afterStatus)) {
|
|
40370
|
+
query["AfterStatus"] = request.afterStatus;
|
|
40371
|
+
}
|
|
40326
40372
|
if (!$dara.isNull(request.desktopId)) {
|
|
40327
40373
|
query["DesktopId"] = request.desktopId;
|
|
40328
40374
|
}
|