@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,68 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class GetLakebaseTenantTokenRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The associated PolarDB instance ID.
9
+ *
10
+ * @example
11
+ * pc-xxx
12
+ */
13
+ DBClusterId?: string;
14
+ /**
15
+ * @remarks
16
+ * The PolarFS instance ID.
17
+ *
18
+ * This parameter is required.
19
+ *
20
+ * @example
21
+ * pfs-xxx
22
+ */
23
+ polarFsInstanceId?: string;
24
+ /**
25
+ * @remarks
26
+ * The mount subdirectory. Specify an absolute path.
27
+ *
28
+ * This parameter is required.
29
+ *
30
+ * @example
31
+ * /home/project/p1
32
+ */
33
+ subdir?: string;
34
+ /**
35
+ * @remarks
36
+ * The tenant identifier.
37
+ *
38
+ * @example
39
+ * tenant-xxx
40
+ */
41
+ tenant?: string;
42
+ static names(): { [key: string]: string } {
43
+ return {
44
+ DBClusterId: 'DBClusterId',
45
+ polarFsInstanceId: 'PolarFsInstanceId',
46
+ subdir: 'Subdir',
47
+ tenant: 'Tenant',
48
+ };
49
+ }
50
+
51
+ static types(): { [key: string]: any } {
52
+ return {
53
+ DBClusterId: 'string',
54
+ polarFsInstanceId: 'string',
55
+ subdir: 'string',
56
+ tenant: 'string',
57
+ };
58
+ }
59
+
60
+ validate() {
61
+ super.validate();
62
+ }
63
+
64
+ constructor(map?: { [key: string]: any }) {
65
+ super(map);
66
+ }
67
+ }
68
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { GetLakebaseTenantTokenResponseBody } from "./GetLakebaseTenantTokenResponseBody";
4
+
5
+
6
+ export class GetLakebaseTenantTokenResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: GetLakebaseTenantTokenResponseBody;
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: GetLakebaseTenantTokenResponseBody,
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,84 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class GetLakebaseTenantTokenResponseBody extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The associated PolarDB instance ID.
9
+ *
10
+ * @example
11
+ * pc-xxx
12
+ */
13
+ DBClusterId?: string;
14
+ /**
15
+ * @remarks
16
+ * Id of the request
17
+ *
18
+ * @example
19
+ * CD35F3-F3-44CA-AFFF-BAF869******
20
+ */
21
+ requestId?: string;
22
+ /**
23
+ * @remarks
24
+ * The status.
25
+ *
26
+ * @example
27
+ * ACTIVATION
28
+ */
29
+ status?: string;
30
+ /**
31
+ * @remarks
32
+ * The mount subdirectory.
33
+ *
34
+ * @example
35
+ * /home/project
36
+ */
37
+ subdir?: string;
38
+ /**
39
+ * @remarks
40
+ * The tenant identifier.
41
+ *
42
+ * @example
43
+ * admin
44
+ */
45
+ tenant?: string;
46
+ /**
47
+ * @remarks
48
+ * The tenant token.
49
+ *
50
+ * @example
51
+ * ***
52
+ */
53
+ token?: string;
54
+ static names(): { [key: string]: string } {
55
+ return {
56
+ DBClusterId: 'DBClusterId',
57
+ requestId: 'RequestId',
58
+ status: 'Status',
59
+ subdir: 'Subdir',
60
+ tenant: 'Tenant',
61
+ token: 'Token',
62
+ };
63
+ }
64
+
65
+ static types(): { [key: string]: any } {
66
+ return {
67
+ DBClusterId: 'string',
68
+ requestId: 'string',
69
+ status: 'string',
70
+ subdir: 'string',
71
+ tenant: 'string',
72
+ token: 'string',
73
+ };
74
+ }
75
+
76
+ validate() {
77
+ super.validate();
78
+ }
79
+
80
+ constructor(map?: { [key: string]: any }) {
81
+ super(map);
82
+ }
83
+ }
84
+
@@ -0,0 +1,34 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class RestartAIDBClusterRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The instance ID.
9
+ *
10
+ * @example
11
+ * pc-**************
12
+ */
13
+ DBClusterId?: string;
14
+ static names(): { [key: string]: string } {
15
+ return {
16
+ DBClusterId: 'DBClusterId',
17
+ };
18
+ }
19
+
20
+ static types(): { [key: string]: any } {
21
+ return {
22
+ DBClusterId: 'string',
23
+ };
24
+ }
25
+
26
+ validate() {
27
+ super.validate();
28
+ }
29
+
30
+ constructor(map?: { [key: string]: any }) {
31
+ super(map);
32
+ }
33
+ }
34
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { RestartAIDBClusterResponseBody } from "./RestartAidbclusterResponseBody";
4
+
5
+
6
+ export class RestartAIDBClusterResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: RestartAIDBClusterResponseBody;
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: RestartAIDBClusterResponseBody,
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,34 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class RestartAIDBClusterResponseBody extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * Id of the request
9
+ *
10
+ * @example
11
+ * 24A1990B-4F6E-482B-B8CB-75C612******
12
+ */
13
+ requestId?: string;
14
+ static names(): { [key: string]: string } {
15
+ return {
16
+ requestId: 'RequestId',
17
+ };
18
+ }
19
+
20
+ static types(): { [key: string]: any } {
21
+ return {
22
+ requestId: 'string',
23
+ };
24
+ }
25
+
26
+ validate() {
27
+ super.validate();
28
+ }
29
+
30
+ constructor(map?: { [key: string]: any }) {
31
+ super(map);
32
+ }
33
+ }
34
+
@@ -511,6 +511,9 @@ export { CreateApplicationRequest } from './CreateApplicationRequest';
511
511
  export { CreateApplicationShrinkRequest } from './CreateApplicationShrinkRequest';
