@alicloud/ecd20200930 4.16.3 → 4.18.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (60) hide show
  1. package/dist/client.d.ts +63 -0
  2. package/dist/client.js +210 -0
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/BatchModifyEntitlementRequest.d.ts +24 -0
  5. package/dist/models/BatchModifyEntitlementRequest.js.map +1 -1
  6. package/dist/models/BatchModifyEntitlementResponseBody.d.ts +35 -0
  7. package/dist/models/BatchModifyEntitlementResponseBody.js.map +1 -1
  8. package/dist/models/DescribeGlobalTimerBatchesRequest.d.ts +43 -0
  9. package/dist/models/DescribeGlobalTimerBatchesRequest.js +68 -0
  10. package/dist/models/DescribeGlobalTimerBatchesRequest.js.map +1 -0
  11. package/dist/models/DescribeGlobalTimerBatchesResponse.d.ts +19 -0
  12. package/dist/models/DescribeGlobalTimerBatchesResponse.js +69 -0
  13. package/dist/models/DescribeGlobalTimerBatchesResponse.js.map +1 -0
  14. package/dist/models/DescribeGlobalTimerBatchesResponseBody.d.ts +79 -0
  15. package/dist/models/DescribeGlobalTimerBatchesResponseBody.js +98 -0
  16. package/dist/models/DescribeGlobalTimerBatchesResponseBody.js.map +1 -0
  17. package/dist/models/DescribeGlobalTimerRecordsRequest.d.ts +107 -0
  18. package/dist/models/DescribeGlobalTimerRecordsRequest.js +82 -0
  19. package/dist/models/DescribeGlobalTimerRecordsRequest.js.map +1 -0
  20. package/dist/models/DescribeGlobalTimerRecordsResponse.d.ts +19 -0
  21. package/dist/models/DescribeGlobalTimerRecordsResponse.js +69 -0
  22. package/dist/models/DescribeGlobalTimerRecordsResponse.js.map +1 -0
  23. package/dist/models/DescribeGlobalTimerRecordsResponseBody.d.ts +128 -0
  24. package/dist/models/DescribeGlobalTimerRecordsResponseBody.js +106 -0
  25. package/dist/models/DescribeGlobalTimerRecordsResponseBody.js.map +1 -0
  26. package/dist/models/DescribeOfficeSitesRequest.d.ts +7 -0
  27. package/dist/models/DescribeOfficeSitesRequest.js.map +1 -1
  28. package/dist/models/DescribeRecordFileRequest.d.ts +76 -0
  29. package/dist/models/DescribeRecordFileRequest.js +80 -0
  30. package/dist/models/DescribeRecordFileRequest.js.map +1 -0
  31. package/dist/models/DescribeRecordFileResponse.d.ts +19 -0
  32. package/dist/models/DescribeRecordFileResponse.js +69 -0
  33. package/dist/models/DescribeRecordFileResponse.js.map +1 -0
  34. package/dist/models/DescribeRecordFileResponseBody.d.ts +137 -0
  35. package/dist/models/DescribeRecordFileResponseBody.js +138 -0
  36. package/dist/models/DescribeRecordFileResponseBody.js.map +1 -0
  37. package/dist/models/ModifyTemplateRequest.d.ts +97 -3
  38. package/dist/models/ModifyTemplateRequest.js.map +1 -1
  39. package/dist/models/ModifyTemplateResponseBody.d.ts +15 -0
  40. package/dist/models/ModifyTemplateResponseBody.js.map +1 -1
  41. package/dist/models/model.d.ts +13 -0
  42. package/dist/models/model.js +47 -20
  43. package/dist/models/model.js.map +1 -1
  44. package/package.json +1 -1
  45. package/src/client.ts +244 -0
  46. package/src/models/BatchModifyEntitlementRequest.ts +24 -0
  47. package/src/models/BatchModifyEntitlementResponseBody.ts +35 -0
  48. package/src/models/DescribeGlobalTimerBatchesRequest.ts +66 -0
  49. package/src/models/DescribeGlobalTimerBatchesResponse.ts +40 -0
  50. package/src/models/DescribeGlobalTimerBatchesResponseBody.ts +123 -0
  51. package/src/models/DescribeGlobalTimerRecordsRequest.ts +144 -0
  52. package/src/models/DescribeGlobalTimerRecordsResponse.ts +40 -0
  53. package/src/models/DescribeGlobalTimerRecordsResponseBody.ts +180 -0
  54. package/src/models/DescribeOfficeSitesRequest.ts +7 -0
  55. package/src/models/DescribeRecordFileRequest.ts +111 -0
  56. package/src/models/DescribeRecordFileResponse.ts +40 -0
  57. package/src/models/DescribeRecordFileResponseBody.ts +212 -0
  58. package/src/models/ModifyTemplateRequest.ts +97 -3
  59. package/src/models/ModifyTemplateResponseBody.ts +15 -0
  60. package/src/models/model.ts +13 -0
