@alicloud/polardb20170801 5.1.8 → 5.1.10
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 +77 -3
- package/dist/client.js +9 -2
- package/dist/client.js.map +1 -1
- package/package.json +3 -3
- package/src/client.ts +85 -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,7 +5405,12 @@ 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;
|
|
5413
|
+
sourceRegionId?: string;
|
|
5373
5414
|
/**
|
|
5374
5415
|
* @remarks
|
|
5375
5416
|
* Indicates whether the cross-zone disaster recovery feature is enabled. Valid values: ON OFF 0: Customer Drill Mode
|
|
@@ -7940,6 +7981,10 @@ export declare class DescribeDBProxyPerformanceResponse extends $tea.Model {
|
|
|
7940
7981
|
export declare class DescribeDasConfigRequest extends $tea.Model {
|
|
7941
7982
|
/**
|
|
7942
7983
|
* @remarks
|
|
7984
|
+
* The cluster ID.
|
|
7985
|
+
*
|
|
7986
|
+
* > 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.
|
|
7987
|
+
*
|
|
7943
7988
|
* This parameter is required.
|
|
7944
7989
|
*
|
|
7945
7990
|
* @example
|
|
@@ -7970,11 +8015,19 @@ export declare class DescribeDasConfigResponseBody extends $tea.Model {
|
|
|
7970
8015
|
*/
|
|
7971
8016
|
requestId?: string;
|
|
7972
8017
|
/**
|
|
8018
|
+
* @remarks
|
|
8019
|
+
* Indicates whether the automatic storage expansion feature is enabled for the standard cluster.
|
|
8020
|
+
*
|
|
7973
8021
|
* @example
|
|
7974
8022
|
* Enable
|
|
7975
8023
|
*/
|
|
7976
8024
|
storageAutoScale?: string;
|
|
7977
8025
|
/**
|
|
8026
|
+
* @remarks
|
|
8027
|
+
* The maximum storage capacity of the standard cluster that is scaled up. Unit: GB.
|
|
8028
|
+
*
|
|
8029
|
+
* > This parameter is returned when the StorageAutoScale parameter is set to Enable.
|
|
8030
|
+
*
|
|
7978
8031
|
* @example
|
|
7979
8032
|
* 800
|
|
7980
8033
|
*/
|
|
@@ -11336,6 +11389,7 @@ export declare class FailoverDBClusterRequest extends $tea.Model {
|
|
|
11336
11389
|
* pi-***********
|
|
11337
11390
|
*/
|
|
11338
11391
|
targetDBNodeId?: string;
|
|
11392
|
+
targetZoneType?: string;
|
|
11339
11393
|
static names(): {
|
|
11340
11394
|
[key: string]: string;
|
|
11341
11395
|
};
|
|
@@ -18008,6 +18062,10 @@ export declare class DescribeDBClusterAttributeResponseBodyDBNodes extends $tea.
|
|
|
18008
18062
|
* 6
|
|
18009
18063
|
*/
|
|
18010
18064
|
addedCpuCores?: string;
|
|
18065
|
+
/**
|
|
18066
|
+
* @example
|
|
18067
|
+
* 2
|
|
18068
|
+
*/
|
|
18011
18069
|
cpuCores?: string;
|
|
18012
18070
|
/**
|
|
18013
18071
|
* @remarks
|
|
@@ -18120,9 +18178,21 @@ export declare class DescribeDBClusterAttributeResponseBodyDBNodes extends $tea.
|
|
|
18120
18178
|
* 32000
|
|
18121
18179
|
*/
|
|
18122
18180
|
maxIOPS?: number;
|
|
18181
|
+
/**
|
|
18182
|
+
* @example
|
|
18183
|
+
* 8192
|
|
18184
|
+
*/
|
|
18123
18185
|
memorySize?: string;
|
|
18124
18186
|
mirrorInsName?: string;
|
|
18187
|
+
/**
|
|
18188
|
+
* @example
|
|
18189
|
+
* off
|
|
18190
|
+
*/
|
|
18125
18191
|
orca?: string;
|
|
18192
|
+
/**
|
|
18193
|
+
* @example
|
|
18194
|
+
* 3072
|
|
18195
|
+
*/
|
|
18126
18196
|
remoteMemorySize?: string;
|
|
18127
18197
|
/**
|
|
18128
18198
|
* @remarks
|
|
@@ -18155,6 +18225,10 @@ export declare class DescribeDBClusterAttributeResponseBodyDBNodes extends $tea.
|
|
|
18155
18225
|
* AgileServerless
|
|
18156
18226
|
*/
|
|
18157
18227
|
serverlessType?: string;
|
|
18228
|
+
/**
|
|
18229
|
+
* @example
|
|
18230
|
+
* Primary
|
|
18231
|
+
*/
|
|
18158
18232
|
subCluster?: string;
|
|
18159
18233
|
/**
|
|
18160
18234
|
* @remarks
|
|
@@ -23885,7 +23959,7 @@ export default class Client extends OpenApi {
|
|
|
23885
23959
|
*/
|
|
23886
23960
|
describeDBProxyPerformance(request: DescribeDBProxyPerformanceRequest): Promise<DescribeDBProxyPerformanceResponse>;
|
|
23887
23961
|
/**
|
|
23888
|
-
*
|
|
23962
|
+
* Queries the configurations of a cluster in Database Autonomy Service (DAS).
|
|
23889
23963
|
*
|
|
23890
23964
|
* @param request - DescribeDasConfigRequest
|
|
23891
23965
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -23893,7 +23967,7 @@ export default class Client extends OpenApi {
|
|
|
23893
23967
|
*/
|
|
23894
23968
|
describeDasConfigWithOptions(request: DescribeDasConfigRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDasConfigResponse>;
|
|
23895
23969
|
/**
|
|
23896
|
-
*
|
|
23970
|
+
* Queries the configurations of a cluster in Database Autonomy Service (DAS).
|
|
23897
23971
|
*
|
|
23898
23972
|
* @param request - DescribeDasConfigRequest
|
|
23899
23973
|
* @returns DescribeDasConfigResponse
|
package/dist/client.js
CHANGED
|
@@ -3169,6 +3169,7 @@ class DescribeDBClusterAttributeResponseBody extends $tea.Model {
|
|
|
3169
3169
|
SQLSize: 'SQLSize',
|
|
3170
3170
|
serverlessType: 'ServerlessType',
|
|
3171
3171
|
sourceDBCluster: 'SourceDBCluster',
|
|
3172
|
+
sourceRegionId: 'SourceRegionId',
|
|
3172
3173
|
standbyHAMode: 'StandbyHAMode',
|
|
3173
3174
|
storageMax: 'StorageMax',
|
|
3174
3175
|
storagePayType: 'StoragePayType',
|
|
@@ -3233,6 +3234,7 @@ class DescribeDBClusterAttributeResponseBody extends $tea.Model {
|
|
|
3233
3234
|
SQLSize: 'number',
|
|
3234
3235
|
serverlessType: 'string',
|
|
3235
3236
|
sourceDBCluster: 'string',
|
|
3237
|
+
sourceRegionId: 'string',
|
|
3236
3238
|
standbyHAMode: 'string',
|
|
3237
3239
|
storageMax: 'number',
|
|
3238
3240
|
storagePayType: 'string',
|
|
@@ -6714,6 +6716,7 @@ class FailoverDBClusterRequest extends $tea.Model {
|
|
|
6714
6716
|
resourceOwnerId: 'ResourceOwnerId',
|
|
6715
6717
|
rollBackForDisaster: 'RollBackForDisaster',
|
|
6716
6718
|
targetDBNodeId: 'TargetDBNodeId',
|
|
6719
|
+
targetZoneType: 'TargetZoneType',
|
|
6717
6720
|
};
|
|
6718
6721
|
}
|
|
6719
6722
|
static types() {
|
|
@@ -6726,6 +6729,7 @@ class FailoverDBClusterRequest extends $tea.Model {
|
|
|
6726
6729
|
resourceOwnerId: 'number',
|
|
6727
6730
|
rollBackForDisaster: 'boolean',
|
|
6728
6731
|
targetDBNodeId: 'string',
|
|
6732
|
+
targetZoneType: 'string',
|
|
6729
6733
|
};
|
|
6730
6734
|
}
|
|
6731
6735
|
constructor(map) {
|
|
@@ -17082,7 +17086,7 @@ class Client extends openapi_client_1.default {
|
|
|
17082
17086
|
return await this.describeDBProxyPerformanceWithOptions(request, runtime);
|
|
17083
17087
|
}
|
|
17084
17088
|
/**
|
|
17085
|
-
*
|
|
17089
|
+
* Queries the configurations of a cluster in Database Autonomy Service (DAS).
|
|
17086
17090
|
*
|
|
17087
17091
|
* @param request - DescribeDasConfigRequest
|
|
17088
17092
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -17123,7 +17127,7 @@ class Client extends openapi_client_1.default {
|
|
|
17123
17127
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDasConfigResponse({}));
|
|
17124
17128
|
}
|
|
17125
17129
|
/**
|
|
17126
|
-
*
|
|
17130
|
+
* Queries the configurations of a cluster in Database Autonomy Service (DAS).
|
|
17127
17131
|
*
|
|
17128
17132
|
* @param request - DescribeDasConfigRequest
|
|
17129
17133
|
* @returns DescribeDasConfigResponse
|
|
@@ -18827,6 +18831,9 @@ class Client extends openapi_client_1.default {
|
|
|
18827
18831
|
if (!tea_util_1.default.isUnset(request.targetDBNodeId)) {
|
|
18828
18832
|
query["TargetDBNodeId"] = request.targetDBNodeId;
|
|
18829
18833
|
}
|
|
18834
|
+
if (!tea_util_1.default.isUnset(request.targetZoneType)) {
|
|
18835
|
+
query["TargetZoneType"] = request.targetZoneType;
|
|
18836
|
+
}
|
|
18830
18837
|
let req = new $OpenApi.OpenApiRequest({
|
|
18831
18838
|
query: openapi_util_1.default.query(query),
|
|
18832
18839
|
});
|