@alicloud/ecd20200930 5.5.0 → 5.5.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 (131) hide show
  1. package/dist/client.d.ts +98 -98
  2. package/dist/client.js +107 -98
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/BatchModifyEntitlementRequest.d.ts +9 -10
  5. package/dist/models/BatchModifyEntitlementRequest.js.map +1 -1
  6. package/dist/models/BatchModifyEntitlementResponseBody.d.ts +5 -5
  7. package/dist/models/CancelAutoSnapshotPolicyRequest.d.ts +2 -2
  8. package/dist/models/CancelAutoSnapshotPolicyResponseBody.d.ts +1 -1
  9. package/dist/models/CopyImageRequest.d.ts +3 -3
  10. package/dist/models/CopyImageResponseBody.d.ts +1 -1
  11. package/dist/models/CreateCenterPolicyRequest.d.ts +1 -0
  12. package/dist/models/CreateCenterPolicyRequest.js +2 -0
  13. package/dist/models/CreateCenterPolicyRequest.js.map +1 -1
  14. package/dist/models/CreateCloudDriveGroupRequest.d.ts +5 -5
  15. package/dist/models/CreateCloudDriveGroupResponseBody.d.ts +4 -4
  16. package/dist/models/CreateDesktopsRequest.d.ts +92 -84
  17. package/dist/models/CreateDesktopsRequest.js +2 -0
  18. package/dist/models/CreateDesktopsRequest.js.map +1 -1
  19. package/dist/models/CreateDesktopsResponseBody.d.ts +1 -1
  20. package/dist/models/CreateDesktopsShrinkRequest.d.ts +77 -69
  21. package/dist/models/CreateDesktopsShrinkRequest.js +2 -0
  22. package/dist/models/CreateDesktopsShrinkRequest.js.map +1 -1
  23. package/dist/models/DeleteAutoSnapshotPolicyRequest.d.ts +2 -2
  24. package/dist/models/DeleteAutoSnapshotPolicyResponseBody.d.ts +1 -1
  25. package/dist/models/DeleteQosRulesRequest.d.ts +1 -1
  26. package/dist/models/DescribeCenterPolicyListResponseBody.d.ts +5 -0
  27. package/dist/models/DescribeCenterPolicyListResponseBody.js +2 -0
  28. package/dist/models/DescribeCenterPolicyListResponseBody.js.map +1 -1
  29. package/dist/models/DescribeConsoleMessagesRequest.d.ts +7 -7
  30. package/dist/models/DescribeConsoleMessagesResponseBody.d.ts +14 -14
  31. package/dist/models/DescribeDesktopGroupsRequest.d.ts +27 -16
  32. package/dist/models/DescribeDesktopGroupsRequest.js.map +1 -1
  33. package/dist/models/DescribeDesktopGroupsResponseBody.d.ts +49 -44
  34. package/dist/models/DescribeDesktopGroupsResponseBody.js +2 -0
  35. package/dist/models/DescribeDesktopGroupsResponseBody.js.map +1 -1
  36. package/dist/models/DescribeDesktopSessionsRequest.d.ts +10 -12
  37. package/dist/models/DescribeDesktopSessionsRequest.js.map +1 -1
  38. package/dist/models/DescribeDesktopSessionsResponseBody.d.ts +17 -11
  39. package/dist/models/DescribeDesktopSessionsResponseBody.js +2 -0
  40. package/dist/models/DescribeDesktopSessionsResponseBody.js.map +1 -1
  41. package/dist/models/DescribeFotaPendingDesktopsRequest.d.ts +9 -9
  42. package/dist/models/DescribeFotaPendingDesktopsResponseBody.d.ts +11 -22
  43. package/dist/models/DescribeFotaPendingDesktopsResponseBody.js.map +1 -1
  44. package/dist/models/DescribeNasfileSystemsRequest.d.ts +5 -5
  45. package/dist/models/DescribeNasfileSystemsResponseBody.d.ts +25 -22
  46. package/dist/models/DescribeNasfileSystemsResponseBody.js.map +1 -1
  47. package/dist/models/DescribePeripheralDriversRequest.d.ts +9 -13
  48. package/dist/models/DescribePeripheralDriversRequest.js.map +1 -1
  49. package/dist/models/DescribePeripheralDriversResponseBody.d.ts +9 -16
  50. package/dist/models/DescribePeripheralDriversResponseBody.js.map +1 -1
  51. package/dist/models/DescribePolicyGroupsResponseBody.d.ts +5 -0
  52. package/dist/models/DescribePolicyGroupsResponseBody.js +2 -0
  53. package/dist/models/DescribePolicyGroupsResponseBody.js.map +1 -1
  54. package/dist/models/DescribeResourceByCenterPolicyIdRequest.d.ts +5 -12
  55. package/dist/models/DescribeResourceByCenterPolicyIdRequest.js.map +1 -1
  56. package/dist/models/DescribeResourceByCenterPolicyIdResponseBody.d.ts +11 -11
  57. package/dist/models/DescribeSnapshotsRequest.d.ts +11 -14
  58. package/dist/models/DescribeSnapshotsRequest.js.map +1 -1
  59. package/dist/models/DescribeSnapshotsResponseBody.d.ts +22 -22
  60. package/dist/models/DescribeUserConnectionRecordsRequest.d.ts +13 -18
  61. package/dist/models/DescribeUserConnectionRecordsRequest.js.map +1 -1
  62. package/dist/models/DescribeUserConnectionRecordsResponseBody.d.ts +7 -5
  63. package/dist/models/DescribeUserConnectionRecordsResponseBody.js.map +1 -1
  64. package/dist/models/GetDesktopGroupDetailRequest.d.ts +2 -2
  65. package/dist/models/GetDesktopGroupDetailResponseBody.d.ts +60 -52
  66. package/dist/models/GetDesktopGroupDetailResponseBody.js +2 -0
  67. package/dist/models/GetDesktopGroupDetailResponseBody.js.map +1 -1
  68. package/dist/models/ModifyAutoSnapshotPolicyRequest.d.ts +4 -4
  69. package/dist/models/ModifyCenterPolicyRequest.d.ts +1 -0
  70. package/dist/models/ModifyCenterPolicyRequest.js +2 -0
  71. package/dist/models/ModifyCenterPolicyRequest.js.map +1 -1
  72. package/dist/models/ModifyDiskSpecRequest.d.ts +8 -8
  73. package/dist/models/ModifyDiskSpecResponseBody.d.ts +2 -3
  74. package/dist/models/ModifyDiskSpecResponseBody.js.map +1 -1
  75. package/dist/models/ModifyOfficeSiteBridgeInfoRequest.d.ts +4 -4
  76. package/dist/models/Permission.d.ts +40 -0
  77. package/dist/models/Permission.js.map +1 -1
  78. package/dist/models/QueryActiveUserStatisticRequest.d.ts +8 -8
  79. package/dist/models/QueryActiveUserStatisticResponseBody.d.ts +1 -1
  80. package/dist/models/QueryEndUserHistoryUsageRequest.d.ts +5 -3
  81. package/dist/models/QueryEndUserHistoryUsageRequest.js.map +1 -1
  82. package/dist/models/QueryEndUserHistoryUsageResponseBody.d.ts +15 -15
  83. package/package.json +1 -1
  84. package/src/client.ts +110 -98
  85. package/src/models/BatchModifyEntitlementRequest.ts +9 -10
  86. package/src/models/BatchModifyEntitlementResponseBody.ts +5 -5
  87. package/src/models/CancelAutoSnapshotPolicyRequest.ts +2 -2
  88. package/src/models/CancelAutoSnapshotPolicyResponseBody.ts +1 -1
  89. package/src/models/CopyImageRequest.ts +3 -3
  90. package/src/models/CopyImageResponseBody.ts +1 -1
  91. package/src/models/CreateCenterPolicyRequest.ts +3 -0
  92. package/src/models/CreateCloudDriveGroupRequest.ts +5 -5
  93. package/src/models/CreateCloudDriveGroupResponseBody.ts +4 -4
  94. package/src/models/CreateDesktopsRequest.ts +94 -84
  95. package/src/models/CreateDesktopsResponseBody.ts +1 -1
  96. package/src/models/CreateDesktopsShrinkRequest.ts +79 -69
  97. package/src/models/DeleteAutoSnapshotPolicyRequest.ts +2 -2
  98. package/src/models/DeleteAutoSnapshotPolicyResponseBody.ts +1 -1
  99. package/src/models/DeleteQosRulesRequest.ts +1 -1
  100. package/src/models/DescribeCenterPolicyListResponseBody.ts +7 -0
  101. package/src/models/DescribeConsoleMessagesRequest.ts +7 -7
  102. package/src/models/DescribeConsoleMessagesResponseBody.ts +14 -14
  103. package/src/models/DescribeDesktopGroupsRequest.ts +27 -16
  104. package/src/models/DescribeDesktopGroupsResponseBody.ts +51 -44
  105. package/src/models/DescribeDesktopSessionsRequest.ts +10 -12
  106. package/src/models/DescribeDesktopSessionsResponseBody.ts +19 -11
  107. package/src/models/DescribeFotaPendingDesktopsRequest.ts +9 -9
  108. package/src/models/DescribeFotaPendingDesktopsResponseBody.ts +11 -22
  109. package/src/models/DescribeNasfileSystemsRequest.ts +5 -5
  110. package/src/models/DescribeNasfileSystemsResponseBody.ts +25 -22
  111. package/src/models/DescribePeripheralDriversRequest.ts +9 -13
  112. package/src/models/DescribePeripheralDriversResponseBody.ts +9 -16
  113. package/src/models/DescribePolicyGroupsResponseBody.ts +7 -0
  114. package/src/models/DescribeResourceByCenterPolicyIdRequest.ts +5 -12
  115. package/src/models/DescribeResourceByCenterPolicyIdResponseBody.ts +11 -11
  116. package/src/models/DescribeSnapshotsRequest.ts +11 -14
  117. package/src/models/DescribeSnapshotsResponseBody.ts +22 -22
  118. package/src/models/DescribeUserConnectionRecordsRequest.ts +13 -18
  119. package/src/models/DescribeUserConnectionRecordsResponseBody.ts +7 -5
  120. package/src/models/GetDesktopGroupDetailRequest.ts +2 -2
  121. package/src/models/GetDesktopGroupDetailResponseBody.ts +62 -52
  122. package/src/models/ModifyAutoSnapshotPolicyRequest.ts +4 -4
  123. package/src/models/ModifyCenterPolicyRequest.ts +3 -0
  124. package/src/models/ModifyDiskSpecRequest.ts +8 -8
  125. package/src/models/ModifyDiskSpecResponseBody.ts +2 -3
  126. package/src/models/ModifyOfficeSiteBridgeInfoRequest.ts +4 -4
  127. package/src/models/Permission.ts +40 -0
  128. package/src/models/QueryActiveUserStatisticRequest.ts +8 -8
  129. package/src/models/QueryActiveUserStatisticResponseBody.ts +1 -1
  130. package/src/models/QueryEndUserHistoryUsageRequest.ts +5 -3
  131. package/src/models/QueryEndUserHistoryUsageResponseBody.ts +15 -15
