@alicloud/ecd20201002 2.1.15 → 2.1.17

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.
Files changed (82) hide show
  1. package/dist/client.d.ts +44 -12
  2. package/dist/client.js +50 -12
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/ApproveFotaUpdateRequest.d.ts +32 -0
  5. package/dist/models/ApproveFotaUpdateRequest.js.map +1 -1
  6. package/dist/models/ApproveFotaUpdateResponseBody.d.ts +3 -0
  7. package/dist/models/ApproveFotaUpdateResponseBody.js.map +1 -1
  8. package/dist/models/DeleteFingerPrintTemplateRequest.d.ts +13 -0
  9. package/dist/models/DeleteFingerPrintTemplateRequest.js.map +1 -1
  10. package/dist/models/DeleteFingerPrintTemplateResponseBody.d.ts +3 -0
  11. package/dist/models/DeleteFingerPrintTemplateResponseBody.js.map +1 -1
  12. package/dist/models/DescribeGlobalDesktopsRequest.d.ts +96 -1
  13. package/dist/models/DescribeGlobalDesktopsRequest.js.map +1 -1
  14. package/dist/models/DescribeGlobalDesktopsResponseBody.d.ts +320 -11
  15. package/dist/models/DescribeGlobalDesktopsResponseBody.js.map +1 -1
  16. package/dist/models/DescribeOfficeSitesRequest.d.ts +8 -0
  17. package/dist/models/DescribeOfficeSitesRequest.js +2 -0
  18. package/dist/models/DescribeOfficeSitesRequest.js.map +1 -1
  19. package/dist/models/DescribeOfficeSitesResponseBody.d.ts +20 -0
  20. package/dist/models/DescribeOfficeSitesResponseBody.js +4 -0
  21. package/dist/models/DescribeOfficeSitesResponseBody.js.map +1 -1
  22. package/dist/models/DescribeSnapshotsRequest.d.ts +21 -0
  23. package/dist/models/DescribeSnapshotsRequest.js.map +1 -1
  24. package/dist/models/DescribeSnapshotsResponseBody.d.ts +73 -0
  25. package/dist/models/DescribeSnapshotsResponseBody.js.map +1 -1
  26. package/dist/models/DescribeUserResourcesRequest.d.ts +141 -0
  27. package/dist/models/DescribeUserResourcesRequest.js.map +1 -1
  28. package/dist/models/DescribeUserResourcesResponseBody.d.ts +469 -0
  29. package/dist/models/DescribeUserResourcesResponseBody.js.map +1 -1
  30. package/dist/models/GetCloudDriveServiceMountTokenResponseBody.d.ts +10 -0
  31. package/dist/models/GetCloudDriveServiceMountTokenResponseBody.js.map +1 -1
  32. package/dist/models/GetConnectionTicketRequest.d.ts +62 -0
  33. package/dist/models/GetConnectionTicketRequest.js +5 -0
  34. package/dist/models/GetConnectionTicketRequest.js.map +1 -1
  35. package/dist/models/GetConnectionTicketResponseBody.d.ts +15 -0
  36. package/dist/models/GetConnectionTicketResponseBody.js +2 -0
  37. package/dist/models/GetConnectionTicketResponseBody.js.map +1 -1
  38. package/dist/models/GetLoginTokenResponseBody.d.ts +1 -0
  39. package/dist/models/GetLoginTokenResponseBody.js +2 -0
  40. package/dist/models/GetLoginTokenResponseBody.js.map +1 -1
  41. package/dist/models/IsKeepAliveRequest.d.ts +8 -0
  42. package/dist/models/IsKeepAliveRequest.js.map +1 -1
  43. package/dist/models/IsKeepAliveResponseBody.d.ts +12 -0
  44. package/dist/models/IsKeepAliveResponseBody.js.map +1 -1
  45. package/dist/models/SetFingerPrintTemplateDescriptionRequest.d.ts +15 -0
  46. package/dist/models/SetFingerPrintTemplateDescriptionRequest.js.map +1 -1
  47. package/dist/models/SetFingerPrintTemplateDescriptionResponseBody.d.ts +3 -0
  48. package/dist/models/SetFingerPrintTemplateDescriptionResponseBody.js.map +1 -1
  49. package/dist/models/SetFingerPrintTemplateRequest.d.ts +25 -0
  50. package/dist/models/SetFingerPrintTemplateRequest.js.map +1 -1
  51. package/dist/models/SetFingerPrintTemplateResponseBody.d.ts +9 -0
  52. package/dist/models/SetFingerPrintTemplateResponseBody.js.map +1 -1
  53. package/dist/models/VerifyCredentialRequest.d.ts +25 -0
  54. package/dist/models/VerifyCredentialRequest.js.map +1 -1
  55. package/dist/models/VerifyCredentialResponseBody.d.ts +3 -0
  56. package/dist/models/VerifyCredentialResponseBody.js.map +1 -1
  57. package/package.json +1 -1
  58. package/src/client.ts +52 -12
  59. package/src/models/ApproveFotaUpdateRequest.ts +32 -0
  60. package/src/models/ApproveFotaUpdateResponseBody.ts +3 -0
  61. package/src/models/DeleteFingerPrintTemplateRequest.ts +13 -0
  62. package/src/models/DeleteFingerPrintTemplateResponseBody.ts +3 -0
  63. package/src/models/DescribeGlobalDesktopsRequest.ts +96 -1
  64. package/src/models/DescribeGlobalDesktopsResponseBody.ts +320 -11
  65. package/src/models/DescribeOfficeSitesRequest.ts +10 -0
  66. package/src/models/DescribeOfficeSitesResponseBody.ts +24 -0
  67. package/src/models/DescribeSnapshotsRequest.ts +21 -0
  68. package/src/models/DescribeSnapshotsResponseBody.ts +73 -0
  69. package/src/models/DescribeUserResourcesRequest.ts +141 -0
  70. package/src/models/DescribeUserResourcesResponseBody.ts +469 -0
  71. package/src/models/GetCloudDriveServiceMountTokenResponseBody.ts +10 -0
  72. package/src/models/GetConnectionTicketRequest.ts +67 -0
  73. package/src/models/GetConnectionTicketResponseBody.ts +17 -0
  74. package/src/models/GetLoginTokenResponseBody.ts +3 -0
  75. package/src/models/IsKeepAliveRequest.ts +8 -0
  76. package/src/models/IsKeepAliveResponseBody.ts +12 -0
  77. package/src/models/SetFingerPrintTemplateDescriptionRequest.ts +15 -0
  78. package/src/models/SetFingerPrintTemplateDescriptionResponseBody.ts +3 -0
  79. package/src/models/SetFingerPrintTemplateRequest.ts +25 -0
  80. package/src/models/SetFingerPrintTemplateResponseBody.ts +9 -0
  81. package/src/models/VerifyCredentialRequest.ts +25 -0
  82. package/src/models/VerifyCredentialResponseBody.ts +3 -0
