@alicloud/polardb20170801 7.11.3 → 7.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (105) hide show
  1. package/dist/client.d.ts +120 -0
  2. package/dist/client.js +441 -0
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateLakebaseS3accountRequest.d.ts +65 -0
  5. package/dist/models/CreateLakebaseS3accountRequest.js +66 -0
  6. package/dist/models/CreateLakebaseS3accountRequest.js.map +1 -0
  7. package/dist/models/CreateLakebaseS3accountResponse.d.ts +19 -0
  8. package/dist/models/CreateLakebaseS3accountResponse.js +69 -0
  9. package/dist/models/CreateLakebaseS3accountResponse.js.map +1 -0
  10. package/dist/models/CreateLakebaseS3accountResponseBody.d.ts +21 -0
  11. package/dist/models/CreateLakebaseS3accountResponseBody.js +58 -0
  12. package/dist/models/CreateLakebaseS3accountResponseBody.js.map +1 -0
  13. package/dist/models/CreatePolarFsRequest.d.ts +277 -0
  14. package/dist/models/CreatePolarFsRequest.js +128 -0
  15. package/dist/models/CreatePolarFsRequest.js.map +1 -0
  16. package/dist/models/CreatePolarFsResponse.d.ts +19 -0
  17. package/dist/models/CreatePolarFsResponse.js +69 -0
  18. package/dist/models/CreatePolarFsResponse.js.map +1 -0
  19. package/dist/models/CreatePolarFsResponseBody.d.ts +53 -0
  20. package/dist/models/CreatePolarFsResponseBody.js +66 -0
  21. package/dist/models/CreatePolarFsResponseBody.js.map +1 -0
  22. package/dist/models/DeleteLakebaseS3accountRequest.d.ts +46 -0
  23. package/dist/models/DeleteLakebaseS3accountRequest.js +62 -0
  24. package/dist/models/DeleteLakebaseS3accountRequest.js.map +1 -0
  25. package/dist/models/DeleteLakebaseS3accountResponse.d.ts +19 -0
  26. package/dist/models/DeleteLakebaseS3accountResponse.js +69 -0
  27. package/dist/models/DeleteLakebaseS3accountResponse.js.map +1 -0
  28. package/dist/models/DeleteLakebaseS3accountResponseBody.d.ts +21 -0
  29. package/dist/models/DeleteLakebaseS3accountResponseBody.js +58 -0
  30. package/dist/models/DeleteLakebaseS3accountResponseBody.js.map +1 -0
  31. package/dist/models/DeletePolarFsRequest.d.ts +32 -0
  32. package/dist/models/DeletePolarFsRequest.js +60 -0
  33. package/dist/models/DeletePolarFsRequest.js.map +1 -0
  34. package/dist/models/DeletePolarFsResponse.d.ts +19 -0
  35. package/dist/models/DeletePolarFsResponse.js +69 -0
  36. package/dist/models/DeletePolarFsResponse.js.map +1 -0
  37. package/dist/models/DeletePolarFsResponseBody.d.ts +21 -0
  38. package/dist/models/DeletePolarFsResponseBody.js +58 -0
  39. package/dist/models/DeletePolarFsResponseBody.js.map +1 -0
  40. package/dist/models/DescribeLakebaseS3accountRequest.d.ts +47 -0
  41. package/dist/models/DescribeLakebaseS3accountRequest.js +62 -0
  42. package/dist/models/DescribeLakebaseS3accountRequest.js.map +1 -0
  43. package/dist/models/DescribeLakebaseS3accountResponse.d.ts +19 -0
  44. package/dist/models/DescribeLakebaseS3accountResponse.js +69 -0
  45. package/dist/models/DescribeLakebaseS3accountResponse.js.map +1 -0
  46. package/dist/models/DescribeLakebaseS3accountResponseBody.d.ts +45 -0
  47. package/dist/models/DescribeLakebaseS3accountResponseBody.js +64 -0
  48. package/dist/models/DescribeLakebaseS3accountResponseBody.js.map +1 -0
  49. package/dist/models/DescribePolarFsMappingRequest.d.ts +53 -0
  50. package/dist/models/DescribePolarFsMappingRequest.js +64 -0
  51. package/dist/models/DescribePolarFsMappingRequest.js.map +1 -0
  52. package/dist/models/DescribePolarFsMappingResponse.d.ts +19 -0
  53. package/dist/models/DescribePolarFsMappingResponse.js +69 -0
  54. package/dist/models/DescribePolarFsMappingResponse.js.map +1 -0
  55. package/dist/models/DescribePolarFsMappingResponseBody.d.ts +108 -0
  56. package/dist/models/DescribePolarFsMappingResponseBody.js +96 -0
  57. package/dist/models/DescribePolarFsMappingResponseBody.js.map +1 -0
  58. package/dist/models/ListLakebaseS3accountsRequest.d.ts +48 -0
  59. package/dist/models/ListLakebaseS3accountsRequest.js +64 -0
  60. package/dist/models/ListLakebaseS3accountsRequest.js.map +1 -0
  61. package/dist/models/ListLakebaseS3accountsResponse.d.ts +19 -0
  62. package/dist/models/ListLakebaseS3accountsResponse.js +69 -0
  63. package/dist/models/ListLakebaseS3accountsResponse.js.map +1 -0
  64. package/dist/models/ListLakebaseS3accountsResponseBody.d.ts +88 -0
  65. package/dist/models/ListLakebaseS3accountsResponseBody.js +92 -0
  66. package/dist/models/ListLakebaseS3accountsResponseBody.js.map +1 -0
  67. package/dist/models/ModifyPolarFsMappingAuthRequest.d.ts +72 -0
  68. package/dist/models/ModifyPolarFsMappingAuthRequest.js +68 -0
  69. package/dist/models/ModifyPolarFsMappingAuthRequest.js.map +1 -0
  70. package/dist/models/ModifyPolarFsMappingAuthResponse.d.ts +19 -0
  71. package/dist/models/ModifyPolarFsMappingAuthResponse.js +69 -0
  72. package/dist/models/ModifyPolarFsMappingAuthResponse.js.map +1 -0
  73. package/dist/models/ModifyPolarFsMappingAuthResponseBody.d.ts +21 -0
  74. package/dist/models/ModifyPolarFsMappingAuthResponseBody.js +58 -0
  75. package/dist/models/ModifyPolarFsMappingAuthResponseBody.js.map +1 -0
  76. package/dist/models/model.d.ts +27 -0
  77. package/dist/models/model.js +90 -35
  78. package/dist/models/model.js.map +1 -1
  79. package/package.json +1 -1
  80. package/src/client.ts +508 -0
  81. package/src/models/CreateLakebaseS3accountRequest.ts +86 -0
  82. package/src/models/CreateLakebaseS3accountResponse.ts +40 -0
  83. package/src/models/CreateLakebaseS3accountResponseBody.ts +34 -0
  84. package/src/models/CreatePolarFsRequest.ts +351 -0
  85. package/src/models/CreatePolarFsResponse.ts +40 -0
  86. package/src/models/CreatePolarFsResponseBody.ts +74 -0
  87. package/src/models/DeleteLakebaseS3accountRequest.ts +63 -0
  88. package/src/models/DeleteLakebaseS3accountResponse.ts +40 -0
  89. package/src/models/DeleteLakebaseS3accountResponseBody.ts +34 -0
  90. package/src/models/DeletePolarFsRequest.ts +47 -0
  91. package/src/models/DeletePolarFsResponse.ts +40 -0
  92. package/src/models/DeletePolarFsResponseBody.ts +34 -0
  93. package/src/models/DescribeLakebaseS3accountRequest.ts +64 -0
  94. package/src/models/DescribeLakebaseS3accountResponse.ts +40 -0
  95. package/src/models/DescribeLakebaseS3accountResponseBody.ts +64 -0
  96. package/src/models/DescribePolarFsMappingRequest.ts +72 -0
  97. package/src/models/DescribePolarFsMappingResponse.ts +40 -0
  98. package/src/models/DescribePolarFsMappingResponseBody.ts +150 -0
  99. package/src/models/ListLakebaseS3accountsRequest.ts +67 -0
  100. package/src/models/ListLakebaseS3accountsResponse.ts +40 -0
  101. package/src/models/ListLakebaseS3accountsResponseBody.ts +126 -0
  102. package/src/models/ModifyPolarFsMappingAuthRequest.ts +95 -0
  103. package/src/models/ModifyPolarFsMappingAuthResponse.ts +40 -0
  104. package/src/models/ModifyPolarFsMappingAuthResponseBody.ts +34 -0
  105. package/src/models/model.ts +27 -0
