@alicloud/ecd20200930 4.25.5 → 5.0.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 (78) hide show
  1. package/dist/client.d.ts +66 -103
  2. package/dist/client.js +104 -142
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateAndBindNasFileSystemRequest.d.ts +7 -19
  5. package/dist/models/CreateAndBindNasFileSystemRequest.js.map +1 -1
  6. package/dist/models/CreateDesktopsRequest.d.ts +106 -128
  7. package/dist/models/CreateDesktopsRequest.js +4 -0
  8. package/dist/models/CreateDesktopsRequest.js.map +1 -1
  9. package/dist/models/CreateDesktopsResponseBody.d.ts +2 -3
  10. package/dist/models/CreateDesktopsResponseBody.js.map +1 -1
  11. package/dist/models/CreateDesktopsShrinkRequest.d.ts +89 -99
  12. package/dist/models/CreateDesktopsShrinkRequest.js +4 -0
  13. package/dist/models/CreateDesktopsShrinkRequest.js.map +1 -1
  14. package/dist/models/CreateNetworkPackageRequest.d.ts +32 -25
  15. package/dist/models/CreateNetworkPackageRequest.js +27 -1
  16. package/dist/models/CreateNetworkPackageRequest.js.map +1 -1
  17. package/dist/models/CreateNetworkPackageResponseBody.d.ts +3 -3
  18. package/dist/models/DescribeCenterPolicyListRequest.d.ts +5 -4
  19. package/dist/models/DescribeCenterPolicyListRequest.js.map +1 -1
  20. package/dist/models/DescribeCenterPolicyListResponseBody.d.ts +85 -84
  21. package/dist/models/DescribeCenterPolicyListResponseBody.js +10 -0
  22. package/dist/models/DescribeCenterPolicyListResponseBody.js.map +1 -1
  23. package/dist/models/DescribeNetworkPackagesRequest.d.ts +22 -14
  24. package/dist/models/DescribeNetworkPackagesRequest.js +27 -1
  25. package/dist/models/DescribeNetworkPackagesRequest.js.map +1 -1
  26. package/dist/models/DescribeNetworkPackagesResponseBody.d.ts +36 -98
  27. package/dist/models/DescribeNetworkPackagesResponseBody.js +27 -1
  28. package/dist/models/DescribeNetworkPackagesResponseBody.js.map +1 -1
  29. package/dist/models/DescribeTemplatesRequest.d.ts +11 -11
  30. package/dist/models/DescribeTemplatesResponseBody.d.ts +45 -45
  31. package/dist/models/ListTagResourcesRequest.d.ts +7 -11
  32. package/dist/models/ListTagResourcesRequest.js.map +1 -1
  33. package/dist/models/ListTagResourcesResponseBody.d.ts +5 -9
  34. package/dist/models/ListTagResourcesResponseBody.js.map +1 -1
  35. package/dist/models/ModifyAutoSnapshotPolicyRequest.d.ts +11 -4
  36. package/dist/models/ModifyAutoSnapshotPolicyRequest.js.map +1 -1
  37. package/dist/models/SetDirectorySsoStatusRequest.d.ts +4 -6
  38. package/dist/models/SetDirectorySsoStatusRequest.js.map +1 -1
  39. package/dist/models/TagResourcesRequest.d.ts +6 -10
  40. package/dist/models/TagResourcesRequest.js.map +1 -1
  41. package/dist/models/UntagResourcesRequest.d.ts +2 -6
  42. package/dist/models/UntagResourcesRequest.js.map +1 -1
  43. package/dist/models/model.d.ts +3 -4
  44. package/dist/models/model.js +37 -39
  45. package/dist/models/model.js.map +1 -1
  46. package/package.json +1 -1
  47. package/src/client.ts +108 -150
  48. package/src/models/CreateAndBindNasFileSystemRequest.ts +7 -19
  49. package/src/models/CreateDesktopsRequest.ts +110 -128
  50. package/src/models/CreateDesktopsResponseBody.ts +2 -3
  51. package/src/models/CreateDesktopsShrinkRequest.ts +93 -99
  52. package/src/models/CreateNetworkPackageRequest.ts +49 -25
  53. package/src/models/CreateNetworkPackageResponseBody.ts +3 -3
  54. package/src/models/DescribeCenterPolicyListRequest.ts +5 -4
  55. package/src/models/DescribeCenterPolicyListResponseBody.ts +95 -84
  56. package/src/models/DescribeNetworkPackagesRequest.ts +39 -14
  57. package/src/models/DescribeNetworkPackagesResponseBody.ts +53 -98
  58. package/src/models/DescribeTemplatesRequest.ts +11 -11
  59. package/src/models/DescribeTemplatesResponseBody.ts +45 -45
  60. package/src/models/ListTagResourcesRequest.ts +7 -11
  61. package/src/models/ListTagResourcesResponseBody.ts +5 -9
  62. package/src/models/ModifyAutoSnapshotPolicyRequest.ts +11 -4
  63. package/src/models/SetDirectorySsoStatusRequest.ts +4 -6
  64. package/src/models/TagResourcesRequest.ts +6 -10
  65. package/src/models/UntagResourcesRequest.ts +2 -6
  66. package/src/models/model.ts +3 -4
  67. package/dist/models/DescribeFlowStatisticRequest.d.ts +0 -76
  68. package/dist/models/DescribeFlowStatisticRequest.js +0 -68
  69. package/dist/models/DescribeFlowStatisticRequest.js.map +0 -1
  70. package/dist/models/DescribeFlowStatisticResponse.d.ts +0 -19
  71. package/dist/models/DescribeFlowStatisticResponse.js +0 -69
  72. package/dist/models/DescribeFlowStatisticResponse.js.map +0 -1
  73. package/dist/models/DescribeFlowStatisticResponseBody.d.ts +0 -78
  74. package/dist/models/DescribeFlowStatisticResponseBody.js +0 -90
  75. package/dist/models/DescribeFlowStatisticResponseBody.js.map +0 -1
  76. package/src/models/DescribeFlowStatisticRequest.ts +0 -99
  77. package/src/models/DescribeFlowStatisticResponse.ts +0 -40
  78. package/src/models/DescribeFlowStatisticResponseBody.ts +0 -114
