@alicloud/polardb20170801 7.4.0 → 7.5.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 (113) hide show
  1. package/dist/client.d.ts +51 -40
  2. package/dist/client.js +170 -40
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateAidbclusterTaskRequest.d.ts +13 -17
  5. package/dist/models/CreateAidbclusterTaskRequest.js +2 -0
  6. package/dist/models/CreateAidbclusterTaskRequest.js.map +1 -1
  7. package/dist/models/CreateAidbclusterTaskResponseBody.d.ts +2 -2
  8. package/dist/models/CreateBackupRequest.d.ts +2 -1
  9. package/dist/models/CreateBackupRequest.js +2 -0
  10. package/dist/models/CreateBackupRequest.js.map +1 -1
  11. package/dist/models/CreateBackupResponseBody.d.ts +1 -1
  12. package/dist/models/DescribeAidbclusterAttributeResponseBody.d.ts +91 -18
  13. package/dist/models/DescribeAidbclusterAttributeResponseBody.js +127 -1
  14. package/dist/models/DescribeAidbclusterAttributeResponseBody.js.map +1 -1
  15. package/dist/models/DescribeAidbclusterTaskAttributeRequest.d.ts +3 -3
  16. package/dist/models/DescribeAidbclusterTaskAttributeResponseBody.d.ts +37 -45
  17. package/dist/models/DescribeAidbclusterTaskAttributeResponseBody.js +2 -0
  18. package/dist/models/DescribeAidbclusterTaskAttributeResponseBody.js.map +1 -1
  19. package/dist/models/DescribeAidbclusterTasksRequest.d.ts +2 -2
  20. package/dist/models/DescribeAidbclusterTasksResponseBody.d.ts +18 -17
  21. package/dist/models/DescribeAidbclusterTasksResponseBody.js +2 -0
  22. package/dist/models/DescribeAidbclusterTasksResponseBody.js.map +1 -1
  23. package/dist/models/DescribeApplicationLogsRequest.d.ts +10 -10
  24. package/dist/models/DescribeApplicationLogsResponseBody.d.ts +2 -6
  25. package/dist/models/DescribeApplicationLogsResponseBody.js.map +1 -1
  26. package/dist/models/DescribeAvailableModelsRequest.d.ts +1 -1
  27. package/dist/models/DescribeAvailableModelsResponseBody.d.ts +7 -6
  28. package/dist/models/DescribeAvailableModelsResponseBody.js +2 -0
  29. package/dist/models/DescribeAvailableModelsResponseBody.js.map +1 -1
  30. package/dist/models/DescribeBackupsRequest.d.ts +12 -19
  31. package/dist/models/DescribeBackupsRequest.js.map +1 -1
  32. package/dist/models/DescribeBackupsResponseBody.d.ts +5 -7
  33. package/dist/models/DescribeBackupsResponseBody.js +2 -0
  34. package/dist/models/DescribeBackupsResponseBody.js.map +1 -1
  35. package/dist/models/DescribeBudgetPoliciesRequest.d.ts +10 -14
  36. package/dist/models/DescribeBudgetPoliciesRequest.js +2 -0
  37. package/dist/models/DescribeBudgetPoliciesRequest.js.map +1 -1
  38. package/dist/models/DescribeBudgetPoliciesResponseBody.d.ts +18 -22
  39. package/dist/models/DescribeBudgetPoliciesResponseBody.js.map +1 -1
  40. package/dist/models/DescribeConsumersRequest.d.ts +10 -10
  41. package/dist/models/DescribeConsumersRequest.js +4 -0
  42. package/dist/models/DescribeConsumersRequest.js.map +1 -1
  43. package/dist/models/DescribeConsumersResponseBody.d.ts +17 -17
  44. package/dist/models/DescribeDbclusterAccessWhitelistRequest.d.ts +5 -0
  45. package/dist/models/DescribeDbclusterAccessWhitelistRequest.js +2 -0
  46. package/dist/models/DescribeDbclusterAccessWhitelistRequest.js.map +1 -1
  47. package/dist/models/DescribeDbclusterPriceRequest.d.ts +244 -0
  48. package/dist/models/DescribeDbclusterPriceRequest.js +125 -0
  49. package/dist/models/DescribeDbclusterPriceRequest.js.map +1 -0
  50. package/dist/models/DescribeDbclusterPriceResponse.d.ts +19 -0
  51. package/dist/models/DescribeDbclusterPriceResponse.js +69 -0
  52. package/dist/models/DescribeDbclusterPriceResponse.js.map +1 -0
  53. package/dist/models/DescribeDbclusterPriceResponseBody.d.ts +161 -0
  54. package/dist/models/DescribeDbclusterPriceResponseBody.js +217 -0
  55. package/dist/models/DescribeDbclusterPriceResponseBody.js.map +1 -0
  56. package/dist/models/DescribeDbclusterPriceShrinkRequest.d.ts +216 -0
  57. package/dist/models/DescribeDbclusterPriceShrinkRequest.js +101 -0
  58. package/dist/models/DescribeDbclusterPriceShrinkRequest.js.map +1 -0
  59. package/dist/models/DescribeDbclusterSslrequest.d.ts +6 -2
  60. package/dist/models/DescribeDbclusterSslrequest.js +2 -0
  61. package/dist/models/DescribeDbclusterSslrequest.js.map +1 -1
  62. package/dist/models/DescribeDbclusterSslresponseBody.d.ts +13 -14
  63. package/dist/models/DescribeDbclusterSslresponseBody.js.map +1 -1
  64. package/dist/models/DescribePolarFsAttributeResponseBody.d.ts +75 -19
  65. package/dist/models/DescribePolarFsAttributeResponseBody.js +73 -1
  66. package/dist/models/DescribePolarFsAttributeResponseBody.js.map +1 -1
  67. package/dist/models/DescribePolarFsRequest.d.ts +39 -0
  68. package/dist/models/DescribePolarFsRequest.js.map +1 -1
  69. package/dist/models/DescribePolarFsResponseBody.d.ts +12 -0
  70. package/dist/models/DescribePolarFsResponseBody.js.map +1 -1
  71. package/dist/models/ModifyDbclusterAccessWhitelistRequest.d.ts +27 -32
  72. package/dist/models/ModifyDbclusterAccessWhitelistRequest.js +2 -0
  73. package/dist/models/ModifyDbclusterAccessWhitelistRequest.js.map +1 -1
  74. package/dist/models/ModifyDbclusterSslrequest.d.ts +28 -27
  75. package/dist/models/ModifyDbclusterSslrequest.js +4 -0
  76. package/dist/models/ModifyDbclusterSslrequest.js.map +1 -1
  77. package/dist/models/model.d.ts +18 -0
  78. package/dist/models/model.js +76 -40
  79. package/dist/models/model.js.map +1 -1
  80. package/package.json +1 -1
  81. package/src/client.ts +204 -40
  82. package/src/models/CreateAidbclusterTaskRequest.ts +15 -17
  83. package/src/models/CreateAidbclusterTaskResponseBody.ts +2 -2
  84. package/src/models/CreateBackupRequest.ts +4 -1
  85. package/src/models/CreateBackupResponseBody.ts +1 -1
  86. package/src/models/DescribeAidbclusterAttributeResponseBody.ts +172 -18
  87. package/src/models/DescribeAidbclusterTaskAttributeRequest.ts +3 -3
  88. package/src/models/DescribeAidbclusterTaskAttributeResponseBody.ts +39 -45
  89. package/src/models/DescribeAidbclusterTasksRequest.ts +2 -2
  90. package/src/models/DescribeAidbclusterTasksResponseBody.ts +20 -17
  91. package/src/models/DescribeApplicationLogsRequest.ts +10 -10
  92. package/src/models/DescribeApplicationLogsResponseBody.ts +2 -6
  93. package/src/models/DescribeAvailableModelsRequest.ts +1 -1
  94. package/src/models/DescribeAvailableModelsResponseBody.ts +9 -6
  95. package/src/models/DescribeBackupsRequest.ts +14 -21
  96. package/src/models/DescribeBackupsResponseBody.ts +7 -7
  97. package/src/models/DescribeBudgetPoliciesRequest.ts +13 -15
  98. package/src/models/DescribeBudgetPoliciesResponseBody.ts +19 -23
  99. package/src/models/DescribeConsumersRequest.ts +14 -10
  100. package/src/models/DescribeConsumersResponseBody.ts +17 -17
  101. package/src/models/DescribeDbclusterAccessWhitelistRequest.ts +7 -0
  102. package/src/models/DescribeDbclusterPriceRequest.ts +315 -0
  103. package/src/models/DescribeDbclusterPriceResponse.ts +40 -0
  104. package/src/models/DescribeDbclusterPriceResponseBody.ts +279 -0
  105. package/src/models/DescribeDbclusterPriceShrinkRequest.ts +272 -0
  106. package/src/models/DescribeDbclusterSslrequest.ts +8 -2
  107. package/src/models/DescribeDbclusterSslresponseBody.ts +13 -14
  108. package/src/models/DescribePolarFsAttributeResponseBody.ts +129 -19
  109. package/src/models/DescribePolarFsRequest.ts +39 -0
  110. package/src/models/DescribePolarFsResponseBody.ts +12 -0
  111. package/src/models/ModifyDbclusterAccessWhitelistRequest.ts +29 -32
  112. package/src/models/ModifyDbclusterSslrequest.ts +32 -27
  113. package/src/models/model.ts +18 -0
