@alicloud/polardb20170801 5.1.8 → 5.1.9
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.
- package/dist/client.d.ts +76 -3
- package/dist/client.js +7 -2
- package/dist/client.js.map +1 -1
- package/package.json +3 -3
- package/src/client.ts +82 -3
package/dist/client.d.ts
CHANGED
|
@@ -5013,6 +5013,10 @@ export declare class DescribeDBClusterAttributeRequest extends $tea.Model {
|
|
|
5013
5013
|
});
|
|
5014
5014
|
}
|
|
5015
5015
|
export declare class DescribeDBClusterAttributeResponseBody extends $tea.Model {
|
|
5016
|
+
/**
|
|
5017
|
+
* @example
|
|
5018
|
+
* 2024-03-13T01:20:28Z
|
|
5019
|
+
*/
|
|
5016
5020
|
aiCreatingTime?: string;
|
|
5017
5021
|
/**
|
|
5018
5022
|
* @remarks
|
|
@@ -5025,6 +5029,10 @@ export declare class DescribeDBClusterAttributeResponseBody extends $tea.Model {
|
|
|
5025
5029
|
* DLNode
|
|
5026
5030
|
*/
|
|
5027
5031
|
aiType?: string;
|
|
5032
|
+
/**
|
|
5033
|
+
* @example
|
|
5034
|
+
* X86
|
|
5035
|
+
*/
|
|
5028
5036
|
architecture?: string;
|
|
5029
5037
|
/**
|
|
5030
5038
|
* @remarks
|
|
@@ -5060,7 +5068,15 @@ export declare class DescribeDBClusterAttributeResponseBody extends $tea.Model {
|
|
|
5060
5068
|
* Normal
|
|
5061
5069
|
*/
|
|
5062
5070
|
category?: string;
|
|
5071
|
+
/**
|
|
5072
|
+
* @example
|
|
5073
|
+
* ON
|
|
5074
|
+
*/
|
|
5063
5075
|
compressStorageMode?: string;
|
|
5076
|
+
/**
|
|
5077
|
+
* @example
|
|
5078
|
+
* 15529410560
|
|
5079
|
+
*/
|
|
5064
5080
|
compressStorageUsed?: number;
|
|
5065
5081
|
/**
|
|
5066
5082
|
* @remarks
|
|
@@ -5104,7 +5120,7 @@ export declare class DescribeDBClusterAttributeResponseBody extends $tea.Model {
|
|
|
5104
5120
|
DBClusterStatus?: string;
|
|
5105
5121
|
/**
|
|
5106
5122
|
* @remarks
|
|
5107
|
-
* The
|
|
5123
|
+
* The information about the nodes.
|
|
5108
5124
|
*/
|
|
5109
5125
|
DBNodes?: DescribeDBClusterAttributeResponseBodyDBNodes[];
|
|
5110
5126
|
/**
|
|
@@ -5200,6 +5216,10 @@ export declare class DescribeDBClusterAttributeResponseBody extends $tea.Model {
|
|
|
5200
5216
|
* false
|
|
5201
5217
|
*/
|
|
5202
5218
|
hasCompleteStandbyRes?: boolean;
|
|
5219
|
+
/**
|
|
5220
|
+
* @example
|
|
5221
|
+
* StandbyClusterON
|
|
5222
|
+
*/
|
|
5203
5223
|
hotStandbyCluster?: string;
|
|
5204
5224
|
/**
|
|
5205
5225
|
* @remarks
|
|
@@ -5259,6 +5279,10 @@ export declare class DescribeDBClusterAttributeResponseBody extends $tea.Model {
|
|
|
5259
5279
|
* 18:00Z-19:00Z
|
|
5260
5280
|
*/
|
|
5261
5281
|
maintainTime?: string;
|
|
5282
|
+
/**
|
|
5283
|
+
* @example
|
|
5284
|
+
* ON
|
|
5285
|
+
*/
|
|
5262
5286
|
orca?: string;
|
|
5263
5287
|
/**
|
|
5264
5288
|
* @remarks
|
|
@@ -5271,6 +5295,10 @@ export declare class DescribeDBClusterAttributeResponseBody extends $tea.Model {
|
|
|
5271
5295
|
* Prepaid
|
|
5272
5296
|
*/
|
|
5273
5297
|
payType?: string;
|
|
5298
|
+
/**
|
|
5299
|
+
* @example
|
|
5300
|
+
* 2500
|
|
5301
|
+
*/
|
|
5274
5302
|
provisionedIops?: string;
|
|
5275
5303
|
/**
|
|
5276
5304
|
* @remarks
|
|
@@ -5351,7 +5379,15 @@ export declare class DescribeDBClusterAttributeResponseBody extends $tea.Model {
|
|
|
5351
5379
|
* rg-***************
|
|
5352
5380
|
*/
|
|
5353
5381
|
resourceGroupId?: string;
|
|
5382
|
+
/**
|
|
5383
|
+
* @example
|
|
5384
|
+
* 2179639137
|
|
5385
|
+
*/
|
|
5354
5386
|
restoreDataPoint?: string;
|
|
5387
|
+
/**
|
|
5388
|
+
* @example
|
|
5389
|
+
* RestoreByTime
|
|
5390
|
+
*/
|
|
5355
5391
|
restoreType?: string;
|
|
5356
5392
|
/**
|
|
5357
5393
|
* @remarks
|
|
@@ -5369,6 +5405,10 @@ export declare class DescribeDBClusterAttributeResponseBody extends $tea.Model {
|
|
|
5369
5405
|
* AgileServerless
|
|
5370
5406
|
*/
|
|
5371
5407
|
serverlessType?: string;
|
|
5408
|
+
/**
|
|
5409
|
+
* @example
|
|
5410
|
+
* pc-pz51ziv48317b2880
|
|
5411
|
+
*/
|
|
5372
5412
|
sourceDBCluster?: string;
|
|
5373
5413
|
/**
|
|
5374
5414
|
* @remarks
|
|
@@ -7940,6 +7980,10 @@ export declare class DescribeDBProxyPerformanceResponse extends $tea.Model {
|
|
|
7940
7980
|
export declare class DescribeDasConfigRequest extends $tea.Model {
|
|
7941
7981
|
/**
|
|
7942
7982
|
* @remarks
|
|
7983
|
+
* The cluster ID.
|
|
7984
|
+
*
|
|
7985
|
+
* > You can call the [DescribeDBClusters](https://help.aliyun.com/document_detail/98094.html) operation to query the details of the clusters that belong to your Alibaba Cloud account, such as cluster IDs.
|
|
7986
|
+
*
|
|
7943
7987
|
* This parameter is required.
|
|
7944
7988
|
*
|
|
7945
7989
|
* @example
|
|
@@ -7970,11 +8014,19 @@ export declare class DescribeDasConfigResponseBody extends $tea.Model {
|
|
|
7970
8014
|
*/
|
|
7971
8015
|
requestId?: string;
|
|
7972
8016
|
/**
|
|
8017
|
+
* @remarks
|
|
8018
|
+
* Indicates whether the automatic storage expansion feature is enabled for the standard cluster.
|
|
8019
|
+
*
|
|
7973
8020
|
* @example
|
|
7974
8021
|
* Enable
|
|
7975
8022
|
*/
|
|
7976
8023
|
storageAutoScale?: string;
|
|
7977
8024
|
/**
|
|
8025
|
+
* @remarks
|
|
8026
|
+
* The maximum storage capacity of the standard cluster that is scaled up. Unit: GB.
|
|
8027
|
+
*
|
|
8028
|
+
* > This parameter is returned when the StorageAutoScale parameter is set to Enable.
|
|
8029
|
+
*
|
|
7978
8030
|
* @example
|
|
7979
8031
|
* 800
|
|
7980
8032
|
*/
|
|
@@ -11336,6 +11388,7 @@ export declare class FailoverDBClusterRequest extends $tea.Model {
|
|
|
11336
11388
|
* pi-***********
|
|
11337
11389
|
*/
|
|
11338
11390
|
targetDBNodeId?: string;
|
|
11391
|
+
targetZoneType?: string;
|
|
11339
11392
|
static names(): {
|
|
11340
11393
|
[key: string]: string;
|
|
11341
11394
|
};
|
|
@@ -18008,6 +18061,10 @@ export declare class DescribeDBClusterAttributeResponseBodyDBNodes extends $tea.
|
|
|
18008
18061
|
* 6
|
|
18009
18062
|
*/
|
|
18010
18063
|
addedCpuCores?: string;
|
|
18064
|
+
/**
|
|
18065
|
+
* @example
|
|
18066
|
+
* 2
|
|
18067
|
+
*/
|
|
18011
18068
|
cpuCores?: string;
|
|
18012
18069
|
/**
|
|
18013
18070
|
* @remarks
|
|
@@ -18120,9 +18177,21 @@ export declare class DescribeDBClusterAttributeResponseBodyDBNodes extends $tea.
|
|
|
18120
18177
|
* 32000
|
|
18121
18178
|
*/
|
|
18122
18179
|
maxIOPS?: number;
|
|
18180
|
+
/**
|
|
18181
|
+
* @example
|
|
18182
|
+
* 8192
|
|
18183
|
+
*/
|
|
18123
18184
|
memorySize?: string;
|
|
18124
18185
|
mirrorInsName?: string;
|
|
18186
|
+
/**
|
|
18187
|
+
* @example
|
|
18188
|
+
* off
|
|
18189
|
+
*/
|
|
18125
18190
|
orca?: string;
|
|
18191
|
+
/**
|
|
18192
|
+
* @example
|
|
18193
|
+
* 3072
|
|
18194
|
+
*/
|
|
18126
18195
|
remoteMemorySize?: string;
|
|
18127
18196
|
/**
|
|
18128
18197
|
* @remarks
|
|
@@ -18155,6 +18224,10 @@ export declare class DescribeDBClusterAttributeResponseBodyDBNodes extends $tea.
|
|
|
18155
18224
|
* AgileServerless
|
|
18156
18225
|
*/
|
|
18157
18226
|
serverlessType?: string;
|
|
18227
|
+
/**
|
|
18228
|
+
* @example
|
|
18229
|
+
* Primary
|
|
18230
|
+
*/
|
|
18158
18231
|
subCluster?: string;
|
|
18159
18232
|
/**
|
|
18160
18233
|
* @remarks
|
|
@@ -23885,7 +23958,7 @@ export default class Client extends OpenApi {
|
|
|
23885
23958
|
*/
|
|
23886
23959
|
describeDBProxyPerformance(request: DescribeDBProxyPerformanceRequest): Promise<DescribeDBProxyPerformanceResponse>;
|
|
23887
23960
|
/**
|
|
23888
|
-
*
|
|
23961
|
+
* Queries the configurations of a cluster in Database Autonomy Service (DAS).
|
|
23889
23962
|
*
|
|
23890
23963
|
* @param request - DescribeDasConfigRequest
|
|
23891
23964
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -23893,7 +23966,7 @@ export default class Client extends OpenApi {
|
|
|
23893
23966
|
*/
|
|
23894
23967
|
describeDasConfigWithOptions(request: DescribeDasConfigRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDasConfigResponse>;
|
|
23895
23968
|
/**
|
|
23896
|
-
*
|
|
23969
|
+
* Queries the configurations of a cluster in Database Autonomy Service (DAS).
|
|
23897
23970
|
*
|
|
23898
23971
|
* @param request - DescribeDasConfigRequest
|
|
23899
23972
|
* @returns DescribeDasConfigResponse
|
package/dist/client.js
CHANGED
|
@@ -6714,6 +6714,7 @@ class FailoverDBClusterRequest extends $tea.Model {
|
|
|
6714
6714
|
resourceOwnerId: 'ResourceOwnerId',
|
|
6715
6715
|
rollBackForDisaster: 'RollBackForDisaster',
|
|
6716
6716
|
targetDBNodeId: 'TargetDBNodeId',
|
|
6717
|
+
targetZoneType: 'TargetZoneType',
|
|
6717
6718
|
};
|
|
6718
6719
|
}
|
|
6719
6720
|
static types() {
|
|
@@ -6726,6 +6727,7 @@ class FailoverDBClusterRequest extends $tea.Model {
|
|
|
6726
6727
|
resourceOwnerId: 'number',
|
|
6727
6728
|
rollBackForDisaster: 'boolean',
|
|
6728
6729
|
targetDBNodeId: 'string',
|
|
6730
|
+
targetZoneType: 'string',
|
|
6729
6731
|
};
|
|
6730
6732
|
}
|
|
6731
6733
|
constructor(map) {
|
|
@@ -17082,7 +17084,7 @@ class Client extends openapi_client_1.default {
|
|
|
17082
17084
|
return await this.describeDBProxyPerformanceWithOptions(request, runtime);
|
|
17083
17085
|
}
|
|
17084
17086
|
/**
|
|
17085
|
-
*
|
|
17087
|
+
* Queries the configurations of a cluster in Database Autonomy Service (DAS).
|
|
17086
17088
|
*
|
|
17087
17089
|
* @param request - DescribeDasConfigRequest
|
|
17088
17090
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -17123,7 +17125,7 @@ class Client extends openapi_client_1.default {
|
|
|
17123
17125
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDasConfigResponse({}));
|
|
17124
17126
|
}
|
|
17125
17127
|
/**
|
|
17126
|
-
*
|
|
17128
|
+
* Queries the configurations of a cluster in Database Autonomy Service (DAS).
|
|
17127
17129
|
*
|
|
17128
17130
|
* @param request - DescribeDasConfigRequest
|
|
17129
17131
|
* @returns DescribeDasConfigResponse
|
|
@@ -18827,6 +18829,9 @@ class Client extends openapi_client_1.default {
|
|
|
18827
18829
|
if (!tea_util_1.default.isUnset(request.targetDBNodeId)) {
|
|
18828
18830
|
query["TargetDBNodeId"] = request.targetDBNodeId;
|
|
18829
18831
|
}
|
|
18832
|
+
if (!tea_util_1.default.isUnset(request.targetZoneType)) {
|
|
18833
|
+
query["TargetZoneType"] = request.targetZoneType;
|
|
18834
|
+
}
|
|
18830
18835
|
let req = new $OpenApi.OpenApiRequest({
|
|
18831
18836
|
query: openapi_util_1.default.query(query),
|
|
18832
18837
|
});
|