@alicloud/polardb20170801 6.20.0 → 6.21.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 CHANGED
@@ -3744,6 +3744,21 @@ export default class Client extends OpenApi {
3744
3744
  * @returns DescribePolarFsQuotaResponse
3745
3745
  */
3746
3746
  describePolarFsQuota(request: $_model.DescribePolarFsQuotaRequest): Promise<$_model.DescribePolarFsQuotaResponse>;
3747
+ /**
3748
+ * 查询配额列表
3749
+ *
3750
+ * @param request - DescribePolarFsQuotaListRequest
3751
+ * @param runtime - runtime options for this request RuntimeOptions
3752
+ * @returns DescribePolarFsQuotaListResponse
3753
+ */
3754
+ describePolarFsQuotaListWithOptions(request: $_model.DescribePolarFsQuotaListRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribePolarFsQuotaListResponse>;
3755
+ /**
3756
+ * 查询配额列表
3757
+ *
3758
+ * @param request - DescribePolarFsQuotaListRequest
3759
+ * @returns DescribePolarFsQuotaListResponse
3760
+ */
3761
+ describePolarFsQuotaList(request: $_model.DescribePolarFsQuotaListRequest): Promise<$_model.DescribePolarFsQuotaListResponse>;
3747
3762
  /**
3748
3763
  * Queries whether the SQL Explorer feature is enabled for the cluster.
3749
3764
  *
package/dist/client.js CHANGED
@@ -13971,6 +13971,54 @@ class Client extends openapi_core_1.default {
13971
13971
  let runtime = new $dara.RuntimeOptions({});
13972
13972
  return await this.describePolarFsQuotaWithOptions(request, runtime);
13973
13973
  }
13974
+ /**
13975
+ * 查询配额列表
13976
+ *
13977
+ * @param request - DescribePolarFsQuotaListRequest
13978
+ * @param runtime - runtime options for this request RuntimeOptions
13979
+ * @returns DescribePolarFsQuotaListResponse
13980
+ */
13981
+ async describePolarFsQuotaListWithOptions(request, runtime) {
13982
+ request.validate();
13983
+ let query = {};
13984
+ if (!$dara.isNull(request.DBClusterId)) {
13985
+ query["DBClusterId"] = request.DBClusterId;
13986
+ }
13987
+ if (!$dara.isNull(request.polarFsInstanceId)) {
13988
+ query["PolarFsInstanceId"] = request.polarFsInstanceId;
13989
+ }
13990
+ if (!$dara.isNull(request.quotaMode)) {
13991
+ query["QuotaMode"] = request.quotaMode;
13992
+ }
13993
+ if (!$dara.isNull(request.regionId)) {
13994
+ query["RegionId"] = request.regionId;
13995
+ }
13996
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
13997
+ query: openapi_core_2.OpenApiUtil.query(query),
13998
+ });
13999
+ let params = new openapi_core_2.$OpenApiUtil.Params({
14000
+ action: "DescribePolarFsQuotaList",
14001
+ version: "2017-08-01",
14002
+ protocol: "HTTPS",
14003
+ pathname: "/",
14004
+ method: "POST",
14005
+ authType: "AK",
14006
+ style: "RPC",
14007
+ reqBodyType: "formData",
14008
+ bodyType: "json",
14009
+ });
14010
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribePolarFsQuotaListResponse({}));
14011
+ }
14012
+ /**
14013
+ * 查询配额列表
14014
+ *
14015
+ * @param request - DescribePolarFsQuotaListRequest
14016
+ * @returns DescribePolarFsQuotaListResponse
14017
+ */
14018
+ async describePolarFsQuotaList(request) {
14019
+ let runtime = new $dara.RuntimeOptions({});
14020
+ return await this.describePolarFsQuotaListWithOptions(request, runtime);
14021
+ }
13974
14022
  /**
13975
14023
  * Queries whether the SQL Explorer feature is enabled for the cluster.
13976
14024
  *