@alicloud/polardb20170801 7.4.0 → 7.6.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 +66 -40
- package/dist/client.js +245 -40
- package/dist/client.js.map +1 -1
- package/dist/models/CreateAidbclusterTaskRequest.d.ts +13 -17
- package/dist/models/CreateAidbclusterTaskRequest.js +2 -0
- package/dist/models/CreateAidbclusterTaskRequest.js.map +1 -1
- package/dist/models/CreateAidbclusterTaskResponseBody.d.ts +2 -2
- package/dist/models/CreateBackupRequest.d.ts +2 -1
- package/dist/models/CreateBackupRequest.js +2 -0
- package/dist/models/CreateBackupRequest.js.map +1 -1
- package/dist/models/CreateBackupResponseBody.d.ts +1 -1
- package/dist/models/DescribeAidbclusterAttributeResponseBody.d.ts +91 -18
- package/dist/models/DescribeAidbclusterAttributeResponseBody.js +127 -1
- package/dist/models/DescribeAidbclusterAttributeResponseBody.js.map +1 -1
- package/dist/models/DescribeAidbclusterTaskAttributeRequest.d.ts +3 -3
- package/dist/models/DescribeAidbclusterTaskAttributeResponseBody.d.ts +37 -45
- package/dist/models/DescribeAidbclusterTaskAttributeResponseBody.js +2 -0
- package/dist/models/DescribeAidbclusterTaskAttributeResponseBody.js.map +1 -1
- package/dist/models/DescribeAidbclusterTasksRequest.d.ts +2 -2
- package/dist/models/DescribeAidbclusterTasksResponseBody.d.ts +18 -17
- package/dist/models/DescribeAidbclusterTasksResponseBody.js +2 -0
- package/dist/models/DescribeAidbclusterTasksResponseBody.js.map +1 -1
- package/dist/models/DescribeApplicationLogsRequest.d.ts +10 -10
- package/dist/models/DescribeApplicationLogsResponseBody.d.ts +4 -6
- package/dist/models/DescribeApplicationLogsResponseBody.js +4 -0
- package/dist/models/DescribeApplicationLogsResponseBody.js.map +1 -1
- package/dist/models/DescribeApplicationPerformanceRequest.d.ts +4 -0
- package/dist/models/DescribeApplicationPerformanceRequest.js +8 -0
- package/dist/models/DescribeApplicationPerformanceRequest.js.map +1 -1
- package/dist/models/DescribeApplicationPerformanceResponseBody.d.ts +2 -0
- package/dist/models/DescribeApplicationPerformanceResponseBody.js +4 -0
- package/dist/models/DescribeApplicationPerformanceResponseBody.js.map +1 -1
- package/dist/models/DescribeApplicationSessionIdsRequest.d.ts +72 -0
- package/dist/models/DescribeApplicationSessionIdsRequest.js +74 -0
- package/dist/models/DescribeApplicationSessionIdsRequest.js.map +1 -0
- package/dist/models/DescribeApplicationSessionIdsResponse.d.ts +19 -0
- package/dist/models/DescribeApplicationSessionIdsResponse.js +69 -0
- package/dist/models/DescribeApplicationSessionIdsResponse.js.map +1 -0
- package/dist/models/DescribeApplicationSessionIdsResponseBody.d.ts +82 -0
- package/dist/models/DescribeApplicationSessionIdsResponseBody.js +116 -0
- package/dist/models/DescribeApplicationSessionIdsResponseBody.js.map +1 -0
- package/dist/models/DescribeAvailableModelsRequest.d.ts +1 -1
- package/dist/models/DescribeAvailableModelsResponseBody.d.ts +7 -6
- package/dist/models/DescribeAvailableModelsResponseBody.js +2 -0
- package/dist/models/DescribeAvailableModelsResponseBody.js.map +1 -1
- package/dist/models/DescribeBackupsRequest.d.ts +12 -19
- package/dist/models/DescribeBackupsRequest.js.map +1 -1
- package/dist/models/DescribeBackupsResponseBody.d.ts +5 -7
- package/dist/models/DescribeBackupsResponseBody.js +2 -0
- package/dist/models/DescribeBackupsResponseBody.js.map +1 -1
- package/dist/models/DescribeBudgetPoliciesRequest.d.ts +10 -14
- package/dist/models/DescribeBudgetPoliciesRequest.js +2 -0
- package/dist/models/DescribeBudgetPoliciesRequest.js.map +1 -1
- package/dist/models/DescribeBudgetPoliciesResponseBody.d.ts +18 -22
- package/dist/models/DescribeBudgetPoliciesResponseBody.js.map +1 -1
- package/dist/models/DescribeConsumersRequest.d.ts +10 -10
- package/dist/models/DescribeConsumersRequest.js +4 -0
- package/dist/models/DescribeConsumersRequest.js.map +1 -1
- package/dist/models/DescribeConsumersResponseBody.d.ts +17 -17
- package/dist/models/DescribeDbclusterAccessWhitelistRequest.d.ts +5 -0
- package/dist/models/DescribeDbclusterAccessWhitelistRequest.js +2 -0
- package/dist/models/DescribeDbclusterAccessWhitelistRequest.js.map +1 -1
- package/dist/models/DescribeDbclusterAttributeResponseBody.d.ts +84 -79
- package/dist/models/DescribeDbclusterAttributeResponseBody.js +10 -0
- package/dist/models/DescribeDbclusterAttributeResponseBody.js.map +1 -1
- package/dist/models/DescribeDbclusterPriceRequest.d.ts +244 -0
- package/dist/models/DescribeDbclusterPriceRequest.js +125 -0
- package/dist/models/DescribeDbclusterPriceRequest.js.map +1 -0
- package/dist/models/DescribeDbclusterPriceResponse.d.ts +19 -0
- package/dist/models/DescribeDbclusterPriceResponse.js +69 -0
- package/dist/models/DescribeDbclusterPriceResponse.js.map +1 -0
- package/dist/models/DescribeDbclusterPriceResponseBody.d.ts +161 -0
- package/dist/models/DescribeDbclusterPriceResponseBody.js +217 -0
- package/dist/models/DescribeDbclusterPriceResponseBody.js.map +1 -0
- package/dist/models/DescribeDbclusterPriceShrinkRequest.d.ts +216 -0
- package/dist/models/DescribeDbclusterPriceShrinkRequest.js +101 -0
- package/dist/models/DescribeDbclusterPriceShrinkRequest.js.map +1 -0
- package/dist/models/DescribeDbclusterSslrequest.d.ts +6 -2
- package/dist/models/DescribeDbclusterSslrequest.js +2 -0
- package/dist/models/DescribeDbclusterSslrequest.js.map +1 -1
- package/dist/models/DescribeDbclusterSslresponseBody.d.ts +13 -14
- package/dist/models/DescribeDbclusterSslresponseBody.js.map +1 -1
- package/dist/models/DescribePolarFsAttributeResponseBody.d.ts +75 -19
- package/dist/models/DescribePolarFsAttributeResponseBody.js +73 -1
- package/dist/models/DescribePolarFsAttributeResponseBody.js.map +1 -1
- package/dist/models/DescribePolarFsRequest.d.ts +39 -0
- package/dist/models/DescribePolarFsRequest.js.map +1 -1
- package/dist/models/DescribePolarFsResponseBody.d.ts +12 -0
- package/dist/models/DescribePolarFsResponseBody.js.map +1 -1
- package/dist/models/ModifyDbclusterAccessWhitelistRequest.d.ts +27 -32
- package/dist/models/ModifyDbclusterAccessWhitelistRequest.js +2 -0
- package/dist/models/ModifyDbclusterAccessWhitelistRequest.js.map +1 -1
- package/dist/models/ModifyDbclusterSslrequest.d.ts +28 -27
- package/dist/models/ModifyDbclusterSslrequest.js +4 -0
- package/dist/models/ModifyDbclusterSslrequest.js.map +1 -1
- package/dist/models/model.d.ts +23 -0
- package/dist/models/model.js +86 -40
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +294 -40
- package/src/models/CreateAidbclusterTaskRequest.ts +15 -17
- package/src/models/CreateAidbclusterTaskResponseBody.ts +2 -2
- package/src/models/CreateBackupRequest.ts +4 -1
- package/src/models/CreateBackupResponseBody.ts +1 -1
- package/src/models/DescribeAidbclusterAttributeResponseBody.ts +172 -18
- package/src/models/DescribeAidbclusterTaskAttributeRequest.ts +3 -3
- package/src/models/DescribeAidbclusterTaskAttributeResponseBody.ts +39 -45
- package/src/models/DescribeAidbclusterTasksRequest.ts +2 -2
- package/src/models/DescribeAidbclusterTasksResponseBody.ts +20 -17
- package/src/models/DescribeApplicationLogsRequest.ts +10 -10
- package/src/models/DescribeApplicationLogsResponseBody.ts +8 -6
- package/src/models/DescribeApplicationPerformanceRequest.ts +12 -0
- package/src/models/DescribeApplicationPerformanceResponseBody.ts +6 -0
- package/src/models/DescribeApplicationSessionIdsRequest.ts +101 -0
- package/src/models/DescribeApplicationSessionIdsResponse.ts +40 -0
- package/src/models/DescribeApplicationSessionIdsResponseBody.ts +135 -0
- package/src/models/DescribeAvailableModelsRequest.ts +1 -1
- package/src/models/DescribeAvailableModelsResponseBody.ts +9 -6
- package/src/models/DescribeBackupsRequest.ts +14 -21
- package/src/models/DescribeBackupsResponseBody.ts +7 -7
- package/src/models/DescribeBudgetPoliciesRequest.ts +13 -15
- package/src/models/DescribeBudgetPoliciesResponseBody.ts +19 -23
- package/src/models/DescribeConsumersRequest.ts +14 -10
- package/src/models/DescribeConsumersResponseBody.ts +17 -17
- package/src/models/DescribeDbclusterAccessWhitelistRequest.ts +7 -0
- package/src/models/DescribeDbclusterAttributeResponseBody.ts +94 -79
- package/src/models/DescribeDbclusterPriceRequest.ts +315 -0
- package/src/models/DescribeDbclusterPriceResponse.ts +40 -0
- package/src/models/DescribeDbclusterPriceResponseBody.ts +279 -0
- package/src/models/DescribeDbclusterPriceShrinkRequest.ts +272 -0
- package/src/models/DescribeDbclusterSslrequest.ts +8 -2
- package/src/models/DescribeDbclusterSslresponseBody.ts +13 -14
- package/src/models/DescribePolarFsAttributeResponseBody.ts +129 -19
- package/src/models/DescribePolarFsRequest.ts +39 -0
- package/src/models/DescribePolarFsResponseBody.ts +12 -0
- package/src/models/ModifyDbclusterAccessWhitelistRequest.ts +29 -32
- package/src/models/ModifyDbclusterSslrequest.ts +32 -27
- package/src/models/model.ts +23 -0
package/src/client.ts
CHANGED
|
@@ -2070,7 +2070,7 @@ export default class Client extends OpenApi {
|
|
|
2070
2070
|
}
|
|
2071
2071
|
|
|
2072
2072
|
/**
|
|
2073
|
-
* Creates a model operator instance.
|
|
2073
|
+
* Creates a model creation operator instance.
|
|
2074
2074
|
*
|
|
2075
2075
|
* @param request - CreateAIDBClusterTaskRequest
|
|
2076
2076
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2143,6 +2143,10 @@ export default class Client extends OpenApi {
|
|
|
2143
2143
|
query["TaskName"] = request.taskName;
|
|
2144
2144
|
}
|
|
2145
2145
|
|
|
2146
|
+
if (!$dara.isNull(request.tuneArch)) {
|
|
2147
|
+
query["TuneArch"] = request.tuneArch;
|
|
2148
|
+
}
|
|
2149
|
+
|
|
2146
2150
|
if (!$dara.isNull(request.VPCId)) {
|
|
2147
2151
|
query["VPCId"] = request.VPCId;
|
|
2148
2152
|
}
|
|
@@ -2173,7 +2177,7 @@ export default class Client extends OpenApi {
|
|
|
2173
2177
|
}
|
|
2174
2178
|
|
|
2175
2179
|
/**
|
|
2176
|
-
* Creates a model operator instance.
|
|
2180
|
+
* Creates a model creation operator instance.
|
|
2177
2181
|
*
|
|
2178
2182
|
* @param request - CreateAIDBClusterTaskRequest
|
|
2179
2183
|
* @returns CreateAIDBClusterTaskResponse
|
|
@@ -3001,11 +3005,9 @@ export default class Client extends OpenApi {
|
|
|
3001
3005
|
* Creates a full snapshot backup for a PolarDB cluster.
|
|
3002
3006
|
*
|
|
3003
3007
|
* @remarks
|
|
3004
|
-
* >
|
|
3005
|
-
* >
|
|
3006
|
-
* >
|
|
3007
|
-
* >
|
|
3008
|
-
* > - After you call this operation, a backup job is created in the background. The job may take a long time to complete if the data volume is large.
|
|
3008
|
+
* > * Each cluster can have up to three manually created backups at the same time.
|
|
3009
|
+
* > * If the error message `Exceeding the daily backup times of this DB cluster` is returned, three manually created backups already exist in your cluster. [Delete backups](https://help.aliyun.com/document_detail/98101.html) before you call this operation.
|
|
3010
|
+
* > * After you call this operation, a backup task is created in the background. If the data volume is large, the backup may take a long time. Wait until the backup is complete.
|
|
3009
3011
|
*
|
|
3010
3012
|
* @param request - CreateBackupRequest
|
|
3011
3013
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3018,6 +3020,10 @@ export default class Client extends OpenApi {
|
|
|
3018
3020
|
query["ClientToken"] = request.clientToken;
|
|
3019
3021
|
}
|
|
3020
3022
|
|
|
3023
|
+
if (!$dara.isNull(request.comment)) {
|
|
3024
|
+
query["Comment"] = request.comment;
|
|
3025
|
+
}
|
|
3026
|
+
|
|
3021
3027
|
if (!$dara.isNull(request.DBClusterId)) {
|
|
3022
3028
|
query["DBClusterId"] = request.DBClusterId;
|
|
3023
3029
|
}
|
|
@@ -3059,11 +3065,9 @@ export default class Client extends OpenApi {
|
|
|
3059
3065
|
* Creates a full snapshot backup for a PolarDB cluster.
|
|
3060
3066
|
*
|
|
3061
3067
|
* @remarks
|
|
3062
|
-
* >
|
|
3063
|
-
* >
|
|
3064
|
-
* >
|
|
3065
|
-
* >
|
|
3066
|
-
* > - After you call this operation, a backup job is created in the background. The job may take a long time to complete if the data volume is large.
|
|
3068
|
+
* > * Each cluster can have up to three manually created backups at the same time.
|
|
3069
|
+
* > * If the error message `Exceeding the daily backup times of this DB cluster` is returned, three manually created backups already exist in your cluster. [Delete backups](https://help.aliyun.com/document_detail/98101.html) before you call this operation.
|
|
3070
|
+
* > * After you call this operation, a backup task is created in the background. If the data volume is large, the backup may take a long time. Wait until the backup is complete.
|
|
3067
3071
|
*
|
|
3068
3072
|
* @param request - CreateBackupRequest
|
|
3069
3073
|
* @returns CreateBackupResponse
|
|
@@ -8954,7 +8958,7 @@ export default class Client extends OpenApi {
|
|
|
8954
8958
|
}
|
|
8955
8959
|
|
|
8956
8960
|
/**
|
|
8957
|
-
*
|
|
8961
|
+
* Retrieves the details of a task instance.
|
|
8958
8962
|
*
|
|
8959
8963
|
* @param request - DescribeAIDBClusterTaskAttributeRequest
|
|
8960
8964
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9009,7 +9013,7 @@ export default class Client extends OpenApi {
|
|
|
9009
9013
|
}
|
|
9010
9014
|
|
|
9011
9015
|
/**
|
|
9012
|
-
*
|
|
9016
|
+
* Retrieves the details of a task instance.
|
|
9013
9017
|
*
|
|
9014
9018
|
* @param request - DescribeAIDBClusterTaskAttributeRequest
|
|
9015
9019
|
* @returns DescribeAIDBClusterTaskAttributeResponse
|
|
@@ -9166,12 +9170,12 @@ export default class Client extends OpenApi {
|
|
|
9166
9170
|
}
|
|
9167
9171
|
|
|
9168
9172
|
/**
|
|
9169
|
-
* Retrieves
|
|
9173
|
+
* Retrieves the list of model operators for a specified PolarDB database instance.
|
|
9170
9174
|
*
|
|
9171
9175
|
* @remarks
|
|
9172
|
-
* ##
|
|
9173
|
-
* - This
|
|
9174
|
-
* - Note: Ensure the
|
|
9176
|
+
* ## Description
|
|
9177
|
+
* - This operation supports filtering and returning the list of model operators based on the `RelativeDBClusterId` and `KubeType` parameters.
|
|
9178
|
+
* - Note: Ensure that the `RelativeDBClusterId` provided in the request matches an existing PolarDB database instance ID. Otherwise, data cannot be retrieved correctly.
|
|
9175
9179
|
*
|
|
9176
9180
|
* @param request - DescribeAIDBClusterTasksRequest
|
|
9177
9181
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9226,12 +9230,12 @@ export default class Client extends OpenApi {
|
|
|
9226
9230
|
}
|
|
9227
9231
|
|
|
9228
9232
|
/**
|
|
9229
|
-
* Retrieves
|
|
9233
|
+
* Retrieves the list of model operators for a specified PolarDB database instance.
|
|
9230
9234
|
*
|
|
9231
9235
|
* @remarks
|
|
9232
|
-
* ##
|
|
9233
|
-
* - This
|
|
9234
|
-
* - Note: Ensure the
|
|
9236
|
+
* ## Description
|
|
9237
|
+
* - This operation supports filtering and returning the list of model operators based on the `RelativeDBClusterId` and `KubeType` parameters.
|
|
9238
|
+
* - Note: Ensure that the `RelativeDBClusterId` provided in the request matches an existing PolarDB database instance ID. Otherwise, data cannot be retrieved correctly.
|
|
9235
9239
|
*
|
|
9236
9240
|
* @param request - DescribeAIDBClusterTasksRequest
|
|
9237
9241
|
* @returns DescribeAIDBClusterTasksResponse
|
|
@@ -10512,7 +10516,7 @@ export default class Client extends OpenApi {
|
|
|
10512
10516
|
}
|
|
10513
10517
|
|
|
10514
10518
|
/**
|
|
10515
|
-
*
|
|
10519
|
+
* Queries the log details of an AI application.
|
|
10516
10520
|
*
|
|
10517
10521
|
* @param request - DescribeApplicationLogsRequest
|
|
10518
10522
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -10595,7 +10599,7 @@ export default class Client extends OpenApi {
|
|
|
10595
10599
|
}
|
|
10596
10600
|
|
|
10597
10601
|
/**
|
|
10598
|
-
*
|
|
10602
|
+
* Queries the log details of an AI application.
|
|
10599
10603
|
*
|
|
10600
10604
|
* @param request - DescribeApplicationLogsRequest
|
|
10601
10605
|
* @returns DescribeApplicationLogsResponse
|
|
@@ -10679,6 +10683,14 @@ export default class Client extends OpenApi {
|
|
|
10679
10683
|
query["ConsumerGroup"] = request.consumerGroup;
|
|
10680
10684
|
}
|
|
10681
10685
|
|
|
10686
|
+
if (!$dara.isNull(request.downsample)) {
|
|
10687
|
+
query["Downsample"] = request.downsample;
|
|
10688
|
+
}
|
|
10689
|
+
|
|
10690
|
+
if (!$dara.isNull(request.endStep)) {
|
|
10691
|
+
query["EndStep"] = request.endStep;
|
|
10692
|
+
}
|
|
10693
|
+
|
|
10682
10694
|
if (!$dara.isNull(request.endTime)) {
|
|
10683
10695
|
query["EndTime"] = request.endTime;
|
|
10684
10696
|
}
|
|
@@ -10691,10 +10703,18 @@ export default class Client extends OpenApi {
|
|
|
10691
10703
|
query["Key"] = request.key;
|
|
10692
10704
|
}
|
|
10693
10705
|
|
|
10706
|
+
if (!$dara.isNull(request.maxPoints)) {
|
|
10707
|
+
query["MaxPoints"] = request.maxPoints;
|
|
10708
|
+
}
|
|
10709
|
+
|
|
10694
10710
|
if (!$dara.isNull(request.modelService)) {
|
|
10695
10711
|
query["ModelService"] = request.modelService;
|
|
10696
10712
|
}
|
|
10697
10713
|
|
|
10714
|
+
if (!$dara.isNull(request.startStep)) {
|
|
10715
|
+
query["StartStep"] = request.startStep;
|
|
10716
|
+
}
|
|
10717
|
+
|
|
10698
10718
|
if (!$dara.isNull(request.startTime)) {
|
|
10699
10719
|
query["StartTime"] = request.startTime;
|
|
10700
10720
|
}
|
|
@@ -10819,6 +10839,80 @@ export default class Client extends OpenApi {
|
|
|
10819
10839
|
return await this.describeApplicationServerlessConfWithOptions(request, runtime);
|
|
10820
10840
|
}
|
|
10821
10841
|
|
|
10842
|
+
/**
|
|
10843
|
+
* Queries AI application sessions.
|
|
10844
|
+
*
|
|
10845
|
+
* @param request - DescribeApplicationSessionIdsRequest
|
|
10846
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
10847
|
+
* @returns DescribeApplicationSessionIdsResponse
|
|
10848
|
+
*/
|
|
10849
|
+
async describeApplicationSessionIdsWithOptions(request: $_model.DescribeApplicationSessionIdsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeApplicationSessionIdsResponse> {
|
|
10850
|
+
request.validate();
|
|
10851
|
+
let query = { };
|
|
10852
|
+
if (!$dara.isNull(request.applicationId)) {
|
|
10853
|
+
query["ApplicationId"] = request.applicationId;
|
|
10854
|
+
}
|
|
10855
|
+
|
|
10856
|
+
if (!$dara.isNull(request.endTime)) {
|
|
10857
|
+
query["EndTime"] = request.endTime;
|
|
10858
|
+
}
|
|
10859
|
+
|
|
10860
|
+
if (!$dara.isNull(request.ownerAccount)) {
|
|
10861
|
+
query["OwnerAccount"] = request.ownerAccount;
|
|
10862
|
+
}
|
|
10863
|
+
|
|
10864
|
+
if (!$dara.isNull(request.ownerId)) {
|
|
10865
|
+
query["OwnerId"] = request.ownerId;
|
|
10866
|
+
}
|
|
10867
|
+
|
|
10868
|
+
if (!$dara.isNull(request.pageNumber)) {
|
|
10869
|
+
query["PageNumber"] = request.pageNumber;
|
|
10870
|
+
}
|
|
10871
|
+
|
|
10872
|
+
if (!$dara.isNull(request.pageSize)) {
|
|
10873
|
+
query["PageSize"] = request.pageSize;
|
|
10874
|
+
}
|
|
10875
|
+
|
|
10876
|
+
if (!$dara.isNull(request.regionId)) {
|
|
10877
|
+
query["RegionId"] = request.regionId;
|
|
10878
|
+
}
|
|
10879
|
+
|
|
10880
|
+
if (!$dara.isNull(request.resourceOwnerAccount)) {
|
|
10881
|
+
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
10882
|
+
}
|
|
10883
|
+
|
|
10884
|
+
if (!$dara.isNull(request.startTime)) {
|
|
10885
|
+
query["StartTime"] = request.startTime;
|
|
10886
|
+
}
|
|
10887
|
+
|
|
10888
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
10889
|
+
query: OpenApiUtil.query(query),
|
|
10890
|
+
});
|
|
10891
|
+
let params = new $OpenApiUtil.Params({
|
|
10892
|
+
action: "DescribeApplicationSessionIds",
|
|
10893
|
+
version: "2017-08-01",
|
|
10894
|
+
protocol: "HTTPS",
|
|
10895
|
+
pathname: "/",
|
|
10896
|
+
method: "POST",
|
|
10897
|
+
authType: "AK",
|
|
10898
|
+
style: "RPC",
|
|
10899
|
+
reqBodyType: "formData",
|
|
10900
|
+
bodyType: "json",
|
|
10901
|
+
});
|
|
10902
|
+
return $dara.cast<$_model.DescribeApplicationSessionIdsResponse>(await this.callApi(params, req, runtime), new $_model.DescribeApplicationSessionIdsResponse({}));
|
|
10903
|
+
}
|
|
10904
|
+
|
|
10905
|
+
/**
|
|
10906
|
+
* Queries AI application sessions.
|
|
10907
|
+
*
|
|
10908
|
+
* @param request - DescribeApplicationSessionIdsRequest
|
|
10909
|
+
* @returns DescribeApplicationSessionIdsResponse
|
|
10910
|
+
*/
|
|
10911
|
+
async describeApplicationSessionIds(request: $_model.DescribeApplicationSessionIdsRequest): Promise<$_model.DescribeApplicationSessionIdsResponse> {
|
|
10912
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
10913
|
+
return await this.describeApplicationSessionIdsWithOptions(request, runtime);
|
|
10914
|
+
}
|
|
10915
|
+
|
|
10822
10916
|
/**
|
|
10823
10917
|
* Gets the list of applications for all PolarDB instances in a specified region.
|
|
10824
10918
|
*
|
|
@@ -11022,7 +11116,7 @@ export default class Client extends OpenApi {
|
|
|
11022
11116
|
}
|
|
11023
11117
|
|
|
11024
11118
|
/**
|
|
11025
|
-
*
|
|
11119
|
+
* Retrieves the list of AI cluster models.
|
|
11026
11120
|
*
|
|
11027
11121
|
* @param request - DescribeAvailableModelsRequest
|
|
11028
11122
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -11057,7 +11151,7 @@ export default class Client extends OpenApi {
|
|
|
11057
11151
|
}
|
|
11058
11152
|
|
|
11059
11153
|
/**
|
|
11060
|
-
*
|
|
11154
|
+
* Retrieves the list of AI cluster models.
|
|
11061
11155
|
*
|
|
11062
11156
|
* @param request - DescribeAvailableModelsRequest
|
|
11063
11157
|
* @returns DescribeAvailableModelsResponse
|
|
@@ -11328,7 +11422,7 @@ export default class Client extends OpenApi {
|
|
|
11328
11422
|
}
|
|
11329
11423
|
|
|
11330
11424
|
/**
|
|
11331
|
-
* Queries backup information
|
|
11425
|
+
* Queries the backup information of a PolarDB cluster.
|
|
11332
11426
|
*
|
|
11333
11427
|
* @param request - DescribeBackupsRequest
|
|
11334
11428
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -11407,7 +11501,7 @@ export default class Client extends OpenApi {
|
|
|
11407
11501
|
}
|
|
11408
11502
|
|
|
11409
11503
|
/**
|
|
11410
|
-
* Queries backup information
|
|
11504
|
+
* Queries the backup information of a PolarDB cluster.
|
|
11411
11505
|
*
|
|
11412
11506
|
* @param request - DescribeBackupsRequest
|
|
11413
11507
|
* @returns DescribeBackupsResponse
|
|
@@ -11528,7 +11622,7 @@ export default class Client extends OpenApi {
|
|
|
11528
11622
|
}
|
|
11529
11623
|
|
|
11530
11624
|
/**
|
|
11531
|
-
*
|
|
11625
|
+
* Queries cost budget policies.
|
|
11532
11626
|
*
|
|
11533
11627
|
* @param request - DescribeBudgetPoliciesRequest
|
|
11534
11628
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -11565,6 +11659,10 @@ export default class Client extends OpenApi {
|
|
|
11565
11659
|
query["RegionId"] = request.regionId;
|
|
11566
11660
|
}
|
|
11567
11661
|
|
|
11662
|
+
if (!$dara.isNull(request.scopeRefName)) {
|
|
11663
|
+
query["ScopeRefName"] = request.scopeRefName;
|
|
11664
|
+
}
|
|
11665
|
+
|
|
11568
11666
|
if (!$dara.isNull(request.status)) {
|
|
11569
11667
|
query["Status"] = request.status;
|
|
11570
11668
|
}
|
|
@@ -11587,7 +11685,7 @@ export default class Client extends OpenApi {
|
|
|
11587
11685
|
}
|
|
11588
11686
|
|
|
11589
11687
|
/**
|
|
11590
|
-
*
|
|
11688
|
+
* Queries cost budget policies.
|
|
11591
11689
|
*
|
|
11592
11690
|
* @param request - DescribeBudgetPoliciesRequest
|
|
11593
11691
|
* @returns DescribeBudgetPoliciesResponse
|
|
@@ -11890,7 +11988,7 @@ export default class Client extends OpenApi {
|
|
|
11890
11988
|
}
|
|
11891
11989
|
|
|
11892
11990
|
/**
|
|
11893
|
-
*
|
|
11991
|
+
* Queries the list of consumers.
|
|
11894
11992
|
*
|
|
11895
11993
|
* @param request - DescribeConsumersRequest
|
|
11896
11994
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -11907,6 +12005,14 @@ export default class Client extends OpenApi {
|
|
|
11907
12005
|
query["ConsumerId"] = request.consumerId;
|
|
11908
12006
|
}
|
|
11909
12007
|
|
|
12008
|
+
if (!$dara.isNull(request.consumerName)) {
|
|
12009
|
+
query["ConsumerName"] = request.consumerName;
|
|
12010
|
+
}
|
|
12011
|
+
|
|
12012
|
+
if (!$dara.isNull(request.consumerNameList)) {
|
|
12013
|
+
query["ConsumerNameList"] = request.consumerNameList;
|
|
12014
|
+
}
|
|
12015
|
+
|
|
11910
12016
|
if (!$dara.isNull(request.gwClusterId)) {
|
|
11911
12017
|
query["GwClusterId"] = request.gwClusterId;
|
|
11912
12018
|
}
|
|
@@ -11941,7 +12047,7 @@ export default class Client extends OpenApi {
|
|
|
11941
12047
|
}
|
|
11942
12048
|
|
|
11943
12049
|
/**
|
|
11944
|
-
*
|
|
12050
|
+
* Queries the list of consumers.
|
|
11945
12051
|
*
|
|
11946
12052
|
* @param request - DescribeConsumersRequest
|
|
11947
12053
|
* @returns DescribeConsumersResponse
|
|
@@ -12242,7 +12348,7 @@ export default class Client extends OpenApi {
|
|
|
12242
12348
|
}
|
|
12243
12349
|
|
|
12244
12350
|
/**
|
|
12245
|
-
* Queries the IP
|
|
12351
|
+
* Queries the IP whitelist and security groups that are allowed to access a database cluster.
|
|
12246
12352
|
*
|
|
12247
12353
|
* @param request - DescribeDBClusterAccessWhitelistRequest
|
|
12248
12354
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -12263,6 +12369,10 @@ export default class Client extends OpenApi {
|
|
|
12263
12369
|
query["OwnerId"] = request.ownerId;
|
|
12264
12370
|
}
|
|
12265
12371
|
|
|
12372
|
+
if (!$dara.isNull(request.pfsInstanceId)) {
|
|
12373
|
+
query["PfsInstanceId"] = request.pfsInstanceId;
|
|
12374
|
+
}
|
|
12375
|
+
|
|
12266
12376
|
if (!$dara.isNull(request.resourceOwnerAccount)) {
|
|
12267
12377
|
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
12268
12378
|
}
|
|
@@ -12289,7 +12399,7 @@ export default class Client extends OpenApi {
|
|
|
12289
12399
|
}
|
|
12290
12400
|
|
|
12291
12401
|
/**
|
|
12292
|
-
* Queries the IP
|
|
12402
|
+
* Queries the IP whitelist and security groups that are allowed to access a database cluster.
|
|
12293
12403
|
*
|
|
12294
12404
|
* @param request - DescribeDBClusterAccessWhitelistRequest
|
|
12295
12405
|
* @returns DescribeDBClusterAccessWhitelistResponse
|
|
@@ -13103,6 +13213,134 @@ export default class Client extends OpenApi {
|
|
|
13103
13213
|
return await this.describeDBClusterPerformanceWithOptions(request, runtime);
|
|
13104
13214
|
}
|
|
13105
13215
|
|
|
13216
|
+
/**
|
|
13217
|
+
* Queries the price of a cluster.
|
|
13218
|
+
*
|
|
13219
|
+
* @param tmpReq - DescribeDBClusterPriceRequest
|
|
13220
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
13221
|
+
* @returns DescribeDBClusterPriceResponse
|
|
13222
|
+
*/
|
|
13223
|
+
async describeDBClusterPriceWithOptions(tmpReq: $_model.DescribeDBClusterPriceRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeDBClusterPriceResponse> {
|
|
13224
|
+
tmpReq.validate();
|
|
13225
|
+
let request = new $_model.DescribeDBClusterPriceShrinkRequest({ });
|
|
13226
|
+
OpenApiUtil.convert(tmpReq, request);
|
|
13227
|
+
if (!$dara.isNull(tmpReq.DBNodes)) {
|
|
13228
|
+
request.DBNodesShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.DBNodes, "DBNodes", "json");
|
|
13229
|
+
}
|
|
13230
|
+
|
|
13231
|
+
let query = { };
|
|
13232
|
+
if (!$dara.isNull(request.creationCategory)) {
|
|
13233
|
+
query["CreationCategory"] = request.creationCategory;
|
|
13234
|
+
}
|
|
13235
|
+
|
|
13236
|
+
if (!$dara.isNull(request.DBClusterId)) {
|
|
13237
|
+
query["DBClusterId"] = request.DBClusterId;
|
|
13238
|
+
}
|
|
13239
|
+
|
|
13240
|
+
if (!$dara.isNull(request.DBNodeClass)) {
|
|
13241
|
+
query["DBNodeClass"] = request.DBNodeClass;
|
|
13242
|
+
}
|
|
13243
|
+
|
|
13244
|
+
if (!$dara.isNull(request.DBNodeIds)) {
|
|
13245
|
+
query["DBNodeIds"] = request.DBNodeIds;
|
|
13246
|
+
}
|
|
13247
|
+
|
|
13248
|
+
if (!$dara.isNull(request.DBNodeNum)) {
|
|
13249
|
+
query["DBNodeNum"] = request.DBNodeNum;
|
|
13250
|
+
}
|
|
13251
|
+
|
|
13252
|
+
if (!$dara.isNull(request.DBNodesShrink)) {
|
|
13253
|
+
query["DBNodes"] = request.DBNodesShrink;
|
|
13254
|
+
}
|
|
13255
|
+
|
|
13256
|
+
if (!$dara.isNull(request.DBType)) {
|
|
13257
|
+
query["DBType"] = request.DBType;
|
|
13258
|
+
}
|
|
13259
|
+
|
|
13260
|
+
if (!$dara.isNull(request.DBVersion)) {
|
|
13261
|
+
query["DBVersion"] = request.DBVersion;
|
|
13262
|
+
}
|
|
13263
|
+
|
|
13264
|
+
if (!$dara.isNull(request.hotStandbyCluster)) {
|
|
13265
|
+
query["HotStandbyCluster"] = request.hotStandbyCluster;
|
|
13266
|
+
}
|
|
13267
|
+
|
|
13268
|
+
if (!$dara.isNull(request.modifyType)) {
|
|
13269
|
+
query["ModifyType"] = request.modifyType;
|
|
13270
|
+
}
|
|
13271
|
+
|
|
13272
|
+
if (!$dara.isNull(request.orderType)) {
|
|
13273
|
+
query["OrderType"] = request.orderType;
|
|
13274
|
+
}
|
|
13275
|
+
|
|
13276
|
+
if (!$dara.isNull(request.payType)) {
|
|
13277
|
+
query["PayType"] = request.payType;
|
|
13278
|
+
}
|
|
13279
|
+
|
|
13280
|
+
if (!$dara.isNull(request.period)) {
|
|
13281
|
+
query["Period"] = request.period;
|
|
13282
|
+
}
|
|
13283
|
+
|
|
13284
|
+
if (!$dara.isNull(request.provisionedIops)) {
|
|
13285
|
+
query["ProvisionedIops"] = request.provisionedIops;
|
|
13286
|
+
}
|
|
13287
|
+
|
|
13288
|
+
if (!$dara.isNull(request.regionId)) {
|
|
13289
|
+
query["RegionId"] = request.regionId;
|
|
13290
|
+
}
|
|
13291
|
+
|
|
13292
|
+
if (!$dara.isNull(request.serverlessType)) {
|
|
13293
|
+
query["ServerlessType"] = request.serverlessType;
|
|
13294
|
+
}
|
|
13295
|
+
|
|
13296
|
+
if (!$dara.isNull(request.storageChargeType)) {
|
|
13297
|
+
query["StorageChargeType"] = request.storageChargeType;
|
|
13298
|
+
}
|
|
13299
|
+
|
|
13300
|
+
if (!$dara.isNull(request.storageSpace)) {
|
|
13301
|
+
query["StorageSpace"] = request.storageSpace;
|
|
13302
|
+
}
|
|
13303
|
+
|
|
13304
|
+
if (!$dara.isNull(request.storageType)) {
|
|
13305
|
+
query["StorageType"] = request.storageType;
|
|
13306
|
+
}
|
|
13307
|
+
|
|
13308
|
+
if (!$dara.isNull(request.usedTime)) {
|
|
13309
|
+
query["UsedTime"] = request.usedTime;
|
|
13310
|
+
}
|
|
13311
|
+
|
|
13312
|
+
if (!$dara.isNull(request.zoneId)) {
|
|
13313
|
+
query["ZoneId"] = request.zoneId;
|
|
13314
|
+
}
|
|
13315
|
+
|
|
13316
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
13317
|
+
query: OpenApiUtil.query(query),
|
|
13318
|
+
});
|
|
13319
|
+
let params = new $OpenApiUtil.Params({
|
|
13320
|
+
action: "DescribeDBClusterPrice",
|
|
13321
|
+
version: "2017-08-01",
|
|
13322
|
+
protocol: "HTTPS",
|
|
13323
|
+
pathname: "/",
|
|
13324
|
+
method: "POST",
|
|
13325
|
+
authType: "AK",
|
|
13326
|
+
style: "RPC",
|
|
13327
|
+
reqBodyType: "formData",
|
|
13328
|
+
bodyType: "json",
|
|
13329
|
+
});
|
|
13330
|
+
return $dara.cast<$_model.DescribeDBClusterPriceResponse>(await this.callApi(params, req, runtime), new $_model.DescribeDBClusterPriceResponse({}));
|
|
13331
|
+
}
|
|
13332
|
+
|
|
13333
|
+
/**
|
|
13334
|
+
* Queries the price of a cluster.
|
|
13335
|
+
*
|
|
13336
|
+
* @param request - DescribeDBClusterPriceRequest
|
|
13337
|
+
* @returns DescribeDBClusterPriceResponse
|
|
13338
|
+
*/
|
|
13339
|
+
async describeDBClusterPrice(request: $_model.DescribeDBClusterPriceRequest): Promise<$_model.DescribeDBClusterPriceResponse> {
|
|
13340
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
13341
|
+
return await this.describeDBClusterPriceWithOptions(request, runtime);
|
|
13342
|
+
}
|
|
13343
|
+
|
|
13106
13344
|
/**
|
|
13107
13345
|
* Queries a database cluster proxy.
|
|
13108
13346
|
*
|
|
@@ -13191,6 +13429,10 @@ export default class Client extends OpenApi {
|
|
|
13191
13429
|
query["OwnerId"] = request.ownerId;
|
|
13192
13430
|
}
|
|
13193
13431
|
|
|
13432
|
+
if (!$dara.isNull(request.pfsInstanceId)) {
|
|
13433
|
+
query["PfsInstanceId"] = request.pfsInstanceId;
|
|
13434
|
+
}
|
|
13435
|
+
|
|
13194
13436
|
if (!$dara.isNull(request.resourceOwnerAccount)) {
|
|
13195
13437
|
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
13196
13438
|
}
|
|
@@ -17544,7 +17786,7 @@ export default class Client extends OpenApi {
|
|
|
17544
17786
|
}
|
|
17545
17787
|
|
|
17546
17788
|
/**
|
|
17547
|
-
*
|
|
17789
|
+
* Queries PolarFS information.
|
|
17548
17790
|
*
|
|
17549
17791
|
* @param request - DescribePolarFsRequest
|
|
17550
17792
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -17607,7 +17849,7 @@ export default class Client extends OpenApi {
|
|
|
17607
17849
|
}
|
|
17608
17850
|
|
|
17609
17851
|
/**
|
|
17610
|
-
*
|
|
17852
|
+
* Queries PolarFS information.
|
|
17611
17853
|
*
|
|
17612
17854
|
* @param request - DescribePolarFsRequest
|
|
17613
17855
|
* @returns DescribePolarFsResponse
|
|
@@ -22790,7 +23032,7 @@ export default class Client extends OpenApi {
|
|
|
22790
23032
|
}
|
|
22791
23033
|
|
|
22792
23034
|
/**
|
|
22793
|
-
* Creates or modifies the
|
|
23035
|
+
* Creates or modifies the whitelist of a cluster, including the IP whitelist and security groups.
|
|
22794
23036
|
*
|
|
22795
23037
|
* @param request - ModifyDBClusterAccessWhitelistRequest
|
|
22796
23038
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -22823,6 +23065,10 @@ export default class Client extends OpenApi {
|
|
|
22823
23065
|
query["OwnerId"] = request.ownerId;
|
|
22824
23066
|
}
|
|
22825
23067
|
|
|
23068
|
+
if (!$dara.isNull(request.pfsInstanceId)) {
|
|
23069
|
+
query["PfsInstanceId"] = request.pfsInstanceId;
|
|
23070
|
+
}
|
|
23071
|
+
|
|
22826
23072
|
if (!$dara.isNull(request.resourceOwnerAccount)) {
|
|
22827
23073
|
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
22828
23074
|
}
|
|
@@ -22861,7 +23107,7 @@ export default class Client extends OpenApi {
|
|
|
22861
23107
|
}
|
|
22862
23108
|
|
|
22863
23109
|
/**
|
|
22864
|
-
* Creates or modifies the
|
|
23110
|
+
* Creates or modifies the whitelist of a cluster, including the IP whitelist and security groups.
|
|
22865
23111
|
*
|
|
22866
23112
|
* @param request - ModifyDBClusterAccessWhitelistRequest
|
|
22867
23113
|
* @returns ModifyDBClusterAccessWhitelistResponse
|
|
@@ -24028,7 +24274,7 @@ export default class Client extends OpenApi {
|
|
|
24028
24274
|
}
|
|
24029
24275
|
|
|
24030
24276
|
/**
|
|
24031
|
-
* Enables or
|
|
24277
|
+
* Enables or shuts down the Secure Sockets Layer (SSL) encryption feature for a PolarDB cluster, or updates the CA certificate of a PolarDB cluster.
|
|
24032
24278
|
*
|
|
24033
24279
|
* @param request - ModifyDBClusterSSLRequest
|
|
24034
24280
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -24037,6 +24283,10 @@ export default class Client extends OpenApi {
|
|
|
24037
24283
|
async modifyDBClusterSSLWithOptions(request: $_model.ModifyDBClusterSSLRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ModifyDBClusterSSLResponse> {
|
|
24038
24284
|
request.validate();
|
|
24039
24285
|
let query = { };
|
|
24286
|
+
if (!$dara.isNull(request.connectionString)) {
|
|
24287
|
+
query["ConnectionString"] = request.connectionString;
|
|
24288
|
+
}
|
|
24289
|
+
|
|
24040
24290
|
if (!$dara.isNull(request.DBClusterId)) {
|
|
24041
24291
|
query["DBClusterId"] = request.DBClusterId;
|
|
24042
24292
|
}
|
|
@@ -24057,6 +24307,10 @@ export default class Client extends OpenApi {
|
|
|
24057
24307
|
query["OwnerId"] = request.ownerId;
|
|
24058
24308
|
}
|
|
24059
24309
|
|
|
24310
|
+
if (!$dara.isNull(request.pfsInstanceId)) {
|
|
24311
|
+
query["PfsInstanceId"] = request.pfsInstanceId;
|
|
24312
|
+
}
|
|
24313
|
+
|
|
24060
24314
|
if (!$dara.isNull(request.resourceOwnerAccount)) {
|
|
24061
24315
|
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
24062
24316
|
}
|
|
@@ -24091,7 +24345,7 @@ export default class Client extends OpenApi {
|
|
|
24091
24345
|
}
|
|
24092
24346
|
|
|
24093
24347
|
/**
|
|
24094
|
-
* Enables or
|
|
24348
|
+
* Enables or shuts down the Secure Sockets Layer (SSL) encryption feature for a PolarDB cluster, or updates the CA certificate of a PolarDB cluster.
|
|
24095
24349
|
*
|
|
24096
24350
|
* @param request - ModifyDBClusterSSLRequest
|
|
24097
24351
|
* @returns ModifyDBClusterSSLResponse
|