@alicloud/ecd20200930 4.7.7 → 4.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 +45 -0
- package/dist/client.js +162 -0
- package/dist/client.js.map +1 -1
- package/dist/models/CreateDriveRequest.d.ts +63 -0
- package/dist/models/CreateDriveRequest.js +76 -0
- package/dist/models/CreateDriveRequest.js.map +1 -0
- package/dist/models/CreateDriveResponse.d.ts +19 -0
- package/dist/models/CreateDriveResponse.js +69 -0
- package/dist/models/CreateDriveResponse.js.map +1 -0
- package/dist/models/CreateDriveResponseBody.d.ts +35 -0
- package/dist/models/CreateDriveResponseBody.js +70 -0
- package/dist/models/CreateDriveResponseBody.js.map +1 -0
- package/dist/models/CreateDriveResponseBodyDrive.d.ts +96 -0
- package/dist/models/CreateDriveResponseBodyDrive.js +88 -0
- package/dist/models/CreateDriveResponseBodyDrive.js.map +1 -0
- package/dist/models/DeleteDriveRequest.d.ts +23 -0
- package/dist/models/DeleteDriveRequest.js +60 -0
- package/dist/models/DeleteDriveRequest.js.map +1 -0
- package/dist/models/DeleteDriveResponse.d.ts +19 -0
- package/dist/models/DeleteDriveResponse.js +69 -0
- package/dist/models/DeleteDriveResponse.js.map +1 -0
- package/dist/models/DeleteDriveResponseBody.d.ts +38 -0
- package/dist/models/DeleteDriveResponseBody.js +66 -0
- package/dist/models/DeleteDriveResponseBody.js.map +1 -0
- package/dist/models/DescribeDrivesRequest.d.ts +39 -0
- package/dist/models/DescribeDrivesRequest.js +71 -0
- package/dist/models/DescribeDrivesRequest.js.map +1 -0
- package/dist/models/DescribeDrivesResponse.d.ts +19 -0
- package/dist/models/DescribeDrivesResponse.js +69 -0
- package/dist/models/DescribeDrivesResponse.js.map +1 -0
- package/dist/models/DescribeDrivesResponseBody.d.ts +45 -0
- package/dist/models/DescribeDrivesResponseBody.js +74 -0
- package/dist/models/DescribeDrivesResponseBody.js.map +1 -0
- package/dist/models/DescribeDrivesResponseBodyDrives.d.ts +110 -0
- package/dist/models/DescribeDrivesResponseBodyDrives.js +100 -0
- package/dist/models/DescribeDrivesResponseBodyDrives.js.map +1 -0
- package/dist/models/DescribeDrivesResponseBodyDrivesDesktopGroups.d.ts +23 -0
- package/dist/models/DescribeDrivesResponseBodyDrivesDesktopGroups.js +60 -0
- package/dist/models/DescribeDrivesResponseBodyDrivesDesktopGroups.js.map +1 -0
- package/dist/models/model.d.ts +12 -0
- package/dist/models/model.js +43 -19
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +186 -0
- package/src/models/CreateDriveRequest.ts +94 -0
- package/src/models/CreateDriveResponse.ts +40 -0
- package/src/models/CreateDriveResponseBody.ts +59 -0
- package/src/models/CreateDriveResponseBodyDrive.ts +139 -0
- package/src/models/DeleteDriveRequest.ts +38 -0
- package/src/models/DeleteDriveResponse.ts +40 -0
- package/src/models/DeleteDriveResponseBody.ts +59 -0
- package/src/models/DescribeDrivesRequest.ts +65 -0
- package/src/models/DescribeDrivesResponse.ts +40 -0
- package/src/models/DescribeDrivesResponseBody.ts +73 -0
- package/src/models/DescribeDrivesResponseBodyDrives.ts +164 -0
- package/src/models/DescribeDrivesResponseBodyDrivesDesktopGroups.ts +38 -0
- package/src/models/model.ts +12 -0
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class CreateDriveResponseBodyDrive extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* 1202****
|
|
9
|
+
*/
|
|
10
|
+
aliUid?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* test****
|
|
14
|
+
*/
|
|
15
|
+
description?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* dom-aaaa****
|
|
19
|
+
*/
|
|
20
|
+
domainId?: string;
|
|
21
|
+
/**
|
|
22
|
+
* @example
|
|
23
|
+
* dri-aaaa****
|
|
24
|
+
*/
|
|
25
|
+
driveId?: string;
|
|
26
|
+
/**
|
|
27
|
+
* @example
|
|
28
|
+
* 1100****
|
|
29
|
+
*/
|
|
30
|
+
externalDriveId?: string;
|
|
31
|
+
/**
|
|
32
|
+
* @example
|
|
33
|
+
* user01@cn-hangzhou.120****
|
|
34
|
+
*/
|
|
35
|
+
externalUserId?: string;
|
|
36
|
+
/**
|
|
37
|
+
* @example
|
|
38
|
+
* 2025-07-02T08:42:26.000+00:00
|
|
39
|
+
*/
|
|
40
|
+
gmtCreate?: string;
|
|
41
|
+
/**
|
|
42
|
+
* @example
|
|
43
|
+
* 2025-07-07T02:46:04.000+00:00
|
|
44
|
+
*/
|
|
45
|
+
gmtModified?: string;
|
|
46
|
+
/**
|
|
47
|
+
* @remarks
|
|
48
|
+
* ID。
|
|
49
|
+
*
|
|
50
|
+
* @example
|
|
51
|
+
* 1
|
|
52
|
+
*/
|
|
53
|
+
id?: string;
|
|
54
|
+
/**
|
|
55
|
+
* @example
|
|
56
|
+
* test****
|
|
57
|
+
*/
|
|
58
|
+
name?: string;
|
|
59
|
+
/**
|
|
60
|
+
* @example
|
|
61
|
+
* -
|
|
62
|
+
*/
|
|
63
|
+
profileRoaming?: boolean;
|
|
64
|
+
/**
|
|
65
|
+
* @example
|
|
66
|
+
* NORMAL
|
|
67
|
+
*/
|
|
68
|
+
status?: string;
|
|
69
|
+
/**
|
|
70
|
+
* @example
|
|
71
|
+
* 536870912000
|
|
72
|
+
*/
|
|
73
|
+
totalSize?: number;
|
|
74
|
+
/**
|
|
75
|
+
* @example
|
|
76
|
+
* USER_PROFILE
|
|
77
|
+
*/
|
|
78
|
+
type?: string;
|
|
79
|
+
/**
|
|
80
|
+
* @example
|
|
81
|
+
* 243175936
|
|
82
|
+
*/
|
|
83
|
+
usedSize?: number;
|
|
84
|
+
/**
|
|
85
|
+
* @example
|
|
86
|
+
* user01
|
|
87
|
+
*/
|
|
88
|
+
userId?: string;
|
|
89
|
+
static names(): { [key: string]: string } {
|
|
90
|
+
return {
|
|
91
|
+
aliUid: 'AliUid',
|
|
92
|
+
description: 'Description',
|
|
93
|
+
domainId: 'DomainId',
|
|
94
|
+
driveId: 'DriveId',
|
|
95
|
+
externalDriveId: 'ExternalDriveId',
|
|
96
|
+
externalUserId: 'ExternalUserId',
|
|
97
|
+
gmtCreate: 'GmtCreate',
|
|
98
|
+
gmtModified: 'GmtModified',
|
|
99
|
+
id: 'Id',
|
|
100
|
+
name: 'Name',
|
|
101
|
+
profileRoaming: 'ProfileRoaming',
|
|
102
|
+
status: 'Status',
|
|
103
|
+
totalSize: 'TotalSize',
|
|
104
|
+
type: 'Type',
|
|
105
|
+
usedSize: 'UsedSize',
|
|
106
|
+
userId: 'UserId',
|
|
107
|
+
};
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
static types(): { [key: string]: any } {
|
|
111
|
+
return {
|
|
112
|
+
aliUid: 'string',
|
|
113
|
+
description: 'string',
|
|
114
|
+
domainId: 'string',
|
|
115
|
+
driveId: 'string',
|
|
116
|
+
externalDriveId: 'string',
|
|
117
|
+
externalUserId: 'string',
|
|
118
|
+
gmtCreate: 'string',
|
|
119
|
+
gmtModified: 'string',
|
|
120
|
+
id: 'string',
|
|
121
|
+
name: 'string',
|
|
122
|
+
profileRoaming: 'boolean',
|
|
123
|
+
status: 'string',
|
|
124
|
+
totalSize: 'number',
|
|
125
|
+
type: 'string',
|
|
126
|
+
usedSize: 'number',
|
|
127
|
+
userId: 'string',
|
|
128
|
+
};
|
|
129
|
+
}
|
|
130
|
+
|
|
131
|
+
validate() {
|
|
132
|
+
super.validate();
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
constructor(map?: { [key: string]: any }) {
|
|
136
|
+
super(map);
|
|
137
|
+
}
|
|
138
|
+
}
|
|
139
|
+
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DeleteDriveRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* dri-aaaa****
|
|
9
|
+
*/
|
|
10
|
+
driveId?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* cn-hangzhou
|
|
14
|
+
*/
|
|
15
|
+
regionId?: string;
|
|
16
|
+
static names(): { [key: string]: string } {
|
|
17
|
+
return {
|
|
18
|
+
driveId: 'DriveId',
|
|
19
|
+
regionId: 'RegionId',
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
static types(): { [key: string]: any } {
|
|
24
|
+
return {
|
|
25
|
+
driveId: 'string',
|
|
26
|
+
regionId: 'string',
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
validate() {
|
|
31
|
+
super.validate();
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
constructor(map?: { [key: string]: any }) {
|
|
35
|
+
super(map);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { DeleteDriveResponseBody } from "./DeleteDriveResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class DeleteDriveResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: DeleteDriveResponseBody;
|
|
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: DeleteDriveResponseBody,
|
|
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,59 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DeleteDriveResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* 200
|
|
9
|
+
*/
|
|
10
|
+
code?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* true
|
|
14
|
+
*/
|
|
15
|
+
data?: boolean;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* successful
|
|
19
|
+
*/
|
|
20
|
+
message?: string;
|
|
21
|
+
/**
|
|
22
|
+
* @example
|
|
23
|
+
* B7AA****
|
|
24
|
+
*/
|
|
25
|
+
requestId?: string;
|
|
26
|
+
/**
|
|
27
|
+
* @example
|
|
28
|
+
* true
|
|
29
|
+
*/
|
|
30
|
+
success?: boolean;
|
|
31
|
+
static names(): { [key: string]: string } {
|
|
32
|
+
return {
|
|
33
|
+
code: 'Code',
|
|
34
|
+
data: 'Data',
|
|
35
|
+
message: 'Message',
|
|
36
|
+
requestId: 'RequestId',
|
|
37
|
+
success: 'Success',
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
static types(): { [key: string]: any } {
|
|
42
|
+
return {
|
|
43
|
+
code: 'string',
|
|
44
|
+
data: 'boolean',
|
|
45
|
+
message: 'string',
|
|
46
|
+
requestId: 'string',
|
|
47
|
+
success: 'boolean',
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
validate() {
|
|
52
|
+
super.validate();
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
constructor(map?: { [key: string]: any }) {
|
|
56
|
+
super(map);
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeDrivesRequest extends $dara.Model {
|
|
6
|
+
domainIds?: string[];
|
|
7
|
+
/**
|
|
8
|
+
* @example
|
|
9
|
+
* 20
|
|
10
|
+
*/
|
|
11
|
+
maxResults?: number;
|
|
12
|
+
/**
|
|
13
|
+
* @example
|
|
14
|
+
* AAAA****
|
|
15
|
+
*/
|
|
16
|
+
nextToken?: string;
|
|
17
|
+
/**
|
|
18
|
+
* @example
|
|
19
|
+
* cn-hangzhou
|
|
20
|
+
*/
|
|
21
|
+
regionId?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @example
|
|
24
|
+
* NAS
|
|
25
|
+
*/
|
|
26
|
+
resourceType?: string;
|
|
27
|
+
/**
|
|
28
|
+
* @example
|
|
29
|
+
* user01
|
|
30
|
+
*/
|
|
31
|
+
userId?: string;
|
|
32
|
+
static names(): { [key: string]: string } {
|
|
33
|
+
return {
|
|
34
|
+
domainIds: 'DomainIds',
|
|
35
|
+
maxResults: 'MaxResults',
|
|
36
|
+
nextToken: 'NextToken',
|
|
37
|
+
regionId: 'RegionId',
|
|
38
|
+
resourceType: 'ResourceType',
|
|
39
|
+
userId: 'UserId',
|
|
40
|
+
};
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
static types(): { [key: string]: any } {
|
|
44
|
+
return {
|
|
45
|
+
domainIds: { 'type': 'array', 'itemType': 'string' },
|
|
46
|
+
maxResults: 'number',
|
|
47
|
+
nextToken: 'string',
|
|
48
|
+
regionId: 'string',
|
|
49
|
+
resourceType: 'string',
|
|
50
|
+
userId: 'string',
|
|
51
|
+
};
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
validate() {
|
|
55
|
+
if(Array.isArray(this.domainIds)) {
|
|
56
|
+
$dara.Model.validateArray(this.domainIds);
|
|
57
|
+
}
|
|
58
|
+
super.validate();
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
constructor(map?: { [key: string]: any }) {
|
|
62
|
+
super(map);
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { DescribeDrivesResponseBody } from "./DescribeDrivesResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class DescribeDrivesResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: DescribeDrivesResponseBody;
|
|
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: DescribeDrivesResponseBody,
|
|
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,73 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { DescribeDrivesResponseBodyDrives } from "./DescribeDrivesResponseBodyDrives";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class DescribeDrivesResponseBody extends $dara.Model {
|
|
7
|
+
/**
|
|
8
|
+
* @example
|
|
9
|
+
* 200
|
|
10
|
+
*/
|
|
11
|
+
code?: string;
|
|
12
|
+
/**
|
|
13
|
+
* @example
|
|
14
|
+
* 2
|
|
15
|
+
*/
|
|
16
|
+
count?: number;
|
|
17
|
+
drives?: DescribeDrivesResponseBodyDrives[];
|
|
18
|
+
/**
|
|
19
|
+
* @example
|
|
20
|
+
* successful
|
|
21
|
+
*/
|
|
22
|
+
message?: string;
|
|
23
|
+
/**
|
|
24
|
+
* @example
|
|
25
|
+
* AAAA****
|
|
26
|
+
*/
|
|
27
|
+
nextToken?: string;
|
|
28
|
+
/**
|
|
29
|
+
* @example
|
|
30
|
+
* B7AA****
|
|
31
|
+
*/
|
|
32
|
+
requestId?: string;
|
|
33
|
+
/**
|
|
34
|
+
* @example
|
|
35
|
+
* true
|
|
36
|
+
*/
|
|
37
|
+
success?: boolean;
|
|
38
|
+
static names(): { [key: string]: string } {
|
|
39
|
+
return {
|
|
40
|
+
code: 'Code',
|
|
41
|
+
count: 'Count',
|
|
42
|
+
drives: 'Drives',
|
|
43
|
+
message: 'Message',
|
|
44
|
+
nextToken: 'NextToken',
|
|
45
|
+
requestId: 'RequestId',
|
|
46
|
+
success: 'Success',
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
static types(): { [key: string]: any } {
|
|
51
|
+
return {
|
|
52
|
+
code: 'string',
|
|
53
|
+
count: 'number',
|
|
54
|
+
drives: { 'type': 'array', 'itemType': DescribeDrivesResponseBodyDrives },
|
|
55
|
+
message: 'string',
|
|
56
|
+
nextToken: 'string',
|
|
57
|
+
requestId: 'string',
|
|
58
|
+
success: 'boolean',
|
|
59
|
+
};
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
validate() {
|
|
63
|
+
if(Array.isArray(this.drives)) {
|
|
64
|
+
$dara.Model.validateArray(this.drives);
|
|
65
|
+
}
|
|
66
|
+
super.validate();
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
constructor(map?: { [key: string]: any }) {
|
|
70
|
+
super(map);
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
|
|
@@ -0,0 +1,164 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { DescribeDrivesResponseBodyDrivesDesktopGroups } from "./DescribeDrivesResponseBodyDrivesDesktopGroups";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class DescribeDrivesResponseBodyDrives extends $dara.Model {
|
|
7
|
+
/**
|
|
8
|
+
* @example
|
|
9
|
+
* 1202****
|
|
10
|
+
*/
|
|
11
|
+
aliUid?: number;
|
|
12
|
+
/**
|
|
13
|
+
* @example
|
|
14
|
+
* test****
|
|
15
|
+
*/
|
|
16
|
+
description?: string;
|
|
17
|
+
/**
|
|
18
|
+
* @example
|
|
19
|
+
* 1
|
|
20
|
+
*/
|
|
21
|
+
desktopGroupCount?: number;
|
|
22
|
+
desktopGroups?: DescribeDrivesResponseBodyDrivesDesktopGroups[];
|
|
23
|
+
/**
|
|
24
|
+
* @example
|
|
25
|
+
* dom-aaaa****
|
|
26
|
+
*/
|
|
27
|
+
domainId?: string;
|
|
28
|
+
/**
|
|
29
|
+
* @example
|
|
30
|
+
* dri-aaaa****
|
|
31
|
+
*/
|
|
32
|
+
driveId?: string;
|
|
33
|
+
/**
|
|
34
|
+
* @example
|
|
35
|
+
* true
|
|
36
|
+
*/
|
|
37
|
+
enableProfileManagement?: boolean;
|
|
38
|
+
/**
|
|
39
|
+
* @example
|
|
40
|
+
* 0976****
|
|
41
|
+
*/
|
|
42
|
+
externalDomainId?: string;
|
|
43
|
+
/**
|
|
44
|
+
* @example
|
|
45
|
+
* 1100****
|
|
46
|
+
*/
|
|
47
|
+
externalDriveId?: string;
|
|
48
|
+
/**
|
|
49
|
+
* @example
|
|
50
|
+
* user01@cn-hangzhou.120****
|
|
51
|
+
*/
|
|
52
|
+
externalUserId?: string;
|
|
53
|
+
/**
|
|
54
|
+
* @example
|
|
55
|
+
* 2025-07-02T08:42:26.000+00:00
|
|
56
|
+
*/
|
|
57
|
+
gmtCreate?: string;
|
|
58
|
+
/**
|
|
59
|
+
* @example
|
|
60
|
+
* 2025-07-07T02:46:04.000+00:00
|
|
61
|
+
*/
|
|
62
|
+
gmtModified?: string;
|
|
63
|
+
/**
|
|
64
|
+
* @example
|
|
65
|
+
* 1
|
|
66
|
+
*/
|
|
67
|
+
id?: string;
|
|
68
|
+
/**
|
|
69
|
+
* @example
|
|
70
|
+
* test****
|
|
71
|
+
*/
|
|
72
|
+
name?: string;
|
|
73
|
+
/**
|
|
74
|
+
* @example
|
|
75
|
+
* -
|
|
76
|
+
*/
|
|
77
|
+
profileRoaming?: boolean;
|
|
78
|
+
/**
|
|
79
|
+
* @example
|
|
80
|
+
* NORMAL
|
|
81
|
+
*/
|
|
82
|
+
status?: string;
|
|
83
|
+
/**
|
|
84
|
+
* @example
|
|
85
|
+
* 536870912000
|
|
86
|
+
*/
|
|
87
|
+
totalSize?: number;
|
|
88
|
+
/**
|
|
89
|
+
* @example
|
|
90
|
+
* USER_PROFILE
|
|
91
|
+
*/
|
|
92
|
+
type?: string;
|
|
93
|
+
/**
|
|
94
|
+
* @example
|
|
95
|
+
* 243175936
|
|
96
|
+
*/
|
|
97
|
+
usedSize?: number;
|
|
98
|
+
/**
|
|
99
|
+
* @example
|
|
100
|
+
* user01
|
|
101
|
+
*/
|
|
102
|
+
userId?: string;
|
|
103
|
+
static names(): { [key: string]: string } {
|
|
104
|
+
return {
|
|
105
|
+
aliUid: 'AliUid',
|
|
106
|
+
description: 'Description',
|
|
107
|
+
desktopGroupCount: 'DesktopGroupCount',
|
|
108
|
+
desktopGroups: 'DesktopGroups',
|
|
109
|
+
domainId: 'DomainId',
|
|
110
|
+
driveId: 'DriveId',
|
|
111
|
+
enableProfileManagement: 'EnableProfileManagement',
|
|
112
|
+
externalDomainId: 'ExternalDomainId',
|
|
113
|
+
externalDriveId: 'ExternalDriveId',
|
|
114
|
+
externalUserId: 'ExternalUserId',
|
|
115
|
+
gmtCreate: 'GmtCreate',
|
|
116
|
+
gmtModified: 'GmtModified',
|
|
117
|
+
id: 'Id',
|
|
118
|
+
name: 'Name',
|
|
119
|
+
profileRoaming: 'ProfileRoaming',
|
|
120
|
+
status: 'Status',
|
|
121
|
+
totalSize: 'TotalSize',
|
|
122
|
+
type: 'Type',
|
|
123
|
+
usedSize: 'UsedSize',
|
|
124
|
+
userId: 'UserId',
|
|
125
|
+
};
|
|
126
|
+
}
|
|
127
|
+
|
|
128
|
+
static types(): { [key: string]: any } {
|
|
129
|
+
return {
|
|
130
|
+
aliUid: 'number',
|
|
131
|
+
description: 'string',
|
|
132
|
+
desktopGroupCount: 'number',
|
|
133
|
+
desktopGroups: { 'type': 'array', 'itemType': DescribeDrivesResponseBodyDrivesDesktopGroups },
|
|
134
|
+
domainId: 'string',
|
|
135
|
+
driveId: 'string',
|
|
136
|
+
enableProfileManagement: 'boolean',
|
|
137
|
+
externalDomainId: 'string',
|
|
138
|
+
externalDriveId: 'string',
|
|
139
|
+
externalUserId: 'string',
|
|
140
|
+
gmtCreate: 'string',
|
|
141
|
+
gmtModified: 'string',
|
|
142
|
+
id: 'string',
|
|
143
|
+
name: 'string',
|
|
144
|
+
profileRoaming: 'boolean',
|
|
145
|
+
status: 'string',
|
|
146
|
+
totalSize: 'number',
|
|
147
|
+
type: 'string',
|
|
148
|
+
usedSize: 'number',
|
|
149
|
+
userId: 'string',
|
|
150
|
+
};
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
validate() {
|
|
154
|
+
if(Array.isArray(this.desktopGroups)) {
|
|
155
|
+
$dara.Model.validateArray(this.desktopGroups);
|
|
156
|
+
}
|
|
157
|
+
super.validate();
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
constructor(map?: { [key: string]: any }) {
|
|
161
|
+
super(map);
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeDrivesResponseBodyDrivesDesktopGroups extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* dg-aaaa****
|
|
9
|
+
*/
|
|
10
|
+
desktopGroupId?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* group01
|
|
14
|
+
*/
|
|
15
|
+
desktopGroupName?: string;
|
|
16
|
+
static names(): { [key: string]: string } {
|
|
17
|
+
return {
|
|
18
|
+
desktopGroupId: 'DesktopGroupId',
|
|
19
|
+
desktopGroupName: 'DesktopGroupName',
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
static types(): { [key: string]: any } {
|
|
24
|
+
return {
|
|
25
|
+
desktopGroupId: 'string',
|
|
26
|
+
desktopGroupName: 'string',
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
validate() {
|
|
31
|
+
super.validate();
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
constructor(map?: { [key: string]: any }) {
|
|
35
|
+
super(map);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
package/src/models/model.ts
CHANGED
|
@@ -35,6 +35,7 @@ export { CreateDesktopsShrinkRequestDesktopTimers } from './CreateDesktopsShrink
|
|
|
35
35
|
export { CreateDesktopsShrinkRequestMonthDesktopSetting } from './CreateDesktopsShrinkRequestMonthDesktopSetting';
|
|
36
36
|
export { CreateDesktopsShrinkRequestTag } from './CreateDesktopsShrinkRequestTag';
|
|
37
37
|
export { CreateDesktopsShrinkRequestUserCommands } from './CreateDesktopsShrinkRequestUserCommands';
|
|
38
|
+
export { CreateDriveResponseBodyDrive } from './CreateDriveResponseBodyDrive';
|
|
38
39
|
export { CreatePolicyGroupRequestAuthorizeAccessPolicyRule } from './CreatePolicyGroupRequestAuthorizeAccessPolicyRule';
|
|
39
40
|
export { CreatePolicyGroupRequestAuthorizeSecurityPolicyRule } from './CreatePolicyGroupRequestAuthorizeSecurityPolicyRule';
|
|
40
41
|
export { CreatePolicyGroupRequestClientType } from './CreatePolicyGroupRequestClientType';
|
|
@@ -100,6 +101,8 @@ export { DescribeDevicesResponseBodyDevices } from './DescribeDevicesResponseBod
|
|
|
100
101
|
export { DescribeDirectoriesResponseBodyDirectoriesADConnectors } from './DescribeDirectoriesResponseBodyDirectoriesAdconnectors';
|
|
101
102
|
export { DescribeDirectoriesResponseBodyDirectoriesLogs } from './DescribeDirectoriesResponseBodyDirectoriesLogs';
|
|
102
103
|
export { DescribeDirectoriesResponseBodyDirectories } from './DescribeDirectoriesResponseBodyDirectories';
|
|
104
|
+
export { DescribeDrivesResponseBodyDrivesDesktopGroups } from './DescribeDrivesResponseBodyDrivesDesktopGroups';
|
|
105
|
+
export { DescribeDrivesResponseBodyDrives } from './DescribeDrivesResponseBodyDrives';
|
|
103
106
|
export { DescribeFlowStatisticResponseBodyDesktopFlowStatistic } from './DescribeFlowStatisticResponseBodyDesktopFlowStatistic';
|
|
104
107
|
export { DescribeFotaPendingDesktopsResponseBodyFotaPendingDesktopsSessions } from './DescribeFotaPendingDesktopsResponseBodyFotaPendingDesktopsSessions';
|
|
105
108
|
export { DescribeFotaPendingDesktopsResponseBodyFotaPendingDesktops } from './DescribeFotaPendingDesktopsResponseBodyFotaPendingDesktops';
|
|
@@ -361,6 +364,9 @@ export { CreateDesktopsResponse } from './CreateDesktopsResponse';
|
|
|
361
364
|
export { CreateDiskEncryptionServiceRequest } from './CreateDiskEncryptionServiceRequest';
|
|
362
365
|
export { CreateDiskEncryptionServiceResponseBody } from './CreateDiskEncryptionServiceResponseBody';
|
|
363
366
|
export { CreateDiskEncryptionServiceResponse } from './CreateDiskEncryptionServiceResponse';
|
|
367
|
+
export { CreateDriveRequest } from './CreateDriveRequest';
|
|
368
|
+
export { CreateDriveResponseBody } from './CreateDriveResponseBody';
|
|
369
|
+
export { CreateDriveResponse } from './CreateDriveResponse';
|
|
364
370
|
export { CreateImageRequest } from './CreateImageRequest';
|
|
365
371
|
export { CreateImageResponseBody } from './CreateImageResponseBody';
|
|
366
372
|
export { CreateImageResponse } from './CreateImageResponse';
|
|
@@ -418,6 +424,9 @@ export { DeleteDevicesResponse } from './DeleteDevicesResponse';
|
|
|
418
424
|
export { DeleteDirectoriesRequest } from './DeleteDirectoriesRequest';
|
|
419
425
|
export { DeleteDirectoriesResponseBody } from './DeleteDirectoriesResponseBody';
|
|
420
426
|
export { DeleteDirectoriesResponse } from './DeleteDirectoriesResponse';
|
|
427
|
+
export { DeleteDriveRequest } from './DeleteDriveRequest';
|
|
428
|
+
export { DeleteDriveResponseBody } from './DeleteDriveResponseBody';
|
|
429
|
+
export { DeleteDriveResponse } from './DeleteDriveResponse';
|
|
421
430
|
export { DeleteEduRoomRequest } from './DeleteEduRoomRequest';
|
|
422
431
|
export { DeleteEduRoomResponseBody } from './DeleteEduRoomResponseBody';
|
|
423
432
|
export { DeleteEduRoomResponse } from './DeleteEduRoomResponse';
|
|
@@ -517,6 +526,9 @@ export { DescribeDevicesResponse } from './DescribeDevicesResponse';
|
|
|
517
526
|
export { DescribeDirectoriesRequest } from './DescribeDirectoriesRequest';
|
|
518
527
|
export { DescribeDirectoriesResponseBody } from './DescribeDirectoriesResponseBody';
|
|
519
528
|
export { DescribeDirectoriesResponse } from './DescribeDirectoriesResponse';
|
|
529
|
+
export { DescribeDrivesRequest } from './DescribeDrivesRequest';
|
|
530
|
+
export { DescribeDrivesResponseBody } from './DescribeDrivesResponseBody';
|
|
531
|
+
export { DescribeDrivesResponse } from './DescribeDrivesResponse';
|
|
520
532
|
export { DescribeFlowMetricRequest } from './DescribeFlowMetricRequest';
|
|
521
533
|
export { DescribeFlowMetricResponseBody } from './DescribeFlowMetricResponseBody';
|
|
522
534
|
export { DescribeFlowMetricResponse } from './DescribeFlowMetricResponse';
|