@alicloud/ecd20200930 4.20.0 → 4.20.2

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 (40) hide show
  1. package/dist/client.d.ts +4 -0
  2. package/dist/client.js +19 -0
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/BatchModifyEntitlementResponseBody.d.ts +8 -0
  5. package/dist/models/BatchModifyEntitlementResponseBody.js.map +1 -1
  6. package/dist/models/CreateSimpleOfficeSiteRequest.d.ts +1 -0
  7. package/dist/models/CreateSimpleOfficeSiteRequest.js +2 -0
  8. package/dist/models/CreateSimpleOfficeSiteRequest.js.map +1 -1
  9. package/dist/models/DescribeDesktopTypesRequest.d.ts +1 -0
  10. package/dist/models/DescribeDesktopTypesRequest.js +2 -0
  11. package/dist/models/DescribeDesktopTypesRequest.js.map +1 -1
  12. package/dist/models/DescribeDesktopTypesResponseBody.d.ts +2 -0
  13. package/dist/models/DescribeDesktopTypesResponseBody.js +4 -0
  14. package/dist/models/DescribeDesktopTypesResponseBody.js.map +1 -1
  15. package/dist/models/DescribeDesktopsResponseBody.d.ts +2 -0
  16. package/dist/models/DescribeDesktopsResponseBody.js +4 -0
  17. package/dist/models/DescribeDesktopsResponseBody.js.map +1 -1
  18. package/dist/models/DescribeGlobalDesktopRecordsRequest.d.ts +2 -0
  19. package/dist/models/DescribeGlobalDesktopRecordsRequest.js +10 -0
  20. package/dist/models/DescribeGlobalDesktopRecordsRequest.js.map +1 -1
  21. package/dist/models/DescribeOfficeSitesResponseBody.d.ts +2 -0
  22. package/dist/models/DescribeOfficeSitesResponseBody.js +4 -0
  23. package/dist/models/DescribeOfficeSitesResponseBody.js.map +1 -1
  24. package/dist/models/DescribeSnapshotsResponseBody.d.ts +2 -0
  25. package/dist/models/DescribeSnapshotsResponseBody.js +4 -0
  26. package/dist/models/DescribeSnapshotsResponseBody.js.map +1 -1
  27. package/dist/models/DescribeSubnetsRequest.d.ts +1 -0
  28. package/dist/models/DescribeSubnetsRequest.js +2 -0
  29. package/dist/models/DescribeSubnetsRequest.js.map +1 -1
  30. package/package.json +1 -1
  31. package/src/client.ts +24 -0
  32. package/src/models/BatchModifyEntitlementResponseBody.ts +8 -0
  33. package/src/models/CreateSimpleOfficeSiteRequest.ts +3 -0
  34. package/src/models/DescribeDesktopTypesRequest.ts +3 -0
  35. package/src/models/DescribeDesktopTypesResponseBody.ts +6 -0
  36. package/src/models/DescribeDesktopsResponseBody.ts +6 -0
  37. package/src/models/DescribeGlobalDesktopRecordsRequest.ts +12 -0
  38. package/src/models/DescribeOfficeSitesResponseBody.ts +6 -0
  39. package/src/models/DescribeSnapshotsResponseBody.ts +6 -0
  40. package/src/models/DescribeSubnetsRequest.ts +3 -0