@@ -0,0 +1,65 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class CreateLakebaseS3AccountRequest extends $dara.Model {
3
+ /**
4
+ * @remarks
5
+ * The PolarFS instance ID.
6
+ *
7
+ * This parameter is required.
8
+ *
9
+ * @example
10
+ * pfs-xxx
11
+ */
12
+ pfsInstanceId?: string;
13
+ /**
14
+ * @remarks
15
+ * The region ID.
16
+ *
17
+ * This parameter is required.
18
+ *
19
+ * @example
20
+ * cn-beijing
21
+ */
22
+ regionId?: string;
23
+ /**
24
+ * @remarks
25
+ * The Access Key of the S3 account.
26
+ *
27
+ * > The account name can contain only uppercase letters, lowercase letters, and digits, and cannot exceed 32 characters in length.
28
+ *
29
+ * This parameter is required.
30
+ *
31
+ * @example
32
+ * accname
33
+ */
34
+ userAccAk?: string;
35
+ /**
36
+ * @remarks
37
+ * A policy document in JSON format that defines the permissions of the S3 account. If this parameter is not specified, the default policy is used.
38
+ *
39
+ * @example
40
+ * {"Version":"2012-10-17","Statement":[{"Effect":"Allow","Action":["s3:*"],"Resource":["*"]}]}
41
+ */
42
+ userAccPolicy?: string;
43
+ /**
44
+ * @remarks
45
+ * The Secret Key of the S3 account (@sensitive, encryption in transit).
46
+ *
47
+ * > The key must contain uppercase letters, lowercase letters, and digits, and must be greater than 18 and no more than 32 characters in length.
48
+ *
49
+ * This parameter is required.
50
+ *
51
+ * @example
52
+ * password***
53
+ */
54
+ userAccSk?: string;
55
+ static names(): {
56
+ [key: string]: string;
57
+ };
58
+ static types(): {
59
+ [key: string]: any;
60
+ };
61
+ validate(): void;
62
+ constructor(map?: {
63
+ [key: string]: any;
64
+ });
65
+ }
@@ -0,0 +1,66 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.CreateLakebaseS3AccountRequest = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class CreateLakebaseS3AccountRequest extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ pfsInstanceId: 'PfsInstanceId',
43
+ regionId: 'RegionId',
44
+ userAccAk: 'UserAccAk',
45
+ userAccPolicy: 'UserAccPolicy',
46
+ userAccSk: 'UserAccSk',
47
+ };
48
+ }
49
+ static types() {
50
+ return {
51
+ pfsInstanceId: 'string',
52
+ regionId: 'string',
53
+ userAccAk: 'string',
54
+ userAccPolicy: 'string',
55
+ userAccSk: 'string',
56
+ };
57
+ }
58
+ validate() {
59
+ super.validate();
60
+ }
61
+ constructor(map) {
62
+ super(map);
63
+ }
64
+ }
65
+ exports.CreateLakebaseS3AccountRequest = CreateLakebaseS3AccountRequest;
66
+ //# sourceMappingURL=CreateLakebaseS3accountRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateLakebaseS3accountRequest.js","sourceRoot":"","sources":["../../src/models/CreateLakebaseS3accountRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,8BAA+B,SAAQ,KAAK,CAAC,KAAK;IAqD7D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,aAAa,EAAE,eAAe;YAC9B,QAAQ,EAAE,UAAU;YACpB,SAAS,EAAE,WAAW;YACtB,aAAa,EAAE,eAAe;YAC9B,SAAS,EAAE,WAAW;SACvB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,aAAa,EAAE,QAAQ;YACvB,QAAQ,EAAE,QAAQ;YAClB,SAAS,EAAE,QAAQ;YACnB,aAAa,EAAE,QAAQ;YACvB,SAAS,EAAE,QAAQ;SACpB,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;AAhFD,wEAgFC"}
@@ -0,0 +1,19 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ import { CreateLakebaseS3AccountResponseBody } from "./CreateLakebaseS3accountResponseBody";
3
+ export declare class CreateLakebaseS3AccountResponse extends $dara.Model {
4
+ headers?: {
5
+ [key: string]: string;
6
+ };
7
+ statusCode?: number;
8
+ body?: CreateLakebaseS3AccountResponseBody;
9
+ static names(): {
10
+ [key: string]: string;
11
+ };
12
+ static types(): {
13
+ [key: string]: any;
14
+ };
15
+ validate(): void;
16
+ constructor(map?: {
17
+ [key: string]: any;
18
+ });
19
+ }
@@ -0,0 +1,69 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.CreateLakebaseS3AccountResponse = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ const CreateLakebaseS3accountResponseBody_1 = require("./CreateLakebaseS3accountResponseBody");
40
+ class CreateLakebaseS3AccountResponse extends $dara.Model {
41
+ static names() {
42
+ return {
43
+ headers: 'headers',
44
+ statusCode: 'statusCode',
45
+ body: 'body',
46
+ };
47
+ }
48
+ static types() {
49
+ return {
50
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
51
+ statusCode: 'number',
52
+ body: CreateLakebaseS3accountResponseBody_1.CreateLakebaseS3AccountResponseBody,
53
+ };
54
+ }
55
+ validate() {
56
+ if (this.headers) {
57
+ $dara.Model.validateMap(this.headers);
58
+ }
59
+ if (this.body && typeof this.body.validate === 'function') {
60
+ this.body.validate();
61
+ }
62
+ super.validate();
63
+ }
64
+ constructor(map) {
65
+ super(map);
66
+ }
67
+ }
68
+ exports.CreateLakebaseS3AccountResponse = CreateLakebaseS3AccountResponse;
69
+ //# sourceMappingURL=CreateLakebaseS3accountResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateLakebaseS3accountResponse.js","sourceRoot":"","sources":["../../src/models/CreateLakebaseS3accountResponse.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,+FAA4F;AAG5F,MAAa,+BAAgC,SAAQ,KAAK,CAAC,KAAK;IAI9D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,SAAS;YAClB,UAAU,EAAE,YAAY;YACxB,IAAI,EAAE,MAAM;SACb,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,EAAE,MAAM,EAAE,KAAK,EAAE,SAAS,EAAE,QAAQ,EAAE,WAAW,EAAE,QAAQ,EAAE;YACtE,UAAU,EAAE,QAAQ;YACpB,IAAI,EAAE,yEAAmC;SAC1C,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,OAAO,EAAE,CAAC;YAChB,KAAK,CAAC,KAAK,CAAC,WAAW,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QACxC,CAAC;QACD,IAAG,IAAI,CAAC,IAAI,IAAI,OAAQ,IAAI,CAAC,IAAY,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACjE,IAAI,CAAC,IAAY,CAAC,QAAQ,EAAE,CAAC;QAChC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAjCD,0EAiCC"}
@@ -0,0 +1,21 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class CreateLakebaseS3AccountResponseBody extends $dara.Model {
3
+ /**
4
+ * @remarks
5
+ * The request ID.
6
+ *
7
+ * @example
8
+ * 24A1990B-4F6E-482B-B8CB-75C612******
9
+ */
10
+ requestId?: string;
11
+ static names(): {
12
+ [key: string]: string;
13
+ };
14
+ static types(): {
15
+ [key: string]: any;
16
+ };
17
+ validate(): void;
18
+ constructor(map?: {
19
+ [key: string]: any;
20
+ });
21
+ }
@@ -0,0 +1,58 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.CreateLakebaseS3AccountResponseBody = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class CreateLakebaseS3AccountResponseBody extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ requestId: 'RequestId',
43
+ };
44
+ }
45
+ static types() {
46
+ return {
47
+ requestId: 'string',
48
+ };
49
+ }
50
+ validate() {
51
+ super.validate();
52
+ }
53
+ constructor(map) {
54
+ super(map);
55
+ }
56
+ }
57
+ exports.CreateLakebaseS3AccountResponseBody = CreateLakebaseS3AccountResponseBody;
58
+ //# sourceMappingURL=CreateLakebaseS3accountResponseBody.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateLakebaseS3accountResponseBody.js","sourceRoot":"","sources":["../../src/models/CreateLakebaseS3accountResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,mCAAoC,SAAQ,KAAK,CAAC,KAAK;IASlE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,WAAW;SACvB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,QAAQ;SACpB,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;AA5BD,kFA4BC"}
@@ -0,0 +1,277 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class CreatePolarFsRequestCustomBucketPathList extends $dara.Model {
3
+ /**
4
+ * @remarks
5
+ * The custom storage bucket.
6
+ *
7
+ * @example
8
+ * pfs-xxx.oss-[regionId]-internal.aliyuncs.com
9
+ */
10
+ bucket?: string;
11
+ /**
12
+ * @remarks
13
+ * The custom storage path.
14
+ *
15
+ * @example
16
+ * /data
17
+ */
18
+ path?: string;
19
+ static names(): {
20
+ [key: string]: string;
21
+ };
22
+ static types(): {
23
+ [key: string]: any;
24
+ };
25
+ validate(): void;
26
+ constructor(map?: {
27
+ [key: string]: any;
28
+ });
29
+ }
30
+ export declare class CreatePolarFsRequest extends $dara.Model {
31
+ /**
32
+ * @remarks
33
+ * The acceleration storage space for Basic Edition with acceleration enabled. Unit: GB.
34
+ *
35
+ * @example
36
+ * 500
37
+ */
38
+ accelerateStorageSize?: number;
39
+ /**
40
+ * @remarks
41
+ * The acceleration mode. Valid values:
42
+ *
43
+ * - **ONLY**: enables acceleration only.
44
+ * - **ON**: enables cold data storage and acceleration.
45
+ *
46
+ * @example
47
+ * ONLY
48
+ */
49
+ accelerateSwitch?: string;
50
+ /**
51
+ * @remarks
52
+ * The acceleration type. Valid values:
53
+ *
54
+ * - **juice**: file system acceleration.
55
+ * - **alluxio**: transparent acceleration.
56
+ *
57
+ * @example
58
+ * alluxio
59
+ */
60
+ accelerateType?: string;
61
+ /**
62
+ * @remarks
63
+ * The list of authorized account IDs for Cold Storage Edition instances, separated by commas (,).
64
+ *
65
+ * @example
66
+ * 128***********,198***********
67
+ */
68
+ authorizedUserIds?: string;
69
+ /**
70
+ * @remarks
71
+ * Specifies whether to enable auto-renewal. Valid values:
72
+ *
73
+ * - **true**: Auto-renewal is enabled.
74
+ * - **false**: Auto-renewal is disabled.
75
+ *
76
+ * Default value: **false**.
77
+ *
78
+ * > This parameter takes effect only when **PayType** is set to **Prepaid**.
79
+ *
80
+ * @example
81
+ * true
82
+ */
83
+ autoRenew?: boolean;
84
+ /**
85
+ * @remarks
86
+ * Specifies whether to automatically use coupons. Valid values:
87
+ * - **true**: Coupons are used (default).
88
+ * - **false**: Coupons are not used.
89
+ *
90
+ * @example
91
+ * true
92
+ */
93
+ autoUseCoupon?: boolean;
94
+ /**
95
+ * @remarks
96
+ * The edition. Valid values:
97
+ *
98
+ * - **basic**: Basic Edition (default).
99
+ * - **cold**: Cold Storage Edition.
100
+ * - **high_performance**: High-performance Edition.
101
+ *
102
+ * @example
103
+ * basic
104
+ */
105
+ creationCategory?: string;
106
+ /**
107
+ * @remarks
108
+ * The number of buckets.
109
+ *
110
+ * > This parameter is required only when acceleration (file system acceleration) is enabled.
111
+ *
112
+ * @example
113
+ * 1
114
+ */
115
+ customBucketCount?: number;
116
+ /**
117
+ * @remarks
118
+ * The bucket path.
119
+ *
120
+ * > This parameter is required only when acceleration (file system acceleration) is enabled.
121
+ *
122
+ * @example
123
+ * /test
124
+ */
125
+ customBucketPath?: string;
126
+ /**
127
+ * @remarks
128
+ * The bucket and path information.
129
+ *
130
+ * > This parameter is required for transparent acceleration scenarios.
131
+ */
132
+ customBucketPathList?: CreatePolarFsRequestCustomBucketPathList[];
133
+ /**
134
+ * @remarks
135
+ * The custom AccessKey ID.
136
+ *
137
+ * @example
138
+ * xxx
139
+ */
140
+ customOssAk?: string;
141
+ /**
142
+ * @remarks
143
+ * The custom AccessKey secret.
144
+ *
145
+ * @example
146
+ * xxx
147
+ */
148
+ customOssSk?: string;
149
+ /**
150
+ * @remarks
151
+ * The cluster ID.
152
+ *
153
+ * @example
154
+ * pc-**************
155
+ */
156
+ DBClusterId?: string;
157
+ /**
158
+ * @remarks
159
+ * The database engine. Valid values:
160
+ * - **MySQL**
161
+ * - **PostgreSQL**
162
+ *
163
+ * @example
164
+ * MySQL
165
+ */
166
+ DBType?: string;
167
+ /**
168
+ * @remarks
169
+ * The billing method. Valid values:
170
+ *
171
+ * - **Postpaid**: pay-as-you-go.
172
+ * - **Prepaid**: subscription.
173
+ *
174
+ * @example
175
+ * Postpaid
176
+ */
177
+ payType?: string;
178
+ /**
179
+ * @remarks
180
+ * This parameter is required when **PayType** is set to **Prepaid**. Specifies whether the subscription cluster uses a yearly or monthly billing cycle. You must pass this parameter when the billing method is subscription.
181
+ *
182
+ * - **Year**: The subscription period is measured in years.
183
+ * - **Month**: The subscription period is measured in months.
184
+ *
185
+ * @example
186
+ * Month
187
+ */
188
+ period?: string;
189
+ /**
190
+ * @remarks
191
+ * The coupon code. If this parameter is not specified, the default coupon is used.
192
+ *
193
+ * @example
194
+ * 727xxxxxx934
195
+ */
196
+ promotionCode?: string;
197
+ /**
198
+ * @remarks
199
+ * The region ID.
200
+ * >You can call the [DescribeRegions](https://help.aliyun.com/document_detail/98041.html) operation to query region IDs.
201
+ *
202
+ * This parameter is required.
203
+ *
204
+ * @example
205
+ * cn-beijing
206
+ */
207
+ regionId?: string;
208
+ /**
209
+ * @remarks
210
+ * The storage space. Unit: GB.
211
+ *
212
+ * @example
213
+ * 50
214
+ */
215
+ storageSpace?: number;
216
+ /**
217
+ * @remarks
218
+ * Valid values for high-performance storage type:
219
+ * - **ESSDPL0**
220
+ * - **ESSDPL1**
221
+ *
222
+ * Valid values for Basic Edition storage type:
223
+ * - **city_redundancy (zone-redundant)**
224
+ *
225
+ * Valid values for Cold Storage Edition storage type:
226
+ * - **city_redundancy (zone-redundant)**
227
+ * - **local_redundancy (locally redundant)**
228
+ *
229
+ * @example
230
+ * local_redundancy
231
+ */
232
+ storageType?: string;
233
+ /**
234
+ * @remarks
235
+ * This parameter is required when **PayType** is set to **Prepaid**.
236
+ * - When **Period** is set to **Month**, the valid values of **UsedTime** are integers in the range of `[1-9]`.
237
+ * - When **Period** is set to **Year**, the valid values of **UsedTime** are integers in the range of `[1-3]`.
238
+ *
239
+ * @example
240
+ * 1
241
+ */
242
+ usedTime?: string;
243
+ /**
244
+ * @remarks
245
+ * The VPC ID.
246
+ *
247
+ * @example
248
+ * vpc-*******************
249
+ */
250
+ VPCId?: string;
251
+ /**
252
+ * @remarks
253
+ * The vSwitch ID.
254
+ *
255
+ * @example
256
+ * vsw-*********************
257
+ */
258
+ vSwitchId?: string;
259
+ /**
260
+ * @remarks
261
+ * The zone ID.
262
+ *
263
+ * @example
264
+ * cn-beijing-i
265
+ */
266
+ zoneId?: string;
267
+ static names(): {
268
+ [key: string]: string;
269
+ };
270
+ static types(): {
271
+ [key: string]: any;
272
+ };
273
+ validate(): void;
274
+ constructor(map?: {
275
+ [key: string]: any;
276
+ });
277
+ }