@alicloud/polardb20170801 6.20.0 → 6.21.1

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.
Files changed (28) hide show
  1. package/dist/client.d.ts +19 -0
  2. package/dist/client.js +58 -0
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateAidbclusterRequest.d.ts +0 -3
  5. package/dist/models/CreateAidbclusterRequest.js.map +1 -1
  6. package/dist/models/DescribeApplicationAttributeResponseBody.d.ts +11 -0
  7. package/dist/models/DescribeApplicationAttributeResponseBody.js +6 -0
  8. package/dist/models/DescribeApplicationAttributeResponseBody.js.map +1 -1
  9. package/dist/models/DescribePolarFsQuotaListRequest.d.ts +38 -0
  10. package/dist/models/DescribePolarFsQuotaListRequest.js +68 -0
  11. package/dist/models/DescribePolarFsQuotaListRequest.js.map +1 -0
  12. package/dist/models/DescribePolarFsQuotaListResponse.d.ts +19 -0
  13. package/dist/models/DescribePolarFsQuotaListResponse.js +69 -0
  14. package/dist/models/DescribePolarFsQuotaListResponse.js.map +1 -0
  15. package/dist/models/DescribePolarFsQuotaListResponseBody.d.ts +87 -0
  16. package/dist/models/DescribePolarFsQuotaListResponseBody.js +100 -0
  17. package/dist/models/DescribePolarFsQuotaListResponseBody.js.map +1 -0
  18. package/dist/models/model.d.ts +4 -0
  19. package/dist/models/model.js +34 -26
  20. package/dist/models/model.js.map +1 -1
  21. package/package.json +1 -1
  22. package/src/client.ts +66 -0
  23. package/src/models/CreateAidbclusterRequest.ts +0 -3
  24. package/src/models/DescribeApplicationAttributeResponseBody.ts +17 -0
  25. package/src/models/DescribePolarFsQuotaListRequest.ts +61 -0
  26. package/src/models/DescribePolarFsQuotaListResponse.ts +40 -0
  27. package/src/models/DescribePolarFsQuotaListResponseBody.ts +133 -0
  28. package/src/models/model.ts +4 -0
