@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
@@ -1,76 +0,0 @@
1
- import * as $dara from '@darabonba/typescript';
2
- export declare class DescribeFlowStatisticRequest extends $dara.Model {
3
- /**
4
- * @remarks
5
- * The ID of the cloud computer.
6
- *
7
- * @example
8
- * ecd-7w78ozhjcwa3u****
9
- */
10
- desktopId?: string;
11
- /**
12
- * @remarks
13
- * The office network ID.
14
- *
15
- * This parameter is required.
16
- *
17
- * @example
18
- * cn-hangzhou+dir-363353****
19
- */
20
- officeSiteId?: string;
21
- /**
22
- * @remarks
23
- * The number of the page to return.<br>
24
- * Default value: 1.
25
- *
26
- * @example
27
- * 1
28
- */
29
- pageNumber?: number;
30
- /**
31
- * @remarks
32
- * The number of entries to return on each page.
33
- *
34
- * @example
35
- * 20
36
- */
37
- pageSize?: number;
38
- /**
39
- * @remarks
40
- * The statistic collection interval. Unit: seconds.
41
- *
42
- * Valid values:
43
- *
44
- * - 3600: 1 hour
45
- *
46
- * - 10800: 3 hours
47
- *
48
- * - 86400: 24 hours
49
- *
50
- * This parameter is required.
51
- *
52
- * @example
53
- * 3600
54
- */
55
- period?: number;
56
- /**
57
- * @remarks
58
- * The region ID. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/196646.html) operation to query the most recent region list.
59
- *
60
- * This parameter is required.
61
- *
62
- * @example
63
- * cn-hangzhou
64
- */
65
- regionId?: string;
66
- static names(): {
67
- [key: string]: string;
68
- };
69
- static types(): {
70
- [key: string]: any;
71
- };
72
- validate(): void;
73
- constructor(map?: {
74
- [key: string]: any;
75
- });
76
- }
@@ -1,68 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
- Object.defineProperty(o, "default", { enumerable: true, value: v });
15
- }) : function(o, v) {
16
- o["default"] = v;
17
- });
18
- var __importStar = (this && this.__importStar) || (function () {
19
- var ownKeys = function(o) {
20
- ownKeys = Object.getOwnPropertyNames || function (o) {
21
- var ar = [];
22
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
- return ar;
24
- };
25
- return ownKeys(o);
26
- };
27
- return function (mod) {
28
- if (mod && mod.__esModule) return mod;
29
- var result = {};
30
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
- __setModuleDefault(result, mod);
32
- return result;
33
- };
34
- })();
35
- Object.defineProperty(exports, "__esModule", { value: true });
36
- exports.DescribeFlowStatisticRequest = void 0;
37
- // This file is auto-generated, don't edit it
38
- const $dara = __importStar(require("@darabonba/typescript"));
39
- class DescribeFlowStatisticRequest extends $dara.Model {
40
- static names() {
41
- return {
42
- desktopId: 'DesktopId',
43
- officeSiteId: 'OfficeSiteId',
44
- pageNumber: 'PageNumber',
45
- pageSize: 'PageSize',
46
- period: 'Period',
47
- regionId: 'RegionId',
48
- };
49
- }
50
- static types() {
51
- return {
52
- desktopId: 'string',
53
- officeSiteId: 'string',
54
- pageNumber: 'number',
55
- pageSize: 'number',
56
- period: 'number',
57
- regionId: 'string',
58
- };
59
- }
60
- validate() {
61
- super.validate();
62
- }
63
- constructor(map) {
64
- super(map);
65
- }
66
- }
67
- exports.DescribeFlowStatisticRequest = DescribeFlowStatisticRequest;
68
- //# sourceMappingURL=DescribeFlowStatisticRequest.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"DescribeFlowStatisticRequest.js","sourceRoot":"","sources":["../../src/models/DescribeFlowStatisticRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,4BAA6B,SAAQ,KAAK,CAAC,KAAK;IAgE3D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,WAAW;YACtB,YAAY,EAAE,cAAc;YAC5B,UAAU,EAAE,YAAY;YACxB,QAAQ,EAAE,UAAU;YACpB,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAAE,UAAU;SACrB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,QAAQ;YACnB,YAAY,EAAE,QAAQ;YACtB,UAAU,EAAE,QAAQ;YACpB,QAAQ,EAAE,QAAQ;YAClB,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAAE,QAAQ;SACnB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA7FD,oEA6FC"}
@@ -1,19 +0,0 @@
1
- import * as $dara from '@darabonba/typescript';
2
- import { DescribeFlowStatisticResponseBody } from "./DescribeFlowStatisticResponseBody";
3
- export declare class DescribeFlowStatisticResponse extends $dara.Model {
4
- headers?: {
5
- [key: string]: string;
6
- };
7
- statusCode?: number;
8
- body?: DescribeFlowStatisticResponseBody;
9
- static names(): {
10
- [key: string]: string;
11
- };
12
- static types(): {
13
- [key: string]: any;
14
- };
15
- validate(): void;
16
- constructor(map?: {
17
- [key: string]: any;
18
- });
19
- }
@@ -1,69 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
- Object.defineProperty(o, "default", { enumerable: true, value: v });
15
- }) : function(o, v) {
16
- o["default"] = v;
17
- });
18
- var __importStar = (this && this.__importStar) || (function () {
19
- var ownKeys = function(o) {
20
- ownKeys = Object.getOwnPropertyNames || function (o) {
21
- var ar = [];
22
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
- return ar;
24
- };
25
- return ownKeys(o);
26
- };
27
- return function (mod) {
28
- if (mod && mod.__esModule) return mod;
29
- var result = {};
30
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
- __setModuleDefault(result, mod);
32
- return result;
33
- };
34
- })();
35
- Object.defineProperty(exports, "__esModule", { value: true });
36
- exports.DescribeFlowStatisticResponse = void 0;
37
- // This file is auto-generated, don't edit it
38
- const $dara = __importStar(require("@darabonba/typescript"));
39
- const DescribeFlowStatisticResponseBody_1 = require("./DescribeFlowStatisticResponseBody");
40
- class DescribeFlowStatisticResponse extends $dara.Model {
41
- static names() {
42
- return {
43
- headers: 'headers',
44
- statusCode: 'statusCode',
45
- body: 'body',
46
- };
47
- }
48
- static types() {
49
- return {
50
- headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
51
- statusCode: 'number',
52
- body: DescribeFlowStatisticResponseBody_1.DescribeFlowStatisticResponseBody,
53
- };
54
- }
55
- validate() {
56
- if (this.headers) {
57
- $dara.Model.validateMap(this.headers);
58
- }
59
- if (this.body && typeof this.body.validate === 'function') {
60
- this.body.validate();
61
- }
62
- super.validate();
63
- }
64
- constructor(map) {
65
- super(map);
66
- }
67
- }
68
- exports.DescribeFlowStatisticResponse = DescribeFlowStatisticResponse;
69
- //# sourceMappingURL=DescribeFlowStatisticResponse.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"DescribeFlowStatisticResponse.js","sourceRoot":"","sources":["../../src/models/DescribeFlowStatisticResponse.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,2FAAwF;AAGxF,MAAa,6BAA8B,SAAQ,KAAK,CAAC,KAAK;IAI5D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,SAAS;YAClB,UAAU,EAAE,YAAY;YACxB,IAAI,EAAE,MAAM;SACb,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,WAAW,EAAE,QAAQ,EAAE;YACtE,UAAU,EAAE,QAAQ;YACpB,IAAI,EAAE,qEAAiC;SACxC,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,OAAO,EAAE,CAAC;YAChB,KAAK,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACxC,CAAC;QACD,IAAG,IAAI,CAAC,IAAI,IAAI,OAAQ,IAAI,CAAC,IAAY,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACjE,IAAI,CAAC,IAAY,CAAC,QAAQ,EAAE,CAAC;QAChC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAjCD,sEAiCC"}
@@ -1,78 +0,0 @@
1
- import * as $dara from '@darabonba/typescript';
2
- export declare class DescribeFlowStatisticResponseBodyDesktopFlowStatistic extends $dara.Model {
3
- /**
4
- * @remarks
5
- * The ID of the cloud computer.
6
- *
7
- * @example
8
- * ecd-8bslxqq0csytn****
9
- */
10
- desktopId?: string;
11
- /**
12
- * @remarks
13
- * The name of the cloud computer.
14
- *
15
- * @example
16
- * desktop-1
17
- */
18
- desktopName?: string;
19
- /**
20
- * @remarks
21
- * The traffic amount. Unit: KB.
22
- *
23
- * @example
24
- * 1000
25
- */
26
- flowIn?: string;
27
- /**
28
- * @remarks
29
- * The traffic ranking.
30
- *
31
- * @example
32
- * 1
33
- */
34
- flowRank?: number;
35
- static names(): {
36
- [key: string]: string;
37
- };
38
- static types(): {
39
- [key: string]: any;
40
- };
41
- validate(): void;
42
- constructor(map?: {
43
- [key: string]: any;
44
- });
45
- }
46
- export declare class DescribeFlowStatisticResponseBody extends $dara.Model {
47
- /**
48
- * @remarks
49
- * The number of available cloud computers in the office network.
50
- *
51
- * @example
52
- * 2
53
- */
54
- desktopCount?: number;
55
- /**
56
- * @remarks
57
- * The traffic statistics.
58
- */
59
- desktopFlowStatistic?: DescribeFlowStatisticResponseBodyDesktopFlowStatistic[];
60
- /**
61
- * @remarks
62
- * The ID of the request.
63
- *
64
- * @example
65
- * 269BDB16-2CD8-4865-84BD-11C40BC2****
66
- */
67
- requestId?: string;
68
- static names(): {
69
- [key: string]: string;
70
- };
71
- static types(): {
72
- [key: string]: any;
73
- };
74
- validate(): void;
75
- constructor(map?: {
76
- [key: string]: any;
77
- });
78
- }
@@ -1,90 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
- Object.defineProperty(o, "default", { enumerable: true, value: v });
15
- }) : function(o, v) {
16
- o["default"] = v;
17
- });
18
- var __importStar = (this && this.__importStar) || (function () {
19
- var ownKeys = function(o) {
20
- ownKeys = Object.getOwnPropertyNames || function (o) {
21
- var ar = [];
22
- for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
- return ar;
24
- };
25
- return ownKeys(o);
26
- };
27
- return function (mod) {
28
- if (mod && mod.__esModule) return mod;
29
- var result = {};
30
- if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
- __setModuleDefault(result, mod);
32
- return result;
33
- };
34
- })();
35
- Object.defineProperty(exports, "__esModule", { value: true });
36
- exports.DescribeFlowStatisticResponseBody = exports.DescribeFlowStatisticResponseBodyDesktopFlowStatistic = void 0;
37
- // This file is auto-generated, don't edit it
38
- const $dara = __importStar(require("@darabonba/typescript"));
39
- class DescribeFlowStatisticResponseBodyDesktopFlowStatistic extends $dara.Model {
40
- static names() {
41
- return {
42
- desktopId: 'DesktopId',
43
- desktopName: 'DesktopName',
44
- flowIn: 'FlowIn',
45
- flowRank: 'FlowRank',
46
- };
47
- }
48
- static types() {
49
- return {
50
- desktopId: 'string',
51
- desktopName: 'string',
52
- flowIn: 'string',
53
- flowRank: 'number',
54
- };
55
- }
56
- validate() {
57
- super.validate();
58
- }
59
- constructor(map) {
60
- super(map);
61
- }
62
- }
63
- exports.DescribeFlowStatisticResponseBodyDesktopFlowStatistic = DescribeFlowStatisticResponseBodyDesktopFlowStatistic;
64
- class DescribeFlowStatisticResponseBody extends $dara.Model {
65
- static names() {
66
- return {
67
- desktopCount: 'DesktopCount',
68
- desktopFlowStatistic: 'DesktopFlowStatistic',
69
- requestId: 'RequestId',
70
- };
71
- }
72
- static types() {
73
- return {
74
- desktopCount: 'number',
75
- desktopFlowStatistic: { 'type': 'array', 'itemType': DescribeFlowStatisticResponseBodyDesktopFlowStatistic },
76
- requestId: 'string',
77
- };
78
- }
79
- validate() {
80
- if (Array.isArray(this.desktopFlowStatistic)) {
81
- $dara.Model.validateArray(this.desktopFlowStatistic);
82
- }
83
- super.validate();
84
- }
85
- constructor(map) {
86
- super(map);
87
- }
88
- }
89
- exports.DescribeFlowStatisticResponseBody = DescribeFlowStatisticResponseBody;
90
- //# sourceMappingURL=DescribeFlowStatisticResponseBody.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"DescribeFlowStatisticResponseBody.js","sourceRoot":"","sources":["../../src/models/DescribeFlowStatisticResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,qDAAsD,SAAQ,KAAK,CAAC,KAAK;IAiCpF,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,WAAW;YACtB,WAAW,EAAE,aAAa;YAC1B,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAAE,UAAU;SACrB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,QAAQ;YACnB,WAAW,EAAE,QAAQ;YACrB,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAAE,QAAQ;SACnB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA1DD,sHA0DC;AAED,MAAa,iCAAkC,SAAQ,KAAK,CAAC,KAAK;IAsBhE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,YAAY,EAAE,cAAc;YAC5B,oBAAoB,EAAE,sBAAsB;YAC5C,SAAS,EAAE,WAAW;SACvB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,YAAY,EAAE,QAAQ;YACtB,oBAAoB,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,qDAAqD,EAAE;YAC5G,SAAS,EAAE,QAAQ;SACpB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,oBAAoB,CAAC,EAAE,CAAC;YAC5C,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,oBAAoB,CAAC,CAAC;QACvD,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAhDD,8EAgDC"}
@@ -1,99 +0,0 @@
1
- // This file is auto-generated, don't edit it
2
- import * as $dara from '@darabonba/typescript';
3
-
4
-
5
- export class DescribeFlowStatisticRequest extends $dara.Model {
6
- /**
7
- * @remarks
8
- * The ID of the cloud computer.
9
- *
10
- * @example
11
- * ecd-7w78ozhjcwa3u****
12
- */
13
- desktopId?: string;
14
- /**
15
- * @remarks
16
- * The office network ID.
17
- *
18
- * This parameter is required.
19
- *
20
- * @example
21
- * cn-hangzhou+dir-363353****
22
- */
23
- officeSiteId?: string;
24
- /**
25
- * @remarks
26
- * The number of the page to return.<br>
27
- * Default value: 1.
28
- *
29
- * @example
30
- * 1
31
- */
32
- pageNumber?: number;
33
- /**
34
- * @remarks
35
- * The number of entries to return on each page.
36
- *
37
- * @example
38
- * 20
39
- */
40
- pageSize?: number;
41
- /**
42
- * @remarks
43
- * The statistic collection interval. Unit: seconds.
44
- *
45
- * Valid values:
46
- *
47
- * - 3600: 1 hour
48
- *
49
- * - 10800: 3 hours
50
- *
51
- * - 86400: 24 hours
52
- *
53
- * This parameter is required.
54
- *
55
- * @example
56
- * 3600
57
- */
58
- period?: number;
59
- /**
60
- * @remarks
61
- * The region ID. You can call the [DescribeRegions](https://help.aliyun.com/document_detail/196646.html) operation to query the most recent region list.
62
- *
63
- * This parameter is required.
64
- *
65
- * @example
66
- * cn-hangzhou
67
- */
68
- regionId?: string;
69
- static names(): { [key: string]: string } {
70
- return {
71
- desktopId: 'DesktopId',
72
- officeSiteId: 'OfficeSiteId',
73
- pageNumber: 'PageNumber',
74
- pageSize: 'PageSize',
75
- period: 'Period',
76
- regionId: 'RegionId',
77
- };
78
- }
79
-
80
- static types(): { [key: string]: any } {
81
- return {
82
- desktopId: 'string',
83
- officeSiteId: 'string',
84
- pageNumber: 'number',
85
- pageSize: 'number',
86
- period: 'number',
87
- regionId: 'string',
88
- };
89
- }
90
-
91
- validate() {
92
- super.validate();
93
- }
94
-
95
- constructor(map?: { [key: string]: any }) {
96
- super(map);
97
- }
98
- }
99
-
@@ -1,40 +0,0 @@
1
- // This file is auto-generated, don't edit it
2
- import * as $dara from '@darabonba/typescript';
3
- import { DescribeFlowStatisticResponseBody } from "./DescribeFlowStatisticResponseBody";
4
-
5
-
6
- export class DescribeFlowStatisticResponse extends $dara.Model {
7
- headers?: { [key: string]: string };
8
- statusCode?: number;
9
- body?: DescribeFlowStatisticResponseBody;
10
- static names(): { [key: string]: string } {
11
- return {
12
- headers: 'headers',
13
- statusCode: 'statusCode',
14
- body: 'body',
15
- };
16
- }
17
-
18
- static types(): { [key: string]: any } {
19
- return {
20
- headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
21
- statusCode: 'number',
22
- body: DescribeFlowStatisticResponseBody,
23
- };
24
- }
25
-
26
- validate() {
27
- if(this.headers) {
28
- $dara.Model.validateMap(this.headers);
29
- }
30
- if(this.body && typeof (this.body as any).validate === 'function') {
31
- (this.body as any).validate();
32
- }
33
- super.validate();
34
- }
35
-
36
- constructor(map?: { [key: string]: any }) {
37
- super(map);
38
- }
39
- }
40
-
@@ -1,114 +0,0 @@
1
- // This file is auto-generated, don't edit it
2
- import * as $dara from '@darabonba/typescript';
3
-
4
-
5
- export class DescribeFlowStatisticResponseBodyDesktopFlowStatistic extends $dara.Model {
6
- /**
7
- * @remarks
8
- * The ID of the cloud computer.
9
- *
10
- * @example
11
- * ecd-8bslxqq0csytn****
12
- */
13
- desktopId?: string;
14
- /**
15
- * @remarks
16
- * The name of the cloud computer.
17
- *
18
- * @example
19
- * desktop-1
20
- */
21
- desktopName?: string;
22
- /**
23
- * @remarks
24
- * The traffic amount. Unit: KB.
25
- *
26
- * @example
27
- * 1000
28
- */
29
- flowIn?: string;
30
- /**
31
- * @remarks
32
- * The traffic ranking.
33
- *
34
- * @example
35
- * 1
36
- */
37
- flowRank?: number;
38
- static names(): { [key: string]: string } {
39
- return {
40
- desktopId: 'DesktopId',
41
- desktopName: 'DesktopName',
42
- flowIn: 'FlowIn',
43
- flowRank: 'FlowRank',
44
- };
45
- }
46
-
47
- static types(): { [key: string]: any } {
48
- return {
49
- desktopId: 'string',
50
- desktopName: 'string',
51
- flowIn: 'string',
52
- flowRank: 'number',
53
- };
54
- }
55
-
56
- validate() {
57
- super.validate();
58
- }
59
-
60
- constructor(map?: { [key: string]: any }) {
61
- super(map);
62
- }
63
- }
64
-
65
- export class DescribeFlowStatisticResponseBody extends $dara.Model {
66
- /**
67
- * @remarks
68
- * The number of available cloud computers in the office network.
69
- *
70
- * @example
71
- * 2
72
- */
73
- desktopCount?: number;
74
- /**
75
- * @remarks
76
- * The traffic statistics.
77
- */
78
- desktopFlowStatistic?: DescribeFlowStatisticResponseBodyDesktopFlowStatistic[];
79
- /**
80
- * @remarks
81
- * The ID of the request.
82
- *
83
- * @example
84
- * 269BDB16-2CD8-4865-84BD-11C40BC2****
85
- */
86
- requestId?: string;
87
- static names(): { [key: string]: string } {
88
- return {
89
- desktopCount: 'DesktopCount',
90
- desktopFlowStatistic: 'DesktopFlowStatistic',
91
- requestId: 'RequestId',
92
- };
93
- }
94
-
95
- static types(): { [key: string]: any } {
96
- return {
97
- desktopCount: 'number',
98
- desktopFlowStatistic: { 'type': 'array', 'itemType': DescribeFlowStatisticResponseBodyDesktopFlowStatistic },
99
- requestId: 'string',
100
- };
101
- }
102
-
103
- validate() {
104
- if(Array.isArray(this.desktopFlowStatistic)) {
105
- $dara.Model.validateArray(this.desktopFlowStatistic);
106
- }
107
- super.validate();
108
- }
109
-
110
- constructor(map?: { [key: string]: any }) {
111
- super(map);
112
- }
113
- }
114
-