@alicloud/polardb20170801 6.1.9 → 6.2.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.
- package/dist/client.d.ts +30 -0
- package/dist/client.js +156 -0
- package/dist/client.js.map +1 -1
- package/dist/models/CreateAinodesRequest.d.ts +36 -0
- package/dist/models/CreateAinodesRequest.js +82 -0
- package/dist/models/CreateAinodesRequest.js.map +1 -0
- package/dist/models/CreateAinodesResponse.d.ts +19 -0
- package/dist/models/CreateAinodesResponse.js +69 -0
- package/dist/models/CreateAinodesResponse.js.map +1 -0
- package/dist/models/CreateAinodesResponseBody.d.ts +29 -0
- package/dist/models/CreateAinodesResponseBody.js +67 -0
- package/dist/models/CreateAinodesResponseBody.js.map +1 -0
- package/dist/models/CreateApplicationRequest.d.ts +6 -0
- package/dist/models/CreateApplicationRequest.js +4 -0
- package/dist/models/CreateApplicationRequest.js.map +1 -1
- package/dist/models/CreateApplicationShrinkRequest.d.ts +6 -0
- package/dist/models/CreateApplicationShrinkRequest.js +4 -0
- package/dist/models/CreateApplicationShrinkRequest.js.map +1 -1
- package/dist/models/CreateDbclusterRequest.d.ts +6 -0
- package/dist/models/CreateDbclusterRequest.js +4 -0
- package/dist/models/CreateDbclusterRequest.js.map +1 -1
- package/dist/models/CreateDbnodesRequest.d.ts +6 -0
- package/dist/models/CreateDbnodesRequest.js +4 -0
- package/dist/models/CreateDbnodesRequest.js.map +1 -1
- package/dist/models/CreateStoragePlanRequest.d.ts +6 -0
- package/dist/models/CreateStoragePlanRequest.js +4 -0
- package/dist/models/CreateStoragePlanRequest.js.map +1 -1
- package/dist/models/DeleteAinodesRequest.d.ts +19 -0
- package/dist/models/DeleteAinodesRequest.js +63 -0
- package/dist/models/DeleteAinodesRequest.js.map +1 -0
- package/dist/models/DeleteAinodesResponse.d.ts +19 -0
- package/dist/models/DeleteAinodesResponse.js +69 -0
- package/dist/models/DeleteAinodesResponse.js.map +1 -0
- package/dist/models/DeleteAinodesResponseBody.d.ts +28 -0
- package/dist/models/DeleteAinodesResponseBody.js +62 -0
- package/dist/models/DeleteAinodesResponseBody.js.map +1 -0
- package/dist/models/DeleteDbclusterRequest.d.ts +1 -0
- package/dist/models/DeleteDbclusterRequest.js +2 -0
- package/dist/models/DeleteDbclusterRequest.js.map +1 -1
- package/dist/models/DescribeAidbclusterAttributeResponseBody.d.ts +6 -0
- package/dist/models/DescribeAidbclusterAttributeResponseBody.js +4 -0
- package/dist/models/DescribeAidbclusterAttributeResponseBody.js.map +1 -1
- package/dist/models/DescribeAidbclustersResponseBody.d.ts +1 -0
- package/dist/models/DescribeAidbclustersResponseBody.js +2 -0
- package/dist/models/DescribeAidbclustersResponseBody.js.map +1 -1
- package/dist/models/DescribePolarFsAttributeResponseBody.d.ts +5 -0
- package/dist/models/DescribePolarFsAttributeResponseBody.js +2 -0
- package/dist/models/DescribePolarFsAttributeResponseBody.js.map +1 -1
- package/dist/models/ModifyDbclusterArchRequest.d.ts +6 -0
- package/dist/models/ModifyDbclusterArchRequest.js +4 -0
- package/dist/models/ModifyDbclusterArchRequest.js.map +1 -1
- package/dist/models/ModifyDbclusterStoragePerformanceRequest.d.ts +6 -0
- package/dist/models/ModifyDbclusterStoragePerformanceRequest.js +4 -0
- package/dist/models/ModifyDbclusterStoragePerformanceRequest.js.map +1 -1
- package/dist/models/ModifyDbclusterStorageSpaceRequest.d.ts +6 -0
- package/dist/models/ModifyDbclusterStorageSpaceRequest.js +4 -0
- package/dist/models/ModifyDbclusterStorageSpaceRequest.js.map +1 -1
- package/dist/models/ModifyDbnodeClassRequest.d.ts +6 -0
- package/dist/models/ModifyDbnodeClassRequest.js +4 -0
- package/dist/models/ModifyDbnodeClassRequest.js.map +1 -1
- package/dist/models/ModifyDbnodesClassRequest.d.ts +6 -0
- package/dist/models/ModifyDbnodesClassRequest.js +4 -0
- package/dist/models/ModifyDbnodesClassRequest.js.map +1 -1
- package/dist/models/RemoveDbclusterFromGdnrequest.d.ts +1 -0
- package/dist/models/RemoveDbclusterFromGdnrequest.js +2 -0
- package/dist/models/RemoveDbclusterFromGdnrequest.js.map +1 -1
- package/dist/models/TempModifyDbnodeRequest.d.ts +6 -0
- package/dist/models/TempModifyDbnodeRequest.js +4 -0
- package/dist/models/TempModifyDbnodeRequest.js.map +1 -1
- package/dist/models/TransformDbclusterPayTypeRequest.d.ts +6 -0
- package/dist/models/TransformDbclusterPayTypeRequest.js +4 -0
- package/dist/models/TransformDbclusterPayTypeRequest.js.map +1 -1
- package/dist/models/model.d.ts +7 -0
- package/dist/models/model.js +36 -22
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +188 -0
- package/src/models/CreateAinodesRequest.ts +64 -0
- package/src/models/CreateAinodesResponse.ts +40 -0
- package/src/models/CreateAinodesResponseBody.ts +51 -0
- package/src/models/CreateApplicationRequest.ts +10 -0
- package/src/models/CreateApplicationShrinkRequest.ts +10 -0
- package/src/models/CreateDbclusterRequest.ts +10 -0
- package/src/models/CreateDbnodesRequest.ts +10 -0
- package/src/models/CreateStoragePlanRequest.ts +10 -0
- package/src/models/DeleteAinodesRequest.ts +37 -0
- package/src/models/DeleteAinodesResponse.ts +40 -0
- package/src/models/DeleteAinodesResponseBody.ts +45 -0
- package/src/models/DeleteDbclusterRequest.ts +3 -0
- package/src/models/DescribeAidbclusterAttributeResponseBody.ts +10 -0
- package/src/models/DescribeAidbclustersResponseBody.ts +3 -0
- package/src/models/DescribePolarFsAttributeResponseBody.ts +7 -0
- package/src/models/ModifyDbclusterArchRequest.ts +10 -0
- package/src/models/ModifyDbclusterStoragePerformanceRequest.ts +10 -0
- package/src/models/ModifyDbclusterStorageSpaceRequest.ts +10 -0
- package/src/models/ModifyDbnodeClassRequest.ts +10 -0
- package/src/models/ModifyDbnodesClassRequest.ts +10 -0
- package/src/models/RemoveDbclusterFromGdnrequest.ts +3 -0
- package/src/models/TempModifyDbnodeRequest.ts +10 -0
- package/src/models/TransformDbclusterPayTypeRequest.ts +10 -0
- package/src/models/model.ts +7 -0
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class CreateAINodesResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* pm-xxxxxx
|
|
9
|
+
*/
|
|
10
|
+
DBClusterId?: string;
|
|
11
|
+
DBNodeIds?: string[];
|
|
12
|
+
/**
|
|
13
|
+
* @example
|
|
14
|
+
* 2148126708*****
|
|
15
|
+
*/
|
|
16
|
+
orderId?: string;
|
|
17
|
+
/**
|
|
18
|
+
* @example
|
|
19
|
+
* D0CEC6AC-7760-409A-A0D5-E6CD86******
|
|
20
|
+
*/
|
|
21
|
+
requestId?: string;
|
|
22
|
+
static names(): { [key: string]: string } {
|
|
23
|
+
return {
|
|
24
|
+
DBClusterId: 'DBClusterId',
|
|
25
|
+
DBNodeIds: 'DBNodeIds',
|
|
26
|
+
orderId: 'OrderId',
|
|
27
|
+
requestId: 'RequestId',
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
static types(): { [key: string]: any } {
|
|
32
|
+
return {
|
|
33
|
+
DBClusterId: 'string',
|
|
34
|
+
DBNodeIds: { 'type': 'array', 'itemType': 'string' },
|
|
35
|
+
orderId: 'string',
|
|
36
|
+
requestId: 'string',
|
|
37
|
+
};
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
validate() {
|
|
41
|
+
if(Array.isArray(this.DBNodeIds)) {
|
|
42
|
+
$dara.Model.validateArray(this.DBNodeIds);
|
|
43
|
+
}
|
|
44
|
+
super.validate();
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
constructor(map?: { [key: string]: any }) {
|
|
48
|
+
super(map);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
@@ -140,6 +140,7 @@ export class CreateApplicationRequest extends $dara.Model {
|
|
|
140
140
|
* true
|
|
141
141
|
*/
|
|
142
142
|
autoRenew?: boolean;
|
|
143
|
+
autoUseCoupon?: boolean;
|
|
143
144
|
components?: CreateApplicationRequestComponents[];
|
|
144
145
|
/**
|
|
145
146
|
* @example
|
|
@@ -172,6 +173,11 @@ export class CreateApplicationRequest extends $dara.Model {
|
|
|
172
173
|
* pcs-********************
|
|
173
174
|
*/
|
|
174
175
|
polarFSInstanceId?: string;
|
|
176
|
+
/**
|
|
177
|
+
* @example
|
|
178
|
+
* 727xxxxxx934
|
|
179
|
+
*/
|
|
180
|
+
promotionCode?: string;
|
|
175
181
|
/**
|
|
176
182
|
* @example
|
|
177
183
|
* cn-beijing
|
|
@@ -203,6 +209,7 @@ export class CreateApplicationRequest extends $dara.Model {
|
|
|
203
209
|
applicationType: 'ApplicationType',
|
|
204
210
|
architecture: 'Architecture',
|
|
205
211
|
autoRenew: 'AutoRenew',
|
|
212
|
+
autoUseCoupon: 'AutoUseCoupon',
|
|
206
213
|
components: 'Components',
|
|
207
214
|
DBClusterId: 'DBClusterId',
|
|
208
215
|
description: 'Description',
|
|
@@ -211,6 +218,7 @@ export class CreateApplicationRequest extends $dara.Model {
|
|
|
211
218
|
payType: 'PayType',
|
|
212
219
|
period: 'Period',
|
|
213
220
|
polarFSInstanceId: 'PolarFSInstanceId',
|
|
221
|
+
promotionCode: 'PromotionCode',
|
|
214
222
|
regionId: 'RegionId',
|
|
215
223
|
resourceGroupId: 'ResourceGroupId',
|
|
216
224
|
usedTime: 'UsedTime',
|
|
@@ -225,6 +233,7 @@ export class CreateApplicationRequest extends $dara.Model {
|
|
|
225
233
|
applicationType: 'string',
|
|
226
234
|
architecture: 'string',
|
|
227
235
|
autoRenew: 'boolean',
|
|
236
|
+
autoUseCoupon: 'boolean',
|
|
228
237
|
components: { 'type': 'array', 'itemType': CreateApplicationRequestComponents },
|
|
229
238
|
DBClusterId: 'string',
|
|
230
239
|
description: 'string',
|
|
@@ -233,6 +242,7 @@ export class CreateApplicationRequest extends $dara.Model {
|
|
|
233
242
|
payType: 'string',
|
|
234
243
|
period: 'string',
|
|
235
244
|
polarFSInstanceId: 'string',
|
|
245
|
+
promotionCode: 'string',
|
|
236
246
|
regionId: 'string',
|
|
237
247
|
resourceGroupId: 'string',
|
|
238
248
|
usedTime: 'string',
|
|
@@ -24,6 +24,7 @@ export class CreateApplicationShrinkRequest extends $dara.Model {
|
|
|
24
24
|
* true
|
|
25
25
|
*/
|
|
26
26
|
autoRenew?: boolean;
|
|
27
|
+
autoUseCoupon?: boolean;
|
|
27
28
|
componentsShrink?: string;
|
|
28
29
|
/**
|
|
29
30
|
* @example
|
|
@@ -56,6 +57,11 @@ export class CreateApplicationShrinkRequest extends $dara.Model {
|
|
|
56
57
|
* pcs-********************
|
|
57
58
|
*/
|
|
58
59
|
polarFSInstanceId?: string;
|
|
60
|
+
/**
|
|
61
|
+
* @example
|
|
62
|
+
* 727xxxxxx934
|
|
63
|
+
*/
|
|
64
|
+
promotionCode?: string;
|
|
59
65
|
/**
|
|
60
66
|
* @example
|
|
61
67
|
* cn-beijing
|
|
@@ -87,6 +93,7 @@ export class CreateApplicationShrinkRequest extends $dara.Model {
|
|
|
87
93
|
applicationType: 'ApplicationType',
|
|
88
94
|
architecture: 'Architecture',
|
|
89
95
|
autoRenew: 'AutoRenew',
|
|
96
|
+
autoUseCoupon: 'AutoUseCoupon',
|
|
90
97
|
componentsShrink: 'Components',
|
|
91
98
|
DBClusterId: 'DBClusterId',
|
|
92
99
|
description: 'Description',
|
|
@@ -95,6 +102,7 @@ export class CreateApplicationShrinkRequest extends $dara.Model {
|
|
|
95
102
|
payType: 'PayType',
|
|
96
103
|
period: 'Period',
|
|
97
104
|
polarFSInstanceId: 'PolarFSInstanceId',
|
|
105
|
+
promotionCode: 'PromotionCode',
|
|
98
106
|
regionId: 'RegionId',
|
|
99
107
|
resourceGroupId: 'ResourceGroupId',
|
|
100
108
|
usedTime: 'UsedTime',
|
|
@@ -109,6 +117,7 @@ export class CreateApplicationShrinkRequest extends $dara.Model {
|
|
|
109
117
|
applicationType: 'string',
|
|
110
118
|
architecture: 'string',
|
|
111
119
|
autoRenew: 'boolean',
|
|
120
|
+
autoUseCoupon: 'boolean',
|
|
112
121
|
componentsShrink: 'string',
|
|
113
122
|
DBClusterId: 'string',
|
|
114
123
|
description: 'string',
|
|
@@ -117,6 +126,7 @@ export class CreateApplicationShrinkRequest extends $dara.Model {
|
|
|
117
126
|
payType: 'string',
|
|
118
127
|
period: 'string',
|
|
119
128
|
polarFSInstanceId: 'string',
|
|
129
|
+
promotionCode: 'string',
|
|
120
130
|
regionId: 'string',
|
|
121
131
|
resourceGroupId: 'string',
|
|
122
132
|
usedTime: 'string',
|
|
@@ -86,6 +86,7 @@ export class CreateDBClusterRequest extends $dara.Model {
|
|
|
86
86
|
* true
|
|
87
87
|
*/
|
|
88
88
|
autoRenew?: boolean;
|
|
89
|
+
autoUseCoupon?: boolean;
|
|
89
90
|
/**
|
|
90
91
|
* @remarks
|
|
91
92
|
* Backup retention policy upon cluster deletion, with valid values as follows:
|
|
@@ -409,6 +410,11 @@ export class CreateDBClusterRequest extends $dara.Model {
|
|
|
409
410
|
* Month
|
|
410
411
|
*/
|
|
411
412
|
period?: string;
|
|
413
|
+
/**
|
|
414
|
+
* @example
|
|
415
|
+
* 727xxxxxx934
|
|
416
|
+
*/
|
|
417
|
+
promotionCode?: string;
|
|
412
418
|
/**
|
|
413
419
|
* @remarks
|
|
414
420
|
* <p id="p_wyg_t4a_glm">The provisioned read and write IOPS for ESSD AutoPL cloud disks. Possible values: 0 to min{50,000, 1000*capacity-Baseline Performance}.</p>
|
|
@@ -718,6 +724,7 @@ export class CreateDBClusterRequest extends $dara.Model {
|
|
|
718
724
|
allowShutDown: 'AllowShutDown',
|
|
719
725
|
architecture: 'Architecture',
|
|
720
726
|
autoRenew: 'AutoRenew',
|
|
727
|
+
autoUseCoupon: 'AutoUseCoupon',
|
|
721
728
|
backupRetentionPolicyOnClusterDeletion: 'BackupRetentionPolicyOnClusterDeletion',
|
|
722
729
|
burstingEnabled: 'BurstingEnabled',
|
|
723
730
|
clientToken: 'ClientToken',
|
|
@@ -745,6 +752,7 @@ export class CreateDBClusterRequest extends $dara.Model {
|
|
|
745
752
|
parameterGroupId: 'ParameterGroupId',
|
|
746
753
|
payType: 'PayType',
|
|
747
754
|
period: 'Period',
|
|
755
|
+
promotionCode: 'PromotionCode',
|
|
748
756
|
provisionedIops: 'ProvisionedIops',
|
|
749
757
|
proxyClass: 'ProxyClass',
|
|
750
758
|
proxyType: 'ProxyType',
|
|
@@ -784,6 +792,7 @@ export class CreateDBClusterRequest extends $dara.Model {
|
|
|
784
792
|
allowShutDown: 'string',
|
|
785
793
|
architecture: 'string',
|
|
786
794
|
autoRenew: 'boolean',
|
|
795
|
+
autoUseCoupon: 'boolean',
|
|
787
796
|
backupRetentionPolicyOnClusterDeletion: 'string',
|
|
788
797
|
burstingEnabled: 'string',
|
|
789
798
|
clientToken: 'string',
|
|
@@ -811,6 +820,7 @@ export class CreateDBClusterRequest extends $dara.Model {
|
|
|
811
820
|
parameterGroupId: 'string',
|
|
812
821
|
payType: 'string',
|
|
813
822
|
period: 'string',
|
|
823
|
+
promotionCode: 'string',
|
|
814
824
|
provisionedIops: 'number',
|
|
815
825
|
proxyClass: 'string',
|
|
816
826
|
proxyType: 'string',
|
|
@@ -55,6 +55,7 @@ export class CreateDBNodesRequestDBNode extends $dara.Model {
|
|
|
55
55
|
}
|
|
56
56
|
|
|
57
57
|
export class CreateDBNodesRequest extends $dara.Model {
|
|
58
|
+
autoUseCoupon?: boolean;
|
|
58
59
|
/**
|
|
59
60
|
* @remarks
|
|
60
61
|
* The client token that is used to ensure the idempotence of the request. You can use the client to generate the value, but you must make sure that it is unique among different requests. The token can contain only ASCII characters and cannot exceed 64 characters in length. The token is case-sensitive.
|
|
@@ -151,6 +152,11 @@ export class CreateDBNodesRequest extends $dara.Model {
|
|
|
151
152
|
* 2021-01-14T09:00:00Z
|
|
152
153
|
*/
|
|
153
154
|
plannedStartTime?: string;
|
|
155
|
+
/**
|
|
156
|
+
* @example
|
|
157
|
+
* 727xxxxxx934
|
|
158
|
+
*/
|
|
159
|
+
promotionCode?: string;
|
|
154
160
|
/**
|
|
155
161
|
* @remarks
|
|
156
162
|
* The ID of the resource group.
|
|
@@ -163,6 +169,7 @@ export class CreateDBNodesRequest extends $dara.Model {
|
|
|
163
169
|
resourceOwnerId?: number;
|
|
164
170
|
static names(): { [key: string]: string } {
|
|
165
171
|
return {
|
|
172
|
+
autoUseCoupon: 'AutoUseCoupon',
|
|
166
173
|
clientToken: 'ClientToken',
|
|
167
174
|
cloudProvider: 'CloudProvider',
|
|
168
175
|
DBClusterId: 'DBClusterId',
|
|
@@ -174,6 +181,7 @@ export class CreateDBNodesRequest extends $dara.Model {
|
|
|
174
181
|
ownerId: 'OwnerId',
|
|
175
182
|
plannedEndTime: 'PlannedEndTime',
|
|
176
183
|
plannedStartTime: 'PlannedStartTime',
|
|
184
|
+
promotionCode: 'PromotionCode',
|
|
177
185
|
resourceGroupId: 'ResourceGroupId',
|
|
178
186
|
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
179
187
|
resourceOwnerId: 'ResourceOwnerId',
|
|
@@ -182,6 +190,7 @@ export class CreateDBNodesRequest extends $dara.Model {
|
|
|
182
190
|
|
|
183
191
|
static types(): { [key: string]: any } {
|
|
184
192
|
return {
|
|
193
|
+
autoUseCoupon: 'boolean',
|
|
185
194
|
clientToken: 'string',
|
|
186
195
|
cloudProvider: 'string',
|
|
187
196
|
DBClusterId: 'string',
|
|
@@ -193,6 +202,7 @@ export class CreateDBNodesRequest extends $dara.Model {
|
|
|
193
202
|
ownerId: 'number',
|
|
194
203
|
plannedEndTime: 'string',
|
|
195
204
|
plannedStartTime: 'string',
|
|
205
|
+
promotionCode: 'string',
|
|
196
206
|
resourceGroupId: 'string',
|
|
197
207
|
resourceOwnerAccount: 'string',
|
|
198
208
|
resourceOwnerId: 'number',
|
|
@@ -3,6 +3,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class CreateStoragePlanRequest extends $dara.Model {
|
|
6
|
+
autoUseCoupon?: boolean;
|
|
6
7
|
/**
|
|
7
8
|
* @remarks
|
|
8
9
|
* The client token that is used to ensure the idempotence of the request. You can use the client to generate the value. Make sure that the value is unique among different requests. The token can only contain ASCII characters and cannot exceed 64 characters in length.
|
|
@@ -26,6 +27,11 @@ export class CreateStoragePlanRequest extends $dara.Model {
|
|
|
26
27
|
* Month
|
|
27
28
|
*/
|
|
28
29
|
period?: string;
|
|
30
|
+
/**
|
|
31
|
+
* @example
|
|
32
|
+
* 727xxxxxx934
|
|
33
|
+
*/
|
|
34
|
+
promotionCode?: string;
|
|
29
35
|
resourceOwnerAccount?: string;
|
|
30
36
|
resourceOwnerId?: number;
|
|
31
37
|
/**
|
|
@@ -66,10 +72,12 @@ export class CreateStoragePlanRequest extends $dara.Model {
|
|
|
66
72
|
usedTime?: string;
|
|
67
73
|
static names(): { [key: string]: string } {
|
|
68
74
|
return {
|
|
75
|
+
autoUseCoupon: 'AutoUseCoupon',
|
|
69
76
|
clientToken: 'ClientToken',
|
|
70
77
|
ownerAccount: 'OwnerAccount',
|
|
71
78
|
ownerId: 'OwnerId',
|
|
72
79
|
period: 'Period',
|
|
80
|
+
promotionCode: 'PromotionCode',
|
|
73
81
|
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
74
82
|
resourceOwnerId: 'ResourceOwnerId',
|
|
75
83
|
storageClass: 'StorageClass',
|
|
@@ -80,10 +88,12 @@ export class CreateStoragePlanRequest extends $dara.Model {
|
|
|
80
88
|
|
|
81
89
|
static types(): { [key: string]: any } {
|
|
82
90
|
return {
|
|
91
|
+
autoUseCoupon: 'boolean',
|
|
83
92
|
clientToken: 'string',
|
|
84
93
|
ownerAccount: 'string',
|
|
85
94
|
ownerId: 'number',
|
|
86
95
|
period: 'string',
|
|
96
|
+
promotionCode: 'string',
|
|
87
97
|
resourceOwnerAccount: 'string',
|
|
88
98
|
resourceOwnerId: 'number',
|
|
89
99
|
storageClass: 'string',
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DeleteAINodesRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* pm-xxxxxx
|
|
9
|
+
*/
|
|
10
|
+
DBClusterId?: string;
|
|
11
|
+
DBNodeId?: string[];
|
|
12
|
+
static names(): { [key: string]: string } {
|
|
13
|
+
return {
|
|
14
|
+
DBClusterId: 'DBClusterId',
|
|
15
|
+
DBNodeId: 'DBNodeId',
|
|
16
|
+
};
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
static types(): { [key: string]: any } {
|
|
20
|
+
return {
|
|
21
|
+
DBClusterId: 'string',
|
|
22
|
+
DBNodeId: { 'type': 'array', 'itemType': 'string' },
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
validate() {
|
|
27
|
+
if(Array.isArray(this.DBNodeId)) {
|
|
28
|
+
$dara.Model.validateArray(this.DBNodeId);
|
|
29
|
+
}
|
|
30
|
+
super.validate();
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
constructor(map?: { [key: string]: any }) {
|
|
34
|
+
super(map);
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { DeleteAINodesResponseBody } from "./DeleteAinodesResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class DeleteAINodesResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: DeleteAINodesResponseBody;
|
|
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: DeleteAINodesResponseBody,
|
|
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,45 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DeleteAINodesResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* pm-xxxxxx
|
|
9
|
+
*/
|
|
10
|
+
DBClusterId?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* 2035629******
|
|
14
|
+
*/
|
|
15
|
+
orderId?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* 9B7BFB11-C077-4FE3-B051-F69CEB******
|
|
19
|
+
*/
|
|
20
|
+
requestId?: string;
|
|
21
|
+
static names(): { [key: string]: string } {
|
|
22
|
+
return {
|
|
23
|
+
DBClusterId: 'DBClusterId',
|
|
24
|
+
orderId: 'OrderId',
|
|
25
|
+
requestId: 'RequestId',
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
static types(): { [key: string]: any } {
|
|
30
|
+
return {
|
|
31
|
+
DBClusterId: 'string',
|
|
32
|
+
orderId: 'string',
|
|
33
|
+
requestId: 'string',
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
validate() {
|
|
38
|
+
super.validate();
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
constructor(map?: { [key: string]: any }) {
|
|
42
|
+
super(map);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
@@ -15,6 +15,7 @@ export class DeleteDBClusterRequest extends $dara.Model {
|
|
|
15
15
|
* NONE
|
|
16
16
|
*/
|
|
17
17
|
backupRetentionPolicyOnClusterDeletion?: string;
|
|
18
|
+
cloudProvider?: string;
|
|
18
19
|
/**
|
|
19
20
|
* @remarks
|
|
20
21
|
* The cluster ID.
|
|
@@ -32,6 +33,7 @@ export class DeleteDBClusterRequest extends $dara.Model {
|
|
|
32
33
|
static names(): { [key: string]: string } {
|
|
33
34
|
return {
|
|
34
35
|
backupRetentionPolicyOnClusterDeletion: 'BackupRetentionPolicyOnClusterDeletion',
|
|
36
|
+
cloudProvider: 'CloudProvider',
|
|
35
37
|
DBClusterId: 'DBClusterId',
|
|
36
38
|
ownerAccount: 'OwnerAccount',
|
|
37
39
|
ownerId: 'OwnerId',
|
|
@@ -43,6 +45,7 @@ export class DeleteDBClusterRequest extends $dara.Model {
|
|
|
43
45
|
static types(): { [key: string]: any } {
|
|
44
46
|
return {
|
|
45
47
|
backupRetentionPolicyOnClusterDeletion: 'string',
|
|
48
|
+
cloudProvider: 'string',
|
|
46
49
|
DBClusterId: 'string',
|
|
47
50
|
ownerAccount: 'string',
|
|
48
51
|
ownerId: 'number',
|
|
@@ -335,6 +335,11 @@ export class DescribeAIDBClusterAttributeResponseBody extends $dara.Model {
|
|
|
335
335
|
* 1.0
|
|
336
336
|
*/
|
|
337
337
|
DBVersion?: string;
|
|
338
|
+
/**
|
|
339
|
+
* @example
|
|
340
|
+
* sg-xxxxxx
|
|
341
|
+
*/
|
|
342
|
+
ecsSecurityGroupId?: string;
|
|
338
343
|
endpointList?: DescribeAIDBClusterAttributeResponseBodyEndpointList[];
|
|
339
344
|
/**
|
|
340
345
|
* @example
|
|
@@ -376,6 +381,7 @@ export class DescribeAIDBClusterAttributeResponseBody extends $dara.Model {
|
|
|
376
381
|
* Qwen3-Embedding-8B
|
|
377
382
|
*/
|
|
378
383
|
modelName?: string;
|
|
384
|
+
modelType?: string;
|
|
379
385
|
/**
|
|
380
386
|
* @example
|
|
381
387
|
* Postpaid
|
|
@@ -435,6 +441,7 @@ export class DescribeAIDBClusterAttributeResponseBody extends $dara.Model {
|
|
|
435
441
|
DBClusterStatus: 'DBClusterStatus',
|
|
436
442
|
DBNodes: 'DBNodes',
|
|
437
443
|
DBVersion: 'DBVersion',
|
|
444
|
+
ecsSecurityGroupId: 'EcsSecurityGroupId',
|
|
438
445
|
endpointList: 'EndpointList',
|
|
439
446
|
expireTime: 'ExpireTime',
|
|
440
447
|
expired: 'Expired',
|
|
@@ -444,6 +451,7 @@ export class DescribeAIDBClusterAttributeResponseBody extends $dara.Model {
|
|
|
444
451
|
lockMode: 'LockMode',
|
|
445
452
|
maxQPM: 'MaxQPM',
|
|
446
453
|
modelName: 'ModelName',
|
|
454
|
+
modelType: 'ModelType',
|
|
447
455
|
payType: 'PayType',
|
|
448
456
|
publicIp: 'PublicIp',
|
|
449
457
|
regionId: 'RegionId',
|
|
@@ -467,6 +475,7 @@ export class DescribeAIDBClusterAttributeResponseBody extends $dara.Model {
|
|
|
467
475
|
DBClusterStatus: 'string',
|
|
468
476
|
DBNodes: { 'type': 'array', 'itemType': DescribeAIDBClusterAttributeResponseBodyDBNodes },
|
|
469
477
|
DBVersion: 'string',
|
|
478
|
+
ecsSecurityGroupId: 'string',
|
|
470
479
|
endpointList: { 'type': 'array', 'itemType': DescribeAIDBClusterAttributeResponseBodyEndpointList },
|
|
471
480
|
expireTime: 'string',
|
|
472
481
|
expired: 'boolean',
|
|
@@ -476,6 +485,7 @@ export class DescribeAIDBClusterAttributeResponseBody extends $dara.Model {
|
|
|
476
485
|
lockMode: 'string',
|
|
477
486
|
maxQPM: 'string',
|
|
478
487
|
modelName: 'string',
|
|
488
|
+
modelType: 'string',
|
|
479
489
|
payType: 'string',
|
|
480
490
|
publicIp: 'string',
|
|
481
491
|
regionId: 'string',
|
|
@@ -110,6 +110,7 @@ export class DescribeAIDBClustersResponseBodyItemsDBCluster extends $dara.Model
|
|
|
110
110
|
* Unlock
|
|
111
111
|
*/
|
|
112
112
|
lockMode?: string;
|
|
113
|
+
modelType?: string;
|
|
113
114
|
/**
|
|
114
115
|
* @example
|
|
115
116
|
* Postpaid
|
|
@@ -165,6 +166,7 @@ export class DescribeAIDBClustersResponseBodyItemsDBCluster extends $dara.Model
|
|
|
165
166
|
expired: 'Expired',
|
|
166
167
|
kubeClusterId: 'KubeClusterId',
|
|
167
168
|
lockMode: 'LockMode',
|
|
169
|
+
modelType: 'ModelType',
|
|
168
170
|
payType: 'PayType',
|
|
169
171
|
regionId: 'RegionId',
|
|
170
172
|
relativeDBClusterId: 'RelativeDBClusterId',
|
|
@@ -191,6 +193,7 @@ export class DescribeAIDBClustersResponseBodyItemsDBCluster extends $dara.Model
|
|
|
191
193
|
expired: 'boolean',
|
|
192
194
|
kubeClusterId: 'string',
|
|
193
195
|
lockMode: 'string',
|
|
196
|
+
modelType: 'string',
|
|
194
197
|
payType: 'string',
|
|
195
198
|
regionId: 'string',
|
|
196
199
|
relativeDBClusterId: 'string',
|
|
@@ -76,6 +76,11 @@ export class DescribePolarFsAttributeResponseBody extends $dara.Model {
|
|
|
76
76
|
* 2021-08-02T05:57:10Z
|
|
77
77
|
*/
|
|
78
78
|
createTime?: string;
|
|
79
|
+
/**
|
|
80
|
+
* @example
|
|
81
|
+
* xxxxxx-%d.oss-cn-beijing-internal.aliyuncs.com
|
|
82
|
+
*/
|
|
83
|
+
customBucketPath?: string;
|
|
79
84
|
/**
|
|
80
85
|
* @example
|
|
81
86
|
* MySQL
|
|
@@ -194,6 +199,7 @@ export class DescribePolarFsAttributeResponseBody extends $dara.Model {
|
|
|
194
199
|
category: 'Category',
|
|
195
200
|
clientDownloadPath: 'ClientDownloadPath',
|
|
196
201
|
createTime: 'CreateTime',
|
|
202
|
+
customBucketPath: 'CustomBucketPath',
|
|
197
203
|
DBType: 'DBType',
|
|
198
204
|
expireTime: 'ExpireTime',
|
|
199
205
|
expired: 'Expired',
|
|
@@ -232,6 +238,7 @@ export class DescribePolarFsAttributeResponseBody extends $dara.Model {
|
|
|
232
238
|
category: 'string',
|
|
233
239
|
clientDownloadPath: 'string',
|
|
234
240
|
createTime: 'string',
|
|
241
|
+
customBucketPath: 'string',
|
|
235
242
|
DBType: 'string',
|
|
236
243
|
expireTime: 'string',
|
|
237
244
|
expired: 'string',
|
|
@@ -3,6 +3,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class ModifyDBClusterArchRequest extends $dara.Model {
|
|
6
|
+
autoUseCoupon?: boolean;
|
|
6
7
|
/**
|
|
7
8
|
* @remarks
|
|
8
9
|
* The ID of the cluster.
|
|
@@ -22,6 +23,11 @@ export class ModifyDBClusterArchRequest extends $dara.Model {
|
|
|
22
23
|
* on
|
|
23
24
|
*/
|
|
24
25
|
hotStandbyCluster?: string;
|
|
26
|
+
/**
|
|
27
|
+
* @example
|
|
28
|
+
* 727xxxxxx934
|
|
29
|
+
*/
|
|
30
|
+
promotionCode?: string;
|
|
25
31
|
/**
|
|
26
32
|
* @remarks
|
|
27
33
|
* The region ID.
|
|
@@ -46,8 +52,10 @@ export class ModifyDBClusterArchRequest extends $dara.Model {
|
|
|
46
52
|
standbyAZ?: string;
|
|
47
53
|
static names(): { [key: string]: string } {
|
|
48
54
|
return {
|
|
55
|
+
autoUseCoupon: 'AutoUseCoupon',
|
|
49
56
|
DBClusterId: 'DBClusterId',
|
|
50
57
|
hotStandbyCluster: 'HotStandbyCluster',
|
|
58
|
+
promotionCode: 'PromotionCode',
|
|
51
59
|
regionId: 'RegionId',
|
|
52
60
|
standbyAZ: 'StandbyAZ',
|
|
53
61
|
};
|
|
@@ -55,8 +63,10 @@ export class ModifyDBClusterArchRequest extends $dara.Model {
|
|
|
55
63
|
|
|
56
64
|
static types(): { [key: string]: any } {
|
|
57
65
|
return {
|
|
66
|
+
autoUseCoupon: 'boolean',
|
|
58
67
|
DBClusterId: 'string',
|
|
59
68
|
hotStandbyCluster: 'string',
|
|
69
|
+
promotionCode: 'string',
|
|
60
70
|
regionId: 'string',
|
|
61
71
|
standbyAZ: 'string',
|
|
62
72
|
};
|
|
@@ -3,6 +3,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class ModifyDBClusterStoragePerformanceRequest extends $dara.Model {
|
|
6
|
+
autoUseCoupon?: boolean;
|
|
6
7
|
/**
|
|
7
8
|
* @remarks
|
|
8
9
|
* Specifies whether to enable the I/O Burst feature for the ESSD AutoPL disk. Valid value:
|
|
@@ -34,6 +35,11 @@ export class ModifyDBClusterStoragePerformanceRequest extends $dara.Model {
|
|
|
34
35
|
* Upgrade
|
|
35
36
|
*/
|
|
36
37
|
modifyType?: string;
|
|
38
|
+
/**
|
|
39
|
+
* @example
|
|
40
|
+
* 727xxxxxx934
|
|
41
|
+
*/
|
|
42
|
+
promotionCode?: string;
|
|
37
43
|
/**
|
|
38
44
|
* @example
|
|
39
45
|
* 2500
|
|
@@ -47,10 +53,12 @@ export class ModifyDBClusterStoragePerformanceRequest extends $dara.Model {
|
|
|
47
53
|
storageType?: string;
|
|
48
54
|
static names(): { [key: string]: string } {
|
|
49
55
|
return {
|
|
56
|
+
autoUseCoupon: 'AutoUseCoupon',
|
|
50
57
|
burstingEnabled: 'BurstingEnabled',
|
|
51
58
|
clientToken: 'ClientToken',
|
|
52
59
|
DBClusterId: 'DBClusterId',
|
|
53
60
|
modifyType: 'ModifyType',
|
|
61
|
+
promotionCode: 'PromotionCode',
|
|
54
62
|
provisionedIops: 'ProvisionedIops',
|
|
55
63
|
resourceOwnerId: 'ResourceOwnerId',
|
|
56
64
|
storageType: 'StorageType',
|
|
@@ -59,10 +67,12 @@ export class ModifyDBClusterStoragePerformanceRequest extends $dara.Model {
|
|
|
59
67
|
|
|
60
68
|
static types(): { [key: string]: any } {
|
|
61
69
|
return {
|
|
70
|
+
autoUseCoupon: 'boolean',
|
|
62
71
|
burstingEnabled: 'string',
|
|
63
72
|
clientToken: 'string',
|
|
64
73
|
DBClusterId: 'string',
|
|
65
74
|
modifyType: 'string',
|
|
75
|
+
promotionCode: 'string',
|
|
66
76
|
provisionedIops: 'number',
|
|
67
77
|
resourceOwnerId: 'number',
|
|
68
78
|
storageType: 'string',
|
|
@@ -3,6 +3,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class ModifyDBClusterStorageSpaceRequest extends $dara.Model {
|
|
6
|
+
autoUseCoupon?: boolean;
|
|
6
7
|
/**
|
|
7
8
|
* @remarks
|
|
8
9
|
* The client token that is used to ensure the idempotence of the request. You can use the client to generate the value, but you must ensure that it is unique among different requests. The token can only contain ASCII characters and cannot exceed 64 characters in length. The token is case-sensitive.
|
|
@@ -49,6 +50,11 @@ export class ModifyDBClusterStorageSpaceRequest extends $dara.Model {
|
|
|
49
50
|
* 2021-01-14T09:00:00Z
|
|
50
51
|
*/
|
|
51
52
|
plannedStartTime?: string;
|
|
53
|
+
/**
|
|
54
|
+
* @example
|
|
55
|
+
* 727xxxxxx934
|
|
56
|
+
*/
|
|
57
|
+
promotionCode?: string;
|
|
52
58
|
resourceOwnerAccount?: string;
|
|
53
59
|
resourceOwnerId?: number;
|
|
54
60
|
/**
|
|
@@ -76,6 +82,7 @@ export class ModifyDBClusterStorageSpaceRequest extends $dara.Model {
|
|
|
76
82
|
subCategory?: string;
|
|
77
83
|
static names(): { [key: string]: string } {
|
|
78
84
|
return {
|
|
85
|
+
autoUseCoupon: 'AutoUseCoupon',
|
|
79
86
|
clientToken: 'ClientToken',
|
|
80
87
|
cloudProvider: 'CloudProvider',
|
|
81
88
|
DBClusterId: 'DBClusterId',
|
|
@@ -83,6 +90,7 @@ export class ModifyDBClusterStorageSpaceRequest extends $dara.Model {
|
|
|
83
90
|
ownerId: 'OwnerId',
|
|
84
91
|
plannedEndTime: 'PlannedEndTime',
|
|
85
92
|
plannedStartTime: 'PlannedStartTime',
|
|
93
|
+
promotionCode: 'PromotionCode',
|
|
86
94
|
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
87
95
|
resourceOwnerId: 'ResourceOwnerId',
|
|
88
96
|
storageSpace: 'StorageSpace',
|
|
@@ -92,6 +100,7 @@ export class ModifyDBClusterStorageSpaceRequest extends $dara.Model {
|
|
|
92
100
|
|
|
93
101
|
static types(): { [key: string]: any } {
|
|
94
102
|
return {
|
|
103
|
+
autoUseCoupon: 'boolean',
|
|
95
104
|
clientToken: 'string',
|
|
96
105
|
cloudProvider: 'string',
|
|
97
106
|
DBClusterId: 'string',
|
|
@@ -99,6 +108,7 @@ export class ModifyDBClusterStorageSpaceRequest extends $dara.Model {
|
|
|
99
108
|
ownerId: 'number',
|
|
100
109
|
plannedEndTime: 'string',
|
|
101
110
|
plannedStartTime: 'string',
|
|
111
|
+
promotionCode: 'string',
|
|
102
112
|
resourceOwnerAccount: 'string',
|
|
103
113
|
resourceOwnerId: 'number',
|
|
104
114
|
storageSpace: 'number',
|