package/src/client.ts CHANGED
@@ -12,6 +12,32 @@ export default class Client extends OpenApi {
12
12
  constructor(config: $OpenApiUtil.Config) {
13
13
  super(config);
14
14
  this._endpointRule = "regional";
15
+ this._endpointMap = {
16
+ 'us-west-1': "ecd.us-west-1.aliyuncs.com",
17
+ 'us-east-1': "ecd.us-east-1.aliyuncs.com",
18
+ 'me-east-1': "ecd.me-east-1.aliyuncs.com",
19
+ 'me-central-1': "ecd.me-central-1.aliyuncs.com",
20
+ 'eu-west-1': "ecd.eu-west-1.aliyuncs.com",
21
+ 'eu-central-1': "ecd.eu-central-1.aliyuncs.com",
22
+ 'cn-zhangjiakou': "ecd.cn-zhangjiakou.aliyuncs.com",
23
+ 'cn-wulanchabu': "ecd.cn-wulanchabu.aliyuncs.com",
24
+ 'cn-shenzhen': "ecd.cn-shenzhen.aliyuncs.com",
25
+ 'cn-shanghai-finance-1': "ecd.cn-shanghai-finance-1.aliyuncs.com",
26
+ 'cn-shanghai': "ecd.cn-shanghai.aliyuncs.com",
27
+ 'cn-qingdao': "ecd.cn-qingdao.aliyuncs.com",
28
+ 'cn-nanjing': "ecd.cn-nanjing.aliyuncs.com",
29
+ 'cn-hongkong': "ecd.cn-hongkong.aliyuncs.com",
30
+ 'cn-hangzhou-finance': "ecd.cn-hangzhou-finance.aliyuncs.com",
31
+ 'cn-hangzhou': "ecd.cn-hangzhou.aliyuncs.com",
32
+ 'cn-guangzhou': "ecd.cn-guangzhou.aliyuncs.com",
33
+ 'cn-chengdu': "ecd.cn-chengdu.aliyuncs.com",
34
+ 'cn-beijing': "ecd.cn-beijing.aliyuncs.com",
35
+ 'ap-southeast-7': "ecd.ap-southeast-7.aliyuncs.com",
36
+ 'ap-southeast-6': "ecd.ap-southeast-6.aliyuncs.com",
37
+ 'ap-southeast-5': "ecd.ap-southeast-5.aliyuncs.com",
38
+ 'ap-southeast-1': "ecd.ap-southeast-1.aliyuncs.com",
39
+ 'ap-northeast-1': "ecd.ap-northeast-1.aliyuncs.com",
40
+ };
15
41
  this.checkConfig(config);
16
42
  this._endpoint = this.getEndpoint("ecd", this._regionId, this._endpointRule, this._network, this._suffix, this._endpointMap, this._endpoint);
17
43
  }
@@ -1972,7 +1998,7 @@ export default class Client extends OpenApi {
1972
1998
  }
1973
1999
 
1974
2000
  /**
1975
- * Creates a NAS file system and associate it with the office network of the shared cloud computer.
2001
+ * Creates a NAS file system and binds it to the office network of a shared cloud computer.
1976
2002
  *
1977
2003
  * @param request - CreateAndBindNasFileSystemRequest
1978
2004
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2031,7 +2057,7 @@ export default class Client extends OpenApi {
2031
2057
  }
2032
2058
 
2033
2059
  /**
2034
- * Creates a NAS file system and associate it with the office network of the shared cloud computer.
2060
+ * Creates a NAS file system and binds it to the office network of a shared cloud computer.
2035
2061
  *
2036
2062
  * @param request - CreateAndBindNasFileSystemRequest
2037
2063
  * @returns CreateAndBindNasFileSystemResponse
@@ -3686,25 +3712,23 @@ export default class Client extends OpenApi {
3686
3712
  }
3687
3713
 
3688
3714
  /**
3689
- * Creates one or more Elastic Desktop Service (EDS) desktops. If you provide user information, the desktops are automatically assigned to the specified users.
3715
+ * Creates one or more cloud desktops. If user information is specified during creation, the cloud desktops are directly assigned to the users.
3690
3716
  *
3691
3717
  * @remarks
3692
- * Before you create a cloud desktop, meet the following requirements:
3693
- * - Create an office site (formerly a workspace) and users:
3694
- * - Simple office site: [CreateSimpleOfficeSite](https://help.aliyun.com/document_detail/215416.html) and [CreateUsers](https://help.aliyun.com/document_detail/437832.html).
3695
- * - AD connector office site: [CreateADConnectorOfficeSite](https://help.aliyun.com/document_detail/215417.html) and [Create AD users](https://help.aliyun.com/document_detail/188619.html).
3696
- * - Call [CreatePolicyGroup](https://help.aliyun.com/document_detail/188889.html) to create a policy, or use an existing policy.
3697
- * **Request examples**
3718
+ * Before creating cloud desktops, complete the following preparations:
3719
+ * - Create an office network (formerly workspace) and users. For more information, see the following API operations or documentation:
3720
+ * - Convenience office network: [CreateSimpleOfficeSite](https://help.aliyun.com/document_detail/215416.html) and [CreateUsers](https://help.aliyun.com/document_detail/437832.html).
3721
+ * - AD office network: [CreateADConnectorOfficeSite](https://help.aliyun.com/document_detail/215417.html) and [Create AD users](https://help.aliyun.com/document_detail/188619.html).
3722
+ * - Call [CreatePolicyGroup](https://help.aliyun.com/document_detail/188889.html) to create a policy, or confirm that an existing policy is available.
3723
+ * **Call examples:**
3698
3724
  * <details>
3699
- * <summary>
3700
- * Example: Create a cloud desktop from a bundle
3701
- * </summary>
3725
+ * <summary>Example of creating with a template</summary>
3702
3726
  * ```
3703
3727
  * {
3704
- * "RegionId": "cn-hangzhou",
3728
+ * "RegionId": "ap-southeast-1",
3705
3729
  * "DesktopName": "test-desktop-name",
3706
3730
  * "Amount": "1",
3707
- * "OfficeSiteId": "cn-hangzhou+dir-xxx",// You must create an office site in advance.
3731
+ * "OfficeSiteId": "ap-southeast-1+dir-xxx",// Create an office network in advance
3708
3732
  * "PolicyGroupId": "system-all-enabled-policy",
3709
3733
  * "ChargeType": "PostPaid",
3710
3734
  * "BundleId": "b-enterprise_office_8c16g_windows2022"
@@ -3712,15 +3736,13 @@ export default class Client extends OpenApi {
3712
3736
  * ```
3713
3737
  * </details>
3714
3738
  * <details>
3715
- * <summary>
3716
- * Example: Create a cloud desktop with custom settings
3717
- * </summary>
3739
+ * <summary>Example of creating without a template</summary>
3718
3740
  * ```
3719
3741
  * {
3720
- * "RegionId": "cn-hangzhou",
3742
+ * "RegionId": "ap-southeast-1",
3721
3743
  * "DesktopName": "test-desktop-name",
3722
3744
  * "Amount": "1",
3723
- * "OfficeSiteId": "cn-hangzhou+dir-xxx",// You must create an office site in advance.
3745
+ * "OfficeSiteId": "ap-southeast-1+dir-xxx",// Create an office network in advance
3724
3746
  * "PolicyGroupId": "system-all-enabled-policy",
3725
3747
  * "ChargeType": "PostPaid",
3726
3748
  * "DesktopAttachment": {
@@ -3734,15 +3756,13 @@ export default class Client extends OpenApi {
3734
3756
  * ```
3735
3757
  * </details>
3736
3758
  * <details>
3737
- * <summary>
3738
- * Example: Create a cloud desktop with a monthly usage package
3739
- * </summary>
3759
+ * <summary>Example of creating a monthly hourly package</summary>
3740
3760
  * ```
3741
3761
  * {
3742
- * "RegionId": "cn-hangzhou",
3762
+ * "RegionId": "ap-southeast-1",
3743
3763
  * "DesktopName": "test-desktop-name",
3744
3764
  * "Amount": "1",
3745
- * "OfficeSiteId": "cn-hangzhou+dir-xxx",// You must create an office site in advance.
3765
+ * "OfficeSiteId": "ap-southeast-1+dir-xxx",// Create an office network in advance
3746
3766
  * "PolicyGroupId": "system-all-enabled-policy",
3747
3767
  * "ChargeType": "PostPaid",
3748
3768
  * "DesktopAttachment": {
@@ -3761,16 +3781,14 @@ export default class Client extends OpenApi {
3761
3781
  * ```
3762
3782
  * </details>
3763
3783
  * <details>
3764
- * <summary>
3765
- * Example: Create an agent resource
3766
- * </summary>
3784
+ * <summary>Example of creating an Agent resource</summary>
3767
3785
  * ```
3768
3786
  * {
3769
- * "RegionId": "cn-hangzhou",
3787
+ * "RegionId": "ap-southeast-1",
3770
3788
  * "BundleId": "b-openclaw-linux",
3771
3789
  * "DesktopName": "test-desktop-name",
3772
3790
  * "Amount": "1",
3773
- * "OfficeSiteId": "cn-hangzhou+dir-xxx",// You must create an office site in advance.
3791
+ * "OfficeSiteId": "ap-southeast-1+dir-xxx",// Create an office network in advance
3774
3792
  * "ChargeType": "PostPaid",
3775
3793
  * "DesktopAttachment": {
3776
3794
  * "DesktopType": "cloud.space.4c.8g"
@@ -3783,7 +3801,7 @@ export default class Client extends OpenApi {
3783
3801
  * }
3784
3802
  * ```
3785
3803
  * </details>
3786
- * To automatically run user commands on a cloud desktop, configure the `UserCommands` parameter.
3804
+ * To have cloud desktops automatically run custom command scripts, use the `UserCommands` field to configure custom commands.
3787
3805
  *
3788
3806
  * @param tmpReq - CreateDesktopsRequest
3789
3807
  * @param runtime - runtime options for this request RuntimeOptions
@@ -3882,6 +3900,10 @@ export default class Client extends OpenApi {
3882
3900
  query["OfficeSiteId"] = request.officeSiteId;
3883
3901
  }
3884
3902
 
3903
+ if (!$dara.isNull(request.ouPath)) {
3904
+ query["OuPath"] = request.ouPath;
3905
+ }
3906
+
3885
3907
  if (!$dara.isNull(request.period)) {
3886
3908
  query["Period"] = request.period;
3887
3909
  }
@@ -3926,6 +3948,10 @@ export default class Client extends OpenApi {
3926
3948
  query["SnapshotPolicyId"] = request.snapshotPolicyId;
3927
3949
  }
3928
3950
 
3951
+ if (!$dara.isNull(request.subPayType)) {
3952
+ query["SubPayType"] = request.subPayType;
3953
+ }
3954
+
3929
3955
  if (!$dara.isNull(request.subnetId)) {
3930
3956
  query["SubnetId"] = request.subnetId;
3931
3957
  }
@@ -3980,25 +4006,23 @@ export default class Client extends OpenApi {
3980
4006
  }
3981
4007
 
3982
4008
  /**
3983
- * Creates one or more Elastic Desktop Service (EDS) desktops. If you provide user information, the desktops are automatically assigned to the specified users.
4009
+ * Creates one or more cloud desktops. If user information is specified during creation, the cloud desktops are directly assigned to the users.
3984
4010
  *
3985
4011
  * @remarks
3986
- * Before you create a cloud desktop, meet the following requirements:
3987
- * - Create an office site (formerly a workspace) and users:
3988
- * - Simple office site: [CreateSimpleOfficeSite](https://help.aliyun.com/document_detail/215416.html) and [CreateUsers](https://help.aliyun.com/document_detail/437832.html).
3989
- * - AD connector office site: [CreateADConnectorOfficeSite](https://help.aliyun.com/document_detail/215417.html) and [Create AD users](https://help.aliyun.com/document_detail/188619.html).
3990
- * - Call [CreatePolicyGroup](https://help.aliyun.com/document_detail/188889.html) to create a policy, or use an existing policy.
3991
- * **Request examples**
4012
+ * Before creating cloud desktops, complete the following preparations:
4013
+ * - Create an office network (formerly workspace) and users. For more information, see the following API operations or documentation:
4014
+ * - Convenience office network: [CreateSimpleOfficeSite](https://help.aliyun.com/document_detail/215416.html) and [CreateUsers](https://help.aliyun.com/document_detail/437832.html).
4015
+ * - AD office network: [CreateADConnectorOfficeSite](https://help.aliyun.com/document_detail/215417.html) and [Create AD users](https://help.aliyun.com/document_detail/188619.html).
4016
+ * - Call [CreatePolicyGroup](https://help.aliyun.com/document_detail/188889.html) to create a policy, or confirm that an existing policy is available.
4017
+ * **Call examples:**
3992
4018
  * <details>
3993
- * <summary>
3994
- * Example: Create a cloud desktop from a bundle
3995
- * </summary>
4019
+ * <summary>Example of creating with a template</summary>
3996
4020
  * ```
3997
4021
  * {
3998
- * "RegionId": "cn-hangzhou",
4022
+ * "RegionId": "ap-southeast-1",
3999
4023
  * "DesktopName": "test-desktop-name",
4000
4024
  * "Amount": "1",
4001
- * "OfficeSiteId": "cn-hangzhou+dir-xxx",// You must create an office site in advance.
4025
+ * "OfficeSiteId": "ap-southeast-1+dir-xxx",// Create an office network in advance
4002
4026
  * "PolicyGroupId": "system-all-enabled-policy",
4003
4027
  * "ChargeType": "PostPaid",
4004
4028
  * "BundleId": "b-enterprise_office_8c16g_windows2022"
@@ -4006,15 +4030,13 @@ export default class Client extends OpenApi {
4006
4030
  * ```
4007
4031
  * </details>
4008
4032
  * <details>
4009
- * <summary>
4010
- * Example: Create a cloud desktop with custom settings
4011
- * </summary>
4033
+ * <summary>Example of creating without a template</summary>
4012
4034
  * ```
4013
4035
  * {
4014
- * "RegionId": "cn-hangzhou",
4036
+ * "RegionId": "ap-southeast-1",
4015
4037
  * "DesktopName": "test-desktop-name",
4016
4038
  * "Amount": "1",
4017
- * "OfficeSiteId": "cn-hangzhou+dir-xxx",// You must create an office site in advance.
4039
+ * "OfficeSiteId": "ap-southeast-1+dir-xxx",// Create an office network in advance
4018
4040
  * "PolicyGroupId": "system-all-enabled-policy",
4019
4041
  * "ChargeType": "PostPaid",
4020
4042
  * "DesktopAttachment": {
@@ -4028,15 +4050,13 @@ export default class Client extends OpenApi {
4028
4050
  * ```
4029
4051
  * </details>
4030
4052
  * <details>
4031
- * <summary>
4032
- * Example: Create a cloud desktop with a monthly usage package
4033
- * </summary>
4053
+ * <summary>Example of creating a monthly hourly package</summary>
4034
4054
  * ```
4035
4055
  * {
4036
- * "RegionId": "cn-hangzhou",
4056
+ * "RegionId": "ap-southeast-1",
4037
4057
  * "DesktopName": "test-desktop-name",
4038
4058
  * "Amount": "1",
4039
- * "OfficeSiteId": "cn-hangzhou+dir-xxx",// You must create an office site in advance.
4059
+ * "OfficeSiteId": "ap-southeast-1+dir-xxx",// Create an office network in advance
4040
4060
  * "PolicyGroupId": "system-all-enabled-policy",
4041
4061
  * "ChargeType": "PostPaid",
4042
4062
  * "DesktopAttachment": {
@@ -4055,16 +4075,14 @@ export default class Client extends OpenApi {
4055
4075
  * ```
4056
4076
  * </details>
4057
4077
  * <details>
4058
- * <summary>
4059
- * Example: Create an agent resource
4060
- * </summary>
4078
+ * <summary>Example of creating an Agent resource</summary>
4061
4079
  * ```
4062
4080
  * {
4063
- * "RegionId": "cn-hangzhou",
4081
+ * "RegionId": "ap-southeast-1",
4064
4082
  * "BundleId": "b-openclaw-linux",
4065
4083
  * "DesktopName": "test-desktop-name",
4066
4084
  * "Amount": "1",
4067
- * "OfficeSiteId": "cn-hangzhou+dir-xxx",// You must create an office site in advance.
4085
+ * "OfficeSiteId": "ap-southeast-1+dir-xxx",// Create an office network in advance
4068
4086
  * "ChargeType": "PostPaid",
4069
4087
  * "DesktopAttachment": {
4070
4088
  * "DesktopType": "cloud.space.4c.8g"
@@ -4077,7 +4095,7 @@ export default class Client extends OpenApi {
4077
4095
  * }
4078
4096
  * ```
4079
4097
  * </details>
4080
- * To automatically run user commands on a cloud desktop, configure the `UserCommands` parameter.
4098
+ * To have cloud desktops automatically run custom command scripts, use the `UserCommands` field to configure custom commands.
4081
4099
  *
4082
4100
  * @param request - CreateDesktopsRequest
4083
4101
  * @returns CreateDesktopsResponse
@@ -4554,7 +4572,7 @@ export default class Client extends OpenApi {
4554
4572
  }
4555
4573
 
4556
4574
  /**
4557
- * Creates a network package for an office network.
4575
+ * Creates a premium bandwidth plan for an office network.
4558
4576
  *
4559
4577
  * @param request - CreateNetworkPackageRequest
4560
4578
  * @param runtime - runtime options for this request RuntimeOptions
@@ -4611,6 +4629,10 @@ export default class Client extends OpenApi {
4611
4629
  query["ResellerOwnerUid"] = request.resellerOwnerUid;
4612
4630
  }
4613
4631
 
4632
+ if (!$dara.isNull(request.tag)) {
4633
+ query["Tag"] = request.tag;
4634
+ }
4635
+
4614
4636
  let req = new $OpenApiUtil.OpenApiRequest({
4615
4637
  query: OpenApiUtil.query(query),
4616
4638
  });
@@ -4629,7 +4651,7 @@ export default class Client extends OpenApi {
4629
4651
  }
4630
4652
 
4631
4653
  /**
4632
- * Creates a network package for an office network.
4654
+ * Creates a premium bandwidth plan for an office network.
4633
4655
  *
4634
4656
  * @param request - CreateNetworkPackageRequest
4635
4657
  * @returns CreateNetworkPackageResponse
@@ -7529,7 +7551,7 @@ export default class Client extends OpenApi {
7529
7551
  }
7530
7552
 
7531
7553
  /**
7532
- * Query details of policies that are not region-specific.
7554
+ * Queries the details of region-free policies.
7533
7555
  *
7534
7556
  * @param request - DescribeCenterPolicyListRequest
7535
7557
  * @param runtime - runtime options for this request RuntimeOptions
@@ -7592,7 +7614,7 @@ export default class Client extends OpenApi {
7592
7614
  }
7593
7615
 
7594
7616
  /**
7595
- * Query details of policies that are not region-specific.
7617
+ * Queries the details of region-free policies.
7596
7618
  *
7597
7619
  * @param request - DescribeCenterPolicyListRequest
7598
7620
  * @returns DescribeCenterPolicyListResponse
@@ -9506,74 +9528,6 @@ export default class Client extends OpenApi {
9506
9528
  return await this.describeFlowMetricWithOptions(request, runtime);
9507
9529
  }
9508
9530
 
9509
- /**
9510
- * Queries cloud computer-level traffic statistics of a single office network.
9511
- *
9512
- * @remarks
9513
- * > You can query only the traffic data in the last 90 days.
9514
- *
9515
- * @param request - DescribeFlowStatisticRequest
9516
- * @param runtime - runtime options for this request RuntimeOptions
9517
- * @returns DescribeFlowStatisticResponse
9518
- */
9519
- async describeFlowStatisticWithOptions(request: $_model.DescribeFlowStatisticRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeFlowStatisticResponse> {
9520
- request.validate();
9521
- let query = { };
9522
- if (!$dara.isNull(request.desktopId)) {
9523
- query["DesktopId"] = request.desktopId;
9524
- }
9525
-
9526
- if (!$dara.isNull(request.officeSiteId)) {
9527
- query["OfficeSiteId"] = request.officeSiteId;
9528
- }
9529
-
9530
- if (!$dara.isNull(request.pageNumber)) {
9531
- query["PageNumber"] = request.pageNumber;
9532
- }
9533
-
9534
- if (!$dara.isNull(request.pageSize)) {
9535
- query["PageSize"] = request.pageSize;
9536
- }
9537
-
9538
- if (!$dara.isNull(request.period)) {
9539
- query["Period"] = request.period;
9540
- }
9541
-
9542
- if (!$dara.isNull(request.regionId)) {
9543
- query["RegionId"] = request.regionId;
9544
- }
9545
-
9546
- let req = new $OpenApiUtil.OpenApiRequest({
9547
- query: OpenApiUtil.query(query),
9548
- });
9549
- let params = new $OpenApiUtil.Params({
9550
- action: "DescribeFlowStatistic",
9551
- version: "2020-09-30",
9552
- protocol: "HTTPS",
9553
- pathname: "/",
9554
- method: "POST",
9555
- authType: "AK",
9556
- style: "RPC",
9557
- reqBodyType: "formData",
9558
- bodyType: "json",
9559
- });
9560
- return $dara.cast<$_model.DescribeFlowStatisticResponse>(await this.callApi(params, req, runtime), new $_model.DescribeFlowStatisticResponse({}));
9561
- }
9562
-
9563
- /**
9564
- * Queries cloud computer-level traffic statistics of a single office network.
9565
- *
9566
- * @remarks
9567
- * > You can query only the traffic data in the last 90 days.
9568
- *
9569
- * @param request - DescribeFlowStatisticRequest
9570
- * @returns DescribeFlowStatisticResponse
9571
- */
9572
- async describeFlowStatistic(request: $_model.DescribeFlowStatisticRequest): Promise<$_model.DescribeFlowStatisticResponse> {
9573
- let runtime = new $dara.RuntimeOptions({ });
9574
- return await this.describeFlowStatisticWithOptions(request, runtime);
9575
- }
9576
-
9577
9531
  /**
9578
9532
  * 查询DNAT条目
9579
9533
  *
@@ -10715,7 +10669,7 @@ export default class Client extends OpenApi {
10715
10669
  }
10716
10670
 
10717
10671
  /**
10718
- * Queries the details of one or more premium bandwidth plans.
10672
+ * Queries the details of one or more premium Internet bandwidth plans.
10719
10673
  *
10720
10674
  * @param request - DescribeNetworkPackagesRequest
10721
10675
  * @param runtime - runtime options for this request RuntimeOptions
@@ -10744,6 +10698,10 @@ export default class Client extends OpenApi {
10744
10698
  query["RegionId"] = request.regionId;
10745
10699
  }
10746
10700
 
10701
+ if (!$dara.isNull(request.tag)) {
10702
+ query["Tag"] = request.tag;
10703
+ }
10704
+
10747
10705
  let req = new $OpenApiUtil.OpenApiRequest({
10748
10706
  query: OpenApiUtil.query(query),
10749
10707
  });
@@ -10762,7 +10720,7 @@ export default class Client extends OpenApi {
10762
10720
  }
10763
10721
 
10764
10722
  /**
10765
- * Queries the details of one or more premium bandwidth plans.
10723
+ * Queries the details of one or more premium Internet bandwidth plans.
10766
10724
  *
10767
10725
  * @param request - DescribeNetworkPackagesRequest
10768
10726
  * @returns DescribeNetworkPackagesResponse
@@ -12157,7 +12115,7 @@ export default class Client extends OpenApi {
12157
12115
  }
12158
12116
 
12159
12117
  /**
12160
- * Query the details of Cloud Desktop templates.
12118
+ * Queries the details of cloud computer templates.
12161
12119
  *
12162
12120
  * @param request - DescribeTemplatesRequest
12163
12121
  * @param runtime - runtime options for this request RuntimeOptions
@@ -12224,7 +12182,7 @@ export default class Client extends OpenApi {
12224
12182
  }
12225
12183
 
12226
12184
  /**
12227
- * Query the details of Cloud Desktop templates.
12185
+ * Queries the details of cloud computer templates.
12228
12186
  *
12229
12187
  * @param request - DescribeTemplatesRequest
12230
12188
  * @returns DescribeTemplatesResponse
@@ -14165,10 +14123,10 @@ export default class Client extends OpenApi {
14165
14123
  }
14166
14124
 
14167
14125
  /**
14168
- * Queries the tags of cloud computers.
14126
+ * Queries the list of tags that are added to cloud computers.
14169
14127
  *
14170
14128
  * @remarks
14171
- * You must use at least one of the following parameters in the request to determine the object that you want to query: `ResourceId.N`, `Tag.N.Key`, and `Tag.N.Value`.
14129
+ * You must specify at least one of the following parameters in the request to specify the query object: `ResourceId.N`, `Tag.N.Key`, or `Tag.N.Value`.
14172
14130
  *
14173
14131
  * @param request - ListTagResourcesRequest
14174
14132
  * @param runtime - runtime options for this request RuntimeOptions
@@ -14219,10 +14177,10 @@ export default class Client extends OpenApi {
14219
14177
  }
14220
14178
 
14221
14179
  /**
14222
- * Queries the tags of cloud computers.
14180
+ * Queries the list of tags that are added to cloud computers.
14223
14181
  *
14224
14182
  * @remarks
14225
- * You must use at least one of the following parameters in the request to determine the object that you want to query: `ResourceId.N`, `Tag.N.Key`, and `Tag.N.Value`.
14183
+ * You must specify at least one of the following parameters in the request to specify the query object: `ResourceId.N`, `Tag.N.Key`, or `Tag.N.Value`.
14226
14184
  *
14227
14185
  * @param request - ListTagResourcesRequest
14228
14186
  * @returns ListTagResourcesResponse
@@ -14799,7 +14757,7 @@ export default class Client extends OpenApi {
14799
14757
  }
14800
14758
 
14801
14759
  /**
14802
- * Modifies the name and snapshot retention period of an automatic snapshot policy.
14760
+ * Modifies the configuration items of an automatic snapshot policy, including the policy name and snapshot retention period.
14803
14761
  *
14804
14762
  * @param request - ModifyAutoSnapshotPolicyRequest
14805
14763
  * @param runtime - runtime options for this request RuntimeOptions
@@ -14850,7 +14808,7 @@ export default class Client extends OpenApi {
14850
14808
  }
14851
14809
 
14852
14810
  /**
14853
- * Modifies the name and snapshot retention period of an automatic snapshot policy.
14811
+ * Modifies the configuration items of an automatic snapshot policy, including the policy name and snapshot retention period.
14854
14812
  *
14855
14813
  * @param request - ModifyAutoSnapshotPolicyRequest
14856
14814
  * @returns ModifyAutoSnapshotPolicyResponse
@@ -19966,10 +19924,10 @@ export default class Client extends OpenApi {
19966
19924
  }
19967
19925
 
19968
19926
  /**
19969
- * Enables or disables the single sign-on (SSO) feature for an Active Directory (AD) account-based office network.
19927
+ * Enables or disables the single sign-on (SSO) feature for an AD-based office network.
19970
19928
  *
19971
19929
  * @remarks
19972
- * This operation is supported only for AD directories, not for RAM directories.
19930
+ * This operation has the same effect as [SetOfficeSiteSsoStatus](~~SetOfficeSiteSsoStatus~~). Use the SetOfficeSiteSsoStatus operation instead.
19973
19931
  *
19974
19932
  * @param request - SetDirectorySsoStatusRequest
19975
19933
  * @param runtime - runtime options for this request RuntimeOptions
@@ -20008,10 +19966,10 @@ export default class Client extends OpenApi {
20008
19966
  }
20009
19967
 
20010
19968
  /**
20011
- * Enables or disables the single sign-on (SSO) feature for an Active Directory (AD) account-based office network.
19969
+ * Enables or disables the single sign-on (SSO) feature for an AD-based office network.
20012
19970
  *
20013
19971
  * @remarks
20014
- * This operation is supported only for AD directories, not for RAM directories.
19972
+ * This operation has the same effect as [SetOfficeSiteSsoStatus](~~SetOfficeSiteSsoStatus~~). Use the SetOfficeSiteSsoStatus operation instead.
20015
19973
  *
20016
19974
  * @param request - SetDirectorySsoStatusRequest
20017
19975
  * @returns SetDirectorySsoStatusResponse
@@ -20368,10 +20326,10 @@ export default class Client extends OpenApi {
20368
20326
  }
20369
20327
 
20370
20328
  /**
20371
- * Adds tags to cloud computers. This allows you to filter and manage cloud computers by tag.
20329
+ * Adds tags to specified cloud desktops. This makes it easier to filter and manage cloud desktops by tag.
20372
20330
  *
20373
20331
  * @remarks
20374
- * If TagKey is specified, the new TagValue value overrides the original TagValue value.
20332
+ * If the specified TagKey already exists, the new TagValue overwrites the original TagValue.
20375
20333
  *
20376
20334
  * @param request - TagResourcesRequest
20377
20335
  * @param runtime - runtime options for this request RuntimeOptions
@@ -20414,10 +20372,10 @@ export default class Client extends OpenApi {
20414
20372
  }
20415
20373
 
20416
20374
  /**
20417
- * Adds tags to cloud computers. This allows you to filter and manage cloud computers by tag.
20375
+ * Adds tags to specified cloud desktops. This makes it easier to filter and manage cloud desktops by tag.
20418
20376
  *
20419
20377
  * @remarks
20420
- * If TagKey is specified, the new TagValue value overrides the original TagValue value.
20378
+ * If the specified TagKey already exists, the new TagValue overwrites the original TagValue.
20421
20379
  *
20422
20380
  * @param request - TagResourcesRequest
20423
20381
  * @returns TagResourcesResponse
@@ -20640,7 +20598,7 @@ export default class Client extends OpenApi {
20640
20598
  }
20641
20599
 
20642
20600
  /**
20643
- * Removes tags from cloud computers. After you remove a tag, if the tag is not added to a cloud computer, the tag is automatically deleted.
20601
+ * Removes tags from cloud desktops. After a tag is removed, if the tag is not added to any cloud desktop, the tag is automatically deleted.
20644
20602
  *
20645
20603
  * @param request - UntagResourcesRequest
20646
20604
  * @param runtime - runtime options for this request RuntimeOptions
@@ -20687,7 +20645,7 @@ export default class Client extends OpenApi {
20687
20645
  }
20688
20646
 
20689
20647
  /**
20690
- * Removes tags from cloud computers. After you remove a tag, if the tag is not added to a cloud computer, the tag is automatically deleted.
20648
+ * Removes tags from cloud desktops. After a tag is removed, if the tag is not added to any cloud desktop, the tag is automatically deleted.
20691
20649
  *
20692
20650
  * @param request - UntagResourcesRequest
20693
20651
  * @returns UntagResourcesResponse
@@ -13,7 +13,7 @@ export class CreateAndBindNasFileSystemRequest extends $dara.Model {
13
13
  description?: string;
14
14
  /**
15
15
  * @remarks
16
- * The ID of the desktop group.
16
+ * The ID of the shared cloud computer.
17
17
  *
18
18
  * This parameter is required.
19
19
  *
@@ -23,15 +23,9 @@ export class CreateAndBindNasFileSystemRequest extends $dara.Model {
23
23
  desktopGroupId?: string;
24
24
  /**
25
25
  * @remarks
26
- * Specifies whether to encrypt data in the NAS file system. You can use keys that are hosted by Key Management Service (KMS) to encrypt data in a file system. When you read and write the encrypted data, the data is automatically decrypted. Valid values:
26
+ * Specifies whether the file system uses a KMS-managed key to encrypt data at rest. Encrypted data does not need to be decrypted during read and write operations.
27
27
  *
28
- * - 0: does not encrypt data in the NAS file system.
29
- *
30
- * - 1: encrypts data in the NAS file system by using a NAS-managed key. `If you set `FileSystemType` to `standard` or `extreme`, you can use a NAS-managed key to encrypt data in a NAS file system.`
31
- *
32
- * - 2: encrypts data in the NAS file system by using a KMS-managed key. `If` you set FileSystemType` to `extreme`, you can use a KMS-managed key to encrypt data in a NAS file system.`
33
- *
34
- * Default value: 0.
28
+ * > NAS-managed keys are supported when `FileSystemType` is set to `standard` or `extreme`. User-managed keys are supported when `FileSystemType` is set to `extreme`.
35
29
  *
36
30
  * @example
37
31
  * 0
@@ -39,7 +33,7 @@ export class CreateAndBindNasFileSystemRequest extends $dara.Model {
39
33
  encryptType?: number;
40
34
  /**
41
35
  * @remarks
42
- * The list of users.
36
+ * The list of user IDs.
43
37
  */
44
38
  endUserIds?: string[];
45
39
  /**
@@ -54,7 +48,7 @@ export class CreateAndBindNasFileSystemRequest extends $dara.Model {
54
48
  fileSystemName?: string;
55
49
  /**
56
50
  * @remarks
57
- * The ID of the workspace.
51
+ * The ID of the office network.
58
52
  *
59
53
  * This parameter is required.
60
54
  *
@@ -64,7 +58,7 @@ export class CreateAndBindNasFileSystemRequest extends $dara.Model {
64
58
  officeSiteId?: string;
65
59
  /**
66
60
  * @remarks
67
- * The region ID.
61
+ * The region ID. You can call [DescribeRegions](~~DescribeRegions~~) to query the regions supported by Elastic Desktop Service.
68
62
  *
69
63
  * This parameter is required.
70
64
  *
@@ -74,13 +68,7 @@ export class CreateAndBindNasFileSystemRequest extends $dara.Model {
74
68
  regionId?: string;
75
69
  /**
76
70
  * @remarks
77
- * The storage type of the NAS file system. Valid values:
78
- *
79
- * - Capacity
80
- *
81
- * - Performance
82
- *
83
- * Default value: Capacity.
71
+ * The storage specification type of the NAS file system.
84
72
  *
85
73
  * This parameter is required.
86
74
  *