@alicloud/ecd20200930 4.23.2 → 4.23.3

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 (36) hide show
  1. package/dist/client.js +18 -0
  2. package/dist/client.js.map +1 -1
  3. package/dist/models/CreateDesktopsRequest.d.ts +14 -0
  4. package/dist/models/CreateDesktopsRequest.js +25 -1
  5. package/dist/models/CreateDesktopsRequest.js.map +1 -1
  6. package/dist/models/CreateDesktopsShrinkRequest.d.ts +1 -0
  7. package/dist/models/CreateDesktopsShrinkRequest.js +2 -0
  8. package/dist/models/CreateDesktopsShrinkRequest.js.map +1 -1
  9. package/dist/models/CreateQosRuleRequest.d.ts +1 -0
  10. package/dist/models/CreateQosRuleRequest.js +5 -0
  11. package/dist/models/CreateQosRuleRequest.js.map +1 -1
  12. package/dist/models/DescribeDesktopGroupsRequest.d.ts +1 -0
  13. package/dist/models/DescribeDesktopGroupsRequest.js +2 -0
  14. package/dist/models/DescribeDesktopGroupsRequest.js.map +1 -1
  15. package/dist/models/DescribeDesktopGroupsResponseBody.d.ts +1 -0
  16. package/dist/models/DescribeDesktopGroupsResponseBody.js +2 -0
  17. package/dist/models/DescribeDesktopGroupsResponseBody.js.map +1 -1
  18. package/dist/models/DescribeQosRulesResponseBody.d.ts +1 -0
  19. package/dist/models/DescribeQosRulesResponseBody.js +2 -0
  20. package/dist/models/DescribeQosRulesResponseBody.js.map +1 -1
  21. package/dist/models/ModifyQosEntriesRequest.d.ts +2 -0
  22. package/dist/models/ModifyQosEntriesRequest.js +10 -0
  23. package/dist/models/ModifyQosEntriesRequest.js.map +1 -1
  24. package/dist/models/model.d.ts +1 -0
  25. package/dist/models/model.js +29 -27
  26. package/dist/models/model.js.map +1 -1
  27. package/package.json +1 -1
  28. package/src/client.ts +24 -0
  29. package/src/models/CreateDesktopsRequest.ts +29 -0
  30. package/src/models/CreateDesktopsShrinkRequest.ts +3 -0
  31. package/src/models/CreateQosRuleRequest.ts +6 -0
  32. package/src/models/DescribeDesktopGroupsRequest.ts +3 -0
  33. package/src/models/DescribeDesktopGroupsResponseBody.ts +3 -0
  34. package/src/models/DescribeQosRulesResponseBody.ts +3 -0
  35. package/src/models/ModifyQosEntriesRequest.ts +12 -0
  36. package/src/models/model.ts +1 -0
@@ -430,6 +430,29 @@ export class CreateDesktopsRequestMonthDesktopSetting extends $dara.Model {
430
430
  }
431
431
  }
432
432
 
