@alicloud/polardb20170801 6.0.0 → 6.1.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 +90 -0
- package/dist/client.js +270 -0
- package/dist/client.js.map +1 -1
- package/dist/models/AddPolarFsQuotaRequest.d.ts +101 -0
- package/dist/models/AddPolarFsQuotaRequest.js +104 -0
- package/dist/models/AddPolarFsQuotaRequest.js.map +1 -0
- package/dist/models/AddPolarFsQuotaResponse.d.ts +19 -0
- package/dist/models/AddPolarFsQuotaResponse.js +69 -0
- package/dist/models/AddPolarFsQuotaResponse.js.map +1 -0
- package/dist/models/AddPolarFsQuotaResponseBody.d.ts +26 -0
- package/dist/models/AddPolarFsQuotaResponseBody.js +60 -0
- package/dist/models/AddPolarFsQuotaResponseBody.js.map +1 -0
- package/dist/models/CancelPolarFsFileQuotaRequest.d.ts +34 -0
- package/dist/models/CancelPolarFsFileQuotaRequest.js +62 -0
- package/dist/models/CancelPolarFsFileQuotaRequest.js.map +1 -0
- package/dist/models/CancelPolarFsFileQuotaResponse.d.ts +19 -0
- package/dist/models/CancelPolarFsFileQuotaResponse.js +69 -0
- package/dist/models/CancelPolarFsFileQuotaResponse.js.map +1 -0
- package/dist/models/CancelPolarFsFileQuotaResponseBody.d.ts +31 -0
- package/dist/models/CancelPolarFsFileQuotaResponseBody.js +62 -0
- package/dist/models/CancelPolarFsFileQuotaResponseBody.js.map +1 -0
- package/dist/models/CreateApplicationRequest.d.ts +0 -2
- package/dist/models/CreateApplicationRequest.js +0 -2
- package/dist/models/CreateApplicationRequest.js.map +1 -1
- package/dist/models/DeletePolarFsQuotaRequest.d.ts +59 -0
- package/dist/models/DeletePolarFsQuotaRequest.js +86 -0
- package/dist/models/DeletePolarFsQuotaRequest.js.map +1 -0
- package/dist/models/DeletePolarFsQuotaResponse.d.ts +19 -0
- package/dist/models/DeletePolarFsQuotaResponse.js +69 -0
- package/dist/models/DeletePolarFsQuotaResponse.js.map +1 -0
- package/dist/models/DeletePolarFsQuotaResponseBody.d.ts +26 -0
- package/dist/models/DeletePolarFsQuotaResponseBody.js +60 -0
- package/dist/models/DeletePolarFsQuotaResponseBody.js.map +1 -0
- package/dist/models/DescribeDbclusterAttributeResponseBody.d.ts +1 -0
- package/dist/models/DescribeDbclusterAttributeResponseBody.js +2 -0
- package/dist/models/DescribeDbclusterAttributeResponseBody.js.map +1 -1
- package/dist/models/DescribePolarFsAttributeRequest.d.ts +23 -0
- package/dist/models/DescribePolarFsAttributeRequest.js +62 -0
- package/dist/models/DescribePolarFsAttributeRequest.js.map +1 -0
- package/dist/models/DescribePolarFsAttributeResponse.d.ts +19 -0
- package/dist/models/DescribePolarFsAttributeResponse.js +69 -0
- package/dist/models/DescribePolarFsAttributeResponse.js.map +1 -0
- package/dist/models/DescribePolarFsAttributeResponseBody.d.ts +177 -0
- package/dist/models/DescribePolarFsAttributeResponseBody.js +142 -0
- package/dist/models/DescribePolarFsAttributeResponseBody.js.map +1 -0
- package/dist/models/DescribePolarFsQuotaRequest.d.ts +31 -0
- package/dist/models/DescribePolarFsQuotaRequest.js +62 -0
- package/dist/models/DescribePolarFsQuotaRequest.js.map +1 -0
- package/dist/models/DescribePolarFsQuotaResponse.d.ts +19 -0
- package/dist/models/DescribePolarFsQuotaResponse.js +69 -0
- package/dist/models/DescribePolarFsQuotaResponse.js.map +1 -0
- package/dist/models/DescribePolarFsQuotaResponseBody.d.ts +114 -0
- package/dist/models/DescribePolarFsQuotaResponseBody.js +112 -0
- package/dist/models/DescribePolarFsQuotaResponseBody.js.map +1 -0
- package/dist/models/SetPolarFsFileQuotaRequest.d.ts +63 -0
- package/dist/models/SetPolarFsFileQuotaRequest.js +90 -0
- package/dist/models/SetPolarFsFileQuotaRequest.js.map +1 -0
- package/dist/models/SetPolarFsFileQuotaResponse.d.ts +19 -0
- package/dist/models/SetPolarFsFileQuotaResponse.js +69 -0
- package/dist/models/SetPolarFsFileQuotaResponse.js.map +1 -0
- package/dist/models/SetPolarFsFileQuotaResponseBody.d.ts +26 -0
- package/dist/models/SetPolarFsFileQuotaResponseBody.js +60 -0
- package/dist/models/SetPolarFsFileQuotaResponseBody.js.map +1 -0
- package/dist/models/model.d.ts +23 -0
- package/dist/models/model.js +68 -21
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +300 -0
- package/src/models/AddPolarFsQuotaRequest.ts +149 -0
- package/src/models/AddPolarFsQuotaResponse.ts +40 -0
- package/src/models/AddPolarFsQuotaResponseBody.ts +41 -0
- package/src/models/CancelPolarFsFileQuotaRequest.ts +51 -0
- package/src/models/CancelPolarFsFileQuotaResponse.ts +40 -0
- package/src/models/CancelPolarFsFileQuotaResponseBody.ts +48 -0
- package/src/models/CreateApplicationRequest.ts +0 -2
- package/src/models/DeletePolarFsQuotaRequest.ts +91 -0
- package/src/models/DeletePolarFsQuotaResponse.ts +40 -0
- package/src/models/DeletePolarFsQuotaResponseBody.ts +41 -0
- package/src/models/DescribeDbclusterAttributeResponseBody.ts +3 -0
- package/src/models/DescribePolarFsAttributeRequest.ts +40 -0
- package/src/models/DescribePolarFsAttributeResponse.ts +40 -0
- package/src/models/DescribePolarFsAttributeResponseBody.ts +265 -0
- package/src/models/DescribePolarFsQuotaRequest.ts +48 -0
- package/src/models/DescribePolarFsQuotaResponse.ts +40 -0
- package/src/models/DescribePolarFsQuotaResponseBody.ts +172 -0
- package/src/models/SetPolarFsFileQuotaRequest.ts +99 -0
- package/src/models/SetPolarFsFileQuotaResponse.ts +40 -0
- package/src/models/SetPolarFsFileQuotaResponseBody.ts +41 -0
- package/src/models/model.ts +23 -0
|
@@ -0,0 +1,265 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribePolarFsAttributeResponseBodyMountInfo extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* TCP://**.**.**.**:3000,TCP://**.**.**.**:3000,TCP://**.**.**.**:3000
|
|
9
|
+
*/
|
|
10
|
+
polarDbProxy?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* pfs-**********
|
|
14
|
+
*/
|
|
15
|
+
polarFsCluster?: string;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* a734298c391cb9ebd05e2ee85feb624
|
|
19
|
+
*/
|
|
20
|
+
token?: string;
|
|
21
|
+
static names(): { [key: string]: string } {
|
|
22
|
+
return {
|
|
23
|
+
polarDbProxy: 'PolarDbProxy',
|
|
24
|
+
polarFsCluster: 'PolarFsCluster',
|
|
25
|
+
token: 'Token',
|
|
26
|
+
};
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
static types(): { [key: string]: any } {
|
|
30
|
+
return {
|
|
31
|
+
polarDbProxy: 'string',
|
|
32
|
+
polarFsCluster: 'string',
|
|
33
|
+
token: 'string',
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
validate() {
|
|
38
|
+
super.validate();
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
constructor(map?: { [key: string]: any }) {
|
|
42
|
+
super(map);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
export class DescribePolarFsAttributeResponseBody extends $dara.Model {
|
|
47
|
+
/**
|
|
48
|
+
* @example
|
|
49
|
+
* 1000
|
|
50
|
+
*/
|
|
51
|
+
acceleratedStorageSpace?: number;
|
|
52
|
+
/**
|
|
53
|
+
* @example
|
|
54
|
+
* ON
|
|
55
|
+
*/
|
|
56
|
+
acceleratingEnable?: string;
|
|
57
|
+
/**
|
|
58
|
+
* @example
|
|
59
|
+
* 100
|
|
60
|
+
*/
|
|
61
|
+
bandwidth?: number;
|
|
62
|
+
/**
|
|
63
|
+
* @example
|
|
64
|
+
* 100
|
|
65
|
+
*/
|
|
66
|
+
bandwidthBaseLine?: number;
|
|
67
|
+
/**
|
|
68
|
+
* @example
|
|
69
|
+
* high_performance
|
|
70
|
+
*/
|
|
71
|
+
category?: string;
|
|
72
|
+
clientDownloadPath?: string;
|
|
73
|
+
/**
|
|
74
|
+
* @example
|
|
75
|
+
* 2021-08-02T05:57:10Z
|
|
76
|
+
*/
|
|
77
|
+
createTime?: string;
|
|
78
|
+
/**
|
|
79
|
+
* @example
|
|
80
|
+
* MySQL
|
|
81
|
+
*/
|
|
82
|
+
DBType?: string;
|
|
83
|
+
/**
|
|
84
|
+
* @example
|
|
85
|
+
* 2025-10-10T16:00:00Z
|
|
86
|
+
*/
|
|
87
|
+
expireTime?: string;
|
|
88
|
+
/**
|
|
89
|
+
* @example
|
|
90
|
+
* false
|
|
91
|
+
*/
|
|
92
|
+
expired?: string;
|
|
93
|
+
/**
|
|
94
|
+
* @example
|
|
95
|
+
* Unlock
|
|
96
|
+
*/
|
|
97
|
+
lockMode?: string;
|
|
98
|
+
metaUrl?: string;
|
|
99
|
+
minorVersion?: string;
|
|
100
|
+
mountInfo?: DescribePolarFsAttributeResponseBodyMountInfo;
|
|
101
|
+
/**
|
|
102
|
+
* @example
|
|
103
|
+
* Prepaid
|
|
104
|
+
*/
|
|
105
|
+
payType?: string;
|
|
106
|
+
/**
|
|
107
|
+
* @example
|
|
108
|
+
* pfs-xxx
|
|
109
|
+
*/
|
|
110
|
+
polarFsInstanceDescription?: string;
|
|
111
|
+
/**
|
|
112
|
+
* @example
|
|
113
|
+
* pfs-2ze0i74ka607*****
|
|
114
|
+
*/
|
|
115
|
+
polarFsInstanceId?: string;
|
|
116
|
+
/**
|
|
117
|
+
* @example
|
|
118
|
+
* Running
|
|
119
|
+
*/
|
|
120
|
+
polarFsStatus?: string;
|
|
121
|
+
/**
|
|
122
|
+
* @example
|
|
123
|
+
* PolarFS 2.0
|
|
124
|
+
*/
|
|
125
|
+
polarFsType?: string;
|
|
126
|
+
/**
|
|
127
|
+
* @example
|
|
128
|
+
* 1.0.1-1.0.3
|
|
129
|
+
*/
|
|
130
|
+
polarFsVersion?: string;
|
|
131
|
+
/**
|
|
132
|
+
* @example
|
|
133
|
+
* cn-beijing
|
|
134
|
+
*/
|
|
135
|
+
regionId?: string;
|
|
136
|
+
/**
|
|
137
|
+
* @example
|
|
138
|
+
* pc-2zejpr41d9xk3uk34
|
|
139
|
+
*/
|
|
140
|
+
relativeDbClusterId?: string;
|
|
141
|
+
/**
|
|
142
|
+
* @remarks
|
|
143
|
+
* Id of the request
|
|
144
|
+
*
|
|
145
|
+
* @example
|
|
146
|
+
* 3F9E6A3B-C13E-4064-A010-18582A******
|
|
147
|
+
*/
|
|
148
|
+
requestId?: string;
|
|
149
|
+
/**
|
|
150
|
+
* @example
|
|
151
|
+
* sg-bp**************
|
|
152
|
+
*/
|
|
153
|
+
securityGroupId?: string;
|
|
154
|
+
/**
|
|
155
|
+
* @example
|
|
156
|
+
* 1000
|
|
157
|
+
*/
|
|
158
|
+
storageSpace?: number;
|
|
159
|
+
/**
|
|
160
|
+
* @example
|
|
161
|
+
* essdpl1
|
|
162
|
+
*/
|
|
163
|
+
storageType?: string;
|
|
164
|
+
/**
|
|
165
|
+
* @example
|
|
166
|
+
* 3012558848
|
|
167
|
+
*/
|
|
168
|
+
storageUsed?: number;
|
|
169
|
+
/**
|
|
170
|
+
* @example
|
|
171
|
+
* vpc-**********
|
|
172
|
+
*/
|
|
173
|
+
VPCId?: string;
|
|
174
|
+
/**
|
|
175
|
+
* @example
|
|
176
|
+
* vsw-**************
|
|
177
|
+
*/
|
|
178
|
+
vSwitchId?: string;
|
|
179
|
+
/**
|
|
180
|
+
* @example
|
|
181
|
+
* cn-beijing-k
|
|
182
|
+
*/
|
|
183
|
+
zoneId?: string;
|
|
184
|
+
static names(): { [key: string]: string } {
|
|
185
|
+
return {
|
|
186
|
+
acceleratedStorageSpace: 'AcceleratedStorageSpace',
|
|
187
|
+
acceleratingEnable: 'AcceleratingEnable',
|
|
188
|
+
bandwidth: 'Bandwidth',
|
|
189
|
+
bandwidthBaseLine: 'BandwidthBaseLine',
|
|
190
|
+
category: 'Category',
|
|
191
|
+
clientDownloadPath: 'ClientDownloadPath',
|
|
192
|
+
createTime: 'CreateTime',
|
|
193
|
+
DBType: 'DBType',
|
|
194
|
+
expireTime: 'ExpireTime',
|
|
195
|
+
expired: 'Expired',
|
|
196
|
+
lockMode: 'LockMode',
|
|
197
|
+
metaUrl: 'MetaUrl',
|
|
198
|
+
minorVersion: 'MinorVersion',
|
|
199
|
+
mountInfo: 'MountInfo',
|
|
200
|
+
payType: 'PayType',
|
|
201
|
+
polarFsInstanceDescription: 'PolarFsInstanceDescription',
|
|
202
|
+
polarFsInstanceId: 'PolarFsInstanceId',
|
|
203
|
+
polarFsStatus: 'PolarFsStatus',
|
|
204
|
+
polarFsType: 'PolarFsType',
|
|
205
|
+
polarFsVersion: 'PolarFsVersion',
|
|
206
|
+
regionId: 'RegionId',
|
|
207
|
+
relativeDbClusterId: 'RelativeDbClusterId',
|
|
208
|
+
requestId: 'RequestId',
|
|
209
|
+
securityGroupId: 'SecurityGroupId',
|
|
210
|
+
storageSpace: 'StorageSpace',
|
|
211
|
+
storageType: 'StorageType',
|
|
212
|
+
storageUsed: 'StorageUsed',
|
|
213
|
+
VPCId: 'VPCId',
|
|
214
|
+
vSwitchId: 'VSwitchId',
|
|
215
|
+
zoneId: 'ZoneId',
|
|
216
|
+
};
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
static types(): { [key: string]: any } {
|
|
220
|
+
return {
|
|
221
|
+
acceleratedStorageSpace: 'number',
|
|
222
|
+
acceleratingEnable: 'string',
|
|
223
|
+
bandwidth: 'number',
|
|
224
|
+
bandwidthBaseLine: 'number',
|
|
225
|
+
category: 'string',
|
|
226
|
+
clientDownloadPath: 'string',
|
|
227
|
+
createTime: 'string',
|
|
228
|
+
DBType: 'string',
|
|
229
|
+
expireTime: 'string',
|
|
230
|
+
expired: 'string',
|
|
231
|
+
lockMode: 'string',
|
|
232
|
+
metaUrl: 'string',
|
|
233
|
+
minorVersion: 'string',
|
|
234
|
+
mountInfo: DescribePolarFsAttributeResponseBodyMountInfo,
|
|
235
|
+
payType: 'string',
|
|
236
|
+
polarFsInstanceDescription: 'string',
|
|
237
|
+
polarFsInstanceId: 'string',
|
|
238
|
+
polarFsStatus: 'string',
|
|
239
|
+
polarFsType: 'string',
|
|
240
|
+
polarFsVersion: 'string',
|
|
241
|
+
regionId: 'string',
|
|
242
|
+
relativeDbClusterId: 'string',
|
|
243
|
+
requestId: 'string',
|
|
244
|
+
securityGroupId: 'string',
|
|
245
|
+
storageSpace: 'number',
|
|
246
|
+
storageType: 'string',
|
|
247
|
+
storageUsed: 'number',
|
|
248
|
+
VPCId: 'string',
|
|
249
|
+
vSwitchId: 'string',
|
|
250
|
+
zoneId: 'string',
|
|
251
|
+
};
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
validate() {
|
|
255
|
+
if(this.mountInfo && typeof (this.mountInfo as any).validate === 'function') {
|
|
256
|
+
(this.mountInfo as any).validate();
|
|
257
|
+
}
|
|
258
|
+
super.validate();
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
constructor(map?: { [key: string]: any }) {
|
|
262
|
+
super(map);
|
|
263
|
+
}
|
|
264
|
+
}
|
|
265
|
+
|
|
@@ -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 DescribePolarFsQuotaRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* pc-**************
|
|
9
|
+
*/
|
|
10
|
+
DBClusterId?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @remarks
|
|
13
|
+
* This parameter is required.
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* pfs-2ze0i74ka607*****
|
|
17
|
+
*/
|
|
18
|
+
polarFsInstanceId?: string;
|
|
19
|
+
/**
|
|
20
|
+
* @example
|
|
21
|
+
* cn-beijing
|
|
22
|
+
*/
|
|
23
|
+
regionId?: string;
|
|
24
|
+
static names(): { [key: string]: string } {
|
|
25
|
+
return {
|
|
26
|
+
DBClusterId: 'DBClusterId',
|
|
27
|
+
polarFsInstanceId: 'PolarFsInstanceId',
|
|
28
|
+
regionId: 'RegionId',
|
|
29
|
+
};
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
static types(): { [key: string]: any } {
|
|
33
|
+
return {
|
|
34
|
+
DBClusterId: 'string',
|
|
35
|
+
polarFsInstanceId: '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 { DescribePolarFsQuotaResponseBody } from "./DescribePolarFsQuotaResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class DescribePolarFsQuotaResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: DescribePolarFsQuotaResponseBody;
|
|
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: DescribePolarFsQuotaResponseBody,
|
|
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,172 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class DescribePolarFsQuotaResponseBodyPolicyItems extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* 7200
|
|
9
|
+
*/
|
|
10
|
+
accessTTL?: number;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* 7200
|
|
14
|
+
*/
|
|
15
|
+
changeTTL?: number;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* NULL
|
|
19
|
+
*/
|
|
20
|
+
description?: string;
|
|
21
|
+
/**
|
|
22
|
+
* @example
|
|
23
|
+
* false
|
|
24
|
+
*/
|
|
25
|
+
enabled?: boolean;
|
|
26
|
+
/**
|
|
27
|
+
* @example
|
|
28
|
+
* NULL
|
|
29
|
+
*/
|
|
30
|
+
exclude?: string;
|
|
31
|
+
/**
|
|
32
|
+
* @example
|
|
33
|
+
* 77
|
|
34
|
+
*/
|
|
35
|
+
fileCountLimit?: number;
|
|
36
|
+
/**
|
|
37
|
+
* @example
|
|
38
|
+
* 73
|
|
39
|
+
*/
|
|
40
|
+
id?: number;
|
|
41
|
+
/**
|
|
42
|
+
* @example
|
|
43
|
+
* /a*
|
|
44
|
+
*/
|
|
45
|
+
include?: string;
|
|
46
|
+
/**
|
|
47
|
+
* @example
|
|
48
|
+
* xxxxx
|
|
49
|
+
*/
|
|
50
|
+
name?: string;
|
|
51
|
+
/**
|
|
52
|
+
* @example
|
|
53
|
+
* 1
|
|
54
|
+
*/
|
|
55
|
+
priority?: number;
|
|
56
|
+
/**
|
|
57
|
+
* @example
|
|
58
|
+
* 1
|
|
59
|
+
*/
|
|
60
|
+
sizeLimit?: number;
|
|
61
|
+
static names(): { [key: string]: string } {
|
|
62
|
+
return {
|
|
63
|
+
accessTTL: 'AccessTTL',
|
|
64
|
+
changeTTL: 'ChangeTTL',
|
|
65
|
+
description: 'Description',
|
|
66
|
+
enabled: 'Enabled',
|
|
67
|
+
exclude: 'Exclude',
|
|
68
|
+
fileCountLimit: 'FileCountLimit',
|
|
69
|
+
id: 'Id',
|
|
70
|
+
include: 'Include',
|
|
71
|
+
name: 'Name',
|
|
72
|
+
priority: 'Priority',
|
|
73
|
+
sizeLimit: 'SizeLimit',
|
|
74
|
+
};
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
static types(): { [key: string]: any } {
|
|
78
|
+
return {
|
|
79
|
+
accessTTL: 'number',
|
|
80
|
+
changeTTL: 'number',
|
|
81
|
+
description: 'string',
|
|
82
|
+
enabled: 'boolean',
|
|
83
|
+
exclude: 'string',
|
|
84
|
+
fileCountLimit: 'number',
|
|
85
|
+
id: 'number',
|
|
86
|
+
include: 'string',
|
|
87
|
+
name: 'string',
|
|
88
|
+
priority: 'number',
|
|
89
|
+
sizeLimit: 'number',
|
|
90
|
+
};
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
validate() {
|
|
94
|
+
super.validate();
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
constructor(map?: { [key: string]: any }) {
|
|
98
|
+
super(map);
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
export class DescribePolarFsQuotaResponseBody extends $dara.Model {
|
|
103
|
+
/**
|
|
104
|
+
* @example
|
|
105
|
+
* 1
|
|
106
|
+
*/
|
|
107
|
+
pageNumber?: string;
|
|
108
|
+
/**
|
|
109
|
+
* @example
|
|
110
|
+
* 5
|
|
111
|
+
*/
|
|
112
|
+
pageRecordCount?: string;
|
|
113
|
+
/**
|
|
114
|
+
* @example
|
|
115
|
+
* 10
|
|
116
|
+
*/
|
|
117
|
+
pageSize?: string;
|
|
118
|
+
/**
|
|
119
|
+
* @example
|
|
120
|
+
* pfs-2ze0i74ka607*****
|
|
121
|
+
*/
|
|
122
|
+
polarFsInstanceId?: string;
|
|
123
|
+
policyItems?: DescribePolarFsQuotaResponseBodyPolicyItems[];
|
|
124
|
+
/**
|
|
125
|
+
* @remarks
|
|
126
|
+
* Id of the request
|
|
127
|
+
*
|
|
128
|
+
* @example
|
|
129
|
+
* 2FED790E-FB61-4721-8C1C-07C627******
|
|
130
|
+
*/
|
|
131
|
+
requestId?: string;
|
|
132
|
+
/**
|
|
133
|
+
* @example
|
|
134
|
+
* 5
|
|
135
|
+
*/
|
|
136
|
+
totalRecordCount?: string;
|
|
137
|
+
static names(): { [key: string]: string } {
|
|
138
|
+
return {
|
|
139
|
+
pageNumber: 'PageNumber',
|
|
140
|
+
pageRecordCount: 'PageRecordCount',
|
|
141
|
+
pageSize: 'PageSize',
|
|
142
|
+
polarFsInstanceId: 'PolarFsInstanceId',
|
|
143
|
+
policyItems: 'PolicyItems',
|
|
144
|
+
requestId: 'RequestId',
|
|
145
|
+
totalRecordCount: 'TotalRecordCount',
|
|
146
|
+
};
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
static types(): { [key: string]: any } {
|
|
150
|
+
return {
|
|
151
|
+
pageNumber: 'string',
|
|
152
|
+
pageRecordCount: 'string',
|
|
153
|
+
pageSize: 'string',
|
|
154
|
+
polarFsInstanceId: 'string',
|
|
155
|
+
policyItems: { 'type': 'array', 'itemType': DescribePolarFsQuotaResponseBodyPolicyItems },
|
|
156
|
+
requestId: 'string',
|
|
157
|
+
totalRecordCount: 'string',
|
|
158
|
+
};
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
validate() {
|
|
162
|
+
if(Array.isArray(this.policyItems)) {
|
|
163
|
+
$dara.Model.validateArray(this.policyItems);
|
|
164
|
+
}
|
|
165
|
+
super.validate();
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
constructor(map?: { [key: string]: any }) {
|
|
169
|
+
super(map);
|
|
170
|
+
}
|
|
171
|
+
}
|
|
172
|
+
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class SetPolarFsFileQuotaRequestFilePathQuotas extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* /a/project
|
|
9
|
+
*/
|
|
10
|
+
filePathId?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @example
|
|
13
|
+
* 1
|
|
14
|
+
*/
|
|
15
|
+
maxDepth?: number;
|
|
16
|
+
/**
|
|
17
|
+
* @example
|
|
18
|
+
* 1,2
|
|
19
|
+
*/
|
|
20
|
+
quotaIds?: string;
|
|
21
|
+
/**
|
|
22
|
+
* @example
|
|
23
|
+
* missing
|
|
24
|
+
*/
|
|
25
|
+
strategy?: string;
|
|
26
|
+
static names(): { [key: string]: string } {
|
|
27
|
+
return {
|
|
28
|
+
filePathId: 'FilePathId',
|
|
29
|
+
maxDepth: 'MaxDepth',
|
|
30
|
+
quotaIds: 'QuotaIds',
|
|
31
|
+
strategy: 'Strategy',
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
static types(): { [key: string]: any } {
|
|
36
|
+
return {
|
|
37
|
+
filePathId: 'string',
|
|
38
|
+
maxDepth: 'number',
|
|
39
|
+
quotaIds: 'string',
|
|
40
|
+
strategy: 'string',
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
validate() {
|
|
45
|
+
super.validate();
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
constructor(map?: { [key: string]: any }) {
|
|
49
|
+
super(map);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export class SetPolarFsFileQuotaRequest extends $dara.Model {
|
|
54
|
+
/**
|
|
55
|
+
* @example
|
|
56
|
+
* pc-**************
|
|
57
|
+
*/
|
|
58
|
+
DBClusterId?: string;
|
|
59
|
+
/**
|
|
60
|
+
* @remarks
|
|
61
|
+
* This parameter is required.
|
|
62
|
+
*/
|
|
63
|
+
filePathQuotas?: SetPolarFsFileQuotaRequestFilePathQuotas[];
|
|
64
|
+
/**
|
|
65
|
+
* @remarks
|
|
66
|
+
* This parameter is required.
|
|
67
|
+
*
|
|
68
|
+
* @example
|
|
69
|
+
* pfs-2ze0i74ka607*****
|
|
70
|
+
*/
|
|
71
|
+
polarFsInstanceId?: string;
|
|
72
|
+
static names(): { [key: string]: string } {
|
|
73
|
+
return {
|
|
74
|
+
DBClusterId: 'DBClusterId',
|
|
75
|
+
filePathQuotas: 'FilePathQuotas',
|
|
76
|
+
polarFsInstanceId: 'PolarFsInstanceId',
|
|
77
|
+
};
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
static types(): { [key: string]: any } {
|
|
81
|
+
return {
|
|
82
|
+
DBClusterId: 'string',
|
|
83
|
+
filePathQuotas: { 'type': 'array', 'itemType': SetPolarFsFileQuotaRequestFilePathQuotas },
|
|
84
|
+
polarFsInstanceId: 'string',
|
|
85
|
+
};
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
validate() {
|
|
89
|
+
if(Array.isArray(this.filePathQuotas)) {
|
|
90
|
+
$dara.Model.validateArray(this.filePathQuotas);
|
|
91
|
+
}
|
|
92
|
+
super.validate();
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
constructor(map?: { [key: string]: any }) {
|
|
96
|
+
super(map);
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { SetPolarFsFileQuotaResponseBody } from "./SetPolarFsFileQuotaResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class SetPolarFsFileQuotaResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: SetPolarFsFileQuotaResponseBody;
|
|
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: SetPolarFsFileQuotaResponseBody,
|
|
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,41 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class SetPolarFsFileQuotaResponseBody extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @example
|
|
8
|
+
* pfs-2ze0i74ka607*****
|
|
9
|
+
*/
|
|
10
|
+
polarFsInstanceId?: string;
|
|
11
|
+
/**
|
|
12
|
+
* @remarks
|
|
13
|
+
* Id of the request
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* 925B84D9-CA72-432C-95CF-738C22******
|
|
17
|
+
*/
|
|
18
|
+
requestId?: string;
|
|
19
|
+
static names(): { [key: string]: string } {
|
|
20
|
+
return {
|
|
21
|
+
polarFsInstanceId: 'PolarFsInstanceId',
|
|
22
|
+
requestId: 'RequestId',
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
static types(): { [key: string]: any } {
|
|
27
|
+
return {
|
|
28
|
+
polarFsInstanceId: 'string',
|
|
29
|
+
requestId: 'string',
|
|
30
|
+
};
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
validate() {
|
|
34
|
+
super.validate();
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
constructor(map?: { [key: string]: any }) {
|
|
38
|
+
super(map);
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|