@alicloud/polardb20170801 7.3.0 → 7.5.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 +70 -44
- package/dist/client.js +237 -44
- package/dist/client.js.map +1 -1
- package/dist/models/CreateAccountRequest.d.ts +39 -53
- package/dist/models/CreateAccountRequest.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/CreateDbclusterEndpointRequest.d.ts +67 -92
- package/dist/models/CreateDbclusterEndpointRequest.js.map +1 -1
- package/dist/models/DescribeAgenticDbcomputeClustersRequest.d.ts +13 -0
- package/dist/models/DescribeAgenticDbcomputeClustersRequest.js.map +1 -1
- package/dist/models/DescribeAgenticDbcomputeClustersResponseBody.d.ts +64 -0
- package/dist/models/DescribeAgenticDbcomputeClustersResponseBody.js.map +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 +2 -6
- package/dist/models/DescribeApplicationLogsResponseBody.js.map +1 -1
- 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/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 +118 -0
- package/dist/models/DescribePolarFsRequest.js +98 -0
- package/dist/models/DescribePolarFsRequest.js.map +1 -0
- package/dist/models/DescribePolarFsResponse.d.ts +19 -0
- package/dist/models/DescribePolarFsResponse.js +69 -0
- package/dist/models/DescribePolarFsResponse.js.map +1 -0
- package/dist/models/DescribePolarFsResponseBody.d.ts +175 -0
- package/dist/models/DescribePolarFsResponseBody.js +280 -0
- package/dist/models/DescribePolarFsResponseBody.js.map +1 -0
- 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/VerifyAgenticDbtenantApiKeyRequest.d.ts +4 -0
- package/dist/models/VerifyAgenticDbtenantApiKeyRequest.js.map +1 -1
- package/dist/models/VerifyAgenticDbtenantApiKeyResponseBody.d.ts +25 -0
- package/dist/models/VerifyAgenticDbtenantApiKeyResponseBody.js.map +1 -1
- package/dist/models/model.d.ts +29 -0
- package/dist/models/model.js +98 -40
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +282 -44
- package/src/models/CreateAccountRequest.ts +39 -53
- 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/CreateDbclusterEndpointRequest.ts +68 -93
- package/src/models/DescribeAgenticDbcomputeClustersRequest.ts +13 -0
- package/src/models/DescribeAgenticDbcomputeClustersResponseBody.ts +64 -0
- 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 +2 -6
- 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/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 +162 -0
- package/src/models/DescribePolarFsResponse.ts +40 -0
- package/src/models/DescribePolarFsResponseBody.ts +347 -0
- package/src/models/ModifyDbclusterAccessWhitelistRequest.ts +29 -32
- package/src/models/ModifyDbclusterSslrequest.ts +32 -27
- package/src/models/VerifyAgenticDbtenantApiKeyRequest.ts +4 -0
- package/src/models/VerifyAgenticDbtenantApiKeyResponseBody.ts +25 -0
- package/src/models/model.ts +29 -0
package/dist/client.js
CHANGED
|
@@ -1873,7 +1873,7 @@ class Client extends openapi_core_1.default {
|
|
|
1873
1873
|
return await this.createAIDBClusterDatasetWithOptions(request, runtime);
|
|
1874
1874
|
}
|
|
1875
1875
|
/**
|
|
1876
|
-
* Creates a model operator instance.
|
|
1876
|
+
* Creates a model creation operator instance.
|
|
1877
1877
|
*
|
|
1878
1878
|
* @param request - CreateAIDBClusterTaskRequest
|
|
1879
1879
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1930,6 +1930,9 @@ class Client extends openapi_core_1.default {
|
|
|
1930
1930
|
if (!$dara.isNull(request.taskName)) {
|
|
1931
1931
|
query["TaskName"] = request.taskName;
|
|
1932
1932
|
}
|
|
1933
|
+
if (!$dara.isNull(request.tuneArch)) {
|
|
1934
|
+
query["TuneArch"] = request.tuneArch;
|
|
1935
|
+
}
|
|
1933
1936
|
if (!$dara.isNull(request.VPCId)) {
|
|
1934
1937
|
query["VPCId"] = request.VPCId;
|
|
1935
1938
|
}
|
|
@@ -1956,7 +1959,7 @@ class Client extends openapi_core_1.default {
|
|
|
1956
1959
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateAIDBClusterTaskResponse({}));
|
|
1957
1960
|
}
|
|
1958
1961
|
/**
|
|
1959
|
-
* Creates a model operator instance.
|
|
1962
|
+
* Creates a model creation operator instance.
|
|
1960
1963
|
*
|
|
1961
1964
|
* @param request - CreateAIDBClusterTaskRequest
|
|
1962
1965
|
* @returns CreateAIDBClusterTaskResponse
|
|
@@ -2008,7 +2011,7 @@ class Client extends openapi_core_1.default {
|
|
|
2008
2011
|
return await this.createAINodesWithOptions(request, runtime);
|
|
2009
2012
|
}
|
|
2010
2013
|
/**
|
|
2011
|
-
* Creates a database account
|
|
2014
|
+
* Creates a PolarDB database account.
|
|
2012
2015
|
*
|
|
2013
2016
|
* @param request - CreateAccountRequest
|
|
2014
2017
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2076,7 +2079,7 @@ class Client extends openapi_core_1.default {
|
|
|
2076
2079
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateAccountResponse({}));
|
|
2077
2080
|
}
|
|
2078
2081
|
/**
|
|
2079
|
-
* Creates a database account
|
|
2082
|
+
* Creates a PolarDB database account.
|
|
2080
2083
|
*
|
|
2081
2084
|
* @param request - CreateAccountRequest
|
|
2082
2085
|
* @returns CreateAccountResponse
|
|
@@ -2655,11 +2658,9 @@ class Client extends openapi_core_1.default {
|
|
|
2655
2658
|
* Creates a full snapshot backup for a PolarDB cluster.
|
|
2656
2659
|
*
|
|
2657
2660
|
* @remarks
|
|
2658
|
-
* >
|
|
2659
|
-
* >
|
|
2660
|
-
* >
|
|
2661
|
-
* >
|
|
2662
|
-
* > - 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.
|
|
2661
|
+
* > * Each cluster can have up to three manually created backups at the same time.
|
|
2662
|
+
* > * 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.
|
|
2663
|
+
* > * 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.
|
|
2663
2664
|
*
|
|
2664
2665
|
* @param request - CreateBackupRequest
|
|
2665
2666
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2671,6 +2672,9 @@ class Client extends openapi_core_1.default {
|
|
|
2671
2672
|
if (!$dara.isNull(request.clientToken)) {
|
|
2672
2673
|
query["ClientToken"] = request.clientToken;
|
|
2673
2674
|
}
|
|
2675
|
+
if (!$dara.isNull(request.comment)) {
|
|
2676
|
+
query["Comment"] = request.comment;
|
|
2677
|
+
}
|
|
2674
2678
|
if (!$dara.isNull(request.DBClusterId)) {
|
|
2675
2679
|
query["DBClusterId"] = request.DBClusterId;
|
|
2676
2680
|
}
|
|
@@ -2706,11 +2710,9 @@ class Client extends openapi_core_1.default {
|
|
|
2706
2710
|
* Creates a full snapshot backup for a PolarDB cluster.
|
|
2707
2711
|
*
|
|
2708
2712
|
* @remarks
|
|
2709
|
-
* >
|
|
2710
|
-
* >
|
|
2711
|
-
* >
|
|
2712
|
-
* >
|
|
2713
|
-
* > - 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.
|
|
2713
|
+
* > * Each cluster can have up to three manually created backups at the same time.
|
|
2714
|
+
* > * 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.
|
|
2715
|
+
* > * 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.
|
|
2714
2716
|
*
|
|
2715
2717
|
* @param request - CreateBackupRequest
|
|
2716
2718
|
* @returns CreateBackupResponse
|
|
@@ -7800,7 +7802,7 @@ class Client extends openapi_core_1.default {
|
|
|
7800
7802
|
return await this.describeAIDBClusterPerformanceWithOptions(request, runtime);
|
|
7801
7803
|
}
|
|
7802
7804
|
/**
|
|
7803
|
-
*
|
|
7805
|
+
* Retrieves the details of a task instance.
|
|
7804
7806
|
*
|
|
7805
7807
|
* @param request - DescribeAIDBClusterTaskAttributeRequest
|
|
7806
7808
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7847,7 +7849,7 @@ class Client extends openapi_core_1.default {
|
|
|
7847
7849
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeAIDBClusterTaskAttributeResponse({}));
|
|
7848
7850
|
}
|
|
7849
7851
|
/**
|
|
7850
|
-
*
|
|
7852
|
+
* Retrieves the details of a task instance.
|
|
7851
7853
|
*
|
|
7852
7854
|
* @param request - DescribeAIDBClusterTaskAttributeRequest
|
|
7853
7855
|
* @returns DescribeAIDBClusterTaskAttributeResponse
|
|
@@ -7983,12 +7985,12 @@ class Client extends openapi_core_1.default {
|
|
|
7983
7985
|
return await this.describeAIDBClusterTaskMetricsWithOptions(request, runtime);
|
|
7984
7986
|
}
|
|
7985
7987
|
/**
|
|
7986
|
-
* Retrieves
|
|
7988
|
+
* Retrieves the list of model operators for a specified PolarDB database instance.
|
|
7987
7989
|
*
|
|
7988
7990
|
* @remarks
|
|
7989
|
-
* ##
|
|
7990
|
-
* - This
|
|
7991
|
-
* - Note: Ensure the
|
|
7991
|
+
* ## Description
|
|
7992
|
+
* - This operation supports filtering and returning the list of model operators based on the `RelativeDBClusterId` and `KubeType` parameters.
|
|
7993
|
+
* - Note: Ensure that the `RelativeDBClusterId` provided in the request matches an existing PolarDB database instance ID. Otherwise, data cannot be retrieved correctly.
|
|
7992
7994
|
*
|
|
7993
7995
|
* @param request - DescribeAIDBClusterTasksRequest
|
|
7994
7996
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8035,12 +8037,12 @@ class Client extends openapi_core_1.default {
|
|
|
8035
8037
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeAIDBClusterTasksResponse({}));
|
|
8036
8038
|
}
|
|
8037
8039
|
/**
|
|
8038
|
-
* Retrieves
|
|
8040
|
+
* Retrieves the list of model operators for a specified PolarDB database instance.
|
|
8039
8041
|
*
|
|
8040
8042
|
* @remarks
|
|
8041
|
-
* ##
|
|
8042
|
-
* - This
|
|
8043
|
-
* - Note: Ensure the
|
|
8043
|
+
* ## Description
|
|
8044
|
+
* - This operation supports filtering and returning the list of model operators based on the `RelativeDBClusterId` and `KubeType` parameters.
|
|
8045
|
+
* - Note: Ensure that the `RelativeDBClusterId` provided in the request matches an existing PolarDB database instance ID. Otherwise, data cannot be retrieved correctly.
|
|
8044
8046
|
*
|
|
8045
8047
|
* @param request - DescribeAIDBClusterTasksRequest
|
|
8046
8048
|
* @returns DescribeAIDBClusterTasksResponse
|
|
@@ -8846,7 +8848,7 @@ class Client extends openapi_core_1.default {
|
|
|
8846
8848
|
return await this.describeAgenticDBClustersWithOptions(request, runtime);
|
|
8847
8849
|
}
|
|
8848
8850
|
/**
|
|
8849
|
-
*
|
|
8851
|
+
* Queries the list of AgenticDB compute instances.
|
|
8850
8852
|
*
|
|
8851
8853
|
* @param request - DescribeAgenticDBComputeClustersRequest
|
|
8852
8854
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8890,7 +8892,7 @@ class Client extends openapi_core_1.default {
|
|
|
8890
8892
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeAgenticDBComputeClustersResponse({}));
|
|
8891
8893
|
}
|
|
8892
8894
|
/**
|
|
8893
|
-
*
|
|
8895
|
+
* Queries the list of AgenticDB compute instances.
|
|
8894
8896
|
*
|
|
8895
8897
|
* @param request - DescribeAgenticDBComputeClustersRequest
|
|
8896
8898
|
* @returns DescribeAgenticDBComputeClustersResponse
|
|
@@ -9149,7 +9151,7 @@ class Client extends openapi_core_1.default {
|
|
|
9149
9151
|
return await this.describeApplicationAttributeWithOptions(request, runtime);
|
|
9150
9152
|
}
|
|
9151
9153
|
/**
|
|
9152
|
-
*
|
|
9154
|
+
* Queries the log details of an AI application.
|
|
9153
9155
|
*
|
|
9154
9156
|
* @param request - DescribeApplicationLogsRequest
|
|
9155
9157
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9217,7 +9219,7 @@ class Client extends openapi_core_1.default {
|
|
|
9217
9219
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeApplicationLogsResponse({}));
|
|
9218
9220
|
}
|
|
9219
9221
|
/**
|
|
9220
|
-
*
|
|
9222
|
+
* Queries the log details of an AI application.
|
|
9221
9223
|
*
|
|
9222
9224
|
* @param request - DescribeApplicationLogsRequest
|
|
9223
9225
|
* @returns DescribeApplicationLogsResponse
|
|
@@ -9592,7 +9594,7 @@ class Client extends openapi_core_1.default {
|
|
|
9592
9594
|
return await this.describeAvailableCrossRegionsWithOptions(request, runtime);
|
|
9593
9595
|
}
|
|
9594
9596
|
/**
|
|
9595
|
-
*
|
|
9597
|
+
* Retrieves the list of AI cluster models.
|
|
9596
9598
|
*
|
|
9597
9599
|
* @param request - DescribeAvailableModelsRequest
|
|
9598
9600
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9624,7 +9626,7 @@ class Client extends openapi_core_1.default {
|
|
|
9624
9626
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeAvailableModelsResponse({}));
|
|
9625
9627
|
}
|
|
9626
9628
|
/**
|
|
9627
|
-
*
|
|
9629
|
+
* Retrieves the list of AI cluster models.
|
|
9628
9630
|
*
|
|
9629
9631
|
* @param request - DescribeAvailableModelsRequest
|
|
9630
9632
|
* @returns DescribeAvailableModelsResponse
|
|
@@ -9859,7 +9861,7 @@ class Client extends openapi_core_1.default {
|
|
|
9859
9861
|
return await this.describeBackupTasksWithOptions(request, runtime);
|
|
9860
9862
|
}
|
|
9861
9863
|
/**
|
|
9862
|
-
* Queries backup information
|
|
9864
|
+
* Queries the backup information of a PolarDB cluster.
|
|
9863
9865
|
*
|
|
9864
9866
|
* @param request - DescribeBackupsRequest
|
|
9865
9867
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -9924,7 +9926,7 @@ class Client extends openapi_core_1.default {
|
|
|
9924
9926
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeBackupsResponse({}));
|
|
9925
9927
|
}
|
|
9926
9928
|
/**
|
|
9927
|
-
* Queries backup information
|
|
9929
|
+
* Queries the backup information of a PolarDB cluster.
|
|
9928
9930
|
*
|
|
9929
9931
|
* @param request - DescribeBackupsRequest
|
|
9930
9932
|
* @returns DescribeBackupsResponse
|
|
@@ -10032,7 +10034,7 @@ class Client extends openapi_core_1.default {
|
|
|
10032
10034
|
return await this.describeBatchTasksWithOptions(request, runtime);
|
|
10033
10035
|
}
|
|
10034
10036
|
/**
|
|
10035
|
-
*
|
|
10037
|
+
* Queries cost budget policies.
|
|
10036
10038
|
*
|
|
10037
10039
|
* @param request - DescribeBudgetPoliciesRequest
|
|
10038
10040
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -10062,6 +10064,9 @@ class Client extends openapi_core_1.default {
|
|
|
10062
10064
|
if (!$dara.isNull(request.regionId)) {
|
|
10063
10065
|
query["RegionId"] = request.regionId;
|
|
10064
10066
|
}
|
|
10067
|
+
if (!$dara.isNull(request.scopeRefName)) {
|
|
10068
|
+
query["ScopeRefName"] = request.scopeRefName;
|
|
10069
|
+
}
|
|
10065
10070
|
if (!$dara.isNull(request.status)) {
|
|
10066
10071
|
query["Status"] = request.status;
|
|
10067
10072
|
}
|
|
@@ -10082,7 +10087,7 @@ class Client extends openapi_core_1.default {
|
|
|
10082
10087
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeBudgetPoliciesResponse({}));
|
|
10083
10088
|
}
|
|
10084
10089
|
/**
|
|
10085
|
-
*
|
|
10090
|
+
* Queries cost budget policies.
|
|
10086
10091
|
*
|
|
10087
10092
|
* @param request - DescribeBudgetPoliciesRequest
|
|
10088
10093
|
* @returns DescribeBudgetPoliciesResponse
|
|
@@ -10341,7 +10346,7 @@ class Client extends openapi_core_1.default {
|
|
|
10341
10346
|
return await this.describeConsumerGroupsWithOptions(request, runtime);
|
|
10342
10347
|
}
|
|
10343
10348
|
/**
|
|
10344
|
-
*
|
|
10349
|
+
* Queries the list of consumers.
|
|
10345
10350
|
*
|
|
10346
10351
|
* @param request - DescribeConsumersRequest
|
|
10347
10352
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -10356,6 +10361,12 @@ class Client extends openapi_core_1.default {
|
|
|
10356
10361
|
if (!$dara.isNull(request.consumerId)) {
|
|
10357
10362
|
query["ConsumerId"] = request.consumerId;
|
|
10358
10363
|
}
|
|
10364
|
+
if (!$dara.isNull(request.consumerName)) {
|
|
10365
|
+
query["ConsumerName"] = request.consumerName;
|
|
10366
|
+
}
|
|
10367
|
+
if (!$dara.isNull(request.consumerNameList)) {
|
|
10368
|
+
query["ConsumerNameList"] = request.consumerNameList;
|
|
10369
|
+
}
|
|
10359
10370
|
if (!$dara.isNull(request.gwClusterId)) {
|
|
10360
10371
|
query["GwClusterId"] = request.gwClusterId;
|
|
10361
10372
|
}
|
|
@@ -10385,7 +10396,7 @@ class Client extends openapi_core_1.default {
|
|
|
10385
10396
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeConsumersResponse({}));
|
|
10386
10397
|
}
|
|
10387
10398
|
/**
|
|
10388
|
-
*
|
|
10399
|
+
* Queries the list of consumers.
|
|
10389
10400
|
*
|
|
10390
10401
|
* @param request - DescribeConsumersRequest
|
|
10391
10402
|
* @returns DescribeConsumersResponse
|
|
@@ -10650,7 +10661,7 @@ class Client extends openapi_core_1.default {
|
|
|
10650
10661
|
return await this.describeCrossCloudRegionMappingToAliyunWithOptions(request, runtime);
|
|
10651
10662
|
}
|
|
10652
10663
|
/**
|
|
10653
|
-
* Queries the IP
|
|
10664
|
+
* Queries the IP whitelist and security groups that are allowed to access a database cluster.
|
|
10654
10665
|
*
|
|
10655
10666
|
* @param request - DescribeDBClusterAccessWhitelistRequest
|
|
10656
10667
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -10668,6 +10679,9 @@ class Client extends openapi_core_1.default {
|
|
|
10668
10679
|
if (!$dara.isNull(request.ownerId)) {
|
|
10669
10680
|
query["OwnerId"] = request.ownerId;
|
|
10670
10681
|
}
|
|
10682
|
+
if (!$dara.isNull(request.pfsInstanceId)) {
|
|
10683
|
+
query["PfsInstanceId"] = request.pfsInstanceId;
|
|
10684
|
+
}
|
|
10671
10685
|
if (!$dara.isNull(request.resourceOwnerAccount)) {
|
|
10672
10686
|
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
10673
10687
|
}
|
|
@@ -10691,7 +10705,7 @@ class Client extends openapi_core_1.default {
|
|
|
10691
10705
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeDBClusterAccessWhitelistResponse({}));
|
|
10692
10706
|
}
|
|
10693
10707
|
/**
|
|
10694
|
-
* Queries the IP
|
|
10708
|
+
* Queries the IP whitelist and security groups that are allowed to access a database cluster.
|
|
10695
10709
|
*
|
|
10696
10710
|
* @param request - DescribeDBClusterAccessWhitelistRequest
|
|
10697
10711
|
* @returns DescribeDBClusterAccessWhitelistResponse
|
|
@@ -11405,6 +11419,110 @@ class Client extends openapi_core_1.default {
|
|
|
11405
11419
|
let runtime = new $dara.RuntimeOptions({});
|
|
11406
11420
|
return await this.describeDBClusterPerformanceWithOptions(request, runtime);
|
|
11407
11421
|
}
|
|
11422
|
+
/**
|
|
11423
|
+
* Queries the price of a cluster.
|
|
11424
|
+
*
|
|
11425
|
+
* @param tmpReq - DescribeDBClusterPriceRequest
|
|
11426
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
11427
|
+
* @returns DescribeDBClusterPriceResponse
|
|
11428
|
+
*/
|
|
11429
|
+
async describeDBClusterPriceWithOptions(tmpReq, runtime) {
|
|
11430
|
+
tmpReq.validate();
|
|
11431
|
+
let request = new $_model.DescribeDBClusterPriceShrinkRequest({});
|
|
11432
|
+
openapi_core_2.OpenApiUtil.convert(tmpReq, request);
|
|
11433
|
+
if (!$dara.isNull(tmpReq.DBNodes)) {
|
|
11434
|
+
request.DBNodesShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.DBNodes, "DBNodes", "json");
|
|
11435
|
+
}
|
|
11436
|
+
let query = {};
|
|
11437
|
+
if (!$dara.isNull(request.creationCategory)) {
|
|
11438
|
+
query["CreationCategory"] = request.creationCategory;
|
|
11439
|
+
}
|
|
11440
|
+
if (!$dara.isNull(request.DBClusterId)) {
|
|
11441
|
+
query["DBClusterId"] = request.DBClusterId;
|
|
11442
|
+
}
|
|
11443
|
+
if (!$dara.isNull(request.DBNodeClass)) {
|
|
11444
|
+
query["DBNodeClass"] = request.DBNodeClass;
|
|
11445
|
+
}
|
|
11446
|
+
if (!$dara.isNull(request.DBNodeIds)) {
|
|
11447
|
+
query["DBNodeIds"] = request.DBNodeIds;
|
|
11448
|
+
}
|
|
11449
|
+
if (!$dara.isNull(request.DBNodeNum)) {
|
|
11450
|
+
query["DBNodeNum"] = request.DBNodeNum;
|
|
11451
|
+
}
|
|
11452
|
+
if (!$dara.isNull(request.DBNodesShrink)) {
|
|
11453
|
+
query["DBNodes"] = request.DBNodesShrink;
|
|
11454
|
+
}
|
|
11455
|
+
if (!$dara.isNull(request.DBType)) {
|
|
11456
|
+
query["DBType"] = request.DBType;
|
|
11457
|
+
}
|
|
11458
|
+
if (!$dara.isNull(request.DBVersion)) {
|
|
11459
|
+
query["DBVersion"] = request.DBVersion;
|
|
11460
|
+
}
|
|
11461
|
+
if (!$dara.isNull(request.hotStandbyCluster)) {
|
|
11462
|
+
query["HotStandbyCluster"] = request.hotStandbyCluster;
|
|
11463
|
+
}
|
|
11464
|
+
if (!$dara.isNull(request.modifyType)) {
|
|
11465
|
+
query["ModifyType"] = request.modifyType;
|
|
11466
|
+
}
|
|
11467
|
+
if (!$dara.isNull(request.orderType)) {
|
|
11468
|
+
query["OrderType"] = request.orderType;
|
|
11469
|
+
}
|
|
11470
|
+
if (!$dara.isNull(request.payType)) {
|
|
11471
|
+
query["PayType"] = request.payType;
|
|
11472
|
+
}
|
|
11473
|
+
if (!$dara.isNull(request.period)) {
|
|
11474
|
+
query["Period"] = request.period;
|
|
11475
|
+
}
|
|
11476
|
+
if (!$dara.isNull(request.provisionedIops)) {
|
|
11477
|
+
query["ProvisionedIops"] = request.provisionedIops;
|
|
11478
|
+
}
|
|
11479
|
+
if (!$dara.isNull(request.regionId)) {
|
|
11480
|
+
query["RegionId"] = request.regionId;
|
|
11481
|
+
}
|
|
11482
|
+
if (!$dara.isNull(request.serverlessType)) {
|
|
11483
|
+
query["ServerlessType"] = request.serverlessType;
|
|
11484
|
+
}
|
|
11485
|
+
if (!$dara.isNull(request.storageChargeType)) {
|
|
11486
|
+
query["StorageChargeType"] = request.storageChargeType;
|
|
11487
|
+
}
|
|
11488
|
+
if (!$dara.isNull(request.storageSpace)) {
|
|
11489
|
+
query["StorageSpace"] = request.storageSpace;
|
|
11490
|
+
}
|
|
11491
|
+
if (!$dara.isNull(request.storageType)) {
|
|
11492
|
+
query["StorageType"] = request.storageType;
|
|
11493
|
+
}
|
|
11494
|
+
if (!$dara.isNull(request.usedTime)) {
|
|
11495
|
+
query["UsedTime"] = request.usedTime;
|
|
11496
|
+
}
|
|
11497
|
+
if (!$dara.isNull(request.zoneId)) {
|
|
11498
|
+
query["ZoneId"] = request.zoneId;
|
|
11499
|
+
}
|
|
11500
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
11501
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
11502
|
+
});
|
|
11503
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
11504
|
+
action: "DescribeDBClusterPrice",
|
|
11505
|
+
version: "2017-08-01",
|
|
11506
|
+
protocol: "HTTPS",
|
|
11507
|
+
pathname: "/",
|
|
11508
|
+
method: "POST",
|
|
11509
|
+
authType: "AK",
|
|
11510
|
+
style: "RPC",
|
|
11511
|
+
reqBodyType: "formData",
|
|
11512
|
+
bodyType: "json",
|
|
11513
|
+
});
|
|
11514
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeDBClusterPriceResponse({}));
|
|
11515
|
+
}
|
|
11516
|
+
/**
|
|
11517
|
+
* Queries the price of a cluster.
|
|
11518
|
+
*
|
|
11519
|
+
* @param request - DescribeDBClusterPriceRequest
|
|
11520
|
+
* @returns DescribeDBClusterPriceResponse
|
|
11521
|
+
*/
|
|
11522
|
+
async describeDBClusterPrice(request) {
|
|
11523
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
11524
|
+
return await this.describeDBClusterPriceWithOptions(request, runtime);
|
|
11525
|
+
}
|
|
11408
11526
|
/**
|
|
11409
11527
|
* Queries a database cluster proxy.
|
|
11410
11528
|
*
|
|
@@ -11481,6 +11599,9 @@ class Client extends openapi_core_1.default {
|
|
|
11481
11599
|
if (!$dara.isNull(request.ownerId)) {
|
|
11482
11600
|
query["OwnerId"] = request.ownerId;
|
|
11483
11601
|
}
|
|
11602
|
+
if (!$dara.isNull(request.pfsInstanceId)) {
|
|
11603
|
+
query["PfsInstanceId"] = request.pfsInstanceId;
|
|
11604
|
+
}
|
|
11484
11605
|
if (!$dara.isNull(request.resourceOwnerAccount)) {
|
|
11485
11606
|
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
11486
11607
|
}
|
|
@@ -15248,6 +15369,69 @@ class Client extends openapi_core_1.default {
|
|
|
15248
15369
|
let runtime = new $dara.RuntimeOptions({});
|
|
15249
15370
|
return await this.describePolarClawTaskWithOptions(request, runtime);
|
|
15250
15371
|
}
|
|
15372
|
+
/**
|
|
15373
|
+
* Queries PolarFS information.
|
|
15374
|
+
*
|
|
15375
|
+
* @param request - DescribePolarFsRequest
|
|
15376
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
15377
|
+
* @returns DescribePolarFsResponse
|
|
15378
|
+
*/
|
|
15379
|
+
async describePolarFsWithOptions(request, runtime) {
|
|
15380
|
+
request.validate();
|
|
15381
|
+
let query = {};
|
|
15382
|
+
if (!$dara.isNull(request.DBClusterId)) {
|
|
15383
|
+
query["DBClusterId"] = request.DBClusterId;
|
|
15384
|
+
}
|
|
15385
|
+
if (!$dara.isNull(request.pageNumber)) {
|
|
15386
|
+
query["PageNumber"] = request.pageNumber;
|
|
15387
|
+
}
|
|
15388
|
+
if (!$dara.isNull(request.pageSize)) {
|
|
15389
|
+
query["PageSize"] = request.pageSize;
|
|
15390
|
+
}
|
|
15391
|
+
if (!$dara.isNull(request.polarFsInstanceDescription)) {
|
|
15392
|
+
query["PolarFsInstanceDescription"] = request.polarFsInstanceDescription;
|
|
15393
|
+
}
|
|
15394
|
+
if (!$dara.isNull(request.polarFsInstanceIds)) {
|
|
15395
|
+
query["PolarFsInstanceIds"] = request.polarFsInstanceIds;
|
|
15396
|
+
}
|
|
15397
|
+
if (!$dara.isNull(request.polarFsType)) {
|
|
15398
|
+
query["PolarFsType"] = request.polarFsType;
|
|
15399
|
+
}
|
|
15400
|
+
if (!$dara.isNull(request.regionId)) {
|
|
15401
|
+
query["RegionId"] = request.regionId;
|
|
15402
|
+
}
|
|
15403
|
+
if (!$dara.isNull(request.relativeDbClusterId)) {
|
|
15404
|
+
query["RelativeDbClusterId"] = request.relativeDbClusterId;
|
|
15405
|
+
}
|
|
15406
|
+
if (!$dara.isNull(request.tag)) {
|
|
15407
|
+
query["Tag"] = request.tag;
|
|
15408
|
+
}
|
|
15409
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
15410
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
15411
|
+
});
|
|
15412
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
15413
|
+
action: "DescribePolarFs",
|
|
15414
|
+
version: "2017-08-01",
|
|
15415
|
+
protocol: "HTTPS",
|
|
15416
|
+
pathname: "/",
|
|
15417
|
+
method: "POST",
|
|
15418
|
+
authType: "AK",
|
|
15419
|
+
style: "RPC",
|
|
15420
|
+
reqBodyType: "formData",
|
|
15421
|
+
bodyType: "json",
|
|
15422
|
+
});
|
|
15423
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribePolarFsResponse({}));
|
|
15424
|
+
}
|
|
15425
|
+
/**
|
|
15426
|
+
* Queries PolarFS information.
|
|
15427
|
+
*
|
|
15428
|
+
* @param request - DescribePolarFsRequest
|
|
15429
|
+
* @returns DescribePolarFsResponse
|
|
15430
|
+
*/
|
|
15431
|
+
async describePolarFs(request) {
|
|
15432
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
15433
|
+
return await this.describePolarFsWithOptions(request, runtime);
|
|
15434
|
+
}
|
|
15251
15435
|
/**
|
|
15252
15436
|
* Retrieves the details of a PolarLakebase instance.
|
|
15253
15437
|
*
|
|
@@ -19741,7 +19925,7 @@ class Client extends openapi_core_1.default {
|
|
|
19741
19925
|
return await this.modifyDBClusterWithOptions(request, runtime);
|
|
19742
19926
|
}
|
|
19743
19927
|
/**
|
|
19744
|
-
* Creates or modifies the
|
|
19928
|
+
* Creates or modifies the whitelist of a cluster, including the IP whitelist and security groups.
|
|
19745
19929
|
*
|
|
19746
19930
|
* @param request - ModifyDBClusterAccessWhitelistRequest
|
|
19747
19931
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -19768,6 +19952,9 @@ class Client extends openapi_core_1.default {
|
|
|
19768
19952
|
if (!$dara.isNull(request.ownerId)) {
|
|
19769
19953
|
query["OwnerId"] = request.ownerId;
|
|
19770
19954
|
}
|
|
19955
|
+
if (!$dara.isNull(request.pfsInstanceId)) {
|
|
19956
|
+
query["PfsInstanceId"] = request.pfsInstanceId;
|
|
19957
|
+
}
|
|
19771
19958
|
if (!$dara.isNull(request.resourceOwnerAccount)) {
|
|
19772
19959
|
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
19773
19960
|
}
|
|
@@ -19800,7 +19987,7 @@ class Client extends openapi_core_1.default {
|
|
|
19800
19987
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyDBClusterAccessWhitelistResponse({}));
|
|
19801
19988
|
}
|
|
19802
19989
|
/**
|
|
19803
|
-
* Creates or modifies the
|
|
19990
|
+
* Creates or modifies the whitelist of a cluster, including the IP whitelist and security groups.
|
|
19804
19991
|
*
|
|
19805
19992
|
* @param request - ModifyDBClusterAccessWhitelistRequest
|
|
19806
19993
|
* @returns ModifyDBClusterAccessWhitelistResponse
|
|
@@ -20804,7 +20991,7 @@ class Client extends openapi_core_1.default {
|
|
|
20804
20991
|
return await this.modifyDBClusterResourceGroupWithOptions(request, runtime);
|
|
20805
20992
|
}
|
|
20806
20993
|
/**
|
|
20807
|
-
* Enables or
|
|
20994
|
+
* Enables or shuts down the Secure Sockets Layer (SSL) encryption feature for a PolarDB cluster, or updates the CA certificate of a PolarDB cluster.
|
|
20808
20995
|
*
|
|
20809
20996
|
* @param request - ModifyDBClusterSSLRequest
|
|
20810
20997
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -20813,6 +21000,9 @@ class Client extends openapi_core_1.default {
|
|
|
20813
21000
|
async modifyDBClusterSSLWithOptions(request, runtime) {
|
|
20814
21001
|
request.validate();
|
|
20815
21002
|
let query = {};
|
|
21003
|
+
if (!$dara.isNull(request.connectionString)) {
|
|
21004
|
+
query["ConnectionString"] = request.connectionString;
|
|
21005
|
+
}
|
|
20816
21006
|
if (!$dara.isNull(request.DBClusterId)) {
|
|
20817
21007
|
query["DBClusterId"] = request.DBClusterId;
|
|
20818
21008
|
}
|
|
@@ -20828,6 +21018,9 @@ class Client extends openapi_core_1.default {
|
|
|
20828
21018
|
if (!$dara.isNull(request.ownerId)) {
|
|
20829
21019
|
query["OwnerId"] = request.ownerId;
|
|
20830
21020
|
}
|
|
21021
|
+
if (!$dara.isNull(request.pfsInstanceId)) {
|
|
21022
|
+
query["PfsInstanceId"] = request.pfsInstanceId;
|
|
21023
|
+
}
|
|
20831
21024
|
if (!$dara.isNull(request.resourceOwnerAccount)) {
|
|
20832
21025
|
query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
|
|
20833
21026
|
}
|
|
@@ -20857,7 +21050,7 @@ class Client extends openapi_core_1.default {
|
|
|
20857
21050
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyDBClusterSSLResponse({}));
|
|
20858
21051
|
}
|
|
20859
21052
|
/**
|
|
20860
|
-
* Enables or
|
|
21053
|
+
* Enables or shuts down the Secure Sockets Layer (SSL) encryption feature for a PolarDB cluster, or updates the CA certificate of a PolarDB cluster.
|
|
20861
21054
|
*
|
|
20862
21055
|
* @param request - ModifyDBClusterSSLRequest
|
|
20863
21056
|
* @returns ModifyDBClusterSSLResponse
|
|
@@ -25521,7 +25714,7 @@ class Client extends openapi_core_1.default {
|
|
|
25521
25714
|
return await this.upgradePolarClawSkillsWithOptions(request, runtime);
|
|
25522
25715
|
}
|
|
25523
25716
|
/**
|
|
25524
|
-
*
|
|
25717
|
+
* Validates an AgenticDB tenant API key.
|
|
25525
25718
|
*
|
|
25526
25719
|
* @param request - VerifyAgenticDBTenantApiKeyRequest
|
|
25527
25720
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -25553,7 +25746,7 @@ class Client extends openapi_core_1.default {
|
|
|
25553
25746
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.VerifyAgenticDBTenantApiKeyResponse({}));
|
|
25554
25747
|
}
|
|
25555
25748
|
/**
|
|
25556
|
-
*
|
|
25749
|
+
* Validates an AgenticDB tenant API key.
|
|
25557
25750
|
*
|
|
25558
25751
|
* @param request - VerifyAgenticDBTenantApiKeyRequest
|
|
25559
25752
|
* @returns VerifyAgenticDBTenantApiKeyResponse
|