@alicloud/ecd20200930 4.16.3 → 4.17.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 (48) hide show
  1. package/dist/client.d.ts +48 -0
  2. package/dist/client.js +138 -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/ModifyTemplateRequest.d.ts +97 -3
  29. package/dist/models/ModifyTemplateRequest.js.map +1 -1
  30. package/dist/models/ModifyTemplateResponseBody.d.ts +15 -0
  31. package/dist/models/ModifyTemplateResponseBody.js.map +1 -1
  32. package/dist/models/model.d.ts +8 -0
  33. package/dist/models/model.js +36 -20
  34. package/dist/models/model.js.map +1 -1
  35. package/package.json +1 -1
  36. package/src/client.ts +158 -0
  37. package/src/models/BatchModifyEntitlementRequest.ts +24 -0
  38. package/src/models/BatchModifyEntitlementResponseBody.ts +35 -0
  39. package/src/models/DescribeGlobalTimerBatchesRequest.ts +66 -0
  40. package/src/models/DescribeGlobalTimerBatchesResponse.ts +40 -0
  41. package/src/models/DescribeGlobalTimerBatchesResponseBody.ts +123 -0
  42. package/src/models/DescribeGlobalTimerRecordsRequest.ts +144 -0
  43. package/src/models/DescribeGlobalTimerRecordsResponse.ts +40 -0
  44. package/src/models/DescribeGlobalTimerRecordsResponseBody.ts +180 -0
  45. package/src/models/DescribeOfficeSitesRequest.ts +7 -0
  46. package/src/models/ModifyTemplateRequest.ts +97 -3
  47. package/src/models/ModifyTemplateResponseBody.ts +15 -0
  48. package/src/models/model.ts +8 -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
  *
@@ -3938,6 +3978,10 @@ export default class Client extends OpenApi {
3938
3978
  /**
3939
3979
  * Modifies a custom cloud computer template.
3940
3980
  *
3981
+ * @remarks
3982
+ * *
3983
+ * **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.
3984
+ *
3941
3985
  * @param request - ModifyTemplateRequest
3942
3986
  * @param runtime - runtime options for this request RuntimeOptions
3943
3987
  * @returns ModifyTemplateResponse
@@ -3946,6 +3990,10 @@ export default class Client extends OpenApi {
3946
3990
  /**
3947
3991
  * Modifies a custom cloud computer template.
3948
3992
  *
3993
+ * @remarks
3994
+ * *
3995
+ * **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.
3996
+ *
3949
3997
  * @param request - ModifyTemplateRequest
3950
3998
  * @returns ModifyTemplateResponse
3951
3999
  */
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
  *
@@ -14451,6 +14581,10 @@ class Client extends openapi_core_1.default {
14451
14581
  /**
14452
14582
  * Modifies a custom cloud computer template.
14453
14583
  *
14584
+ * @remarks
14585
+ * *
14586
+ * **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.
14587
+ *
14454
14588
  * @param request - ModifyTemplateRequest
14455
14589
  * @param runtime - runtime options for this request RuntimeOptions
14456
14590
  * @returns ModifyTemplateResponse
@@ -14542,6 +14676,10 @@ class Client extends openapi_core_1.default {
14542
14676
  /**
14543
14677
  * Modifies a custom cloud computer template.
14544
14678
  *
14679
+ * @remarks
14680
+ * *
14681
+ * **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.
14682
+ *
14545
14683
  * @param request - ModifyTemplateRequest
14546
14684
  * @returns ModifyTemplateResponse
14547
14685
  */