@alicloud/ecd20200930 4.12.1 → 4.13.1
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 +15 -0
- package/dist/client.js +120 -0
- package/dist/client.js.map +1 -1
- package/dist/models/CreateCenterPolicyRequest.d.ts +1 -0
- package/dist/models/CreateCenterPolicyRequest.js +2 -0
- package/dist/models/CreateCenterPolicyRequest.js.map +1 -1
- package/dist/models/CreateSimpleOfficeSiteRequest.d.ts +6 -0
- package/dist/models/CreateSimpleOfficeSiteRequest.js +12 -0
- package/dist/models/CreateSimpleOfficeSiteRequest.js.map +1 -1
- package/dist/models/DescribeDesktopGroupsResponseBody.d.ts +2 -0
- package/dist/models/DescribeDesktopGroupsResponseBody.js +4 -0
- package/dist/models/DescribeDesktopGroupsResponseBody.js.map +1 -1
- package/dist/models/DescribeDesktopsResponseBody.d.ts +2 -0
- package/dist/models/DescribeDesktopsResponseBody.js +4 -0
- package/dist/models/DescribeDesktopsResponseBody.js.map +1 -1
- package/dist/models/DescribeGlobalDesktopRecordsRequest.d.ts +87 -0
- package/dist/models/DescribeGlobalDesktopRecordsRequest.js +89 -0
- package/dist/models/DescribeGlobalDesktopRecordsRequest.js.map +1 -0
- package/dist/models/DescribeGlobalDesktopRecordsResponse.d.ts +19 -0
- package/dist/models/DescribeGlobalDesktopRecordsResponse.js +69 -0
- package/dist/models/DescribeGlobalDesktopRecordsResponse.js.map +1 -0
- package/dist/models/DescribeGlobalDesktopRecordsResponseBody.d.ts +193 -0
- package/dist/models/DescribeGlobalDesktopRecordsResponseBody.js +183 -0
- package/dist/models/DescribeGlobalDesktopRecordsResponseBody.js.map +1 -0
- package/dist/models/DescribeOfficeSitesResponseBody.d.ts +5 -0
- package/dist/models/DescribeOfficeSitesResponseBody.js +10 -0
- package/dist/models/DescribeOfficeSitesResponseBody.js.map +1 -1
- package/dist/models/DescribePolicyGroupsResponseBody.d.ts +1 -0
- package/dist/models/DescribePolicyGroupsResponseBody.js +2 -0
- package/dist/models/DescribePolicyGroupsResponseBody.js.map +1 -1
- package/dist/models/ModifyCenterPolicyRequest.d.ts +1 -0
- package/dist/models/ModifyCenterPolicyRequest.js +2 -0
- package/dist/models/ModifyCenterPolicyRequest.js.map +1 -1
- package/dist/models/ModifyOfficeSiteAttributeRequest.d.ts +5 -0
- package/dist/models/ModifyOfficeSiteAttributeRequest.js +10 -0
- package/dist/models/ModifyOfficeSiteAttributeRequest.js.map +1 -1
- package/dist/models/model.d.ts +6 -0
- package/dist/models/model.js +32 -20
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +150 -0
- package/src/models/CreateCenterPolicyRequest.ts +3 -0
- package/src/models/CreateSimpleOfficeSiteRequest.ts +18 -0
- package/src/models/DescribeDesktopGroupsResponseBody.ts +6 -0
- package/src/models/DescribeDesktopsResponseBody.ts +6 -0
- package/src/models/DescribeGlobalDesktopRecordsRequest.ts +131 -0
- package/src/models/DescribeGlobalDesktopRecordsResponse.ts +40 -0
- package/src/models/DescribeGlobalDesktopRecordsResponseBody.ts +304 -0
- package/src/models/DescribeOfficeSitesResponseBody.ts +15 -0
- package/src/models/DescribePolicyGroupsResponseBody.ts +3 -0
- package/src/models/ModifyCenterPolicyRequest.ts +3 -0
- package/src/models/ModifyOfficeSiteAttributeRequest.ts +15 -0
- package/src/models/model.ts +6 -0
|
@@ -0,0 +1,131 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeGlobalDesktopRecordsRequest extends $dara.Model {
|
|
6
|
+
desktopId?: string[];
|
|
7
|
+
/**
|
|
8
|
+
* @example
|
|
9
|
+
* DemoComputer
|
|
10
|
+
*/
|
|
11
|
+
desktopName?: string;
|
|
12
|
+
/**
|
|
13
|
+
* @example
|
|
14
|
+
* eds.enterprise_office.2c4g
|
|
15
|
+
*/
|
|
16
|
+
desktopType?: string;
|
|
17
|
+
/**
|
|
18
|
+
* @example
|
|
19
|
+
* 2022-08-31T06:56:45Z
|
|
20
|
+
*/
|
|
21
|
+
endTime?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @example
|
|
24
|
+
* TestUser
|
|
25
|
+
*/
|
|
26
|
+
endUserId?: string;
|
|
27
|
+
/**
|
|
28
|
+
* @example
|
|
29
|
+
* cn-hangzhou+dir-363353****
|
|
30
|
+
*/
|
|
31
|
+
officeSiteId?: string;
|
|
32
|
+
/**
|
|
33
|
+
* @example
|
|
34
|
+
* uptime
|
|
35
|
+
*/
|
|
36
|
+
orderBy?: string;
|
|
37
|
+
/**
|
|
38
|
+
* @example
|
|
39
|
+
* 1
|
|
40
|
+
*/
|
|
41
|
+
pageNumber?: number;
|
|
42
|
+
/**
|
|
43
|
+
* @example
|
|
44
|
+
* 20
|
|
45
|
+
*/
|
|
46
|
+
pageSize?: number;
|
|
47
|
+
/**
|
|
48
|
+
* @remarks
|
|
49
|
+
* This parameter is required.
|
|
50
|
+
*
|
|
51
|
+
* @example
|
|
52
|
+
* cn-shanghai
|
|
53
|
+
*/
|
|
54
|
+
regionId?: string;
|
|
55
|
+
/**
|
|
56
|
+
* @example
|
|
57
|
+
* rg-3mtuc28rx95lx****
|
|
58
|
+
*/
|
|
59
|
+
resourceGroupId?: string;
|
|
60
|
+
/**
|
|
61
|
+
* @example
|
|
62
|
+
* ADVANCED
|
|
63
|
+
*/
|
|
64
|
+
scope?: string;
|
|
65
|
+
/**
|
|
66
|
+
* @example
|
|
67
|
+
* Asc
|
|
68
|
+
*/
|
|
69
|
+
sortType?: string;
|
|
70
|
+
/**
|
|
71
|
+
* @example
|
|
72
|
+
* 2022-03-23T04:10:21Z
|
|
73
|
+
*/
|
|
74
|
+
startTime?: string;
|
|
75
|
+
/**
|
|
76
|
+
* @example
|
|
77
|
+
* monthPackage
|
|
78
|
+
*/
|
|
79
|
+
subPayType?: string;
|
|
80
|
+
static names(): { [key: string]: string } {
|
|
81
|
+
return {
|
|
82
|
+
desktopId: 'DesktopId',
|
|
83
|
+
desktopName: 'DesktopName',
|
|
84
|
+
desktopType: 'DesktopType',
|
|
85
|
+
endTime: 'EndTime',
|
|
86
|
+
endUserId: 'EndUserId',
|
|
87
|
+
officeSiteId: 'OfficeSiteId',
|
|
88
|
+
orderBy: 'OrderBy',
|
|
89
|
+
pageNumber: 'PageNumber',
|
|
90
|
+
pageSize: 'PageSize',
|
|
91
|
+
regionId: 'RegionId',
|
|
92
|
+
resourceGroupId: 'ResourceGroupId',
|
|
93
|
+
scope: 'Scope',
|
|
94
|
+
sortType: 'SortType',
|
|
95
|
+
startTime: 'StartTime',
|
|
96
|
+
subPayType: 'SubPayType',
|
|
97
|
+
};
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
static types(): { [key: string]: any } {
|
|
101
|
+
return {
|
|
102
|
+
desktopId: { 'type': 'array', 'itemType': 'string' },
|
|
103
|
+
desktopName: 'string',
|
|
104
|
+
desktopType: 'string',
|
|
105
|
+
endTime: 'string',
|
|
106
|
+
endUserId: 'string',
|
|
107
|
+
officeSiteId: 'string',
|
|
108
|
+
orderBy: 'string',
|
|
109
|
+
pageNumber: 'number',
|
|
110
|
+
pageSize: 'number',
|
|
111
|
+
regionId: 'string',
|
|
112
|
+
resourceGroupId: 'string',
|
|
113
|
+
scope: 'string',
|
|
114
|
+
sortType: 'string',
|
|
115
|
+
startTime: 'string',
|
|
116
|
+
subPayType: 'string',
|
|
117
|
+
};
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
validate() {
|
|
121
|
+
if(Array.isArray(this.desktopId)) {
|
|
122
|
+
$dara.Model.validateArray(this.desktopId);
|
|
123
|
+
}
|
|
124
|
+
super.validate();
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
constructor(map?: { [key: string]: any }) {
|
|
128
|
+
super(map);
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { DescribeGlobalDesktopRecordsResponseBody } from "./DescribeGlobalDesktopRecordsResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class DescribeGlobalDesktopRecordsResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: DescribeGlobalDesktopRecordsResponseBody;
|
|
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: DescribeGlobalDesktopRecordsResponseBody,
|
|
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,304 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribeGlobalDesktopRecordsResponseBodySessionsResourceGroups extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* rg-f3s3dgt8dtb0vlqc8
|
|
9
|
+
*/
|
|
10
|
+
resourceGroupId?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* dms_test
|
|
14
|
+
*/
|
|
15
|
+
resourceGroupName?: string;
|
|
16
|
+
static names(): { [key: string]: string } {
|
|
17
|
+
return {
|
|
18
|
+
resourceGroupId: 'ResourceGroupId',
|
|
19
|
+
resourceGroupName: 'ResourceGroupName',
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
static types(): { [key: string]: any } {
|
|
24
|
+
return {
|
|
25
|
+
resourceGroupId: 'string',
|
|
26
|
+
resourceGroupName: 'string',
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
validate() {
|
|
31
|
+
super.validate();
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
constructor(map?: { [key: string]: any }) {
|
|
35
|
+
super(map);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
export class DescribeGlobalDesktopRecordsResponseBodySessionsSessions extends $dara.Model {
|
|
40
|
+
/**
|
|
41
|
+
* @example
|
|
42
|
+
* TestUser
|
|
43
|
+
*/
|
|
44
|
+
endUserId?: string;
|
|
45
|
+
/**
|
|
46
|
+
* @example
|
|
47
|
+
* 2022-08-31T06:56:45Z
|
|
48
|
+
*/
|
|
49
|
+
establishmentTime?: string;
|
|
50
|
+
static names(): { [key: string]: string } {
|
|
51
|
+
return {
|
|
52
|
+
endUserId: 'EndUserId',
|
|
53
|
+
establishmentTime: 'EstablishmentTime',
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
static types(): { [key: string]: any } {
|
|
58
|
+
return {
|
|
59
|
+
endUserId: 'string',
|
|
60
|
+
establishmentTime: 'string',
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
validate() {
|
|
65
|
+
super.validate();
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
constructor(map?: { [key: string]: any }) {
|
|
69
|
+
super(map);
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
export class DescribeGlobalDesktopRecordsResponseBodySessions extends $dara.Model {
|
|
74
|
+
/**
|
|
75
|
+
* @example
|
|
76
|
+
* Connected
|
|
77
|
+
*/
|
|
78
|
+
connectionStatus?: string;
|
|
79
|
+
/**
|
|
80
|
+
* @example
|
|
81
|
+
* 2
|
|
82
|
+
*/
|
|
83
|
+
cpu?: number;
|
|
84
|
+
/**
|
|
85
|
+
* @example
|
|
86
|
+
* dg-iaqu3bi2xtie****
|
|
87
|
+
*/
|
|
88
|
+
desktopGroupId?: string;
|
|
89
|
+
/**
|
|
90
|
+
* @example
|
|
91
|
+
* DemoCCGroup
|
|
92
|
+
*/
|
|
93
|
+
desktopGroupName?: string;
|
|
94
|
+
/**
|
|
95
|
+
* @example
|
|
96
|
+
* ecd-g6t1ukbaea****
|
|
97
|
+
*/
|
|
98
|
+
desktopId?: string;
|
|
99
|
+
/**
|
|
100
|
+
* @example
|
|
101
|
+
* DemoComputer
|
|
102
|
+
*/
|
|
103
|
+
desktopName?: string;
|
|
104
|
+
/**
|
|
105
|
+
* @example
|
|
106
|
+
* Running
|
|
107
|
+
*/
|
|
108
|
+
desktopStatus?: string;
|
|
109
|
+
/**
|
|
110
|
+
* @example
|
|
111
|
+
* TestUser
|
|
112
|
+
*/
|
|
113
|
+
endUserId?: string;
|
|
114
|
+
endUserIds?: string[];
|
|
115
|
+
/**
|
|
116
|
+
* @example
|
|
117
|
+
* 8GiB
|
|
118
|
+
*/
|
|
119
|
+
gpuSpec?: string;
|
|
120
|
+
/**
|
|
121
|
+
* @example
|
|
122
|
+
* 120
|
|
123
|
+
*/
|
|
124
|
+
latestConnectionTime?: number;
|
|
125
|
+
/**
|
|
126
|
+
* @example
|
|
127
|
+
* 4096
|
|
128
|
+
*/
|
|
129
|
+
memory?: number;
|
|
130
|
+
/**
|
|
131
|
+
* @example
|
|
132
|
+
* cn-hangzhou+dir-8904****
|
|
133
|
+
*/
|
|
134
|
+
officeSiteId?: string;
|
|
135
|
+
/**
|
|
136
|
+
* @example
|
|
137
|
+
* TestOfficeSite
|
|
138
|
+
*/
|
|
139
|
+
officeSiteName?: string;
|
|
140
|
+
/**
|
|
141
|
+
* @example
|
|
142
|
+
* Linux
|
|
143
|
+
*/
|
|
144
|
+
osType?: string;
|
|
145
|
+
/**
|
|
146
|
+
* @example
|
|
147
|
+
* Windows 10
|
|
148
|
+
*/
|
|
149
|
+
platform?: string;
|
|
150
|
+
/**
|
|
151
|
+
* @example
|
|
152
|
+
* ASP
|
|
153
|
+
*/
|
|
154
|
+
protocolType?: string;
|
|
155
|
+
/**
|
|
156
|
+
* @example
|
|
157
|
+
* cn-beijing
|
|
158
|
+
*/
|
|
159
|
+
regionId?: string;
|
|
160
|
+
resourceGroups?: DescribeGlobalDesktopRecordsResponseBodySessionsResourceGroups[];
|
|
161
|
+
/**
|
|
162
|
+
* @example
|
|
163
|
+
* 120
|
|
164
|
+
*/
|
|
165
|
+
sessionIdleTime?: number;
|
|
166
|
+
sessions?: DescribeGlobalDesktopRecordsResponseBodySessionsSessions[];
|
|
167
|
+
/**
|
|
168
|
+
* @example
|
|
169
|
+
* 1760583xxxx
|
|
170
|
+
*/
|
|
171
|
+
statusChangeTime?: number;
|
|
172
|
+
/**
|
|
173
|
+
* @example
|
|
174
|
+
* monthPackage
|
|
175
|
+
*/
|
|
176
|
+
subPayType?: string;
|
|
177
|
+
/**
|
|
178
|
+
* @example
|
|
179
|
+
* 240
|
|
180
|
+
*/
|
|
181
|
+
totalConnectionTime?: number;
|
|
182
|
+
/**
|
|
183
|
+
* @example
|
|
184
|
+
* 86400
|
|
185
|
+
*/
|
|
186
|
+
upTime?: number;
|
|
187
|
+
static names(): { [key: string]: string } {
|
|
188
|
+
return {
|
|
189
|
+
connectionStatus: 'ConnectionStatus',
|
|
190
|
+
cpu: 'Cpu',
|
|
191
|
+
desktopGroupId: 'DesktopGroupId',
|
|
192
|
+
desktopGroupName: 'DesktopGroupName',
|
|
193
|
+
desktopId: 'DesktopId',
|
|
194
|
+
desktopName: 'DesktopName',
|
|
195
|
+
desktopStatus: 'DesktopStatus',
|
|
196
|
+
endUserId: 'EndUserId',
|
|
197
|
+
endUserIds: 'EndUserIds',
|
|
198
|
+
gpuSpec: 'GpuSpec',
|
|
199
|
+
latestConnectionTime: 'LatestConnectionTime',
|
|
200
|
+
memory: 'Memory',
|
|
201
|
+
officeSiteId: 'OfficeSiteId',
|
|
202
|
+
officeSiteName: 'OfficeSiteName',
|
|
203
|
+
osType: 'OsType',
|
|
204
|
+
platform: 'Platform',
|
|
205
|
+
protocolType: 'ProtocolType',
|
|
206
|
+
regionId: 'RegionId',
|
|
207
|
+
resourceGroups: 'ResourceGroups',
|
|
208
|
+
sessionIdleTime: 'SessionIdleTime',
|
|
209
|
+
sessions: 'Sessions',
|
|
210
|
+
statusChangeTime: 'StatusChangeTime',
|
|
211
|
+
subPayType: 'SubPayType',
|
|
212
|
+
totalConnectionTime: 'TotalConnectionTime',
|
|
213
|
+
upTime: 'UpTime',
|
|
214
|
+
};
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
static types(): { [key: string]: any } {
|
|
218
|
+
return {
|
|
219
|
+
connectionStatus: 'string',
|
|
220
|
+
cpu: 'number',
|
|
221
|
+
desktopGroupId: 'string',
|
|
222
|
+
desktopGroupName: 'string',
|
|
223
|
+
desktopId: 'string',
|
|
224
|
+
desktopName: 'string',
|
|
225
|
+
desktopStatus: 'string',
|
|
226
|
+
endUserId: 'string',
|
|
227
|
+
endUserIds: { 'type': 'array', 'itemType': 'string' },
|
|
228
|
+
gpuSpec: 'string',
|
|
229
|
+
latestConnectionTime: 'number',
|
|
230
|
+
memory: 'number',
|
|
231
|
+
officeSiteId: 'string',
|
|
232
|
+
officeSiteName: 'string',
|
|
233
|
+
osType: 'string',
|
|
234
|
+
platform: 'string',
|
|
235
|
+
protocolType: 'string',
|
|
236
|
+
regionId: 'string',
|
|
237
|
+
resourceGroups: { 'type': 'array', 'itemType': DescribeGlobalDesktopRecordsResponseBodySessionsResourceGroups },
|
|
238
|
+
sessionIdleTime: 'number',
|
|
239
|
+
sessions: { 'type': 'array', 'itemType': DescribeGlobalDesktopRecordsResponseBodySessionsSessions },
|
|
240
|
+
statusChangeTime: 'number',
|
|
241
|
+
subPayType: 'string',
|
|
242
|
+
totalConnectionTime: 'number',
|
|
243
|
+
upTime: 'number',
|
|
244
|
+
};
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
validate() {
|
|
248
|
+
if(Array.isArray(this.endUserIds)) {
|
|
249
|
+
$dara.Model.validateArray(this.endUserIds);
|
|
250
|
+
}
|
|
251
|
+
if(Array.isArray(this.resourceGroups)) {
|
|
252
|
+
$dara.Model.validateArray(this.resourceGroups);
|
|
253
|
+
}
|
|
254
|
+
if(Array.isArray(this.sessions)) {
|
|
255
|
+
$dara.Model.validateArray(this.sessions);
|
|
256
|
+
}
|
|
257
|
+
super.validate();
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
constructor(map?: { [key: string]: any }) {
|
|
261
|
+
super(map);
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
export class DescribeGlobalDesktopRecordsResponseBody extends $dara.Model {
|
|
266
|
+
/**
|
|
267
|
+
* @example
|
|
268
|
+
* 1CBAFFAB-B697-4049-A9B1-67E1FC5F****
|
|
269
|
+
*/
|
|
270
|
+
requestId?: string;
|
|
271
|
+
sessions?: DescribeGlobalDesktopRecordsResponseBodySessions[];
|
|
272
|
+
/**
|
|
273
|
+
* @example
|
|
274
|
+
* 1
|
|
275
|
+
*/
|
|
276
|
+
totalCount?: number;
|
|
277
|
+
static names(): { [key: string]: string } {
|
|
278
|
+
return {
|
|
279
|
+
requestId: 'RequestId',
|
|
280
|
+
sessions: 'Sessions',
|
|
281
|
+
totalCount: 'TotalCount',
|
|
282
|
+
};
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
static types(): { [key: string]: any } {
|
|
286
|
+
return {
|
|
287
|
+
requestId: 'string',
|
|
288
|
+
sessions: { 'type': 'array', 'itemType': DescribeGlobalDesktopRecordsResponseBodySessions },
|
|
289
|
+
totalCount: 'number',
|
|
290
|
+
};
|
|
291
|
+
}
|
|
292
|
+
|
|
293
|
+
validate() {
|
|
294
|
+
if(Array.isArray(this.sessions)) {
|
|
295
|
+
$dara.Model.validateArray(this.sessions);
|
|
296
|
+
}
|
|
297
|
+
super.validate();
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
constructor(map?: { [key: string]: any }) {
|
|
301
|
+
super(map);
|
|
302
|
+
}
|
|
303
|
+
}
|
|
304
|
+
|
|
@@ -220,6 +220,7 @@ export class DescribeOfficeSitesResponseBodyOfficeSites extends $dara.Model {
|
|
|
220
220
|
* ga-bp1astu3yrplkzoo2****
|
|
221
221
|
*/
|
|
222
222
|
acceleratorId?: string;
|
|
223
|
+
accountType?: string;
|
|
223
224
|
/**
|
|
224
225
|
* @remarks
|
|
225
226
|
* The hostname of the domain controller. The hostname must comply with the hostname naming convention of Windows.
|
|
@@ -228,6 +229,7 @@ export class DescribeOfficeSitesResponseBodyOfficeSites extends $dara.Model {
|
|
|
228
229
|
* beijing-ad01
|
|
229
230
|
*/
|
|
230
231
|
adHostname?: string;
|
|
232
|
+
authorityHost?: string;
|
|
231
233
|
/**
|
|
232
234
|
* @remarks
|
|
233
235
|
* The hostname of the secondary domain controller.
|
|
@@ -277,6 +279,8 @@ export class DescribeOfficeSitesResponseBodyOfficeSites extends $dara.Model {
|
|
|
277
279
|
* 172.16.0.0/16
|
|
278
280
|
*/
|
|
279
281
|
cidrBlock?: string;
|
|
282
|
+
clientId?: string;
|
|
283
|
+
clientSecret?: string;
|
|
280
284
|
/**
|
|
281
285
|
* @remarks
|
|
282
286
|
* Indicates whether the CloudBox-based office network is created.
|
|
@@ -645,6 +649,7 @@ export class DescribeOfficeSitesResponseBodyOfficeSites extends $dara.Model {
|
|
|
645
649
|
* 0
|
|
646
650
|
*/
|
|
647
651
|
subnetMode?: string;
|
|
652
|
+
tenantId?: string;
|
|
648
653
|
/**
|
|
649
654
|
* @remarks
|
|
650
655
|
* The total number of cloud computers.
|
|
@@ -708,13 +713,17 @@ export class DescribeOfficeSitesResponseBodyOfficeSites extends $dara.Model {
|
|
|
708
713
|
return {
|
|
709
714
|
ADConnectors: 'ADConnectors',
|
|
710
715
|
acceleratorId: 'AcceleratorId',
|
|
716
|
+
accountType: 'AccountType',
|
|
711
717
|
adHostname: 'AdHostname',
|
|
718
|
+
authorityHost: 'AuthorityHost',
|
|
712
719
|
backupDCHostname: 'BackupDCHostname',
|
|
713
720
|
backupDns: 'BackupDns',
|
|
714
721
|
bandwidth: 'Bandwidth',
|
|
715
722
|
cenAttachStatus: 'CenAttachStatus',
|
|
716
723
|
cenId: 'CenId',
|
|
717
724
|
cidrBlock: 'CidrBlock',
|
|
725
|
+
clientId: 'ClientId',
|
|
726
|
+
clientSecret: 'ClientSecret',
|
|
718
727
|
cloudBoxOfficeSite: 'CloudBoxOfficeSite',
|
|
719
728
|
creationTime: 'CreationTime',
|
|
720
729
|
customAccessPoint: 'CustomAccessPoint',
|
|
@@ -757,6 +766,7 @@ export class DescribeOfficeSitesResponseBodyOfficeSites extends $dara.Model {
|
|
|
757
766
|
subDnsAddress: 'SubDnsAddress',
|
|
758
767
|
subDomainName: 'SubDomainName',
|
|
759
768
|
subnetMode: 'SubnetMode',
|
|
769
|
+
tenantId: 'TenantId',
|
|
760
770
|
totalEdsCount: 'TotalEdsCount',
|
|
761
771
|
totalEdsCountForGroup: 'TotalEdsCountForGroup',
|
|
762
772
|
totalResourceAmount: 'TotalResourceAmount',
|
|
@@ -771,13 +781,17 @@ export class DescribeOfficeSitesResponseBodyOfficeSites extends $dara.Model {
|
|
|
771
781
|
return {
|
|
772
782
|
ADConnectors: { 'type': 'array', 'itemType': DescribeOfficeSitesResponseBodyOfficeSitesADConnectors },
|
|
773
783
|
acceleratorId: 'string',
|
|
784
|
+
accountType: 'string',
|
|
774
785
|
adHostname: 'string',
|
|
786
|
+
authorityHost: 'string',
|
|
775
787
|
backupDCHostname: 'string',
|
|
776
788
|
backupDns: 'string',
|
|
777
789
|
bandwidth: 'number',
|
|
778
790
|
cenAttachStatus: 'string',
|
|
779
791
|
cenId: 'string',
|
|
780
792
|
cidrBlock: 'string',
|
|
793
|
+
clientId: 'string',
|
|
794
|
+
clientSecret: 'string',
|
|
781
795
|
cloudBoxOfficeSite: 'boolean',
|
|
782
796
|
creationTime: 'string',
|
|
783
797
|
customAccessPoint: 'string',
|
|
@@ -820,6 +834,7 @@ export class DescribeOfficeSitesResponseBodyOfficeSites extends $dara.Model {
|
|
|
820
834
|
subDnsAddress: { 'type': 'array', 'itemType': 'string' },
|
|
821
835
|
subDomainName: 'string',
|
|
822
836
|
subnetMode: 'string',
|
|
837
|
+
tenantId: 'string',
|
|
823
838
|
totalEdsCount: 'number',
|
|
824
839
|
totalEdsCountForGroup: 'number',
|
|
825
840
|
totalResourceAmount: 'number',
|
|
@@ -841,6 +841,7 @@ export class DescribePolicyGroupsResponseBodyDescribePolicyGroups extends $dara.
|
|
|
841
841
|
* on
|
|
842
842
|
*/
|
|
843
843
|
endUserGroupCoordinate?: string;
|
|
844
|
+
externalDrive?: string;
|
|
844
845
|
fileMigrate?: string;
|
|
845
846
|
/**
|
|
846
847
|
* @remarks
|
|
@@ -1675,6 +1676,7 @@ export class DescribePolicyGroupsResponseBodyDescribePolicyGroups extends $dara.
|
|
|
1675
1676
|
edsCount: 'EdsCount',
|
|
1676
1677
|
endUserApplyAdminCoordinate: 'EndUserApplyAdminCoordinate',
|
|
1677
1678
|
endUserGroupCoordinate: 'EndUserGroupCoordinate',
|
|
1679
|
+
externalDrive: 'ExternalDrive',
|
|
1678
1680
|
fileMigrate: 'FileMigrate',
|
|
1679
1681
|
fileTransfer: 'FileTransfer',
|
|
1680
1682
|
fileTransferAddress: 'FileTransferAddress',
|
|
@@ -1798,6 +1800,7 @@ export class DescribePolicyGroupsResponseBodyDescribePolicyGroups extends $dara.
|
|
|
1798
1800
|
edsCount: 'number',
|
|
1799
1801
|
endUserApplyAdminCoordinate: 'string',
|
|
1800
1802
|
endUserGroupCoordinate: 'string',
|
|
1803
|
+
externalDrive: 'string',
|
|
1801
1804
|
fileMigrate: 'string',
|
|
1802
1805
|
fileTransfer: 'string',
|
|
1803
1806
|
fileTransferAddress: 'string',
|
|
@@ -1048,6 +1048,7 @@ export class ModifyCenterPolicyRequest extends $dara.Model {
|
|
|
1048
1048
|
* off
|
|
1049
1049
|
*/
|
|
1050
1050
|
endUserGroupCoordinate?: string;
|
|
1051
|
+
externalDrive?: string;
|
|
1051
1052
|
/**
|
|
1052
1053
|
* @remarks
|
|
1053
1054
|
* Specifies whether to enable file transfer.
|
|
@@ -1905,6 +1906,7 @@ export class ModifyCenterPolicyRequest extends $dara.Model {
|
|
|
1905
1906
|
enableSessionRateLimiting: 'EnableSessionRateLimiting',
|
|
1906
1907
|
endUserApplyAdminCoordinate: 'EndUserApplyAdminCoordinate',
|
|
1907
1908
|
endUserGroupCoordinate: 'EndUserGroupCoordinate',
|
|
1909
|
+
externalDrive: 'ExternalDrive',
|
|
1908
1910
|
fileMigrate: 'FileMigrate',
|
|
1909
1911
|
fileTransferAddress: 'FileTransferAddress',
|
|
1910
1912
|
fileTransferSpeed: 'FileTransferSpeed',
|
|
@@ -2029,6 +2031,7 @@ export class ModifyCenterPolicyRequest extends $dara.Model {
|
|
|
2029
2031
|
enableSessionRateLimiting: 'string',
|
|
2030
2032
|
endUserApplyAdminCoordinate: 'string',
|
|
2031
2033
|
endUserGroupCoordinate: 'string',
|
|
2034
|
+
externalDrive: 'string',
|
|
2032
2035
|
fileMigrate: 'string',
|
|
2033
2036
|
fileTransferAddress: 'string',
|
|
2034
2037
|
fileTransferSpeed: 'string',
|
|
@@ -3,6 +3,9 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class ModifyOfficeSiteAttributeRequest extends $dara.Model {
|
|
6
|
+
authorityHost?: string;
|
|
7
|
+
clientId?: string;
|
|
8
|
+
clientSecret?: string;
|
|
6
9
|
/**
|
|
7
10
|
* @remarks
|
|
8
11
|
* The method to connect to cloud computers from Alibaba Cloud Workspace clients.
|
|
@@ -19,6 +22,7 @@ export class ModifyOfficeSiteAttributeRequest extends $dara.Model {
|
|
|
19
22
|
* INTERNET
|
|
20
23
|
*/
|
|
21
24
|
desktopAccessType?: string;
|
|
25
|
+
domainName?: string;
|
|
22
26
|
/**
|
|
23
27
|
* @remarks
|
|
24
28
|
* Specifies whether to grant the local administrator permissions to users that are authorized to use cloud computers in the office network.
|
|
@@ -77,27 +81,38 @@ export class ModifyOfficeSiteAttributeRequest extends $dara.Model {
|
|
|
77
81
|
* cn-hangzhou
|
|
78
82
|
*/
|
|
79
83
|
regionId?: string;
|
|
84
|
+
tenantId?: string;
|
|
80
85
|
static names(): { [key: string]: string } {
|
|
81
86
|
return {
|
|
87
|
+
authorityHost: 'AuthorityHost',
|
|
88
|
+
clientId: 'ClientId',
|
|
89
|
+
clientSecret: 'ClientSecret',
|
|
82
90
|
desktopAccessType: 'DesktopAccessType',
|
|
91
|
+
domainName: 'DomainName',
|
|
83
92
|
enableAdminAccess: 'EnableAdminAccess',
|
|
84
93
|
needVerifyLoginRisk: 'NeedVerifyLoginRisk',
|
|
85
94
|
needVerifyZeroDevice: 'NeedVerifyZeroDevice',
|
|
86
95
|
officeSiteId: 'OfficeSiteId',
|
|
87
96
|
officeSiteName: 'OfficeSiteName',
|
|
88
97
|
regionId: 'RegionId',
|
|
98
|
+
tenantId: 'TenantId',
|
|
89
99
|
};
|
|
90
100
|
}
|
|
91
101
|
|
|
92
102
|
static types(): { [key: string]: any } {
|
|
93
103
|
return {
|
|
104
|
+
authorityHost: 'string',
|
|
105
|
+
clientId: 'string',
|
|
106
|
+
clientSecret: 'string',
|
|
94
107
|
desktopAccessType: 'string',
|
|
108
|
+
domainName: 'string',
|
|
95
109
|
enableAdminAccess: 'boolean',
|
|
96
110
|
needVerifyLoginRisk: 'boolean',
|
|
97
111
|
needVerifyZeroDevice: 'boolean',
|
|
98
112
|
officeSiteId: 'string',
|
|
99
113
|
officeSiteName: 'string',
|
|
100
114
|
regionId: 'string',
|
|
115
|
+
tenantId: 'string',
|
|
101
116
|
};
|
|
102
117
|
}
|
|
103
118
|
|
package/src/models/model.ts
CHANGED
|
@@ -114,6 +114,9 @@ export { DescribeForwardTableEntriesResponseBodyForwardTableEntries } from './De
|
|
|
114
114
|
export { DescribeFotaPendingDesktopsResponseBodyFotaPendingDesktopsSessions } from './DescribeFotaPendingDesktopsResponseBody';
|
|
115
115
|
export { DescribeFotaPendingDesktopsResponseBodyFotaPendingDesktops } from './DescribeFotaPendingDesktopsResponseBody';
|
|
116
116
|
export { DescribeFotaTasksResponseBodyFotaTasks } from './DescribeFotaTasksResponseBody';
|
|
117
|
+
export { DescribeGlobalDesktopRecordsResponseBodySessionsResourceGroups } from './DescribeGlobalDesktopRecordsResponseBody';
|
|
118
|
+
export { DescribeGlobalDesktopRecordsResponseBodySessionsSessions } from './DescribeGlobalDesktopRecordsResponseBody';
|
|
119
|
+
export { DescribeGlobalDesktopRecordsResponseBodySessions } from './DescribeGlobalDesktopRecordsResponseBody';
|
|
117
120
|
export { DescribeGuestApplicationsResponseBodyApplicationsProcessData } from './DescribeGuestApplicationsResponseBody';
|
|
118
121
|
export { DescribeGuestApplicationsResponseBodyApplications } from './DescribeGuestApplicationsResponseBody';
|
|
119
122
|
export { DescribeImageModifiedRecordsResponseBodyImageModifiedRecords } from './DescribeImageModifiedRecordsResponseBody';
|
|
@@ -623,6 +626,9 @@ export { DescribeFotaPendingDesktopsResponse } from './DescribeFotaPendingDeskto
|
|
|
623
626
|
export { DescribeFotaTasksRequest } from './DescribeFotaTasksRequest';
|
|
624
627
|
export { DescribeFotaTasksResponseBody } from './DescribeFotaTasksResponseBody';
|
|
625
628
|
export { DescribeFotaTasksResponse } from './DescribeFotaTasksResponse';
|
|
629
|
+
export { DescribeGlobalDesktopRecordsRequest } from './DescribeGlobalDesktopRecordsRequest';
|
|
630
|
+
export { DescribeGlobalDesktopRecordsResponseBody } from './DescribeGlobalDesktopRecordsResponseBody';
|
|
631
|
+
export { DescribeGlobalDesktopRecordsResponse } from './DescribeGlobalDesktopRecordsResponse';
|
|
626
632
|
export { DescribeGuestApplicationsRequest } from './DescribeGuestApplicationsRequest';
|
|
627
633
|
export { DescribeGuestApplicationsResponseBody } from './DescribeGuestApplicationsResponseBody';
|
|
628
634
|
export { DescribeGuestApplicationsResponse } from './DescribeGuestApplicationsResponse';
|