package/dist/client.d.ts CHANGED
@@ -2861,12 +2861,16 @@ export default class Client extends OpenApi {
2861
2861
  */
2862
2862
  describeDBInitializeVariable(request: $_model.DescribeDBInitializeVariableRequest): Promise<$_model.DescribeDBInitializeVariableResponse>;
2863
2863
  /**
2864
+ * 查询实例性能数据
2865
+ *
2864
2866
  * @param request - DescribeDBInstancePerformanceRequest
2865
2867
  * @param runtime - runtime options for this request RuntimeOptions
2866
2868
  * @returns DescribeDBInstancePerformanceResponse
2867
2869
  */
2868
2870
  describeDBInstancePerformanceWithOptions(request: $_model.DescribeDBInstancePerformanceRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeDBInstancePerformanceResponse>;
2869
2871
  /**
2872
+ * 查询实例性能数据
2873
+ *
2870
2874
  * @param request - DescribeDBInstancePerformanceRequest
2871
2875
  * @returns DescribeDBInstancePerformanceResponse
2872
2876
  */
@@ -3744,6 +3748,21 @@ export default class Client extends OpenApi {
3744
3748
  * @returns DescribePolarFsQuotaResponse
3745
3749
  */
3746
3750
  describePolarFsQuota(request: $_model.DescribePolarFsQuotaRequest): Promise<$_model.DescribePolarFsQuotaResponse>;
3751
+ /**
3752
+ * 查询配额列表
3753
+ *
3754
+ * @param request - DescribePolarFsQuotaListRequest
3755
+ * @param runtime - runtime options for this request RuntimeOptions
3756
+ * @returns DescribePolarFsQuotaListResponse
3757
+ */
3758
+ describePolarFsQuotaListWithOptions(request: $_model.DescribePolarFsQuotaListRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribePolarFsQuotaListResponse>;
3759
+ /**
3760
+ * 查询配额列表
3761
+ *
3762
+ * @param request - DescribePolarFsQuotaListRequest
3763
+ * @returns DescribePolarFsQuotaListResponse
3764
+ */
3765
+ describePolarFsQuotaList(request: $_model.DescribePolarFsQuotaListRequest): Promise<$_model.DescribePolarFsQuotaListResponse>;
3747
3766
  /**
3748
3767
  * Queries whether the SQL Explorer feature is enabled for the cluster.
3749
3768
  *
package/dist/client.js CHANGED
@@ -10841,6 +10841,8 @@ class Client extends openapi_core_1.default {
10841
10841
  return await this.describeDBInitializeVariableWithOptions(request, runtime);
10842
10842
  }
10843
10843
  /**
10844
+ * 查询实例性能数据
10845
+ *
10844
10846
  * @param request - DescribeDBInstancePerformanceRequest
10845
10847
  * @param runtime - runtime options for this request RuntimeOptions
10846
10848
  * @returns DescribeDBInstancePerformanceResponse
@@ -10889,6 +10891,8 @@ class Client extends openapi_core_1.default {
10889
10891
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeDBInstancePerformanceResponse({}));
10890
10892
  }
10891
10893
  /**
10894
+ * 查询实例性能数据
10895
+ *
10892
10896
  * @param request - DescribeDBInstancePerformanceRequest
10893
10897
  * @returns DescribeDBInstancePerformanceResponse
10894
10898
  */
@@ -13971,6 +13975,60 @@ class Client extends openapi_core_1.default {
13971
13975
  let runtime = new $dara.RuntimeOptions({});
13972
13976
  return await this.describePolarFsQuotaWithOptions(request, runtime);
13973
13977
  }
13978
+ /**
13979
+ * 查询配额列表
13980
+ *
13981
+ * @param request - DescribePolarFsQuotaListRequest
13982
+ * @param runtime - runtime options for this request RuntimeOptions
13983
+ * @returns DescribePolarFsQuotaListResponse
13984
+ */
13985
+ async describePolarFsQuotaListWithOptions(request, runtime) {
13986
+ request.validate();
13987
+ let query = {};
13988
+ if (!$dara.isNull(request.DBClusterId)) {
13989
+ query["DBClusterId"] = request.DBClusterId;
13990
+ }
13991
+ if (!$dara.isNull(request.pageNumber)) {
13992
+ query["PageNumber"] = request.pageNumber;
13993
+ }
13994
+ if (!$dara.isNull(request.pageSize)) {
13995
+ query["PageSize"] = request.pageSize;
13996
+ }
13997
+ if (!$dara.isNull(request.polarFsInstanceId)) {
13998
+ query["PolarFsInstanceId"] = request.polarFsInstanceId;
13999
+ }
14000
+ if (!$dara.isNull(request.quotaMode)) {
14001
+ query["QuotaMode"] = request.quotaMode;
14002
+ }
14003
+ if (!$dara.isNull(request.regionId)) {
14004
+ query["RegionId"] = request.regionId;
14005
+ }
14006
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
14007
+ query: openapi_core_2.OpenApiUtil.query(query),
14008
+ });
14009
+ let params = new openapi_core_2.$OpenApiUtil.Params({
14010
+ action: "DescribePolarFsQuotaList",
14011
+ version: "2017-08-01",
14012
+ protocol: "HTTPS",
14013
+ pathname: "/",
14014
+ method: "POST",
14015
+ authType: "AK",
14016
+ style: "RPC",
14017
+ reqBodyType: "formData",
14018
+ bodyType: "json",
14019
+ });
14020
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribePolarFsQuotaListResponse({}));
14021
+ }
14022
+ /**
14023
+ * 查询配额列表
14024
+ *
14025
+ * @param request - DescribePolarFsQuotaListRequest
14026
+ * @returns DescribePolarFsQuotaListResponse
14027
+ */
14028
+ async describePolarFsQuotaList(request) {
14029
+ let runtime = new $dara.RuntimeOptions({});
14030
+ return await this.describePolarFsQuotaListWithOptions(request, runtime);
14031
+ }
13974
14032
  /**
13975
14033
  * Queries whether the SQL Explorer feature is enabled for the cluster.
13976
14034
  *