@@ -3,6 +3,11 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class ModifyDBClusterSSLRequest extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * xxx
9
+ */
10
+ connectionString?: string;
6
11
  /**
7
12
  * @remarks
8
13
  * The cluster ID.
@@ -15,13 +20,11 @@ export class ModifyDBClusterSSLRequest extends $dara.Model {
15
20
  DBClusterId?: string;
16
21
  /**
17
22
  * @remarks
18
- * The ID of the endpoint.
23
+ * The endpoint ID.
19
24
  *
20
- * > - This parameter is required for PolarDB for MySQL clusters.
21
- * >
22
- * > - This parameter is not required for PolarDB for PostgreSQL or PolarDB for PostgreSQL (Compatible with Oracle) clusters. By default, SSL encryption is enabled for all endpoints of the clusters.
23
- * >
24
- * > - You can call the [DescribeDBClusterSSL](https://help.aliyun.com/document_detail/2319159.html) operation to view the details of the endpoint.
25
+ * >* If the cluster is a PolarDB for MySQL cluster, this parameter is required.
26
+ * >* If the cluster is a PolarDB for PostgreSQL cluster or a PolarDB for PostgreSQL (Compatible with Oracle) cluster, you do not need to specify this parameter. SSL encryption is enabled for all endpoints by default.
27
+ * >* You can call the [DescribeDBClusterSSL](https://help.aliyun.com/document_detail/2319159.html) operation to query endpoint details.
25
28
  *
26
29
  * @example
27
30
  * pe-******************
@@ -29,17 +32,13 @@ export class ModifyDBClusterSSLRequest extends $dara.Model {
29
32
  DBEndpointId?: string;
30
33
  /**
31
34
  * @remarks
32
- * The network type of the endpoint. The value must be the same as the network type of the endpoint specified by the **DBEndpointId** parameter. Valid values:
33
- *
34
- * - **Public**
35
- *
36
- * - **Private**
37
- *
38
- * - **Inner**
35
+ * The network type of the endpoint. The value must be the same as the network type of the endpoint specified by **DBEndpointId**. Valid values:
36
+ * * **Public**: public network
37
+ * * **Private**: private network
38
+ * * **Inner**: private network (classic network)
39
39
  *
40
- * > * This parameter is required for PolarDB for MySQL clusters.
41
- * >
42
- * > * This parameter is not required for PolarDB for PostgreSQL or PolarDB for PostgreSQL (Compatible with Oracle) clusters. By default, SSL encryption is enabled for all endpoints of the clusters.
40
+ * >* If the cluster is a PolarDB for MySQL cluster, this parameter is required.
41
+ * >* If the cluster is a PolarDB for PostgreSQL cluster or a PolarDB for PostgreSQL (Compatible with Oracle) cluster, you do not need to specify this parameter. SSL encryption is enabled for all endpoints by default.
43
42
  *
44
43
  * @example
45
44
  * Public
@@ -47,15 +46,20 @@ export class ModifyDBClusterSSLRequest extends $dara.Model {
47
46
  netType?: string;
48
47
  ownerAccount?: string;
49
48
  ownerId?: number;
49
+ /**
50
+ * @example
51
+ * pfs-xxx
52
+ */
53
+ pfsInstanceId?: string;
50
54
  resourceOwnerAccount?: string;
