@alicloud/gpdb20160503 3.2.2 → 3.4.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.
- package/dist/client.d.ts +32 -2
- package/dist/client.js +98 -2
- package/dist/client.js.map +1 -1
- package/dist/models/ModifySupabaseAutoScalePolicyRequest.d.ts +34 -0
- package/dist/models/ModifySupabaseAutoScalePolicyRequest.js +62 -0
- package/dist/models/ModifySupabaseAutoScalePolicyRequest.js.map +1 -0
- package/dist/models/ModifySupabaseAutoScalePolicyResponse.d.ts +19 -0
- package/dist/models/ModifySupabaseAutoScalePolicyResponse.js +69 -0
- package/dist/models/ModifySupabaseAutoScalePolicyResponse.js.map +1 -0
- package/dist/models/ModifySupabaseAutoScalePolicyResponseBody.d.ts +18 -0
- package/dist/models/ModifySupabaseAutoScalePolicyResponseBody.js +58 -0
- package/dist/models/ModifySupabaseAutoScalePolicyResponseBody.js.map +1 -0
- package/dist/models/ModifySupabaseProjectResourceRequest.d.ts +44 -0
- package/dist/models/ModifySupabaseProjectResourceRequest.js +66 -0
- package/dist/models/ModifySupabaseProjectResourceRequest.js.map +1 -0
- package/dist/models/ModifySupabaseProjectResourceResponse.d.ts +19 -0
- package/dist/models/ModifySupabaseProjectResourceResponse.js +69 -0
- package/dist/models/ModifySupabaseProjectResourceResponse.js.map +1 -0
- package/dist/models/ModifySupabaseProjectResourceResponseBody.d.ts +28 -0
- package/dist/models/ModifySupabaseProjectResourceResponseBody.js +62 -0
- package/dist/models/ModifySupabaseProjectResourceResponseBody.js.map +1 -0
- package/dist/models/model.d.ts +6 -0
- package/dist/models/model.js +15 -3
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +110 -2
- package/src/models/ModifySupabaseAutoScalePolicyRequest.ts +51 -0
- package/src/models/ModifySupabaseAutoScalePolicyResponse.ts +40 -0
- package/src/models/ModifySupabaseAutoScalePolicyResponseBody.ts +31 -0
- package/src/models/ModifySupabaseProjectResourceRequest.ts +65 -0
- package/src/models/ModifySupabaseProjectResourceResponse.ts +40 -0
- package/src/models/ModifySupabaseProjectResourceResponseBody.ts +45 -0
- package/src/models/model.ts +6 -0
package/dist/client.d.ts
CHANGED
|
@@ -2840,7 +2840,7 @@ export default class Client extends OpenApi {
|
|
|
2840
2840
|
*/
|
|
2841
2841
|
getSupabaseProject(request: $_model.GetSupabaseProjectRequest): Promise<$_model.GetSupabaseProjectResponse>;
|
|
2842
2842
|
/**
|
|
2843
|
-
* Queries
|
|
2843
|
+
* Queries the API keys and JWT secrets of a Supabase instance.
|
|
2844
2844
|
*
|
|
2845
2845
|
* @remarks
|
|
2846
2846
|
* You can call this operation to query a list of API keys for a Supabase project.
|
|
@@ -2851,7 +2851,7 @@ export default class Client extends OpenApi {
|
|
|
2851
2851
|
*/
|
|
2852
2852
|
getSupabaseProjectApiKeysWithOptions(request: $_model.GetSupabaseProjectApiKeysRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetSupabaseProjectApiKeysResponse>;
|
|
2853
2853
|
/**
|
|
2854
|
-
* Queries
|
|
2854
|
+
* Queries the API keys and JWT secrets of a Supabase instance.
|
|
2855
2855
|
*
|
|
2856
2856
|
* @remarks
|
|
2857
2857
|
* You can call this operation to query a list of API keys for a Supabase project.
|
|
@@ -3858,6 +3858,36 @@ export default class Client extends OpenApi {
|
|
|
3858
3858
|
* @returns ModifyStreamingJobResponse
|
|
3859
3859
|
*/
|
|
3860
3860
|
modifyStreamingJob(request: $_model.ModifyStreamingJobRequest): Promise<$_model.ModifyStreamingJobResponse>;
|
|
3861
|
+
/**
|
|
3862
|
+
* Modify the auto pause/resume policy of Supabase.
|
|
3863
|
+
*
|
|
3864
|
+
* @param request - ModifySupabaseAutoScalePolicyRequest
|
|
3865
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3866
|
+
* @returns ModifySupabaseAutoScalePolicyResponse
|
|
3867
|
+
*/
|
|
3868
|
+
modifySupabaseAutoScalePolicyWithOptions(request: $_model.ModifySupabaseAutoScalePolicyRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ModifySupabaseAutoScalePolicyResponse>;
|
|
3869
|
+
/**
|
|
3870
|
+
* Modify the auto pause/resume policy of Supabase.
|
|
3871
|
+
*
|
|
3872
|
+
* @param request - ModifySupabaseAutoScalePolicyRequest
|
|
3873
|
+
* @returns ModifySupabaseAutoScalePolicyResponse
|
|
3874
|
+
*/
|
|
3875
|
+
modifySupabaseAutoScalePolicy(request: $_model.ModifySupabaseAutoScalePolicyRequest): Promise<$_model.ModifySupabaseAutoScalePolicyResponse>;
|
|
3876
|
+
/**
|
|
3877
|
+
* Modify the resources of a Supabase instance. You can upgrade or decrease the quota of compute resources and scale out storage resources (disk size).
|
|
3878
|
+
*
|
|
3879
|
+
* @param request - ModifySupabaseProjectResourceRequest
|
|
3880
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3881
|
+
* @returns ModifySupabaseProjectResourceResponse
|
|
3882
|
+
*/
|
|
3883
|
+
modifySupabaseProjectResourceWithOptions(request: $_model.ModifySupabaseProjectResourceRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ModifySupabaseProjectResourceResponse>;
|
|
3884
|
+
/**
|
|
3885
|
+
* Modify the resources of a Supabase instance. You can upgrade or decrease the quota of compute resources and scale out storage resources (disk size).
|
|
3886
|
+
*
|
|
3887
|
+
* @param request - ModifySupabaseProjectResourceRequest
|
|
3888
|
+
* @returns ModifySupabaseProjectResourceResponse
|
|
3889
|
+
*/
|
|
3890
|
+
modifySupabaseProjectResource(request: $_model.ModifySupabaseProjectResourceRequest): Promise<$_model.ModifySupabaseProjectResourceResponse>;
|
|
3861
3891
|
/**
|
|
3862
3892
|
* Sets or replaces the IP address whitelist for a specified Supabase project.
|
|
3863
3893
|
*
|
package/dist/client.js
CHANGED
|
@@ -9083,7 +9083,7 @@ class Client extends openapi_core_1.default {
|
|
|
9083
9083
|
return await this.getSupabaseProjectWithOptions(request, runtime);
|
|
9084
9084
|
}
|
|
9085
9085
|
/**
|
|
9086
|
-
* Queries
|
|
9086
|
+
* Queries the API keys and JWT secrets of a Supabase instance.
|
|
9087
9087
|
*
|
|
9088
9088
|
* @remarks
|
|
9089
9089
|
* You can call this operation to query a list of API keys for a Supabase project.
|
|
@@ -9118,7 +9118,7 @@ class Client extends openapi_core_1.default {
|
|
|
9118
9118
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetSupabaseProjectApiKeysResponse({}));
|
|
9119
9119
|
}
|
|
9120
9120
|
/**
|
|
9121
|
-
* Queries
|
|
9121
|
+
* Queries the API keys and JWT secrets of a Supabase instance.
|
|
9122
9122
|
*
|
|
9123
9123
|
* @remarks
|
|
9124
9124
|
* You can call this operation to query a list of API keys for a Supabase project.
|
|
@@ -12344,6 +12344,102 @@ class Client extends openapi_core_1.default {
|
|
|
12344
12344
|
let runtime = new $dara.RuntimeOptions({});
|
|
12345
12345
|
return await this.modifyStreamingJobWithOptions(request, runtime);
|
|
12346
12346
|
}
|
|
12347
|
+
/**
|
|
12348
|
+
* Modify the auto pause/resume policy of Supabase.
|
|
12349
|
+
*
|
|
12350
|
+
* @param request - ModifySupabaseAutoScalePolicyRequest
|
|
12351
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
12352
|
+
* @returns ModifySupabaseAutoScalePolicyResponse
|
|
12353
|
+
*/
|
|
12354
|
+
async modifySupabaseAutoScalePolicyWithOptions(request, runtime) {
|
|
12355
|
+
request.validate();
|
|
12356
|
+
let query = {};
|
|
12357
|
+
if (!$dara.isNull(request.autoScale)) {
|
|
12358
|
+
query["AutoScale"] = request.autoScale;
|
|
12359
|
+
}
|
|
12360
|
+
if (!$dara.isNull(request.projectId)) {
|
|
12361
|
+
query["ProjectId"] = request.projectId;
|
|
12362
|
+
}
|
|
12363
|
+
if (!$dara.isNull(request.regionId)) {
|
|
12364
|
+
query["RegionId"] = request.regionId;
|
|
12365
|
+
}
|
|
12366
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
12367
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
12368
|
+
});
|
|
12369
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
12370
|
+
action: "ModifySupabaseAutoScalePolicy",
|
|
12371
|
+
version: "2016-05-03",
|
|
12372
|
+
protocol: "HTTPS",
|
|
12373
|
+
pathname: "/",
|
|
12374
|
+
method: "POST",
|
|
12375
|
+
authType: "AK",
|
|
12376
|
+
style: "RPC",
|
|
12377
|
+
reqBodyType: "formData",
|
|
12378
|
+
bodyType: "json",
|
|
12379
|
+
});
|
|
12380
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifySupabaseAutoScalePolicyResponse({}));
|
|
12381
|
+
}
|
|
12382
|
+
/**
|
|
12383
|
+
* Modify the auto pause/resume policy of Supabase.
|
|
12384
|
+
*
|
|
12385
|
+
* @param request - ModifySupabaseAutoScalePolicyRequest
|
|
12386
|
+
* @returns ModifySupabaseAutoScalePolicyResponse
|
|
12387
|
+
*/
|
|
12388
|
+
async modifySupabaseAutoScalePolicy(request) {
|
|
12389
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
12390
|
+
return await this.modifySupabaseAutoScalePolicyWithOptions(request, runtime);
|
|
12391
|
+
}
|
|
12392
|
+
/**
|
|
12393
|
+
* Modify the resources of a Supabase instance. You can upgrade or decrease the quota of compute resources and scale out storage resources (disk size).
|
|
12394
|
+
*
|
|
12395
|
+
* @param request - ModifySupabaseProjectResourceRequest
|
|
12396
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
12397
|
+
* @returns ModifySupabaseProjectResourceResponse
|
|
12398
|
+
*/
|
|
12399
|
+
async modifySupabaseProjectResourceWithOptions(request, runtime) {
|
|
12400
|
+
request.validate();
|
|
12401
|
+
let query = {};
|
|
12402
|
+
if (!$dara.isNull(request.modifyType)) {
|
|
12403
|
+
query["ModifyType"] = request.modifyType;
|
|
12404
|
+
}
|
|
12405
|
+
if (!$dara.isNull(request.projectId)) {
|
|
12406
|
+
query["ProjectId"] = request.projectId;
|
|
12407
|
+
}
|
|
12408
|
+
if (!$dara.isNull(request.projectSpec)) {
|
|
12409
|
+
query["ProjectSpec"] = request.projectSpec;
|
|
12410
|
+
}
|
|
12411
|
+
if (!$dara.isNull(request.regionId)) {
|
|
12412
|
+
query["RegionId"] = request.regionId;
|
|
12413
|
+
}
|
|
12414
|
+
if (!$dara.isNull(request.storageSize)) {
|
|
12415
|
+
query["StorageSize"] = request.storageSize;
|
|
12416
|
+
}
|
|
12417
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
12418
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
12419
|
+
});
|
|
12420
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
12421
|
+
action: "ModifySupabaseProjectResource",
|
|
12422
|
+
version: "2016-05-03",
|
|
12423
|
+
protocol: "HTTPS",
|
|
12424
|
+
pathname: "/",
|
|
12425
|
+
method: "POST",
|
|
12426
|
+
authType: "AK",
|
|
12427
|
+
style: "RPC",
|
|
12428
|
+
reqBodyType: "formData",
|
|
12429
|
+
bodyType: "json",
|
|
12430
|
+
});
|
|
12431
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifySupabaseProjectResourceResponse({}));
|
|
12432
|
+
}
|
|
12433
|
+
/**
|
|
12434
|
+
* Modify the resources of a Supabase instance. You can upgrade or decrease the quota of compute resources and scale out storage resources (disk size).
|
|
12435
|
+
*
|
|
12436
|
+
* @param request - ModifySupabaseProjectResourceRequest
|
|
12437
|
+
* @returns ModifySupabaseProjectResourceResponse
|
|
12438
|
+
*/
|
|
12439
|
+
async modifySupabaseProjectResource(request) {
|
|
12440
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
12441
|
+
return await this.modifySupabaseProjectResourceWithOptions(request, runtime);
|
|
12442
|
+
}
|
|
12347
12443
|
/**
|
|
12348
12444
|
* Sets or replaces the IP address whitelist for a specified Supabase project.
|
|
12349
12445
|
*
|