@alicloud/polardb20170801 7.7.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 (95) hide show
  1. package/dist/client.d.ts +82 -6
  2. package/dist/client.js +217 -8
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/AddPolarFsPathMappingRequest.d.ts +6 -4
  5. package/dist/models/AddPolarFsPathMappingRequest.js +4 -0
  6. package/dist/models/AddPolarFsPathMappingRequest.js.map +1 -1
  7. package/dist/models/AddPolarFsPathMappingResponseBody.d.ts +1 -1
  8. package/dist/models/CreateApplicationAgentRelationRequest.d.ts +43 -0
  9. package/dist/models/CreateApplicationAgentRelationRequest.js +62 -0
  10. package/dist/models/CreateApplicationAgentRelationRequest.js.map +1 -0
  11. package/dist/models/CreateApplicationAgentRelationResponse.d.ts +19 -0
  12. package/dist/models/CreateApplicationAgentRelationResponse.js +69 -0
  13. package/dist/models/CreateApplicationAgentRelationResponse.js.map +1 -0
  14. package/dist/models/CreateApplicationAgentRelationResponseBody.d.ts +29 -0
  15. package/dist/models/CreateApplicationAgentRelationResponseBody.js +60 -0
  16. package/dist/models/CreateApplicationAgentRelationResponseBody.js.map +1 -0
  17. package/dist/models/CreateBatchConsumerRequest.d.ts +19 -7
  18. package/dist/models/CreateBatchConsumerRequest.js +4 -0
  19. package/dist/models/CreateBatchConsumerRequest.js.map +1 -1
  20. package/dist/models/CreateBatchConsumerResponseBody.d.ts +90 -2
  21. package/dist/models/CreateBatchConsumerResponseBody.js +22 -0
  22. package/dist/models/CreateBatchConsumerResponseBody.js.map +1 -1
  23. package/dist/models/CreateDbclusterRequest.d.ts +47 -261
  24. package/dist/models/CreateDbclusterRequest.js.map +1 -1
  25. package/dist/models/CreateDbclusterResponseBody.d.ts +14 -0
  26. package/dist/models/CreateDbclusterResponseBody.js.map +1 -1
  27. package/dist/models/CreateGwConsumerOrderRequest.d.ts +76 -0
  28. package/dist/models/CreateGwConsumerOrderRequest.js +68 -0
  29. package/dist/models/CreateGwConsumerOrderRequest.js.map +1 -0
  30. package/dist/models/CreateGwConsumerOrderResponse.d.ts +19 -0
  31. package/dist/models/CreateGwConsumerOrderResponse.js +69 -0
  32. package/dist/models/CreateGwConsumerOrderResponse.js.map +1 -0
  33. package/dist/models/CreateGwConsumerOrderResponseBody.d.ts +53 -0
  34. package/dist/models/CreateGwConsumerOrderResponseBody.js +66 -0
  35. package/dist/models/CreateGwConsumerOrderResponseBody.js.map +1 -0
  36. package/dist/models/DescribeApplicationLogsRequest.d.ts +4 -4
  37. package/dist/models/DescribeApplicationPerformanceRequest.d.ts +38 -15
  38. package/dist/models/DescribeApplicationPerformanceRequest.js.map +1 -1
  39. package/dist/models/DescribeApplicationPerformanceResponseBody.d.ts +7 -4
  40. package/dist/models/DescribeApplicationPerformanceResponseBody.js.map +1 -1
  41. package/dist/models/GetLakebaseTenantTokenRequest.d.ts +49 -0
  42. package/dist/models/GetLakebaseTenantTokenRequest.js +64 -0
  43. package/dist/models/GetLakebaseTenantTokenRequest.js.map +1 -0
  44. package/dist/models/GetLakebaseTenantTokenResponse.d.ts +19 -0
  45. package/dist/models/GetLakebaseTenantTokenResponse.js +69 -0
  46. package/dist/models/GetLakebaseTenantTokenResponse.js.map +1 -0
  47. package/dist/models/GetLakebaseTenantTokenResponseBody.d.ts +61 -0
  48. package/dist/models/GetLakebaseTenantTokenResponseBody.js +68 -0
  49. package/dist/models/GetLakebaseTenantTokenResponseBody.js.map +1 -0
  50. package/dist/models/ModifyDbclusterSslrequest.d.ts +14 -9
  51. package/dist/models/ModifyDbclusterSslrequest.js +2 -0
  52. package/dist/models/ModifyDbclusterSslrequest.js.map +1 -1
  53. package/dist/models/RestartAidbclusterRequest.d.ts +21 -0
  54. package/dist/models/RestartAidbclusterRequest.js +58 -0
  55. package/dist/models/RestartAidbclusterRequest.js.map +1 -0
  56. package/dist/models/RestartAidbclusterResponse.d.ts +19 -0
  57. package/dist/models/RestartAidbclusterResponse.js +69 -0
  58. package/dist/models/RestartAidbclusterResponse.js.map +1 -0
  59. package/dist/models/RestartAidbclusterResponseBody.d.ts +21 -0
  60. package/dist/models/RestartAidbclusterResponseBody.js +58 -0
  61. package/dist/models/RestartAidbclusterResponseBody.js.map +1 -0
  62. package/dist/models/RestartPolarClawGatewayRequest.d.ts +7 -0
  63. package/dist/models/RestartPolarClawGatewayRequest.js.map +1 -1
  64. package/dist/models/RestartPolarClawGatewayResponseBody.d.ts +36 -0
  65. package/dist/models/RestartPolarClawGatewayResponseBody.js.map +1 -1
  66. package/dist/models/model.d.ts +12 -0
  67. package/dist/models/model.js +49 -24
  68. package/dist/models/model.js.map +1 -1
  69. package/package.json +1 -1
  70. package/src/client.ts +242 -8
  71. package/src/models/AddPolarFsPathMappingRequest.ts +10 -4
  72. package/src/models/AddPolarFsPathMappingResponseBody.ts +1 -1
  73. package/src/models/CreateApplicationAgentRelationRequest.ts +60 -0
  74. package/src/models/CreateApplicationAgentRelationResponse.ts +40 -0
  75. package/src/models/CreateApplicationAgentRelationResponseBody.ts +44 -0
  76. package/src/models/CreateBatchConsumerRequest.ts +23 -7
  77. package/src/models/CreateBatchConsumerResponseBody.ts +112 -2
  78. package/src/models/CreateDbclusterRequest.ts +51 -265
  79. package/src/models/CreateDbclusterResponseBody.ts +14 -0
  80. package/src/models/CreateGwConsumerOrderRequest.ts +99 -0
  81. package/src/models/CreateGwConsumerOrderResponse.ts +40 -0
  82. package/src/models/CreateGwConsumerOrderResponseBody.ts +74 -0
  83. package/src/models/DescribeApplicationLogsRequest.ts +4 -4
  84. package/src/models/DescribeApplicationPerformanceRequest.ts +38 -15
  85. package/src/models/DescribeApplicationPerformanceResponseBody.ts +7 -4
  86. package/src/models/GetLakebaseTenantTokenRequest.ts +68 -0
  87. package/src/models/GetLakebaseTenantTokenResponse.ts +40 -0
  88. package/src/models/GetLakebaseTenantTokenResponseBody.ts +84 -0
  89. package/src/models/ModifyDbclusterSslrequest.ts +16 -9
  90. package/src/models/RestartAidbclusterRequest.ts +34 -0
  91. package/src/models/RestartAidbclusterResponse.ts +40 -0
  92. package/src/models/RestartAidbclusterResponseBody.ts +34 -0
  93. package/src/models/RestartPolarClawGatewayRequest.ts +7 -0
  94. package/src/models/RestartPolarClawGatewayResponseBody.ts +36 -0
  95. package/src/models/model.ts +12 -0
