@alicloud/polardb20170801 7.11.0 → 7.11.2
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 +12 -12
- package/dist/client.js +13 -12
- package/dist/client.js.map +1 -1
- package/dist/models/CreateGwConsumerOrderRequest.d.ts +5 -11
- package/dist/models/CreateGwConsumerOrderRequest.js.map +1 -1
- package/dist/models/CreateGwConsumerOrderResponseBody.d.ts +1 -1
- package/dist/models/DescribePolarFsQuotaListRequest.d.ts +14 -3
- package/dist/models/DescribePolarFsQuotaListRequest.js.map +1 -1
- package/dist/models/DescribePolarFsQuotaListResponseBody.d.ts +9 -9
- package/dist/models/SetPolarFsFileQuotaRequest.d.ts +10 -11
- package/dist/models/SetPolarFsFileQuotaRequest.js.map +1 -1
- package/dist/models/SetPolarFsFileQuotaResponseBody.d.ts +2 -2
- package/package.json +1 -1
- package/src/client.ts +13 -12
- package/src/models/CreateGwConsumerOrderRequest.ts +5 -11
- package/src/models/CreateGwConsumerOrderResponseBody.ts +1 -1
- package/src/models/DescribePolarFsQuotaListRequest.ts +14 -3
- package/src/models/DescribePolarFsQuotaListResponseBody.ts +10 -10
- package/src/models/SetPolarFsFileQuotaRequest.ts +10 -11
- package/src/models/SetPolarFsFileQuotaResponseBody.ts +2 -2
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class CreateGwConsumerOrderRequest extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The
|
|
5
|
+
* The idempotency token.
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* 6000170000591aed949d0f54a343f1a42***********
|
|
@@ -10,9 +10,7 @@ export declare class CreateGwConsumerOrderRequest extends $dara.Model {
|
|
|
10
10
|
clientToken?: string;
|
|
11
11
|
/**
|
|
12
12
|
* @remarks
|
|
13
|
-
* The expiration time of the API key in ISO
|
|
14
|
-
*
|
|
15
|
-
* This parameter is required.
|
|
13
|
+
* The expiration time of the API key in ISO-8601 format. The value must be later than the current time.
|
|
16
14
|
*
|
|
17
15
|
* @example
|
|
18
16
|
* 2027-07-23T03:09:08Z
|
|
@@ -30,7 +28,7 @@ export declare class CreateGwConsumerOrderRequest extends $dara.Model {
|
|
|
30
28
|
gatewayId?: string;
|
|
31
29
|
/**
|
|
32
30
|
* @remarks
|
|
33
|
-
* The number of API keys to generate
|
|
31
|
+
* The number of API keys to generate (the number of capacity plans to order). Valid values: 1 to 30.
|
|
34
32
|
*
|
|
35
33
|
* This parameter is required.
|
|
36
34
|
*
|
|
@@ -40,16 +38,12 @@ export declare class CreateGwConsumerOrderRequest extends $dara.Model {
|
|
|
40
38
|
keyCount?: number;
|
|
41
39
|
/**
|
|
42
40
|
* @remarks
|
|
43
|
-
* The
|
|
44
|
-
*
|
|
45
|
-
* - basic: 3000 points per plan.
|
|
46
|
-
* - advanced: 6000 points per plan.
|
|
47
|
-
* - pro: 9000 points per plan.
|
|
41
|
+
* The number of credits per API key. The value is a positive integer string.
|
|
48
42
|
*
|
|
49
43
|
* This parameter is required.
|
|
50
44
|
*
|
|
51
45
|
* @example
|
|
52
|
-
*
|
|
46
|
+
* 3000
|
|
53
47
|
*/
|
|
54
48
|
packageSpec?: string;
|
|
55
49
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateGwConsumerOrderRequest.js","sourceRoot":"","sources":["../../src/models/CreateGwConsumerOrderRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,4BAA6B,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"CreateGwConsumerOrderRequest.js","sourceRoot":"","sources":["../../src/models/CreateGwConsumerOrderRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,4BAA6B,SAAQ,KAAK,CAAC,KAAK;IA0D3D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,aAAa;YAC1B,UAAU,EAAE,YAAY;YACxB,SAAS,EAAE,WAAW;YACtB,QAAQ,EAAE,UAAU;YACpB,WAAW,EAAE,aAAa;YAC1B,QAAQ,EAAE,UAAU;SACrB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,QAAQ;YACrB,UAAU,EAAE,QAAQ;YACpB,SAAS,EAAE,QAAQ;YACnB,QAAQ,EAAE,QAAQ;YAClB,WAAW,EAAE,QAAQ;YACrB,QAAQ,EAAE,QAAQ;SACnB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAvFD,oEAuFC"}
|
|
@@ -2,25 +2,33 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class DescribePolarFsQuotaListRequest extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The
|
|
5
|
+
* The instance ID of the PolarDB instance on which the application depends.
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* pc-************
|
|
9
9
|
*/
|
|
10
10
|
DBClusterId?: string;
|
|
11
11
|
/**
|
|
12
|
+
* @remarks
|
|
13
|
+
* The page number.
|
|
14
|
+
*
|
|
12
15
|
* @example
|
|
13
16
|
* 1
|
|
14
17
|
*/
|
|
15
18
|
pageNumber?: number;
|
|
16
19
|
/**
|
|
20
|
+
* @remarks
|
|
21
|
+
* The number of entries per page. Valid values: 30, 50, and 100.
|
|
22
|
+
*
|
|
23
|
+
* Default value: 30.
|
|
24
|
+
*
|
|
17
25
|
* @example
|
|
18
26
|
* 30
|
|
19
27
|
*/
|
|
20
28
|
pageSize?: number;
|
|
21
29
|
/**
|
|
22
30
|
* @remarks
|
|
23
|
-
* The
|
|
31
|
+
* The PolarFs instance ID.
|
|
24
32
|
*
|
|
25
33
|
* This parameter is required.
|
|
26
34
|
*
|
|
@@ -30,7 +38,10 @@ export declare class DescribePolarFsQuotaListRequest extends $dara.Model {
|
|
|
30
38
|
polarFsInstanceId?: string;
|
|
31
39
|
/**
|
|
32
40
|
* @remarks
|
|
33
|
-
* The
|
|
41
|
+
* The query mode. Valid values:
|
|
42
|
+
*
|
|
43
|
+
* - **quotaPolicy**: quota rule
|
|
44
|
+
* - **quota**: quota
|
|
34
45
|
*
|
|
35
46
|
* @example
|
|
36
47
|
* quotaPolicy
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DescribePolarFsQuotaListRequest.js","sourceRoot":"","sources":["../../src/models/DescribePolarFsQuotaListRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,+BAAgC,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"DescribePolarFsQuotaListRequest.js","sourceRoot":"","sources":["../../src/models/DescribePolarFsQuotaListRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,+BAAgC,SAAQ,KAAK,CAAC,KAAK;IAwD9D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,aAAa;YAC1B,UAAU,EAAE,YAAY;YACxB,QAAQ,EAAE,UAAU;YACpB,iBAAiB,EAAE,mBAAmB;YACtC,SAAS,EAAE,WAAW;YACtB,QAAQ,EAAE,UAAU;SACrB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,QAAQ;YACrB,UAAU,EAAE,QAAQ;YACpB,QAAQ,EAAE,QAAQ;YAClB,iBAAiB,EAAE,QAAQ;YAC3B,SAAS,EAAE,QAAQ;YACnB,QAAQ,EAAE,QAAQ;SACnB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AArFD,0EAqFC"}
|
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class DescribePolarFsQuotaListResponseBodyQuotaItems extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The capacity
|
|
5
|
+
* The capacity.
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* 1073741824
|
|
@@ -10,7 +10,7 @@ export declare class DescribePolarFsQuotaListResponseBodyQuotaItems extends $dar
|
|
|
10
10
|
capacity?: number;
|
|
11
11
|
/**
|
|
12
12
|
* @remarks
|
|
13
|
-
*
|
|
13
|
+
* Inodes
|
|
14
14
|
*
|
|
15
15
|
* @example
|
|
16
16
|
* 100
|
|
@@ -26,7 +26,7 @@ export declare class DescribePolarFsQuotaListResponseBodyQuotaItems extends $dar
|
|
|
26
26
|
path?: string;
|
|
27
27
|
/**
|
|
28
28
|
* @remarks
|
|
29
|
-
* The used capacity
|
|
29
|
+
* The used capacity.
|
|
30
30
|
*
|
|
31
31
|
* @example
|
|
32
32
|
* 104857600
|
|
@@ -34,7 +34,7 @@ export declare class DescribePolarFsQuotaListResponseBodyQuotaItems extends $dar
|
|
|
34
34
|
usedCapacity?: number;
|
|
35
35
|
/**
|
|
36
36
|
* @remarks
|
|
37
|
-
* The number of inodes
|
|
37
|
+
* The number of used inodes.
|
|
38
38
|
*
|
|
39
39
|
* @example
|
|
40
40
|
* 1
|
|
@@ -54,7 +54,7 @@ export declare class DescribePolarFsQuotaListResponseBodyQuotaItems extends $dar
|
|
|
54
54
|
export declare class DescribePolarFsQuotaListResponseBody extends $dara.Model {
|
|
55
55
|
/**
|
|
56
56
|
* @remarks
|
|
57
|
-
* The page number.
|
|
57
|
+
* The current page number.
|
|
58
58
|
*
|
|
59
59
|
* @example
|
|
60
60
|
* 1
|
|
@@ -70,7 +70,7 @@ export declare class DescribePolarFsQuotaListResponseBody extends $dara.Model {
|
|
|
70
70
|
pageRecordCount?: string;
|
|
71
71
|
/**
|
|
72
72
|
* @remarks
|
|
73
|
-
* The number of
|
|
73
|
+
* The number of entries per page. Valid values: **30**, **50**, and **100**.
|
|
74
74
|
*
|
|
75
75
|
* Default value: **30**.
|
|
76
76
|
*
|
|
@@ -80,7 +80,7 @@ export declare class DescribePolarFsQuotaListResponseBody extends $dara.Model {
|
|
|
80
80
|
pageSize?: string;
|
|
81
81
|
/**
|
|
82
82
|
* @remarks
|
|
83
|
-
* The
|
|
83
|
+
* The PolarFs instance ID.
|
|
84
84
|
*
|
|
85
85
|
* @example
|
|
86
86
|
* pfs-test****
|
|
@@ -88,12 +88,12 @@ export declare class DescribePolarFsQuotaListResponseBody extends $dara.Model {
|
|
|
88
88
|
polarFsInstanceId?: string;
|
|
89
89
|
/**
|
|
90
90
|
* @remarks
|
|
91
|
-
*
|
|
91
|
+
* The directory quotas.
|
|
92
92
|
*/
|
|
93
93
|
quotaItems?: DescribePolarFsQuotaListResponseBodyQuotaItems[];
|
|
94
94
|
/**
|
|
95
95
|
* @remarks
|
|
96
|
-
*
|
|
96
|
+
* Id of the request
|
|
97
97
|
*
|
|
98
98
|
* @example
|
|
99
99
|
* EBEAA83D-1734-42E3-85E3-E25F6E******
|
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class SetPolarFsFileQuotaRequestFilePathQuotas extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The capacity
|
|
5
|
+
* The quota capacity. Unit: GB.
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* 100
|
|
@@ -10,7 +10,7 @@ export declare class SetPolarFsFileQuotaRequestFilePathQuotas extends $dara.Mode
|
|
|
10
10
|
capacity?: number;
|
|
11
11
|
/**
|
|
12
12
|
* @remarks
|
|
13
|
-
* The
|
|
13
|
+
* The directory path.
|
|
14
14
|
*
|
|
15
15
|
* @example
|
|
16
16
|
* /a/project
|
|
@@ -18,7 +18,7 @@ export declare class SetPolarFsFileQuotaRequestFilePathQuotas extends $dara.Mode
|
|
|
18
18
|
filePathId?: string;
|
|
19
19
|
/**
|
|
20
20
|
* @remarks
|
|
21
|
-
* The
|
|
21
|
+
* The quota inodes.
|
|
22
22
|
*
|
|
23
23
|
* @example
|
|
24
24
|
* 100
|
|
@@ -26,7 +26,7 @@ export declare class SetPolarFsFileQuotaRequestFilePathQuotas extends $dara.Mode
|
|
|
26
26
|
inodes?: number;
|
|
27
27
|
/**
|
|
28
28
|
* @remarks
|
|
29
|
-
* The
|
|
29
|
+
* The number of subdirectory levels to traverse under `FilePathId`. A value of 1 indicates that only the first-level subdirectories are traversed. A value of 0 indicates that all levels are traversed to the deepest level.
|
|
30
30
|
*
|
|
31
31
|
* @example
|
|
32
32
|
* 1
|
|
@@ -34,7 +34,7 @@ export declare class SetPolarFsFileQuotaRequestFilePathQuotas extends $dara.Mode
|
|
|
34
34
|
maxDepth?: number;
|
|
35
35
|
/**
|
|
36
36
|
* @remarks
|
|
37
|
-
*
|
|
37
|
+
* The IDs of the rules to apply, separated by commas (,).
|
|
38
38
|
*
|
|
39
39
|
* @example
|
|
40
40
|
* 1,2
|
|
@@ -42,11 +42,10 @@ export declare class SetPolarFsFileQuotaRequestFilePathQuotas extends $dara.Mode
|
|
|
42
42
|
quotaIds?: string;
|
|
43
43
|
/**
|
|
44
44
|
* @remarks
|
|
45
|
-
*
|
|
45
|
+
* The mode in which rules take effect on existing files. Valid values:
|
|
46
46
|
*
|
|
47
|
-
* - **missing**:
|
|
48
|
-
*
|
|
49
|
-
* - **all**: Applies the rule to all files.
|
|
47
|
+
* - **missing**: Rules take effect only when they are missing. This is the default value.
|
|
48
|
+
* - **all**: Rules take effect on all files.
|
|
50
49
|
*
|
|
51
50
|
* @example
|
|
52
51
|
* missing
|
|
@@ -74,14 +73,14 @@ export declare class SetPolarFsFileQuotaRequest extends $dara.Model {
|
|
|
74
73
|
DBClusterId?: string;
|
|
75
74
|
/**
|
|
76
75
|
* @remarks
|
|
77
|
-
*
|
|
76
|
+
* The details of the quota rules to apply to directories.
|
|
78
77
|
*
|
|
79
78
|
* This parameter is required.
|
|
80
79
|
*/
|
|
81
80
|
filePathQuotas?: SetPolarFsFileQuotaRequestFilePathQuotas[];
|
|
82
81
|
/**
|
|
83
82
|
* @remarks
|
|
84
|
-
* The
|
|
83
|
+
* The Polarlakebase instance ID.
|
|
85
84
|
*
|
|
86
85
|
* This parameter is required.
|
|
87
86
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SetPolarFsFileQuotaRequest.js","sourceRoot":"","sources":["../../src/models/SetPolarFsFileQuotaRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,wCAAyC,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"SetPolarFsFileQuotaRequest.js","sourceRoot":"","sources":["../../src/models/SetPolarFsFileQuotaRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,wCAAyC,SAAQ,KAAK,CAAC,KAAK;IAoDvE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,QAAQ,EAAE,UAAU;YACpB,UAAU,EAAE,YAAY;YACxB,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAAE,UAAU;YACpB,QAAQ,EAAE,UAAU;YACpB,QAAQ,EAAE,UAAU;SACrB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,QAAQ,EAAE,QAAQ;YAClB,UAAU,EAAE,QAAQ;YACpB,MAAM,EAAE,QAAQ;YAChB,QAAQ,EAAE,QAAQ;YAClB,QAAQ,EAAE,QAAQ;YAClB,QAAQ,EAAE,QAAQ;SACnB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAjFD,4FAiFC;AAED,MAAa,0BAA2B,SAAQ,KAAK,CAAC,KAAK;IA0BzD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,aAAa;YAC1B,cAAc,EAAE,gBAAgB;YAChC,iBAAiB,EAAE,mBAAmB;SACvC,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,QAAQ;YACrB,cAAc,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAE,wCAAwC,EAAE;YACzF,iBAAiB,EAAE,QAAQ;SAC5B,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,cAAc,CAAC,EAAE,CAAC;YACtC,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;QACjD,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AApDD,gEAoDC"}
|
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class SetPolarFsFileQuotaResponseBody extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The
|
|
5
|
+
* The Polarlakebase instance ID.
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* pfs-2ze0i74ka607*****
|
|
@@ -10,7 +10,7 @@ export declare class SetPolarFsFileQuotaResponseBody extends $dara.Model {
|
|
|
10
10
|
polarFsInstanceId?: string;
|
|
11
11
|
/**
|
|
12
12
|
* @remarks
|
|
13
|
-
*
|
|
13
|
+
* Id of the request
|
|
14
14
|
*
|
|
15
15
|
* @example
|
|
16
16
|
* 925B84D9-CA72-432C-95CF-738C22******
|
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -66,6 +66,7 @@ export default class Client extends OpenApi {
|
|
|
66
66
|
'cn-hongkong': "polardb.cn-hongkong.aliyuncs.com",
|
|
67
67
|
'cn-guangzhou': "polardb.cn-guangzhou.aliyuncs.com",
|
|
68
68
|
'cn-chengdu': "polardb.cn-chengdu.aliyuncs.com",
|
|
69
|
+
'ap-southeast-8': "polardb.ap-southeast-8.aliyuncs.com",
|
|
69
70
|
'ap-southeast-7': "polardb.ap-southeast-7.aliyuncs.com",
|
|
70
71
|
'ap-southeast-6': "polardb.ap-southeast-6.aliyuncs.com",
|
|
71
72
|
'ap-southeast-5': "polardb.ap-southeast-5.aliyuncs.com",
|
|
@@ -18570,7 +18571,7 @@ export default class Client extends OpenApi {
|
|
|
18570
18571
|
}
|
|
18571
18572
|
|
|
18572
18573
|
/**
|
|
18573
|
-
*
|
|
18574
|
+
* Queries the quota list.
|
|
18574
18575
|
*
|
|
18575
18576
|
* @param request - DescribePolarFsQuotaListRequest
|
|
18576
18577
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -18621,7 +18622,7 @@ export default class Client extends OpenApi {
|
|
|
18621
18622
|
}
|
|
18622
18623
|
|
|
18623
18624
|
/**
|
|
18624
|
-
*
|
|
18625
|
+
* Queries the quota list.
|
|
18625
18626
|
*
|
|
18626
18627
|
* @param request - DescribePolarFsQuotaListRequest
|
|
18627
18628
|
* @returns DescribePolarFsQuotaListResponse
|
|
@@ -29088,14 +29089,14 @@ export default class Client extends OpenApi {
|
|
|
29088
29089
|
}
|
|
29089
29090
|
|
|
29090
29091
|
/**
|
|
29091
|
-
* Sets file quota rules for
|
|
29092
|
+
* Sets file quota rules for a specified directory in a Polarlakebase instance.
|
|
29092
29093
|
*
|
|
29093
29094
|
* @remarks
|
|
29094
|
-
* ## Request
|
|
29095
|
-
* This operation sets file quota rules for specific
|
|
29095
|
+
* ## Request description
|
|
29096
|
+
* This operation sets file quota rules for a specific directory in a Polarlakebase instance. By configuring the `FilePathQuotas` parameter, you can specify the directories to which quota rules are applied and their related attributes. When you use `FilePathId` to specify a directory, ensure that the path is an absolute path from the root directory rather than a mount point path. You can also use the `Strategy` parameter to control how rules take effect on existing files. By default, rules take effect only when they are missing.
|
|
29096
29097
|
* ### Notes
|
|
29097
|
-
* - The `FilePathQuotas` list
|
|
29098
|
-
* - To apply
|
|
29098
|
+
* - The maximum length of the `FilePathQuotas` list is 21.
|
|
29099
|
+
* - To apply rules to multiple levels of subdirectories under `FilePathId`, set the `MaxDepth` parameter. To traverse to the deepest level, set this value to 0.
|
|
29099
29100
|
*
|
|
29100
29101
|
* @param request - SetPolarFsFileQuotaRequest
|
|
29101
29102
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -29134,14 +29135,14 @@ export default class Client extends OpenApi {
|
|
|
29134
29135
|
}
|
|
29135
29136
|
|
|
29136
29137
|
/**
|
|
29137
|
-
* Sets file quota rules for
|
|
29138
|
+
* Sets file quota rules for a specified directory in a Polarlakebase instance.
|
|
29138
29139
|
*
|
|
29139
29140
|
* @remarks
|
|
29140
|
-
* ## Request
|
|
29141
|
-
* This operation sets file quota rules for specific
|
|
29141
|
+
* ## Request description
|
|
29142
|
+
* This operation sets file quota rules for a specific directory in a Polarlakebase instance. By configuring the `FilePathQuotas` parameter, you can specify the directories to which quota rules are applied and their related attributes. When you use `FilePathId` to specify a directory, ensure that the path is an absolute path from the root directory rather than a mount point path. You can also use the `Strategy` parameter to control how rules take effect on existing files. By default, rules take effect only when they are missing.
|
|
29142
29143
|
* ### Notes
|
|
29143
|
-
* - The `FilePathQuotas` list
|
|
29144
|
-
* - To apply
|
|
29144
|
+
* - The maximum length of the `FilePathQuotas` list is 21.
|
|
29145
|
+
* - To apply rules to multiple levels of subdirectories under `FilePathId`, set the `MaxDepth` parameter. To traverse to the deepest level, set this value to 0.
|
|
29145
29146
|
*
|
|
29146
29147
|
* @param request - SetPolarFsFileQuotaRequest
|
|
29147
29148
|
* @returns SetPolarFsFileQuotaResponse
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class CreateGwConsumerOrderRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The
|
|
8
|
+
* The idempotency token.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* 6000170000591aed949d0f54a343f1a42***********
|
|
@@ -13,9 +13,7 @@ export class CreateGwConsumerOrderRequest extends $dara.Model {
|
|
|
13
13
|
clientToken?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The expiration time of the API key in ISO
|
|
17
|
-
*
|
|
18
|
-
* This parameter is required.
|
|
16
|
+
* The expiration time of the API key in ISO-8601 format. The value must be later than the current time.
|
|
19
17
|
*
|
|
20
18
|
* @example
|
|
21
19
|
* 2027-07-23T03:09:08Z
|
|
@@ -33,7 +31,7 @@ export class CreateGwConsumerOrderRequest extends $dara.Model {
|
|
|
33
31
|
gatewayId?: string;
|
|
34
32
|
/**
|
|
35
33
|
* @remarks
|
|
36
|
-
* The number of API keys to generate
|
|
34
|
+
* The number of API keys to generate (the number of capacity plans to order). Valid values: 1 to 30.
|
|
37
35
|
*
|
|
38
36
|
* This parameter is required.
|
|
39
37
|
*
|
|
@@ -43,16 +41,12 @@ export class CreateGwConsumerOrderRequest extends $dara.Model {
|
|
|
43
41
|
keyCount?: number;
|
|
44
42
|
/**
|
|
45
43
|
* @remarks
|
|
46
|
-
* The
|
|
47
|
-
*
|
|
48
|
-
* - basic: 3000 points per plan.
|
|
49
|
-
* - advanced: 6000 points per plan.
|
|
50
|
-
* - pro: 9000 points per plan.
|
|
44
|
+
* The number of credits per API key. The value is a positive integer string.
|
|
51
45
|
*
|
|
52
46
|
* This parameter is required.
|
|
53
47
|
*
|
|
54
48
|
* @example
|
|
55
|
-
*
|
|
49
|
+
* 3000
|
|
56
50
|
*/
|
|
57
51
|
packageSpec?: string;
|
|
58
52
|
/**
|
|
@@ -5,25 +5,33 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class DescribePolarFsQuotaListRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The
|
|
8
|
+
* The instance ID of the PolarDB instance on which the application depends.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* pc-************
|
|
12
12
|
*/
|
|
13
13
|
DBClusterId?: string;
|
|
14
14
|
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The page number.
|
|
17
|
+
*
|
|
15
18
|
* @example
|
|
16
19
|
* 1
|
|
17
20
|
*/
|
|
18
21
|
pageNumber?: number;
|
|
19
22
|
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* The number of entries per page. Valid values: 30, 50, and 100.
|
|
25
|
+
*
|
|
26
|
+
* Default value: 30.
|
|
27
|
+
*
|
|
20
28
|
* @example
|
|
21
29
|
* 30
|
|
22
30
|
*/
|
|
23
31
|
pageSize?: number;
|
|
24
32
|
/**
|
|
25
33
|
* @remarks
|
|
26
|
-
* The
|
|
34
|
+
* The PolarFs instance ID.
|
|
27
35
|
*
|
|
28
36
|
* This parameter is required.
|
|
29
37
|
*
|
|
@@ -33,7 +41,10 @@ export class DescribePolarFsQuotaListRequest extends $dara.Model {
|
|
|
33
41
|
polarFsInstanceId?: string;
|
|
34
42
|
/**
|
|
35
43
|
* @remarks
|
|
36
|
-
* The
|
|
44
|
+
* The query mode. Valid values:
|
|
45
|
+
*
|
|
46
|
+
* - **quotaPolicy**: quota rule
|
|
47
|
+
* - **quota**: quota
|
|
37
48
|
*
|
|
38
49
|
* @example
|
|
39
50
|
* quotaPolicy
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class DescribePolarFsQuotaListResponseBodyQuotaItems extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The capacity
|
|
8
|
+
* The capacity.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* 1073741824
|
|
@@ -13,7 +13,7 @@ export class DescribePolarFsQuotaListResponseBodyQuotaItems extends $dara.Model
|
|
|
13
13
|
capacity?: number;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
*
|
|
16
|
+
* Inodes
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* 100
|
|
@@ -29,7 +29,7 @@ export class DescribePolarFsQuotaListResponseBodyQuotaItems extends $dara.Model
|
|
|
29
29
|
path?: string;
|
|
30
30
|
/**
|
|
31
31
|
* @remarks
|
|
32
|
-
* The used capacity
|
|
32
|
+
* The used capacity.
|
|
33
33
|
*
|
|
34
34
|
* @example
|
|
35
35
|
* 104857600
|
|
@@ -37,7 +37,7 @@ export class DescribePolarFsQuotaListResponseBodyQuotaItems extends $dara.Model
|
|
|
37
37
|
usedCapacity?: number;
|
|
38
38
|
/**
|
|
39
39
|
* @remarks
|
|
40
|
-
* The number of inodes
|
|
40
|
+
* The number of used inodes.
|
|
41
41
|
*
|
|
42
42
|
* @example
|
|
43
43
|
* 1
|
|
@@ -75,7 +75,7 @@ export class DescribePolarFsQuotaListResponseBodyQuotaItems extends $dara.Model
|
|
|
75
75
|
export class DescribePolarFsQuotaListResponseBody extends $dara.Model {
|
|
76
76
|
/**
|
|
77
77
|
* @remarks
|
|
78
|
-
* The page number.
|
|
78
|
+
* The current page number.
|
|
79
79
|
*
|
|
80
80
|
* @example
|
|
81
81
|
* 1
|
|
@@ -91,8 +91,8 @@ export class DescribePolarFsQuotaListResponseBody extends $dara.Model {
|
|
|
91
91
|
pageRecordCount?: string;
|
|
92
92
|
/**
|
|
93
93
|
* @remarks
|
|
94
|
-
* The number of
|
|
95
|
-
*
|
|
94
|
+
* The number of entries per page. Valid values: **30**, **50**, and **100**.
|
|
95
|
+
*
|
|
96
96
|
* Default value: **30**.
|
|
97
97
|
*
|
|
98
98
|
* @example
|
|
@@ -101,7 +101,7 @@ export class DescribePolarFsQuotaListResponseBody extends $dara.Model {
|
|
|
101
101
|
pageSize?: string;
|
|
102
102
|
/**
|
|
103
103
|
* @remarks
|
|
104
|
-
* The
|
|
104
|
+
* The PolarFs instance ID.
|
|
105
105
|
*
|
|
106
106
|
* @example
|
|
107
107
|
* pfs-test****
|
|
@@ -109,12 +109,12 @@ export class DescribePolarFsQuotaListResponseBody extends $dara.Model {
|
|
|
109
109
|
polarFsInstanceId?: string;
|
|
110
110
|
/**
|
|
111
111
|
* @remarks
|
|
112
|
-
*
|
|
112
|
+
* The directory quotas.
|
|
113
113
|
*/
|
|
114
114
|
quotaItems?: DescribePolarFsQuotaListResponseBodyQuotaItems[];
|
|
115
115
|
/**
|
|
116
116
|
* @remarks
|
|
117
|
-
*
|
|
117
|
+
* Id of the request
|
|
118
118
|
*
|
|
119
119
|
* @example
|
|
120
120
|
* EBEAA83D-1734-42E3-85E3-E25F6E******
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class SetPolarFsFileQuotaRequestFilePathQuotas extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The capacity
|
|
8
|
+
* The quota capacity. Unit: GB.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* 100
|
|
@@ -13,7 +13,7 @@ export class SetPolarFsFileQuotaRequestFilePathQuotas extends $dara.Model {
|
|
|
13
13
|
capacity?: number;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The
|
|
16
|
+
* The directory path.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* /a/project
|
|
@@ -21,7 +21,7 @@ export class SetPolarFsFileQuotaRequestFilePathQuotas extends $dara.Model {
|
|
|
21
21
|
filePathId?: string;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
* The
|
|
24
|
+
* The quota inodes.
|
|
25
25
|
*
|
|
26
26
|
* @example
|
|
27
27
|
* 100
|
|
@@ -29,7 +29,7 @@ export class SetPolarFsFileQuotaRequestFilePathQuotas extends $dara.Model {
|
|
|
29
29
|
inodes?: number;
|
|
30
30
|
/**
|
|
31
31
|
* @remarks
|
|
32
|
-
* The
|
|
32
|
+
* The number of subdirectory levels to traverse under `FilePathId`. A value of 1 indicates that only the first-level subdirectories are traversed. A value of 0 indicates that all levels are traversed to the deepest level.
|
|
33
33
|
*
|
|
34
34
|
* @example
|
|
35
35
|
* 1
|
|
@@ -37,7 +37,7 @@ export class SetPolarFsFileQuotaRequestFilePathQuotas extends $dara.Model {
|
|
|
37
37
|
maxDepth?: number;
|
|
38
38
|
/**
|
|
39
39
|
* @remarks
|
|
40
|
-
*
|
|
40
|
+
* The IDs of the rules to apply, separated by commas (,).
|
|
41
41
|
*
|
|
42
42
|
* @example
|
|
43
43
|
* 1,2
|
|
@@ -45,11 +45,10 @@ export class SetPolarFsFileQuotaRequestFilePathQuotas extends $dara.Model {
|
|
|
45
45
|
quotaIds?: string;
|
|
46
46
|
/**
|
|
47
47
|
* @remarks
|
|
48
|
-
*
|
|
48
|
+
* The mode in which rules take effect on existing files. Valid values:
|
|
49
49
|
*
|
|
50
|
-
* - **missing**:
|
|
51
|
-
*
|
|
52
|
-
* - **all**: Applies the rule to all files.
|
|
50
|
+
* - **missing**: Rules take effect only when they are missing. This is the default value.
|
|
51
|
+
* - **all**: Rules take effect on all files.
|
|
53
52
|
*
|
|
54
53
|
* @example
|
|
55
54
|
* missing
|
|
@@ -97,14 +96,14 @@ export class SetPolarFsFileQuotaRequest extends $dara.Model {
|
|
|
97
96
|
DBClusterId?: string;
|
|
98
97
|
/**
|
|
99
98
|
* @remarks
|
|
100
|
-
*
|
|
99
|
+
* The details of the quota rules to apply to directories.
|
|
101
100
|
*
|
|
102
101
|
* This parameter is required.
|
|
103
102
|
*/
|
|
104
103
|
filePathQuotas?: SetPolarFsFileQuotaRequestFilePathQuotas[];
|
|
105
104
|
/**
|
|
106
105
|
* @remarks
|
|
107
|
-
* The
|
|
106
|
+
* The Polarlakebase instance ID.
|
|
108
107
|
*
|
|
109
108
|
* This parameter is required.
|
|
110
109
|
*
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class SetPolarFsFileQuotaResponseBody extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
* The
|
|
8
|
+
* The Polarlakebase instance ID.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* pfs-2ze0i74ka607*****
|
|
@@ -13,7 +13,7 @@ export class SetPolarFsFileQuotaResponseBody extends $dara.Model {
|
|
|
13
13
|
polarFsInstanceId?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
*
|
|
16
|
+
* Id of the request
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* 925B84D9-CA72-432C-95CF-738C22******
|