@alicloud/ecd20201002 3.0.0 → 3.0.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.
Files changed (91) hide show
  1. package/dist/client.d.ts +56 -40
  2. package/dist/client.js +62 -66
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/ApproveFotaUpdateRequest.d.ts +5 -7
  5. package/dist/models/ApproveFotaUpdateRequest.js.map +1 -1
  6. package/dist/models/ChangePasswordRequest.d.ts +3 -3
  7. package/dist/models/DeleteFingerPrintTemplateRequest.d.ts +6 -6
  8. package/dist/models/DeleteFingerPrintTemplateResponseBody.d.ts +1 -1
  9. package/dist/models/DescribeFingerPrintTemplatesRequest.d.ts +3 -3
  10. package/dist/models/DescribeFingerPrintTemplatesResponseBody.d.ts +5 -5
  11. package/dist/models/DescribeGlobalDesktopsRequest.d.ts +35 -28
  12. package/dist/models/DescribeGlobalDesktopsRequest.js.map +1 -1
  13. package/dist/models/DescribeGlobalDesktopsResponseBody.d.ts +89 -70
  14. package/dist/models/DescribeGlobalDesktopsResponseBody.js.map +1 -1
  15. package/dist/models/DescribeRegionsRequest.d.ts +1 -1
  16. package/dist/models/DescribeRegionsResponseBody.d.ts +1 -1
  17. package/dist/models/DescribeSnapshotsRequest.d.ts +5 -5
  18. package/dist/models/DescribeSnapshotsResponseBody.d.ts +11 -27
  19. package/dist/models/DescribeSnapshotsResponseBody.js.map +1 -1
  20. package/dist/models/DescribeUserResourcesRequest.d.ts +35 -21
  21. package/dist/models/DescribeUserResourcesRequest.js +2 -0
  22. package/dist/models/DescribeUserResourcesRequest.js.map +1 -1
  23. package/dist/models/DescribeUserResourcesResponseBody.d.ts +216 -68
  24. package/dist/models/DescribeUserResourcesResponseBody.js +42 -1
  25. package/dist/models/DescribeUserResourcesResponseBody.js.map +1 -1
  26. package/dist/models/EncryptPasswordRequest.d.ts +2 -2
  27. package/dist/models/GetConnectionTicketRequest.d.ts +23 -17
  28. package/dist/models/GetConnectionTicketRequest.js.map +1 -1
  29. package/dist/models/GetConnectionTicketResponseBody.d.ts +8 -4
  30. package/dist/models/GetConnectionTicketResponseBody.js.map +1 -1
  31. package/dist/models/GetLoginTokenRequest.d.ts +34 -23
  32. package/dist/models/GetLoginTokenRequest.js.map +1 -1
  33. package/dist/models/GetLoginTokenResponseBody.d.ts +50 -25
  34. package/dist/models/GetLoginTokenResponseBody.js.map +1 -1
  35. package/dist/models/GetLoginTokenShrinkRequest.d.ts +34 -23
  36. package/dist/models/GetLoginTokenShrinkRequest.js.map +1 -1
  37. package/dist/models/RefreshLoginTokenRequest.d.ts +2 -2
  38. package/dist/models/ReportSessionStatusRequest.d.ts +20 -6
  39. package/dist/models/ReportSessionStatusRequest.js.map +1 -1
  40. package/dist/models/ReportSessionStatusResponseBody.d.ts +1 -1
  41. package/dist/models/ResetPasswordRequest.d.ts +5 -5
  42. package/dist/models/ResetSnapshotRequest.d.ts +4 -4
  43. package/dist/models/SendTokenCodeRequest.d.ts +6 -6
  44. package/dist/models/SetFingerPrintTemplateDescriptionRequest.d.ts +2 -2
  45. package/dist/models/SetFingerPrintTemplateRequest.d.ts +8 -8
  46. package/dist/models/SetFingerPrintTemplateResponseBody.d.ts +3 -3
  47. package/dist/models/StopDesktopsRequest.d.ts +33 -8
  48. package/dist/models/StopDesktopsRequest.js +2 -0
  49. package/dist/models/StopDesktopsRequest.js.map +1 -1
  50. package/dist/models/UnbindUserDesktopRequest.d.ts +4 -9
  51. package/dist/models/UnbindUserDesktopRequest.js.map +1 -1
  52. package/dist/models/VerifyCredentialRequest.d.ts +7 -9
  53. package/dist/models/VerifyCredentialRequest.js.map +1 -1
  54. package/dist/models/model.d.ts +1 -0
  55. package/dist/models/model.js +12 -10
  56. package/dist/models/model.js.map +1 -1
  57. package/package.json +1 -1
  58. package/src/client.ts +64 -66
  59. package/src/models/ApproveFotaUpdateRequest.ts +5 -7
  60. package/src/models/ChangePasswordRequest.ts +3 -3
  61. package/src/models/DeleteFingerPrintTemplateRequest.ts +6 -6
  62. package/src/models/DeleteFingerPrintTemplateResponseBody.ts +1 -1
  63. package/src/models/DescribeFingerPrintTemplatesRequest.ts +3 -3
  64. package/src/models/DescribeFingerPrintTemplatesResponseBody.ts +5 -5
  65. package/src/models/DescribeGlobalDesktopsRequest.ts +35 -28
  66. package/src/models/DescribeGlobalDesktopsResponseBody.ts +89 -70
  67. package/src/models/DescribeRegionsRequest.ts +1 -1
  68. package/src/models/DescribeRegionsResponseBody.ts +1 -1
  69. package/src/models/DescribeSnapshotsRequest.ts +5 -5
  70. package/src/models/DescribeSnapshotsResponseBody.ts +11 -27
  71. package/src/models/DescribeUserResourcesRequest.ts +37 -21
  72. package/src/models/DescribeUserResourcesResponseBody.ts +248 -68
  73. package/src/models/EncryptPasswordRequest.ts +2 -2
  74. package/src/models/GetConnectionTicketRequest.ts +23 -17
  75. package/src/models/GetConnectionTicketResponseBody.ts +8 -4
  76. package/src/models/GetLoginTokenRequest.ts +34 -23
  77. package/src/models/GetLoginTokenResponseBody.ts +50 -25
  78. package/src/models/GetLoginTokenShrinkRequest.ts +34 -23
  79. package/src/models/RefreshLoginTokenRequest.ts +2 -2
  80. package/src/models/ReportSessionStatusRequest.ts +20 -6
  81. package/src/models/ReportSessionStatusResponseBody.ts +1 -1
  82. package/src/models/ResetPasswordRequest.ts +5 -5
  83. package/src/models/ResetSnapshotRequest.ts +4 -4
  84. package/src/models/SendTokenCodeRequest.ts +6 -6
  85. package/src/models/SetFingerPrintTemplateDescriptionRequest.ts +2 -2
  86. package/src/models/SetFingerPrintTemplateRequest.ts +8 -8
  87. package/src/models/SetFingerPrintTemplateResponseBody.ts +3 -3
  88. package/src/models/StopDesktopsRequest.ts +35 -8
  89. package/src/models/UnbindUserDesktopRequest.ts +4 -9
  90. package/src/models/VerifyCredentialRequest.ts +7 -9
  91. package/src/models/model.ts +1 -0
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class DescribeSnapshotsResponseBodySnapshots extends $dara.Model {
6
6
  /**
7
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.
8
+ * The time when the snapshot was created. The time is displayed in UTC and follows the [ISO8601](https://help.aliyun.com/document_detail/25696.html) standard in the `yyyy-MM-ddTHH:mm:ssZ` format.
9
9
  *
10
10
  * @example
11
11
  * 2020-12-20T14:52:28Z
@@ -21,7 +21,7 @@ export class DescribeSnapshotsResponseBodySnapshots extends $dara.Model {
21
21
  description?: string;
22
22
  /**
23
23
  * @remarks
24
- * The ID of the cloud computer to which the snapshot belongs.
24
+ * The ID of the cloud desktop to which the snapshot belongs.
25
25
  *
26
26
  * @example
27
27
  * ecd-g03l3tlm8djoj****
@@ -29,7 +29,7 @@ export class DescribeSnapshotsResponseBodySnapshots extends $dara.Model {
29
29
  desktopId?: string;
30
30
  /**
31
31
  * @remarks
32
- * The progress of creating the cloud computer.
32
+ * The progress of creating the cloud desktop.
33
33
  *
34
34
  * @example
35
35
  * 100%
@@ -37,7 +37,7 @@ export class DescribeSnapshotsResponseBodySnapshots extends $dara.Model {
37
37
  progress?: string;
38
38
  /**
39
39
  * @remarks
40
- * The remaining time required to complete snapshot creation. Unit: seconds.
40
+ * The remaining time required to complete the creation of the snapshot. Unit: seconds.
41
41
  *
42
42
  * @example
43
43
  * 30
@@ -45,7 +45,7 @@ export class DescribeSnapshotsResponseBodySnapshots extends $dara.Model {
45
45
  remainTime?: number;
46
46
  /**
47
47
  * @remarks
48
- * The ID of the restore point.
48
+ * The restore point ID.
49
49
  *
50
50
  * @example
51
51
  * rp-btgmaa20wkcju****
@@ -53,7 +53,7 @@ export class DescribeSnapshotsResponseBodySnapshots extends $dara.Model {
53
53
  restorePointId?: string;
54
54
  /**
55
55
  * @remarks
56
- * The name of the restore point.
56
+ * The restore point name.
57
57
  *
58
58
  * @example
59
59
  * Data disk backup
@@ -77,12 +77,7 @@ export class DescribeSnapshotsResponseBodySnapshots extends $dara.Model {
77
77
  snapshotName?: string;
78
78
  /**
79
79
  * @remarks
80
- * The snapshot type.
81
- *
82
- * Valid values:
83
- *
84
- * * AUTO: an automatic snapshot.
85
- * * USER: a manual snapshot.
80
+ * The snapshot creation type.
86
81
  *
87
82
  * @example
88
83
  * USER
@@ -90,7 +85,7 @@ export class DescribeSnapshotsResponseBodySnapshots extends $dara.Model {
90
85
  snapshotType?: string;
91
86
  /**
92
87
  * @remarks
93
- * The size of the source disk. Unit: GiB.
88
+ * The size of the source cloud disk. Unit: GiB.
94
89
  *
95
90
  * @example
96
91
  * 150
@@ -98,12 +93,7 @@ export class DescribeSnapshotsResponseBodySnapshots extends $dara.Model {
98
93
  sourceDiskSize?: string;
99
94
  /**
100
95
  * @remarks
101
- * The type of the source disk.
102
- *
103
- * Valid values:
104
- *
105
- * * SYSTEM: a system disk.
106
- * * DATA: a data disk.
96
+ * The type of the source cloud disk.
107
97
  *
108
98
  * @example
109
99
  * SYSTEM
@@ -113,12 +103,6 @@ export class DescribeSnapshotsResponseBodySnapshots extends $dara.Model {
113
103
  * @remarks
114
104
  * The snapshot status.
115
105
  *
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
- *
122
106
  * @example
123
107
  * ACCOMPLISHED
124
108
  */
@@ -171,7 +155,7 @@ export class DescribeSnapshotsResponseBodySnapshots extends $dara.Model {
171
155
  export class DescribeSnapshotsResponseBody extends $dara.Model {
172
156
  /**
173
157
  * @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.
158
+ * The pagination token used to start the next query. An empty value indicates that no more results are available.
175
159
  *
176
160
  * @example
177
161
  * AAAAAV3MpHK1AP0pfERHZN5pu6nmB7qrRFJ8vmttjxPL****
@@ -187,7 +171,7 @@ export class DescribeSnapshotsResponseBody extends $dara.Model {
187
171
  requestId?: string;
188
172
  /**
189
173
  * @remarks
190
- * The snapshots.
174
+ * The snapshot information.
191
175
  */
192
176
  snapshots?: DescribeSnapshotsResponseBodySnapshots[];
193
177
  static names(): { [key: string]: string } {
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class DescribeUserResourcesRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The access type. If not specified, both types are displayed.
8
+ * The access type. If this parameter is not specified, both types are displayed.
9
9
  *
10
10
  * @example
11
11
  * INTERNET
@@ -15,13 +15,15 @@ export class DescribeUserResourcesRequest extends $dara.Model {
15
15
  * @remarks
16
16
  * Specifies whether to refresh immediately.
17
17
  *
18
+ * > To ensure the response speed of the operation, set this parameter to false.
19
+ *
18
20
  * @example
19
21
  * false
20
22
  */
21
23
  autoRefresh?: boolean;
22
24
  /**
23
25
  * @remarks
24
- * The secondary resource category.
26
+ * The level-2 resource category.
25
27
  *
26
28
  * @example
27
29
  * 0
@@ -29,7 +31,7 @@ export class DescribeUserResourcesRequest extends $dara.Model {
29
31
  categoryId?: number;
30
32
  /**
31
33
  * @remarks
32
- * The primary resource category.
34
+ * The level-1 resource category.
33
35
  *
34
36
  * @example
35
37
  * 1
@@ -37,7 +39,7 @@ export class DescribeUserResourcesRequest extends $dara.Model {
37
39
  categoryType?: number;
38
40
  /**
39
41
  * @remarks
40
- * The unique ID generated by the client. You can use a UUID. This parameter is not a sensitive field and does not need to be encrypted.
42
+ * The unique ID generated by the client, such as a UUID. This parameter is not a sensitive field and does not require encryption.
41
43
  *
42
44
  * This parameter is required.
43
45
  *
@@ -55,7 +57,7 @@ export class DescribeUserResourcesRequest extends $dara.Model {
55
57
  clientType?: string;
56
58
  /**
57
59
  * @remarks
58
- * The client version.
60
+ * The version of the client.
59
61
  *
60
62
  * @example
61
63
  * 7.6.0-R-20241112.222305
@@ -63,7 +65,7 @@ export class DescribeUserResourcesRequest extends $dara.Model {
63
65
  clientVersion?: string;
64
66
  /**
65
67
  * @remarks
66
- * Specifies whether to use dual-center forwarding. Set this parameter to `false`.
68
+ * Specifies whether to enable dual-center forwarding. Set this parameter to false.
67
69
  *
68
70
  * @example
69
71
  * false
@@ -73,7 +75,7 @@ export class DescribeUserResourcesRequest extends $dara.Model {
73
75
  dualCenterForward?: boolean;
74
76
  /**
75
77
  * @remarks
76
- * The client language.
78
+ * The language of the client.
77
79
  *
78
80
  * @example
79
81
  * zh-CN
@@ -81,7 +83,7 @@ export class DescribeUserResourcesRequest extends $dara.Model {
81
83
  language?: string;
82
84
  /**
83
85
  * @remarks
84
- * The region ID for logon, used in the office network ID logon scenario. This parameter is not required for the organization ID logon scenario.
86
+ * The region ID for logon, which is used in office network ID logon scenarios. This parameter is not required for organization ID logon scenarios.
85
87
  *
86
88
  * @example
87
89
  * cn-hangzhou
@@ -90,6 +92,7 @@ export class DescribeUserResourcesRequest extends $dara.Model {
90
92
  /**
91
93
  * @remarks
92
94
  * The logon token.
95
+ * You can obtain the token by calling the GetLoginToken operation to log on, or by calling the RefreshLoginToken operation to refresh the token after logon. Response parameter: LoginToken.
93
96
  *
94
97
  * This parameter is required.
95
98
  *
@@ -99,7 +102,7 @@ export class DescribeUserResourcesRequest extends $dara.Model {
99
102
  loginToken?: string;
100
103
  /**
101
104
  * @remarks
102
- * The number of entries per page for a paged query. Default value: 500.
105
+ * The number of entries per page in a paging query. Default value: 500.
103
106
  *
104
107
  * @example
105
108
  * 500
@@ -120,7 +123,7 @@ export class DescribeUserResourcesRequest extends $dara.Model {
120
123
  officeSiteIds?: string[];
121
124
  /**
122
125
  * @remarks
123
- * The sort field. If not specified, results are sorted by creation time in descending order.
126
+ * The sort field. If this parameter is not specified, the resources are sorted in descending order of creation time.
124
127
  *
125
128
  * @example
126
129
  * AssignTime
@@ -128,12 +131,12 @@ export class DescribeUserResourcesRequest extends $dara.Model {
128
131
  orderBy?: string;
129
132
  /**
130
133
  * @remarks
131
- * The list of product types. If this parameter is empty, all product types are queried.
134
+ * The list of product types. If this parameter is left empty, all product types are queried.
132
135
  */
133
136
  productTypes?: string[];
134
137
  /**
135
138
  * @remarks
136
- * The protocol type. This parameter is used only to filter cloud desktops.
139
+ * The protocol type. This parameter is only used to filter cloud computers.
137
140
  *
138
141
  * @example
139
142
  * ASP
@@ -152,7 +155,7 @@ export class DescribeUserResourcesRequest extends $dara.Model {
152
155
  queryDesktopDurationList?: boolean;
153
156
  /**
154
157
  * @remarks
155
- * Specifies whether to query cloud desktop scheduled task information. Default value: true.
158
+ * Specifies whether to query the scheduled task information of the cloud computer. Default value: true.
156
159
  *
157
160
  * @example
158
161
  * true
@@ -163,7 +166,7 @@ export class DescribeUserResourcesRequest extends $dara.Model {
163
166
  queryDesktopTimers?: boolean;
164
167
  /**
165
168
  * @remarks
166
- * Specifies whether to query cloud desktop image version information.
169
+ * Specifies whether to query the image version information of the cloud computer.
167
170
  *
168
171
  * @example
169
172
  * false
@@ -171,7 +174,7 @@ export class DescribeUserResourcesRequest extends $dara.Model {
171
174
  queryFotaUpdate?: boolean;
172
175
  /**
173
176
  * @remarks
174
- * Specifies whether to refresh OTA information in real time.
177
+ * Specifies whether to refresh the OTA information in real time.
175
178
  *
176
179
  * @example
177
180
  * false
@@ -179,12 +182,12 @@ export class DescribeUserResourcesRequest extends $dara.Model {
179
182
  refreshFotaUpdate?: boolean;
180
183
  /**
181
184
  * @remarks
182
- * The list of resource IDs.
185
+ * The list of resource IDs. You can specify 0 to 100 IDs.
183
186
  */
184
187
  resourceIds?: string[];
185
188
  /**
186
189
  * @remarks
187
- * The resource name. Fuzzy match is supported.
190
+ * The resource name. Fuzzy search is supported.
188
191
  *
189
192
  * @example
190
193
  * testName
@@ -192,12 +195,12 @@ export class DescribeUserResourcesRequest extends $dara.Model {
192
195
  resourceName?: string;
193
196
  /**
194
197
  * @remarks
195
- * The list of resource types. If this parameter is empty, all resource types are queried.
198
+ * The list of resource types. If this parameter is left empty, all resource types are queried.
196
199
  */
197
200
  resourceTypes?: string[];
198
201
  /**
199
202
  * @remarks
200
- * The client scenario, used to identify the sort order. Set this parameter to `desktop`.
203
+ * The client scenario, which is used to identify the sorting rule. Set this parameter to desktop.
201
204
  *
202
205
  * @example
203
206
  * desktop
@@ -205,7 +208,7 @@ export class DescribeUserResourcesRequest extends $dara.Model {
205
208
  scene?: string;
206
209
  /**
207
210
  * @remarks
208
- * The region ID used to filter cloud resources in a specific region.
211
+ * The region ID for search. This parameter is used to filter cloud resources in a specified region.
209
212
  *
210
213
  * @example
211
214
  * cn-hangzhou
@@ -213,7 +216,7 @@ export class DescribeUserResourcesRequest extends $dara.Model {
213
216
  searchRegionId?: string;
214
217
  /**
215
218
  * @remarks
216
- * The session ID. You can obtain this value by calling the `GetLoginToken` operation.
219
+ * The session ID. You can obtain the ID by calling the GetLoginToken operation.
217
220
  *
218
221
  * @example
219
222
  * cd45e873-650d-4d70-acb9-f996187a****
@@ -227,6 +230,17 @@ export class DescribeUserResourcesRequest extends $dara.Model {
227
230
  * ASC
228
231
  */
229
232
  sortType?: string;
233
+ /**
234
+ * @remarks
235
+ * The UUID of the client.
236
+ *
237
+ * @example
238
+ * FE44BAFDD92308BDAFE01217F948XXXX
239
+ *
240
+ * **if can be null:**
241
+ * true
242
+ */
243
+ uuid?: string;
230
244
  static names(): { [key: string]: string } {
231
245
  return {
232
246
  accessType: 'AccessType',
@@ -257,6 +271,7 @@ export class DescribeUserResourcesRequest extends $dara.Model {
257
271
  searchRegionId: 'SearchRegionId',
258
272
  sessionId: 'SessionId',
259
273
  sortType: 'SortType',
274
+ uuid: 'Uuid',
260
275
  };
261
276
  }
262
277
 
@@ -290,6 +305,7 @@ export class DescribeUserResourcesRequest extends $dara.Model {
290
305
  searchRegionId: 'string',
291
306
  sessionId: 'string',
292
307
  sortType: 'string',
308
+ uuid: 'string',
293
309
  };
294
310
  }
295
311