@alicloud/gpdb20160503 3.13.0 → 3.13.2
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 +16 -16
- package/dist/client.js +31 -40
- package/dist/client.js.map +1 -1
- package/dist/models/GetSupabaseProjectResponseBody.d.ts +31 -14
- package/dist/models/GetSupabaseProjectResponseBody.js +2 -0
- package/dist/models/GetSupabaseProjectResponseBody.js.map +1 -1
- package/dist/models/ModifyMasterSpecRequest.d.ts +25 -16
- package/dist/models/ModifyMasterSpecRequest.js +2 -0
- package/dist/models/ModifyMasterSpecRequest.js.map +1 -1
- package/dist/models/ModifyMasterSpecResponseBody.d.ts +5 -6
- package/dist/models/ModifyMasterSpecResponseBody.js.map +1 -1
- package/dist/models/ModifySupabaseAutoScalePolicyRequest.d.ts +12 -2
- package/dist/models/ModifySupabaseAutoScalePolicyRequest.js +2 -0
- package/dist/models/ModifySupabaseAutoScalePolicyRequest.js.map +1 -1
- package/dist/models/ResetSupabaseProjectPasswordRequest.d.ts +12 -7
- package/dist/models/ResetSupabaseProjectPasswordRequest.js +2 -0
- package/dist/models/ResetSupabaseProjectPasswordRequest.js.map +1 -1
- package/dist/models/ResetSupabaseProjectPasswordResponseBody.d.ts +1 -1
- package/dist/models/UpgradeDbinstanceRequest.d.ts +5 -0
- package/dist/models/UpgradeDbinstanceRequest.js +2 -0
- package/dist/models/UpgradeDbinstanceRequest.js.map +1 -1
- package/dist/models/UpgradeDbversionRequest.d.ts +20 -6
- package/dist/models/UpgradeDbversionRequest.js +2 -0
- package/dist/models/UpgradeDbversionRequest.js.map +1 -1
- package/dist/models/UpgradeDbversionResponseBody.d.ts +4 -4
- package/package.json +1 -1
- package/src/client.ts +36 -40
- package/src/models/GetSupabaseProjectResponseBody.ts +33 -14
- package/src/models/ModifyMasterSpecRequest.ts +27 -16
- package/src/models/ModifyMasterSpecResponseBody.ts +5 -6
- package/src/models/ModifySupabaseAutoScalePolicyRequest.ts +14 -2
- package/src/models/ResetSupabaseProjectPasswordRequest.ts +14 -7
- package/src/models/ResetSupabaseProjectPasswordResponseBody.ts +1 -1
- package/src/models/UpgradeDbinstanceRequest.ts +7 -0
- package/src/models/UpgradeDbversionRequest.ts +22 -6
- package/src/models/UpgradeDbversionResponseBody.ts +4 -4
package/dist/client.d.ts
CHANGED
|
@@ -4313,11 +4313,11 @@ export default class Client extends OpenApi {
|
|
|
4313
4313
|
*/
|
|
4314
4314
|
modifyJDBCDataSource(request: $_model.ModifyJDBCDataSourceRequest): Promise<$_model.ModifyJDBCDataSourceResponse>;
|
|
4315
4315
|
/**
|
|
4316
|
-
*
|
|
4316
|
+
* Modifies the master node specifications.
|
|
4317
4317
|
*
|
|
4318
4318
|
* @remarks
|
|
4319
|
-
* This operation
|
|
4320
|
-
* Before you call this operation, make sure that you
|
|
4319
|
+
* This operation does not support instances in storage reservation mode.
|
|
4320
|
+
* Before you call this operation, make sure that you fully understand the [billing methods](https://help.aliyun.com/document_detail/35406.html) and <props="china">[pricing](https://www.aliyun.com/price/product#/gpdb/detail/GreenplumPost)<props="intl">[pricing](https://www.alibabacloud.com/zh/product/hybriddb-postgresql/pricing) of AnalyticDB for PostgreSQL.
|
|
4321
4321
|
*
|
|
4322
4322
|
* @param request - ModifyMasterSpecRequest
|
|
4323
4323
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4325,11 +4325,11 @@ export default class Client extends OpenApi {
|
|
|
4325
4325
|
*/
|
|
4326
4326
|
modifyMasterSpecWithOptions(request: $_model.ModifyMasterSpecRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ModifyMasterSpecResponse>;
|
|
4327
4327
|
/**
|
|
4328
|
-
*
|
|
4328
|
+
* Modifies the master node specifications.
|
|
4329
4329
|
*
|
|
4330
4330
|
* @remarks
|
|
4331
|
-
* This operation
|
|
4332
|
-
* Before you call this operation, make sure that you
|
|
4331
|
+
* This operation does not support instances in storage reservation mode.
|
|
4332
|
+
* Before you call this operation, make sure that you fully understand the [billing methods](https://help.aliyun.com/document_detail/35406.html) and <props="china">[pricing](https://www.aliyun.com/price/product#/gpdb/detail/GreenplumPost)<props="intl">[pricing](https://www.alibabacloud.com/zh/product/hybriddb-postgresql/pricing) of AnalyticDB for PostgreSQL.
|
|
4333
4333
|
*
|
|
4334
4334
|
* @param request - ModifyMasterSpecRequest
|
|
4335
4335
|
* @returns ModifyMasterSpecResponse
|
|
@@ -4490,10 +4490,10 @@ export default class Client extends OpenApi {
|
|
|
4490
4490
|
*/
|
|
4491
4491
|
modifyStreamingJob(request: $_model.ModifyStreamingJobRequest): Promise<$_model.ModifyStreamingJobResponse>;
|
|
4492
4492
|
/**
|
|
4493
|
-
* Modifies the
|
|
4493
|
+
* Modifies the auto start/stop policy for a Supabase instance.
|
|
4494
4494
|
*
|
|
4495
4495
|
* @remarks
|
|
4496
|
-
* - Only
|
|
4496
|
+
* - Only AnalyticDB for PostgreSQL Supabase instances are supported.
|
|
4497
4497
|
*
|
|
4498
4498
|
* @param request - ModifySupabaseAutoScalePolicyRequest
|
|
4499
4499
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4501,10 +4501,10 @@ export default class Client extends OpenApi {
|
|
|
4501
4501
|
*/
|
|
4502
4502
|
modifySupabaseAutoScalePolicyWithOptions(request: $_model.ModifySupabaseAutoScalePolicyRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ModifySupabaseAutoScalePolicyResponse>;
|
|
4503
4503
|
/**
|
|
4504
|
-
* Modifies the
|
|
4504
|
+
* Modifies the auto start/stop policy for a Supabase instance.
|
|
4505
4505
|
*
|
|
4506
4506
|
* @remarks
|
|
4507
|
-
* - Only
|
|
4507
|
+
* - Only AnalyticDB for PostgreSQL Supabase instances are supported.
|
|
4508
4508
|
*
|
|
4509
4509
|
* @param request - ModifySupabaseAutoScalePolicyRequest
|
|
4510
4510
|
* @returns ModifySupabaseAutoScalePolicyResponse
|
|
@@ -4817,10 +4817,10 @@ export default class Client extends OpenApi {
|
|
|
4817
4817
|
*/
|
|
4818
4818
|
resetIMVMonitorData(request: $_model.ResetIMVMonitorDataRequest): Promise<$_model.ResetIMVMonitorDataResponse>;
|
|
4819
4819
|
/**
|
|
4820
|
-
*
|
|
4820
|
+
* Resets the password of a Supabase database.
|
|
4821
4821
|
*
|
|
4822
4822
|
* @remarks
|
|
4823
|
-
*
|
|
4823
|
+
* Resets the password of a Supabase database.
|
|
4824
4824
|
*
|
|
4825
4825
|
* @param request - ResetSupabaseProjectPasswordRequest
|
|
4826
4826
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4828,10 +4828,10 @@ export default class Client extends OpenApi {
|
|
|
4828
4828
|
*/
|
|
4829
4829
|
resetSupabaseProjectPasswordWithOptions(request: $_model.ResetSupabaseProjectPasswordRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ResetSupabaseProjectPasswordResponse>;
|
|
4830
4830
|
/**
|
|
4831
|
-
*
|
|
4831
|
+
* Resets the password of a Supabase database.
|
|
4832
4832
|
*
|
|
4833
4833
|
* @remarks
|
|
4834
|
-
*
|
|
4834
|
+
* Resets the password of a Supabase database.
|
|
4835
4835
|
*
|
|
4836
4836
|
* @param request - ResetSupabaseProjectPasswordRequest
|
|
4837
4837
|
* @returns ResetSupabaseProjectPasswordResponse
|
|
@@ -5353,7 +5353,7 @@ export default class Client extends OpenApi {
|
|
|
5353
5353
|
*/
|
|
5354
5354
|
upgradeDBInstance(request: $_model.UpgradeDBInstanceRequest): Promise<$_model.UpgradeDBInstanceResponse>;
|
|
5355
5355
|
/**
|
|
5356
|
-
* Upgrades the minor version of
|
|
5356
|
+
* Upgrades the minor engine version of a specified AnalyticDB for PostgreSQL instance.
|
|
5357
5357
|
*
|
|
5358
5358
|
* @param request - UpgradeDBVersionRequest
|
|
5359
5359
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5361,7 +5361,7 @@ export default class Client extends OpenApi {
|
|
|
5361
5361
|
*/
|
|
5362
5362
|
upgradeDBVersionWithOptions(request: $_model.UpgradeDBVersionRequest, runtime: $dara.RuntimeOptions): Promise<$_model.UpgradeDBVersionResponse>;
|
|
5363
5363
|
/**
|
|
5364
|
-
* Upgrades the minor version of
|
|
5364
|
+
* Upgrades the minor engine version of a specified AnalyticDB for PostgreSQL instance.
|
|
5365
5365
|
*
|
|
5366
5366
|
* @param request - UpgradeDBVersionRequest
|
|
5367
5367
|
* @returns UpgradeDBVersionResponse
|
package/dist/client.js
CHANGED
|
@@ -103,30 +103,6 @@ class Client extends openapi_core_1.default {
|
|
|
103
103
|
'cn-zhengzhou-nebula-1': "gpdb.aliyuncs.com",
|
|
104
104
|
'eu-west-1-oxs': "gpdb.aliyuncs.com",
|
|
105
105
|
'rus-west-1-pop': "gpdb.aliyuncs.com",
|
|
106
|
-
'cn-wulanchabu': "gpdb.cn-wulanchabu.aliyuncs.com",
|
|
107
|
-
'cn-beijing': "gpdb.cn-beijing.aliyuncs.com",
|
|
108
|
-
'cn-qingdao': "gpdb.cn-qingdao.aliyuncs.com",
|
|
109
|
-
'cn-shanghai': "gpdb.cn-shanghai.aliyuncs.com",
|
|
110
|
-
'cn-hongkong': "gpdb.cn-hongkong.aliyuncs.com",
|
|
111
|
-
'cn-zhangjiakou': "gpdb.cn-zhangjiakou.aliyuncs.com",
|
|
112
|
-
'cn-shenzhen': "gpdb.cn-shenzhen.aliyuncs.com",
|
|
113
|
-
'ap-northeast-2': "gpdb.ap-northeast-2.aliyuncs.com",
|
|
114
|
-
'ap-northeast-1': "gpdb.ap-northeast-1.aliyuncs.com",
|
|
115
|
-
'cn-chengdu': "gpdb.cn-chengdu.aliyuncs.com",
|
|
116
|
-
'ap-southeast-1': "gpdb.ap-southeast-1.aliyuncs.com",
|
|
117
|
-
'ap-southeast-3': "gpdb.ap-southeast-3.aliyuncs.com",
|
|
118
|
-
'cn-huhehaote': "gpdb.cn-huhehaote.aliyuncs.com",
|
|
119
|
-
'ap-southeast-5': "gpdb.ap-southeast-5.aliyuncs.com",
|
|
120
|
-
'ap-southeast-7': "gpdb.ap-southeast-7.aliyuncs.com",
|
|
121
|
-
'us-east-1': "gpdb.us-east-1.aliyuncs.com",
|
|
122
|
-
'eu-west-1': "gpdb.eu-west-1.aliyuncs.com",
|
|
123
|
-
'us-west-1': "gpdb.us-west-1.aliyuncs.com",
|
|
124
|
-
'eu-central-1': "gpdb.eu-central-1.aliyuncs.com",
|
|
125
|
-
'me-east-1': "gpdb.me-east-1.aliyuncs.com",
|
|
126
|
-
'me-central-1': "gpdb.me-central-1.aliyuncs.com",
|
|
127
|
-
'cn-shenzhen-finance-1': "gpdb.cn-shenzhen-finance-1.aliyuncs.com",
|
|
128
|
-
'cn-shanghai-finance-1': "gpdb.cn-shanghai-finance-1.aliyuncs.com",
|
|
129
|
-
'cn-north-2-gov-1': "gpdb.cn-north-2-gov-1.aliyuncs.com",
|
|
130
106
|
};
|
|
131
107
|
this.checkConfig(config);
|
|
132
108
|
this._endpoint = this.getEndpoint("gpdb", this._regionId, this._endpointRule, this._network, this._suffix, this._endpointMap, this._endpoint);
|
|
@@ -13498,11 +13474,11 @@ class Client extends openapi_core_1.default {
|
|
|
13498
13474
|
return await this.modifyJDBCDataSourceWithOptions(request, runtime);
|
|
13499
13475
|
}
|
|
13500
13476
|
/**
|
|
13501
|
-
*
|
|
13477
|
+
* Modifies the master node specifications.
|
|
13502
13478
|
*
|
|
13503
13479
|
* @remarks
|
|
13504
|
-
* This operation
|
|
13505
|
-
* Before you call this operation, make sure that you
|
|
13480
|
+
* This operation does not support instances in storage reservation mode.
|
|
13481
|
+
* Before you call this operation, make sure that you fully understand the [billing methods](https://help.aliyun.com/document_detail/35406.html) and <props="china">[pricing](https://www.aliyun.com/price/product#/gpdb/detail/GreenplumPost)<props="intl">[pricing](https://www.alibabacloud.com/zh/product/hybriddb-postgresql/pricing) of AnalyticDB for PostgreSQL.
|
|
13506
13482
|
*
|
|
13507
13483
|
* @param request - ModifyMasterSpecRequest
|
|
13508
13484
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -13517,6 +13493,9 @@ class Client extends openapi_core_1.default {
|
|
|
13517
13493
|
if (!$dara.isNull(request.DBInstanceId)) {
|
|
13518
13494
|
query["DBInstanceId"] = request.DBInstanceId;
|
|
13519
13495
|
}
|
|
13496
|
+
if (!$dara.isNull(request.effectiveTime)) {
|
|
13497
|
+
query["EffectiveTime"] = request.effectiveTime;
|
|
13498
|
+
}
|
|
13520
13499
|
if (!$dara.isNull(request.masterAISpec)) {
|
|
13521
13500
|
query["MasterAISpec"] = request.masterAISpec;
|
|
13522
13501
|
}
|
|
@@ -13543,11 +13522,11 @@ class Client extends openapi_core_1.default {
|
|
|
13543
13522
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyMasterSpecResponse({}));
|
|
13544
13523
|
}
|
|
13545
13524
|
/**
|
|
13546
|
-
*
|
|
13525
|
+
* Modifies the master node specifications.
|
|
13547
13526
|
*
|
|
13548
13527
|
* @remarks
|
|
13549
|
-
* This operation
|
|
13550
|
-
* Before you call this operation, make sure that you
|
|
13528
|
+
* This operation does not support instances in storage reservation mode.
|
|
13529
|
+
* Before you call this operation, make sure that you fully understand the [billing methods](https://help.aliyun.com/document_detail/35406.html) and <props="china">[pricing](https://www.aliyun.com/price/product#/gpdb/detail/GreenplumPost)<props="intl">[pricing](https://www.alibabacloud.com/zh/product/hybriddb-postgresql/pricing) of AnalyticDB for PostgreSQL.
|
|
13551
13530
|
*
|
|
13552
13531
|
* @param request - ModifyMasterSpecRequest
|
|
13553
13532
|
* @returns ModifyMasterSpecResponse
|
|
@@ -14043,10 +14022,10 @@ class Client extends openapi_core_1.default {
|
|
|
14043
14022
|
return await this.modifyStreamingJobWithOptions(request, runtime);
|
|
14044
14023
|
}
|
|
14045
14024
|
/**
|
|
14046
|
-
* Modifies the
|
|
14025
|
+
* Modifies the auto start/stop policy for a Supabase instance.
|
|
14047
14026
|
*
|
|
14048
14027
|
* @remarks
|
|
14049
|
-
* - Only
|
|
14028
|
+
* - Only AnalyticDB for PostgreSQL Supabase instances are supported.
|
|
14050
14029
|
*
|
|
14051
14030
|
* @param request - ModifySupabaseAutoScalePolicyRequest
|
|
14052
14031
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -14058,6 +14037,9 @@ class Client extends openapi_core_1.default {
|
|
|
14058
14037
|
if (!$dara.isNull(request.autoScale)) {
|
|
14059
14038
|
query["AutoScale"] = request.autoScale;
|
|
14060
14039
|
}
|
|
14040
|
+
if (!$dara.isNull(request.idleTimeHours)) {
|
|
14041
|
+
query["IdleTimeHours"] = request.idleTimeHours;
|
|
14042
|
+
}
|
|
14061
14043
|
if (!$dara.isNull(request.projectId)) {
|
|
14062
14044
|
query["ProjectId"] = request.projectId;
|
|
14063
14045
|
}
|
|
@@ -14081,10 +14063,10 @@ class Client extends openapi_core_1.default {
|
|
|
14081
14063
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifySupabaseAutoScalePolicyResponse({}));
|
|
14082
14064
|
}
|
|
14083
14065
|
/**
|
|
14084
|
-
* Modifies the
|
|
14066
|
+
* Modifies the auto start/stop policy for a Supabase instance.
|
|
14085
14067
|
*
|
|
14086
14068
|
* @remarks
|
|
14087
|
-
* - Only
|
|
14069
|
+
* - Only AnalyticDB for PostgreSQL Supabase instances are supported.
|
|
14088
14070
|
*
|
|
14089
14071
|
* @param request - ModifySupabaseAutoScalePolicyRequest
|
|
14090
14072
|
* @returns ModifySupabaseAutoScalePolicyResponse
|
|
@@ -15199,10 +15181,10 @@ class Client extends openapi_core_1.default {
|
|
|
15199
15181
|
return await this.resetIMVMonitorDataWithOptions(request, runtime);
|
|
15200
15182
|
}
|
|
15201
15183
|
/**
|
|
15202
|
-
*
|
|
15184
|
+
* Resets the password of a Supabase database.
|
|
15203
15185
|
*
|
|
15204
15186
|
* @remarks
|
|
15205
|
-
*
|
|
15187
|
+
* Resets the password of a Supabase database.
|
|
15206
15188
|
*
|
|
15207
15189
|
* @param request - ResetSupabaseProjectPasswordRequest
|
|
15208
15190
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -15214,6 +15196,9 @@ class Client extends openapi_core_1.default {
|
|
|
15214
15196
|
if (!$dara.isNull(request.accountPassword)) {
|
|
15215
15197
|
query["AccountPassword"] = request.accountPassword;
|
|
15216
15198
|
}
|
|
15199
|
+
if (!$dara.isNull(request.dashboardPassword)) {
|
|
15200
|
+
query["DashboardPassword"] = request.dashboardPassword;
|
|
15201
|
+
}
|
|
15217
15202
|
if (!$dara.isNull(request.projectId)) {
|
|
15218
15203
|
query["ProjectId"] = request.projectId;
|
|
15219
15204
|
}
|
|
@@ -15237,10 +15222,10 @@ class Client extends openapi_core_1.default {
|
|
|
15237
15222
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ResetSupabaseProjectPasswordResponse({}));
|
|
15238
15223
|
}
|
|
15239
15224
|
/**
|
|
15240
|
-
*
|
|
15225
|
+
* Resets the password of a Supabase database.
|
|
15241
15226
|
*
|
|
15242
15227
|
* @remarks
|
|
15243
|
-
*
|
|
15228
|
+
* Resets the password of a Supabase database.
|
|
15244
15229
|
*
|
|
15245
15230
|
* @param request - ResetSupabaseProjectPasswordRequest
|
|
15246
15231
|
* @returns ResetSupabaseProjectPasswordResponse
|
|
@@ -16637,6 +16622,9 @@ class Client extends openapi_core_1.default {
|
|
|
16637
16622
|
if (!$dara.isNull(request.DBInstanceId)) {
|
|
16638
16623
|
query["DBInstanceId"] = request.DBInstanceId;
|
|
16639
16624
|
}
|
|
16625
|
+
if (!$dara.isNull(request.effectiveTime)) {
|
|
16626
|
+
query["EffectiveTime"] = request.effectiveTime;
|
|
16627
|
+
}
|
|
16640
16628
|
if (!$dara.isNull(request.instanceSpec)) {
|
|
16641
16629
|
query["InstanceSpec"] = request.instanceSpec;
|
|
16642
16630
|
}
|
|
@@ -16704,7 +16692,7 @@ class Client extends openapi_core_1.default {
|
|
|
16704
16692
|
return await this.upgradeDBInstanceWithOptions(request, runtime);
|
|
16705
16693
|
}
|
|
16706
16694
|
/**
|
|
16707
|
-
* Upgrades the minor version of
|
|
16695
|
+
* Upgrades the minor engine version of a specified AnalyticDB for PostgreSQL instance.
|
|
16708
16696
|
*
|
|
16709
16697
|
* @param request - UpgradeDBVersionRequest
|
|
16710
16698
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -16716,6 +16704,9 @@ class Client extends openapi_core_1.default {
|
|
|
16716
16704
|
if (!$dara.isNull(request.DBInstanceId)) {
|
|
16717
16705
|
query["DBInstanceId"] = request.DBInstanceId;
|
|
16718
16706
|
}
|
|
16707
|
+
if (!$dara.isNull(request.effectiveTime)) {
|
|
16708
|
+
query["EffectiveTime"] = request.effectiveTime;
|
|
16709
|
+
}
|
|
16719
16710
|
if (!$dara.isNull(request.majorVersion)) {
|
|
16720
16711
|
query["MajorVersion"] = request.majorVersion;
|
|
16721
16712
|
}
|
|
@@ -16751,7 +16742,7 @@ class Client extends openapi_core_1.default {
|
|
|
16751
16742
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpgradeDBVersionResponse({}));
|
|
16752
16743
|
}
|
|
16753
16744
|
/**
|
|
16754
|
-
* Upgrades the minor version of
|
|
16745
|
+
* Upgrades the minor engine version of a specified AnalyticDB for PostgreSQL instance.
|
|
16755
16746
|
*
|
|
16756
16747
|
* @param request - UpgradeDBVersionRequest
|
|
16757
16748
|
* @returns UpgradeDBVersionResponse
|