@alicloud/polardb20170801 7.9.0 → 7.11.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 +243 -0
  2. package/dist/client.js +590 -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/CreateAidbclusterApiKeyRequest.d.ts +33 -0
  14. package/dist/models/CreateAidbclusterApiKeyRequest.js +60 -0
  15. package/dist/models/CreateAidbclusterApiKeyRequest.js.map +1 -0
  16. package/dist/models/CreateAidbclusterApiKeyResponse.d.ts +19 -0
  17. package/dist/models/CreateAidbclusterApiKeyResponse.js +69 -0
  18. package/dist/models/CreateAidbclusterApiKeyResponse.js.map +1 -0
  19. package/dist/models/CreateAidbclusterApiKeyResponseBody.d.ts +78 -0
  20. package/dist/models/CreateAidbclusterApiKeyResponseBody.js +90 -0
  21. package/dist/models/CreateAidbclusterApiKeyResponseBody.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/DeleteAidbclusterApiKeyRequest.d.ts +34 -0
  32. package/dist/models/DeleteAidbclusterApiKeyRequest.js +60 -0
  33. package/dist/models/DeleteAidbclusterApiKeyRequest.js.map +1 -0
  34. package/dist/models/DeleteAidbclusterApiKeyResponse.d.ts +19 -0
  35. package/dist/models/DeleteAidbclusterApiKeyResponse.js +69 -0
  36. package/dist/models/DeleteAidbclusterApiKeyResponse.js.map +1 -0
  37. package/dist/models/DeleteAidbclusterApiKeyResponseBody.d.ts +29 -0
  38. package/dist/models/DeleteAidbclusterApiKeyResponseBody.js +60 -0
  39. package/dist/models/DeleteAidbclusterApiKeyResponseBody.js.map +1 -0
  40. package/dist/models/DeleteResourceControlRequest.d.ts +42 -0
  41. package/dist/models/DeleteResourceControlRequest.js +62 -0
  42. package/dist/models/DeleteResourceControlRequest.js.map +1 -0
  43. package/dist/models/DeleteResourceControlResponse.d.ts +19 -0
  44. package/dist/models/DeleteResourceControlResponse.js +69 -0
  45. package/dist/models/DeleteResourceControlResponse.js.map +1 -0
  46. package/dist/models/DeleteResourceControlResponseBody.d.ts +21 -0
  47. package/dist/models/DeleteResourceControlResponseBody.js +58 -0
  48. package/dist/models/DeleteResourceControlResponseBody.js.map +1 -0
  49. package/dist/models/DescribeAidbclusterApiKeysRequest.d.ts +23 -0
  50. package/dist/models/DescribeAidbclusterApiKeysRequest.js +58 -0
  51. package/dist/models/DescribeAidbclusterApiKeysRequest.js.map +1 -0
  52. package/dist/models/DescribeAidbclusterApiKeysResponse.d.ts +19 -0
  53. package/dist/models/DescribeAidbclusterApiKeysResponse.js +69 -0
  54. package/dist/models/DescribeAidbclusterApiKeysResponse.js.map +1 -0
  55. package/dist/models/DescribeAidbclusterApiKeysResponseBody.d.ts +78 -0
  56. package/dist/models/DescribeAidbclusterApiKeysResponseBody.js +90 -0
  57. package/dist/models/DescribeAidbclusterApiKeysResponseBody.js.map +1 -0
  58. package/dist/models/DescribeApplicationUsageRequest.d.ts +31 -0
  59. package/dist/models/DescribeApplicationUsageRequest.js +60 -0
  60. package/dist/models/DescribeApplicationUsageRequest.js.map +1 -0
  61. package/dist/models/DescribeApplicationUsageResponse.d.ts +19 -0
  62. package/dist/models/DescribeApplicationUsageResponse.js +69 -0
  63. package/dist/models/DescribeApplicationUsageResponse.js.map +1 -0
  64. package/dist/models/DescribeApplicationUsageResponseBody.d.ts +354 -0
  65. package/dist/models/DescribeApplicationUsageResponseBody.js +230 -0
  66. package/dist/models/DescribeApplicationUsageResponseBody.js.map +1 -0
  67. package/dist/models/ModifyApplicationEndpointAddressRequest.d.ts +95 -0
  68. package/dist/models/ModifyApplicationEndpointAddressRequest.js +92 -0
  69. package/dist/models/ModifyApplicationEndpointAddressRequest.js.map +1 -0
  70. package/dist/models/ModifyApplicationEndpointAddressResponse.d.ts +19 -0
  71. package/dist/models/ModifyApplicationEndpointAddressResponse.js +69 -0
  72. package/dist/models/ModifyApplicationEndpointAddressResponse.js.map +1 -0
  73. package/dist/models/ModifyApplicationEndpointAddressResponseBody.d.ts +37 -0
  74. package/dist/models/ModifyApplicationEndpointAddressResponseBody.js +62 -0
  75. package/dist/models/ModifyApplicationEndpointAddressResponseBody.js.map +1 -0
  76. package/dist/models/ModifyApplicationEndpointAddressShrinkRequest.d.ts +59 -0
  77. package/dist/models/ModifyApplicationEndpointAddressShrinkRequest.js +66 -0
  78. package/dist/models/ModifyApplicationEndpointAddressShrinkRequest.js.map +1 -0
  79. package/dist/models/ModifyResourceControlRequest.d.ts +58 -0
  80. package/dist/models/ModifyResourceControlRequest.js +66 -0
  81. package/dist/models/ModifyResourceControlRequest.js.map +1 -0
  82. package/dist/models/ModifyResourceControlResponse.d.ts +19 -0
  83. package/dist/models/ModifyResourceControlResponse.js +69 -0
  84. package/dist/models/ModifyResourceControlResponse.js.map +1 -0
  85. package/dist/models/ModifyResourceControlResponseBody.d.ts +21 -0
  86. package/dist/models/ModifyResourceControlResponseBody.js +58 -0
  87. package/dist/models/ModifyResourceControlResponseBody.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 +42 -0
  107. package/dist/models/model.js +119 -35
  108. package/dist/models/model.js.map +1 -1
  109. package/package.json +1 -1
  110. package/src/client.ts +650 -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/CreateAidbclusterApiKeyRequest.ts +48 -0
  115. package/src/models/CreateAidbclusterApiKeyResponse.ts +40 -0
  116. package/src/models/CreateAidbclusterApiKeyResponseBody.ts +114 -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/DeleteAidbclusterApiKeyRequest.ts +49 -0
  121. package/src/models/DeleteAidbclusterApiKeyResponse.ts +40 -0
  122. package/src/models/DeleteAidbclusterApiKeyResponseBody.ts +44 -0
  123. package/src/models/DeleteResourceControlRequest.ts +59 -0
  124. package/src/models/DeleteResourceControlResponse.ts +40 -0
  125. package/src/models/DeleteResourceControlResponseBody.ts +34 -0
  126. package/src/models/DescribeAidbclusterApiKeysRequest.ts +36 -0
  127. package/src/models/DescribeAidbclusterApiKeysResponse.ts +40 -0
  128. package/src/models/DescribeAidbclusterApiKeysResponseBody.ts +114 -0
  129. package/src/models/DescribeApplicationUsageRequest.ts +46 -0
  130. package/src/models/DescribeApplicationUsageResponse.ts +40 -0
  131. package/src/models/DescribeApplicationUsageResponseBody.ts +494 -0
  132. package/src/models/ModifyApplicationEndpointAddressRequest.ts +133 -0
  133. package/src/models/ModifyApplicationEndpointAddressResponse.ts +40 -0
  134. package/src/models/ModifyApplicationEndpointAddressResponseBody.ts +54 -0
  135. package/src/models/ModifyApplicationEndpointAddressShrinkRequest.ts +80 -0
  136. package/src/models/ModifyResourceControlRequest.ts +79 -0
  137. package/src/models/ModifyResourceControlResponse.ts +40 -0
  138. package/src/models/ModifyResourceControlResponseBody.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 +42 -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 PolarDB cluster ID.
