@alicloud/ecd20200930 5.8.1 → 5.9.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.
Files changed (153) hide show
  1. package/dist/client.d.ts +94 -36
  2. package/dist/client.js +229 -36
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CdsFileShareLinkModel.d.ts +1 -1
  5. package/dist/models/CreateAdconnectorDirectoryRequest.d.ts +2 -2
  6. package/dist/models/CreateCenterPolicyRequest.d.ts +1 -1
  7. package/dist/models/CreateCloudDriveUsersRequest.d.ts +1 -1
  8. package/dist/models/CreateDesktopsRequest.d.ts +67 -72
  9. package/dist/models/CreateDesktopsRequest.js.map +1 -1
  10. package/dist/models/CreateDesktopsResponseBody.d.ts +3 -3
  11. package/dist/models/CreateDesktopsShrinkRequest.d.ts +51 -56
  12. package/dist/models/CreateDesktopsShrinkRequest.js.map +1 -1
  13. package/dist/models/CreateDriveRequest.d.ts +3 -3
  14. package/dist/models/CreateEcdReportTaskRequest.d.ts +1 -1
  15. package/dist/models/CreateImageRequest.d.ts +1 -1
  16. package/dist/models/DeleteDevicesRequest.d.ts +6 -16
  17. package/dist/models/DeleteDevicesRequest.js.map +1 -1
  18. package/dist/models/DeleteDevicesResponseBody.d.ts +1 -1
  19. package/dist/models/DescribeCenterPolicyListResponseBody.d.ts +1 -1
  20. package/dist/models/DescribeCloudDriveGroupsRequest.d.ts +10 -8
  21. package/dist/models/DescribeCloudDriveGroupsRequest.js.map +1 -1
  22. package/dist/models/DescribeCloudDriveGroupsResponseBody.d.ts +7 -7
  23. package/dist/models/DescribeDesktopIdsByVulNamesRequest.d.ts +1 -1
  24. package/dist/models/DescribeDesktopIdsByVulNamesResponseBody.d.ts +2 -2
  25. package/dist/models/DescribeDesktopMetadataRequest.d.ts +2 -2
  26. package/dist/models/DescribeDesktopSessionsResponseBody.d.ts +1 -1
  27. package/dist/models/DescribeDesktopsRequest.d.ts +32 -42
  28. package/dist/models/DescribeDesktopsRequest.js.map +1 -1
  29. package/dist/models/DescribeDesktopsResponseBody.d.ts +37 -37
  30. package/dist/models/DescribeFlowMetricResponseBody.d.ts +1 -1
  31. package/dist/models/DescribeGuestApplicationsResponseBody.d.ts +2 -2
  32. package/dist/models/DescribePolicyGroupsResponseBody.d.ts +2 -2
  33. package/dist/models/DescribeRecordFileResponseBody.d.ts +1 -1
  34. package/dist/models/DescribeResourceStatisticByRegionRequest.d.ts +3 -3
  35. package/dist/models/DescribeResourceStatisticByRegionResponseBody.d.ts +6 -6
  36. package/dist/models/DescribeUserProfilePathRulesRequest.d.ts +19 -0
  37. package/dist/models/DescribeUserProfilePathRulesRequest.js.map +1 -1
  38. package/dist/models/DescribeUserProfilePathRulesResponseBody.d.ts +65 -0
  39. package/dist/models/DescribeUserProfilePathRulesResponseBody.js.map +1 -1
  40. package/dist/models/DescribeVulDetailsRequest.d.ts +65 -0
  41. package/dist/models/DescribeVulDetailsRequest.js +66 -0
  42. package/dist/models/DescribeVulDetailsRequest.js.map +1 -0
  43. package/dist/models/DescribeVulDetailsResponse.d.ts +19 -0
  44. package/dist/models/DescribeVulDetailsResponse.js +69 -0
  45. package/dist/models/DescribeVulDetailsResponse.js.map +1 -0
  46. package/dist/models/DescribeVulDetailsResponseBody.d.ts +70 -0
  47. package/dist/models/DescribeVulDetailsResponseBody.js +88 -0
  48. package/dist/models/DescribeVulDetailsResponseBody.js.map +1 -0
  49. package/dist/models/GetConnectionTicketRequest.d.ts +2 -2
  50. package/dist/models/GetConnectionTicketResponseBody.d.ts +2 -2
  51. package/dist/models/ImportDriveRequest.d.ts +4 -4
  52. package/dist/models/ImportDriveResponseBody.d.ts +4 -4
  53. package/dist/models/ListInstalledAppsRequest.d.ts +2 -2
  54. package/dist/models/ModifyAdconnectorDirectoryRequest.d.ts +3 -3
  55. package/dist/models/ModifyCenterPolicyRequest.d.ts +1 -1
  56. package/dist/models/ModifyCloudDriveServiceRequest.d.ts +73 -0
  57. package/dist/models/ModifyCloudDriveServiceRequest.js +70 -0
  58. package/dist/models/ModifyCloudDriveServiceRequest.js.map +1 -0
  59. package/dist/models/ModifyCloudDriveServiceResponse.d.ts +19 -0
  60. package/dist/models/ModifyCloudDriveServiceResponse.js +69 -0
  61. package/dist/models/ModifyCloudDriveServiceResponse.js.map +1 -0
  62. package/dist/models/ModifyCloudDriveServiceResponseBody.d.ts +21 -0
  63. package/dist/models/ModifyCloudDriveServiceResponseBody.js +58 -0
  64. package/dist/models/ModifyCloudDriveServiceResponseBody.js.map +1 -0
  65. package/dist/models/ModifyDesktopTimerRequest.d.ts +2 -2
  66. package/dist/models/ModifyNetworkPackageRequest.d.ts +41 -0
  67. package/dist/models/ModifyNetworkPackageRequest.js +62 -0
  68. package/dist/models/ModifyNetworkPackageRequest.js.map +1 -0
  69. package/dist/models/ModifyNetworkPackageResponse.d.ts +19 -0
  70. package/dist/models/ModifyNetworkPackageResponse.js +69 -0
  71. package/dist/models/ModifyNetworkPackageResponse.js.map +1 -0
  72. package/dist/models/ModifyNetworkPackageResponseBody.d.ts +21 -0
  73. package/dist/models/ModifyNetworkPackageResponseBody.js +58 -0
  74. package/dist/models/ModifyNetworkPackageResponseBody.js.map +1 -0
  75. package/dist/models/ModifyOfficeSiteSecurityProtectionRequest.d.ts +30 -0
  76. package/dist/models/ModifyOfficeSiteSecurityProtectionRequest.js +63 -0
  77. package/dist/models/ModifyOfficeSiteSecurityProtectionRequest.js.map +1 -0
  78. package/dist/models/ModifyOfficeSiteSecurityProtectionResponse.d.ts +19 -0
  79. package/dist/models/ModifyOfficeSiteSecurityProtectionResponse.js +69 -0
  80. package/dist/models/ModifyOfficeSiteSecurityProtectionResponse.js.map +1 -0
  81. package/dist/models/ModifyOfficeSiteSecurityProtectionResponseBody.d.ts +29 -0
  82. package/dist/models/ModifyOfficeSiteSecurityProtectionResponseBody.js +60 -0
  83. package/dist/models/ModifyOfficeSiteSecurityProtectionResponseBody.js.map +1 -0
  84. package/dist/models/QueryHistoryAvgMetricListRequest.d.ts +1 -1
  85. package/dist/models/QueryHistoryMetricDistributionRequest.d.ts +1 -1
  86. package/dist/models/SetUserProfilePathRulesRequest.d.ts +59 -0
  87. package/dist/models/SetUserProfilePathRulesRequest.js.map +1 -1
  88. package/dist/models/SetUserProfilePathRulesResponseBody.d.ts +7 -0
  89. package/dist/models/SetUserProfilePathRulesResponseBody.js.map +1 -1
  90. package/dist/models/SetUserProfilePathRulesShrinkRequest.d.ts +23 -0
  91. package/dist/models/SetUserProfilePathRulesShrinkRequest.js.map +1 -1
  92. package/dist/models/UntagResourcesRequest.d.ts +3 -3
  93. package/dist/models/model.d.ts +13 -0
  94. package/dist/models/model.js +48 -22
  95. package/dist/models/model.js.map +1 -1
  96. package/package.json +2 -2
  97. package/src/client.ts +254 -36
  98. package/src/models/CdsFileShareLinkModel.ts +1 -1
  99. package/src/models/CreateAdconnectorDirectoryRequest.ts +2 -2
  100. package/src/models/CreateCenterPolicyRequest.ts +1 -1
  101. package/src/models/CreateCloudDriveUsersRequest.ts +1 -1
  102. package/src/models/CreateDesktopsRequest.ts +67 -72
  103. package/src/models/CreateDesktopsResponseBody.ts +3 -3
  104. package/src/models/CreateDesktopsShrinkRequest.ts +51 -56
  105. package/src/models/CreateDriveRequest.ts +3 -3
  106. package/src/models/CreateEcdReportTaskRequest.ts +1 -1
  107. package/src/models/CreateImageRequest.ts +1 -1
  108. package/src/models/DeleteDevicesRequest.ts +6 -16
  109. package/src/models/DeleteDevicesResponseBody.ts +1 -1
  110. package/src/models/DescribeCenterPolicyListResponseBody.ts +1 -1
  111. package/src/models/DescribeCloudDriveGroupsRequest.ts +10 -8
  112. package/src/models/DescribeCloudDriveGroupsResponseBody.ts +7 -7
  113. package/src/models/DescribeDesktopIdsByVulNamesRequest.ts +1 -1
  114. package/src/models/DescribeDesktopIdsByVulNamesResponseBody.ts +2 -2
  115. package/src/models/DescribeDesktopMetadataRequest.ts +2 -2
  116. package/src/models/DescribeDesktopSessionsResponseBody.ts +1 -1
  117. package/src/models/DescribeDesktopsRequest.ts +32 -42
  118. package/src/models/DescribeDesktopsResponseBody.ts +37 -37
  119. package/src/models/DescribeFlowMetricResponseBody.ts +1 -1
  120. package/src/models/DescribeGuestApplicationsResponseBody.ts +2 -2
  121. package/src/models/DescribePolicyGroupsResponseBody.ts +2 -2
  122. package/src/models/DescribeRecordFileResponseBody.ts +1 -1
  123. package/src/models/DescribeResourceStatisticByRegionRequest.ts +3 -3
  124. package/src/models/DescribeResourceStatisticByRegionResponseBody.ts +6 -6
  125. package/src/models/DescribeUserProfilePathRulesRequest.ts +19 -0
  126. package/src/models/DescribeUserProfilePathRulesResponseBody.ts +65 -0
  127. package/src/models/DescribeVulDetailsRequest.ts +86 -0
  128. package/src/models/DescribeVulDetailsResponse.ts +40 -0
  129. package/src/models/DescribeVulDetailsResponseBody.ts +104 -0
  130. package/src/models/GetConnectionTicketRequest.ts +2 -2
  131. package/src/models/GetConnectionTicketResponseBody.ts +2 -2
  132. package/src/models/ImportDriveRequest.ts +4 -4
  133. package/src/models/ImportDriveResponseBody.ts +4 -4
  134. package/src/models/ListInstalledAppsRequest.ts +2 -2
  135. package/src/models/ModifyAdconnectorDirectoryRequest.ts +3 -3
  136. package/src/models/ModifyCenterPolicyRequest.ts +1 -1
  137. package/src/models/ModifyCloudDriveServiceRequest.ts +98 -0
  138. package/src/models/ModifyCloudDriveServiceResponse.ts +40 -0
  139. package/src/models/ModifyCloudDriveServiceResponseBody.ts +34 -0
  140. package/src/models/ModifyDesktopTimerRequest.ts +2 -2
  141. package/src/models/ModifyNetworkPackageRequest.ts +58 -0
  142. package/src/models/ModifyNetworkPackageResponse.ts +40 -0
  143. package/src/models/ModifyNetworkPackageResponseBody.ts +34 -0
  144. package/src/models/ModifyOfficeSiteSecurityProtectionRequest.ts +48 -0
  145. package/src/models/ModifyOfficeSiteSecurityProtectionResponse.ts +40 -0
  146. package/src/models/ModifyOfficeSiteSecurityProtectionResponseBody.ts +44 -0
  147. package/src/models/QueryHistoryAvgMetricListRequest.ts +1 -1
  148. package/src/models/QueryHistoryMetricDistributionRequest.ts +1 -1
  149. package/src/models/SetUserProfilePathRulesRequest.ts +59 -0
  150. package/src/models/SetUserProfilePathRulesResponseBody.ts +7 -0
  151. package/src/models/SetUserProfilePathRulesShrinkRequest.ts +23 -0
  152. package/src/models/UntagResourcesRequest.ts +3 -3
  153. package/src/models/model.ts +13 -0
