@alicloud/polardb20170801 7.8.0 → 7.10.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 (145) hide show
  1. package/dist/client.d.ts +201 -0
  2. package/dist/client.js +557 -0
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/BindResourceControlRequest.d.ts +63 -0
  5. package/dist/models/BindResourceControlRequest.js +66 -0
  6. package/dist/models/BindResourceControlRequest.js.map +1 -0
  7. package/dist/models/BindResourceControlResponse.d.ts +19 -0
  8. package/dist/models/BindResourceControlResponse.js +69 -0
  9. package/dist/models/BindResourceControlResponse.js.map +1 -0
  10. package/dist/models/BindResourceControlResponseBody.d.ts +21 -0
  11. package/dist/models/BindResourceControlResponseBody.js +58 -0
  12. package/dist/models/BindResourceControlResponseBody.js.map +1 -0
  13. package/dist/models/CreateApplicationAgentRelationRequest.d.ts +43 -0
  14. package/dist/models/CreateApplicationAgentRelationRequest.js +62 -0
  15. package/dist/models/CreateApplicationAgentRelationRequest.js.map +1 -0
  16. package/dist/models/CreateApplicationAgentRelationResponse.d.ts +19 -0
  17. package/dist/models/CreateApplicationAgentRelationResponse.js +69 -0
  18. package/dist/models/CreateApplicationAgentRelationResponse.js.map +1 -0
  19. package/dist/models/CreateApplicationAgentRelationResponseBody.d.ts +29 -0
  20. package/dist/models/CreateApplicationAgentRelationResponseBody.js +60 -0
  21. package/dist/models/CreateApplicationAgentRelationResponseBody.js.map +1 -0
  22. package/dist/models/CreateResourceControlRequest.d.ts +58 -0
  23. package/dist/models/CreateResourceControlRequest.js +66 -0
  24. package/dist/models/CreateResourceControlRequest.js.map +1 -0
  25. package/dist/models/CreateResourceControlResponse.d.ts +19 -0
  26. package/dist/models/CreateResourceControlResponse.js +69 -0
  27. package/dist/models/CreateResourceControlResponse.js.map +1 -0
  28. package/dist/models/CreateResourceControlResponseBody.d.ts +21 -0
  29. package/dist/models/CreateResourceControlResponseBody.js +58 -0
  30. package/dist/models/CreateResourceControlResponseBody.js.map +1 -0
  31. package/dist/models/DeleteResourceControlRequest.d.ts +41 -0
  32. package/dist/models/DeleteResourceControlRequest.js +62 -0
  33. package/dist/models/DeleteResourceControlRequest.js.map +1 -0
  34. package/dist/models/DeleteResourceControlResponse.d.ts +19 -0
  35. package/dist/models/DeleteResourceControlResponse.js +69 -0
  36. package/dist/models/DeleteResourceControlResponse.js.map +1 -0
  37. package/dist/models/DeleteResourceControlResponseBody.d.ts +21 -0
  38. package/dist/models/DeleteResourceControlResponseBody.js +58 -0
  39. package/dist/models/DeleteResourceControlResponseBody.js.map +1 -0
  40. package/dist/models/DescribeApplicationUsageRequest.d.ts +31 -0
  41. package/dist/models/DescribeApplicationUsageRequest.js +60 -0
  42. package/dist/models/DescribeApplicationUsageRequest.js.map +1 -0
  43. package/dist/models/DescribeApplicationUsageResponse.d.ts +19 -0
  44. package/dist/models/DescribeApplicationUsageResponse.js +69 -0
  45. package/dist/models/DescribeApplicationUsageResponse.js.map +1 -0
  46. package/dist/models/DescribeApplicationUsageResponseBody.d.ts +354 -0
  47. package/dist/models/DescribeApplicationUsageResponseBody.js +230 -0
  48. package/dist/models/DescribeApplicationUsageResponseBody.js.map +1 -0
  49. package/dist/models/GetLakebaseTenantTokenRequest.d.ts +49 -0
  50. package/dist/models/GetLakebaseTenantTokenRequest.js +64 -0
  51. package/dist/models/GetLakebaseTenantTokenRequest.js.map +1 -0
  52. package/dist/models/GetLakebaseTenantTokenResponse.d.ts +19 -0
  53. package/dist/models/GetLakebaseTenantTokenResponse.js +69 -0
  54. package/dist/models/GetLakebaseTenantTokenResponse.js.map +1 -0
  55. package/dist/models/GetLakebaseTenantTokenResponseBody.d.ts +61 -0
  56. package/dist/models/GetLakebaseTenantTokenResponseBody.js +68 -0
  57. package/dist/models/GetLakebaseTenantTokenResponseBody.js.map +1 -0
  58. package/dist/models/ModifyApplicationEndpointAddressRequest.d.ts +95 -0
  59. package/dist/models/ModifyApplicationEndpointAddressRequest.js +92 -0
  60. package/dist/models/ModifyApplicationEndpointAddressRequest.js.map +1 -0
  61. package/dist/models/ModifyApplicationEndpointAddressResponse.d.ts +19 -0
  62. package/dist/models/ModifyApplicationEndpointAddressResponse.js +69 -0
  63. package/dist/models/ModifyApplicationEndpointAddressResponse.js.map +1 -0
  64. package/dist/models/ModifyApplicationEndpointAddressResponseBody.d.ts +37 -0
  65. package/dist/models/ModifyApplicationEndpointAddressResponseBody.js +62 -0
  66. package/dist/models/ModifyApplicationEndpointAddressResponseBody.js.map +1 -0
  67. package/dist/models/ModifyApplicationEndpointAddressShrinkRequest.d.ts +59 -0
  68. package/dist/models/ModifyApplicationEndpointAddressShrinkRequest.js +66 -0
  69. package/dist/models/ModifyApplicationEndpointAddressShrinkRequest.js.map +1 -0
  70. package/dist/models/ModifyResourceControlRequest.d.ts +58 -0
  71. package/dist/models/ModifyResourceControlRequest.js +66 -0
  72. package/dist/models/ModifyResourceControlRequest.js.map +1 -0
  73. package/dist/models/ModifyResourceControlResponse.d.ts +19 -0
  74. package/dist/models/ModifyResourceControlResponse.js +69 -0
  75. package/dist/models/ModifyResourceControlResponse.js.map +1 -0
  76. package/dist/models/ModifyResourceControlResponseBody.d.ts +21 -0
  77. package/dist/models/ModifyResourceControlResponseBody.js +58 -0
  78. package/dist/models/ModifyResourceControlResponseBody.js.map +1 -0
  79. package/dist/models/RestartAidbclusterRequest.d.ts +21 -0
  80. package/dist/models/RestartAidbclusterRequest.js +58 -0
  81. package/dist/models/RestartAidbclusterRequest.js.map +1 -0
  82. package/dist/models/RestartAidbclusterResponse.d.ts +19 -0
  83. package/dist/models/RestartAidbclusterResponse.js +69 -0
  84. package/dist/models/RestartAidbclusterResponse.js.map +1 -0
  85. package/dist/models/RestartAidbclusterResponseBody.d.ts +21 -0
  86. package/dist/models/RestartAidbclusterResponseBody.js +58 -0
  87. package/dist/models/RestartAidbclusterResponseBody.js.map +1 -0
  88. package/dist/models/UnbindResourceControlRequest.d.ts +62 -0
  89. package/dist/models/UnbindResourceControlRequest.js +66 -0
  90. package/dist/models/UnbindResourceControlRequest.js.map +1 -0
  91. package/dist/models/UnbindResourceControlResponse.d.ts +19 -0
  92. package/dist/models/UnbindResourceControlResponse.js +69 -0
  93. package/dist/models/UnbindResourceControlResponse.js.map +1 -0
  94. package/dist/models/UnbindResourceControlResponseBody.d.ts +21 -0
  95. package/dist/models/UnbindResourceControlResponseBody.js +58 -0
  96. package/dist/models/UnbindResourceControlResponseBody.js.map +1 -0
  97. package/dist/models/UpgradeApplicationVersionRequest.d.ts +31 -0
  98. package/dist/models/UpgradeApplicationVersionRequest.js +60 -0
  99. package/dist/models/UpgradeApplicationVersionRequest.js.map +1 -0
  100. package/dist/models/UpgradeApplicationVersionResponse.d.ts +19 -0
  101. package/dist/models/UpgradeApplicationVersionResponse.js +69 -0
  102. package/dist/models/UpgradeApplicationVersionResponse.js.map +1 -0
  103. package/dist/models/UpgradeApplicationVersionResponseBody.d.ts +21 -0
  104. package/dist/models/UpgradeApplicationVersionResponseBody.js +58 -0
  105. package/dist/models/UpgradeApplicationVersionResponseBody.js.map +1 -0
  106. package/dist/models/model.d.ts +40 -0
  107. package/dist/models/model.js +113 -32
  108. package/dist/models/model.js.map +1 -1
  109. package/package.json +1 -1
  110. package/src/client.ts +620 -0
  111. package/src/models/BindResourceControlRequest.ts +84 -0
  112. package/src/models/BindResourceControlResponse.ts +40 -0
  113. package/src/models/BindResourceControlResponseBody.ts +34 -0
  114. package/src/models/CreateApplicationAgentRelationRequest.ts +60 -0
  115. package/src/models/CreateApplicationAgentRelationResponse.ts +40 -0
  116. package/src/models/CreateApplicationAgentRelationResponseBody.ts +44 -0
  117. package/src/models/CreateResourceControlRequest.ts +79 -0
  118. package/src/models/CreateResourceControlResponse.ts +40 -0
  119. package/src/models/CreateResourceControlResponseBody.ts +34 -0
  120. package/src/models/DeleteResourceControlRequest.ts +58 -0
  121. package/src/models/DeleteResourceControlResponse.ts +40 -0
  122. package/src/models/DeleteResourceControlResponseBody.ts +34 -0
  123. package/src/models/DescribeApplicationUsageRequest.ts +46 -0
  124. package/src/models/DescribeApplicationUsageResponse.ts +40 -0
  125. package/src/models/DescribeApplicationUsageResponseBody.ts +494 -0
  126. package/src/models/GetLakebaseTenantTokenRequest.ts +68 -0
  127. package/src/models/GetLakebaseTenantTokenResponse.ts +40 -0
  128. package/src/models/GetLakebaseTenantTokenResponseBody.ts +84 -0
  129. package/src/models/ModifyApplicationEndpointAddressRequest.ts +133 -0
  130. package/src/models/ModifyApplicationEndpointAddressResponse.ts +40 -0
  131. package/src/models/ModifyApplicationEndpointAddressResponseBody.ts +54 -0
  132. package/src/models/ModifyApplicationEndpointAddressShrinkRequest.ts +80 -0
  133. package/src/models/ModifyResourceControlRequest.ts +79 -0
  134. package/src/models/ModifyResourceControlResponse.ts +40 -0
  135. package/src/models/ModifyResourceControlResponseBody.ts +34 -0
  136. package/src/models/RestartAidbclusterRequest.ts +34 -0
  137. package/src/models/RestartAidbclusterResponse.ts +40 -0
  138. package/src/models/RestartAidbclusterResponseBody.ts +34 -0
  139. package/src/models/UnbindResourceControlRequest.ts +83 -0
  140. package/src/models/UnbindResourceControlResponse.ts +40 -0
  141. package/src/models/UnbindResourceControlResponseBody.ts +34 -0
  142. package/src/models/UpgradeApplicationVersionRequest.ts +46 -0
  143. package/src/models/UpgradeApplicationVersionResponse.ts +40 -0
  144. package/src/models/UpgradeApplicationVersionResponseBody.ts +34 -0
  145. package/src/models/model.ts +40 -0