@@ -5,6 +5,8 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class DescribeSnapshotsRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
+ * The client ID. The system generates a unique ID for each client.
9
+ *
8
10
  * This parameter is required.
9
11
  *
10
12
  * @example
@@ -12,12 +14,17 @@ export class DescribeSnapshotsRequest extends $dara.Model {
12
14
  */
13
15
  clientId?: string;
14
16
  /**
17
+ * @remarks
18
+ * The cloud computer ID.
19
+ *
15
20
  * @example
16
21
  * ecd-gx2x1dhsmucyy****
17
22
  */
18
23
  desktopId?: string;
19
24
  /**
20
25
  * @remarks
26
+ * The logon token.
27
+ *
21
28
  * This parameter is required.
22
29
  *
23
30
  * @example
@@ -25,17 +32,25 @@ export class DescribeSnapshotsRequest extends $dara.Model {
25
32
  */
26
33
  loginToken?: string;
27
34
  /**
35
+ * @remarks
36
+ * The number of entries per page. Default value: 100.
37
+ *
28
38
  * @example
29
39
  * 10
30
40
  */
31
41
  maxResults?: number;
32
42
  /**
43
+ * @remarks
44
+ * The pagination token that is used in the next request to retrieve a new page of results. You do not need to specify this parameter for the first request.
45
+ *
33
46
  * @example
34
47
  * AAAAAV3MpHK1AP0pfERHZN5pu6nmB7qrRFJ8vmttjxPL****
35
48
  */
36
49
  nextToken?: string;
37
50
  /**
38
51
  * @remarks
52
+ * The region ID. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/196646.html) operation to query the list of regions where Elastic Desktop Service (EDS) Enterprise is available.
53
+ *
39
54
  * This parameter is required.
40
55
  *
41
56
  * @example
@@ -43,11 +58,17 @@ export class DescribeSnapshotsRequest extends $dara.Model {
43
58
  */
44
59
  regionId?: string;
45
60
  /**
61
+ * @remarks
62
+ * The session ID.
63
+ *
46
64
  * @example
47
65
  * a99b9aca-bac5-4da2-819e-400ce98f****
48
66
  */
49
67
  sessionId?: string;
50
68
  /**
69
+ * @remarks
70
+ * The snapshot ID.
71
+ *
51
72
  * @example
52
73
  * s-2ze81owrnv9pity4****
53
74
  */
@@ -4,58 +4,121 @@ import * as $dara from '@darabonba/typescript';
4
4
 
5
5
  export class DescribeSnapshotsResponseBodySnapshots extends $dara.Model {
6
6
  /**
7
+ * @remarks
8
+ * The time when the snapshot was created. The time follows the [ISO 8601](https://help.aliyun.com/document_detail/25696.html) standard in the `yyyy-MM-ddTHH:mm:ssZ` format. The time is displayed in UTC.
9
+ *
7
10
  * @example
8
11
  * 2020-12-20T14:52:28Z
9
12
  */
10
13
  creationTime?: string;
11
14
  /**
15
+ * @remarks
16
+ * The snapshot description.
17
+ *
12
18
  * @example
13
19
  * testDescription
14
20
  */
15
21
  description?: string;
16
22
  /**
23
+ * @remarks
24
+ * The ID of the cloud computer to which the snapshot belongs.
25
+ *
17
26
  * @example
18
27
  * ecd-g03l3tlm8djoj****
19
28
  */
20
29
  desktopId?: string;
21
30
  /**
31
+ * @remarks
32
+ * The progress of creating the cloud computer.
33
+ *
22
34
  * @example
23
35
  * 100%
24
36
  */
25
37
  progress?: string;
26
38
  /**
39
+ * @remarks
40
+ * The remaining time required to complete snapshot creation. Unit: seconds.
41
+ *
27
42
  * @example
28
43
  * 30
29
44
  */
30
45
  remainTime?: number;
46
+ /**
47
+ * @remarks
48
+ * The ID of the restore point.
49
+ *
50
+ * @example
51
+ * rp-btgmaa20wkcju****
52
+ */
31
53
  restorePointId?: string;
54
+ /**
55
+ * @remarks
56
+ * The name of the restore point.
57
+ *
58
+ * @example
59
+ * Data Disk Backup
60
+ */
32
61
  restorePointName?: string;
33
62
  /**
63
+ * @remarks
64
+ * The snapshot ID.
65
+ *
34
66
  * @example
35
67
  * s-2zeipxmnhej803x7****
36
68
  */
37
69
  snapshotId?: string;
38
70
  /**
71
+ * @remarks
72
+ * The snapshot name.
73
+ *
39
74
  * @example
40
75
  * testSnapshotName
41
76
  */
42
77
  snapshotName?: string;
43
78
  /**
79
+ * @remarks
80
+ * The snapshot type.
81
+ *
82
+ * Valid values:
83
+ *
84
+ * * AUTO: an automatic snapshot.
85
+ * * USER: a manual snapshot.
86
+ *
44
87
  * @example
45
88
  * USER
46
89
  */
47
90
  snapshotType?: string;
48
91
  /**
92
+ * @remarks
93
+ * The size of the source disk. Unit: GiB.
94
+ *
49
95
  * @example
50
96
  * 150
51
97
  */
52
98
  sourceDiskSize?: string;
53
99
  /**
100
+ * @remarks
101
+ * The type of the source disk.
102
+ *
103
+ * Valid values:
104
+ *
105
+ * * SYSTEM: a system disk.
106
+ * * DATA: a data disk.
107
+ *
54
108
  * @example
55
109
  * SYSTEM
56
110
  */
57
111
  sourceDiskType?: string;
58
112
  /**
113
+ * @remarks
114
+ * The snapshot status.
115
+ *
116
+ * Valid values:
117
+ *
118
+ * * PROGRESSING: The snapshot is being created.
119
+ * * FAILED: The snapshot failed to be created.
120
+ * * ACCOMPLISHED: The snapshot is created.
121
+ *
59
122
  * @example
60
123
  * ACCOMPLISHED
61
124
  */
@@ -107,15 +170,25 @@ export class DescribeSnapshotsResponseBodySnapshots extends $dara.Model {
107
170
 
108
171
  export class DescribeSnapshotsResponseBody extends $dara.Model {
109
172
  /**
173
+ * @remarks
174
+ * A pagination token. It can be used in the next request to retrieve a new page of results.If NextToken is empty, no next page exists.
175
+ *
110
176
  * @example
111
177
  * AAAAAV3MpHK1AP0pfERHZN5pu6nmB7qrRFJ8vmttjxPL****
112
178
  */
113
179
  nextToken?: string;
114
180
  /**
181
+ * @remarks
182
+ * The request ID.
183
+ *
115
184
  * @example
116
185
  * 51592A88-0F2C-55E6-AD2C-2AD9C10D****
117
186
  */
118
187
  requestId?: string;
188
+ /**
189
+ * @remarks
190
+ * The snapshots.
191
+ */
119
192
  snapshots?: DescribeSnapshotsResponseBodySnapshots[];
120
193
  static names(): { [key: string]: string } {
121
194
  return {
@@ -4,27 +4,53 @@ import * as $dara from '@darabonba/typescript';
4
4
 
5
5
  export class DescribeUserResourcesRequest extends $dara.Model {
6
6
  /**
7
+ * @remarks
8
+ * The access type. If you leave this parameter empty, both types will be displayed.
9
+ *
10
+ * Valid values:
11
+ *
12
+ * * INTERNET: access over the Internet.
13
+ * * VPC: access over an enterprise virtual private cloud (VPC).
14
+ *
7
15
  * @example
8
16
  * INTERNET
9
17
  */
10
18
  accessType?: string;
11
19
  /**
20
+ * @remarks
21
+ * Specifies whether to enable the immediate refresh feature.
22
+ *
23
+ * > To ensure the operation response speed, we recommend that you set the value to `false`.
24
+ *
25
+ * Valid values:
26
+ *
27
+ * * false
28
+ * * true
29
+ *
12
30
  * @example
13
31
  * false
14
32
  */
15
33
  autoRefresh?: boolean;
16
34
  /**
35
+ * @remarks
36
+ * The level-2 resource category.
37
+ *
17
38
  * @example
18
39
  * 0
19
40
  */
20
41
  categoryId?: number;
21
42
  /**
43
+ * @remarks
44
+ * The level-1 resource category.
45
+ *
22
46
  * @example
23
47
  * 1
24
48
  */
25
49
  categoryType?: number;
26
50
  /**
27
51
  * @remarks
52
+ * The client ID. The system generates a unique ID for each client. This parameter is non-sensitive and does not need encryption.
53
+ *
28
54
  * This parameter is required.
29
55
  *
30
56
  * @example
@@ -32,16 +58,37 @@ export class DescribeUserResourcesRequest extends $dara.Model {
32
58
  */
33
59
  clientId?: string;
34
60
  /**
61
+ * @remarks
62
+ * The client type.
63
+ *
64
+ * Valid values:
65
+ *
66
+ * * html5: the web client.
67
+ * * android: the Android client.
68
+ * * windows: the Windows client.
69
+ * * ios: the iOS client.
70
+ * * macos: the macOS client.
71
+ *
35
72
  * @example
36
73
  * windows
37
74
  */
38
75
  clientType?: string;
39
76
  /**
77
+ * @remarks
78
+ * The client version.
79
+ *
40
80
  * @example
41
81
  * 7.6.0-R-20241112.222305
42
82
  */
43
83
  clientVersion?: string;
44
84
  /**
85
+ * @remarks
86
+ * Specifies whether to enable geo-redundant forwarding. Set the value to `false`.
87
+ *
88
+ * Valid value:
89
+ *
90
+ * * false: disables geo-redundant forwarding.
91
+ *
45
92
  * @example
46
93
  * false
47
94
  *
@@ -49,17 +96,31 @@ export class DescribeUserResourcesRequest extends $dara.Model {
49
96
  */
50
97
  dualCenterForward?: boolean;
51
98
  /**
99
+ * @remarks
100
+ * The client language.
101
+ *
102
+ * Valid values:
103
+ *
104
+ * * en_US: English.
105
+ * * zh_CN: Simplified Chinese.
106
+ * * ja_JP: Japanese.
107
+ *
52
108
  * @example
53
109
  * zh-CN
54
110
  */
55
111
  language?: string;
56
112
  /**
113
+ * @remarks
114
+ * The ID of the region where end users log on to clients. This parameter applies to office network ID-based logons. For organization ID-based logons, you can leave this parameter empty.
115
+ *
57
116
  * @example
58
117
  * cn-hangzhou
59
118
  */
60
119
  loginRegionId?: string;
61
120
  /**
62
121
  * @remarks
122
+ * The logon token. You can call the `GetLoginToken` or `RefreshLoginToken` operation to retrieve the logon token.
123
+ *
63
124
  * This parameter is required.
64
125
  *
65
126
  * @example
@@ -67,70 +128,150 @@ export class DescribeUserResourcesRequest extends $dara.Model {
67
128
  */
68
129
  loginToken?: string;
69
130
  /**
131
+ * @remarks
132
+ * The number of entries per page. Default value: 500.
133
+ *
70
134
  * @example
71
135
  * 500
72
136
  */
73
137
  maxResults?: number;
74
138
  /**
139
+ * @remarks
140
+ * A pagination token. It can be used in the next request to retrieve a new page of results.
141
+ *
75
142
  * @example
76
143
  * caeba0bbb2be03f84eb48b699f0a4883
77
144
  */
78
145
  nextToken?: string;
146
+ /**
147
+ * @remarks
148
+ * The office network IDs. This parameter is required for logons by using enterprise Active Directory (AD) accounts.
149
+ */
79
150
  officeSiteIds?: string[];
80
151
  /**
152
+ * @remarks
153
+ * The sorting field. If you do not specify this parameter, resources are sorted by creation time by default.
154
+ *
155
+ * Valid values:
156
+ *
157
+ * * CreateTime: the time when resources are created.
158
+ * * AssignTime: the time when resources are assigned.
159
+ *
81
160
  * @example
82
161
  * AssignTime
83
162
  */
84
163
  orderBy?: string;
164
+ /**
165
+ * @remarks
166
+ * The service types. If you leave this parameter empty, services of all supported types will be queried.
167
+ */
85
168
  productTypes?: string[];
86
169
  /**
170
+ * @remarks
171
+ * The protocol type. You can specify this parameter to filter cloud computers.
172
+ *
173
+ * Valid values:
174
+ *
175
+ * * HDX: High-definition Experience (HDX).
176
+ * * ASP: Adaptive Streaming Protocol (ASP).
177
+ *
87
178
  * @example
88
179
  * ASP
89
180
  */
90
181
  protocolType?: string;
91
182
  /**
183
+ * @remarks
184
+ * 是否查询云桌面套餐包信息,默认为true。
185
+ *
186
+ * @example
187
+ * true
188
+ *
92
189
  * **if can be null:**
93
190
  * true
94
191
  */
95
192
  queryDesktopDurationList?: boolean;
96
193
  /**
194
+ * @remarks
195
+ * 是否查询云电脑定时任务信息,默认为true。
196
+ *
197
+ * @example
198
+ * true
199
+ *
97
200
  * **if can be null:**
98
201
  * true
99
202
  */
100
203
  queryDesktopTimers?: boolean;
101
204
  /**
205
+ * @remarks
206
+ * Specifies whether to return the image version information of cloud computers.
207
+ *
102
208
  * @example
103
209
  * false
104
210
  */
105
211
  queryFotaUpdate?: boolean;
106
212
  /**
213
+ * @remarks
214
+ * Specifies whether to refresh over-the-air (OTA) information in real time.
215
+ *
107
216
  * @example
108
217
  * false
109
218
  */
110
219
  refreshFotaUpdate?: boolean;
220
+ /**
221
+ * @remarks
222
+ * The resource IDs. You can specify up to 100 resource IDs.
223
+ */
111
224
  resourceIds?: string[];
112
225
  /**
226
+ * @remarks
227
+ * The resource name. Fuzzy search is supported.
228
+ *
113
229
  * @example
114
230
  * testName
115
231
  */
116
232
  resourceName?: string;
233
+ /**
234
+ * @remarks
235
+ * The resource types. If you leave this parameter empty, resources of all supported types will be queried.
236
+ */
117
237
  resourceTypes?: string[];
118
238
  /**
239
+ * @remarks
240
+ * The client usage scenario. Set the value to `desktop`.
241
+ *
242
+ * Valid value:
243
+ *
244
+ * * desktop: cloud computers.
245
+ *
119
246
  * @example
120
247
  * desktop
121
248
  */
122
249
  scene?: string;
123
250
  /**
251
+ * @remarks
252
+ * The ID of the searched region. You can specify this parameter to filter cloud resources in specific regions.
253
+ *
124
254
  * @example
125
255
  * cn-hangzhou
126
256
  */
127
257
  searchRegionId?: string;
128
258
  /**
259
+ * @remarks
260
+ * The session ID. You can call the `GetLoginToken` operation to retrieve the session ID.
261
+ *
129
262
  * @example
130
263
  * cd45e873-650d-4d70-acb9-f996187a****
131
264
  */
132
265
  sessionId?: string;
133
266
  /**
267
+ * @remarks
268
+ * The sorting method.
269
+ *
270
+ * Valid values:
271
+ *
272
+ * * ASC (default): the ascending order.
273
+ * * DESC: the descending order.
274
+ *
134
275
  * @example
135
276
  * ASC
136
277
  */