@alicloud/polardb20170801 7.8.0 → 7.9.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 (45) hide show
  1. package/dist/client.d.ts +45 -0
  2. package/dist/client.js +132 -0
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateApplicationAgentRelationRequest.d.ts +43 -0
  5. package/dist/models/CreateApplicationAgentRelationRequest.js +62 -0
  6. package/dist/models/CreateApplicationAgentRelationRequest.js.map +1 -0
  7. package/dist/models/CreateApplicationAgentRelationResponse.d.ts +19 -0
  8. package/dist/models/CreateApplicationAgentRelationResponse.js +69 -0
  9. package/dist/models/CreateApplicationAgentRelationResponse.js.map +1 -0
  10. package/dist/models/CreateApplicationAgentRelationResponseBody.d.ts +29 -0
  11. package/dist/models/CreateApplicationAgentRelationResponseBody.js +60 -0
  12. package/dist/models/CreateApplicationAgentRelationResponseBody.js.map +1 -0
  13. package/dist/models/GetLakebaseTenantTokenRequest.d.ts +49 -0
  14. package/dist/models/GetLakebaseTenantTokenRequest.js +64 -0
  15. package/dist/models/GetLakebaseTenantTokenRequest.js.map +1 -0
  16. package/dist/models/GetLakebaseTenantTokenResponse.d.ts +19 -0
  17. package/dist/models/GetLakebaseTenantTokenResponse.js +69 -0
  18. package/dist/models/GetLakebaseTenantTokenResponse.js.map +1 -0
  19. package/dist/models/GetLakebaseTenantTokenResponseBody.d.ts +61 -0
  20. package/dist/models/GetLakebaseTenantTokenResponseBody.js +68 -0
  21. package/dist/models/GetLakebaseTenantTokenResponseBody.js.map +1 -0
  22. package/dist/models/RestartAidbclusterRequest.d.ts +21 -0
  23. package/dist/models/RestartAidbclusterRequest.js +58 -0
  24. package/dist/models/RestartAidbclusterRequest.js.map +1 -0
  25. package/dist/models/RestartAidbclusterResponse.d.ts +19 -0
  26. package/dist/models/RestartAidbclusterResponse.js +69 -0
  27. package/dist/models/RestartAidbclusterResponse.js.map +1 -0
  28. package/dist/models/RestartAidbclusterResponseBody.d.ts +21 -0
  29. package/dist/models/RestartAidbclusterResponseBody.js +58 -0
  30. package/dist/models/RestartAidbclusterResponseBody.js.map +1 -0
  31. package/dist/models/model.d.ts +9 -0
  32. package/dist/models/model.js +43 -24
  33. package/dist/models/model.js.map +1 -1
  34. package/package.json +1 -1
  35. package/src/client.ts +146 -0
  36. package/src/models/CreateApplicationAgentRelationRequest.ts +60 -0
  37. package/src/models/CreateApplicationAgentRelationResponse.ts +40 -0
  38. package/src/models/CreateApplicationAgentRelationResponseBody.ts +44 -0
  39. package/src/models/GetLakebaseTenantTokenRequest.ts +68 -0
  40. package/src/models/GetLakebaseTenantTokenResponse.ts +40 -0
  41. package/src/models/GetLakebaseTenantTokenResponseBody.ts +84 -0
  42. package/src/models/RestartAidbclusterRequest.ts +34 -0
  43. package/src/models/RestartAidbclusterResponse.ts +40 -0
  44. package/src/models/RestartAidbclusterResponseBody.ts +34 -0
  45. package/src/models/model.ts +9 -0
