@alicloud/polardb20170801 6.1.9 → 6.1.10
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.js +66 -0
- package/dist/client.js.map +1 -1
- 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/DescribeAidbclusterAttributeResponseBody.d.ts +5 -0
- package/dist/models/DescribeAidbclusterAttributeResponseBody.js +2 -0
- package/dist/models/DescribeAidbclusterAttributeResponseBody.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/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/package.json +1 -1
- package/src/client.ts +88 -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/DescribeAidbclusterAttributeResponseBody.ts +7 -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/TempModifyDbnodeRequest.ts +10 -0
- package/src/models/TransformDbclusterPayTypeRequest.ts +10 -0
|
@@ -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',
|
|
@@ -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
|
|
@@ -435,6 +440,7 @@ export class DescribeAIDBClusterAttributeResponseBody extends $dara.Model {
|
|
|
435
440
|
DBClusterStatus: 'DBClusterStatus',
|
|
436
441
|
DBNodes: 'DBNodes',
|
|
437
442
|
DBVersion: 'DBVersion',
|
|
443
|
+
ecsSecurityGroupId: 'EcsSecurityGroupId',
|
|
438
444
|
endpointList: 'EndpointList',
|
|
439
445
|
expireTime: 'ExpireTime',
|
|
440
446
|
expired: 'Expired',
|
|
@@ -467,6 +473,7 @@ export class DescribeAIDBClusterAttributeResponseBody extends $dara.Model {
|
|
|
467
473
|
DBClusterStatus: 'string',
|
|
468
474
|
DBNodes: { 'type': 'array', 'itemType': DescribeAIDBClusterAttributeResponseBodyDBNodes },
|
|
469
475
|
DBVersion: 'string',
|
|
476
|
+
ecsSecurityGroupId: 'string',
|
|
470
477
|
endpointList: { 'type': 'array', 'itemType': DescribeAIDBClusterAttributeResponseBodyEndpointList },
|
|
471
478
|
expireTime: 'string',
|
|
472
479
|
expired: 'boolean',
|
|
@@ -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',
|
|
@@ -3,6 +3,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class ModifyDBNodeClassRequest 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.
|
|
@@ -87,6 +88,11 @@ export class ModifyDBNodeClassRequest extends $dara.Model {
|
|
|
87
88
|
* 2021-01-14T09:00:00Z
|
|
88
89
|
*/
|
|
89
90
|
plannedStartTime?: string;
|
|
91
|
+
/**
|
|
92
|
+
* @example
|
|
93
|
+
* 727xxxxxx934
|
|
94
|
+
*/
|
|
95
|
+
promotionCode?: string;
|
|
90
96
|
resourceOwnerAccount?: string;
|
|
91
97
|
resourceOwnerId?: number;
|
|
92
98
|
/**
|
|
@@ -102,6 +108,7 @@ export class ModifyDBNodeClassRequest extends $dara.Model {
|
|
|
102
108
|
subCategory?: string;
|
|
103
109
|
static names(): { [key: string]: string } {
|
|
104
110
|
return {
|
|
111
|
+
autoUseCoupon: 'AutoUseCoupon',
|
|
105
112
|
clientToken: 'ClientToken',
|
|
106
113
|
cloudProvider: 'CloudProvider',
|
|
107
114
|
DBClusterId: 'DBClusterId',
|
|
@@ -113,6 +120,7 @@ export class ModifyDBNodeClassRequest extends $dara.Model {
|
|
|
113
120
|
plannedEndTime: 'PlannedEndTime',
|
|
114
121
|
plannedFlashingOffTime: 'PlannedFlashingOffTime',
|
|
115
122
|
plannedStartTime: 'PlannedStartTime',
|
|
123
|
+
promotionCode: 'PromotionCode',
|
|
116
124
|
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
117
125
|
resourceOwnerId: 'ResourceOwnerId',
|
|
118
126
|
subCategory: 'SubCategory',
|
|
@@ -121,6 +129,7 @@ export class ModifyDBNodeClassRequest extends $dara.Model {
|
|
|
121
129
|
|
|
122
130
|
static types(): { [key: string]: any } {
|
|
123
131
|
return {
|
|
132
|
+
autoUseCoupon: 'boolean',
|
|
124
133
|
clientToken: 'string',
|
|
125
134
|
cloudProvider: 'string',
|
|
126
135
|
DBClusterId: 'string',
|
|
@@ -132,6 +141,7 @@ export class ModifyDBNodeClassRequest extends $dara.Model {
|
|
|
132
141
|
plannedEndTime: 'string',
|
|
133
142
|
plannedFlashingOffTime: 'string',
|
|
134
143
|
plannedStartTime: 'string',
|
|
144
|
+
promotionCode: 'string',
|
|
135
145
|
resourceOwnerAccount: 'string',
|
|
136
146
|
resourceOwnerId: 'number',
|
|
137
147
|
subCategory: 'string',
|
|
@@ -47,6 +47,7 @@ export class ModifyDBNodesClassRequestDBNode extends $dara.Model {
|
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
export class ModifyDBNodesClassRequest extends $dara.Model {
|
|
50
|
+
autoUseCoupon?: boolean;
|
|
50
51
|
/**
|
|
51
52
|
* @remarks
|
|
52
53
|
* 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.
|
|
@@ -116,6 +117,11 @@ export class ModifyDBNodesClassRequest extends $dara.Model {
|
|
|
116
117
|
* 2021-01-14T09:00:00Z
|
|
117
118
|
*/
|
|
118
119
|
plannedStartTime?: string;
|
|
120
|
+
/**
|
|
121
|
+
* @example
|
|
122
|
+
* 727xxxxxx934
|
|
123
|
+
*/
|
|
124
|
+
promotionCode?: string;
|
|
119
125
|
resourceOwnerAccount?: string;
|
|
120
126
|
resourceOwnerId?: number;
|
|
121
127
|
/**
|
|
@@ -131,6 +137,7 @@ export class ModifyDBNodesClassRequest extends $dara.Model {
|
|
|
131
137
|
subCategory?: string;
|
|
132
138
|
static names(): { [key: string]: string } {
|
|
133
139
|
return {
|
|
140
|
+
autoUseCoupon: 'AutoUseCoupon',
|
|
134
141
|
clientToken: 'ClientToken',
|
|
135
142
|
cloudProvider: 'CloudProvider',
|
|
136
143
|
DBClusterId: 'DBClusterId',
|
|
@@ -141,6 +148,7 @@ export class ModifyDBNodesClassRequest extends $dara.Model {
|
|
|
141
148
|
plannedEndTime: 'PlannedEndTime',
|
|
142
149
|
plannedFlashingOffTime: 'PlannedFlashingOffTime',
|
|
143
150
|
plannedStartTime: 'PlannedStartTime',
|
|
151
|
+
promotionCode: 'PromotionCode',
|
|
144
152
|
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
145
153
|
resourceOwnerId: 'ResourceOwnerId',
|
|
146
154
|
subCategory: 'SubCategory',
|
|
@@ -149,6 +157,7 @@ export class ModifyDBNodesClassRequest extends $dara.Model {
|
|
|
149
157
|
|
|
150
158
|
static types(): { [key: string]: any } {
|
|
151
159
|
return {
|
|
160
|
+
autoUseCoupon: 'boolean',
|
|
152
161
|
clientToken: 'string',
|
|
153
162
|
cloudProvider: 'string',
|
|
154
163
|
DBClusterId: 'string',
|
|
@@ -159,6 +168,7 @@ export class ModifyDBNodesClassRequest extends $dara.Model {
|
|
|
159
168
|
plannedEndTime: 'string',
|
|
160
169
|
plannedFlashingOffTime: 'string',
|
|
161
170
|
plannedStartTime: 'string',
|
|
171
|
+
promotionCode: 'string',
|
|
162
172
|
resourceOwnerAccount: 'string',
|
|
163
173
|
resourceOwnerId: 'number',
|
|
164
174
|
subCategory: 'string',
|
|
@@ -49,6 +49,7 @@ export class TempModifyDBNodeRequestDBNode extends $dara.Model {
|
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
export class TempModifyDBNodeRequest extends $dara.Model {
|
|
52
|
+
autoUseCoupon?: boolean;
|
|
52
53
|
/**
|
|
53
54
|
* @remarks
|
|
54
55
|
* 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.
|
|
@@ -98,6 +99,11 @@ export class TempModifyDBNodeRequest extends $dara.Model {
|
|
|
98
99
|
operationType?: string;
|
|
99
100
|
ownerAccount?: string;
|
|
100
101
|
ownerId?: number;
|
|
102
|
+
/**
|
|
103
|
+
* @example
|
|
104
|
+
* 727xxxxxx934
|
|
105
|
+
*/
|
|
106
|
+
promotionCode?: string;
|
|
101
107
|
resourceOwnerAccount?: string;
|
|
102
108
|
resourceOwnerId?: number;
|
|
103
109
|
/**
|
|
@@ -114,6 +120,7 @@ export class TempModifyDBNodeRequest extends $dara.Model {
|
|
|
114
120
|
restoreTime?: string;
|
|
115
121
|
static names(): { [key: string]: string } {
|
|
116
122
|
return {
|
|
123
|
+
autoUseCoupon: 'AutoUseCoupon',
|
|
117
124
|
clientToken: 'ClientToken',
|
|
118
125
|
DBClusterId: 'DBClusterId',
|
|
119
126
|
DBNode: 'DBNode',
|
|
@@ -121,6 +128,7 @@ export class TempModifyDBNodeRequest extends $dara.Model {
|
|
|
121
128
|
operationType: 'OperationType',
|
|
122
129
|
ownerAccount: 'OwnerAccount',
|
|
123
130
|
ownerId: 'OwnerId',
|
|
131
|
+
promotionCode: 'PromotionCode',
|
|
124
132
|
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
125
133
|
resourceOwnerId: 'ResourceOwnerId',
|
|
126
134
|
restoreTime: 'RestoreTime',
|
|
@@ -129,6 +137,7 @@ export class TempModifyDBNodeRequest extends $dara.Model {
|
|
|
129
137
|
|
|
130
138
|
static types(): { [key: string]: any } {
|
|
131
139
|
return {
|
|
140
|
+
autoUseCoupon: 'boolean',
|
|
132
141
|
clientToken: 'string',
|
|
133
142
|
DBClusterId: 'string',
|
|
134
143
|
DBNode: { 'type': 'array', 'itemType': TempModifyDBNodeRequestDBNode },
|
|
@@ -136,6 +145,7 @@ export class TempModifyDBNodeRequest extends $dara.Model {
|
|
|
136
145
|
operationType: 'string',
|
|
137
146
|
ownerAccount: 'string',
|
|
138
147
|
ownerId: 'number',
|
|
148
|
+
promotionCode: 'string',
|
|
139
149
|
resourceOwnerAccount: 'string',
|
|
140
150
|
resourceOwnerId: 'number',
|
|
141
151
|
restoreTime: 'string',
|
|
@@ -3,6 +3,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class TransformDBClusterPayTypeRequest 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 contain only ASCII characters and cannot exceed 64 characters in length.
|
|
@@ -49,6 +50,11 @@ export class TransformDBClusterPayTypeRequest extends $dara.Model {
|
|
|
49
50
|
* Month
|
|
50
51
|
*/
|
|
51
52
|
period?: string;
|
|
53
|
+
/**
|
|
54
|
+
* @example
|
|
55
|
+
* 727xxxxxx934
|
|
56
|
+
*/
|
|
57
|
+
promotionCode?: string;
|
|
52
58
|
/**
|
|
53
59
|
* @remarks
|
|
54
60
|
* The ID of the region.
|
|
@@ -84,12 +90,14 @@ export class TransformDBClusterPayTypeRequest extends $dara.Model {
|
|
|
84
90
|
usedTime?: string;
|
|
85
91
|
static names(): { [key: string]: string } {
|
|
86
92
|
return {
|
|
93
|
+
autoUseCoupon: 'AutoUseCoupon',
|
|
87
94
|
clientToken: 'ClientToken',
|
|
88
95
|
DBClusterId: 'DBClusterId',
|
|
89
96
|
ownerAccount: 'OwnerAccount',
|
|
90
97
|
ownerId: 'OwnerId',
|
|
91
98
|
payType: 'PayType',
|
|
92
99
|
period: 'Period',
|
|
100
|
+
promotionCode: 'PromotionCode',
|
|
93
101
|
regionId: 'RegionId',
|
|
94
102
|
resourceGroupId: 'ResourceGroupId',
|
|
95
103
|
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
@@ -100,12 +108,14 @@ export class TransformDBClusterPayTypeRequest extends $dara.Model {
|
|
|
100
108
|
|
|
101
109
|
static types(): { [key: string]: any } {
|
|
102
110
|
return {
|
|
111
|
+
autoUseCoupon: 'boolean',
|
|
103
112
|
clientToken: 'string',
|
|
104
113
|
DBClusterId: 'string',
|
|
105
114
|
ownerAccount: 'string',
|
|
106
115
|
ownerId: 'number',
|
|
107
116
|
payType: 'string',
|
|
108
117
|
period: 'string',
|
|
118
|
+
promotionCode: 'string',
|
|
109
119
|
regionId: 'string',
|
|
110
120
|
resourceGroupId: 'string',
|
|
111
121
|
resourceOwnerAccount: 'string',
|