@@ -21,7 +21,7 @@ export class DescribeResourceStatisticByRegionResponseBodyStatisticRegionStatist
21
21
  connectedEndUserCount?: number;
22
22
  /**
23
23
  * @remarks
24
- * The number of cloud desktops in the current region.
24
+ * The number of cloud computers in the current region.
25
25
  *
26
26
  * @example
27
27
  * 0
@@ -29,7 +29,7 @@ export class DescribeResourceStatisticByRegionResponseBodyStatisticRegionStatist
29
29
  desktopCount?: number;
30
30
  /**
31
31
  * @remarks
32
- * The number of shared cloud desktops in the current region.
32
+ * The number of shared desktops in the current region.
33
33
  *
34
34
  * @example
35
35
  * 0
@@ -45,7 +45,7 @@ export class DescribeResourceStatisticByRegionResponseBodyStatisticRegionStatist
45
45
  networkPackageCount?: number;
46
46
  /**
47
47
  * @remarks
48
- * The number of policy groups in the current region.
48
+ * The number of policies in the current region.
49
49
  *
50
50
  * @example
51
51
  * 0
@@ -53,7 +53,7 @@ export class DescribeResourceStatisticByRegionResponseBodyStatisticRegionStatist
53
53
  policyGroupCount?: number;
54
54
  /**
55
55
  * @remarks
56
- * The region ID. You can call the [DescribeRegions](https://next.api.aliyun.com/document/ecd/2020-09-30/DescribeRegions) operation to query the regions supported by WUYING Workspace.
56
+ * The region ID. You can call the [DescribeRegions](https://next.api.aliyun.com/document/ecd/2020-09-30/DescribeRegions) operation to query the list of regions supported by WUYING Workspace.
57
57
  *
58
58
  * @example
59
59
  * cn-shenzhen
@@ -95,7 +95,7 @@ export class DescribeResourceStatisticByRegionResponseBodyStatisticRegionStatist
95
95
  export class DescribeResourceStatisticByRegionResponseBodyStatistic extends $dara.Model {
96
96
  /**
97
97
  * @remarks
98
- * The statistics by region.
98
+ * The region-specific results.
99
99
  */