9
+ *
10
+ * This parameter is required.
11
+ *
12
+ * @example
13
+ * pc-**************
14
+ */
15
+ DBClusterId?: string;
16
+ /**
17
+ * @remarks
18
+ * The region ID of the PolarDB cluster.
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 name of the resource control rule. The name must be 1 to 63 ASCII bytes in length, start with a letter, and can contain only letters, digits, and underscores.
29
+ *
30
+ * This parameter is required.
31
+ *
32
+ * @example
33
+ * test_rc
34
+ */
35
+ resourceControlName?: string;
36
+ /**
37
+ * @remarks
38
+ * The type of the binding target. Valid values: USER, DATABASE, QUERY, CONNECTION. The value is case-insensitive.
39
+ *
40
+ * This parameter is required.
41
+ *
42
+ * @example
43
+ * USER
44
+ */
45
+ targetType?: string;
46
+ /**
47
+ * @remarks
48
+ * The value of the binding target. The format depends on the value of TargetType. For more information, see the table below.
49
+ *
50
+ * This parameter is required.
51
+ *
52
+ * @example
53
+ * app_user
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,48 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class CreateAIDBClusterApiKeyRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The description.
9
+ *
10
+ * @example
11
+ * test
12
+ */
13
+ description?: string;
14
+ /**
15
+ * @remarks
16
+ * The region ID.
17
+ * > * You can call the [DescribeRegions](https://help.aliyun.com/document_detail/98041.html) operation to query the regions of all clusters under the specified account.
18
+ * > * If you leave this parameter empty, scheduled tasks across all regions under the current account are queried.
19
+ *
20
+ * This parameter is required.
21
+ *
22
+ * @example
23
+ * cn-beijing
24
+ */
25
+ regionId?: string;
26
+ static names(): { [key: string]: string } {
27
+ return {
28
+ description: 'Description',
29
+ regionId: 'RegionId',
30
+ };
31
+ }
32
+
33
+ static types(): { [key: string]: any } {
34
+ return {
35
+ description: 'string',
36
+ regionId: 'string',
37
+ };
38
+ }
39
+
40
+ validate() {
41
+ super.validate();
42
+ }
43
+
44
+ constructor(map?: { [key: string]: any }) {
45
+ super(map);
46
+ }
47
+ }
48
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { CreateAIDBClusterApiKeyResponseBody } from "./CreateAidbclusterApiKeyResponseBody";
4
+
5
+
6
+ export class CreateAIDBClusterApiKeyResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: CreateAIDBClusterApiKeyResponseBody;
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: CreateAIDBClusterApiKeyResponseBody,
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,114 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class CreateAIDBClusterApiKeyResponseBodyApiKey extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The API key of the model service.
9
+ *
10
+ * @example
11
+ * xxx
12
+ */
13
+ apiKey?: string;
14
+ /**
15
+ * @remarks
16
+ * The creation time.
17
+ *
18
+ * @example
19
+ * 2026-06-12T03:41:53Z
20
+ */
21
+ createTime?: string;
22
+ /**
23
+ * @remarks
24
+ * The description.
25
+ *
26
+ * @example
27
+ * test
28
+ */
29
+ description?: string;
30
+ /**
31
+ * @remarks
32
+ * id
33
+ *
34
+ * @example
35
+ * 393
36
+ */
37
+ id?: string;
38
+ /**
39
+ * @remarks
40
+ * The API key status.
41
+ *
42
+ * @example
43
+ * active
44
+ */
45
+ status?: string;
46
+ static names(): { [key: string]: string } {
47
+ return {
48
+ apiKey: 'ApiKey',
49
+ createTime: 'CreateTime',
50
+ description: 'Description',
51
+ id: 'Id',
52
+ status: 'Status',
53
+ };
54
+ }
55
+
56
+ static types(): { [key: string]: any } {
57
+ return {
58
+ apiKey: 'string',
59
+ createTime: 'string',
60
+ description: 'string',
61
+ id: 'string',
62
+ status: 'string',
63
+ };
64
+ }
65
+
66
+ validate() {
67
+ super.validate();
68
+ }
69
+
70
+ constructor(map?: { [key: string]: any }) {
71
+ super(map);
72
+ }
73
+ }
74
+
75
+ export class CreateAIDBClusterApiKeyResponseBody extends $dara.Model {
76
+ /**
77
+ * @remarks
78
+ * The API key.
79
+ */
80
+ apiKey?: CreateAIDBClusterApiKeyResponseBodyApiKey;
81
+ /**
82
+ * @remarks
83
+ * Id of the request
84
+ *
85
+ * @example
86
+ * 2281C6C9-CBAB-1AFD-8400-670750CF6025_2212
87
+ */
88
+ requestId?: string;
89
+ static names(): { [key: string]: string } {
90
+ return {
91
+ apiKey: 'ApiKey',
92
+ requestId: 'RequestId',
93
+ };
94
+ }
95
+
96
+ static types(): { [key: string]: any } {
97
+ return {
98
+ apiKey: CreateAIDBClusterApiKeyResponseBodyApiKey,
99
+ requestId: 'string',
100
+ };
101
+ }
102
+
103
+ validate() {
104
+ if(this.apiKey && typeof (this.apiKey as any).validate === 'function') {
105
+ (this.apiKey as any).validate();
106
+ }
107
+ super.validate();
108
+ }
109
+
110
+ constructor(map?: { [key: string]: any }) {
111
+ super(map);
112
+ }
113
+ }
114
+
@@ -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 maximum number of CPU cores that the resource control rule can use. The minimum value is 1. The maximum value is determined by the cluster kernel parameter resource_control_cpu_count_limit. You must specify one and only one of this parameter and MaxCpu.
9
+ *
10
+ * @example
11
+ * 4
12
+ */
13
+ cpuCount?: number;
14
+ /**
15
+ * @remarks
16
+ * The PolarDB cluster ID.
17
+ *
18
+ * This parameter is required.
19
+ *
20
+ * @example
21
+ * pc-**************
22
+ */
23
+ DBClusterId?: string;
24
+ /**
25
+ * @remarks
26
+ * The maximum CPU quota percentage that the resource control rule can use. Valid values: 1 to 100. You must specify one and only one of this parameter and CpuCount.
27
+ *
28
+ * @example
29
+ * 20
30
+ */
31
+ maxCpu?: number;
32
+ /**
33
+ * @remarks
34
+ * The region ID of the PolarDB cluster.
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 name of the resource control rule. The name must be 1 to 63 ASCII bytes in length, start with a letter, and can contain only letters, digits, and underscores.
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,49 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DeleteAIDBClusterApiKeyRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The API key of the model service.
9
+ *
10
+ * This parameter is required.
11
+ *
12
+ * @example
13
+ * xxx
14
+ */
15
+ apiKey?: string;
16
+ /**
17
+ * @remarks
18
+ * The region ID.
19
+ * >You can call the [DescribeRegions](https://help.aliyun.com/document_detail/98041.html) operation to query region IDs.
20
+ *
21
+ * This parameter is required.
22
+ *
23
+ * @example
24
+ * cn-beijing
25
+ */
26
+ regionId?: string;
27
+ static names(): { [key: string]: string } {
28
+ return {
29
+ apiKey: 'ApiKey',
30
+ regionId: 'RegionId',
31
+ };
32
+ }
33
+
34
+ static types(): { [key: string]: any } {
35
+ return {
36
+ apiKey: 'string',
37
+ regionId: 'string',
38
+ };
39
+ }
40
+
41
+ validate() {
42
+ super.validate();
43
+ }
44
+
45
+ constructor(map?: { [key: string]: any }) {
46
+ super(map);
47
+ }
48
+ }
49
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { DeleteAIDBClusterApiKeyResponseBody } from "./DeleteAidbclusterApiKeyResponseBody";
4
+
5
+
6
+ export class DeleteAIDBClusterApiKeyResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: DeleteAIDBClusterApiKeyResponseBody;
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: DeleteAIDBClusterApiKeyResponseBody,
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 DeleteAIDBClusterApiKeyResponseBody extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The API key of the model service.
9
+ *
10
+ * @example
11
+ * xxx
12
+ */
13
+ apiKey?: string;
14
+ /**
15
+ * @remarks
16
+ * Id of the request
17
+ *
18
+ * @example
19
+ * 068F730C-9130-596E-B696-5B4388C840DF
20
+ */
21
+ requestId?: string;
22
+ static names(): { [key: string]: string } {
23
+ return {
24
+ apiKey: 'ApiKey',
25
+ requestId: 'RequestId',
26
+ };
27
+ }
28
+
29
+ static types(): { [key: string]: any } {
30
+ return {
31
+ apiKey: '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
+