@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/dist/client.js
CHANGED
|
@@ -3181,13 +3181,13 @@ class Client extends openapi_core_1.default {
|
|
|
3181
3181
|
return await this.createDesktopOversoldGroupWithOptions(request, runtime);
|
|
3182
3182
|
}
|
|
3183
3183
|
/**
|
|
3184
|
-
* Creates one or more cloud
|
|
3184
|
+
* Creates one or more cloud computers. If user information is provided during creation, the cloud computers are assigned directly.
|
|
3185
3185
|
*
|
|
3186
3186
|
* @remarks
|
|
3187
|
-
* Before creating cloud
|
|
3188
|
-
* - Create an office network (formerly workspace) and users. For
|
|
3189
|
-
* - Convenience office network: [CreateSimpleOfficeSite](https://help.aliyun.com/document_detail/215416.html)
|
|
3190
|
-
* - AD office network: [CreateADConnectorOfficeSite](https://help.aliyun.com/document_detail/215417.html)
|
|
3187
|
+
* Before creating cloud computers, complete the following preparations:
|
|
3188
|
+
* - Create an office network (formerly workspace) and users. For related API operations or documentation, refer to:
|
|
3189
|
+
* - Convenience office network: [CreateSimpleOfficeSite](https://help.aliyun.com/document_detail/215416.html), [CreateUsers](https://help.aliyun.com/document_detail/437832.html).
|
|
3190
|
+
* - AD office network: [CreateADConnectorOfficeSite](https://help.aliyun.com/document_detail/215417.html), [Create AD users](https://help.aliyun.com/document_detail/188619.html).
|
|
3191
3191
|
* - Call [CreatePolicyGroup](https://help.aliyun.com/document_detail/188889.html) to create a policy, or confirm that an existing policy is available.
|
|
3192
3192
|
* **Call examples:**
|
|
3193
3193
|
* <details>
|
|
@@ -3270,7 +3270,7 @@ class Client extends openapi_core_1.default {
|
|
|
3270
3270
|
* }
|
|
3271
3271
|
* ```
|
|
3272
3272
|
* </details>
|
|
3273
|
-
* To have cloud
|
|
3273
|
+
* To have cloud computers automatically run custom command scripts, use the `UserCommands` field to configure custom commands.
|
|
3274
3274
|
*
|
|
3275
3275
|
* @param tmpReq - CreateDesktopsRequest
|
|
3276
3276
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3436,13 +3436,13 @@ class Client extends openapi_core_1.default {
|
|
|
3436
3436
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateDesktopsResponse({}));
|
|
3437
3437
|
}
|
|
3438
3438
|
/**
|
|
3439
|
-
* Creates one or more cloud
|
|
3439
|
+
* Creates one or more cloud computers. If user information is provided during creation, the cloud computers are assigned directly.
|
|
3440
3440
|
*
|
|
3441
3441
|
* @remarks
|
|
3442
|
-
* Before creating cloud
|
|
3443
|
-
* - Create an office network (formerly workspace) and users. For
|
|
3444
|
-
* - Convenience office network: [CreateSimpleOfficeSite](https://help.aliyun.com/document_detail/215416.html)
|
|
3445
|
-
* - AD office network: [CreateADConnectorOfficeSite](https://help.aliyun.com/document_detail/215417.html)
|
|
3442
|
+
* Before creating cloud computers, complete the following preparations:
|
|
3443
|
+
* - Create an office network (formerly workspace) and users. For related API operations or documentation, refer to:
|
|
3444
|
+
* - Convenience office network: [CreateSimpleOfficeSite](https://help.aliyun.com/document_detail/215416.html), [CreateUsers](https://help.aliyun.com/document_detail/437832.html).
|
|
3445
|
+
* - AD office network: [CreateADConnectorOfficeSite](https://help.aliyun.com/document_detail/215417.html), [Create AD users](https://help.aliyun.com/document_detail/188619.html).
|
|
3446
3446
|
* - Call [CreatePolicyGroup](https://help.aliyun.com/document_detail/188889.html) to create a policy, or confirm that an existing policy is available.
|
|
3447
3447
|
* **Call examples:**
|
|
3448
3448
|
* <details>
|
|
@@ -3525,7 +3525,7 @@ class Client extends openapi_core_1.default {
|
|
|
3525
3525
|
* }
|
|
3526
3526
|
* ```
|
|
3527
3527
|
* </details>
|
|
3528
|
-
* To have cloud
|
|
3528
|
+
* To have cloud computers automatically run custom command scripts, use the `UserCommands` field to configure custom commands.
|
|
3529
3529
|
*
|
|
3530
3530
|
* @param request - CreateDesktopsRequest
|
|
3531
3531
|
* @returns CreateDesktopsResponse
|
|
@@ -4009,10 +4009,10 @@ class Client extends openapi_core_1.default {
|
|
|
4009
4009
|
return await this.createNetworkPackageWithOptions(request, runtime);
|
|
4010
4010
|
}
|
|
4011
4011
|
/**
|
|
4012
|
-
* Enables
|
|
4012
|
+
* Enables Global Accelerator (GA) for an office network.
|
|
4013
4013
|
*
|
|
4014
4014
|
* @remarks
|
|
4015
|
-
* Before
|
|
4015
|
+
* 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).
|
|
4016
4016
|
*
|
|
4017
4017
|
* @param request - CreateOfficeSiteAcceleratorRequest
|
|
4018
4018
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4053,10 +4053,10 @@ class Client extends openapi_core_1.default {
|
|
|
4053
4053
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateOfficeSiteAcceleratorResponse({}));
|
|
4054
4054
|
}
|
|
4055
4055
|
/**
|
|
4056
|
-
* Enables
|
|
4056
|
+
* Enables Global Accelerator (GA) for an office network.
|
|
4057
4057
|
*
|
|
4058
4058
|
* @remarks
|
|
4059
|
-
* Before
|
|
4059
|
+
* 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).
|
|
4060
4060
|
*
|
|
4061
4061
|
* @param request - CreateOfficeSiteAcceleratorRequest
|
|
4062
4062
|
* @returns CreateOfficeSiteAcceleratorResponse
|
|
@@ -8293,7 +8293,7 @@ class Client extends openapi_core_1.default {
|
|
|
8293
8293
|
return await this.describeEcdReportTasksWithOptions(request, runtime);
|
|
8294
8294
|
}
|
|
8295
8295
|
/**
|
|
8296
|
-
* Queries the inbound
|
|
8296
|
+
* 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.
|
|
8297
8297
|
*
|
|
8298
8298
|
* @param request - DescribeFlowMetricRequest
|
|
8299
8299
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8340,7 +8340,7 @@ class Client extends openapi_core_1.default {
|
|
|
8340
8340
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeFlowMetricResponse({}));
|
|
8341
8341
|
}
|
|
8342
8342
|
/**
|
|
8343
|
-
* Queries the inbound
|
|
8343
|
+
* 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.
|
|
8344
8344
|
*
|
|
8345
8345
|
* @param request - DescribeFlowMetricRequest
|
|
8346
8346
|
* @returns DescribeFlowMetricResponse
|
|
@@ -9447,7 +9447,7 @@ class Client extends openapi_core_1.default {
|
|
|
9447
9447
|
return await this.describeOfficeSiteBridgeInfoWithOptions(request, runtime);
|
|
9448
9448
|
}
|
|
9449
9449
|
/**
|
|
9450
|
-
* Queries all
|
|
9450
|
+
* Queries all attributes of an office network, including the ID, name, status, and creation time.
|
|
9451
9451
|
*
|
|
9452
9452
|
* @param request - DescribeOfficeSitesRequest
|
|
9453
9453
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9500,7 +9500,7 @@ class Client extends openapi_core_1.default {
|
|
|
9500
9500
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeOfficeSitesResponse({}));
|
|
9501
9501
|
}
|
|
9502
9502
|
/**
|
|
9503
|
-
* Queries all
|
|
9503
|
+
* Queries all attributes of an office network, including the ID, name, status, and creation time.
|
|
9504
9504
|
*
|
|
9505
9505
|
* @param request - DescribeOfficeSitesRequest
|
|
9506
9506
|
* @returns DescribeOfficeSitesResponse
|
|
@@ -9563,6 +9563,205 @@ class Client extends openapi_core_1.default {
|
|
|
9563
9563
|
let runtime = new $dara.RuntimeOptions({});
|
|
9564
9564
|
return await this.describeOnlineUserCountWithOptions(request, runtime);
|
|
9565
9565
|
}
|
|
9566
|
+
/**
|
|
9567
|
+
* 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.
|
|
9568
|
+
*
|
|
9569
|
+
* @remarks
|
|
9570
|
+
* 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.
|
|
9571
|
+
* ## Request examples
|
|
9572
|
+
* The following JSON examples show the logical request parameters. Common signature parameters are generated by the SDK or signing component.
|
|
9573
|
+
* ### Query official printer drivers
|
|
9574
|
+
* 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.
|
|
9575
|
+
* ```json
|
|
9576
|
+
* {
|
|
9577
|
+
* "Action": "DescribePeripheralDrivers",
|
|
9578
|
+
* "Version": "2020-09-30",
|
|
9579
|
+
* "OwnerType": "WUYING",
|
|
9580
|
+
* "Brand": "hp",
|
|
9581
|
+
* "DeviceType": "printer",
|
|
9582
|
+
* "Filter": "LaserJet",
|
|
9583
|
+
* "PageSize": 20,
|
|
9584
|
+
* "PageNumber": 1
|
|
9585
|
+
* }
|
|
9586
|
+
* ```
|
|
9587
|
+
* ### Query drivers by driver ID in batches
|
|
9588
|
+
* ```json
|
|
9589
|
+
* {
|
|
9590
|
+
* "Action": "DescribePeripheralDrivers",
|
|
9591
|
+
* "Version": "2020-09-30",
|
|
9592
|
+
* "DriverIds": [
|
|
9593
|
+
* "11111111-2222-4333-8444-555555555555",
|
|
9594
|
+
* "66666666-7777-4888-8999-000000000000"
|
|
9595
|
+
* ],
|
|
9596
|
+
* "PageSize": 20,
|
|
9597
|
+
* "PageNumber": 1
|
|
9598
|
+
* }
|
|
9599
|
+
* ```
|
|
9600
|
+
* When you construct request parameters directly, expand DriverIds by sequence number:
|
|
9601
|
+
* ```text
|
|
9602
|
+
* DriverIds.1=11111111-2222-4333-8444-555555555555
|
|
9603
|
+
* DriverIds.2=66666666-7777-4888-8999-000000000000
|
|
9604
|
+
* ```
|
|
9605
|
+
* When you use an SDK, pass in a string array and the SDK handles the encoding.
|
|
9606
|
+
* ## Response examples
|
|
9607
|
+
* 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.
|
|
9608
|
+
* ### Successful query
|
|
9609
|
+
* ```json
|
|
9610
|
+
* {
|
|
9611
|
+
* "RequestId": "00000000-1111-4222-8333-444444444444",
|
|
9612
|
+
* "Count": 1,
|
|
9613
|
+
* "DriverInfos": [
|
|
9614
|
+
* {
|
|
9615
|
+
* "Id": "11111111-2222-4333-8444-555555555555",
|
|
9616
|
+
* "Icon": "https://example.com/icons/printer.png",
|
|
9617
|
+
* "Name": "HP Universal Printing PCL 6",
|
|
9618
|
+
* "Brand": "hp",
|
|
9619
|
+
* "DeviceType": "printer",
|
|
9620
|
+
* "OsType": "Windows",
|
|
9621
|
+
* "CreateTime": "2026-09-01T10:30:00+08:00",
|
|
9622
|
+
* "Source": "Wuying",
|
|
9623
|
+
* "OwnerType": "WUYING"
|
|
9624
|
+
* }
|
|
9625
|
+
* ]
|
|
9626
|
+
* }
|
|
9627
|
+
* ```
|
|
9628
|
+
* ### No matching results
|
|
9629
|
+
* ```json
|
|
9630
|
+
* {
|
|
9631
|
+
* "RequestId": "00000000-1111-4222-8333-444444444444",
|
|
9632
|
+
* "Count": 0,
|
|
9633
|
+
* "DriverInfos": []
|
|
9634
|
+
* }
|
|
9635
|
+
* ```
|
|
9636
|
+
*
|
|
9637
|
+
* @param request - DescribePeripheralDriversRequest
|
|
9638
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
9639
|
+
* @returns DescribePeripheralDriversResponse
|
|
9640
|
+
*/
|
|
9641
|
+
async describePeripheralDriversWithOptions(request, runtime) {
|
|
9642
|
+
request.validate();
|
|
9643
|
+
let query = {};
|
|
9644
|
+
if (!$dara.isNull(request.brand)) {
|
|
9645
|
+
query["Brand"] = request.brand;
|
|
9646
|
+
}
|
|
9647
|
+
if (!$dara.isNull(request.deviceType)) {
|
|
9648
|
+
query["DeviceType"] = request.deviceType;
|
|
9649
|
+
}
|
|
9650
|
+
if (!$dara.isNull(request.driverIds)) {
|
|
9651
|
+
query["DriverIds"] = request.driverIds;
|
|
9652
|
+
}
|
|
9653
|
+
if (!$dara.isNull(request.filter)) {
|
|
9654
|
+
query["Filter"] = request.filter;
|
|
9655
|
+
}
|
|
9656
|
+
if (!$dara.isNull(request.maxResults)) {
|
|
9657
|
+
query["MaxResults"] = request.maxResults;
|
|
9658
|
+
}
|
|
9659
|
+
if (!$dara.isNull(request.nextToken)) {
|
|
9660
|
+
query["NextToken"] = request.nextToken;
|
|
9661
|
+
}
|
|
9662
|
+
if (!$dara.isNull(request.ownerType)) {
|
|
9663
|
+
query["OwnerType"] = request.ownerType;
|
|
9664
|
+
}
|
|
9665
|
+
if (!$dara.isNull(request.pageNumber)) {
|
|
9666
|
+
query["PageNumber"] = request.pageNumber;
|
|
9667
|
+
}
|
|
9668
|
+
if (!$dara.isNull(request.pageSize)) {
|
|
9669
|
+
query["PageSize"] = request.pageSize;
|
|
9670
|
+
}
|
|
9671
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
9672
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
9673
|
+
});
|
|
9674
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
9675
|
+
action: "DescribePeripheralDrivers",
|
|
9676
|
+
version: "2020-09-30",
|
|
9677
|
+
protocol: "HTTPS",
|
|
9678
|
+
pathname: "/",
|
|
9679
|
+
method: "POST",
|
|
9680
|
+
authType: "AK",
|
|
9681
|
+
style: "RPC",
|
|
9682
|
+
reqBodyType: "formData",
|
|
9683
|
+
bodyType: "json",
|
|
9684
|
+
});
|
|
9685
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribePeripheralDriversResponse({}));
|
|
9686
|
+
}
|
|
9687
|
+
/**
|
|
9688
|
+
* 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.
|
|
9689
|
+
*
|
|
9690
|
+
* @remarks
|
|
9691
|
+
* 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.
|
|
9692
|
+
* ## Request examples
|
|
9693
|
+
* The following JSON examples show the logical request parameters. Common signature parameters are generated by the SDK or signing component.
|
|
9694
|
+
* ### Query official printer drivers
|
|
9695
|
+
* 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.
|
|
9696
|
+
* ```json
|
|
9697
|
+
* {
|
|
9698
|
+
* "Action": "DescribePeripheralDrivers",
|
|
9699
|
+
* "Version": "2020-09-30",
|
|
9700
|
+
* "OwnerType": "WUYING",
|
|
9701
|
+
* "Brand": "hp",
|
|
9702
|
+
* "DeviceType": "printer",
|
|
9703
|
+
* "Filter": "LaserJet",
|
|
9704
|
+
* "PageSize": 20,
|
|
9705
|
+
* "PageNumber": 1
|
|
9706
|
+
* }
|
|
9707
|
+
* ```
|
|
9708
|
+
* ### Query drivers by driver ID in batches
|
|
9709
|
+
* ```json
|
|
9710
|
+
* {
|
|
9711
|
+
* "Action": "DescribePeripheralDrivers",
|
|
9712
|
+
* "Version": "2020-09-30",
|
|
9713
|
+
* "DriverIds": [
|
|
9714
|
+
* "11111111-2222-4333-8444-555555555555",
|
|
9715
|
+
* "66666666-7777-4888-8999-000000000000"
|
|
9716
|
+
* ],
|
|
9717
|
+
* "PageSize": 20,
|
|
9718
|
+
* "PageNumber": 1
|
|
9719
|
+
* }
|
|
9720
|
+
* ```
|
|
9721
|
+
* When you construct request parameters directly, expand DriverIds by sequence number:
|
|
9722
|
+
* ```text
|
|
9723
|
+
* DriverIds.1=11111111-2222-4333-8444-555555555555
|
|
9724
|
+
* DriverIds.2=66666666-7777-4888-8999-000000000000
|
|
9725
|
+
* ```
|
|
9726
|
+
* When you use an SDK, pass in a string array and the SDK handles the encoding.
|
|
9727
|
+
* ## Response examples
|
|
9728
|
+
* 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.
|
|
9729
|
+
* ### Successful query
|
|
9730
|
+
* ```json
|
|
9731
|
+
* {
|
|
9732
|
+
* "RequestId": "00000000-1111-4222-8333-444444444444",
|
|
9733
|
+
* "Count": 1,
|
|
9734
|
+
* "DriverInfos": [
|
|
9735
|
+
* {
|
|
9736
|
+
* "Id": "11111111-2222-4333-8444-555555555555",
|
|
9737
|
+
* "Icon": "https://example.com/icons/printer.png",
|
|
9738
|
+
* "Name": "HP Universal Printing PCL 6",
|
|
9739
|
+
* "Brand": "hp",
|
|
9740
|
+
* "DeviceType": "printer",
|
|
9741
|
+
* "OsType": "Windows",
|
|
9742
|
+
* "CreateTime": "2026-09-01T10:30:00+08:00",
|
|
9743
|
+
* "Source": "Wuying",
|
|
9744
|
+
* "OwnerType": "WUYING"
|
|
9745
|
+
* }
|
|
9746
|
+
* ]
|
|
9747
|
+
* }
|
|
9748
|
+
* ```
|
|
9749
|
+
* ### No matching results
|
|
9750
|
+
* ```json
|
|
9751
|
+
* {
|
|
9752
|
+
* "RequestId": "00000000-1111-4222-8333-444444444444",
|
|
9753
|
+
* "Count": 0,
|
|
9754
|
+
* "DriverInfos": []
|
|
9755
|
+
* }
|
|
9756
|
+
* ```
|
|
9757
|
+
*
|
|
9758
|
+
* @param request - DescribePeripheralDriversRequest
|
|
9759
|
+
* @returns DescribePeripheralDriversResponse
|
|
9760
|
+
*/
|
|
9761
|
+
async describePeripheralDrivers(request) {
|
|
9762
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
9763
|
+
return await this.describePeripheralDriversWithOptions(request, runtime);
|
|
9764
|
+
}
|
|
9566
9765
|
/**
|
|
9567
9766
|
* Queries the details of cloud computer policies.
|
|
9568
9767
|
*
|
|
@@ -10538,7 +10737,7 @@ class Client extends openapi_core_1.default {
|
|
|
10538
10737
|
return await this.describeSessionStatisticWithOptions(request, runtime);
|
|
10539
10738
|
}
|
|
10540
10739
|
/**
|
|
10541
|
-
* Queries the snapshot list and snapshot
|
|
10740
|
+
* Queries the snapshot list and detailed snapshot information of a cloud computer.
|
|
10542
10741
|
*
|
|
10543
10742
|
* @param request - DescribeSnapshotsRequest
|
|
10544
10743
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -10606,7 +10805,7 @@ class Client extends openapi_core_1.default {
|
|
|
10606
10805
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeSnapshotsResponse({}));
|
|
10607
10806
|
}
|
|
10608
10807
|
/**
|
|
10609
|
-
* Queries the snapshot list and snapshot
|
|
10808
|
+
* Queries the snapshot list and detailed snapshot information of a cloud computer.
|
|
10610
10809
|
*
|
|
10611
10810
|
* @param request - DescribeSnapshotsRequest
|
|
10612
10811
|
* @returns DescribeSnapshotsResponse
|
|
@@ -11172,6 +11371,161 @@ class Client extends openapi_core_1.default {
|
|
|
11172
11371
|
let runtime = new $dara.RuntimeOptions({});
|
|
11173
11372
|
return await this.describeVirtualMFADevicesWithOptions(request, runtime);
|
|
11174
11373
|
}
|
|
11374
|
+
/**
|
|
11375
|
+
* Retrieves cloud computer information for a vulnerability.
|
|
11376
|
+
*
|
|
11377
|
+
* @remarks
|
|
11378
|
+
* - This operation uses a centralized domain name. The access point is in the China (Shanghai) region. Other regions are not supported.
|
|
11379
|
+
* - The cloud computer status information returned by this operation has a 1 to 3 second delay from the actual values.
|
|
11380
|
+
*
|
|
11381
|
+
* @param request - DescribeVulDesktopsRequest
|
|
11382
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
11383
|
+
* @returns DescribeVulDesktopsResponse
|
|
11384
|
+
*/
|
|
11385
|
+
async describeVulDesktopsWithOptions(request, runtime) {
|
|
11386
|
+
request.validate();
|
|
11387
|
+
let query = {};
|
|
11388
|
+
if (!$dara.isNull(request.cveId)) {
|
|
11389
|
+
query["CveId"] = request.cveId;
|
|
11390
|
+
}
|
|
11391
|
+
if (!$dara.isNull(request.desktopIdList)) {
|
|
11392
|
+
query["DesktopIdList"] = request.desktopIdList;
|
|
11393
|
+
}
|
|
11394
|
+
if (!$dara.isNull(request.includeFixResult)) {
|
|
11395
|
+
query["IncludeFixResult"] = request.includeFixResult;
|
|
11396
|
+
}
|
|
11397
|
+
if (!$dara.isNull(request.language)) {
|
|
11398
|
+
query["Language"] = request.language;
|
|
11399
|
+
}
|
|
11400
|
+
if (!$dara.isNull(request.maxResults)) {
|
|
11401
|
+
query["MaxResults"] = request.maxResults;
|
|
11402
|
+
}
|
|
11403
|
+
if (!$dara.isNull(request.nextToken)) {
|
|
11404
|
+
query["NextToken"] = request.nextToken;
|
|
11405
|
+
}
|
|
11406
|
+
if (!$dara.isNull(request.onlyCurrentMonthFixAttempted)) {
|
|
11407
|
+
query["OnlyCurrentMonthFixAttempted"] = request.onlyCurrentMonthFixAttempted;
|
|
11408
|
+
}
|
|
11409
|
+
if (!$dara.isNull(request.pageNumber)) {
|
|
11410
|
+
query["PageNumber"] = request.pageNumber;
|
|
11411
|
+
}
|
|
11412
|
+
if (!$dara.isNull(request.pageSize)) {
|
|
11413
|
+
query["PageSize"] = request.pageSize;
|
|
11414
|
+
}
|
|
11415
|
+
if (!$dara.isNull(request.patchId)) {
|
|
11416
|
+
query["PatchId"] = request.patchId;
|
|
11417
|
+
}
|
|
11418
|
+
if (!$dara.isNull(request.regionId)) {
|
|
11419
|
+
query["RegionId"] = request.regionId;
|
|
11420
|
+
}
|
|
11421
|
+
if (!$dara.isNull(request.resourceGroupId)) {
|
|
11422
|
+
query["ResourceGroupId"] = request.resourceGroupId;
|
|
11423
|
+
}
|
|
11424
|
+
if (!$dara.isNull(request.searchRegionId)) {
|
|
11425
|
+
query["SearchRegionId"] = request.searchRegionId;
|
|
11426
|
+
}
|
|
11427
|
+
if (!$dara.isNull(request.statusList)) {
|
|
11428
|
+
query["StatusList"] = request.statusList;
|
|
11429
|
+
}
|
|
11430
|
+
if (!$dara.isNull(request.vulLevel)) {
|
|
11431
|
+
query["VulLevel"] = request.vulLevel;
|
|
11432
|
+
}
|
|
11433
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
11434
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
11435
|
+
});
|
|
11436
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
11437
|
+
action: "DescribeVulDesktops",
|
|
11438
|
+
version: "2020-09-30",
|
|
11439
|
+
protocol: "HTTPS",
|
|
11440
|
+
pathname: "/",
|
|
11441
|
+
method: "POST",
|
|
11442
|
+
authType: "AK",
|
|
11443
|
+
style: "RPC",
|
|
11444
|
+
reqBodyType: "formData",
|
|
11445
|
+
bodyType: "json",
|
|
11446
|
+
});
|
|
11447
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeVulDesktopsResponse({}));
|
|
11448
|
+
}
|
|
11449
|
+
/**
|
|
11450
|
+
* Retrieves cloud computer information for a vulnerability.
|
|
11451
|
+
*
|
|
11452
|
+
* @remarks
|
|
11453
|
+
* - This operation uses a centralized domain name. The access point is in the China (Shanghai) region. Other regions are not supported.
|
|
11454
|
+
* - The cloud computer status information returned by this operation has a 1 to 3 second delay from the actual values.
|
|
11455
|
+
*
|
|
11456
|
+
* @param request - DescribeVulDesktopsRequest
|
|
11457
|
+
* @returns DescribeVulDesktopsResponse
|
|
11458
|
+
*/
|
|
11459
|
+
async describeVulDesktops(request) {
|
|
11460
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
11461
|
+
return await this.describeVulDesktopsWithOptions(request, runtime);
|
|
11462
|
+
}
|
|
11463
|
+
/**
|
|
11464
|
+
* Retrieves vulnerability information.
|
|
11465
|
+
*
|
|
11466
|
+
* @remarks
|
|
11467
|
+
* After security protection is enabled, the system automatically scans cloud desktops for system vulnerabilities on a periodic basis (once a day).
|
|
11468
|
+
*
|
|
11469
|
+
* @param request - DescribeVulnerabilityRequest
|
|
11470
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
11471
|
+
* @returns DescribeVulnerabilityResponse
|
|
11472
|
+
*/
|
|
11473
|
+
async describeVulnerabilityWithOptions(request, runtime) {
|
|
11474
|
+
request.validate();
|
|
11475
|
+
let query = {};
|
|
11476
|
+
if (!$dara.isNull(request.cveId)) {
|
|
11477
|
+
query["CveId"] = request.cveId;
|
|
11478
|
+
}
|
|
11479
|
+
if (!$dara.isNull(request.includeDesktop)) {
|
|
11480
|
+
query["IncludeDesktop"] = request.includeDesktop;
|
|
11481
|
+
}
|
|
11482
|
+
if (!$dara.isNull(request.language)) {
|
|
11483
|
+
query["Language"] = request.language;
|
|
11484
|
+
}
|
|
11485
|
+
if (!$dara.isNull(request.maxResults)) {
|
|
11486
|
+
query["MaxResults"] = request.maxResults;
|
|
11487
|
+
}
|
|
11488
|
+
if (!$dara.isNull(request.nextToken)) {
|
|
11489
|
+
query["NextToken"] = request.nextToken;
|
|
11490
|
+
}
|
|
11491
|
+
if (!$dara.isNull(request.patchId)) {
|
|
11492
|
+
query["PatchId"] = request.patchId;
|
|
11493
|
+
}
|
|
11494
|
+
if (!$dara.isNull(request.regionId)) {
|
|
11495
|
+
query["RegionId"] = request.regionId;
|
|
11496
|
+
}
|
|
11497
|
+
if (!$dara.isNull(request.searchRegionId)) {
|
|
11498
|
+
query["SearchRegionId"] = request.searchRegionId;
|
|
11499
|
+
}
|
|
11500
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
11501
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
11502
|
+
});
|
|
11503
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
11504
|
+
action: "DescribeVulnerability",
|
|
11505
|
+
version: "2020-09-30",
|
|
11506
|
+
protocol: "HTTPS",
|
|
11507
|
+
pathname: "/",
|
|
11508
|
+
method: "POST",
|
|
11509
|
+
authType: "AK",
|
|
11510
|
+
style: "RPC",
|
|
11511
|
+
reqBodyType: "formData",
|
|
11512
|
+
bodyType: "json",
|
|
11513
|
+
});
|
|
11514
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeVulnerabilityResponse({}));
|
|
11515
|
+
}
|
|
11516
|
+
/**
|
|
11517
|
+
* Retrieves vulnerability information.
|
|
11518
|
+
*
|
|
11519
|
+
* @remarks
|
|
11520
|
+
* After security protection is enabled, the system automatically scans cloud desktops for system vulnerabilities on a periodic basis (once a day).
|
|
11521
|
+
*
|
|
11522
|
+
* @param request - DescribeVulnerabilityRequest
|
|
11523
|
+
* @returns DescribeVulnerabilityResponse
|
|
11524
|
+
*/
|
|
11525
|
+
async describeVulnerability(request) {
|
|
11526
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
11527
|
+
return await this.describeVulnerabilityWithOptions(request, runtime);
|
|
11528
|
+
}
|
|
11175
11529
|
/**
|
|
11176
11530
|
* Queries the zones supported by Alibaba Cloud Workspace in a specified Alibaba Cloud region.
|
|
11177
11531
|
*
|
|
@@ -12207,7 +12561,7 @@ class Client extends openapi_core_1.default {
|
|
|
12207
12561
|
return await this.listCdsFilesWithOptions(request, runtime);
|
|
12208
12562
|
}
|
|
12209
12563
|
/**
|
|
12210
|
-
* Retrieves user information from an enterprise Active Directory (AD)
|
|
12564
|
+
* Retrieves user information from an enterprise Active Directory (AD) if you use an AD directory to connect to your enterprise AD.
|
|
12211
12565
|
*
|
|
12212
12566
|
* @param request - ListDirectoryUsersRequest
|
|
12213
12567
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -12260,7 +12614,7 @@ class Client extends openapi_core_1.default {
|
|
|
12260
12614
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListDirectoryUsersResponse({}));
|
|
12261
12615
|
}
|
|
12262
12616
|
/**
|
|
12263
|
-
* Retrieves user information from an enterprise Active Directory (AD)
|
|
12617
|
+
* Retrieves user information from an enterprise Active Directory (AD) if you use an AD directory to connect to your enterprise AD.
|
|
12264
12618
|
*
|
|
12265
12619
|
* @param request - ListDirectoryUsersRequest
|
|
12266
12620
|
* @returns ListDirectoryUsersResponse
|
|
@@ -12786,7 +13140,7 @@ class Client extends openapi_core_1.default {
|
|
|
12786
13140
|
return await this.lockVirtualMFADeviceWithOptions(request, runtime);
|
|
12787
13141
|
}
|
|
12788
13142
|
/**
|
|
12789
|
-
* Migrates cloud computers from the current office network
|
|
13143
|
+
* Migrates cloud computers from the current office network to a new office network.
|
|
12790
13144
|
*
|
|
12791
13145
|
* @param request - MigrateDesktopsRequest
|
|
12792
13146
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -12827,7 +13181,7 @@ class Client extends openapi_core_1.default {
|
|
|
12827
13181
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.MigrateDesktopsResponse({}));
|
|
12828
13182
|
}
|
|
12829
13183
|
/**
|
|
12830
|
-
* Migrates cloud computers from the current office network
|
|
13184
|
+
* Migrates cloud computers from the current office network to a new office network.
|
|
12831
13185
|
*
|
|
12832
13186
|
* @param request - MigrateDesktopsRequest
|
|
12833
13187
|
* @returns MigrateDesktopsResponse
|
|
@@ -16104,10 +16458,10 @@ class Client extends openapi_core_1.default {
|
|
|
16104
16458
|
return await this.modifyTimerGroupWithOptions(request, runtime);
|
|
16105
16459
|
}
|
|
16106
16460
|
/**
|
|
16107
|
-
*
|
|
16461
|
+
* Adds or removes the authorization of one or more cloud computers for one or more users.
|
|
16108
16462
|
*
|
|
16109
16463
|
* @remarks
|
|
16110
|
-
*
|
|
16464
|
+
* Only cloud computers in the Running state support modifying authorized users.
|
|
16111
16465
|
*
|
|
16112
16466
|
* @param request - ModifyUserEntitlementRequest
|
|
16113
16467
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -16145,10 +16499,10 @@ class Client extends openapi_core_1.default {
|
|
|
16145
16499
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyUserEntitlementResponse({}));
|
|
16146
16500
|
}
|
|
16147
16501
|
/**
|
|
16148
|
-
*
|
|
16502
|
+
* Adds or removes the authorization of one or more cloud computers for one or more users.
|
|
16149
16503
|
*
|
|
16150
16504
|
* @remarks
|
|
16151
|
-
*
|
|
16505
|
+
* Only cloud computers in the Running state support modifying authorized users.
|
|
16152
16506
|
*
|
|
16153
16507
|
* @param request - ModifyUserEntitlementRequest
|
|
16154
16508
|
* @returns ModifyUserEntitlementResponse
|
|
@@ -16382,6 +16736,108 @@ class Client extends openapi_core_1.default {
|
|
|
16382
16736
|
let runtime = new $dara.RuntimeOptions({});
|
|
16383
16737
|
return await this.moveCdsFileWithOptions(request, runtime);
|
|
16384
16738
|
}
|
|
16739
|
+
/**
|
|
16740
|
+
* 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.
|
|
16741
|
+
*
|
|
16742
|
+
* @param request - QueryActiveUserStatisticRequest
|
|
16743
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
16744
|
+
* @returns QueryActiveUserStatisticResponse
|
|
16745
|
+
*/
|
|
16746
|
+
async queryActiveUserStatisticWithOptions(request, runtime) {
|
|
16747
|
+
request.validate();
|
|
16748
|
+
let query = {};
|
|
16749
|
+
if (!$dara.isNull(request.bizType)) {
|
|
16750
|
+
query["BizType"] = request.bizType;
|
|
16751
|
+
}
|
|
16752
|
+
if (!$dara.isNull(request.endTime)) {
|
|
16753
|
+
query["EndTime"] = request.endTime;
|
|
16754
|
+
}
|
|
16755
|
+
if (!$dara.isNull(request.officeSiteId)) {
|
|
16756
|
+
query["OfficeSiteId"] = request.officeSiteId;
|
|
16757
|
+
}
|
|
16758
|
+
if (!$dara.isNull(request.period)) {
|
|
16759
|
+
query["Period"] = request.period;
|
|
16760
|
+
}
|
|
16761
|
+
if (!$dara.isNull(request.startTime)) {
|
|
16762
|
+
query["StartTime"] = request.startTime;
|
|
16763
|
+
}
|
|
16764
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
16765
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
16766
|
+
});
|
|
16767
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
16768
|
+
action: "QueryActiveUserStatistic",
|
|
16769
|
+
version: "2020-09-30",
|
|
16770
|
+
protocol: "HTTPS",
|
|
16771
|
+
pathname: "/",
|
|
16772
|
+
method: "POST",
|
|
16773
|
+
authType: "AK",
|
|
16774
|
+
style: "RPC",
|
|
16775
|
+
reqBodyType: "formData",
|
|
16776
|
+
bodyType: "json",
|
|
16777
|
+
});
|
|
16778
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.QueryActiveUserStatisticResponse({}));
|
|
16779
|
+
}
|
|
16780
|
+
/**
|
|
16781
|
+
* 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.
|
|
16782
|
+
*
|
|
16783
|
+
* @param request - QueryActiveUserStatisticRequest
|
|
16784
|
+
* @returns QueryActiveUserStatisticResponse
|
|
16785
|
+
*/
|
|
16786
|
+
async queryActiveUserStatistic(request) {
|
|
16787
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
16788
|
+
return await this.queryActiveUserStatisticWithOptions(request, runtime);
|
|
16789
|
+
}
|
|
16790
|
+
/**
|
|
16791
|
+
* 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.
|
|
16792
|
+
*
|
|
16793
|
+
* @param request - QueryEndUserHistoryUsageRequest
|
|
16794
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
16795
|
+
* @returns QueryEndUserHistoryUsageResponse
|
|
16796
|
+
*/
|
|
16797
|
+
async queryEndUserHistoryUsageWithOptions(request, runtime) {
|
|
16798
|
+
request.validate();
|
|
16799
|
+
let query = {};
|
|
16800
|
+
if (!$dara.isNull(request.endDate)) {
|
|
16801
|
+
query["EndDate"] = request.endDate;
|
|
16802
|
+
}
|
|
16803
|
+
if (!$dara.isNull(request.isAdUser)) {
|
|
16804
|
+
query["IsAdUser"] = request.isAdUser;
|
|
16805
|
+
}
|
|
16806
|
+
if (!$dara.isNull(request.pageNum)) {
|
|
16807
|
+
query["PageNum"] = request.pageNum;
|
|
16808
|
+
}
|
|
16809
|
+
if (!$dara.isNull(request.pageSize)) {
|
|
16810
|
+
query["PageSize"] = request.pageSize;
|
|
16811
|
+
}
|
|
16812
|
+
if (!$dara.isNull(request.startDate)) {
|
|
16813
|
+
query["StartDate"] = request.startDate;
|
|
16814
|
+
}
|
|
16815
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
16816
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
16817
|
+
});
|
|
16818
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
16819
|
+
action: "QueryEndUserHistoryUsage",
|
|
16820
|
+
version: "2020-09-30",
|
|
16821
|
+
protocol: "HTTPS",
|
|
16822
|
+
pathname: "/",
|
|
16823
|
+
method: "POST",
|
|
16824
|
+
authType: "AK",
|
|
16825
|
+
style: "RPC",
|
|
16826
|
+
reqBodyType: "formData",
|
|
16827
|
+
bodyType: "json",
|
|
16828
|
+
});
|
|
16829
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.QueryEndUserHistoryUsageResponse({}));
|
|
16830
|
+
}
|
|
16831
|
+
/**
|
|
16832
|
+
* 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.
|
|
16833
|
+
*
|
|
16834
|
+
* @param request - QueryEndUserHistoryUsageRequest
|
|
16835
|
+
* @returns QueryEndUserHistoryUsageResponse
|
|
16836
|
+
*/
|
|
16837
|
+
async queryEndUserHistoryUsage(request) {
|
|
16838
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
16839
|
+
return await this.queryEndUserHistoryUsageWithOptions(request, runtime);
|
|
16840
|
+
}
|
|
16385
16841
|
/**
|
|
16386
16842
|
* Queries the historical daily active user count and monthly active user count for a specified date.
|
|
16387
16843
|
*
|
|
@@ -16433,6 +16889,60 @@ class Client extends openapi_core_1.default {
|
|
|
16433
16889
|
let runtime = new $dara.RuntimeOptions({});
|
|
16434
16890
|
return await this.queryHistoryActiveUserCountWithOptions(request, runtime);
|
|
16435
16891
|
}
|
|
16892
|
+
/**
|
|
16893
|
+
* 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.
|
|
16894
|
+
*
|
|
16895
|
+
* @param request - QueryHistoryActiveUserStatisticRequest
|
|
16896
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
16897
|
+
* @returns QueryHistoryActiveUserStatisticResponse
|
|
16898
|
+
*/
|
|
16899
|
+
async queryHistoryActiveUserStatisticWithOptions(request, runtime) {
|
|
16900
|
+
request.validate();
|
|
16901
|
+
let query = {};
|
|
16902
|
+
if (!$dara.isNull(request.bizType)) {
|
|
16903
|
+
query["BizType"] = request.bizType;
|
|
16904
|
+
}
|
|
16905
|
+
if (!$dara.isNull(request.endDate)) {
|
|
16906
|
+
query["EndDate"] = request.endDate;
|
|
16907
|
+
}
|
|
16908
|
+
if (!$dara.isNull(request.officeSiteId)) {
|
|
16909
|
+
query["OfficeSiteId"] = request.officeSiteId;
|
|
16910
|
+
}
|
|
16911
|
+
if (!$dara.isNull(request.period)) {
|
|
16912
|
+
query["Period"] = request.period;
|
|
16913
|
+
}
|
|
16914
|
+
if (!$dara.isNull(request.startDate)) {
|
|
16915
|
+
query["StartDate"] = request.startDate;
|
|
16916
|
+
}
|
|
16917
|
+
if (!$dara.isNull(request.userGroupId)) {
|
|
16918
|
+
query["UserGroupId"] = request.userGroupId;
|
|
16919
|
+
}
|
|
16920
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
16921
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
16922
|
+
});
|
|
16923
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
16924
|
+
action: "QueryHistoryActiveUserStatistic",
|
|
16925
|
+
version: "2020-09-30",
|
|
16926
|
+
protocol: "HTTPS",
|
|
16927
|
+
pathname: "/",
|
|
16928
|
+
method: "POST",
|
|
16929
|
+
authType: "AK",
|
|
16930
|
+
style: "RPC",
|
|
16931
|
+
reqBodyType: "formData",
|
|
16932
|
+
bodyType: "json",
|
|
16933
|
+
});
|
|
16934
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.QueryHistoryActiveUserStatisticResponse({}));
|
|
16935
|
+
}
|
|
16936
|
+
/**
|
|
16937
|
+
* 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.
|
|
16938
|
+
*
|
|
16939
|
+
* @param request - QueryHistoryActiveUserStatisticRequest
|
|
16940
|
+
* @returns QueryHistoryActiveUserStatisticResponse
|
|
16941
|
+
*/
|
|
16942
|
+
async queryHistoryActiveUserStatistic(request) {
|
|
16943
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
16944
|
+
return await this.queryHistoryActiveUserStatisticWithOptions(request, runtime);
|
|
16945
|
+
}
|
|
16436
16946
|
/**
|
|
16437
16947
|
* Queries the historical average monitoring metrics of desktop resources within a specified date range.
|
|
16438
16948
|
*
|
|
@@ -16652,10 +17162,10 @@ class Client extends openapi_core_1.default {
|
|
|
16652
17162
|
return await this.queryHistoryUsageDurationRankWithOptions(request, runtime);
|
|
16653
17163
|
}
|
|
16654
17164
|
/**
|
|
16655
|
-
*
|
|
17165
|
+
* Restarts one or more cloud computers.
|
|
16656
17166
|
*
|
|
16657
17167
|
* @remarks
|
|
16658
|
-
* The
|
|
17168
|
+
* The cloud computers must be in the Running state.
|
|
16659
17169
|
*
|
|
16660
17170
|
* @param request - RebootDesktopsRequest
|
|
16661
17171
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -16696,10 +17206,10 @@ class Client extends openapi_core_1.default {
|
|
|
16696
17206
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.RebootDesktopsResponse({}));
|
|
16697
17207
|
}
|
|
16698
17208
|
/**
|
|
16699
|
-
*
|
|
17209
|
+
* Restarts one or more cloud computers.
|
|
16700
17210
|
*
|
|
16701
17211
|
* @remarks
|
|
16702
|
-
* The
|
|
17212
|
+
* The cloud computers must be in the Running state.
|
|
16703
17213
|
*
|
|
16704
17214
|
* @param request - RebootDesktopsRequest
|
|
16705
17215
|
* @returns RebootDesktopsResponse
|
|
@@ -17504,7 +18014,7 @@ class Client extends openapi_core_1.default {
|
|
|
17504
18014
|
return await this.revokeCoordinatePrivilegeWithOptions(request, runtime);
|
|
17505
18015
|
}
|
|
17506
18016
|
/**
|
|
17507
|
-
* Executes a PowerShell or Bat script on one or more cloud computers that run
|
|
18017
|
+
* Executes a PowerShell or Bat script on one or more cloud computers that run Windows.
|
|
17508
18018
|
*
|
|
17509
18019
|
* @param request - RunCommandRequest
|
|
17510
18020
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -17554,7 +18064,7 @@ class Client extends openapi_core_1.default {
|
|
|
17554
18064
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.RunCommandResponse({}));
|
|
17555
18065
|
}
|
|
17556
18066
|
/**
|
|
17557
|
-
* Executes a PowerShell or Bat script on one or more cloud computers that run
|
|
18067
|
+
* Executes a PowerShell or Bat script on one or more cloud computers that run Windows.
|
|
17558
18068
|
*
|
|
17559
18069
|
* @param request - RunCommandRequest
|
|
17560
18070
|
* @returns RunCommandResponse
|
|
@@ -18012,10 +18522,10 @@ class Client extends openapi_core_1.default {
|
|
|
18012
18522
|
return await this.setUserProfilePathRulesWithOptions(request, runtime);
|
|
18013
18523
|
}
|
|
18014
18524
|
/**
|
|
18015
|
-
* Starts stopped cloud computers. After the
|
|
18525
|
+
* Starts one or more stopped cloud computers. After the operation is called successfully, the cloud computers enter the Running state.
|
|
18016
18526
|
*
|
|
18017
18527
|
* @remarks
|
|
18018
|
-
* The cloud computers
|
|
18528
|
+
* The cloud computers must be in the Stopped state.
|
|
18019
18529
|
*
|
|
18020
18530
|
* @param request - StartDesktopsRequest
|
|
18021
18531
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -18047,10 +18557,10 @@ class Client extends openapi_core_1.default {
|
|
|
18047
18557
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.StartDesktopsResponse({}));
|
|
18048
18558
|
}
|
|
18049
18559
|
/**
|
|
18050
|
-
* Starts stopped cloud computers. After the
|
|
18560
|
+
* Starts one or more stopped cloud computers. After the operation is called successfully, the cloud computers enter the Running state.
|
|
18051
18561
|
*
|
|
18052
18562
|
* @remarks
|
|
18053
|
-
* The cloud computers
|
|
18563
|
+
* The cloud computers must be in the Stopped state.
|
|
18054
18564
|
*
|
|
18055
18565
|
* @param request - StartDesktopsRequest
|
|
18056
18566
|
* @returns StartDesktopsResponse
|