@alicloud/ecd20200930 5.2.0 → 5.3.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.
- package/dist/client.d.ts +280 -40
- package/dist/client.js +550 -40
- package/dist/client.js.map +1 -1
- package/dist/models/ConfigAdconnectorTrustRequest.d.ts +1 -1
- package/dist/models/CreateDesktopsRequest.d.ts +59 -59
- package/dist/models/CreateDesktopsResponseBody.d.ts +1 -1
- package/dist/models/CreateDesktopsShrinkRequest.d.ts +48 -48
- package/dist/models/CreateOfficeSiteAcceleratorRequest.d.ts +7 -8
- package/dist/models/CreateOfficeSiteAcceleratorRequest.js.map +1 -1
- package/dist/models/CreateOfficeSiteAcceleratorResponseBody.d.ts +1 -1
- package/dist/models/DeleteDesktopsRequest.d.ts +1 -1
- package/dist/models/DescribeFlowMetricRequest.d.ts +5 -5
- package/dist/models/DescribeOfficeSitesRequest.d.ts +6 -6
- package/dist/models/DescribeOfficeSitesResponseBody.d.ts +23 -23
- package/dist/models/DescribePeripheralDriversRequest.d.ts +86 -0
- package/dist/models/DescribePeripheralDriversRequest.js +77 -0
- package/dist/models/DescribePeripheralDriversRequest.js.map +1 -0
- package/dist/models/DescribePeripheralDriversResponse.d.ts +19 -0
- package/dist/models/DescribePeripheralDriversResponse.js +69 -0
- package/dist/models/DescribePeripheralDriversResponse.js.map +1 -0
- package/dist/models/DescribePeripheralDriversResponseBody.d.ts +141 -0
- package/dist/models/DescribePeripheralDriversResponseBody.js +104 -0
- package/dist/models/DescribePeripheralDriversResponseBody.js.map +1 -0
- package/dist/models/DescribeSnapshotsRequest.d.ts +4 -4
- package/dist/models/DescribeSnapshotsResponseBody.d.ts +2 -2
- package/dist/models/DescribeVulDesktopsRequest.d.ts +137 -0
- package/dist/models/DescribeVulDesktopsRequest.js +92 -0
- package/dist/models/DescribeVulDesktopsRequest.js.map +1 -0
- package/dist/models/DescribeVulDesktopsResponse.d.ts +19 -0
- package/dist/models/DescribeVulDesktopsResponse.js +69 -0
- package/dist/models/DescribeVulDesktopsResponse.js.map +1 -0
- package/dist/models/DescribeVulDesktopsResponseBody.d.ts +273 -0
- package/dist/models/DescribeVulDesktopsResponseBody.js +177 -0
- package/dist/models/DescribeVulDesktopsResponseBody.js.map +1 -0
- package/dist/models/DescribeVulnerabilityRequest.d.ts +78 -0
- package/dist/models/DescribeVulnerabilityRequest.js +72 -0
- package/dist/models/DescribeVulnerabilityRequest.js.map +1 -0
- package/dist/models/DescribeVulnerabilityResponse.d.ts +19 -0
- package/dist/models/DescribeVulnerabilityResponse.js +69 -0
- package/dist/models/DescribeVulnerabilityResponse.js.map +1 -0
- package/dist/models/DescribeVulnerabilityResponseBody.d.ts +267 -0
- package/dist/models/DescribeVulnerabilityResponseBody.js +172 -0
- package/dist/models/DescribeVulnerabilityResponseBody.js.map +1 -0
- package/dist/models/ListDirectoryUsersRequest.d.ts +3 -3
- package/dist/models/ListDirectoryUsersResponseBody.d.ts +3 -3
- package/dist/models/MigrateDesktopsRequest.d.ts +3 -3
- package/dist/models/ModifyUserEntitlementRequest.d.ts +4 -4
- package/dist/models/QueryActiveUserStatisticRequest.d.ts +72 -0
- package/dist/models/QueryActiveUserStatisticRequest.js +66 -0
- package/dist/models/QueryActiveUserStatisticRequest.js.map +1 -0
- package/dist/models/QueryActiveUserStatisticResponse.d.ts +19 -0
- package/dist/models/QueryActiveUserStatisticResponse.js +69 -0
- package/dist/models/QueryActiveUserStatisticResponse.js.map +1 -0
- package/dist/models/QueryActiveUserStatisticResponseBody.d.ts +70 -0
- package/dist/models/QueryActiveUserStatisticResponseBody.js +88 -0
- package/dist/models/QueryActiveUserStatisticResponseBody.js.map +1 -0
- package/dist/models/QueryEndUserHistoryUsageRequest.d.ts +50 -0
- package/dist/models/QueryEndUserHistoryUsageRequest.js +66 -0
- package/dist/models/QueryEndUserHistoryUsageRequest.js.map +1 -0
- package/dist/models/QueryEndUserHistoryUsageResponse.d.ts +19 -0
- package/dist/models/QueryEndUserHistoryUsageResponse.js +69 -0
- package/dist/models/QueryEndUserHistoryUsageResponse.js.map +1 -0
- package/dist/models/QueryEndUserHistoryUsageResponseBody.d.ts +165 -0
- package/dist/models/QueryEndUserHistoryUsageResponseBody.js +151 -0
- package/dist/models/QueryEndUserHistoryUsageResponseBody.js.map +1 -0
- package/dist/models/QueryHistoryActiveUserStatisticRequest.d.ts +61 -0
- package/dist/models/QueryHistoryActiveUserStatisticRequest.js +68 -0
- package/dist/models/QueryHistoryActiveUserStatisticRequest.js.map +1 -0
- package/dist/models/QueryHistoryActiveUserStatisticResponse.d.ts +19 -0
- package/dist/models/QueryHistoryActiveUserStatisticResponse.js +69 -0
- package/dist/models/QueryHistoryActiveUserStatisticResponse.js.map +1 -0
- package/dist/models/QueryHistoryActiveUserStatisticResponseBody.d.ts +70 -0
- package/dist/models/QueryHistoryActiveUserStatisticResponseBody.js +88 -0
- package/dist/models/QueryHistoryActiveUserStatisticResponseBody.js.map +1 -0
- package/dist/models/RebootDesktopsRequest.d.ts +9 -2
- package/dist/models/RebootDesktopsRequest.js.map +1 -1
- package/dist/models/RunCommandRequest.d.ts +8 -5
- package/dist/models/RunCommandRequest.js.map +1 -1
- package/dist/models/StartDesktopsRequest.d.ts +2 -2
- package/dist/models/model.d.ts +30 -0
- package/dist/models/model.js +82 -21
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +610 -40
- package/src/models/ConfigAdconnectorTrustRequest.ts +1 -1
- package/src/models/CreateDesktopsRequest.ts +59 -59
- package/src/models/CreateDesktopsResponseBody.ts +1 -1
- package/src/models/CreateDesktopsShrinkRequest.ts +48 -48
- package/src/models/CreateOfficeSiteAcceleratorRequest.ts +7 -8
- package/src/models/CreateOfficeSiteAcceleratorResponseBody.ts +1 -1
- package/src/models/DeleteDesktopsRequest.ts +1 -1
- package/src/models/DescribeFlowMetricRequest.ts +5 -5
- package/src/models/DescribeOfficeSitesRequest.ts +6 -6
- package/src/models/DescribeOfficeSitesResponseBody.ts +23 -23
- package/src/models/DescribePeripheralDriversRequest.ts +118 -0
- package/src/models/DescribePeripheralDriversResponse.ts +40 -0
- package/src/models/DescribePeripheralDriversResponseBody.ts +191 -0
- package/src/models/DescribeSnapshotsRequest.ts +4 -4
- package/src/models/DescribeSnapshotsResponseBody.ts +2 -2
- package/src/models/DescribeVulDesktopsRequest.ts +184 -0
- package/src/models/DescribeVulDesktopsResponse.ts +40 -0
- package/src/models/DescribeVulDesktopsResponseBody.ts +378 -0
- package/src/models/DescribeVulnerabilityRequest.ts +105 -0
- package/src/models/DescribeVulnerabilityResponse.ts +40 -0
- package/src/models/DescribeVulnerabilityResponseBody.ts +367 -0
- package/src/models/ListDirectoryUsersRequest.ts +3 -3
- package/src/models/ListDirectoryUsersResponseBody.ts +3 -3
- package/src/models/MigrateDesktopsRequest.ts +3 -3
- package/src/models/ModifyUserEntitlementRequest.ts +4 -4
- package/src/models/QueryActiveUserStatisticRequest.ts +93 -0
- package/src/models/QueryActiveUserStatisticResponse.ts +40 -0
- package/src/models/QueryActiveUserStatisticResponseBody.ts +104 -0
- package/src/models/QueryEndUserHistoryUsageRequest.ts +71 -0
- package/src/models/QueryEndUserHistoryUsageResponse.ts +40 -0
- package/src/models/QueryEndUserHistoryUsageResponseBody.ts +244 -0
- package/src/models/QueryHistoryActiveUserStatisticRequest.ts +84 -0
- package/src/models/QueryHistoryActiveUserStatisticResponse.ts +40 -0
- package/src/models/QueryHistoryActiveUserStatisticResponseBody.ts +104 -0
- package/src/models/RebootDesktopsRequest.ts +9 -2
- package/src/models/RunCommandRequest.ts +8 -5
- package/src/models/StartDesktopsRequest.ts +2 -2
- package/src/models/model.ts +30 -0
package/src/client.ts
CHANGED
|
@@ -3714,13 +3714,13 @@ export default class Client extends OpenApi {
|
|
|
3714
3714
|
}
|
|
3715
3715
|
|
|
3716
3716
|
/**
|
|
3717
|
-
* Creates one or more cloud
|
|
3717
|
+
* Creates one or more cloud computers. If user information is provided during creation, the cloud computers are assigned directly.
|
|
3718
3718
|
*
|
|
3719
3719
|
* @remarks
|
|
3720
|
-
* Before creating cloud
|
|
3721
|
-
* - Create an office network (formerly workspace) and users. For
|
|
3722
|
-
* - Convenience office network: [CreateSimpleOfficeSite](https://help.aliyun.com/document_detail/215416.html)
|
|
3723
|
-
* - AD office network: [CreateADConnectorOfficeSite](https://help.aliyun.com/document_detail/215417.html)
|
|
3720
|
+
* Before creating cloud computers, complete the following preparations:
|
|
3721
|
+
* - Create an office network (formerly workspace) and users. For related API operations or documentation, refer to:
|
|
3722
|
+
* - Convenience office network: [CreateSimpleOfficeSite](https://help.aliyun.com/document_detail/215416.html), [CreateUsers](https://help.aliyun.com/document_detail/437832.html).
|
|
3723
|
+
* - AD office network: [CreateADConnectorOfficeSite](https://help.aliyun.com/document_detail/215417.html), [Create AD users](https://help.aliyun.com/document_detail/188619.html).
|
|
3724
3724
|
* - Call [CreatePolicyGroup](https://help.aliyun.com/document_detail/188889.html) to create a policy, or confirm that an existing policy is available.
|
|
3725
3725
|
* **Call examples:**
|
|
3726
3726
|
* <details>
|
|
@@ -3803,7 +3803,7 @@ export default class Client extends OpenApi {
|
|
|
3803
3803
|
* }
|
|
3804
3804
|
* ```
|
|
3805
3805
|
* </details>
|
|
3806
|
-
* To have cloud
|
|
3806
|
+
* To have cloud computers automatically run custom command scripts, use the `UserCommands` field to configure custom commands.
|
|
3807
3807
|
*
|
|
3808
3808
|
* @param tmpReq - CreateDesktopsRequest
|
|
3809
3809
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4016,13 +4016,13 @@ export default class Client extends OpenApi {
|
|
|
4016
4016
|
}
|
|
4017
4017
|
|
|
4018
4018
|
/**
|
|
4019
|
-
* Creates one or more cloud
|
|
4019
|
+
* Creates one or more cloud computers. If user information is provided during creation, the cloud computers are assigned directly.
|
|
4020
4020
|
*
|
|
4021
4021
|
* @remarks
|
|
4022
|
-
* Before creating cloud
|
|
4023
|
-
* - Create an office network (formerly workspace) and users. For
|
|
4024
|
-
* - Convenience office network: [CreateSimpleOfficeSite](https://help.aliyun.com/document_detail/215416.html)
|
|
4025
|
-
* - AD office network: [CreateADConnectorOfficeSite](https://help.aliyun.com/document_detail/215417.html)
|
|
4022
|
+
* Before creating cloud computers, complete the following preparations:
|
|
4023
|
+
* - Create an office network (formerly workspace) and users. For related API operations or documentation, refer to:
|
|
4024
|
+
* - Convenience office network: [CreateSimpleOfficeSite](https://help.aliyun.com/document_detail/215416.html), [CreateUsers](https://help.aliyun.com/document_detail/437832.html).
|
|
4025
|
+
* - AD office network: [CreateADConnectorOfficeSite](https://help.aliyun.com/document_detail/215417.html), [Create AD users](https://help.aliyun.com/document_detail/188619.html).
|
|
4026
4026
|
* - Call [CreatePolicyGroup](https://help.aliyun.com/document_detail/188889.html) to create a policy, or confirm that an existing policy is available.
|
|
4027
4027
|
* **Call examples:**
|
|
4028
4028
|
* <details>
|
|
@@ -4105,7 +4105,7 @@ export default class Client extends OpenApi {
|
|
|
4105
4105
|
* }
|
|
4106
4106
|
* ```
|
|
4107
4107
|
* </details>
|
|
4108
|
-
* To have cloud
|
|
4108
|
+
* To have cloud computers automatically run custom command scripts, use the `UserCommands` field to configure custom commands.
|
|
4109
4109
|
*
|
|
4110
4110
|
* @param request - CreateDesktopsRequest
|
|
4111
4111
|
* @returns CreateDesktopsResponse
|
|
@@ -4664,10 +4664,10 @@ export default class Client extends OpenApi {
|
|
|
4664
4664
|
}
|
|
4665
4665
|
|
|
4666
4666
|
/**
|
|
4667
|
-
* Enables
|
|
4667
|
+
* Enables Global Accelerator (GA) for an office network.
|
|
4668
4668
|
*
|
|
4669
4669
|
* @remarks
|
|
4670
|
-
* Before
|
|
4670
|
+
* Before calling this operation, make sure that you fully understand the billing methods and [pricing](https://help.aliyun.com/document_detail/425831.html) of Global Accelerator (GA).
|
|
4671
4671
|
*
|
|
4672
4672
|
* @param request - CreateOfficeSiteAcceleratorRequest
|
|
4673
4673
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4714,10 +4714,10 @@ export default class Client extends OpenApi {
|
|
|
4714
4714
|
}
|
|
4715
4715
|
|
|
4716
4716
|
/**
|
|
4717
|
-
* Enables
|
|
4717
|
+
* Enables Global Accelerator (GA) for an office network.
|
|
4718
4718
|
*
|
|
4719
4719
|
* @remarks
|
|
4720
|
-
* Before
|
|
4720
|
+
* Before calling this operation, make sure that you fully understand the billing methods and [pricing](https://help.aliyun.com/document_detail/425831.html) of Global Accelerator (GA).
|
|
4721
4721
|
*
|
|
4722
4722
|
* @param request - CreateOfficeSiteAcceleratorRequest
|
|
4723
4723
|
* @returns CreateOfficeSiteAcceleratorResponse
|
|
@@ -9617,7 +9617,7 @@ export default class Client extends OpenApi {
|
|
|
9617
9617
|
}
|
|
9618
9618
|
|
|
9619
9619
|
/**
|
|
9620
|
-
* Queries the inbound
|
|
9620
|
+
* Queries the inbound and outbound bandwidth monitoring data of a cloud computer, or the public inbound and outbound bandwidth monitoring data of a premium public bandwidth instance.
|
|
9621
9621
|
*
|
|
9622
9622
|
* @param request - DescribeFlowMetricRequest
|
|
9623
9623
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9672,7 +9672,7 @@ export default class Client extends OpenApi {
|
|
|
9672
9672
|
}
|
|
9673
9673
|
|
|
9674
9674
|
/**
|
|
9675
|
-
* Queries the inbound
|
|
9675
|
+
* Queries the inbound and outbound bandwidth monitoring data of a cloud computer, or the public inbound and outbound bandwidth monitoring data of a premium public bandwidth instance.
|
|
9676
9676
|
*
|
|
9677
9677
|
* @param request - DescribeFlowMetricRequest
|
|
9678
9678
|
* @returns DescribeFlowMetricResponse
|
|
@@ -10951,7 +10951,7 @@ export default class Client extends OpenApi {
|
|
|
10951
10951
|
}
|
|
10952
10952
|
|
|
10953
10953
|
/**
|
|
10954
|
-
* Queries all
|
|
10954
|
+
* Queries all attributes of an office network, including the ID, name, status, and creation time.
|
|
10955
10955
|
*
|
|
10956
10956
|
* @param request - DescribeOfficeSitesRequest
|
|
10957
10957
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -11014,7 +11014,7 @@ export default class Client extends OpenApi {
|
|
|
11014
11014
|
}
|
|
11015
11015
|
|
|
11016
11016
|
/**
|
|
11017
|
-
* Queries all
|
|
11017
|
+
* Queries all attributes of an office network, including the ID, name, status, and creation time.
|
|
11018
11018
|
*
|
|
11019
11019
|
* @param request - DescribeOfficeSitesRequest
|
|
11020
11020
|
* @returns DescribeOfficeSitesResponse
|
|
@@ -11084,6 +11084,216 @@ export default class Client extends OpenApi {
|
|
|
11084
11084
|
return await this.describeOnlineUserCountWithOptions(request, runtime);
|
|
11085
11085
|
}
|
|
11086
11086
|
|
|
11087
|
+
/**
|
|
11088
|
+
* Queries peripheral drivers visible to the current account, with support for filtering by ownership, brand, device type, driver ID, and keyword, and returns paginated results.
|
|
11089
|
+
*
|
|
11090
|
+
* @remarks
|
|
11091
|
+
* When multiple filter conditions are specified, only drivers that meet all conditions are returned. If no filter conditions are specified, both Wuying official drivers and drivers of the current account are returned. Use PageSize and PageNumber for pagination. Keep the filter conditions and PageSize unchanged, increment PageNumber page by page, and stop when an empty list is returned. The example values are provided to illustrate the format. Replace them with actual values.
|
|
11092
|
+
* ## Request examples
|
|
11093
|
+
* The following JSON examples show the logical request parameters. Common signature parameters are generated by the SDK or signing component.
|
|
11094
|
+
* ### Query official printer drivers
|
|
11095
|
+
* Query official printer drivers of a specified brand that contain a keyword. The first page is returned with a maximum of 20 entries per page.
|
|
11096
|
+
* ```json
|
|
11097
|
+
* {
|
|
11098
|
+
* "Action": "DescribePeripheralDrivers",
|
|
11099
|
+
* "Version": "2020-09-30",
|
|
11100
|
+
* "OwnerType": "WUYING",
|
|
11101
|
+
* "Brand": "hp",
|
|
11102
|
+
* "DeviceType": "printer",
|
|
11103
|
+
* "Filter": "LaserJet",
|
|
11104
|
+
* "PageSize": 20,
|
|
11105
|
+
* "PageNumber": 1
|
|
11106
|
+
* }
|
|
11107
|
+
* ```
|
|
11108
|
+
* ### Query drivers by driver ID in batches
|
|
11109
|
+
* ```json
|
|
11110
|
+
* {
|
|
11111
|
+
* "Action": "DescribePeripheralDrivers",
|
|
11112
|
+
* "Version": "2020-09-30",
|
|
11113
|
+
* "DriverIds": [
|
|
11114
|
+
* "11111111-2222-4333-8444-555555555555",
|
|
11115
|
+
* "66666666-7777-4888-8999-000000000000"
|
|
11116
|
+
* ],
|
|
11117
|
+
* "PageSize": 20,
|
|
11118
|
+
* "PageNumber": 1
|
|
11119
|
+
* }
|
|
11120
|
+
* ```
|
|
11121
|
+
* When you construct request parameters directly, expand DriverIds by sequence number:
|
|
11122
|
+
* ```text
|
|
11123
|
+
* DriverIds.1=11111111-2222-4333-8444-555555555555
|
|
11124
|
+
* DriverIds.2=66666666-7777-4888-8999-000000000000
|
|
11125
|
+
* ```
|
|
11126
|
+
* When you use an SDK, pass in a string array and the SDK handles the encoding.
|
|
11127
|
+
* ## Response examples
|
|
11128
|
+
* The following responses are format examples. The icon URLs are for illustration purposes only. The reserved fields MaxResults and NextToken do not provide valid values and are omitted from the examples.
|
|
11129
|
+
* ### Successful query
|
|
11130
|
+
* ```json
|
|
11131
|
+
* {
|
|
11132
|
+
* "RequestId": "00000000-1111-4222-8333-444444444444",
|
|
11133
|
+
* "Count": 1,
|
|
11134
|
+
* "DriverInfos": [
|
|
11135
|
+
* {
|
|
11136
|
+
* "Id": "11111111-2222-4333-8444-555555555555",
|
|
11137
|
+
* "Icon": "https://example.com/icons/printer.png",
|
|
11138
|
+
* "Name": "HP Universal Printing PCL 6",
|
|
11139
|
+
* "Brand": "hp",
|
|
11140
|
+
* "DeviceType": "printer",
|
|
11141
|
+
* "OsType": "Windows",
|
|
11142
|
+
* "CreateTime": "2026-09-01T10:30:00+08:00",
|
|
11143
|
+
* "Source": "Wuying",
|
|
11144
|
+
* "OwnerType": "WUYING"
|
|
11145
|
+
* }
|
|
11146
|
+
* ]
|
|
11147
|
+
* }
|
|
11148
|
+
* ```
|
|
11149
|
+
* ### No matching results
|
|
11150
|
+
* ```json
|
|
11151
|
+
* {
|
|
11152
|
+
* "RequestId": "00000000-1111-4222-8333-444444444444",
|
|
11153
|
+
* "Count": 0,
|
|
11154
|
+
* "DriverInfos": []
|
|
11155
|
+
* }
|
|
11156
|
+
* ```
|
|
11157
|
+
*
|
|
11158
|
+
* @param request - DescribePeripheralDriversRequest
|
|
11159
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
11160
|
+
* @returns DescribePeripheralDriversResponse
|
|
11161
|
+
*/
|
|
11162
|
+
async describePeripheralDriversWithOptions(request: $_model.DescribePeripheralDriversRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribePeripheralDriversResponse> {
|
|
11163
|
+
request.validate();
|
|
11164
|
+
let query = { };
|
|
11165
|
+
if (!$dara.isNull(request.brand)) {
|
|
11166
|
+
query["Brand"] = request.brand;
|
|
11167
|
+
}
|
|
11168
|
+
|
|
11169
|
+
if (!$dara.isNull(request.deviceType)) {
|
|
11170
|
+
query["DeviceType"] = request.deviceType;
|
|
11171
|
+
}
|
|
11172
|
+
|
|
11173
|
+
if (!$dara.isNull(request.driverIds)) {
|
|
11174
|
+
query["DriverIds"] = request.driverIds;
|
|
11175
|
+
}
|
|
11176
|
+
|
|
11177
|
+
if (!$dara.isNull(request.filter)) {
|
|
11178
|
+
query["Filter"] = request.filter;
|
|
11179
|
+
}
|
|
11180
|
+
|
|
11181
|
+
if (!$dara.isNull(request.maxResults)) {
|
|
11182
|
+
query["MaxResults"] = request.maxResults;
|
|
11183
|
+
}
|
|
11184
|
+
|
|
11185
|
+
if (!$dara.isNull(request.nextToken)) {
|
|
11186
|
+
query["NextToken"] = request.nextToken;
|
|
11187
|
+
}
|
|
11188
|
+
|
|
11189
|
+
if (!$dara.isNull(request.ownerType)) {
|
|
11190
|
+
query["OwnerType"] = request.ownerType;
|
|
11191
|
+
}
|
|
11192
|
+
|
|
11193
|
+
if (!$dara.isNull(request.pageNumber)) {
|
|
11194
|
+
query["PageNumber"] = request.pageNumber;
|
|
11195
|
+
}
|
|
11196
|
+
|
|
11197
|
+
if (!$dara.isNull(request.pageSize)) {
|
|
11198
|
+
query["PageSize"] = request.pageSize;
|
|
11199
|
+
}
|
|
11200
|
+
|
|
11201
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
11202
|
+
query: OpenApiUtil.query(query),
|
|
11203
|
+
});
|
|
11204
|
+
let params = new $OpenApiUtil.Params({
|
|
11205
|
+
action: "DescribePeripheralDrivers",
|
|
11206
|
+
version: "2020-09-30",
|
|
11207
|
+
protocol: "HTTPS",
|
|
11208
|
+
pathname: "/",
|
|
11209
|
+
method: "POST",
|
|
11210
|
+
authType: "AK",
|
|
11211
|
+
style: "RPC",
|
|
11212
|
+
reqBodyType: "formData",
|
|
11213
|
+
bodyType: "json",
|
|
11214
|
+
});
|
|
11215
|
+
return $dara.cast<$_model.DescribePeripheralDriversResponse>(await this.callApi(params, req, runtime), new $_model.DescribePeripheralDriversResponse({}));
|
|
11216
|
+
}
|
|
11217
|
+
|
|
11218
|
+
/**
|
|
11219
|
+
* Queries peripheral drivers visible to the current account, with support for filtering by ownership, brand, device type, driver ID, and keyword, and returns paginated results.
|
|
11220
|
+
*
|
|
11221
|
+
* @remarks
|
|
11222
|
+
* When multiple filter conditions are specified, only drivers that meet all conditions are returned. If no filter conditions are specified, both Wuying official drivers and drivers of the current account are returned. Use PageSize and PageNumber for pagination. Keep the filter conditions and PageSize unchanged, increment PageNumber page by page, and stop when an empty list is returned. The example values are provided to illustrate the format. Replace them with actual values.
|
|
11223
|
+
* ## Request examples
|
|
11224
|
+
* The following JSON examples show the logical request parameters. Common signature parameters are generated by the SDK or signing component.
|
|
11225
|
+
* ### Query official printer drivers
|
|
11226
|
+
* Query official printer drivers of a specified brand that contain a keyword. The first page is returned with a maximum of 20 entries per page.
|
|
11227
|
+
* ```json
|
|
11228
|
+
* {
|
|
11229
|
+
* "Action": "DescribePeripheralDrivers",
|
|
11230
|
+
* "Version": "2020-09-30",
|
|
11231
|
+
* "OwnerType": "WUYING",
|
|
11232
|
+
* "Brand": "hp",
|
|
11233
|
+
* "DeviceType": "printer",
|
|
11234
|
+
* "Filter": "LaserJet",
|
|
11235
|
+
* "PageSize": 20,
|
|
11236
|
+
* "PageNumber": 1
|
|
11237
|
+
* }
|
|
11238
|
+
* ```
|
|
11239
|
+
* ### Query drivers by driver ID in batches
|
|
11240
|
+
* ```json
|
|
11241
|
+
* {
|
|
11242
|
+
* "Action": "DescribePeripheralDrivers",
|
|
11243
|
+
* "Version": "2020-09-30",
|
|
11244
|
+
* "DriverIds": [
|
|
11245
|
+
* "11111111-2222-4333-8444-555555555555",
|
|
11246
|
+
* "66666666-7777-4888-8999-000000000000"
|
|
11247
|
+
* ],
|
|
11248
|
+
* "PageSize": 20,
|
|
11249
|
+
* "PageNumber": 1
|
|
11250
|
+
* }
|
|
11251
|
+
* ```
|
|
11252
|
+
* When you construct request parameters directly, expand DriverIds by sequence number:
|
|
11253
|
+
* ```text
|
|
11254
|
+
* DriverIds.1=11111111-2222-4333-8444-555555555555
|
|
11255
|
+
* DriverIds.2=66666666-7777-4888-8999-000000000000
|
|
11256
|
+
* ```
|
|
11257
|
+
* When you use an SDK, pass in a string array and the SDK handles the encoding.
|
|
11258
|
+
* ## Response examples
|
|
11259
|
+
* The following responses are format examples. The icon URLs are for illustration purposes only. The reserved fields MaxResults and NextToken do not provide valid values and are omitted from the examples.
|
|
11260
|
+
* ### Successful query
|
|
11261
|
+
* ```json
|
|
11262
|
+
* {
|
|
11263
|
+
* "RequestId": "00000000-1111-4222-8333-444444444444",
|
|
11264
|
+
* "Count": 1,
|
|
11265
|
+
* "DriverInfos": [
|
|
11266
|
+
* {
|
|
11267
|
+
* "Id": "11111111-2222-4333-8444-555555555555",
|
|
11268
|
+
* "Icon": "https://example.com/icons/printer.png",
|
|
11269
|
+
* "Name": "HP Universal Printing PCL 6",
|
|
11270
|
+
* "Brand": "hp",
|
|
11271
|
+
* "DeviceType": "printer",
|
|
11272
|
+
* "OsType": "Windows",
|
|
11273
|
+
* "CreateTime": "2026-09-01T10:30:00+08:00",
|
|
11274
|
+
* "Source": "Wuying",
|
|
11275
|
+
* "OwnerType": "WUYING"
|
|
11276
|
+
* }
|
|
11277
|
+
* ]
|
|
11278
|
+
* }
|
|
11279
|
+
* ```
|
|
11280
|
+
* ### No matching results
|
|
11281
|
+
* ```json
|
|
11282
|
+
* {
|
|
11283
|
+
* "RequestId": "00000000-1111-4222-8333-444444444444",
|
|
11284
|
+
* "Count": 0,
|
|
11285
|
+
* "DriverInfos": []
|
|
11286
|
+
* }
|
|
11287
|
+
* ```
|
|
11288
|
+
*
|
|
11289
|
+
* @param request - DescribePeripheralDriversRequest
|
|
11290
|
+
* @returns DescribePeripheralDriversResponse
|
|
11291
|
+
*/
|
|
11292
|
+
async describePeripheralDrivers(request: $_model.DescribePeripheralDriversRequest): Promise<$_model.DescribePeripheralDriversResponse> {
|
|
11293
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
11294
|
+
return await this.describePeripheralDriversWithOptions(request, runtime);
|
|
11295
|
+
}
|
|
11296
|
+
|
|
11087
11297
|
/**
|
|
11088
11298
|
* Queries the details of cloud computer policies.
|
|
11089
11299
|
*
|
|
@@ -12209,7 +12419,7 @@ export default class Client extends OpenApi {
|
|
|
12209
12419
|
}
|
|
12210
12420
|
|
|
12211
12421
|
/**
|
|
12212
|
-
* Queries the snapshot list and snapshot
|
|
12422
|
+
* Queries the snapshot list and detailed snapshot information of a cloud computer.
|
|
12213
12423
|
*
|
|
12214
12424
|
* @param request - DescribeSnapshotsRequest
|
|
12215
12425
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -12292,7 +12502,7 @@ export default class Client extends OpenApi {
|
|
|
12292
12502
|
}
|
|
12293
12503
|
|
|
12294
12504
|
/**
|
|
12295
|
-
* Queries the snapshot list and snapshot
|
|
12505
|
+
* Queries the snapshot list and detailed snapshot information of a cloud computer.
|
|
12296
12506
|
*
|
|
12297
12507
|
* @param request - DescribeSnapshotsRequest
|
|
12298
12508
|
* @returns DescribeSnapshotsResponse
|
|
@@ -12946,6 +13156,188 @@ export default class Client extends OpenApi {
|
|
|
12946
13156
|
return await this.describeVirtualMFADevicesWithOptions(request, runtime);
|
|
12947
13157
|
}
|
|
12948
13158
|
|
|
13159
|
+
/**
|
|
13160
|
+
* Retrieves cloud computer information for a vulnerability.
|
|
13161
|
+
*
|
|
13162
|
+
* @remarks
|
|
13163
|
+
* - This operation uses a centralized domain name. The access point is in the China (Shanghai) region. Other regions are not supported.
|
|
13164
|
+
* - The cloud computer status information returned by this operation has a 1 to 3 second delay from the actual values.
|
|
13165
|
+
*
|
|
13166
|
+
* @param request - DescribeVulDesktopsRequest
|
|
13167
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
13168
|
+
* @returns DescribeVulDesktopsResponse
|
|
13169
|
+
*/
|
|
13170
|
+
async describeVulDesktopsWithOptions(request: $_model.DescribeVulDesktopsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeVulDesktopsResponse> {
|
|
13171
|
+
request.validate();
|
|
13172
|
+
let query = { };
|
|
13173
|
+
if (!$dara.isNull(request.cveId)) {
|
|
13174
|
+
query["CveId"] = request.cveId;
|
|
13175
|
+
}
|
|
13176
|
+
|
|
13177
|
+
if (!$dara.isNull(request.desktopIdList)) {
|
|
13178
|
+
query["DesktopIdList"] = request.desktopIdList;
|
|
13179
|
+
}
|
|
13180
|
+
|
|
13181
|
+
if (!$dara.isNull(request.includeFixResult)) {
|
|
13182
|
+
query["IncludeFixResult"] = request.includeFixResult;
|
|
13183
|
+
}
|
|
13184
|
+
|
|
13185
|
+
if (!$dara.isNull(request.language)) {
|
|
13186
|
+
query["Language"] = request.language;
|
|
13187
|
+
}
|
|
13188
|
+
|
|
13189
|
+
if (!$dara.isNull(request.maxResults)) {
|
|
13190
|
+
query["MaxResults"] = request.maxResults;
|
|
13191
|
+
}
|
|
13192
|
+
|
|
13193
|
+
if (!$dara.isNull(request.nextToken)) {
|
|
13194
|
+
query["NextToken"] = request.nextToken;
|
|
13195
|
+
}
|
|
13196
|
+
|
|
13197
|
+
if (!$dara.isNull(request.onlyCurrentMonthFixAttempted)) {
|
|
13198
|
+
query["OnlyCurrentMonthFixAttempted"] = request.onlyCurrentMonthFixAttempted;
|
|
13199
|
+
}
|
|
13200
|
+
|
|
13201
|
+
if (!$dara.isNull(request.pageNumber)) {
|
|
13202
|
+
query["PageNumber"] = request.pageNumber;
|
|
13203
|
+
}
|
|
13204
|
+
|
|
13205
|
+
if (!$dara.isNull(request.pageSize)) {
|
|
13206
|
+
query["PageSize"] = request.pageSize;
|
|
13207
|
+
}
|
|
13208
|
+
|
|
13209
|
+
if (!$dara.isNull(request.patchId)) {
|
|
13210
|
+
query["PatchId"] = request.patchId;
|
|
13211
|
+
}
|
|
13212
|
+
|
|
13213
|
+
if (!$dara.isNull(request.regionId)) {
|
|
13214
|
+
query["RegionId"] = request.regionId;
|
|
13215
|
+
}
|
|
13216
|
+
|
|
13217
|
+
if (!$dara.isNull(request.resourceGroupId)) {
|
|
13218
|
+
query["ResourceGroupId"] = request.resourceGroupId;
|
|
13219
|
+
}
|
|
13220
|
+
|
|
13221
|
+
if (!$dara.isNull(request.searchRegionId)) {
|
|
13222
|
+
query["SearchRegionId"] = request.searchRegionId;
|
|
13223
|
+
}
|
|
13224
|
+
|
|
13225
|
+
if (!$dara.isNull(request.statusList)) {
|
|
13226
|
+
query["StatusList"] = request.statusList;
|
|
13227
|
+
}
|
|
13228
|
+
|
|
13229
|
+
if (!$dara.isNull(request.vulLevel)) {
|
|
13230
|
+
query["VulLevel"] = request.vulLevel;
|
|
13231
|
+
}
|
|
13232
|
+
|
|
13233
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
13234
|
+
query: OpenApiUtil.query(query),
|
|
13235
|
+
});
|
|
13236
|
+
let params = new $OpenApiUtil.Params({
|
|
13237
|
+
action: "DescribeVulDesktops",
|
|
13238
|
+
version: "2020-09-30",
|
|
13239
|
+
protocol: "HTTPS",
|
|
13240
|
+
pathname: "/",
|
|
13241
|
+
method: "POST",
|
|
13242
|
+
authType: "AK",
|
|
13243
|
+
style: "RPC",
|
|
13244
|
+
reqBodyType: "formData",
|
|
13245
|
+
bodyType: "json",
|
|
13246
|
+
});
|
|
13247
|
+
return $dara.cast<$_model.DescribeVulDesktopsResponse>(await this.callApi(params, req, runtime), new $_model.DescribeVulDesktopsResponse({}));
|
|
13248
|
+
}
|
|
13249
|
+
|
|
13250
|
+
/**
|
|
13251
|
+
* Retrieves cloud computer information for a vulnerability.
|
|
13252
|
+
*
|
|
13253
|
+
* @remarks
|
|
13254
|
+
* - This operation uses a centralized domain name. The access point is in the China (Shanghai) region. Other regions are not supported.
|
|
13255
|
+
* - The cloud computer status information returned by this operation has a 1 to 3 second delay from the actual values.
|
|
13256
|
+
*
|
|
13257
|
+
* @param request - DescribeVulDesktopsRequest
|
|
13258
|
+
* @returns DescribeVulDesktopsResponse
|
|
13259
|
+
*/
|
|
13260
|
+
async describeVulDesktops(request: $_model.DescribeVulDesktopsRequest): Promise<$_model.DescribeVulDesktopsResponse> {
|
|
13261
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
13262
|
+
return await this.describeVulDesktopsWithOptions(request, runtime);
|
|
13263
|
+
}
|
|
13264
|
+
|
|
13265
|
+
/**
|
|
13266
|
+
* Retrieves vulnerability information.
|
|
13267
|
+
*
|
|
13268
|
+
* @remarks
|
|
13269
|
+
* After security protection is enabled, the system automatically scans cloud desktops for system vulnerabilities on a periodic basis (once a day).
|
|
13270
|
+
*
|
|
13271
|
+
* @param request - DescribeVulnerabilityRequest
|
|
13272
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
13273
|
+
* @returns DescribeVulnerabilityResponse
|
|
13274
|
+
*/
|
|
13275
|
+
async describeVulnerabilityWithOptions(request: $_model.DescribeVulnerabilityRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeVulnerabilityResponse> {
|
|
13276
|
+
request.validate();
|
|
13277
|
+
let query = { };
|
|
13278
|
+
if (!$dara.isNull(request.cveId)) {
|
|
13279
|
+
query["CveId"] = request.cveId;
|
|
13280
|
+
}
|
|
13281
|
+
|
|
13282
|
+
if (!$dara.isNull(request.includeDesktop)) {
|
|
13283
|
+
query["IncludeDesktop"] = request.includeDesktop;
|
|
13284
|
+
}
|
|
13285
|
+
|
|
13286
|
+
if (!$dara.isNull(request.language)) {
|
|
13287
|
+
query["Language"] = request.language;
|
|
13288
|
+
}
|
|
13289
|
+
|
|
13290
|
+
if (!$dara.isNull(request.maxResults)) {
|
|
13291
|
+
query["MaxResults"] = request.maxResults;
|
|
13292
|
+
}
|
|
13293
|
+
|
|
13294
|
+
if (!$dara.isNull(request.nextToken)) {
|
|
13295
|
+
query["NextToken"] = request.nextToken;
|
|
13296
|
+
}
|
|
13297
|
+
|
|
13298
|
+
if (!$dara.isNull(request.patchId)) {
|
|
13299
|
+
query["PatchId"] = request.patchId;
|
|
13300
|
+
}
|
|
13301
|
+
|
|
13302
|
+
if (!$dara.isNull(request.regionId)) {
|
|
13303
|
+
query["RegionId"] = request.regionId;
|
|
13304
|
+
}
|
|
13305
|
+
|
|
13306
|
+
if (!$dara.isNull(request.searchRegionId)) {
|
|
13307
|
+
query["SearchRegionId"] = request.searchRegionId;
|
|
13308
|
+
}
|
|
13309
|
+
|
|
13310
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
13311
|
+
query: OpenApiUtil.query(query),
|
|
13312
|
+
});
|
|
13313
|
+
let params = new $OpenApiUtil.Params({
|
|
13314
|
+
action: "DescribeVulnerability",
|
|
13315
|
+
version: "2020-09-30",
|
|
13316
|
+
protocol: "HTTPS",
|
|
13317
|
+
pathname: "/",
|
|
13318
|
+
method: "POST",
|
|
13319
|
+
authType: "AK",
|
|
13320
|
+
style: "RPC",
|
|
13321
|
+
reqBodyType: "formData",
|
|
13322
|
+
bodyType: "json",
|
|
13323
|
+
});
|
|
13324
|
+
return $dara.cast<$_model.DescribeVulnerabilityResponse>(await this.callApi(params, req, runtime), new $_model.DescribeVulnerabilityResponse({}));
|
|
13325
|
+
}
|
|
13326
|
+
|
|
13327
|
+
/**
|
|
13328
|
+
* Retrieves vulnerability information.
|
|
13329
|
+
*
|
|
13330
|
+
* @remarks
|
|
13331
|
+
* After security protection is enabled, the system automatically scans cloud desktops for system vulnerabilities on a periodic basis (once a day).
|
|
13332
|
+
*
|
|
13333
|
+
* @param request - DescribeVulnerabilityRequest
|
|
13334
|
+
* @returns DescribeVulnerabilityResponse
|
|
13335
|
+
*/
|
|
13336
|
+
async describeVulnerability(request: $_model.DescribeVulnerabilityRequest): Promise<$_model.DescribeVulnerabilityResponse> {
|
|
13337
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
13338
|
+
return await this.describeVulnerabilityWithOptions(request, runtime);
|
|
13339
|
+
}
|
|
13340
|
+
|
|
12949
13341
|
/**
|
|
12950
13342
|
* Queries the zones supported by Alibaba Cloud Workspace in a specified Alibaba Cloud region.
|
|
12951
13343
|
*
|
|
@@ -14121,7 +14513,7 @@ export default class Client extends OpenApi {
|
|
|
14121
14513
|
}
|
|
14122
14514
|
|
|
14123
14515
|
/**
|
|
14124
|
-
* Retrieves user information from an enterprise Active Directory (AD)
|
|
14516
|
+
* Retrieves user information from an enterprise Active Directory (AD) if you use an AD directory to connect to your enterprise AD.
|
|
14125
14517
|
*
|
|
14126
14518
|
* @param request - ListDirectoryUsersRequest
|
|
14127
14519
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -14184,7 +14576,7 @@ export default class Client extends OpenApi {
|
|
|
14184
14576
|
}
|
|
14185
14577
|
|
|
14186
14578
|
/**
|
|
14187
|
-
* Retrieves user information from an enterprise Active Directory (AD)
|
|
14579
|
+
* Retrieves user information from an enterprise Active Directory (AD) if you use an AD directory to connect to your enterprise AD.
|
|
14188
14580
|
*
|
|
14189
14581
|
* @param request - ListDirectoryUsersRequest
|
|
14190
14582
|
* @returns ListDirectoryUsersResponse
|
|
@@ -14777,7 +15169,7 @@ export default class Client extends OpenApi {
|
|
|
14777
15169
|
}
|
|
14778
15170
|
|
|
14779
15171
|
/**
|
|
14780
|
-
* Migrates cloud computers from the current office network
|
|
15172
|
+
* Migrates cloud computers from the current office network to a new office network.
|
|
14781
15173
|
*
|
|
14782
15174
|
* @param request - MigrateDesktopsRequest
|
|
14783
15175
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -14824,7 +15216,7 @@ export default class Client extends OpenApi {
|
|
|
14824
15216
|
}
|
|
14825
15217
|
|
|
14826
15218
|
/**
|
|
14827
|
-
* Migrates cloud computers from the current office network
|
|
15219
|
+
* Migrates cloud computers from the current office network to a new office network.
|
|
14828
15220
|
*
|
|
14829
15221
|
* @param request - MigrateDesktopsRequest
|
|
14830
15222
|
* @returns MigrateDesktopsResponse
|
|
@@ -18688,10 +19080,10 @@ export default class Client extends OpenApi {
|
|
|
18688
19080
|
}
|
|
18689
19081
|
|
|
18690
19082
|
/**
|
|
18691
|
-
*
|
|
19083
|
+
* Adds or removes the authorization of one or more cloud computers for one or more users.
|
|
18692
19084
|
*
|
|
18693
19085
|
* @remarks
|
|
18694
|
-
*
|
|
19086
|
+
* Only cloud computers in the Running state support modifying authorized users.
|
|
18695
19087
|
*
|
|
18696
19088
|
* @param request - ModifyUserEntitlementRequest
|
|
18697
19089
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -18734,10 +19126,10 @@ export default class Client extends OpenApi {
|
|
|
18734
19126
|
}
|
|
18735
19127
|
|
|
18736
19128
|
/**
|
|
18737
|
-
*
|
|
19129
|
+
* Adds or removes the authorization of one or more cloud computers for one or more users.
|
|
18738
19130
|
*
|
|
18739
19131
|
* @remarks
|
|
18740
|
-
*
|
|
19132
|
+
* Only cloud computers in the Running state support modifying authorized users.
|
|
18741
19133
|
*
|
|
18742
19134
|
* @param request - ModifyUserEntitlementRequest
|
|
18743
19135
|
* @returns ModifyUserEntitlementResponse
|
|
@@ -19003,6 +19395,122 @@ export default class Client extends OpenApi {
|
|
|
19003
19395
|
return await this.moveCdsFileWithOptions(request, runtime);
|
|
19004
19396
|
}
|
|
19005
19397
|
|
|
19398
|
+
/**
|
|
19399
|
+
* Queries the trend of active user count statistics within a specified time range. Returns the deduplicated active user count at each time slice based on the specified aggregation interval (Period), which can be used to plot online user trend charts.
|
|
19400
|
+
*
|
|
19401
|
+
* @param request - QueryActiveUserStatisticRequest
|
|
19402
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
19403
|
+
* @returns QueryActiveUserStatisticResponse
|
|
19404
|
+
*/
|
|
19405
|
+
async queryActiveUserStatisticWithOptions(request: $_model.QueryActiveUserStatisticRequest, runtime: $dara.RuntimeOptions): Promise<$_model.QueryActiveUserStatisticResponse> {
|
|
19406
|
+
request.validate();
|
|
19407
|
+
let query = { };
|
|
19408
|
+
if (!$dara.isNull(request.bizType)) {
|
|
19409
|
+
query["BizType"] = request.bizType;
|
|
19410
|
+
}
|
|
19411
|
+
|
|
19412
|
+
if (!$dara.isNull(request.endTime)) {
|
|
19413
|
+
query["EndTime"] = request.endTime;
|
|
19414
|
+
}
|
|
19415
|
+
|
|
19416
|
+
if (!$dara.isNull(request.officeSiteId)) {
|
|
19417
|
+
query["OfficeSiteId"] = request.officeSiteId;
|
|
19418
|
+
}
|
|
19419
|
+
|
|
19420
|
+
if (!$dara.isNull(request.period)) {
|
|
19421
|
+
query["Period"] = request.period;
|
|
19422
|
+
}
|
|
19423
|
+
|
|
19424
|
+
if (!$dara.isNull(request.startTime)) {
|
|
19425
|
+
query["StartTime"] = request.startTime;
|
|
19426
|
+
}
|
|
19427
|
+
|
|
19428
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
19429
|
+
query: OpenApiUtil.query(query),
|
|
19430
|
+
});
|
|
19431
|
+
let params = new $OpenApiUtil.Params({
|
|
19432
|
+
action: "QueryActiveUserStatistic",
|
|
19433
|
+
version: "2020-09-30",
|
|
19434
|
+
protocol: "HTTPS",
|
|
19435
|
+
pathname: "/",
|
|
19436
|
+
method: "POST",
|
|
19437
|
+
authType: "AK",
|
|
19438
|
+
style: "RPC",
|
|
19439
|
+
reqBodyType: "formData",
|
|
19440
|
+
bodyType: "json",
|
|
19441
|
+
});
|
|
19442
|
+
return $dara.cast<$_model.QueryActiveUserStatisticResponse>(await this.callApi(params, req, runtime), new $_model.QueryActiveUserStatisticResponse({}));
|
|
19443
|
+
}
|
|
19444
|
+
|
|
19445
|
+
/**
|
|
19446
|
+
* Queries the trend of active user count statistics within a specified time range. Returns the deduplicated active user count at each time slice based on the specified aggregation interval (Period), which can be used to plot online user trend charts.
|
|
19447
|
+
*
|
|
19448
|
+
* @param request - QueryActiveUserStatisticRequest
|
|
19449
|
+
* @returns QueryActiveUserStatisticResponse
|
|
19450
|
+
*/
|
|
19451
|
+
async queryActiveUserStatistic(request: $_model.QueryActiveUserStatisticRequest): Promise<$_model.QueryActiveUserStatisticResponse> {
|
|
19452
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
19453
|
+
return await this.queryActiveUserStatisticWithOptions(request, runtime);
|
|
19454
|
+
}
|
|
19455
|
+
|
|
19456
|
+
/**
|
|
19457
|
+
* Queries the usage duration ranking and details of each end user under a tenant within a specified date range. Aggregates offline statistical data, summarizes connection duration by user dimension, and populates basic information and per-desktop usage duration details for users on the current page.
|
|
19458
|
+
*
|
|
19459
|
+
* @param request - QueryEndUserHistoryUsageRequest
|
|
19460
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
19461
|
+
* @returns QueryEndUserHistoryUsageResponse
|
|
19462
|
+
*/
|
|
19463
|
+
async queryEndUserHistoryUsageWithOptions(request: $_model.QueryEndUserHistoryUsageRequest, runtime: $dara.RuntimeOptions): Promise<$_model.QueryEndUserHistoryUsageResponse> {
|
|
19464
|
+
request.validate();
|
|
19465
|
+
let query = { };
|
|
19466
|
+
if (!$dara.isNull(request.endDate)) {
|
|
19467
|
+
query["EndDate"] = request.endDate;
|
|
19468
|
+
}
|
|
19469
|
+
|
|
19470
|
+
if (!$dara.isNull(request.isAdUser)) {
|
|
19471
|
+
query["IsAdUser"] = request.isAdUser;
|
|
19472
|
+
}
|
|
19473
|
+
|
|
19474
|
+
if (!$dara.isNull(request.pageNum)) {
|
|
19475
|
+
query["PageNum"] = request.pageNum;
|
|
19476
|
+
}
|
|
19477
|
+
|
|
19478
|
+
if (!$dara.isNull(request.pageSize)) {
|
|
19479
|
+
query["PageSize"] = request.pageSize;
|
|
19480
|
+
}
|
|
19481
|
+
|
|
19482
|
+
if (!$dara.isNull(request.startDate)) {
|
|
19483
|
+
query["StartDate"] = request.startDate;
|
|
19484
|
+
}
|
|
19485
|
+
|
|
19486
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
19487
|
+
query: OpenApiUtil.query(query),
|
|
19488
|
+
});
|
|
19489
|
+
let params = new $OpenApiUtil.Params({
|
|
19490
|
+
action: "QueryEndUserHistoryUsage",
|
|
19491
|
+
version: "2020-09-30",
|
|
19492
|
+
protocol: "HTTPS",
|
|
19493
|
+
pathname: "/",
|
|
19494
|
+
method: "POST",
|
|
19495
|
+
authType: "AK",
|
|
19496
|
+
style: "RPC",
|
|
19497
|
+
reqBodyType: "formData",
|
|
19498
|
+
bodyType: "json",
|
|
19499
|
+
});
|
|
19500
|
+
return $dara.cast<$_model.QueryEndUserHistoryUsageResponse>(await this.callApi(params, req, runtime), new $_model.QueryEndUserHistoryUsageResponse({}));
|
|
19501
|
+
}
|
|
19502
|
+
|
|
19503
|
+
/**
|
|
19504
|
+
* Queries the usage duration ranking and details of each end user under a tenant within a specified date range. Aggregates offline statistical data, summarizes connection duration by user dimension, and populates basic information and per-desktop usage duration details for users on the current page.
|
|
19505
|
+
*
|
|
19506
|
+
* @param request - QueryEndUserHistoryUsageRequest
|
|
19507
|
+
* @returns QueryEndUserHistoryUsageResponse
|
|
19508
|
+
*/
|
|
19509
|
+
async queryEndUserHistoryUsage(request: $_model.QueryEndUserHistoryUsageRequest): Promise<$_model.QueryEndUserHistoryUsageResponse> {
|
|
19510
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
19511
|
+
return await this.queryEndUserHistoryUsageWithOptions(request, runtime);
|
|
19512
|
+
}
|
|
19513
|
+
|
|
19006
19514
|
/**
|
|
19007
19515
|
* Queries the historical daily active user count and monthly active user count for a specified date.
|
|
19008
19516
|
*
|
|
@@ -19057,6 +19565,68 @@ export default class Client extends OpenApi {
|
|
|
19057
19565
|
return await this.queryHistoryActiveUserCountWithOptions(request, runtime);
|
|
19058
19566
|
}
|
|
19059
19567
|
|
|
19568
|
+
/**
|
|
19569
|
+
* Queries the daily historical active user count for a tenant within a specified time range. Based on offline statistical data, this operation aggregates and deduplicates active users by date to calculate daily active users (DAU). Filtering by user group and workspace is supported.
|
|
19570
|
+
*
|
|
19571
|
+
* @param request - QueryHistoryActiveUserStatisticRequest
|
|
19572
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
19573
|
+
* @returns QueryHistoryActiveUserStatisticResponse
|
|
19574
|
+
*/
|
|
19575
|
+
async queryHistoryActiveUserStatisticWithOptions(request: $_model.QueryHistoryActiveUserStatisticRequest, runtime: $dara.RuntimeOptions): Promise<$_model.QueryHistoryActiveUserStatisticResponse> {
|
|
19576
|
+
request.validate();
|
|
19577
|
+
let query = { };
|
|
19578
|
+
if (!$dara.isNull(request.bizType)) {
|
|
19579
|
+
query["BizType"] = request.bizType;
|
|
19580
|
+
}
|
|
19581
|
+
|
|
19582
|
+
if (!$dara.isNull(request.endDate)) {
|
|
19583
|
+
query["EndDate"] = request.endDate;
|
|
19584
|
+
}
|
|
19585
|
+
|
|
19586
|
+
if (!$dara.isNull(request.officeSiteId)) {
|
|
19587
|
+
query["OfficeSiteId"] = request.officeSiteId;
|
|
19588
|
+
}
|
|
19589
|
+
|
|
19590
|
+
if (!$dara.isNull(request.period)) {
|
|
19591
|
+
query["Period"] = request.period;
|
|
19592
|
+
}
|
|
19593
|
+
|
|
19594
|
+
if (!$dara.isNull(request.startDate)) {
|
|
19595
|
+
query["StartDate"] = request.startDate;
|
|
19596
|
+
}
|
|
19597
|
+
|
|
19598
|
+
if (!$dara.isNull(request.userGroupId)) {
|
|
19599
|
+
query["UserGroupId"] = request.userGroupId;
|
|
19600
|
+
}
|
|
19601
|
+
|
|
19602
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
19603
|
+
query: OpenApiUtil.query(query),
|
|
19604
|
+
});
|
|
19605
|
+
let params = new $OpenApiUtil.Params({
|
|
19606
|
+
action: "QueryHistoryActiveUserStatistic",
|
|
19607
|
+
version: "2020-09-30",
|
|
19608
|
+
protocol: "HTTPS",
|
|
19609
|
+
pathname: "/",
|
|
19610
|
+
method: "POST",
|
|
19611
|
+
authType: "AK",
|
|
19612
|
+
style: "RPC",
|
|
19613
|
+
reqBodyType: "formData",
|
|
19614
|
+
bodyType: "json",
|
|
19615
|
+
});
|
|
19616
|
+
return $dara.cast<$_model.QueryHistoryActiveUserStatisticResponse>(await this.callApi(params, req, runtime), new $_model.QueryHistoryActiveUserStatisticResponse({}));
|
|
19617
|
+
}
|
|
19618
|
+
|
|
19619
|
+
/**
|
|
19620
|
+
* Queries the daily historical active user count for a tenant within a specified time range. Based on offline statistical data, this operation aggregates and deduplicates active users by date to calculate daily active users (DAU). Filtering by user group and workspace is supported.
|
|
19621
|
+
*
|
|
19622
|
+
* @param request - QueryHistoryActiveUserStatisticRequest
|
|
19623
|
+
* @returns QueryHistoryActiveUserStatisticResponse
|
|
19624
|
+
*/
|
|
19625
|
+
async queryHistoryActiveUserStatistic(request: $_model.QueryHistoryActiveUserStatisticRequest): Promise<$_model.QueryHistoryActiveUserStatisticResponse> {
|
|
19626
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
19627
|
+
return await this.queryHistoryActiveUserStatisticWithOptions(request, runtime);
|
|
19628
|
+
}
|
|
19629
|
+
|
|
19060
19630
|
/**
|
|
19061
19631
|
* Queries the historical average monitoring metrics of desktop resources within a specified date range.
|
|
19062
19632
|
*
|
|
@@ -19300,10 +19870,10 @@ export default class Client extends OpenApi {
|
|
|
19300
19870
|
}
|
|
19301
19871
|
|
|
19302
19872
|
/**
|
|
19303
|
-
*
|
|
19873
|
+
* Restarts one or more cloud computers.
|
|
19304
19874
|
*
|
|
19305
19875
|
* @remarks
|
|
19306
|
-
* The
|
|
19876
|
+
* The cloud computers must be in the Running state.
|
|
19307
19877
|
*
|
|
19308
19878
|
* @param request - RebootDesktopsRequest
|
|
19309
19879
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -19350,10 +19920,10 @@ export default class Client extends OpenApi {
|
|
|
19350
19920
|
}
|
|
19351
19921
|
|
|
19352
19922
|
/**
|
|
19353
|
-
*
|
|
19923
|
+
* Restarts one or more cloud computers.
|
|
19354
19924
|
*
|
|
19355
19925
|
* @remarks
|
|
19356
|
-
* The
|
|
19926
|
+
* The cloud computers must be in the Running state.
|
|
19357
19927
|
*
|
|
19358
19928
|
* @param request - RebootDesktopsRequest
|
|
19359
19929
|
* @returns RebootDesktopsResponse
|
|
@@ -20268,7 +20838,7 @@ export default class Client extends OpenApi {
|
|
|
20268
20838
|
}
|
|
20269
20839
|
|
|
20270
20840
|
/**
|
|
20271
|
-
* Executes a PowerShell or Bat script on one or more cloud computers that run
|
|
20841
|
+
* Executes a PowerShell or Bat script on one or more cloud computers that run Windows.
|
|
20272
20842
|
*
|
|
20273
20843
|
* @param request - RunCommandRequest
|
|
20274
20844
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -20327,7 +20897,7 @@ export default class Client extends OpenApi {
|
|
|
20327
20897
|
}
|
|
20328
20898
|
|
|
20329
20899
|
/**
|
|
20330
|
-
* Executes a PowerShell or Bat script on one or more cloud computers that run
|
|
20900
|
+
* Executes a PowerShell or Bat script on one or more cloud computers that run Windows.
|
|
20331
20901
|
*
|
|
20332
20902
|
* @param request - RunCommandRequest
|
|
20333
20903
|
* @returns RunCommandResponse
|
|
@@ -20838,10 +21408,10 @@ export default class Client extends OpenApi {
|
|
|
20838
21408
|
}
|
|
20839
21409
|
|
|
20840
21410
|
/**
|
|
20841
|
-
* Starts stopped cloud computers. After the
|
|
21411
|
+
* Starts one or more stopped cloud computers. After the operation is called successfully, the cloud computers enter the Running state.
|
|
20842
21412
|
*
|
|
20843
21413
|
* @remarks
|
|
20844
|
-
* The cloud computers
|
|
21414
|
+
* The cloud computers must be in the Stopped state.
|
|
20845
21415
|
*
|
|
20846
21416
|
* @param request - StartDesktopsRequest
|
|
20847
21417
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -20876,10 +21446,10 @@ export default class Client extends OpenApi {
|
|
|
20876
21446
|
}
|
|
20877
21447
|
|
|
20878
21448
|
/**
|
|
20879
|
-
* Starts stopped cloud computers. After the
|
|
21449
|
+
* Starts one or more stopped cloud computers. After the operation is called successfully, the cloud computers enter the Running state.
|
|
20880
21450
|
*
|
|
20881
21451
|
* @remarks
|
|
20882
|
-
* The cloud computers
|
|
21452
|
+
* The cloud computers must be in the Stopped state.
|
|
20883
21453
|
*
|
|
20884
21454
|
* @param request - StartDesktopsRequest
|
|
20885
21455
|
* @returns StartDesktopsResponse
|