@@ -3,15 +3,55 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class Permission extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The creation time.
9
+ */
6
10
  createTime?: string;
11
+ /**
12
+ * @remarks
13
+ * The description.
14
+ */
7
15
  description?: string;
16
+ /**
17
+ * @remarks
18
+ * The destination CIDR block.
19
+ */
8
20
  destCidrIp?: string;
21
+ /**
22
+ * @remarks
23
+ * The protocol type.
24
+ */
9
25
  ipProtocol?: string;
26
+ /**
27
+ * @remarks
28
+ * The NIC type.
29
+ */
10
30
  nicType?: string;
31
+ /**
32
+ * @remarks
33
+ * The policy.
34
+ */
11
35
  policy?: string;
36
+ /**
37
+ * @remarks
38
+ * The port range.
39
+ */
12
40
  portRange?: string;
41
+ /**
42
+ * @remarks
43
+ * The priority.
44
+ */
13
45
  priority?: string;
46
+ /**
47
+ * @remarks
48
+ * The source CIDR block.
49
+ */
14
50
  sourceCidrIp?: string;
51
+ /**
52
+ * @remarks
53
+ * The source port range.
54
+ */
15
55
  sourcePortRange?: string;
16
56
  static names(): { [key: string]: string } {
17
57
  return {
@@ -7,12 +7,12 @@ export class QueryActiveUserStatisticRequest extends $dara.Model {
7
7
  * @remarks
8
8
  * The business channel type code. Valid values:
9
9
  *
10
- * - 1 (default): Enterprise Edition.
10
+ * - 1: Enterprise Edition. This is the default value.
11
11
  * - 3: Cloud Office.
12
12
  * - 10: Standard Edition.
13
13
  * - 20: Business Edition.
14
14
  * - 30: Education Business Edition.
15
- * - 40: Cloud Phone isolated resources.
15
+ * - 40: Cloud phone isolated resources.
16
16
  * - 50: AgentBay.
17
17
  *
18
18
  * @example
@@ -21,7 +21,7 @@ export class QueryActiveUserStatisticRequest extends $dara.Model {
21
21
  bizType?: number;
22
22
  /**
23
23
  * @remarks
24
- * The end time of the query. The format is the same as StartTime. If the value is later than the current time, it is automatically truncated to the current time.
24
+ * The end time of the query. The format is the same as that of StartTime. If the specified time is later than the current time, it is automatically truncated to the current time.
25
25
  *
26
26
  * @example
27
27
  * 2020-12-01T06:32:31Z
@@ -29,7 +29,7 @@ export class QueryActiveUserStatisticRequest extends $dara.Model {
29
29
  endTime?: string;
30
30
  /**
31
31
  * @remarks
32
- * The workspace ID. If specified, only active users of cloud desktops in this workspace are counted.
32
+ * The workspace ID. If specified, only active users of desktops in this workspace are counted.
33
33
  *
34
34
  * @example
35
35
  * cn-hangzhou+dir-885351****
@@ -37,11 +37,11 @@ export class QueryActiveUserStatisticRequest extends $dara.Model {
37
37
  officeSiteId?: string;
38
38
  /**
39
39
  * @remarks
40
- * The aggregation interval for statistics. Valid values:
40
+ * The aggregation granularity of the statistics. Valid values:
41
41
  *
42
42
  * - ONE_MINUTE: 1 minute.
43
43
  * - TWO_MINUTE: 2 minutes.
44
- * - FIVE_MINUTE (default): 5 minutes.
44
+ * - FIVE_MINUTE: 5 minutes. This is the default value.
45
45
  * - ONE_HOUR: 1 hour.
46
46
  * - ONE_DAY: 1 day.
47
47
  *
@@ -51,12 +51,12 @@ export class QueryActiveUserStatisticRequest extends $dara.Model {
51
51
  period?: string;
52
52
  /**
53
53
  * @remarks
54
- * The start time of the query. The following formats are supported:
54
+ * The start time of the query. Two formats are supported:
55
55
  *
56
56
  * - UTC format: yyyy-MM-ddTHH:mm:ssZ.
57
57
  * - Standard format: yyyy-MM-dd HH:mm:ss.
58
58
  *
59
- * The value cannot be earlier than 6 months before the current time or later than EndTime.
59
+ * The start time cannot be earlier than six months ago or later than the end time.
60
60
  *
61
61
  * @example
62
62
  * 2020-11-30T06:32:31Z
@@ -13,7 +13,7 @@ export class QueryActiveUserStatisticResponseBodyUserStatisticList extends $dara
13
13
  activeUserCount?: number;
14
14
  /**
15
15
  * @remarks
16
- * The formatted date string in UTC+8, in the format of yyyy-MM-dd.
16
+ * The formatted date string in the UTC+8 time zone. The format is yyyy-MM-dd.
17
17
  *
18
18
  * @example
19
19
  * 2020-11-30
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class QueryEndUserHistoryUsageRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The end date of the query. Format: yyyy-MM-dd. The date cannot be later than yesterday or earlier than StartDate. Default value: yesterday.
8
+ * The end date of the query, in yyyy-MM-dd format. The date cannot be later than yesterday or earlier than StartDate. Default value: yesterday.
9
9
  *
10
10
  * @example
11
11
  * 2024-01-15
@@ -13,7 +13,9 @@ export class QueryEndUserHistoryUsageRequest extends $dara.Model {
13
13
  endDate?: string;
14
14
  /**
15
15
  * @remarks
16
- * Specifies whether to query Active Directory (AD) domain users. If this parameter is set to true, AD domain users are queried. If this parameter is set to false or not specified, convenience account users are queried.
16
+ * Specifies whether to query Active Directory (AD) domain users. Valid values:
17
+ * - true: Queries AD domain users.
18
+ * - false or unspecified: Queries convenience users.
17
19
  */
18
20
  isAdUser?: boolean;
19
21
  /**
@@ -34,7 +36,7 @@ export class QueryEndUserHistoryUsageRequest extends $dara.Model {
34
36
  pageSize?: number;
35
37
  /**
36
38
  * @remarks
37
- * The start date of the query. Format: yyyy-MM-dd. The date cannot be earlier than 32 days ago. Default value: yesterday.
39
+ * The start date of the query, in yyyy-MM-dd format. The date cannot be earlier than 32 days ago. Default value: yesterday.
38
40
  *
39
41
  * @example
40
42
  * 2024-01-01
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class QueryEndUserHistoryUsageResponseBodyUserUsageInfoListDesktopUsageList extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The desktop ID.
8
+ * The ID of the cloud desktop.
9
9
  *
10
10
  * @example
11
11
  * ecd-abc123
@@ -13,7 +13,7 @@ export class QueryEndUserHistoryUsageResponseBodyUserUsageInfoListDesktopUsageLi
13
13
  desktopId?: string;
14
14
  /**
15
15
  * @remarks
16
- * The desktop name.
16
+ * The name of the cloud desktop.
17
17
  *
18
18
  * @example
19
19
  * DemoDesktop
@@ -21,7 +21,7 @@ export class QueryEndUserHistoryUsageResponseBodyUserUsageInfoListDesktopUsageLi
21
21
  desktopName?: string;
22
22
  /**
23
23
  * @remarks
24
- * The usage duration of the user on the desktop, in seconds.
24
+ * The usage duration of the user on the cloud desktop, in seconds.
25
25
  *
26
26
  * @example
27
27
  * 1800
@@ -55,7 +55,7 @@ export class QueryEndUserHistoryUsageResponseBodyUserUsageInfoListDesktopUsageLi
55
55
  export class QueryEndUserHistoryUsageResponseBodyUserUsageInfoListUserGroupList extends $dara.Model {
56
56
  /**
57
57
  * @remarks
58
- * The user group ID.
58
+ * The ID of the user group.
59
59
  *
60
60
  * @example
61
61
  * ug-12345678
@@ -63,7 +63,7 @@ export class QueryEndUserHistoryUsageResponseBodyUserUsageInfoListUserGroupList
63
63
  userGroupId?: string;
64
64
  /**
65
65
  * @remarks
66
- * The user group name.
66
+ * The name of the user group.
67
67
  *
68
68
  * @example
69
69
  * Default user group
@@ -95,7 +95,7 @@ export class QueryEndUserHistoryUsageResponseBodyUserUsageInfoListUserGroupList
95
95
  export class QueryEndUserHistoryUsageResponseBodyUserUsageInfoList extends $dara.Model {
96
96
  /**
97
97
  * @remarks
98
- * The remarks of the user. This parameter has a value only for convenience account users.
98
+ * The description of the user. This parameter has a value only for convenience users.
99
99
  *
100
100
  * @example
101
101
  * Test user
@@ -103,15 +103,15 @@ export class QueryEndUserHistoryUsageResponseBodyUserUsageInfoList extends $dara
103
103
  description?: string;
104
104
  /**
105
105
  * @remarks
106
- * The list of usage duration details for each desktop.
106
+ * The list of usage duration details for each cloud desktop.
107
107
  */
108
108
  desktopUsageList?: QueryEndUserHistoryUsageResponseBodyUserUsageInfoListDesktopUsageList[];
109
109
  /**
110
110
  * @remarks
111
- * The display name of the user. For convenience account users, this is the actual nickname. For AD users, this is the display name.
111
+ * The display name of the user. For convenience users, this is the real nickname. For AD users, this is the display name.
112
112
  *
113
113
  * @example
114
- * John Smith
114
+ * Zhang San
115
115
  */
116
116
  displayName?: string;
117
117
  /**
@@ -124,7 +124,7 @@ export class QueryEndUserHistoryUsageResponseBodyUserUsageInfoList extends $dara
124
124
  duration?: number;
125
125
  /**
126
126
  * @remarks
127
- * The end user ID.
127
+ * The ID of the end user.
128
128
  *
129
129
  * @example
130
130
  * user01
@@ -132,7 +132,7 @@ export class QueryEndUserHistoryUsageResponseBodyUserUsageInfoList extends $dara
132
132
  endUserId?: string;
133
133
  /**
134
134
  * @remarks
135
- * The username. For convenience account users, this is the nickname. For AD users, this is the UserPrincipalName.
135
+ * The username. For convenience users, this is the nickname. For AD users, this is the UserPrincipalName.
136
136
  *
137
137
  * @example
138
138
  * zhangsan
@@ -140,12 +140,12 @@ export class QueryEndUserHistoryUsageResponseBodyUserUsageInfoList extends $dara
140
140
  endUserName?: string;
141
141
  /**
142
142
  * @remarks
143
- * The list of organization paths. For convenience account users, this contains multiple organization paths. For AD users, this is the organizational unit (OU) path.
143
+ * The list of organization paths. For convenience users, this includes multiple organization paths. For AD users, this is the OU path.
144
144
  */
145
145
  orgPathList?: string[];
146
146
  /**
147
147
  * @remarks
148
- * The list of user groups. This parameter has a value only for convenience account users.
148
+ * The list of user groups. This parameter has a value only for convenience users.
149
149
  */
150
150
  userGroupList?: QueryEndUserHistoryUsageResponseBodyUserUsageInfoListUserGroupList[];
151
151
  static names(): { [key: string]: string } {
@@ -195,7 +195,7 @@ export class QueryEndUserHistoryUsageResponseBodyUserUsageInfoList extends $dara
195
195
  export class QueryEndUserHistoryUsageResponseBody extends $dara.Model {
196
196
  /**
197
197
  * @remarks
198
- * The request ID.
198
+ * The unique identifier of the request.
199
199
  *
200
200
  * @example
201
201
  * 269BDB16-2CD8-4865-84BD-11C40BC21DB0
@@ -211,7 +211,7 @@ export class QueryEndUserHistoryUsageResponseBody extends $dara.Model {
211
211
  totalCount?: number;
212
212
  /**
213
213
  * @remarks
214
- * The list of user usage duration entries on the current page.
214
+ * The list of user usage durations on the current page.
215
215
  */
216
216
  userUsageInfoList?: QueryEndUserHistoryUsageResponseBodyUserUsageInfoList[];
217
217
  static names(): { [key: string]: string } {