100
100
  regionStatistics?: DescribeResourceStatisticByRegionResponseBodyStatisticRegionStatistics[];
101
101
  static names(): { [key: string]: string } {
@@ -125,7 +125,7 @@ export class DescribeResourceStatisticByRegionResponseBodyStatistic extends $dar
125
125
  export class DescribeResourceStatisticByRegionResponseBody extends $dara.Model {
126
126
  /**
127
127
  * @remarks
128
- * The ID of the request.
128
+ * The request ID.
129
129
  *
130
130
  * @example
131
131
  * 1CBAFFAB-B697-4049-A9B1-67E1FC5F****
@@ -3,12 +3,31 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class DescribeUserProfilePathRulesRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The ID of the desktop group. This parameter is required when RuleType is set to DesktopGroup.
9
+ *
10
+ * @example
11
+ * dg-2i8qxpv6t1a03****
12
+ */
6
13
  desktopGroupId?: string;
7
14
  /**
8
15
  * @remarks
16
+ * The region ID.
17
+ *
9
18
  * This parameter is required.
19
+ *
20
+ * @example
21
+ * cn-hangzhou
10
22
  */
11
23
  regionId?: string;
24
+ /**
25
+ * @remarks
26
+ * The rule type for directory settings.
27
+ *
28
+ * @example
29
+ * DesktopGroup
30
+ */
12
31
  ruleType?: string;
13
32
  static names(): { [key: string]: string } {
14
33
  return {
@@ -3,7 +3,21 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class DescribeUserProfilePathRulesResponseBodyUserProfilePathRuleRulesBlackPath extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The path.
9
+ *
10
+ * @example
11
+ * AppLocal/Data
12
+ */
6
13
  path?: string;
14
+ /**
15
+ * @remarks
16
+ * The path type.
17
+ *
18
+ * @example
19
+ * file
20
+ */
7
21
  type?: string;
8
22
  static names(): { [key: string]: string } {
9
23
  return {
@@ -29,7 +43,21 @@ export class DescribeUserProfilePathRulesResponseBodyUserProfilePathRuleRulesBla
29
43
  }
30
44
 
31
45
  export class DescribeUserProfilePathRulesResponseBodyUserProfilePathRuleRulesWhitePaths extends $dara.Model {
46
+ /**
47
+ * @remarks
48
+ * The path.
49
+ *
50
+ * @example
51
+ * games
52
+ */
32
53
  path?: string;
54
+ /**
55
+ * @remarks
56
+ * The path type.
57
+ *
58
+ * @example
59
+ * folder
60
+ */
33
61
  type?: string;
34
62
  static names(): { [key: string]: string } {
35
63
  return {
@@ -55,7 +83,15 @@ export class DescribeUserProfilePathRulesResponseBodyUserProfilePathRuleRulesWhi
55
83
  }
56
84
 
57
85
  export class DescribeUserProfilePathRulesResponseBodyUserProfilePathRuleRules extends $dara.Model {
86
+ /**
87
+ * @remarks
88
+ * The blacklist configuration.
89
+ */
58
90
  blackPath?: DescribeUserProfilePathRulesResponseBodyUserProfilePathRuleRulesBlackPath;
91
+ /**
92
+ * @remarks
93
+ * The whitelist.
94
+ */
59
95
  whitePaths?: DescribeUserProfilePathRulesResponseBodyUserProfilePathRuleRulesWhitePaths[];
60
96
  static names(): { [key: string]: string } {
61
97
  return {
@@ -87,8 +123,26 @@ export class DescribeUserProfilePathRulesResponseBodyUserProfilePathRuleRules ex
87
123
  }
88
124
 
89
125
  export class DescribeUserProfilePathRulesResponseBodyUserProfilePathRule extends $dara.Model {
126
+ /**
127
+ * @remarks
128
+ * The ID of the desktop group.
129
+ *
130
+ * @example
131
+ * dg-4i8fvpv6tfs03****
132
+ */
90
133
  desktopGroupId?: string;
134
+ /**
135
+ * @remarks
136
+ * The list of directory rules.
137
+ */
91
138
  rules?: DescribeUserProfilePathRulesResponseBodyUserProfilePathRuleRules[];
139
+ /**
140
+ * @remarks
141
+ * The directory configuration type.
142
+ *
143
+ * @example
144
+ * Default
145
+ */
92
146
  userProfileRuleType?: string;
93
147
  static names(): { [key: string]: string } {
94
148
  return {
@@ -119,7 +173,18 @@ export class DescribeUserProfilePathRulesResponseBodyUserProfilePathRule extends
119
173
  }
120
174
 
121
175
  export class DescribeUserProfilePathRulesResponseBody extends $dara.Model {
176
+ /**
177
+ * @remarks
178
+ * The ID of the request.
179
+ *
180
+ * @example
181
+ * A87DBB05-653A-5E4B-B72B-5F4A1E07****
182
+ */
122
183
  requestId?: string;
184
+ /**
185
+ * @remarks
186
+ * The list of directory blacklists and whitelists.
187
+ */
123
188
  userProfilePathRule?: DescribeUserProfilePathRulesResponseBodyUserProfilePathRule;
124
189
  static names(): { [key: string]: string } {
125
190
  return {
@@ -0,0 +1,86 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DescribeVulDetailsRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The alias of the vulnerability.
9
+ *
10
+ * @example
11
+ * RHSA-2020:1176: avahi security update
12
+ */
13
+ aliasName?: string;
14
+ /**
15
+ * @remarks
16
+ * The language of the request and response. Valid values:
17
+ *
18
+ * - zh: Chinese
19
+ * - en: English
20
+ *
21
+ * @example
22
+ * zh
23
+ */
24
+ lang?: string;
25
+ /**
26
+ * @remarks
27
+ * The RPM name. You can call the [DescribeVulList](https://help.aliyun.com/document_detail/223907.html) operation to obtain the value.
28
+ *
29
+ * This parameter is required.
30
+ *
31
+ * @example
32
+ * 5003243
33
+ */
34
+ name?: string;
35
+ /**
36
+ * @remarks
37
+ * The region ID.
38
+ *
39
+ * This parameter is required.
40
+ *
41
+ * @example
42
+ * cn-hangzhou
43
+ */
44
+ regionId?: string;
45
+ /**
46
+ * @remarks
47
+ * The vulnerability type. Valid values:
48
+ *
49
+ * - cve: Linux software vulnerability
50
+ * - sys: Windows system vulnerability
51
+ *
52
+ * This parameter is required.
53
+ *
54
+ * @example
55
+ * sys
56
+ */
57
+ type?: string;
58
+ static names(): { [key: string]: string } {
59
+ return {
60
+ aliasName: 'AliasName',
61
+ lang: 'Lang',
62
+ name: 'Name',
63
+ regionId: 'RegionId',
64
+ type: 'Type',
65
+ };
66
+ }
67
+
68
+ static types(): { [key: string]: any } {
69
+ return {
70
+ aliasName: 'string',
71
+ lang: 'string',
72
+ name: 'string',
73
+ regionId: 'string',
74
+ type: 'string',
75
+ };
76
+ }
77
+
78
+ validate() {
79
+ super.validate();
80
+ }
81
+
82
+ constructor(map?: { [key: string]: any }) {
83
+ super(map);
84
+ }
85
+ }
86
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { DescribeVulDetailsResponseBody } from "./DescribeVulDetailsResponseBody";
4
+
5
+
6
+ export class DescribeVulDetailsResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: DescribeVulDetailsResponseBody;
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: DescribeVulDetailsResponseBody,
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,104 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DescribeVulDetailsResponseBodyCves extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The vulnerability ID.
9
+ *
10
+ * @example
11
+ * CVE-2017-6***
12
+ */
13
+ cveId?: string;
14
+ /**
15
+ * @remarks
16
+ * The CVSS score of the vulnerability, which is used to evaluate the severity of the vulnerability. A higher score indicates a higher severity. Valid values: 0 to 10.
17
+ *
18
+ * @example
19
+ * 9.1
20
+ */
21
+ cvssScore?: string;
22
+ /**
23
+ * @remarks
24
+ * The vulnerability description.
25
+ *
26
+ * @example
27
+ * This update makes quality improvements to the servicing stack, which is the component that installs Windows updates. Servicing stack updates (SSUs) ensure that you have a robust and reliable servicing stack so that your devices can receive and install Microsoft updates
28
+ */
29
+ summary?: string;
30
+ /**
31
+ * @remarks
32
+ * The vulnerability name.
33
+ *
34
+ * @example
35
+ * 2021-05 Servicing Stack Update for Windows Server 2019 for x64-based Systems (KB5003243)
36
+ */
37
+ title?: string;
38
+ static names(): { [key: string]: string } {
39
+ return {
40
+ cveId: 'CveId',
41
+ cvssScore: 'CvssScore',
42
+ summary: 'Summary',
43
+ title: 'Title',
44
+ };
45
+ }
46
+
47
+ static types(): { [key: string]: any } {
48
+ return {
49
+ cveId: 'string',
50
+ cvssScore: 'string',
51
+ summary: 'string',
52
+ title: 'string',
53
+ };
54
+ }
55
+
56
+ validate() {
57
+ super.validate();
58
+ }
59
+
60
+ constructor(map?: { [key: string]: any }) {
61
+ super(map);
62
+ }
63
+ }
64
+
65
+ export class DescribeVulDetailsResponseBody extends $dara.Model {
66
+ /**
67
+ * @remarks
68
+ * The array of vulnerability details.
69
+ */
70
+ cves?: DescribeVulDetailsResponseBodyCves[];
71
+ /**
72
+ * @remarks
73
+ * The request ID.
74
+ *
75
+ * @example
76
+ * 1CBAFFAB-B697-4049-A9B1-67E1FC5F****
77
+ */
78
+ requestId?: string;
79
+ static names(): { [key: string]: string } {
80
+ return {
81
+ cves: 'Cves',
82
+ requestId: 'RequestId',
83
+ };
84
+ }
85
+
86
+ static types(): { [key: string]: any } {
87
+ return {
88
+ cves: { 'type': 'array', 'itemType': DescribeVulDetailsResponseBodyCves },
89
+ requestId: 'string',
90
+ };
91
+ }
92
+
93
+ validate() {
94
+ if(Array.isArray(this.cves)) {
95
+ $dara.Model.validateArray(this.cves);
96
+ }
97
+ super.validate();
98
+ }
99
+
100
+ constructor(map?: { [key: string]: any }) {
101
+ super(map);
102
+ }
103
+ }
104
+
@@ -15,7 +15,7 @@ export class GetConnectionTicketRequest extends $dara.Model {
15
15
  * @remarks
16
16
  * The custom user-mode application to configure. After the credential is obtained, the application is automatically started.
17
17
  *
18
- * - appPath: a value of the STRING type that specifies the path of the application startup file. Example: `"C:\\Program Files (x86)\\000\\000.exe"`. Use double backslashes (\\\\) as path separators.
18
+ * - appPath: a value of the STRING type that specifies the path of the application startup file. Example: `"C:\Program Files (x86)\000\000.exe"`. Use double backslashes (\\) as path separators.
19
19
  * - appParameter: a value of the STRING type that specifies the application startup parameters. Example: `"meetingid 000 meetingname aaa"`. Separate parameters with spaces.
20
20
  *
21
21
  * @example
@@ -26,7 +26,7 @@ export class GetConnectionTicketRequest extends $dara.Model {
26
26
  * "sessionName": "",
27
27
  * "appList": [
28
28
  * {
29
- * "appPath": "C:\\\\Program Files\\\\Google\\\\Chrome\\\\Application\\\\chrome.exe",
29
+ * "appPath": "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe",
30
30
  * "appParameter": "www.example.com www.example1.com"
31
31
  * }
32
32
  * ]
@@ -29,8 +29,8 @@ export class GetConnectionTicketResponseBody extends $dara.Model {
29
29
  * "Ticket": "W0VuY29kaW5nXQ0KSW5wdXRFbmNvZGluZz1V********",
30
30
  * "RequestId": "1CBAFFAB-B697-4049-A9B1-67E1FC5F****",
31
31
  * }
32
- * f = open (\\"xxx.ica\\", \\"w\\")
33
- * out = base64.b64decode(response[\\"Ticket\\"])
32
+ * f = open (\"xxx.ica\", \"w\")
33
+ * out = base64.b64decode(response[\"Ticket\"])
34
34
  * f.write(out)
35
35
  * f.close()
36
36
  * ```
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class ImportDriveRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The target UPM domain ID. For workspace scenarios, use the UpmDomainId instead of the NAS file system ID.
8
+ * The domain ID of the target UPM. In workspace scenarios, use the UpmDomainId instead of the NAS file system ID.
9
9
  *
10
10
  * This parameter is required.
11
11
  *
@@ -15,7 +15,7 @@ export class ImportDriveRequest extends $dara.Model {
15
15
  domainId?: string;
16
16
  /**
17
17
  * @remarks
18
- * The target ECD end user ID. The caller account is obtained from the authentication context.
18
+ * The ID of the target ECD end user. The caller account is obtained from the authentication context.
19
19
  *
20
20
  * This parameter is required.
21
21
  *
@@ -25,7 +25,7 @@ export class ImportDriveRequest extends $dara.Model {
25
25
  endUserId?: string;
26
26
  /**
27
27
  * @remarks
28
- * Specifies whether to force an update. Default value: false. If the file already exists and this parameter is set to false, the request fails. If this parameter is set to true, the original DriveId is reused for the update.
28
+ * Specifies whether to force an update. Default value: false. If the resource already exists and this parameter is set to false, the request fails. If this parameter is set to true, the original DriveId is reused for the update.
29
29
  *
30
30
  * @example
31
31
  * false
@@ -33,7 +33,7 @@ export class ImportDriveRequest extends $dara.Model {
33
33
  forceUpdate?: boolean;
34
34
  /**
35
35
  * @remarks
36
- * The relative path of the cloud application UPM. It must be the same as the path specified during upload authorization. For cloud desktops, do not pass this parameter or pass an empty value.
36
+ * The relative path of the cloud application UPM. It must be consistent with the path specified during upload authorization. For cloud desktops, do not pass this parameter or pass an empty value.
37
37
  *
38
38
  * @example
39
39
  * appv1/ab****
@@ -5,15 +5,15 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class ImportDriveResponseBody extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The modification result. A value of `success` indicates success. Otherwise, an error message is returned.
8
+ * The result code. A value of `success` indicates that the operation is successful. Otherwise, an error message is returned.
9
9
  *
10
10
  * @example
11
- * Response code. 200 indicates success
11
+ * The response code. 200 indicates success
12
12
  */
13
13
  code?: string;
14
14
  /**
15
15
  * @remarks
16
- * The newly created or reused target drive ID. A success response only indicates that the import task has been accepted.
16
+ * The newly created or reused target drive ID. A success response only indicates that the import task is accepted.
17
17
  *
18
18
  * @example
19
19
  * dri-aaaa****
@@ -24,7 +24,7 @@ export class ImportDriveResponseBody extends $dara.Model {
24
24
  * The response message.
25
25
  *
26
26
  * @example
27
- * Response message
27
+ * The response message
28
28
  */
29
29
  message?: string;
30
30
  /**
@@ -15,7 +15,7 @@ export class ListInstalledAppsRequest extends $dara.Model {
15
15
  desktopId?: string;
16
16
  /**
17
17
  * @remarks
18
- * The page number.\\
18
+ * The page number.\
19
19
  * Default value: 1.
20
20
  *
21
21
  * @example
@@ -24,7 +24,7 @@ export class ListInstalledAppsRequest extends $dara.Model {
24
24
  pageNumber?: number;
25
25
  /**
26
26
  * @remarks
27
- * The number of entries per page.\\
27
+ * The number of entries per page.\
28
28
  * Default value: 20.
29
29
  *
30
30
  * @example
@@ -34,7 +34,7 @@ export class ModifyADConnectorDirectoryRequest extends $dara.Model {
34
34
  * The IP address of the DNS server corresponding to the enterprise AD. You can specify only one IP address. Make sure that the specified IP address is accessible in the network of the selected vSwitch.
35
35
  *
36
36
  * @example
37
- * ``127.0.**.**``
37
+ * `127.0.**.**`
38
38
  */
39
39
  dnsAddress?: string[];
40
40
  /**
@@ -109,11 +109,11 @@ export class ModifyADConnectorDirectoryRequest extends $dara.Model {
109
109
  regionId?: string;
110
110
  /**
111
111
  * @remarks
112
- * The DNS address of the existing AD subdomain.\\
112
+ * The DNS address of the existing AD subdomain.\
113
113
  * If you specify the `SubDomainName` parameter but you do not specify this parameter, the DNS address of the subdomain is the same as the DNS address of the parent domain.
114
114
  *
115
115
  * @example
116
- * ``127.0.**.**``
116
+ * `127.0.**.**`
117
117
  */
118
118
  subDomainDnsAddress?: string[];
119
119
  /**
@@ -13,7 +13,7 @@ export class ModifyCenterPolicyRequestAppScreenshotBuckets extends $dara.Model {
13
13
  bucketName?: string;
14
14
  /**
15
15
  * @remarks
16
- * The region where the user\\"s OSS bucket is located. The value must match the actual region of the bucket.
16
+ * The region where the user\"s OSS bucket is located. The value must match the actual region of the bucket.
17
17
  *
18
18
  * @example
19
19
  * cn-hangzhou
@@ -0,0 +1,98 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class ModifyCloudDriveServiceRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * Specifies whether to allow logon to the cloud disk through a software client.
9
+ *
10
+ * @example
11
+ * ON
12
+ */
13
+ allowClientDisplay?: string;
14
+ /**
15
+ * @remarks
16
+ * Specifies whether to automatically create a personal space for a cloud disk user after the user is successfully added in user management.
17
+ *
18
+ * @example
19
+ * ON
20
+ */
21
+ autoCreateUserEnable?: string;
22
+ /**
23
+ * @remarks
24
+ * The maximum size of the personal space for a user during the automatic creation of a cloud disk user, in bytes.
25
+ *
26
+ * @example
27
+ * 536870912
28
+ */
29
+ autoCreateUserMaxSize?: number;
30
+ /**
31
+ * @remarks
32
+ * The ID of the Wuying cloud disk.
33
+ *
34
+ * This parameter is required.
35
+ *
36
+ * @example
37
+ * cn-hangzhou+cds-346063****
38
+ */
39
+ cdsId?: string;
40
+ /**
41
+ * @remarks
42
+ * The name of the Wuying cloud disk.
43
+ *
44
+ * @example
45
+ * Wuying cloud disk
46
+ */
47
+ cdsName?: string;
48
+ /**
49
+ * @remarks
50
+ * The maximum storage space of the cloud disk, in bytes.
51
+ *
52
+ * @example
53
+ * 536870912000
54
+ */
55
+ maxSize?: number;
56
+ /**
57
+ * @remarks
58
+ * The region ID.
59
+ *
60
+ * This parameter is required.
61
+ *
62
+ * @example
63
+ * cn-hangzhou
64
+ */
65
+ regionId?: string;
66
+ static names(): { [key: string]: string } {
67
+ return {
68
+ allowClientDisplay: 'AllowClientDisplay',
69
+ autoCreateUserEnable: 'AutoCreateUserEnable',
70
+ autoCreateUserMaxSize: 'AutoCreateUserMaxSize',
71
+ cdsId: 'CdsId',
72
+ cdsName: 'CdsName',
73
+ maxSize: 'MaxSize',
74
+ regionId: 'RegionId',
75
+ };
76
+ }
77
+
78
+ static types(): { [key: string]: any } {
79
+ return {
80
+ allowClientDisplay: 'string',
81
+ autoCreateUserEnable: 'string',
82
+ autoCreateUserMaxSize: 'number',
83
+ cdsId: 'string',
84
+ cdsName: 'string',
85
+ maxSize: 'number',
86
+ regionId: 'string',
87
+ };
88
+ }
89
+
90
+ validate() {
91
+ super.validate();
92
+ }
93
+
94
+ constructor(map?: { [key: string]: any }) {
95
+ super(map);
96
+ }
97
+ }
98
+