package/dist/client.d.ts CHANGED
@@ -293,6 +293,8 @@ export default class Client extends OpenApi {
293
293
  */
294
294
  attachEndUser(request: $_model.AttachEndUserRequest): Promise<$_model.AttachEndUserResponse>;
295
295
  /**
296
+ * Assigns multiple cloud computers to users in a batch.
297
+ *
296
298
  * @remarks
297
299
  * The cloud computers for which you want to change their policies must be in the Running state.
298
300
  * * 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.
@@ -304,6 +306,8 @@ export default class Client extends OpenApi {
304
306
  */
305
307
  batchModifyEntitlementWithOptions(request: $_model.BatchModifyEntitlementRequest, runtime: $dara.RuntimeOptions): Promise<$_model.BatchModifyEntitlementResponse>;
306
308
  /**
309
+ * Assigns multiple cloud computers to users in a batch.
310
+ *
307
311
  * @remarks
308
312
  * The cloud computers for which you want to change their policies must be in the Running state.
309
313
  * * 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.
package/dist/client.js CHANGED
@@ -909,6 +909,8 @@ class Client extends openapi_core_1.default {
909
909
  return await this.attachEndUserWithOptions(request, runtime);
910
910
  }
911
911
  /**
912
+ * Assigns multiple cloud computers to users in a batch.
913
+ *
912
914
  * @remarks
913
915
  * The cloud computers for which you want to change their policies must be in the Running state.
914
916
  * * 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.
@@ -959,6 +961,8 @@ class Client extends openapi_core_1.default {
959
961
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.BatchModifyEntitlementResponse({}));
960
962
  }
961
963
  /**
964
+ * Assigns multiple cloud computers to users in a batch.
965
+ *
962
966
  * @remarks
963
967
  * The cloud computers for which you want to change their policies must be in the Running state.
964
968
  * * 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.
@@ -4213,6 +4217,9 @@ class Client extends openapi_core_1.default {
4213
4217
  if (!$dara.isNull(request.domainName)) {
4214
4218
  query["DomainName"] = request.domainName;
4215
4219
  }
4220
+ if (!$dara.isNull(request.eid)) {
4221
+ query["Eid"] = request.eid;
4222
+ }
4216
4223
  if (!$dara.isNull(request.enableAdminAccess)) {
4217
4224
  query["EnableAdminAccess"] = request.enableAdminAccess;
4218
4225
  }
@@ -7212,6 +7219,9 @@ class Client extends openapi_core_1.default {
7212
7219
  if (!$dara.isNull(request.memorySize)) {
7213
7220
  query["MemorySize"] = request.memorySize;
7214
7221
  }
7222
+ if (!$dara.isNull(request.officeSiteId)) {
7223
+ query["OfficeSiteId"] = request.officeSiteId;
7224
+ }
7215
7225
  if (!$dara.isNull(request.orderBy)) {
7216
7226
  query["OrderBy"] = request.orderBy;
7217
7227
  }
@@ -8007,6 +8017,9 @@ class Client extends openapi_core_1.default {
8007
8017
  if (!$dara.isNull(request.desktopName)) {
8008
8018
  query["DesktopName"] = request.desktopName;
8009
8019
  }
8020
+ if (!$dara.isNull(request.desktopStatusList)) {
8021
+ query["DesktopStatusList"] = request.desktopStatusList;
8022
+ }
8010
8023
  if (!$dara.isNull(request.desktopType)) {
8011
8024
  query["DesktopType"] = request.desktopType;
8012
8025
  }
@@ -8016,6 +8029,9 @@ class Client extends openapi_core_1.default {
8016
8029
  if (!$dara.isNull(request.endUserId)) {
8017
8030
  query["EndUserId"] = request.endUserId;
8018
8031
  }
8032
+ if (!$dara.isNull(request.excludeDesktopStatusList)) {
8033
+ query["ExcludeDesktopStatusList"] = request.excludeDesktopStatusList;
8034
+ }
8019
8035
  if (!$dara.isNull(request.officeSiteId)) {
8020
8036
  query["OfficeSiteId"] = request.officeSiteId;
8021
8037
  }
@@ -9888,6 +9904,9 @@ class Client extends openapi_core_1.default {
9888
9904
  async describeSubnetsWithOptions(request, runtime) {
9889
9905
  request.validate();
9890
9906
  let query = {};
9907
+ if (!$dara.isNull(request.eid)) {
9908
+ query["Eid"] = request.eid;
9909
+ }
9891
9910
  if (!$dara.isNull(request.maxResults)) {
9892
9911
  query["MaxResults"] = request.maxResults;
9893
9912
  }