433
+ export class CreateDesktopsRequestPurchaseOptions extends $dara.Model {
434
+ monthlyCredits?: number;
435
+ static names(): { [key: string]: string } {
436
+ return {
437
+ monthlyCredits: 'MonthlyCredits',
438
+ };
439
+ }
440
+
441
+ static types(): { [key: string]: any } {
442
+ return {
443
+ monthlyCredits: 'number',
444
+ };
445
+ }
446
+
447
+ validate() {
448
+ super.validate();
449
+ }
450
+
451
+ constructor(map?: { [key: string]: any }) {
452
+ super(map);
453
+ }
454
+ }
455
+
433
456
  export class CreateDesktopsRequestTag extends $dara.Model {
434
457
  /**
435
458
  * @remarks
@@ -796,6 +819,7 @@ export class CreateDesktopsRequest extends $dara.Model {
796
819
  * 23141
797
820
  */
798
821
  promotionId?: string;
822
+ purchaseOptions?: CreateDesktopsRequestPurchaseOptions;
799
823
  qosRuleId?: string;
800
824
  /**
801
825
  * @remarks
@@ -939,6 +963,7 @@ export class CreateDesktopsRequest extends $dara.Model {
939
963
  periodUnit: 'PeriodUnit',
940
964
  policyGroupId: 'PolicyGroupId',
941
965
  promotionId: 'PromotionId',
966
+ purchaseOptions: 'PurchaseOptions',
942
967
  qosRuleId: 'QosRuleId',
943
968
  regionId: 'RegionId',
944
969
  resellerOwnerUid: 'ResellerOwnerUid',
@@ -983,6 +1008,7 @@ export class CreateDesktopsRequest extends $dara.Model {
983
1008
  periodUnit: 'string',
984
1009
  policyGroupId: 'string',
985
1010
  promotionId: 'string',
1011
+ purchaseOptions: CreateDesktopsRequestPurchaseOptions,
986
1012
  qosRuleId: 'string',
987
1013
  regionId: 'string',
988
1014
  resellerOwnerUid: 'number',
@@ -1017,6 +1043,9 @@ export class CreateDesktopsRequest extends $dara.Model {
1017
1043
  if(this.monthDesktopSetting && typeof (this.monthDesktopSetting as any).validate === 'function') {
1018
1044
  (this.monthDesktopSetting as any).validate();
1019
1045
  }
1046
+ if(this.purchaseOptions && typeof (this.purchaseOptions as any).validate === 'function') {
1047
+ (this.purchaseOptions as any).validate();
1048
+ }
1020
1049
  if(Array.isArray(this.tag)) {
1021
1050
  $dara.Model.validateArray(this.tag);
1022
1051
  }
@@ -669,6 +669,7 @@ export class CreateDesktopsShrinkRequest extends $dara.Model {
669
669
  * 23141
670
670
  */
671
671
  promotionId?: string;
672
+ purchaseOptionsShrink?: string;
672
673
  qosRuleId?: string;
673
674
  /**
674
675
  * @remarks
@@ -812,6 +813,7 @@ export class CreateDesktopsShrinkRequest extends $dara.Model {
812
813
  periodUnit: 'PeriodUnit',
813
814
  policyGroupId: 'PolicyGroupId',
814
815
  promotionId: 'PromotionId',
816
+ purchaseOptionsShrink: 'PurchaseOptions',
815
817
  qosRuleId: 'QosRuleId',
816
818
  regionId: 'RegionId',
817
819
  resellerOwnerUid: 'ResellerOwnerUid',
@@ -856,6 +858,7 @@ export class CreateDesktopsShrinkRequest extends $dara.Model {
856
858
  periodUnit: 'string',
857
859
  policyGroupId: 'string',
858
860
  promotionId: 'string',
861
+ purchaseOptionsShrink: 'string',
859
862
  qosRuleId: 'string',
860
863
  regionId: 'string',
861
864
  resellerOwnerUid: 'number',
@@ -4,6 +4,7 @@ import * as $dara from '@darabonba/typescript';
4
4
 
5
5
  export class CreateQosRuleRequest extends $dara.Model {
6
6
  authAndroidId?: string[];
7
+ authDesktopGroupId?: string[];
7
8
  authDesktopId?: string[];
8
9
  /**
9
10
  * @remarks
@@ -37,6 +38,7 @@ export class CreateQosRuleRequest extends $dara.Model {
37
38
  static names(): { [key: string]: string } {
38
39
  return {
39
40
  authAndroidId: 'AuthAndroidId',
41
+ authDesktopGroupId: 'AuthDesktopGroupId',
40
42
  authDesktopId: 'AuthDesktopId',
41
43
  download: 'Download',
42
44
  networkPackageId: 'NetworkPackageId',
@@ -48,6 +50,7 @@ export class CreateQosRuleRequest extends $dara.Model {
48
50
  static types(): { [key: string]: any } {
49
51
  return {
50
52
  authAndroidId: { 'type': 'array', 'itemType': 'string' },
53
+ authDesktopGroupId: { 'type': 'array', 'itemType': 'string' },
51
54
  authDesktopId: { 'type': 'array', 'itemType': 'string' },
52
55
  download: 'number',
53
56
  networkPackageId: 'string',
@@ -60,6 +63,9 @@ export class CreateQosRuleRequest extends $dara.Model {
60
63
  if(Array.isArray(this.authAndroidId)) {
61
64
  $dara.Model.validateArray(this.authAndroidId);
62
65
  }
66
+ if(Array.isArray(this.authDesktopGroupId)) {
67
+ $dara.Model.validateArray(this.authDesktopGroupId);
68
+ }
63
69
  if(Array.isArray(this.authDesktopId)) {
64
70
  $dara.Model.validateArray(this.authDesktopId);
65
71
  }
@@ -205,6 +205,7 @@ export class DescribeDesktopGroupsRequest extends $dara.Model {
205
205
  * ASP
206
206
  */
207
207
  protocolType?: string;
208
+ qosRuleId?: string;
208
209
  /**
209
210
  * @remarks
210
211
  * The region ID. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/196646.html) operation to query the regions supported by WUYING Workspace.
@@ -253,6 +254,7 @@ export class DescribeDesktopGroupsRequest extends $dara.Model {
253
254
  periodUnit: 'PeriodUnit',
254
255
  policyGroupId: 'PolicyGroupId',
255
256
  protocolType: 'ProtocolType',
257
+ qosRuleId: 'QosRuleId',
256
258
  regionId: 'RegionId',
257
259
  status: 'Status',
258
260
  tag: 'Tag',
@@ -278,6 +280,7 @@ export class DescribeDesktopGroupsRequest extends $dara.Model {
278
280
  periodUnit: 'string',
279
281
  policyGroupId: 'string',
280
282
  protocolType: 'string',
283
+ qosRuleId: 'string',
281
284
  regionId: 'string',
282
285
  status: 'number',
283
286
  tag: { 'type': 'array', 'itemType': DescribeDesktopGroupsRequestTag },
@@ -518,6 +518,7 @@ export class DescribeDesktopGroupsResponseBodyDesktopGroups extends $dara.Model
518
518
  * ASP
519
519
  */
520
520
  protocolType?: string;
521
+ qosRuleId?: string;
521
522
  /**
522
523
  * @remarks
523
524
  * The threshold for the ratio of connected sessions, which triggers automatic scaling of cloud computers within the multi-session many-to-many share. To calculate the ratio of connected sessions, use the following formula:
@@ -683,6 +684,7 @@ export class DescribeDesktopGroupsResponseBodyDesktopGroups extends $dara.Model
683
684
  policyGroupName: 'PolicyGroupName',
684
685
  policyGroupNameList: 'PolicyGroupNameList',
685
686
  protocolType: 'ProtocolType',
687
+ qosRuleId: 'QosRuleId',
686
688
  ratioThreshold: 'RatioThreshold',
687
689
  resetType: 'ResetType',
688
690
  simpleUserGroupId: 'SimpleUserGroupId',
@@ -747,6 +749,7 @@ export class DescribeDesktopGroupsResponseBodyDesktopGroups extends $dara.Model
747
749
  policyGroupName: 'string',
748
750
  policyGroupNameList: { 'type': 'array', 'itemType': 'string' },
749
751
  protocolType: 'string',
752
+ qosRuleId: 'string',
750
753
  ratioThreshold: 'number',
751
754
  resetType: 'number',
752
755
  simpleUserGroupId: 'string',
@@ -8,6 +8,7 @@ export class DescribeQosRulesResponseBodyQosRules extends $dara.Model {
8
8
  * 0
9
9
  */
10
10
  desktopCount?: string;
11
+ desktopGroupCount?: number;
11
12
  /**
12
13
  * @example
13
14
  * 10
@@ -36,6 +37,7 @@ export class DescribeQosRulesResponseBodyQosRules extends $dara.Model {
36
37
  static names(): { [key: string]: string } {
37
38
  return {
38
39
  desktopCount: 'DesktopCount',
40
+ desktopGroupCount: 'DesktopGroupCount',
39
41
  download: 'Download',
40
42
  networkPackageId: 'NetworkPackageId',
41
43
  qosRuleId: 'QosRuleId',
@@ -47,6 +49,7 @@ export class DescribeQosRulesResponseBodyQosRules extends $dara.Model {
47
49
  static types(): { [key: string]: any } {
48
50
  return {
49
51
  desktopCount: 'string',
52
+ desktopGroupCount: 'number',
50
53
  download: 'string',
51
54
  networkPackageId: 'string',
52
55
  qosRuleId: 'string',
@@ -4,6 +4,7 @@ import * as $dara from '@darabonba/typescript';
4
4
 
5
5
  export class ModifyQosEntriesRequest extends $dara.Model {
6
6
  authAndroidId?: string[];
7
+ authDesktopGroupId?: string[];
7
8
  authDesktopId?: string[];
8
9
  /**
9
10
  * @remarks
@@ -14,13 +15,16 @@ export class ModifyQosEntriesRequest extends $dara.Model {
14
15
  */
15
16
  qosRuleId?: string;
16
17
  revokeAndroidId?: string[];
18
+ revokeDesktopGroupId?: string[];
17
19
  revokeDesktopId?: string[];
18
20
  static names(): { [key: string]: string } {
19
21
  return {
20
22
  authAndroidId: 'AuthAndroidId',
23
+ authDesktopGroupId: 'AuthDesktopGroupId',
21
24
  authDesktopId: 'AuthDesktopId',
22
25
  qosRuleId: 'QosRuleId',
23
26
  revokeAndroidId: 'RevokeAndroidId',
27
+ revokeDesktopGroupId: 'RevokeDesktopGroupId',
24
28
  revokeDesktopId: 'RevokeDesktopId',
25
29
  };
26
30
  }
@@ -28,9 +32,11 @@ export class ModifyQosEntriesRequest extends $dara.Model {
28
32
  static types(): { [key: string]: any } {
29
33
  return {
30
34
  authAndroidId: { 'type': 'array', 'itemType': 'string' },
35
+ authDesktopGroupId: { 'type': 'array', 'itemType': 'string' },
31
36
  authDesktopId: { 'type': 'array', 'itemType': 'string' },
32
37
  qosRuleId: 'string',
33
38
  revokeAndroidId: { 'type': 'array', 'itemType': 'string' },
39
+ revokeDesktopGroupId: { 'type': 'array', 'itemType': 'string' },
34
40
  revokeDesktopId: { 'type': 'array', 'itemType': 'string' },
35
41
  };
36
42
  }
@@ -39,12 +45,18 @@ export class ModifyQosEntriesRequest extends $dara.Model {
39
45
  if(Array.isArray(this.authAndroidId)) {
40
46
  $dara.Model.validateArray(this.authAndroidId);
41
47
  }
48
+ if(Array.isArray(this.authDesktopGroupId)) {
49
+ $dara.Model.validateArray(this.authDesktopGroupId);
50
+ }
42
51
  if(Array.isArray(this.authDesktopId)) {
43
52
  $dara.Model.validateArray(this.authDesktopId);
44
53
  }
45
54
  if(Array.isArray(this.revokeAndroidId)) {
46
55
  $dara.Model.validateArray(this.revokeAndroidId);
47
56
  }
57
+ if(Array.isArray(this.revokeDesktopGroupId)) {
58
+ $dara.Model.validateArray(this.revokeDesktopGroupId);
59
+ }
48
60
  if(Array.isArray(this.revokeDesktopId)) {
49
61
  $dara.Model.validateArray(this.revokeDesktopId);
50
62
  }
@@ -32,6 +32,7 @@ export { CreateDesktopsRequestBundleModels } from './CreateDesktopsRequest';
32
32
  export { CreateDesktopsRequestDesktopAttachment } from './CreateDesktopsRequest';
33
33
  export { CreateDesktopsRequestDesktopTimers } from './CreateDesktopsRequest';
34
34
  export { CreateDesktopsRequestMonthDesktopSetting } from './CreateDesktopsRequest';
35
+ export { CreateDesktopsRequestPurchaseOptions } from './CreateDesktopsRequest';
35
36
  export { CreateDesktopsRequestTag } from './CreateDesktopsRequest';
36
37
  export { CreateDesktopsRequestUserCommands } from './CreateDesktopsRequest';
37
38
  export { CreateDesktopsShrinkRequestBundleModels } from './CreateDesktopsShrinkRequest';