@@ -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
+
@@ -5,6 +5,8 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class RestartPolarClawGatewayRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
+ * The application ID.
9
+ *
8
10
  * This parameter is required.
9
11
  *
10
12
  * @example
@@ -12,6 +14,11 @@ export class RestartPolarClawGatewayRequest extends $dara.Model {
12
14
  */
13
15
  applicationId?: string;
14
16
  /**
17
+ * @remarks
18
+ * The restart mode. Valid values:
19
+ * - in-process: lightweight restart without applying environment variable changes. This is the default value.
20
+ * - pkill: cold start that applies environment variable changes.
21
+ *
15
22
  * @example
16
23
  * in-process
17
24
  */
@@ -4,61 +4,97 @@ import * as $dara from '@darabonba/typescript';
4
4
 
5
5
  export class RestartPolarClawGatewayResponseBody extends $dara.Model {
6
6
  /**
7
+ * @remarks
8
+ * The application ID.
9
+ *
7
10
  * @example
8
11
  * pa-xxx
9
12
  */
10
13
  applicationId?: string;
11
14
  /**
15
+ * @remarks
16
+ * The response status code.
17
+ *
12
18
  * @example
13
19
  * 200
14
20
  */
15
21
  code?: number;
16
22
  /**
23
+ * @remarks
24
+ * The approximate downtime of this restart, in milliseconds. This value is returned synchronously.
25
+ *
17
26
  * @example
18
27
  * 3235
19
28
  */
20
29
  downtimeMs?: number;
21
30
  /**
31
+ * @remarks
32
+ * The gateway version after the restart. This value is returned synchronously.
33
+ *
22
34
  * @example
23
35
  * 2026.5.7
24
36
  */
25
37
  gatewayVersion?: string;
26
38
  /**
39
+ * @remarks
40
+ * The response message.
41
+ *
27
42
  * @example
28
43
  * successful
29
44
  */
30
45
  message?: string;
31
46
  /**
47
+ * @remarks
48
+ * The actual restart mode used.
49
+ *
32
50
  * @example
33
51
  * in-process
34
52
  */
35
53
  mode?: string;
36
54
  /**
55
+ * @remarks
56
+ * Indicates whether the operation was successful.
57
+ *
37
58
  * @example
38
59
  * true
39
60
  */
40
61
  ok?: boolean;
41
62
  /**
63
+ * @remarks
64
+ * The operation name. This value is returned when Async is set to true.
65
+ *
42
66
  * @example
43
67
  * RestartPolarClawGateway
44
68
  */
45
69
  operation?: string;
46
70
  /**
71
+ * @remarks
72
+ * Id of the request
73
+ *
47
74
  * @example
48
75
  * F45FFACC-xxx
49
76
  */
50
77
  requestId?: string;
51
78
  /**
79
+ * @remarks
80
+ * Indicates whether the gateway has been confirmed available after the restart. This value is returned synchronously.
81
+ *
52
82
  * @example
53
83
  * true
54
84
  */
55
85
  restarted?: boolean;
56
86
  /**
87
+ * @remarks
88
+ * The initial state of the asynchronous task. This value is returned when Async is set to true.
89
+ *
57
90
  * @example
58
91
  * pending
59
92
  */
60
93
  state?: string;
61
94
  /**
95
+ * @remarks
96
+ * The asynchronous task ID. This value is returned when Async is set to true. You can poll the task status by calling DescribePolarClawTask.
97
+ *
62
98
  * @example
63
99
  * 0ee00f56-f467-4d41-858c-ca4ede2c770e
64
100
  */
@@ -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';
@@ -584,6 +587,9 @@ export { CreateGlobalDatabaseNetworkResponse } from './CreateGlobalDatabaseNetwo
584
587
  export { CreateGlobalSecurityIPGroupRequest } from './CreateGlobalSecurityIpgroupRequest';
585
588
  export { CreateGlobalSecurityIPGroupResponseBody } from './CreateGlobalSecurityIpgroupResponseBody';
586
589
  export { CreateGlobalSecurityIPGroupResponse } from './CreateGlobalSecurityIpgroupResponse';
590
+ export { CreateGwConsumerOrderRequest } from './CreateGwConsumerOrderRequest';
591
+ export { CreateGwConsumerOrderResponseBody } from './CreateGwConsumerOrderResponseBody';
592
+ export { CreateGwConsumerOrderResponse } from './CreateGwConsumerOrderResponse';
587
593
  export { CreateModelApiRequest } from './CreateModelApiRequest';
588
594
  export { CreateModelApiResponseBody } from './CreateModelApiResponseBody';
589
595
  export { CreateModelApiResponse } from './CreateModelApiResponse';
@@ -1291,6 +1297,9 @@ export { FailoverDBClusterZonalResponse } from './FailoverDbclusterZonalResponse
1291
1297
  export { GenerateUpgradeReportForSyncCloneRequest } from './GenerateUpgradeReportForSyncCloneRequest';
1292
1298
  export { GenerateUpgradeReportForSyncCloneResponseBody } from './GenerateUpgradeReportForSyncCloneResponseBody';
1293
1299
  export { GenerateUpgradeReportForSyncCloneResponse } from './GenerateUpgradeReportForSyncCloneResponse';
1300
+ export { GetLakebaseTenantTokenRequest } from './GetLakebaseTenantTokenRequest';
1301
+ export { GetLakebaseTenantTokenResponseBody } from './GetLakebaseTenantTokenResponseBody';
1302
+ export { GetLakebaseTenantTokenResponse } from './GetLakebaseTenantTokenResponse';
1294
1303
  export { GetPolarAgentRequest } from './GetPolarAgentRequest';
1295
1304
  export { GetPolarAgentResponseBody } from './GetPolarAgentResponseBody';
1296
1305
  export { GetPolarAgentResponse } from './GetPolarAgentResponse';
@@ -1594,6 +1603,9 @@ export { ResetConsumerApiKeyResponse } from './ResetConsumerApiKeyResponse';
1594
1603
  export { ResetGlobalDatabaseNetworkRequest } from './ResetGlobalDatabaseNetworkRequest';
1595
1604
  export { ResetGlobalDatabaseNetworkResponseBody } from './ResetGlobalDatabaseNetworkResponseBody';
1596
1605
  export { ResetGlobalDatabaseNetworkResponse } from './ResetGlobalDatabaseNetworkResponse';
1606
+ export { RestartAIDBClusterRequest } from './RestartAidbclusterRequest';
1607
+ export { RestartAIDBClusterResponseBody } from './RestartAidbclusterResponseBody';
1608
+ export { RestartAIDBClusterResponse } from './RestartAidbclusterResponse';
1597
1609
  export { RestartDBLinkRequest } from './RestartDblinkRequest';
1598
1610
  export { RestartDBLinkResponseBody } from './RestartDblinkResponseBody';
1599
1611
  export { RestartDBLinkResponse } from './RestartDblinkResponse';