@@ -0,0 +1,43 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class CreateApplicationAgentRelationRequest extends $dara.Model {
3
+ /**
4
+ * @remarks
5
+ * The instance ID of the Agent to attach.
6
+ *
7
+ * This parameter is required.
8
+ *
9
+ * @example
10
+ * pa-xxx
11
+ */
12
+ agentId?: string;
13
+ /**
14
+ * @remarks
15
+ * The ID of the Squad application.
16
+ *
17
+ * This parameter is required.
18
+ *
19
+ * @example
20
+ * pa-xxx
21
+ */
22
+ applicationId?: string;
23
+ /**
24
+ * @remarks
25
+ * The authentication token.
26
+ *
27
+ * This parameter is required.
28
+ *
29
+ * @example
30
+ * pas_xxx
31
+ */
32
+ token?: string;
33
+ static names(): {
34
+ [key: string]: string;
35
+ };
36
+ static types(): {
37
+ [key: string]: any;
38
+ };
39
+ validate(): void;
40
+ constructor(map?: {
41
+ [key: string]: any;
42
+ });
43
+ }
@@ -0,0 +1,62 @@
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.CreateApplicationAgentRelationRequest = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class CreateApplicationAgentRelationRequest extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ agentId: 'AgentId',
43
+ applicationId: 'ApplicationId',
44
+ token: 'Token',
45
+ };
46
+ }
47
+ static types() {
48
+ return {
49
+ agentId: 'string',
50
+ applicationId: 'string',
51
+ token: 'string',
52
+ };
53
+ }
54
+ validate() {
55
+ super.validate();
56
+ }
57
+ constructor(map) {
58
+ super(map);
59
+ }
60
+ }
61
+ exports.CreateApplicationAgentRelationRequest = CreateApplicationAgentRelationRequest;
62
+ //# sourceMappingURL=CreateApplicationAgentRelationRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateApplicationAgentRelationRequest.js","sourceRoot":"","sources":["../../src/models/CreateApplicationAgentRelationRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,qCAAsC,SAAQ,KAAK,CAAC,KAAK;IA+BpE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,SAAS;YAClB,aAAa,EAAE,eAAe;YAC9B,KAAK,EAAE,OAAO;SACf,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,QAAQ;YACjB,aAAa,EAAE,QAAQ;YACvB,KAAK,EAAE,QAAQ;SAChB,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;AAtDD,sFAsDC"}
@@ -0,0 +1,19 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ import { CreateApplicationAgentRelationResponseBody } from "./CreateApplicationAgentRelationResponseBody";
3
+ export declare class CreateApplicationAgentRelationResponse extends $dara.Model {
4
+ headers?: {
5
+ [key: string]: string;
6
+ };
7
+ statusCode?: number;
8
+ body?: CreateApplicationAgentRelationResponseBody;
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.CreateApplicationAgentRelationResponse = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ const CreateApplicationAgentRelationResponseBody_1 = require("./CreateApplicationAgentRelationResponseBody");
40
+ class CreateApplicationAgentRelationResponse 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: CreateApplicationAgentRelationResponseBody_1.CreateApplicationAgentRelationResponseBody,
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.CreateApplicationAgentRelationResponse = CreateApplicationAgentRelationResponse;
69
+ //# sourceMappingURL=CreateApplicationAgentRelationResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateApplicationAgentRelationResponse.js","sourceRoot":"","sources":["../../src/models/CreateApplicationAgentRelationResponse.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,6GAA0G;AAG1G,MAAa,sCAAuC,SAAQ,KAAK,CAAC,KAAK;IAIrE,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,uFAA0C;SACjD,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,wFAiCC"}
@@ -0,0 +1,29 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class CreateApplicationAgentRelationResponseBody extends $dara.Model {
3
+ /**
4
+ * @remarks
5
+ * The ID of the Squad application.
6
+ *
7
+ * @example
8
+ * pa-xxx
9
+ */
10
+ applicationId?: string;
11
+ /**
12
+ * @remarks
13
+ * Id of the request
14
+ *
15
+ * @example
16
+ * CD3FA5F3-FAF3-44CA-AFFF-BAF869******
17
+ */
18
+ requestId?: 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
+ }
@@ -0,0 +1,60 @@
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.CreateApplicationAgentRelationResponseBody = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class CreateApplicationAgentRelationResponseBody extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ applicationId: 'ApplicationId',
43
+ requestId: 'RequestId',
44
+ };
45
+ }
46
+ static types() {
47
+ return {
48
+ applicationId: 'string',
49
+ requestId: 'string',
50
+ };
51
+ }
52
+ validate() {
53
+ super.validate();
54
+ }
55
+ constructor(map) {
56
+ super(map);
57
+ }
58
+ }
59
+ exports.CreateApplicationAgentRelationResponseBody = CreateApplicationAgentRelationResponseBody;
60
+ //# sourceMappingURL=CreateApplicationAgentRelationResponseBody.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CreateApplicationAgentRelationResponseBody.js","sourceRoot":"","sources":["../../src/models/CreateApplicationAgentRelationResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,0CAA2C,SAAQ,KAAK,CAAC,KAAK;IAiBzE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,aAAa,EAAE,eAAe;YAC9B,SAAS,EAAE,WAAW;SACvB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,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;AAtCD,gGAsCC"}
@@ -0,0 +1,49 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class GetLakebaseTenantTokenRequest extends $dara.Model {
3
+ /**
4
+ * @remarks
5
+ * The associated PolarDB instance ID.
6
+ *
7
+ * @example
8
+ * pc-xxx
9
+ */
10
+ DBClusterId?: string;
11
+ /**
12
+ * @remarks
13
+ * The PolarFS instance ID.
14
+ *
15
+ * This parameter is required.
16
+ *
17
+ * @example
18
+ * pfs-xxx
19
+ */
20
+ polarFsInstanceId?: string;
21
+ /**
22
+ * @remarks
23
+ * The mount subdirectory. Specify an absolute path.
24
+ *
25
+ * This parameter is required.
26
+ *
27
+ * @example
28
+ * /home/project/p1
29
+ */
30
+ subdir?: string;
31
+ /**
32
+ * @remarks
33
+ * The tenant identifier.
34
+ *
35
+ * @example
36
+ * tenant-xxx
37
+ */
38
+ tenant?: string;
39
+ static names(): {
40
+ [key: string]: string;
41
+ };
42
+ static types(): {
43
+ [key: string]: any;
44
+ };
45
+ validate(): void;
46
+ constructor(map?: {
47
+ [key: string]: any;
48
+ });
49
+ }
@@ -0,0 +1,64 @@
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.GetLakebaseTenantTokenRequest = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class GetLakebaseTenantTokenRequest extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ DBClusterId: 'DBClusterId',
43
+ polarFsInstanceId: 'PolarFsInstanceId',
44
+ subdir: 'Subdir',
45
+ tenant: 'Tenant',
46
+ };
47
+ }
48
+ static types() {
49
+ return {
50
+ DBClusterId: 'string',
51
+ polarFsInstanceId: 'string',
52
+ subdir: 'string',
53
+ tenant: 'string',
54
+ };
55
+ }
56
+ validate() {
57
+ super.validate();
58
+ }
59
+ constructor(map) {
60
+ super(map);
61
+ }
62
+ }
63
+ exports.GetLakebaseTenantTokenRequest = GetLakebaseTenantTokenRequest;
64
+ //# sourceMappingURL=GetLakebaseTenantTokenRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GetLakebaseTenantTokenRequest.js","sourceRoot":"","sources":["../../src/models/GetLakebaseTenantTokenRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,6BAA8B,SAAQ,KAAK,CAAC,KAAK;IAqC5D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,aAAa;YAC1B,iBAAiB,EAAE,mBAAmB;YACtC,MAAM,EAAE,QAAQ;YAChB,MAAM,EAAE,QAAQ;SACjB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,QAAQ;YACrB,iBAAiB,EAAE,QAAQ;YAC3B,MAAM,EAAE,QAAQ;YAChB,MAAM,EAAE,QAAQ;SACjB,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;AA9DD,sEA8DC"}
@@ -0,0 +1,19 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ import { GetLakebaseTenantTokenResponseBody } from "./GetLakebaseTenantTokenResponseBody";
3
+ export declare class GetLakebaseTenantTokenResponse extends $dara.Model {
4
+ headers?: {
5
+ [key: string]: string;
6
+ };
7
+ statusCode?: number;
8
+ body?: GetLakebaseTenantTokenResponseBody;
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.GetLakebaseTenantTokenResponse = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ const GetLakebaseTenantTokenResponseBody_1 = require("./GetLakebaseTenantTokenResponseBody");
40
+ class GetLakebaseTenantTokenResponse 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: GetLakebaseTenantTokenResponseBody_1.GetLakebaseTenantTokenResponseBody,
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.GetLakebaseTenantTokenResponse = GetLakebaseTenantTokenResponse;
69
+ //# sourceMappingURL=GetLakebaseTenantTokenResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GetLakebaseTenantTokenResponse.js","sourceRoot":"","sources":["../../src/models/GetLakebaseTenantTokenResponse.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,6FAA0F;AAG1F,MAAa,8BAA+B,SAAQ,KAAK,CAAC,KAAK;IAI7D,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,uEAAkC;SACzC,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,wEAiCC"}
@@ -0,0 +1,61 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class GetLakebaseTenantTokenResponseBody extends $dara.Model {
3
+ /**
4
+ * @remarks
5
+ * The associated PolarDB instance ID.
6
+ *
7
+ * @example
8
+ * pc-xxx
9
+ */
10
+ DBClusterId?: string;
11
+ /**
12
+ * @remarks
13
+ * Id of the request
14
+ *
15
+ * @example
16
+ * CD35F3-F3-44CA-AFFF-BAF869******
17
+ */
18
+ requestId?: string;
19
+ /**
20
+ * @remarks
21
+ * The status.
22
+ *
23
+ * @example
24
+ * ACTIVATION
25
+ */
26
+ status?: string;
27
+ /**
28
+ * @remarks
29
+ * The mount subdirectory.
30
+ *
31
+ * @example
32
+ * /home/project
33
+ */
34
+ subdir?: string;
35
+ /**
36
+ * @remarks
37
+ * The tenant identifier.
38
+ *
39
+ * @example
40
+ * admin
41
+ */
42
+ tenant?: string;
43
+ /**
44
+ * @remarks
45
+ * The tenant token.
46
+ *
47
+ * @example
48
+ * ***
49
+ */
50
+ token?: string;
51
+ static names(): {
52
+ [key: string]: string;
53
+ };
54
+ static types(): {
55
+ [key: string]: any;
56
+ };
57
+ validate(): void;
58
+ constructor(map?: {
59
+ [key: string]: any;
60
+ });
61
+ }
@@ -0,0 +1,68 @@
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.GetLakebaseTenantTokenResponseBody = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class GetLakebaseTenantTokenResponseBody extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ DBClusterId: 'DBClusterId',
43
+ requestId: 'RequestId',
44
+ status: 'Status',
45
+ subdir: 'Subdir',
46
+ tenant: 'Tenant',
47
+ token: 'Token',
48
+ };
49
+ }
50
+ static types() {
51
+ return {
52
+ DBClusterId: 'string',
53
+ requestId: 'string',
54
+ status: 'string',
55
+ subdir: 'string',
56
+ tenant: 'string',
57
+ token: 'string',
58
+ };
59
+ }
60
+ validate() {
61
+ super.validate();
62
+ }
63
+ constructor(map) {
64
+ super(map);
65
+ }
66
+ }
67
+ exports.GetLakebaseTenantTokenResponseBody = GetLakebaseTenantTokenResponseBody;
68
+ //# sourceMappingURL=GetLakebaseTenantTokenResponseBody.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GetLakebaseTenantTokenResponseBody.js","sourceRoot":"","sources":["../../src/models/GetLakebaseTenantTokenResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,kCAAmC,SAAQ,KAAK,CAAC,KAAK;IAiDjE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,aAAa;YAC1B,SAAS,EAAE,WAAW;YACtB,MAAM,EAAE,QAAQ;YAChB,MAAM,EAAE,QAAQ;YAChB,MAAM,EAAE,QAAQ;YAChB,KAAK,EAAE,OAAO;SACf,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,WAAW,EAAE,QAAQ;YACrB,SAAS,EAAE,QAAQ;YACnB,MAAM,EAAE,QAAQ;YAChB,MAAM,EAAE,QAAQ;YAChB,MAAM,EAAE,QAAQ;YAChB,KAAK,EAAE,QAAQ;SAChB,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;AA9ED,gFA8EC"}
@@ -0,0 +1,21 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class RestartAIDBClusterRequest extends $dara.Model {
3
+ /**
4
+ * @remarks
5
+ * The instance ID.
6
+ *
7
+ * @example
8
+ * pc-**************
9
+ */
10
+ DBClusterId?: 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
+ }