@@ -0,0 +1,84 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class BindResourceControlRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The cluster ID.
9
+ *
10
+ * This parameter is required.
11
+ *
12
+ * @example
13
+ * pm-xxxxxx
14
+ */
15
+ DBClusterId?: string;
16
+ /**
17
+ * @remarks
18
+ * The region ID.
19
+ *
20
+ * > You can call the [DescribeRegions](https://help.aliyun.com/document_detail/98041.html) operation to query available regions.
21
+ *
22
+ * @example
23
+ * cn-beijing
24
+ */
25
+ regionId?: string;
26
+ /**
27
+ * @remarks
28
+ * The resource control name.
29
+ *
30
+ * This parameter is required.
31
+ *
32
+ * @example
33
+ * test-rc
34
+ */
35
+ resourceControlName?: string;
36
+ /**
37
+ * @remarks
38
+ * The target instance type.
39
+ *
40
+ * This parameter is required.
41
+ *
42
+ * @example
43
+ * 4
44
+ */
45
+ targetType?: string;
46
+ /**
47
+ * @remarks
48
+ * The target value. This parameter applies to target tracking rules and prediction rules. The value of TargetValue can contain up to three decimal places and must be greater than 0.
49
+ *
50
+ * This parameter is required.
51
+ *
52
+ * @example
53
+ * 646060ae9852280007a62545,68b696cb0a7fa600078d41af
54
+ */
55
+ targetValue?: string;
56
+ static names(): { [key: string]: string } {
57
+ return {
58
+ DBClusterId: 'DBClusterId',
59
+ regionId: 'RegionId',
60
+ resourceControlName: 'ResourceControlName',
61
+ targetType: 'TargetType',
62
+ targetValue: 'TargetValue',
63
+ };
64
+ }
65
+
66
+ static types(): { [key: string]: any } {
67
+ return {
68
+ DBClusterId: 'string',
69
+ regionId: 'string',
70
+ resourceControlName: 'string',
71
+ targetType: 'string',
72
+ targetValue: 'string',
73
+ };
74
+ }
75
+
76
+ validate() {
77
+ super.validate();
78
+ }
79
+
80
+ constructor(map?: { [key: string]: any }) {
81
+ super(map);
82
+ }
83
+ }
84
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { BindResourceControlResponseBody } from "./BindResourceControlResponseBody";
4
+
5
+
6
+ export class BindResourceControlResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: BindResourceControlResponseBody;
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: BindResourceControlResponseBody,
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
+
@@ -0,0 +1,34 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class BindResourceControlResponseBody extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The request ID.
9
+ *
10
+ * @example
11
+ * 6BD9CDE4-5E7B-4BF3-9BB8-83C73E******
12
+ */
13
+ requestId?: string;
14
+ static names(): { [key: string]: string } {
15
+ return {
16
+ requestId: 'RequestId',
17
+ };
18
+ }
19
+
20
+ static types(): { [key: string]: any } {
21
+ return {
22
+ requestId: 'string',
23
+ };
24
+ }
25
+
26
+ validate() {
27
+ super.validate();
28
+ }
29
+
30
+ constructor(map?: { [key: string]: any }) {
31
+ super(map);
32
+ }
33
+ }
34
+
@@ -0,0 +1,60 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class CreateApplicationAgentRelationRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The instance ID of the Agent to attach.
9
+ *
10
+ * This parameter is required.
11
+ *
12
+ * @example
13
+ * pa-xxx
14
+ */
15
+ agentId?: string;
16
+ /**
17
+ * @remarks
18
+ * The ID of the Squad application.
19
+ *
20
+ * This parameter is required.
21
+ *
22
+ * @example
23
+ * pa-xxx
24
+ */
25
+ applicationId?: string;
26
+ /**
27
+ * @remarks
28
+ * The authentication token.
29
+ *
30
+ * This parameter is required.
31
+ *
32
+ * @example
33
+ * pas_xxx
34
+ */
35
+ token?: string;
36
+ static names(): { [key: string]: string } {
37
+ return {
38
+ agentId: 'AgentId',
39
+ applicationId: 'ApplicationId',
40
+ token: 'Token',
41
+ };
42
+ }
43
+
44
+ static types(): { [key: string]: any } {
45
+ return {
46
+ agentId: 'string',
47
+ applicationId: 'string',
48
+ token: 'string',
49
+ };
50
+ }
51
+
52
+ validate() {
53
+ super.validate();
54
+ }
55
+
56
+ constructor(map?: { [key: string]: any }) {
57
+ super(map);
58
+ }
59
+ }
60
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { CreateApplicationAgentRelationResponseBody } from "./CreateApplicationAgentRelationResponseBody";
4
+
5
+
6
+ export class CreateApplicationAgentRelationResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: CreateApplicationAgentRelationResponseBody;
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: CreateApplicationAgentRelationResponseBody,
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
+
@@ -0,0 +1,44 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class CreateApplicationAgentRelationResponseBody extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The ID of the Squad application.
9
+ *
10
+ * @example
11
+ * pa-xxx
12
+ */
13
+ applicationId?: string;
14
+ /**
15
+ * @remarks
16
+ * Id of the request
17
+ *
18
+ * @example
19
+ * CD3FA5F3-FAF3-44CA-AFFF-BAF869******
20
+ */
21
+ requestId?: string;
22
+ static names(): { [key: string]: string } {
23
+ return {
24
+ applicationId: 'ApplicationId',
25
+ requestId: 'RequestId',
26
+ };
27
+ }
28
+
29
+ static types(): { [key: string]: any } {
30
+ return {
31
+ applicationId: 'string',
32
+ requestId: 'string',
33
+ };
34
+ }
35
+
36
+ validate() {
37
+ super.validate();
38
+ }
39
+
40
+ constructor(map?: { [key: string]: any }) {
41
+ super(map);
42
+ }
43
+ }
44
+
@@ -0,0 +1,79 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class CreateResourceControlRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The total number of CPU cores.
9
+ *
10
+ * @example
11
+ * 16
12
+ */
13
+ cpuCount?: number;
14
+ /**
15
+ * @remarks
16
+ * The cluster ID.
17
+ *
18
+ * This parameter is required.
19
+ *
20
+ * @example
21
+ * pc-**************
22
+ */
23
+ DBClusterId?: string;
24
+ /**
25
+ * @remarks
26
+ * The maximum number of CPUs. Unit: 0.001 CPU. A value of 1000 indicates one CPU. If you specify this parameter, instances whose CPU count is less than the specified value are returned.
27
+ *
28
+ * @example
29
+ * 1000000
30
+ */
31
+ maxCpu?: number;
32
+ /**
33
+ * @remarks
34
+ * The region ID.
35
+ * > You can call the [DescribeRegions](https://help.aliyun.com/document_detail/98041.html) operation to query available regions.
36
+ *
37
+ * @example
38
+ * cn-beijing
39
+ */
40
+ regionId?: string;
41
+ /**
42
+ * @remarks
43
+ * The resource control name.
44
+ *
45
+ * This parameter is required.
46
+ *
47
+ * @example
48
+ * test-rc
49
+ */
50
+ resourceControlName?: string;
51
+ static names(): { [key: string]: string } {
52
+ return {
53
+ cpuCount: 'CpuCount',
54
+ DBClusterId: 'DBClusterId',
55
+ maxCpu: 'MaxCpu',
56
+ regionId: 'RegionId',
57
+ resourceControlName: 'ResourceControlName',
58
+ };
59
+ }
60
+
61
+ static types(): { [key: string]: any } {
62
+ return {
63
+ cpuCount: 'number',
64
+ DBClusterId: 'string',
65
+ maxCpu: 'number',
66
+ regionId: 'string',
67
+ resourceControlName: 'string',
68
+ };
69
+ }
70
+
71
+ validate() {
72
+ super.validate();
73
+ }
74
+
75
+ constructor(map?: { [key: string]: any }) {
76
+ super(map);
77
+ }
78
+ }
79
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { CreateResourceControlResponseBody } from "./CreateResourceControlResponseBody";
4
+
5
+
6
+ export class CreateResourceControlResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: CreateResourceControlResponseBody;
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: CreateResourceControlResponseBody,
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
+
@@ -0,0 +1,34 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class CreateResourceControlResponseBody extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * Id of the request
9
+ *
10
+ * @example
11
+ * C61892A4-0850-4516-9E26-44D96C1782DE
12
+ */
13
+ requestId?: string;
14
+ static names(): { [key: string]: string } {
15
+ return {
16
+ requestId: 'RequestId',
17
+ };
18
+ }
19
+
20
+ static types(): { [key: string]: any } {
21
+ return {
22
+ requestId: 'string',
23
+ };
24
+ }
25
+
26
+ validate() {
27
+ super.validate();
28
+ }
29
+
30
+ constructor(map?: { [key: string]: any }) {
31
+ super(map);
32
+ }
33
+ }
34
+
@@ -0,0 +1,58 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DeleteResourceControlRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The database cluster ID.
9
+ *
10
+ * This parameter is required.
11
+ *
12
+ * @example
13
+ * pc-****************
14
+ */
15
+ DBClusterId?: string;
16
+ /**
17
+ * @remarks
18
+ * The region ID.
19
+ *
20
+ * @example
21
+ * cn-beijing
22
+ */
23
+ regionId?: string;
24
+ /**
25
+ * @remarks
26
+ * The resource control name.
27
+ *
28
+ * This parameter is required.
29
+ *
30
+ * @example
31
+ * test-rc
32
+ */
33
+ resourceControlName?: string;
34
+ static names(): { [key: string]: string } {
35
+ return {
36
+ DBClusterId: 'DBClusterId',
37
+ regionId: 'RegionId',
38
+ resourceControlName: 'ResourceControlName',
39
+ };
40
+ }
41
+
42
+ static types(): { [key: string]: any } {
43
+ return {
44
+ DBClusterId: 'string',
45
+ regionId: 'string',
46
+ resourceControlName: 'string',
47
+ };
48
+ }
49
+
50
+ validate() {
51
+ super.validate();
52
+ }
53
+
54
+ constructor(map?: { [key: string]: any }) {
55
+ super(map);
56
+ }
57
+ }
58
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { DeleteResourceControlResponseBody } from "./DeleteResourceControlResponseBody";
4
+
5
+
6
+ export class DeleteResourceControlResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: DeleteResourceControlResponseBody;
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: DeleteResourceControlResponseBody,
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
+
@@ -0,0 +1,34 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DeleteResourceControlResponseBody extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * Id of the request
9
+ *
10
+ * @example
11
+ * A7E6A8FD-C50B-46B2-BA85-D8B8D3******
12
+ */
13
+ requestId?: string;
14
+ static names(): { [key: string]: string } {
15
+ return {
16
+ requestId: 'RequestId',
17
+ };
18
+ }
19
+
20
+ static types(): { [key: string]: any } {
21
+ return {
22
+ requestId: 'string',
23
+ };
24
+ }
25
+
26
+ validate() {
27
+ super.validate();
28
+ }
29
+
30
+ constructor(map?: { [key: string]: any }) {
31
+ super(map);
32
+ }
33
+ }
34
+
@@ -0,0 +1,46 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DescribeApplicationUsageRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The Hermes application ID.
9
+ *
10
+ * This parameter is required.
11
+ *
12
+ * @example
13
+ * pa-123456
14
+ */
15
+ applicationId?: string;
16
+ /**
17
+ * @remarks
18
+ * The number of recent days to query. Valid values: 1 to 365. Default value: 30.
19
+ *
20
+ * @example
21
+ * 30
22
+ */
23
+ days?: number;
24
+ static names(): { [key: string]: string } {
25
+ return {
26
+ applicationId: 'ApplicationId',
27
+ days: 'Days',
28
+ };
29
+ }
30
+
31
+ static types(): { [key: string]: any } {
32
+ return {
33
+ applicationId: 'string',
34
+ days: 'number',
35
+ };
36
+ }
37
+
38
+ validate() {
39
+ super.validate();
40
+ }
41
+
42
+ constructor(map?: { [key: string]: any }) {
43
+ super(map);
44
+ }
45
+ }
46
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { DescribeApplicationUsageResponseBody } from "./DescribeApplicationUsageResponseBody";
4
+
5
+
6
+ export class DescribeApplicationUsageResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: DescribeApplicationUsageResponseBody;
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: DescribeApplicationUsageResponseBody,
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
+