@alicloud/ecd20200930 4.5.0 → 4.5.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alicloud/ecd20200930",
3
- "version": "4.5.0",
3
+ "version": "4.5.1",
4
4
  "description": "",
5
5
  "main": "dist/client.js",
6
6
  "scripts": {
package/src/client.ts CHANGED
@@ -5786,6 +5786,62 @@ export class DescribeDesktopsRequestTag extends $dara.Model {
5786
5786
  }
5787
5787
  }
5788
5788
 
5789
+ export class DescribeDesktopsResponseBodyDesktopsDesktopDurationList extends $dara.Model {
5790
+ orderInstanceId?: string;
5791
+ packageCreationTime?: string;
5792
+ packageExpiredTime?: string;
5793
+ packageId?: string;
5794
+ packageStatus?: string;
5795
+ packageType?: string;
5796
+ packageUsedUpStrategy?: string;
5797
+ periodEndTime?: string;
5798
+ periodStartTime?: string;
5799
+ postPaidLimitFee?: number;
5800
+ totalDuration?: number;
5801
+ usedDuration?: number;
5802
+ static names(): { [key: string]: string } {
5803
+ return {
5804
+ orderInstanceId: 'OrderInstanceId',
5805
+ packageCreationTime: 'PackageCreationTime',
5806
+ packageExpiredTime: 'PackageExpiredTime',
5807
+ packageId: 'PackageId',
5808
+ packageStatus: 'PackageStatus',
5809
+ packageType: 'PackageType',
5810
+ packageUsedUpStrategy: 'PackageUsedUpStrategy',
5811
+ periodEndTime: 'PeriodEndTime',
5812
+ periodStartTime: 'PeriodStartTime',
5813
+ postPaidLimitFee: 'PostPaidLimitFee',
5814
+ totalDuration: 'TotalDuration',
5815
+ usedDuration: 'UsedDuration',
5816
+ };
5817
+ }
5818
+
5819
+ static types(): { [key: string]: any } {
5820
+ return {
5821
+ orderInstanceId: 'string',
5822
+ packageCreationTime: 'string',
5823
+ packageExpiredTime: 'string',
5824
+ packageId: 'string',
5825
+ packageStatus: 'string',
5826
+ packageType: 'string',
5827
+ packageUsedUpStrategy: 'string',
5828
+ periodEndTime: 'string',
5829
+ periodStartTime: 'string',
5830
+ postPaidLimitFee: 'number',
5831
+ totalDuration: 'number',
5832
+ usedDuration: 'number',
5833
+ };
5834
+ }
5835
+
5836
+ validate() {
5837
+ super.validate();
5838
+ }
5839
+
5840
+ constructor(map?: { [key: string]: any }) {
5841
+ super(map);
5842
+ }
5843
+ }
5844
+
5789
5845
  export class DescribeDesktopsResponseBodyDesktopsDisks extends $dara.Model {
5790
5846
  /**
5791
5847
  * @remarks
@@ -6201,6 +6257,7 @@ export class DescribeDesktopsResponseBodyDesktops extends $dara.Model {
6201
6257
  * null
6202
6258
  */
6203
6259
  dataDiskSize?: string;
6260
+ desktopDurationList?: DescribeDesktopsResponseBodyDesktopsDesktopDurationList[];
6204
6261
  /**
6205
6262
  * @remarks
6206
6263
  * The ID of the cloud computer pool to which cloud computers belong. Default value: null.``
@@ -6650,6 +6707,7 @@ export class DescribeDesktopsResponseBodyDesktops extends $dara.Model {
6650
6707
  creationTime: 'CreationTime',
6651
6708
  dataDiskCategory: 'DataDiskCategory',
6652
6709
  dataDiskSize: 'DataDiskSize',
6710
+ desktopDurationList: 'DesktopDurationList',
6653
6711
  desktopGroupId: 'DesktopGroupId',
6654
6712
  desktopId: 'DesktopId',
6655
6713
  desktopName: 'DesktopName',
@@ -6716,6 +6774,7 @@ export class DescribeDesktopsResponseBodyDesktops extends $dara.Model {
6716
6774
  creationTime: 'string',
6717
6775
  dataDiskCategory: 'string',
6718
6776
  dataDiskSize: 'string',
6777
+ desktopDurationList: { 'type': 'array', 'itemType': DescribeDesktopsResponseBodyDesktopsDesktopDurationList },
6719
6778
  desktopGroupId: 'string',
6720
6779
  desktopId: 'string',
6721
6780
  desktopName: 'string',
@@ -6772,6 +6831,9 @@ export class DescribeDesktopsResponseBodyDesktops extends $dara.Model {
6772
6831
  }
6773
6832
 
6774
6833
  validate() {
6834
+ if(Array.isArray(this.desktopDurationList)) {
6835
+ $dara.Model.validateArray(this.desktopDurationList);
6836
+ }
6775
6837
  if(Array.isArray(this.disks)) {
6776
6838
  $dara.Model.validateArray(this.disks);
6777
6839
  }
@@ -6960,7 +7022,7 @@ export class DescribeDesktopsInGroupResponseBodyPaidDesktops extends $dara.Model
6960
7022
  diskType?: string;
6961
7023
  /**
6962
7024
  * @remarks
6963
- * The ID of the authorized user of the cloud computer.
7025
+ * The ID of the authorized user.
6964
7026
  *
6965
7027
  * @example
6966
7028
  * alice
@@ -6968,7 +7030,7 @@ export class DescribeDesktopsInGroupResponseBodyPaidDesktops extends $dara.Model
6968
7030
  endUserId?: string;
6969
7031
  /**
6970
7032
  * @remarks
6971
- * The IDs of the end users who are connected to the cloud computers in the cloud computer pool. If no end users are connected, no values are returned for this parameter.
7033
+ * The IDs of the end users who are connected to the cloud computers in the cloud computer share. If no end users are connected, no values are returned for this parameter.
6972
7034
  */
6973
7035
  endUserIds?: string[];
6974
7036
  /**
@@ -6981,7 +7043,7 @@ export class DescribeDesktopsInGroupResponseBodyPaidDesktops extends $dara.Model
6981
7043
  endUserName?: string;
6982
7044
  /**
6983
7045
  * @remarks
6984
- * The usernames of the end users who are connected to the cloud computers in the cloud computer pool. If no end users are connected, no values are returned for this parameter.
7046
+ * The usernames of the end users who are connected to the cloud computers in the cloud computer share. If no end users are connected, no values are returned for this parameter.
6985
7047
  */
6986
7048
  endUserNames?: string[];
6987
7049
  /**
@@ -7238,7 +7300,7 @@ export class DescribeDesktopsInGroupResponseBodyPostPaidDesktops extends $dara.M
7238
7300
  connectionStatus?: string;
7239
7301
  /**
7240
7302
  * @remarks
7241
- * The retention period of the cloud computer.
7303
+ * The retention period. Unit: milliseconds.
7242
7304
  *
7243
7305
  * @example
7244
7306
  * 4153958447
@@ -31104,7 +31166,7 @@ export class DeleteConfigGroupResponse extends $dara.Model {
31104
31166
  export class DeleteDesktopGroupRequest extends $dara.Model {
31105
31167
  /**
31106
31168
  * @remarks
31107
- * The ID of the desktop group.
31169
+ * The ID of the cloud computer share.
31108
31170
  *
31109
31171
  * This parameter is required.
31110
31172
  *
@@ -34949,6 +35011,10 @@ export class DescribeDesktopGroupsRequest extends $dara.Model {
34949
35011
  * dg-2i8qxpv6t1a03****
34950
35012
  */
34951
35013
  desktopGroupId?: string;
35014
+ /**
35015
+ * @remarks
35016
+ * The IDs of the cloud computer pool.
35017
+ */
34952
35018
  desktopGroupIds?: string[];
34953
35019
  /**
34954
35020
  * @remarks
@@ -34984,6 +35050,18 @@ export class DescribeDesktopGroupsRequest extends $dara.Model {
34984
35050
  * 10
34985
35051
  */
34986
35052
  maxResults?: number;
35053
+ /**
35054
+ * @remarks
35055
+ * Specifies whether the shared group is a multi-cloud computer type.
35056
+ *
35057
+ * Valid values:
35058
+ *
35059
+ * - true: a multi-cloud computer type.
35060
+ * - false: a single-cloud computer type.
35061
+ *
35062
+ * @example
35063
+ * true
35064
+ */
34987
35065
  multiResource?: boolean;
34988
35066
  /**
34989
35067
  * @remarks
@@ -37031,7 +37109,7 @@ export class DescribeDesktopsInGroupRequest extends $dara.Model {
37031
37109
  customStartTimePeriod?: number;
37032
37110
  /**
37033
37111
  * @remarks
37034
- * The ID of the cloud computer pool.
37112
+ * The ID of the cloud computer share.
37035
37113
  *
37036
37114
  * This parameter is required.
37037
37115
  *
@@ -37054,7 +37132,10 @@ export class DescribeDesktopsInGroupRequest extends $dara.Model {
37054
37132
  ignoreDeleted?: boolean;
37055
37133
  /**
37056
37134
  * @remarks
37057
- * The number of entries to return on each page. Valid values: 1 to 100. Default value: 10.
37135
+ * The maximum number of entries per page.
37136
+ *
37137
+ * * Default value: 10.
37138
+ * * Maximum value: 100.
37058
37139
  *
37059
37140
  * @example
37060
37141
  * 10
@@ -37062,7 +37143,7 @@ export class DescribeDesktopsInGroupRequest extends $dara.Model {
37062
37143
  maxResults?: number;
37063
37144
  /**
37064
37145
  * @remarks
37065
- * The pagination token that is used in the next request to retrieve a new page of results. If the NextToken parameter is empty, no next page exists.
37146
+ * The pagination token that is used in the next request to retrieve a new page of results. You do not need to specify this parameter for the first request. You must specify the token that is obtained from the previous query as the value of NextToken.
37066
37147
  *
37067
37148
  * @example
37068
37149
  * caeba0bbb2be03f84eb48b699f0a4883
@@ -37070,7 +37151,7 @@ export class DescribeDesktopsInGroupRequest extends $dara.Model {
37070
37151
  nextToken?: string;
37071
37152
  /**
37072
37153
  * @remarks
37073
- * The billing method of the desktop group.
37154
+ * The billing method of the cloud computer share.
37074
37155
  *
37075
37156
  * @example
37076
37157
  * PrePaid
@@ -37124,7 +37205,8 @@ export class DescribeDesktopsInGroupRequest extends $dara.Model {
37124
37205
  export class DescribeDesktopsInGroupResponseBody extends $dara.Model {
37125
37206
  /**
37126
37207
  * @remarks
37127
- * The returned value of NextToken is a pagination token, which can be used in the next request to retrieve a new page of results.
37208
+ * A pagination token. It can be used in the next request to retrieve a new page of results.
37209
+ * If NextToken is empty, no next page exists.
37128
37210
  *
37129
37211
  * @example
37130
37212
  * caeba0bbb2be03f84eb48b699f0a4883
@@ -37140,12 +37222,12 @@ export class DescribeDesktopsInGroupResponseBody extends $dara.Model {
37140
37222
  onlinePrePaidDesktopsCount?: number;
37141
37223
  /**
37142
37224
  * @remarks
37143
- * The details about subscription cloud computers.
37225
+ * The subscription cloud computers.
37144
37226
  */
37145
37227
  paidDesktops?: DescribeDesktopsInGroupResponseBodyPaidDesktops[];
37146
37228
  /**
37147
37229
  * @remarks
37148
- * The total number of queried subscription cloud computers.
37230
+ * The total number of subscription cloud computers.
37149
37231
  *
37150
37232
  * @example
37151
37233
  * 10
@@ -37153,12 +37235,12 @@ export class DescribeDesktopsInGroupResponseBody extends $dara.Model {
37153
37235
  paidDesktopsCount?: number;
37154
37236
  /**
37155
37237
  * @remarks
37156
- * The details about pay-as-you-go cloud computers.
37238
+ * The pay-as-you-go cloud computers.
37157
37239
  */
37158
37240
  postPaidDesktops?: DescribeDesktopsInGroupResponseBodyPostPaidDesktops[];
37159
37241
  /**
37160
37242
  * @remarks
37161
- * The total number of queried pay-as-you-go cloud computers.
37243
+ * The total number of pay-as-you-go cloud computers.
37162
37244
  *
37163
37245
  * @example
37164
37246
  * 10
@@ -40600,7 +40682,7 @@ export class DescribePriceRequest extends $dara.Model {
40600
40682
  duration?: number;
40601
40683
  /**
40602
40684
  * @remarks
40603
- * The number of cloud computers in the cloud computer pool. Default value: 1.
40685
+ * The number of cloud computer shares. Default value: 1.
40604
40686
  *
40605
40687
  * > This parameter takes effect only if you set `ResourceType` to `DesktopGroup`.
40606
40688
  *
@@ -40610,31 +40692,10 @@ export class DescribePriceRequest extends $dara.Model {
40610
40692
  groupDesktopCount?: number;
40611
40693
  /**
40612
40694
  * @remarks
40613
- * The resource specifications.
40614
- *
40615
- * * If you set `ResourceType` to `Desktop`, you must specify this parameter.
40616
- *
40617
- * * ecd.basic.small
40618
- * * ecd.basic.large
40619
- * * ecd.advanced.large
40620
- * * ecd.advanced.xlarge
40621
- * * ecd.performance.2xlarge
40622
- * * ecd.graphics.xlarge
40623
- * * ecd.graphics.2xlarge
40624
- * * ecd.advanced.xlarge_s8d2
40625
- * * ecd.advanced.xlarge_s8d7
40626
- * * ecd.graphics.1g72c
40627
- * * eds.general.2c2g
40628
- * * eds.general.2c4g
40629
- * * eds.general.2c8g
40630
- * * eds.general.4c8g
40631
- * * eds.general.4c16g
40632
- * * eds.general.8c16g
40633
- * * eds.general.8c32g
40634
- * * eds.general.16c32g
40695
+ * The specifications of the resource.
40635
40696
  *
40697
+ * * This parameter is required if you set `ResourceType` to `Desktop`. You can call the [DescribeDesktopTypes](~~DescribeDesktopTypes~~) to query the available cloud computer types that correspond to the value of `DesktopTypeId`.
40636
40698
  * * If you set `ResourceType` to `DesktopGroup`, set the value of this parameter to `large`.
40637
- *
40638
40699
  * * If you set `ResourceType` to `Bandwidth`, you can leave this parameter empty.
40639
40700
  *
40640
40701
  * @example
@@ -40715,20 +40776,29 @@ export class DescribePriceRequest extends $dara.Model {
40715
40776
  regionId?: string;
40716
40777
  /**
40717
40778
  * @remarks
40718
- * The resource type.
40779
+ * The type of the resource.
40719
40780
  *
40720
40781
  * Valid values:
40721
40782
  *
40722
- * * DesktopMonthPackage: the monthly subscription plan (also known as the 120-hour or 250-hour computing plan).
40723
- * * Desktop (default): the pay-as-you-go cloud computer or the monthly subscription cloud computer (also known as the Unlimited computing plan).
40724
- * * Bandwidth: the premium bandwidth plan.
40725
- * * DesktopGroup: the cloud computer pool.
40783
+ * * DesktopMonthPackage: monthly subscription cloud computers that use hourly limit plans.
40784
+ * * Desktop (default): pay-as-you-go cloud computers/monthly subscription cloud computers that use unlimited plans.
40785
+ * * Bandwidth: premium bandwidth plans.
40786
+ * * DesktopGroup: cloud computer shares.
40726
40787
  *
40727
40788
  * @example
40728
40789
  * Desktop
40729
40790
  */
40730
40791
  resourceType?: string;
40731
40792
  /**
40793
+ * @remarks
40794
+ * The category of the system disk.
40795
+ *
40796
+ * Valid values:
40797
+ *
40798
+ * * cloud_efficiency: the ultra disk
40799
+ * * cloud_auto: the standard SSD.
40800
+ * * cloud_essd: the Enterprise SSD (ESSD). Take note that only specific cloud computer types support ESSDs.
40801
+ *
40732
40802
  * @example
40733
40803
  * 40
40734
40804
  */
@@ -40742,6 +40812,15 @@ export class DescribePriceRequest extends $dara.Model {
40742
40812
  */
40743
40813
  rootDiskSizeGib?: number;
40744
40814
  /**
40815
+ * @remarks
40816
+ * The category of the data disk.
40817
+ *
40818
+ * Valid values:
40819
+ *
40820
+ * * cloud_efficiency: the ultra disk
40821
+ * * cloud_auto: the standard SSD.
40822
+ * * cloud_essd: the ESSD. Take note that only specific cloud computer types support ESSDs.
40823
+ *
40745
40824
  * @example
40746
40825
  * 80
40747
40826
  */
@@ -40808,7 +40887,7 @@ export class DescribePriceRequest extends $dara.Model {
40808
40887
  export class DescribePriceResponseBody extends $dara.Model {
40809
40888
  /**
40810
40889
  * @remarks
40811
- * The price information.
40890
+ * The price details.
40812
40891
  */
40813
40892
  priceInfo?: DescribePriceResponseBodyPriceInfo;
40814
40893
  /**
@@ -43718,7 +43797,7 @@ export class DetachEndUserResponse extends $dara.Model {
43718
43797
  export class DisableDesktopsInGroupRequest extends $dara.Model {
43719
43798
  /**
43720
43799
  * @remarks
43721
- * The ID of the desktop group.
43800
+ * The ID of the cloud computer share.
43722
43801
  *
43723
43802
  * This parameter is required.
43724
43803
  *
@@ -43728,14 +43807,14 @@ export class DisableDesktopsInGroupRequest extends $dara.Model {
43728
43807
  desktopGroupId?: string;
43729
43808
  /**
43730
43809
  * @remarks
43731
- * The IDs of cloud desktops.
43810
+ * The IDs of the cloud computers.
43732
43811
  *
43733
43812
  * This parameter is required.
43734
43813
  */
43735
43814
  desktopIds?: string[];
43736
43815
  /**
43737
43816
  * @remarks
43738
- * The region ID.
43817
+ * The ID of the region. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/196646.html) operation to query the list of regions where Elastic Desktop Service (EDS) Enterprise is available.
43739
43818
  *
43740
43819
  * This parameter is required.
43741
43820
  *
@@ -43774,7 +43853,7 @@ export class DisableDesktopsInGroupRequest extends $dara.Model {
43774
43853
  export class DisableDesktopsInGroupResponseBody extends $dara.Model {
43775
43854
  /**
43776
43855
  * @remarks
43777
- * The request ID.
43856
+ * The ID of the request.
43778
43857
  *
43779
43858
  * @example
43780
43859
  * 34FB4D97-C0D9-5534-ABC6-90C7EBD5****
@@ -64742,12 +64821,12 @@ export default class Client extends OpenApi {
64742
64821
  }
64743
64822
 
64744
64823
  /**
64745
- * Releases a desktop group.
64824
+ * Releases a cloud computer share.
64746
64825
  *
64747
64826
  * @remarks
64748
- * Before you delete a desktop group, make sure that cloud desktops in the desktop group are not connected and no users are authorized to use the cloud desktops.
64749
- * * You cannot delete a subscription desktop group when cloud desktops in the group are in valid period.
64750
- * * If you delete a pay-as-you-go desktop group, cloud desktops in the group are deleted.
64827
+ * Before releasing a cloud computer share, ensure that no cloud computers within it are in the Connected state and that no end users have access permissions to it.
64828
+ * * You cannot delete a cloud computer share with an active subscription if it contains cloud computers that have not yet expired.
64829
+ * * Deleting a pay-as-you-go cloud computer share will release all pay-as-you-go cloud computers within it.
64751
64830
  *
64752
64831
  * @param request - DeleteDesktopGroupRequest
64753
64832
  * @param runtime - runtime options for this request RuntimeOptions
@@ -64787,12 +64866,12 @@ export default class Client extends OpenApi {
64787
64866
  }
64788
64867
 
64789
64868
  /**
64790
- * Releases a desktop group.
64869
+ * Releases a cloud computer share.
64791
64870
  *
64792
64871
  * @remarks
64793
- * Before you delete a desktop group, make sure that cloud desktops in the desktop group are not connected and no users are authorized to use the cloud desktops.
64794
- * * You cannot delete a subscription desktop group when cloud desktops in the group are in valid period.
64795
- * * If you delete a pay-as-you-go desktop group, cloud desktops in the group are deleted.
64872
+ * Before releasing a cloud computer share, ensure that no cloud computers within it are in the Connected state and that no end users have access permissions to it.
64873
+ * * You cannot delete a cloud computer share with an active subscription if it contains cloud computers that have not yet expired.
64874
+ * * Deleting a pay-as-you-go cloud computer share will release all pay-as-you-go cloud computers within it.
64796
64875
  *
64797
64876
  * @param request - DeleteDesktopGroupRequest
64798
64877
  * @returns DeleteDesktopGroupResponse
@@ -67100,7 +67179,7 @@ export default class Client extends OpenApi {
67100
67179
  }
67101
67180
 
67102
67181
  /**
67103
- * Queries the cloud computers in a cloud computer pool by billing method.
67182
+ * Queries the cloud computers in a share by billing method.
67104
67183
  *
67105
67184
  * @param request - DescribeDesktopsInGroupRequest
67106
67185
  * @param runtime - runtime options for this request RuntimeOptions
@@ -67164,7 +67243,7 @@ export default class Client extends OpenApi {
67164
67243
  }
67165
67244
 
67166
67245
  /**
67167
- * Queries the cloud computers in a cloud computer pool by billing method.
67246
+ * Queries the cloud computers in a share by billing method.
67168
67247
  *
67169
67248
  * @param request - DescribeDesktopsInGroupRequest
67170
67249
  * @returns DescribeDesktopsInGroupResponse
@@ -69730,7 +69809,7 @@ export default class Client extends OpenApi {
69730
69809
  }
69731
69810
 
69732
69811
  /**
69733
- * Disables cloud desktops in a desktop group.
69812
+ * Disables specific cloud computers in a cloud computer share. After you call this operation to disable specific cloud computers, they enter the unavailable state.
69734
69813
  *
69735
69814
  * @param request - DisableDesktopsInGroupRequest
69736
69815
  * @param runtime - runtime options for this request RuntimeOptions
@@ -69774,7 +69853,7 @@ export default class Client extends OpenApi {
69774
69853
  }
69775
69854
 
69776
69855
  /**
69777
- * Disables cloud desktops in a desktop group.
69856
+ * Disables specific cloud computers in a cloud computer share. After you call this operation to disable specific cloud computers, they enter the unavailable state.
69778
69857
  *
69779
69858
  * @param request - DisableDesktopsInGroupRequest
69780
69859
  * @returns DisableDesktopsInGroupResponse