512
512
  export { CreateApplicationResponseBody } from './CreateApplicationResponseBody';
513
513
  export { CreateApplicationResponse } from './CreateApplicationResponse';
514
+ export { CreateApplicationAgentRelationRequest } from './CreateApplicationAgentRelationRequest';
515
+ export { CreateApplicationAgentRelationResponseBody } from './CreateApplicationAgentRelationResponseBody';
516
+ export { CreateApplicationAgentRelationResponse } from './CreateApplicationAgentRelationResponse';
514
517
  export { CreateApplicationEndpointAddressRequest } from './CreateApplicationEndpointAddressRequest';
515
518
  export { CreateApplicationEndpointAddressResponseBody } from './CreateApplicationEndpointAddressResponseBody';
516
519
  export { CreateApplicationEndpointAddressResponse } from './CreateApplicationEndpointAddressResponse';
@@ -1294,6 +1297,9 @@ export { FailoverDBClusterZonalResponse } from './FailoverDbclusterZonalResponse
1294
1297
  export { GenerateUpgradeReportForSyncCloneRequest } from './GenerateUpgradeReportForSyncCloneRequest';
1295
1298
  export { GenerateUpgradeReportForSyncCloneResponseBody } from './GenerateUpgradeReportForSyncCloneResponseBody';
1296
1299
  export { GenerateUpgradeReportForSyncCloneResponse } from './GenerateUpgradeReportForSyncCloneResponse';
1300
+ export { GetLakebaseTenantTokenRequest } from './GetLakebaseTenantTokenRequest';
1301
+ export { GetLakebaseTenantTokenResponseBody } from './GetLakebaseTenantTokenResponseBody';
1302
+ export { GetLakebaseTenantTokenResponse } from './GetLakebaseTenantTokenResponse';
1297
1303
  export { GetPolarAgentRequest } from './GetPolarAgentRequest';
1298
1304
  export { GetPolarAgentResponseBody } from './GetPolarAgentResponseBody';
1299
1305
  export { GetPolarAgentResponse } from './GetPolarAgentResponse';
@@ -1597,6 +1603,9 @@ export { ResetConsumerApiKeyResponse } from './ResetConsumerApiKeyResponse';
1597
1603
  export { ResetGlobalDatabaseNetworkRequest } from './ResetGlobalDatabaseNetworkRequest';
1598
1604
  export { ResetGlobalDatabaseNetworkResponseBody } from './ResetGlobalDatabaseNetworkResponseBody';
1599
1605
  export { ResetGlobalDatabaseNetworkResponse } from './ResetGlobalDatabaseNetworkResponse';
1606
+ export { RestartAIDBClusterRequest } from './RestartAidbclusterRequest';
1607
+ export { RestartAIDBClusterResponseBody } from './RestartAidbclusterResponseBody';
1608
+ export { RestartAIDBClusterResponse } from './RestartAidbclusterResponse';
1600
1609
  export { RestartDBLinkRequest } from './RestartDblinkRequest';
1601
1610
  export { RestartDBLinkResponseBody } from './RestartDblinkResponseBody';
1602
1611
  export { RestartDBLinkResponse } from './RestartDblinkResponse';