51
55
  resourceOwnerId?: number;
52
56
  /**
53
57
  * @remarks
54
- * Specifies whether automatic rotation of SSL certificates is enabled.
58
+ * Specifies whether to enable automatic SSL certificate rotation. Valid values:
55
59
  *
56
- * - **Enable**
60
+ * - **Enable**: enables automatic SSL certificate rotation.
57
61
  *
58
- * - **Disable**
62
+ * - **Disable**: disables automatic SSL certificate rotation.
59
63
  *
60
64
  * @example
61
65
  * Enable
@@ -63,15 +67,12 @@ export class ModifyDBClusterSSLRequest extends $dara.Model {
63
67
  SSLAutoRotate?: string;
64
68
  /**
65
69
  * @remarks
66
- * The SSL encryption status. Valid values:
67
- *
68
- * - **Disabled**
69
- *
70
- * - **Enabled**
71
- *
72
- * - **Update**: The SSL certificate is updated.
70
+ * The SSL status. Valid values:
71
+ * * **Disable**: shutdown SSL encryption.
72
+ * * **Enable**: enables SSL encryption.
73
+ * * **Update**: updates the CA certificate.
73
74
  *
74
- * > After you enable SSL encryption or update the SSL certificate, you must download and configure the certificate. See [Configure SSL encryption](https://help.aliyun.com/document_detail/153182.html).
75
+ * > After you enable SSL encryption or update the CA certificate, you must download and configure the certificate. For details, see [Settings for SSL encryption](https://help.aliyun.com/document_detail/153182.html).
75
76
  *
76
77
  * @example
77
78
  * Enable
@@ -79,11 +80,13 @@ export class ModifyDBClusterSSLRequest extends $dara.Model {
79
80
  SSLEnabled?: string;
80
81
  static names(): { [key: string]: string } {
81
82
  return {
83
+ connectionString: 'ConnectionString',
82
84
  DBClusterId: 'DBClusterId',
83
85
  DBEndpointId: 'DBEndpointId',
84
86
  netType: 'NetType',
85
87
  ownerAccount: 'OwnerAccount',
86
88
  ownerId: 'OwnerId',
89
+ pfsInstanceId: 'PfsInstanceId',
87
90
  resourceOwnerAccount: 'ResourceOwnerAccount',
88
91
  resourceOwnerId: 'ResourceOwnerId',
89
92
  SSLAutoRotate: 'SSLAutoRotate',
@@ -93,11 +96,13 @@ export class ModifyDBClusterSSLRequest extends $dara.Model {
93
96
 
94
97
  static types(): { [key: string]: any } {
95
98
  return {
99
+ connectionString: 'string',
96
100
  DBClusterId: 'string',
97
101
  DBEndpointId: 'string',
98
102
  netType: 'string',
99
103
  ownerAccount: 'string',
100
104
  ownerId: 'number',
105
+ pfsInstanceId: 'string',
101
106
  resourceOwnerAccount: 'string',
102
107
  resourceOwnerId: 'number',
103
108
  SSLAutoRotate: 'string',
@@ -39,6 +39,11 @@ export { DescribeAIDBClusterAttributeResponseBodyDBNodesChildVolumes } from './D
39
39
  export { DescribeAIDBClusterAttributeResponseBodyDBNodes } from './DescribeAidbclusterAttributeResponseBody';
40
40
  export { DescribeAIDBClusterAttributeResponseBodyEndpointListNetInfoItems } from './DescribeAidbclusterAttributeResponseBody';
41
41
  export { DescribeAIDBClusterAttributeResponseBodyEndpointList } from './DescribeAidbclusterAttributeResponseBody';
42
+ export { DescribeAIDBClusterAttributeResponseBodyTimeSlicesInfoTimeSlices } from './DescribeAidbclusterAttributeResponseBody';
43
+ export { DescribeAIDBClusterAttributeResponseBodyTimeSlicesInfo } from './DescribeAidbclusterAttributeResponseBody';
44
+ export { DescribeAIDBClusterAttributeResponseBodyVnodeKubernetesConfigLabels } from './DescribeAidbclusterAttributeResponseBody';
45
+ export { DescribeAIDBClusterAttributeResponseBodyVnodeKubernetesConfigTaints } from './DescribeAidbclusterAttributeResponseBody';
46
+ export { DescribeAIDBClusterAttributeResponseBodyVnodeKubernetesConfig } from './DescribeAidbclusterAttributeResponseBody';
42
47
  export { DescribeAIDBClusterAttributeResponseBodyVolumes } from './DescribeAidbclusterAttributeResponseBody';
43
48
  export { DescribeAIDBClusterDatasetsResponseBodyDatasets } from './DescribeAidbclusterDatasetsResponseBody';
44
49
  export { DescribeAIDBClusterPerformanceResponseBodyPerformanceKeysPoints } from './DescribeAidbclusterPerformanceResponseBody';
@@ -167,6 +172,13 @@ export { DescribeDBClusterPerformanceResponseBodyPerformanceKeysPerformanceItemP
167
172
  export { DescribeDBClusterPerformanceResponseBodyPerformanceKeysPerformanceItemPoints } from './DescribeDbclusterPerformanceResponseBody';
168
173
  export { DescribeDBClusterPerformanceResponseBodyPerformanceKeysPerformanceItem } from './DescribeDbclusterPerformanceResponseBody';
169
174
  export { DescribeDBClusterPerformanceResponseBodyPerformanceKeys } from './DescribeDbclusterPerformanceResponseBody';
175
+ export { DescribeDBClusterPriceRequestDBNodes } from './DescribeDbclusterPriceRequest';
176
+ export { DescribeDBClusterPriceResponseBodyPriceInfoCouponsCoupon } from './DescribeDbclusterPriceResponseBody';
177
+ export { DescribeDBClusterPriceResponseBodyPriceInfoCoupons } from './DescribeDbclusterPriceResponseBody';
178
+ export { DescribeDBClusterPriceResponseBodyPriceInfoRuleIds } from './DescribeDbclusterPriceResponseBody';
179
+ export { DescribeDBClusterPriceResponseBodyPriceInfo } from './DescribeDbclusterPriceResponseBody';
180
+ export { DescribeDBClusterPriceResponseBodyRulesRule } from './DescribeDbclusterPriceResponseBody';
181
+ export { DescribeDBClusterPriceResponseBodyRules } from './DescribeDbclusterPriceResponseBody';
170
182
  export { DescribeDBClusterProxyResponseBodyChildInstances } from './DescribeDbclusterProxyResponseBody';
171
183
  export { DescribeDBClusterSSLResponseBodyItems } from './DescribeDbclusterSslresponseBody';
172
184
  export { DescribeDBClusterVersionResponseBodyDBRevisionVersionList } from './DescribeDbclusterVersionResponseBody';
@@ -302,6 +314,8 @@ export { DescribePolarFsResponseBodyItemsPolarFsPathsTags } from './DescribePola
302
314
  export { DescribePolarFsResponseBodyItemsPolarFsPaths } from './DescribePolarFsResponseBody';
303
315
  export { DescribePolarFsResponseBodyItems } from './DescribePolarFsResponseBody';
304
316
  export { DescribePolarFsAttributeResponseBodyCustomBucketPathList } from './DescribePolarFsAttributeResponseBody';
317
+ export { DescribePolarFsAttributeResponseBodyEndpointItemsAddressItems } from './DescribePolarFsAttributeResponseBody';
318
+ export { DescribePolarFsAttributeResponseBodyEndpointItems } from './DescribePolarFsAttributeResponseBody';
305
319
  export { DescribePolarFsAttributeResponseBodyMountInfo } from './DescribePolarFsAttributeResponseBody';
306
320
  export { DescribePolarFsObjectsResponseBodyItems } from './DescribePolarFsObjectsResponseBody';
307
321
  export { DescribePolarFsQuotaResponseBodyPolicyItems } from './DescribePolarFsQuotaResponseBody';
@@ -945,6 +959,10 @@ export { DescribeDBClusterParametersResponse } from './DescribeDbclusterParamete
945
959
  export { DescribeDBClusterPerformanceRequest } from './DescribeDbclusterPerformanceRequest';
946
960
  export { DescribeDBClusterPerformanceResponseBody } from './DescribeDbclusterPerformanceResponseBody';
947
961
  export { DescribeDBClusterPerformanceResponse } from './DescribeDbclusterPerformanceResponse';
962
+ export { DescribeDBClusterPriceRequest } from './DescribeDbclusterPriceRequest';
963
+ export { DescribeDBClusterPriceShrinkRequest } from './DescribeDbclusterPriceShrinkRequest';
964
+ export { DescribeDBClusterPriceResponseBody } from './DescribeDbclusterPriceResponseBody';
965
+ export { DescribeDBClusterPriceResponse } from './DescribeDbclusterPriceResponse';
948
966
  export { DescribeDBClusterProxyRequest } from './DescribeDbclusterProxyRequest';
949
967
  export { DescribeDBClusterProxyResponseBody } from './DescribeDbclusterProxyResponseBody';
950
968
  export { DescribeDBClusterProxyResponse } from './DescribeDbclusterProxyResponse';