package/dist/client.d.ts CHANGED
@@ -293,12 +293,22 @@ export default class Client extends OpenApi {
293
293
  */
294
294
  attachEndUser(request: $_model.AttachEndUserRequest): Promise<$_model.AttachEndUserResponse>;
295
295
  /**
296
+ * @remarks
297
+ * The cloud computers for which you want to change their policies must be in the Running state.
298
+ * * After you call this operation, the assignment result is immediately returned. You can call the [DescribeDesktops](https://help.aliyun.com/document_detail/436815.html) operation to query the assignment of the cloud computer. The value of the `ManagementFlags` response parameter indicates the assignment of the cloud computer. A value of `ASSIGNING` indicates that the cloud computer is being assigned, and other values indicate that the cloud computer is assigned.
299
+ * * We recommend that you check the assignment every 2 to 5 seconds and perform the checks within 50 seconds. Typically, 1 to 5 seconds are required to complete the assignment.
300
+ *
296
301
  * @param request - BatchModifyEntitlementRequest
297
302
  * @param runtime - runtime options for this request RuntimeOptions
298
303
  * @returns BatchModifyEntitlementResponse
299
304
  */
300
305
  batchModifyEntitlementWithOptions(request: $_model.BatchModifyEntitlementRequest, runtime: $dara.RuntimeOptions): Promise<$_model.BatchModifyEntitlementResponse>;
301
306
  /**
307
+ * @remarks
308
+ * The cloud computers for which you want to change their policies must be in the Running state.
309
+ * * After you call this operation, the assignment result is immediately returned. You can call the [DescribeDesktops](https://help.aliyun.com/document_detail/436815.html) operation to query the assignment of the cloud computer. The value of the `ManagementFlags` response parameter indicates the assignment of the cloud computer. A value of `ASSIGNING` indicates that the cloud computer is being assigned, and other values indicate that the cloud computer is assigned.
310
+ * * We recommend that you check the assignment every 2 to 5 seconds and perform the checks within 50 seconds. Typically, 1 to 5 seconds are required to complete the assignment.
311
+ *
302
312
  * @param request - BatchModifyEntitlementRequest
303
313
  * @returns BatchModifyEntitlementResponse
304
314
  */
@@ -2135,6 +2145,36 @@ export default class Client extends OpenApi {
2135
2145
  * @returns DescribeGlobalDesktopRecordsResponse
2136
2146
  */
2137
2147
  describeGlobalDesktopRecords(request: $_model.DescribeGlobalDesktopRecordsRequest): Promise<$_model.DescribeGlobalDesktopRecordsResponse>;
2148
+ /**
2149
+ * 查询全局定时任务Batch记录
2150
+ *
2151
+ * @param request - DescribeGlobalTimerBatchesRequest
2152
+ * @param runtime - runtime options for this request RuntimeOptions
2153
+ * @returns DescribeGlobalTimerBatchesResponse
2154
+ */
2155
+ describeGlobalTimerBatchesWithOptions(request: $_model.DescribeGlobalTimerBatchesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeGlobalTimerBatchesResponse>;
2156
+ /**
2157
+ * 查询全局定时任务Batch记录
2158
+ *
2159
+ * @param request - DescribeGlobalTimerBatchesRequest
2160
+ * @returns DescribeGlobalTimerBatchesResponse
2161
+ */
2162
+ describeGlobalTimerBatches(request: $_model.DescribeGlobalTimerBatchesRequest): Promise<$_model.DescribeGlobalTimerBatchesResponse>;
2163
+ /**
2164
+ * Queries the execution records of scheduled tasks on cloud computers.
2165
+ *
2166
+ * @param request - DescribeGlobalTimerRecordsRequest
2167
+ * @param runtime - runtime options for this request RuntimeOptions
2168
+ * @returns DescribeGlobalTimerRecordsResponse
2169
+ */
2170
+ describeGlobalTimerRecordsWithOptions(request: $_model.DescribeGlobalTimerRecordsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeGlobalTimerRecordsResponse>;
2171
+ /**
2172
+ * Queries the execution records of scheduled tasks on cloud computers.
2173
+ *
2174
+ * @param request - DescribeGlobalTimerRecordsRequest
2175
+ * @returns DescribeGlobalTimerRecordsResponse
2176
+ */
2177
+ describeGlobalTimerRecords(request: $_model.DescribeGlobalTimerRecordsRequest): Promise<$_model.DescribeGlobalTimerRecordsResponse>;
2138
2178
  /**
2139
2179
  * Queries the applications and their processes of an end user.
2140
2180
  *
@@ -2416,6 +2456,21 @@ export default class Client extends OpenApi {
2416
2456
  * @returns DescribePriceForRenewDesktopOversoldGroupResponse
2417
2457
  */
2418
2458
  describePriceForRenewDesktopOversoldGroup(request: $_model.DescribePriceForRenewDesktopOversoldGroupRequest): Promise<$_model.DescribePriceForRenewDesktopOversoldGroupResponse>;
2459
+ /**
2460
+ * 查询录屏文件列表
2461
+ *
2462
+ * @param request - DescribeRecordFileRequest
2463
+ * @param runtime - runtime options for this request RuntimeOptions
2464
+ * @returns DescribeRecordFileResponse
2465
+ */
2466
+ describeRecordFileWithOptions(request: $_model.DescribeRecordFileRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeRecordFileResponse>;
2467
+ /**
2468
+ * 查询录屏文件列表
2469
+ *
2470
+ * @param request - DescribeRecordFileRequest
2471
+ * @returns DescribeRecordFileResponse
2472
+ */
2473
+ describeRecordFile(request: $_model.DescribeRecordFileRequest): Promise<$_model.DescribeRecordFileResponse>;
2419
2474
  /**
2420
2475
  * Queries the details of screen recording files.
2421
2476
  *
@@ -3938,6 +3993,10 @@ export default class Client extends OpenApi {
3938
3993
  /**
3939
3994
  * Modifies a custom cloud computer template.
3940
3995
  *
3996
+ * @remarks
3997
+ * *
3998
+ * **Warning** This operation employs the full parameter update logic to maintain compatibility between the no-configuration logic and the default update logic. In other words, any unspecified parameters are treated as empty.
3999
+ *
3941
4000
  * @param request - ModifyTemplateRequest
3942
4001
  * @param runtime - runtime options for this request RuntimeOptions
3943
4002
  * @returns ModifyTemplateResponse
@@ -3946,6 +4005,10 @@ export default class Client extends OpenApi {
3946
4005
  /**
3947
4006
  * Modifies a custom cloud computer template.
3948
4007
  *
4008
+ * @remarks
4009
+ * *
4010
+ * **Warning** This operation employs the full parameter update logic to maintain compatibility between the no-configuration logic and the default update logic. In other words, any unspecified parameters are treated as empty.
4011
+ *
3949
4012
  * @param request - ModifyTemplateRequest
3950
4013
  * @returns ModifyTemplateResponse
3951
4014
  */
package/dist/client.js CHANGED
@@ -909,6 +909,11 @@ class Client extends openapi_core_1.default {
909
909
  return await this.attachEndUserWithOptions(request, runtime);
910
910
  }
911
911
  /**
912
+ * @remarks
913
+ * The cloud computers for which you want to change their policies must be in the Running state.
914
+ * * After you call this operation, the assignment result is immediately returned. You can call the [DescribeDesktops](https://help.aliyun.com/document_detail/436815.html) operation to query the assignment of the cloud computer. The value of the `ManagementFlags` response parameter indicates the assignment of the cloud computer. A value of `ASSIGNING` indicates that the cloud computer is being assigned, and other values indicate that the cloud computer is assigned.
915
+ * * We recommend that you check the assignment every 2 to 5 seconds and perform the checks within 50 seconds. Typically, 1 to 5 seconds are required to complete the assignment.
916
+ *
912
917
  * @param request - BatchModifyEntitlementRequest
913
918
  * @param runtime - runtime options for this request RuntimeOptions
914
919
  * @returns BatchModifyEntitlementResponse
@@ -954,6 +959,11 @@ class Client extends openapi_core_1.default {
954
959
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.BatchModifyEntitlementResponse({}));
955
960
  }
956
961
  /**
962
+ * @remarks
963
+ * The cloud computers for which you want to change their policies must be in the Running state.
964
+ * * After you call this operation, the assignment result is immediately returned. You can call the [DescribeDesktops](https://help.aliyun.com/document_detail/436815.html) operation to query the assignment of the cloud computer. The value of the `ManagementFlags` response parameter indicates the assignment of the cloud computer. A value of `ASSIGNING` indicates that the cloud computer is being assigned, and other values indicate that the cloud computer is assigned.
965
+ * * We recommend that you check the assignment every 2 to 5 seconds and perform the checks within 50 seconds. Typically, 1 to 5 seconds are required to complete the assignment.
966
+ *
957
967
  * @param request - BatchModifyEntitlementRequest
958
968
  * @returns BatchModifyEntitlementResponse
959
969
  */
@@ -7993,6 +8003,126 @@ class Client extends openapi_core_1.default {
7993
8003
  let runtime = new $dara.RuntimeOptions({});
7994
8004
  return await this.describeGlobalDesktopRecordsWithOptions(request, runtime);
7995
8005
  }
8006
+ /**
8007
+ * 查询全局定时任务Batch记录
8008
+ *
8009
+ * @param request - DescribeGlobalTimerBatchesRequest
8010
+ * @param runtime - runtime options for this request RuntimeOptions
8011
+ * @returns DescribeGlobalTimerBatchesResponse
8012
+ */
8013
+ async describeGlobalTimerBatchesWithOptions(request, runtime) {
8014
+ request.validate();
8015
+ let query = {};
8016
+ if (!$dara.isNull(request.groupId)) {
8017
+ query["GroupId"] = request.groupId;
8018
+ }
8019
+ if (!$dara.isNull(request.maxResults)) {
8020
+ query["MaxResults"] = request.maxResults;
8021
+ }
8022
+ if (!$dara.isNull(request.nextToken)) {
8023
+ query["NextToken"] = request.nextToken;
8024
+ }
8025
+ if (!$dara.isNull(request.regionId)) {
8026
+ query["RegionId"] = request.regionId;
8027
+ }
8028
+ if (!$dara.isNull(request.searchRegionId)) {
8029
+ query["SearchRegionId"] = request.searchRegionId;
8030
+ }
8031
+ if (!$dara.isNull(request.timerType)) {
8032
+ query["TimerType"] = request.timerType;
8033
+ }
8034
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
8035
+ query: openapi_core_2.OpenApiUtil.query(query),
8036
+ });
8037
+ let params = new openapi_core_2.$OpenApiUtil.Params({
8038
+ action: "DescribeGlobalTimerBatches",
8039
+ version: "2020-09-30",
8040
+ protocol: "HTTPS",
8041
+ pathname: "/",
8042
+ method: "POST",
8043
+ authType: "AK",
8044
+ style: "RPC",
8045
+ reqBodyType: "formData",
8046
+ bodyType: "json",
8047
+ });
8048
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeGlobalTimerBatchesResponse({}));
8049
+ }
8050
+ /**
8051
+ * 查询全局定时任务Batch记录
8052
+ *
8053
+ * @param request - DescribeGlobalTimerBatchesRequest
8054
+ * @returns DescribeGlobalTimerBatchesResponse
8055
+ */
8056
+ async describeGlobalTimerBatches(request) {
8057
+ let runtime = new $dara.RuntimeOptions({});
8058
+ return await this.describeGlobalTimerBatchesWithOptions(request, runtime);
8059
+ }
8060
+ /**
8061
+ * Queries the execution records of scheduled tasks on cloud computers.
8062
+ *
8063
+ * @param request - DescribeGlobalTimerRecordsRequest
8064
+ * @param runtime - runtime options for this request RuntimeOptions
8065
+ * @returns DescribeGlobalTimerRecordsResponse
8066
+ */
8067
+ async describeGlobalTimerRecordsWithOptions(request, runtime) {
8068
+ request.validate();
8069
+ let query = {};
8070
+ if (!$dara.isNull(request.batchId)) {
8071
+ query["BatchId"] = request.batchId;
8072
+ }
8073
+ if (!$dara.isNull(request.desktopIds)) {
8074
+ query["DesktopIds"] = request.desktopIds;
8075
+ }
8076
+ if (!$dara.isNull(request.groupId)) {
8077
+ query["GroupId"] = request.groupId;
8078
+ }
8079
+ if (!$dara.isNull(request.maxResults)) {
8080
+ query["MaxResults"] = request.maxResults;
8081
+ }
8082
+ if (!$dara.isNull(request.nextToken)) {
8083
+ query["NextToken"] = request.nextToken;
8084
+ }
8085
+ if (!$dara.isNull(request.regionId)) {
8086
+ query["RegionId"] = request.regionId;
8087
+ }
8088
+ if (!$dara.isNull(request.resultCategory)) {
8089
+ query["ResultCategory"] = request.resultCategory;
8090
+ }
8091
+ if (!$dara.isNull(request.searchRegionId)) {
8092
+ query["SearchRegionId"] = request.searchRegionId;
8093
+ }
8094
+ if (!$dara.isNull(request.timerResult)) {
8095
+ query["TimerResult"] = request.timerResult;
8096
+ }
8097
+ if (!$dara.isNull(request.timerTypes)) {
8098
+ query["TimerTypes"] = request.timerTypes;
8099
+ }
8100
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
8101
+ query: openapi_core_2.OpenApiUtil.query(query),
8102
+ });
8103
+ let params = new openapi_core_2.$OpenApiUtil.Params({
8104
+ action: "DescribeGlobalTimerRecords",
8105
+ version: "2020-09-30",
8106
+ protocol: "HTTPS",
8107
+ pathname: "/",
8108
+ method: "POST",
8109
+ authType: "AK",
8110
+ style: "RPC",
8111
+ reqBodyType: "formData",
8112
+ bodyType: "json",
8113
+ });
8114
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeGlobalTimerRecordsResponse({}));
8115
+ }
8116
+ /**
8117
+ * Queries the execution records of scheduled tasks on cloud computers.
8118
+ *
8119
+ * @param request - DescribeGlobalTimerRecordsRequest
8120
+ * @returns DescribeGlobalTimerRecordsResponse
8121
+ */
8122
+ async describeGlobalTimerRecords(request) {
8123
+ let runtime = new $dara.RuntimeOptions({});
8124
+ return await this.describeGlobalTimerRecordsWithOptions(request, runtime);
8125
+ }
7996
8126
  /**
7997
8127
  * Queries the applications and their processes of an end user.
7998
8128
  *
@@ -8991,6 +9121,78 @@ class Client extends openapi_core_1.default {
8991
9121
  let runtime = new $dara.RuntimeOptions({});
8992
9122
  return await this.describePriceForRenewDesktopOversoldGroupWithOptions(request, runtime);
8993
9123
  }
9124
+ /**
9125
+ * 查询录屏文件列表
9126
+ *
9127
+ * @param request - DescribeRecordFileRequest
9128
+ * @param runtime - runtime options for this request RuntimeOptions
9129
+ * @returns DescribeRecordFileResponse
9130
+ */
9131
+ async describeRecordFileWithOptions(request, runtime) {
9132
+ request.validate();
9133
+ let query = {};
9134
+ if (!$dara.isNull(request.desktopId)) {
9135
+ query["DesktopId"] = request.desktopId;
9136
+ }
9137
+ if (!$dara.isNull(request.endTime)) {
9138
+ query["EndTime"] = request.endTime;
9139
+ }
9140
+ if (!$dara.isNull(request.endUserId)) {
9141
+ query["EndUserId"] = request.endUserId;
9142
+ }
9143
+ if (!$dara.isNull(request.fileName)) {
9144
+ query["FileName"] = request.fileName;
9145
+ }
9146
+ if (!$dara.isNull(request.orderBy)) {
9147
+ query["OrderBy"] = request.orderBy;
9148
+ }
9149
+ if (!$dara.isNull(request.orderSort)) {
9150
+ query["OrderSort"] = request.orderSort;
9151
+ }
9152
+ if (!$dara.isNull(request.pageNumber)) {
9153
+ query["PageNumber"] = request.pageNumber;
9154
+ }
9155
+ if (!$dara.isNull(request.pageSize)) {
9156
+ query["PageSize"] = request.pageSize;
9157
+ }
9158
+ if (!$dara.isNull(request.recordType)) {
9159
+ query["RecordType"] = request.recordType;
9160
+ }
9161
+ if (!$dara.isNull(request.regionId)) {
9162
+ query["RegionId"] = request.regionId;
9163
+ }
9164
+ if (!$dara.isNull(request.startTime)) {
9165
+ query["StartTime"] = request.startTime;
9166
+ }
9167
+ if (!$dara.isNull(request.status)) {
9168
+ query["Status"] = request.status;
9169
+ }
9170
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
9171
+ query: openapi_core_2.OpenApiUtil.query(query),
9172
+ });
9173
+ let params = new openapi_core_2.$OpenApiUtil.Params({
9174
+ action: "DescribeRecordFile",
9175
+ version: "2020-09-30",
9176
+ protocol: "HTTPS",
9177
+ pathname: "/",
9178
+ method: "POST",
9179
+ authType: "AK",
9180
+ style: "RPC",
9181
+ reqBodyType: "formData",
9182
+ bodyType: "json",
9183
+ });
9184
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeRecordFileResponse({}));
9185
+ }
9186
+ /**
9187
+ * 查询录屏文件列表
9188
+ *
9189
+ * @param request - DescribeRecordFileRequest
9190
+ * @returns DescribeRecordFileResponse
9191
+ */
9192
+ async describeRecordFile(request) {
9193
+ let runtime = new $dara.RuntimeOptions({});
9194
+ return await this.describeRecordFileWithOptions(request, runtime);
9195
+ }
8994
9196
  /**
8995
9197
  * Queries the details of screen recording files.
8996
9198
  *
@@ -14451,6 +14653,10 @@ class Client extends openapi_core_1.default {
14451
14653
  /**
14452
14654
  * Modifies a custom cloud computer template.
14453
14655
  *
14656
+ * @remarks
14657
+ * *
14658
+ * **Warning** This operation employs the full parameter update logic to maintain compatibility between the no-configuration logic and the default update logic. In other words, any unspecified parameters are treated as empty.
14659
+ *
14454
14660
  * @param request - ModifyTemplateRequest
14455
14661
  * @param runtime - runtime options for this request RuntimeOptions
14456
14662
  * @returns ModifyTemplateResponse
@@ -14542,6 +14748,10 @@ class Client extends openapi_core_1.default {
14542
14748
  /**
14543
14749
  * Modifies a custom cloud computer template.
14544
14750
  *
14751
+ * @remarks
14752
+ * *
14753
+ * **Warning** This operation employs the full parameter update logic to maintain compatibility between the no-configuration logic and the default update logic. In other words, any unspecified parameters are treated as empty.
14754
+ *
14545
14755
  * @param request - ModifyTemplateRequest
14546
14756
  * @returns ModifyTemplateResponse
14547
14757
  */