@alicloud/ecd20200930 5.7.0 → 5.8.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 +67 -16
- package/dist/client.js +187 -16
- package/dist/client.js.map +1 -1
- package/dist/models/CreateDesktopGroupRequest.d.ts +34 -34
- package/dist/models/CreateDriveRequest.d.ts +8 -0
- package/dist/models/CreateDriveRequest.js +5 -0
- package/dist/models/CreateDriveRequest.js.map +1 -1
- package/dist/models/CreateDriveResponseBody.d.ts +1 -1
- package/dist/models/DeleteCloudDriveServicesRequest.d.ts +1 -1
- package/dist/models/DeleteDriveRequest.d.ts +24 -0
- package/dist/models/DeleteDriveRequest.js +6 -0
- package/dist/models/DeleteDriveRequest.js.map +1 -1
- package/dist/models/DescribeDesktopIdsByVulNamesRequest.d.ts +64 -0
- package/dist/models/DescribeDesktopIdsByVulNamesRequest.js +69 -0
- package/dist/models/DescribeDesktopIdsByVulNamesRequest.js.map +1 -0
- package/dist/models/DescribeDesktopIdsByVulNamesResponse.d.ts +19 -0
- package/dist/models/DescribeDesktopIdsByVulNamesResponse.js +69 -0
- package/dist/models/DescribeDesktopIdsByVulNamesResponse.js.map +1 -0
- package/dist/models/DescribeDesktopIdsByVulNamesResponseBody.d.ts +54 -0
- package/dist/models/DescribeDesktopIdsByVulNamesResponseBody.js +84 -0
- package/dist/models/DescribeDesktopIdsByVulNamesResponseBody.js.map +1 -0
- package/dist/models/DescribeNasfileSystemsRequest.d.ts +5 -9
- package/dist/models/DescribeNasfileSystemsRequest.js.map +1 -1
- package/dist/models/DescribeNasfileSystemsResponseBody.d.ts +21 -23
- package/dist/models/DescribeNasfileSystemsResponseBody.js.map +1 -1
- package/dist/models/DescribeOfficeSitesRequest.d.ts +8 -11
- package/dist/models/DescribeOfficeSitesRequest.js.map +1 -1
- package/dist/models/DescribeOfficeSitesResponseBody.d.ts +69 -54
- package/dist/models/DescribeOfficeSitesResponseBody.js +4 -0
- package/dist/models/DescribeOfficeSitesResponseBody.js.map +1 -1
- package/dist/models/DescribeResourceStatisticByRegionRequest.d.ts +28 -0
- package/dist/models/DescribeResourceStatisticByRegionRequest.js +62 -0
- package/dist/models/DescribeResourceStatisticByRegionRequest.js.map +1 -0
- package/dist/models/DescribeResourceStatisticByRegionResponse.d.ts +19 -0
- package/dist/models/DescribeResourceStatisticByRegionResponse.js +69 -0
- package/dist/models/DescribeResourceStatisticByRegionResponse.js.map +1 -0
- package/dist/models/DescribeResourceStatisticByRegionResponseBody.d.ts +79 -0
- package/dist/models/DescribeResourceStatisticByRegionResponseBody.js +116 -0
- package/dist/models/DescribeResourceStatisticByRegionResponseBody.js.map +1 -0
- package/dist/models/DescribeSnapshotsResponseBody.d.ts +8 -0
- package/dist/models/DescribeSnapshotsResponseBody.js.map +1 -1
- package/dist/models/ImportDriveRequest.d.ts +69 -0
- package/dist/models/ImportDriveRequest.js +68 -0
- package/dist/models/ImportDriveRequest.js.map +1 -0
- package/dist/models/ImportDriveResponse.d.ts +19 -0
- package/dist/models/ImportDriveResponse.js +69 -0
- package/dist/models/ImportDriveResponse.js.map +1 -0
- package/dist/models/ImportDriveResponseBody.d.ts +55 -0
- package/dist/models/ImportDriveResponseBody.js +66 -0
- package/dist/models/ImportDriveResponseBody.js.map +1 -0
- package/dist/models/ModifyDesktopGroupRequest.d.ts +38 -38
- package/dist/models/ModifyOfficeSiteAttributeRequest.d.ts +20 -12
- package/dist/models/ModifyOfficeSiteAttributeRequest.js +2 -0
- package/dist/models/ModifyOfficeSiteAttributeRequest.js.map +1 -1
- package/dist/models/UntagResourcesRequest.d.ts +3 -9
- package/dist/models/UntagResourcesRequest.js.map +1 -1
- package/dist/models/model.d.ts +12 -0
- package/dist/models/model.js +49 -25
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +212 -16
- package/src/models/CreateDesktopGroupRequest.ts +34 -34
- package/src/models/CreateDriveRequest.ts +13 -0
- package/src/models/CreateDriveResponseBody.ts +1 -1
- package/src/models/DeleteCloudDriveServicesRequest.ts +1 -1
- package/src/models/DeleteDriveRequest.ts +30 -0
- package/src/models/DescribeDesktopIdsByVulNamesRequest.ts +88 -0
- package/src/models/DescribeDesktopIdsByVulNamesResponse.ts +40 -0
- package/src/models/DescribeDesktopIdsByVulNamesResponseBody.ts +84 -0
- package/src/models/DescribeNasfileSystemsRequest.ts +6 -10
- package/src/models/DescribeNasfileSystemsResponseBody.ts +21 -23
- package/src/models/DescribeOfficeSitesRequest.ts +8 -11
- package/src/models/DescribeOfficeSitesResponseBody.ts +73 -54
- package/src/models/DescribeResourceStatisticByRegionRequest.ts +45 -0
- package/src/models/DescribeResourceStatisticByRegionResponse.ts +40 -0
- package/src/models/DescribeResourceStatisticByRegionResponseBody.ts +132 -0
- package/src/models/DescribeSnapshotsResponseBody.ts +8 -0
- package/src/models/ImportDriveRequest.ts +92 -0
- package/src/models/ImportDriveResponse.ts +40 -0
- package/src/models/ImportDriveResponseBody.ts +76 -0
- package/src/models/ModifyDesktopGroupRequest.ts +38 -38
- package/src/models/ModifyOfficeSiteAttributeRequest.ts +22 -12
- package/src/models/UntagResourcesRequest.ts +3 -9
- package/src/models/model.ts +12 -0
|
@@ -67,7 +67,15 @@ export class DescribeSnapshotsResponseBodySnapshots extends $dara.Model {
|
|
|
67
67
|
* Available
|
|
68
68
|
*/
|
|
69
69
|
diskStatus?: string;
|
|
70
|
+
/**
|
|
71
|
+
* @example
|
|
72
|
+
* pmxgcnb
|
|
73
|
+
*/
|
|
70
74
|
envId?: string;
|
|
75
|
+
/**
|
|
76
|
+
* @example
|
|
77
|
+
* default
|
|
78
|
+
*/
|
|
71
79
|
envType?: string;
|
|
72
80
|
jvsId?: string;
|
|
73
81
|
/**
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ImportDriveRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The target UPM domain ID. For workspace scenarios, use the UpmDomainId instead of the NAS file system ID.
|
|
9
|
+
*
|
|
10
|
+
* This parameter is required.
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* dom-aaaa****
|
|
14
|
+
*/
|
|
15
|
+
domainId?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @remarks
|
|
18
|
+
* The target ECD end user ID. The caller account is obtained from the authentication context.
|
|
19
|
+
*
|
|
20
|
+
* This parameter is required.
|
|
21
|
+
*
|
|
22
|
+
* @example
|
|
23
|
+
* user01
|
|
24
|
+
*/
|
|
25
|
+
endUserId?: string;
|
|
26
|
+
/**
|
|
27
|
+
* @remarks
|
|
28
|
+
* Specifies whether to force an update. Default value: false. If the file already exists and this parameter is set to false, the request fails. If this parameter is set to true, the original DriveId is reused for the update.
|
|
29
|
+
*
|
|
30
|
+
* @example
|
|
31
|
+
* false
|
|
32
|
+
*/
|
|
33
|
+
forceUpdate?: boolean;
|
|
34
|
+
/**
|
|
35
|
+
* @remarks
|
|
36
|
+
* The relative path of the cloud application UPM. It must be the same as the path specified during upload authorization. For cloud desktops, do not pass this parameter or pass an empty value.
|
|
37
|
+
*
|
|
38
|
+
* @example
|
|
39
|
+
* appv1/ab****
|
|
40
|
+
*/
|
|
41
|
+
mountUrl?: string;
|
|
42
|
+
/**
|
|
43
|
+
* @remarks
|
|
44
|
+
* The target platform. Valid values: WINDOWS_10, WINDOWS_11, WINDOWS_SERVER_2019, WINDOWS_SERVER_2022, and WINDOWS_SERVER_2025.
|
|
45
|
+
*
|
|
46
|
+
* This parameter is required.
|
|
47
|
+
*
|
|
48
|
+
* @example
|
|
49
|
+
* WINDOWS_SERVER_2025
|
|
50
|
+
*/
|
|
51
|
+
platform?: string;
|
|
52
|
+
/**
|
|
53
|
+
* @remarks
|
|
54
|
+
* The region of the target UPM.
|
|
55
|
+
*
|
|
56
|
+
* This parameter is required.
|
|
57
|
+
*
|
|
58
|
+
* @example
|
|
59
|
+
* cn-hangzhou
|
|
60
|
+
*/
|
|
61
|
+
regionId?: string;
|
|
62
|
+
static names(): { [key: string]: string } {
|
|
63
|
+
return {
|
|
64
|
+
domainId: 'DomainId',
|
|
65
|
+
endUserId: 'EndUserId',
|
|
66
|
+
forceUpdate: 'ForceUpdate',
|
|
67
|
+
mountUrl: 'MountUrl',
|
|
68
|
+
platform: 'Platform',
|
|
69
|
+
regionId: 'RegionId',
|
|
70
|
+
};
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
static types(): { [key: string]: any } {
|
|
74
|
+
return {
|
|
75
|
+
domainId: 'string',
|
|
76
|
+
endUserId: 'string',
|
|
77
|
+
forceUpdate: 'boolean',
|
|
78
|
+
mountUrl: 'string',
|
|
79
|
+
platform: 'string',
|
|
80
|
+
regionId: 'string',
|
|
81
|
+
};
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
validate() {
|
|
85
|
+
super.validate();
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
constructor(map?: { [key: string]: any }) {
|
|
89
|
+
super(map);
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { ImportDriveResponseBody } from "./ImportDriveResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class ImportDriveResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: ImportDriveResponseBody;
|
|
10
|
+
static names(): { [key: string]: string } {
|
|
11
|
+
return {
|
|
12
|
+
headers: 'headers',
|
|
13
|
+
statusCode: 'statusCode',
|
|
14
|
+
body: 'body',
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
static types(): { [key: string]: any } {
|
|
19
|
+
return {
|
|
20
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
21
|
+
statusCode: 'number',
|
|
22
|
+
body: ImportDriveResponseBody,
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
if(this.headers) {
|
|
28
|
+
$dara.Model.validateMap(this.headers);
|
|
29
|
+
}
|
|
30
|
+
if(this.body && typeof (this.body as any).validate === 'function') {
|
|
31
|
+
(this.body as any).validate();
|
|
32
|
+
}
|
|
33
|
+
super.validate();
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
constructor(map?: { [key: string]: any }) {
|
|
37
|
+
super(map);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ImportDriveResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The modification result. A value of `success` indicates success. Otherwise, an error message is returned.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* Response code. 200 indicates success
|
|
12
|
+
*/
|
|
13
|
+
code?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The newly created or reused target drive ID. A success response only indicates that the import task has been accepted.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* dri-aaaa****
|
|
20
|
+
*/
|
|
21
|
+
driveId?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* The response message.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* Response message
|
|
28
|
+
*/
|
|
29
|
+
message?: string;
|
|
30
|
+
/**
|
|
31
|
+
* @remarks
|
|
32
|
+
* The request ID.
|
|
33
|
+
*
|
|
34
|
+
* @example
|
|
35
|
+
* A87DBB05-653A-5E4B-B72B-5F4A1E07****
|
|
36
|
+
*/
|
|
37
|
+
requestId?: string;
|
|
38
|
+
/**
|
|
39
|
+
* @remarks
|
|
40
|
+
* Indicates whether the operation is successful. Valid values:
|
|
41
|
+
* - true: Successful.
|
|
42
|
+
* - false: Failed.
|
|
43
|
+
*
|
|
44
|
+
* @example
|
|
45
|
+
* true
|
|
46
|
+
*/
|
|
47
|
+
success?: boolean;
|
|
48
|
+
static names(): { [key: string]: string } {
|
|
49
|
+
return {
|
|
50
|
+
code: 'Code',
|
|
51
|
+
driveId: 'DriveId',
|
|
52
|
+
message: 'Message',
|
|
53
|
+
requestId: 'RequestId',
|
|
54
|
+
success: 'Success',
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
static types(): { [key: string]: any } {
|
|
59
|
+
return {
|
|
60
|
+
code: 'string',
|
|
61
|
+
driveId: 'string',
|
|
62
|
+
message: 'string',
|
|
63
|
+
requestId: 'string',
|
|
64
|
+
success: 'boolean',
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
validate() {
|
|
69
|
+
super.validate();
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
constructor(map?: { [key: string]: any }) {
|
|
73
|
+
super(map);
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class ModifyDesktopGroupRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* Specifies whether to allow automatic creation of cloud
|
|
8
|
+
* Specifies whether to allow automatic creation of cloud desktops in a subscription shared cloud desktop. This parameter takes effect and is required only when the `ChargeType` parameter is set to `PrePaid`.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* 1
|
|
@@ -13,11 +13,11 @@ export class ModifyDesktopGroupRequest extends $dara.Model {
|
|
|
13
13
|
allowAutoSetup?: number;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The number of cloud
|
|
17
|
-
* - 0:
|
|
18
|
-
* - N:
|
|
16
|
+
* The number of reserved cloud desktops allowed in a pay-as-you-go shared cloud desktop. This parameter takes effect and is required only when the `ChargeType` parameter is set to `PostPaid`. Valid values:
|
|
17
|
+
* - 0: No reserved cloud desktops.
|
|
18
|
+
* - N: N reserved cloud desktops (1 ≤ N ≤ 100).
|
|
19
19
|
*
|
|
20
|
-
* > If no available cloud
|
|
20
|
+
* > If no available cloud desktops are reserved, when an end user initiates a connection request, the system must first create and start a cloud desktop and then assign it to the user, which takes a relatively long time. Reserve a certain number of cloud desktops as needed to ensure the user experience.
|
|
21
21
|
*
|
|
22
22
|
* @example
|
|
23
23
|
* 1
|
|
@@ -25,9 +25,9 @@ export class ModifyDesktopGroupRequest extends $dara.Model {
|
|
|
25
25
|
allowBufferCount?: number;
|
|
26
26
|
/**
|
|
27
27
|
* @remarks
|
|
28
|
-
* The number of concurrent sessions allowed
|
|
28
|
+
* The number of concurrent sessions allowed per cloud desktop in multi-session and multi-desktop shared cloud desktops.
|
|
29
29
|
*
|
|
30
|
-
* > This parameter is not
|
|
30
|
+
* > This parameter is not available.
|
|
31
31
|
*
|
|
32
32
|
* @example
|
|
33
33
|
* 2
|
|
@@ -35,8 +35,8 @@ export class ModifyDesktopGroupRequest extends $dara.Model {
|
|
|
35
35
|
bindAmount?: number;
|
|
36
36
|
/**
|
|
37
37
|
* @remarks
|
|
38
|
-
* - For subscription shared cloud
|
|
39
|
-
* - For pay-as-you-go shared cloud
|
|
38
|
+
* - For a subscription shared cloud desktop: the number of cloud desktops to purchase. Valid values: 0 to 200.
|
|
39
|
+
* - For a pay-as-you-go shared cloud desktop: the minimum number of cloud desktops to create in the pool. Default value: 1. Valid values: 0 to the value of `MaxDesktopsCount`.
|
|
40
40
|
*
|
|
41
41
|
* @example
|
|
42
42
|
* 5
|
|
@@ -44,9 +44,9 @@ export class ModifyDesktopGroupRequest extends $dara.Model {
|
|
|
44
44
|
buyDesktopsCount?: number;
|
|
45
45
|
/**
|
|
46
46
|
* @remarks
|
|
47
|
-
* The type of the shared cloud
|
|
47
|
+
* The type of the shared cloud desktop.
|
|
48
48
|
*
|
|
49
|
-
* > This parameter is not
|
|
49
|
+
* > This parameter is not available.
|
|
50
50
|
*
|
|
51
51
|
* @example
|
|
52
52
|
* teacher
|
|
@@ -54,7 +54,7 @@ export class ModifyDesktopGroupRequest extends $dara.Model {
|
|
|
54
54
|
classify?: string;
|
|
55
55
|
/**
|
|
56
56
|
* @remarks
|
|
57
|
-
* The
|
|
57
|
+
* The description.
|
|
58
58
|
*
|
|
59
59
|
* @example
|
|
60
60
|
* comment
|
|
@@ -62,7 +62,7 @@ export class ModifyDesktopGroupRequest extends $dara.Model {
|
|
|
62
62
|
comments?: string;
|
|
63
63
|
/**
|
|
64
64
|
* @remarks
|
|
65
|
-
* The maximum duration
|
|
65
|
+
* The maximum duration for which a session can remain connected. When the session connection duration reaches this value, the session is automatically disconnected. Unit: milliseconds. Valid values: 900000 (15 minutes) to 345600000 (4 days).
|
|
66
66
|
*
|
|
67
67
|
* @example
|
|
68
68
|
* 900000
|
|
@@ -70,7 +70,7 @@ export class ModifyDesktopGroupRequest extends $dara.Model {
|
|
|
70
70
|
connectDuration?: number;
|
|
71
71
|
/**
|
|
72
72
|
* @remarks
|
|
73
|
-
* The retention period before cloud
|
|
73
|
+
* The retention period before a cloud desktop in the cloud desktop pool is automatically deleted.
|
|
74
74
|
*
|
|
75
75
|
* @example
|
|
76
76
|
* 30
|
|
@@ -78,7 +78,7 @@ export class ModifyDesktopGroupRequest extends $dara.Model {
|
|
|
78
78
|
deleteDuration?: number;
|
|
79
79
|
/**
|
|
80
80
|
* @remarks
|
|
81
|
-
* The shared cloud
|
|
81
|
+
* The ID of the shared cloud desktop.
|
|
82
82
|
*
|
|
83
83
|
* This parameter is required.
|
|
84
84
|
*
|
|
@@ -88,7 +88,7 @@ export class ModifyDesktopGroupRequest extends $dara.Model {
|
|
|
88
88
|
desktopGroupId?: string;
|
|
89
89
|
/**
|
|
90
90
|
* @remarks
|
|
91
|
-
* The shared cloud
|
|
91
|
+
* The name of the shared cloud desktop.
|
|
92
92
|
*
|
|
93
93
|
* @example
|
|
94
94
|
* desktopGroupName1
|
|
@@ -104,9 +104,9 @@ export class ModifyDesktopGroupRequest extends $dara.Model {
|
|
|
104
104
|
disableSessionConfig?: boolean;
|
|
105
105
|
/**
|
|
106
106
|
* @remarks
|
|
107
|
-
* The NAS file system
|
|
107
|
+
* The ID of the NAS file system used for the user data roaming feature.
|
|
108
108
|
*
|
|
109
|
-
* > This parameter is not
|
|
109
|
+
* > This parameter is not available.
|
|
110
110
|
*
|
|
111
111
|
* @example
|
|
112
112
|
* 04f314****
|
|
@@ -114,11 +114,11 @@ export class ModifyDesktopGroupRequest extends $dara.Model {
|
|
|
114
114
|
fileSystemId?: string;
|
|
115
115
|
/**
|
|
116
116
|
* @remarks
|
|
117
|
-
* The maximum idle
|
|
117
|
+
* The maximum idle time before a user session is disconnected. If no keyboard or mouse operations are performed within this maximum duration after a user session is connected, the session is disconnected. Unit: milliseconds. Valid values: 360000 (6 minutes) to 3600000 (60 minutes).
|
|
118
118
|
*
|
|
119
|
-
* 30 seconds before this duration is reached, the end user in the session receives a prompt to save document data. The end user must save document data promptly to avoid data loss.
|
|
119
|
+
* 30 seconds before this duration is reached, the end user in the session receives a prompt message to save document data. The end user must save the document data promptly to avoid data loss.
|
|
120
120
|
*
|
|
121
|
-
* > This parameter applies only to cloud
|
|
121
|
+
* > This parameter applies only to cloud desktops with an image version of 1.0.2 or later.
|
|
122
122
|
*
|
|
123
123
|
* @example
|
|
124
124
|
* 360000
|
|
@@ -136,7 +136,7 @@ export class ModifyDesktopGroupRequest extends $dara.Model {
|
|
|
136
136
|
* @remarks
|
|
137
137
|
* The retention period after a session is disconnected. Unit: milliseconds. Valid values: 180000 (3 minutes) to 345600000 (4 days). A value of 0 indicates that the session is always retained.
|
|
138
138
|
*
|
|
139
|
-
*
|
|
139
|
+
* If a session is disconnected intentionally by the user or unexpectedly due to other factors, the retention period starts from the time of disconnection. If the user does not reconnect to the session within this period, the session is logged off and unsaved data is destroyed. If the user successfully reconnects within this period, the user can enter the original session and access the data before the disconnection.
|
|
140
140
|
*
|
|
141
141
|
* @example
|
|
142
142
|
* 180000
|
|
@@ -144,9 +144,9 @@ export class ModifyDesktopGroupRequest extends $dara.Model {
|
|
|
144
144
|
keepDuration?: number;
|
|
145
145
|
/**
|
|
146
146
|
* @remarks
|
|
147
|
-
* The load balancing policy for multi-session
|
|
147
|
+
* The load balancing policy for multi-session and multi-desktop shared cloud desktops.
|
|
148
148
|
*
|
|
149
|
-
* > This parameter is not
|
|
149
|
+
* > This parameter is not available.
|
|
150
150
|
*
|
|
151
151
|
* @example
|
|
152
152
|
* 0
|
|
@@ -154,7 +154,7 @@ export class ModifyDesktopGroupRequest extends $dara.Model {
|
|
|
154
154
|
loadPolicy?: number;
|
|
155
155
|
/**
|
|
156
156
|
* @remarks
|
|
157
|
-
* The maximum number of cloud
|
|
157
|
+
* The maximum number of cloud desktops that can be accommodated in a pay-as-you-go shared cloud desktop. Valid values: 0 to 500.
|
|
158
158
|
*
|
|
159
159
|
* @example
|
|
160
160
|
* 10
|
|
@@ -162,7 +162,7 @@ export class ModifyDesktopGroupRequest extends $dara.Model {
|
|
|
162
162
|
maxDesktopsCount?: number;
|
|
163
163
|
/**
|
|
164
164
|
* @remarks
|
|
165
|
-
* The
|
|
165
|
+
* The upper limit for the automatic creation of cloud desktops in a subscription shared cloud desktop. This parameter takes effect and is required only when the `ChargeType` parameter is set to `PrePaid`. Default value: 1. Valid values: 0 to the value of `MaxDesktopsCount`.
|
|
166
166
|
*
|
|
167
167
|
* @example
|
|
168
168
|
* 1
|
|
@@ -170,7 +170,7 @@ export class ModifyDesktopGroupRequest extends $dara.Model {
|
|
|
170
170
|
minDesktopsCount?: number;
|
|
171
171
|
/**
|
|
172
172
|
* @remarks
|
|
173
|
-
* The cloud
|
|
173
|
+
* The ID of the cloud desktop template.
|
|
174
174
|
*
|
|
175
175
|
* @example
|
|
176
176
|
* b-7t275tpgjueeu****
|
|
@@ -178,7 +178,7 @@ export class ModifyDesktopGroupRequest extends $dara.Model {
|
|
|
178
178
|
ownBundleId?: string;
|
|
179
179
|
/**
|
|
180
180
|
* @remarks
|
|
181
|
-
* The policy
|
|
181
|
+
* The ID of the policy.
|
|
182
182
|
*
|
|
183
183
|
* @example
|
|
184
184
|
* pg-53iyi2aar0nd6****
|
|
@@ -193,7 +193,7 @@ export class ModifyDesktopGroupRequest extends $dara.Model {
|
|
|
193
193
|
* @remarks
|
|
194
194
|
* Specifies whether to enable user data roaming.
|
|
195
195
|
*
|
|
196
|
-
* > This parameter is not
|
|
196
|
+
* > This parameter is not available.
|
|
197
197
|
*
|
|
198
198
|
* @example
|
|
199
199
|
* false
|
|
@@ -201,13 +201,13 @@ export class ModifyDesktopGroupRequest extends $dara.Model {
|
|
|
201
201
|
profileFollowSwitch?: boolean;
|
|
202
202
|
/**
|
|
203
203
|
* @remarks
|
|
204
|
-
* The session
|
|
204
|
+
* The session usage threshold, which is used as the trigger for automatic scaling of multi-session and multi-desktop shared cloud desktops. The formula for session usage is:
|
|
205
205
|
*
|
|
206
|
-
* ```Session
|
|
206
|
+
* ```Session usage = Number of attached sessions / (Total number of cloud desktop resources × Maximum number of sessions supported per cloud desktop) × 100%```
|
|
207
207
|
*
|
|
208
|
-
* When the session
|
|
208
|
+
* When the session usage reaches this threshold, new cloud desktops are created. When the session usage does not reach this threshold, excess cloud desktops are deleted.
|
|
209
209
|
*
|
|
210
|
-
* > This parameter is not
|
|
210
|
+
* > This parameter is not available.
|
|
211
211
|
*
|
|
212
212
|
* @example
|
|
213
213
|
* 0.85
|
|
@@ -215,7 +215,7 @@ export class ModifyDesktopGroupRequest extends $dara.Model {
|
|
|
215
215
|
ratioThreshold?: number;
|
|
216
216
|
/**
|
|
217
217
|
* @remarks
|
|
218
|
-
* The region ID. You can call [DescribeRegions](https://help.aliyun.com/document_detail/196646.html) to query the regions supported by Elastic Desktop Service.
|
|
218
|
+
* The region ID. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/196646.html) operation to query the regions supported by Elastic Desktop Service.
|
|
219
219
|
*
|
|
220
220
|
* This parameter is required.
|
|
221
221
|
*
|
|
@@ -225,7 +225,7 @@ export class ModifyDesktopGroupRequest extends $dara.Model {
|
|
|
225
225
|
regionId?: string;
|
|
226
226
|
/**
|
|
227
227
|
* @remarks
|
|
228
|
-
* The
|
|
228
|
+
* The reset type of the cloud desktop.
|
|
229
229
|
*
|
|
230
230
|
* @example
|
|
231
231
|
* 0
|
|
@@ -233,9 +233,9 @@ export class ModifyDesktopGroupRequest extends $dara.Model {
|
|
|
233
233
|
resetType?: number;
|
|
234
234
|
/**
|
|
235
235
|
* @remarks
|
|
236
|
-
* The scaling policy group
|
|
236
|
+
* The ID of the scaling policy group.
|
|
237
237
|
*
|
|
238
|
-
* > This parameter is not
|
|
238
|
+
* > This parameter is not available.
|
|
239
239
|
*
|
|
240
240
|
* @example
|
|
241
241
|
* s-kakowkdl****
|
|
@@ -243,7 +243,7 @@ export class ModifyDesktopGroupRequest extends $dara.Model {
|
|
|
243
243
|
scaleStrategyId?: string;
|
|
244
244
|
/**
|
|
245
245
|
* @remarks
|
|
246
|
-
* The idle shutdown
|
|
246
|
+
* The idle shutdown time. When the idle time of a cloud desktop reaches this value, the cloud desktop is automatically shut down. If a user connects to the cloud desktop after it is shut down, the cloud desktop is automatically started. Unit: milliseconds.
|
|
247
247
|
*
|
|
248
248
|
* @example
|
|
249
249
|
* 300000
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class ModifyOfficeSiteAttributeRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The
|
|
8
|
+
* The authority URL of the identity authentication service.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* https://login.microsoftonline.com
|
|
@@ -13,7 +13,7 @@ export class ModifyOfficeSiteAttributeRequest extends $dara.Model {
|
|
|
13
13
|
authorityHost?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The client ID registered
|
|
16
|
+
* The client ID registered for the identity provider application.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* a2c8f7e4-1b3d-4c5e-9f0a-6d7b8c9e****
|
|
@@ -21,7 +21,7 @@ export class ModifyOfficeSiteAttributeRequest extends $dara.Model {
|
|
|
21
21
|
clientId?: string;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
* The client secret registered
|
|
24
|
+
* The client secret registered for the identity provider application.
|
|
25
25
|
*
|
|
26
26
|
* @example
|
|
27
27
|
* sct-9f3e2d1c****
|
|
@@ -29,9 +29,9 @@ export class ModifyOfficeSiteAttributeRequest extends $dara.Model {
|
|
|
29
29
|
clientSecret?: string;
|
|
30
30
|
/**
|
|
31
31
|
* @remarks
|
|
32
|
-
* The access method allowed when connecting to cloud
|
|
32
|
+
* The access method allowed when connecting to cloud desktops.
|
|
33
33
|
*
|
|
34
|
-
* > The VPC connection method
|
|
34
|
+
* > The VPC connection method relies on the Alibaba Cloud PrivateLink service, which is free of charge. If you set this parameter to `VPC` or `Any`, the system automatically activates the PrivateLink service for you.
|
|
35
35
|
*
|
|
36
36
|
* @example
|
|
37
37
|
* INTERNET
|
|
@@ -47,7 +47,7 @@ export class ModifyOfficeSiteAttributeRequest extends $dara.Model {
|
|
|
47
47
|
domainName?: string;
|
|
48
48
|
/**
|
|
49
49
|
* @remarks
|
|
50
|
-
* Specifies whether to grant local administrator permissions to cloud
|
|
50
|
+
* Specifies whether to grant local administrator permissions to users of cloud desktops.
|
|
51
51
|
*
|
|
52
52
|
* @example
|
|
53
53
|
* false
|
|
@@ -55,7 +55,15 @@ export class ModifyOfficeSiteAttributeRequest extends $dara.Model {
|
|
|
55
55
|
enableAdminAccess?: boolean;
|
|
56
56
|
/**
|
|
57
57
|
* @remarks
|
|
58
|
-
*
|
|
58
|
+
* Specifies whether to enable User Profile Management (UPM). Currently, you can only set this parameter to false to unbind UPM from the workspace. To enable UPM, call the CreateAndBindNasFileSystem operation.
|
|
59
|
+
*
|
|
60
|
+
* @example
|
|
61
|
+
* false
|
|
62
|
+
*/
|
|
63
|
+
enableUpm?: boolean;
|
|
64
|
+
/**
|
|
65
|
+
* @remarks
|
|
66
|
+
* Applies only to office networks with convenience accounts. Specifies whether secondary authentication is required during logon. If secondary authentication is enabled, the system checks for security risks when a convenience user logs on to the client. If risks are detected, the system sends a verification code to the email address associated with the account. The convenience user can log on to the client only after entering the correct verification code.
|
|
59
67
|
*
|
|
60
68
|
* @example
|
|
61
69
|
* false
|
|
@@ -63,7 +71,7 @@ export class ModifyOfficeSiteAttributeRequest extends $dara.Model {
|
|
|
63
71
|
needVerifyLoginRisk?: boolean;
|
|
64
72
|
/**
|
|
65
73
|
* @remarks
|
|
66
|
-
*
|
|
74
|
+
* Applies only to office networks with convenience accounts. Specifies whether to enable device verification. For AD office networks, this parameter is left empty.
|
|
67
75
|
*
|
|
68
76
|
* @example
|
|
69
77
|
* false
|
|
@@ -81,16 +89,16 @@ export class ModifyOfficeSiteAttributeRequest extends $dara.Model {
|
|
|
81
89
|
officeSiteId?: string;
|
|
82
90
|
/**
|
|
83
91
|
* @remarks
|
|
84
|
-
* The office network
|
|
92
|
+
* The name of the office network. The name must be 2 to 255 characters in length, and can contain letters and Chinese characters. It must start with a letter or a Chinese character, and cannot start with `http://` or `https://`. It can contain digits, colons (:), underscores (_), and hyphens (-).
|
|
85
93
|
* Default value: empty.
|
|
86
94
|
*
|
|
87
95
|
* @example
|
|
88
|
-
* R&
|
|
96
|
+
* R&D Department Office Network
|
|
89
97
|
*/
|
|
90
98
|
officeSiteName?: string;
|
|
91
99
|
/**
|
|
92
100
|
* @remarks
|
|
93
|
-
* The region ID. You can call [DescribeRegions](https://help.aliyun.com/document_detail/196646.html) to query the regions supported by
|
|
101
|
+
* The region ID. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/196646.html) operation to query the regions supported by Wuying Workspace.
|
|
94
102
|
*
|
|
95
103
|
* This parameter is required.
|
|
96
104
|
*
|
|
@@ -108,7 +116,7 @@ export class ModifyOfficeSiteAttributeRequest extends $dara.Model {
|
|
|
108
116
|
tenantId?: string;
|
|
109
117
|
/**
|
|
110
118
|
* @remarks
|
|
111
|
-
* The vSwitch ID.
|
|
119
|
+
* The vSwitch ID. Currently, you can configure only one vSwitch.
|
|
112
120
|
*/
|
|
113
121
|
vSwitchId?: string[];
|
|
114
122
|
static names(): { [key: string]: string } {
|
|
@@ -119,6 +127,7 @@ export class ModifyOfficeSiteAttributeRequest extends $dara.Model {
|
|
|
119
127
|
desktopAccessType: 'DesktopAccessType',
|
|
120
128
|
domainName: 'DomainName',
|
|
121
129
|
enableAdminAccess: 'EnableAdminAccess',
|
|
130
|
+
enableUpm: 'EnableUpm',
|
|
122
131
|
needVerifyLoginRisk: 'NeedVerifyLoginRisk',
|
|
123
132
|
needVerifyZeroDevice: 'NeedVerifyZeroDevice',
|
|
124
133
|
officeSiteId: 'OfficeSiteId',
|
|
@@ -137,6 +146,7 @@ export class ModifyOfficeSiteAttributeRequest extends $dara.Model {
|
|
|
137
146
|
desktopAccessType: 'string',
|
|
138
147
|
domainName: 'string',
|
|
139
148
|
enableAdminAccess: 'boolean',
|
|
149
|
+
enableUpm: 'boolean',
|
|
140
150
|
needVerifyLoginRisk: 'boolean',
|
|
141
151
|
needVerifyZeroDevice: 'boolean',
|
|
142
152
|
officeSiteId: 'string',
|
|
@@ -13,7 +13,7 @@ export class UntagResourcesRequest extends $dara.Model {
|
|
|
13
13
|
all?: boolean;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The region ID. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/196646.html) operation to query the regions supported by
|
|
16
|
+
* The region ID. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/196646.html) operation to query the list of regions supported by cloud computers.
|
|
17
17
|
*
|
|
18
18
|
* This parameter is required.
|
|
19
19
|
*
|
|
@@ -23,17 +23,14 @@ export class UntagResourcesRequest extends $dara.Model {
|
|
|
23
23
|
regionId?: string;
|
|
24
24
|
/**
|
|
25
25
|
* @remarks
|
|
26
|
-
* The
|
|
26
|
+
* The list of resource IDs, which are the cloud computer IDs. You can specify 1 to 50 IDs.
|
|
27
27
|
*
|
|
28
28
|
* This parameter is required.
|
|
29
|
-
*
|
|
30
|
-
* @example
|
|
31
|
-
* ecd-ia2zw38bi6cm7****
|
|
32
29
|
*/
|
|
33
30
|
resourceId?: string[];
|
|
34
31
|
/**
|
|
35
32
|
* @remarks
|
|
36
|
-
* The type
|
|
33
|
+
* The resource type.
|
|
37
34
|
*
|
|
38
35
|
* This parameter is required.
|
|
39
36
|
*
|
|
@@ -44,9 +41,6 @@ export class UntagResourcesRequest extends $dara.Model {
|
|
|
44
41
|
/**
|
|
45
42
|
* @remarks
|
|
46
43
|
* The tag keys. You can specify 1 to 20 tag keys.
|
|
47
|
-
*
|
|
48
|
-
* @example
|
|
49
|
-
* TestKey
|
|
50
44
|
*/
|
|
51
45
|
tagKey?: string[];
|
|
52
46
|
static names(): { [key: string]: string } {
|