@alicloud/adb20211201 5.1.3 → 5.1.4

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 (70) hide show
  1. package/dist/client.d.ts +30 -30
  2. package/dist/client.js +78 -30
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateAccountRequest.d.ts +8 -4
  5. package/dist/models/CreateAccountRequest.js +14 -0
  6. package/dist/models/CreateAccountRequest.js.map +1 -1
  7. package/dist/models/CreateAccountShrinkRequest.d.ts +8 -4
  8. package/dist/models/CreateAccountShrinkRequest.js +8 -0
  9. package/dist/models/CreateAccountShrinkRequest.js.map +1 -1
  10. package/dist/models/CreateDbresourceGroupRequest.d.ts +27 -27
  11. package/dist/models/CreateDbresourceGroupShrinkRequest.d.ts +13 -13
  12. package/dist/models/DeleteAccountRequest.d.ts +7 -6
  13. package/dist/models/DeleteAccountRequest.js +2 -0
  14. package/dist/models/DeleteAccountRequest.js.map +1 -1
  15. package/dist/models/DescribeAccountsRequest.d.ts +7 -4
  16. package/dist/models/DescribeAccountsRequest.js +2 -0
  17. package/dist/models/DescribeAccountsRequest.js.map +1 -1
  18. package/dist/models/DescribeAccountsResponseBody.d.ts +43 -0
  19. package/dist/models/DescribeAccountsResponseBody.js +84 -1
  20. package/dist/models/DescribeAccountsResponseBody.js.map +1 -1
  21. package/dist/models/DescribeDbclusterPerformanceRequest.d.ts +9 -11
  22. package/dist/models/DescribeDbclusterPerformanceRequest.js.map +1 -1
  23. package/dist/models/DescribeDbclusterPerformanceResponseBody.d.ts +9 -10
  24. package/dist/models/DescribeDbclusterPerformanceResponseBody.js.map +1 -1
  25. package/dist/models/GetTableResponseBody.d.ts +1 -1
  26. package/dist/models/ModifyAccountDescriptionRequest.d.ts +1 -0
  27. package/dist/models/ModifyAccountDescriptionRequest.js +2 -0
  28. package/dist/models/ModifyAccountDescriptionRequest.js.map +1 -1
  29. package/dist/models/ModifyAccountPrivilegesRequest.d.ts +13 -10
  30. package/dist/models/ModifyAccountPrivilegesRequest.js +14 -0
  31. package/dist/models/ModifyAccountPrivilegesRequest.js.map +1 -1
  32. package/dist/models/ModifyAccountPrivilegesShrinkRequest.d.ts +7 -4
  33. package/dist/models/ModifyAccountPrivilegesShrinkRequest.js +8 -0
  34. package/dist/models/ModifyAccountPrivilegesShrinkRequest.js.map +1 -1
  35. package/dist/models/ModifyAuditLogConfigRequest.d.ts +11 -13
  36. package/dist/models/ModifyAuditLogConfigRequest.js.map +1 -1
  37. package/dist/models/ModifyAuditLogConfigResponseBody.d.ts +3 -4
  38. package/dist/models/ModifyAuditLogConfigResponseBody.js.map +1 -1
  39. package/dist/models/ModifyBackupPolicyRequest.d.ts +21 -25
  40. package/dist/models/ModifyBackupPolicyRequest.js.map +1 -1
  41. package/dist/models/ModifyDbresourceGroupRequest.d.ts +31 -31
  42. package/dist/models/ModifyDbresourceGroupShrinkRequest.d.ts +19 -19
  43. package/dist/models/ResetAccountPasswordRequest.d.ts +1 -0
  44. package/dist/models/ResetAccountPasswordRequest.js +2 -0
  45. package/dist/models/ResetAccountPasswordRequest.js.map +1 -1
  46. package/dist/models/model.d.ts +3 -0
  47. package/dist/models/model.js +34 -28
  48. package/dist/models/model.js.map +1 -1
  49. package/package.json +1 -1
  50. package/src/client.ts +94 -30
  51. package/src/models/CreateAccountRequest.ts +22 -4
  52. package/src/models/CreateAccountShrinkRequest.ts +16 -4
  53. package/src/models/CreateDbresourceGroupRequest.ts +27 -27
  54. package/src/models/CreateDbresourceGroupShrinkRequest.ts +13 -13
  55. package/src/models/DeleteAccountRequest.ts +9 -6
  56. package/src/models/DescribeAccountsRequest.ts +9 -4
  57. package/src/models/DescribeAccountsResponseBody.ts +99 -0
  58. package/src/models/DescribeDbclusterPerformanceRequest.ts +9 -11
  59. package/src/models/DescribeDbclusterPerformanceResponseBody.ts +9 -10
  60. package/src/models/GetTableResponseBody.ts +1 -1
  61. package/src/models/ModifyAccountDescriptionRequest.ts +3 -0
  62. package/src/models/ModifyAccountPrivilegesRequest.ts +27 -10
  63. package/src/models/ModifyAccountPrivilegesShrinkRequest.ts +15 -4
  64. package/src/models/ModifyAuditLogConfigRequest.ts +11 -13
  65. package/src/models/ModifyAuditLogConfigResponseBody.ts +3 -4
  66. package/src/models/ModifyBackupPolicyRequest.ts +21 -25
  67. package/src/models/ModifyDbresourceGroupRequest.ts +31 -31
  68. package/src/models/ModifyDbresourceGroupShrinkRequest.ts +19 -19
  69. package/src/models/ResetAccountPasswordRequest.ts +3 -0
  70. package/src/models/model.ts +3 -0
package/dist/client.d.ts CHANGED
@@ -307,7 +307,7 @@ export default class Client extends OpenApi {
307
307
  * Creates a database account for a cluster.
308
308
  *
309
309
  * @remarks
310
- * For information about the endpoint of this service, see [Service registration](https://help.aliyun.com/document_detail/612373.html).
310
+ * For information about the endpoint of the current service, see [Endpoint](https://help.aliyun.com/document_detail/612373.html).
311
311
  *
312
312
  * @param tmpReq - CreateAccountRequest
313
313
  * @param runtime - runtime options for this request RuntimeOptions
@@ -318,7 +318,7 @@ export default class Client extends OpenApi {
318
318
  * Creates a database account for a cluster.
319
319
  *
320
320
  * @remarks
321
- * For information about the endpoint of this service, see [Service registration](https://help.aliyun.com/document_detail/612373.html).
321
+ * For information about the endpoint of the current service, see [Endpoint](https://help.aliyun.com/document_detail/612373.html).
322
322
  *
323
323
  * @param request - CreateAccountRequest
324
324
  * @returns CreateAccountResponse
@@ -478,7 +478,7 @@ export default class Client extends OpenApi {
478
478
  * Creates a resource group for a specified Enterprise Edition, Basic Edition, or Data Lakehouse Edition cluster.
479
479
  *
480
480
  * @remarks
481
- * For the service registration of this service, see [Endpoint](https://help.aliyun.com/document_detail/612373.html).
481
+ * For the endpoints of this service, see [Endpoint](https://help.aliyun.com/document_detail/612373.html).
482
482
  *
483
483
  * @param tmpReq - CreateDBResourceGroupRequest
484
484
  * @param runtime - runtime options for this request RuntimeOptions
@@ -489,7 +489,7 @@ export default class Client extends OpenApi {
489
489
  * Creates a resource group for a specified Enterprise Edition, Basic Edition, or Data Lakehouse Edition cluster.
490
490
  *
491
491
  * @remarks
492
- * For the service registration of this service, see [Endpoint](https://help.aliyun.com/document_detail/612373.html).
492
+ * For the endpoints of this service, see [Endpoint](https://help.aliyun.com/document_detail/612373.html).
493
493
  *
494
494
  * @param request - CreateDBResourceGroupRequest
495
495
  * @returns CreateDBResourceGroupResponse
@@ -666,10 +666,10 @@ export default class Client extends OpenApi {
666
666
  */
667
667
  createSparkTemplate(request: $_model.CreateSparkTemplateRequest): Promise<$_model.CreateSparkTemplateResponse>;
668
668
  /**
669
- * Deletes a database account from an AnalyticDB for MySQL cluster.
669
+ * Deletes a database account from a cluster.
670
670
  *
671
671
  * @remarks
672
- * For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
672
+ * For the endpoint of this service, see [Endpoint](https://help.aliyun.com/document_detail/612373.html).
673
673
  *
674
674
  * @param request - DeleteAccountRequest
675
675
  * @param runtime - runtime options for this request RuntimeOptions
@@ -677,10 +677,10 @@ export default class Client extends OpenApi {
677
677
  */
678
678
  deleteAccountWithOptions(request: $_model.DeleteAccountRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteAccountResponse>;
679
679
  /**
680
- * Deletes a database account from an AnalyticDB for MySQL cluster.
680
+ * Deletes a database account from a cluster.
681
681
  *
682
682
  * @remarks
683
- * For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
683
+ * For the endpoint of this service, see [Endpoint](https://help.aliyun.com/document_detail/612373.html).
684
684
  *
685
685
  * @param request - DeleteAccountRequest
686
686
  * @returns DeleteAccountResponse
@@ -1079,7 +1079,7 @@ export default class Client extends OpenApi {
1079
1079
  * Queries the database accounts of a cluster.
1080
1080
  *
1081
1081
  * @remarks
1082
- * For the endpoint of this service, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
1082
+ * For the service registration information of this service, see [Endpoint](https://help.aliyun.com/document_detail/612373.html).
1083
1083
  *
1084
1084
  * @param request - DescribeAccountsRequest
1085
1085
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1090,7 +1090,7 @@ export default class Client extends OpenApi {
1090
1090
  * Queries the database accounts of a cluster.
1091
1091
  *
1092
1092
  * @remarks
1093
- * For the endpoint of this service, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
1093
+ * For the service registration information of this service, see [Endpoint](https://help.aliyun.com/document_detail/612373.html).
1094
1094
  *
1095
1095
  * @param request - DescribeAccountsRequest
1096
1096
  * @returns DescribeAccountsResponse
@@ -1718,10 +1718,10 @@ export default class Client extends OpenApi {
1718
1718
  */
1719
1719
  describeDBClusterHealthStatus(request: $_model.DescribeDBClusterHealthStatusRequest): Promise<$_model.DescribeDBClusterHealthStatusResponse>;
1720
1720
  /**
1721
- * View target cluster performance data.
1721
+ * Queries the performance data of a specified cluster.
1722
1722
  *
1723
1723
  * @remarks
1724
- * For the service endpoint address, see [service endpoint](https://help.aliyun.com/document_detail/612373.html).
1724
+ * For the endpoint of this service, see [Endpoint](https://help.aliyun.com/document_detail/612373.html).
1725
1725
  *
1726
1726
  * @param request - DescribeDBClusterPerformanceRequest
1727
1727
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1729,10 +1729,10 @@ export default class Client extends OpenApi {
1729
1729
  */
1730
1730
  describeDBClusterPerformanceWithOptions(request: $_model.DescribeDBClusterPerformanceRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeDBClusterPerformanceResponse>;
1731
1731
  /**
1732
- * View target cluster performance data.
1732
+ * Queries the performance data of a specified cluster.
1733
1733
  *
1734
1734
  * @remarks
1735
- * For the service endpoint address, see [service endpoint](https://help.aliyun.com/document_detail/612373.html).
1735
+ * For the endpoint of this service, see [Endpoint](https://help.aliyun.com/document_detail/612373.html).
1736
1736
  *
1737
1737
  * @param request - DescribeDBClusterPerformanceRequest
1738
1738
  * @returns DescribeDBClusterPerformanceResponse
@@ -3529,8 +3529,8 @@ export default class Client extends OpenApi {
3529
3529
  * Retrieves table information.
3530
3530
  *
3531
3531
  * @remarks
3532
- * - Public endpoint of the region: `adb.<region-id>.aliyuncs.com`. Example: `adb.ap-southeast-1.aliyuncs.com`.
3533
- * - VPC endpoint of the region: `adb-vpc.<region-id>.aliyuncs.com`. Example: `adb-vpc.ap-southeast-1.aliyuncs.com`.
3532
+ * - Public endpoint of a region: `adb.<region-id>.aliyuncs.com`. Example: `adb.cn-hangzhou.aliyuncs.com`.
3533
+ * - VPC endpoint of a region: `adb-vpc.<region-id>.aliyuncs.com`. Example: `adb-vpc.cn-hangzhou.aliyuncs.com`.
3534
3534
  *
3535
3535
  * @param request - GetTableRequest
3536
3536
  * @param runtime - runtime options for this request RuntimeOptions
@@ -3541,8 +3541,8 @@ export default class Client extends OpenApi {
3541
3541
  * Retrieves table information.
3542
3542
  *
3543
3543
  * @remarks
3544
- * - Public endpoint of the region: `adb.<region-id>.aliyuncs.com`. Example: `adb.ap-southeast-1.aliyuncs.com`.
3545
- * - VPC endpoint of the region: `adb-vpc.<region-id>.aliyuncs.com`. Example: `adb-vpc.ap-southeast-1.aliyuncs.com`.
3544
+ * - Public endpoint of a region: `adb.<region-id>.aliyuncs.com`. Example: `adb.cn-hangzhou.aliyuncs.com`.
3545
+ * - VPC endpoint of a region: `adb-vpc.<region-id>.aliyuncs.com`. Example: `adb-vpc.cn-hangzhou.aliyuncs.com`.
3546
3546
  *
3547
3547
  * @param request - GetTableRequest
3548
3548
  * @returns GetTableResponse
@@ -4032,7 +4032,7 @@ export default class Client extends OpenApi {
4032
4032
  * Modifies the permissions of a database account.
4033
4033
  *
4034
4034
  * @remarks
4035
- * For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
4035
+ * For the service registration of this service, refer to [Endpoint](https://help.aliyun.com/document_detail/612373.html).
4036
4036
  *
4037
4037
  * @param tmpReq - ModifyAccountPrivilegesRequest
4038
4038
  * @param runtime - runtime options for this request RuntimeOptions
@@ -4043,7 +4043,7 @@ export default class Client extends OpenApi {
4043
4043
  * Modifies the permissions of a database account.
4044
4044
  *
4045
4045
  * @remarks
4046
- * For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
4046
+ * For the service registration of this service, refer to [Endpoint](https://help.aliyun.com/document_detail/612373.html).
4047
4047
  *
4048
4048
  * @param request - ModifyAccountPrivilegesRequest
4049
4049
  * @returns ModifyAccountPrivilegesResponse
@@ -4132,10 +4132,10 @@ export default class Client extends OpenApi {
4132
4132
  */
4133
4133
  modifyApsWorkloadName(request: $_model.ModifyApsWorkloadNameRequest): Promise<$_model.ModifyApsWorkloadNameResponse>;
4134
4134
  /**
4135
- * Modifies the SQL audit settings of an AnalyticDB for MySQL cluster.
4135
+ * Modifies the SQL audit log settings of a cluster.
4136
4136
  *
4137
4137
  * @remarks
4138
- * For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
4138
+ * For the endpoint of this service, see [Endpoint](https://help.aliyun.com/document_detail/612373.html).
4139
4139
  *
4140
4140
  * @param request - ModifyAuditLogConfigRequest
4141
4141
  * @param runtime - runtime options for this request RuntimeOptions
@@ -4143,10 +4143,10 @@ export default class Client extends OpenApi {
4143
4143
  */
4144
4144
  modifyAuditLogConfigWithOptions(request: $_model.ModifyAuditLogConfigRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ModifyAuditLogConfigResponse>;
4145
4145
  /**
4146
- * Modifies the SQL audit settings of an AnalyticDB for MySQL cluster.
4146
+ * Modifies the SQL audit log settings of a cluster.
4147
4147
  *
4148
4148
  * @remarks
4149
- * For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
4149
+ * For the endpoint of this service, see [Endpoint](https://help.aliyun.com/document_detail/612373.html).
4150
4150
  *
4151
4151
  * @param request - ModifyAuditLogConfigRequest
4152
4152
  * @returns ModifyAuditLogConfigResponse
@@ -4168,10 +4168,10 @@ export default class Client extends OpenApi {
4168
4168
  */
4169
4169
  modifyAutoRenewalAttribute(request: $_model.ModifyAutoRenewalAttributeRequest): Promise<$_model.ModifyAutoRenewalAttributeResponse>;
4170
4170
  /**
4171
- * Modifies the backup policy of an AnalyticDB for MySQL cluster.
4171
+ * Modifies the backup policy of a cluster.
4172
4172
  *
4173
4173
  * @remarks
4174
- * For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
4174
+ * For information about the endpoint of the current service, see [Endpoint](https://help.aliyun.com/document_detail/612373.html).
4175
4175
  *
4176
4176
  * @param request - ModifyBackupPolicyRequest
4177
4177
  * @param runtime - runtime options for this request RuntimeOptions
@@ -4179,10 +4179,10 @@ export default class Client extends OpenApi {
4179
4179
  */
4180
4180
  modifyBackupPolicyWithOptions(request: $_model.ModifyBackupPolicyRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ModifyBackupPolicyResponse>;
4181
4181
  /**
4182
- * Modifies the backup policy of an AnalyticDB for MySQL cluster.
4182
+ * Modifies the backup policy of a cluster.
4183
4183
  *
4184
4184
  * @remarks
4185
- * For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
4185
+ * For information about the endpoint of the current service, see [Endpoint](https://help.aliyun.com/document_detail/612373.html).
4186
4186
  *
4187
4187
  * @param request - ModifyBackupPolicyRequest
4188
4188
  * @returns ModifyBackupPolicyResponse
@@ -4363,7 +4363,7 @@ export default class Client extends OpenApi {
4363
4363
  * Changes the resource group of a cluster.
4364
4364
  *
4365
4365
  * @remarks
4366
- * For information about the endpoints of this service, see [Service registration](https://help.aliyun.com/document_detail/612373.html).
4366
+ * For the endpoint of this service, refer to [Endpoint](https://help.aliyun.com/document_detail/612373.html).
4367
4367
  *
4368
4368
  * @param tmpReq - ModifyDBResourceGroupRequest
4369
4369
  * @param runtime - runtime options for this request RuntimeOptions
@@ -4374,7 +4374,7 @@ export default class Client extends OpenApi {
4374
4374
  * Changes the resource group of a cluster.
4375
4375
  *
4376
4376
  * @remarks
4377
- * For information about the endpoints of this service, see [Service registration](https://help.aliyun.com/document_detail/612373.html).
4377
+ * For the endpoint of this service, refer to [Endpoint](https://help.aliyun.com/document_detail/612373.html).
4378
4378
  *
4379
4379
  * @param request - ModifyDBResourceGroupRequest
4380
4380
  * @returns ModifyDBResourceGroupResponse
package/dist/client.js CHANGED
@@ -926,7 +926,7 @@ class Client extends openapi_core_1.default {
926
926
  * Creates a database account for a cluster.
927
927
  *
928
928
  * @remarks
929
- * For information about the endpoint of this service, see [Service registration](https://help.aliyun.com/document_detail/612373.html).
929
+ * For information about the endpoint of the current service, see [Endpoint](https://help.aliyun.com/document_detail/612373.html).
930
930
  *
931
931
  * @param tmpReq - CreateAccountRequest
932
932
  * @param runtime - runtime options for this request RuntimeOptions
@@ -936,6 +936,12 @@ class Client extends openapi_core_1.default {
936
936
  tmpReq.validate();
937
937
  let request = new $_model.CreateAccountShrinkRequest({});
938
938
  openapi_core_2.OpenApiUtil.convert(tmpReq, request);
939
+ if (!$dara.isNull(tmpReq.promqlInsertPrivileges)) {
940
+ request.promqlInsertPrivilegesShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.promqlInsertPrivileges, "PromqlInsertPrivileges", "json");
941
+ }
942
+ if (!$dara.isNull(tmpReq.promqlSelectPrivileges)) {
943
+ request.promqlSelectPrivilegesShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.promqlSelectPrivileges, "PromqlSelectPrivileges", "json");
944
+ }
939
945
  if (!$dara.isNull(tmpReq.ramUserList)) {
940
946
  request.ramUserListShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.ramUserList, "RamUserList", "json");
941
947
  }
@@ -958,9 +964,21 @@ class Client extends openapi_core_1.default {
958
964
  if (!$dara.isNull(request.engine)) {
959
965
  query["Engine"] = request.engine;
960
966
  }
967
+ if (!$dara.isNull(request.promqlInsertPrivilegesShrink)) {
968
+ query["PromqlInsertPrivileges"] = request.promqlInsertPrivilegesShrink;
969
+ }
970
+ if (!$dara.isNull(request.promqlSelectNodePercentage)) {
971
+ query["PromqlSelectNodePercentage"] = request.promqlSelectNodePercentage;
972
+ }
973
+ if (!$dara.isNull(request.promqlSelectPrivilegesShrink)) {
974
+ query["PromqlSelectPrivileges"] = request.promqlSelectPrivilegesShrink;
975
+ }
961
976
  if (!$dara.isNull(request.ramUserListShrink)) {
962
977
  query["RamUserList"] = request.ramUserListShrink;
963
978
  }
979
+ if (!$dara.isNull(request.resourceGroupName)) {
980
+ query["ResourceGroupName"] = request.resourceGroupName;
981
+ }
964
982
  let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
965
983
  query: openapi_core_2.OpenApiUtil.query(query),
966
984
  });
@@ -981,7 +999,7 @@ class Client extends openapi_core_1.default {
981
999
  * Creates a database account for a cluster.
982
1000
  *
983
1001
  * @remarks
984
- * For information about the endpoint of this service, see [Service registration](https://help.aliyun.com/document_detail/612373.html).
1002
+ * For information about the endpoint of the current service, see [Endpoint](https://help.aliyun.com/document_detail/612373.html).
985
1003
  *
986
1004
  * @param request - CreateAccountRequest
987
1005
  * @returns CreateAccountResponse
@@ -1764,7 +1782,7 @@ class Client extends openapi_core_1.default {
1764
1782
  * Creates a resource group for a specified Enterprise Edition, Basic Edition, or Data Lakehouse Edition cluster.
1765
1783
  *
1766
1784
  * @remarks
1767
- * For the service registration of this service, see [Endpoint](https://help.aliyun.com/document_detail/612373.html).
1785
+ * For the endpoints of this service, see [Endpoint](https://help.aliyun.com/document_detail/612373.html).
1768
1786
  *
1769
1787
  * @param tmpReq - CreateDBResourceGroupRequest
1770
1788
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1882,7 +1900,7 @@ class Client extends openapi_core_1.default {
1882
1900
  * Creates a resource group for a specified Enterprise Edition, Basic Edition, or Data Lakehouse Edition cluster.
1883
1901
  *
1884
1902
  * @remarks
1885
- * For the service registration of this service, see [Endpoint](https://help.aliyun.com/document_detail/612373.html).
1903
+ * For the endpoints of this service, see [Endpoint](https://help.aliyun.com/document_detail/612373.html).
1886
1904
  *
1887
1905
  * @param request - CreateDBResourceGroupRequest
1888
1906
  * @returns CreateDBResourceGroupResponse
@@ -2404,10 +2422,10 @@ class Client extends openapi_core_1.default {
2404
2422
  return await this.createSparkTemplateWithOptions(request, runtime);
2405
2423
  }
2406
2424
  /**
2407
- * Deletes a database account from an AnalyticDB for MySQL cluster.
2425
+ * Deletes a database account from a cluster.
2408
2426
  *
2409
2427
  * @remarks
2410
- * For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
2428
+ * For the endpoint of this service, see [Endpoint](https://help.aliyun.com/document_detail/612373.html).
2411
2429
  *
2412
2430
  * @param request - DeleteAccountRequest
2413
2431
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2425,6 +2443,9 @@ class Client extends openapi_core_1.default {
2425
2443
  if (!$dara.isNull(request.engine)) {
2426
2444
  query["Engine"] = request.engine;
2427
2445
  }
2446
+ if (!$dara.isNull(request.resourceGroupName)) {
2447
+ query["ResourceGroupName"] = request.resourceGroupName;
2448
+ }
2428
2449
  let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
2429
2450
  query: openapi_core_2.OpenApiUtil.query(query),
2430
2451
  });
@@ -2442,10 +2463,10 @@ class Client extends openapi_core_1.default {
2442
2463
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteAccountResponse({}));
2443
2464
  }
2444
2465
  /**
2445
- * Deletes a database account from an AnalyticDB for MySQL cluster.
2466
+ * Deletes a database account from a cluster.
2446
2467
  *
2447
2468
  * @remarks
2448
- * For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
2469
+ * For the endpoint of this service, see [Endpoint](https://help.aliyun.com/document_detail/612373.html).
2449
2470
  *
2450
2471
  * @param request - DeleteAccountRequest
2451
2472
  * @returns DeleteAccountResponse
@@ -3485,7 +3506,7 @@ class Client extends openapi_core_1.default {
3485
3506
  * Queries the database accounts of a cluster.
3486
3507
  *
3487
3508
  * @remarks
3488
- * For the endpoint of this service, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
3509
+ * For the service registration information of this service, see [Endpoint](https://help.aliyun.com/document_detail/612373.html).
3489
3510
  *
3490
3511
  * @param request - DescribeAccountsRequest
3491
3512
  * @param runtime - runtime options for this request RuntimeOptions
@@ -3506,6 +3527,9 @@ class Client extends openapi_core_1.default {
3506
3527
  if (!$dara.isNull(request.ownerId)) {
3507
3528
  query["OwnerId"] = request.ownerId;
3508
3529
  }
3530
+ if (!$dara.isNull(request.resourceGroupName)) {
3531
+ query["ResourceGroupName"] = request.resourceGroupName;
3532
+ }
3509
3533
  let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
3510
3534
  query: openapi_core_2.OpenApiUtil.query(query),
3511
3535
  });
@@ -3526,7 +3550,7 @@ class Client extends openapi_core_1.default {
3526
3550
  * Queries the database accounts of a cluster.
3527
3551
  *
3528
3552
  * @remarks
3529
- * For the endpoint of this service, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
3553
+ * For the service registration information of this service, see [Endpoint](https://help.aliyun.com/document_detail/612373.html).
3530
3554
  *
3531
3555
  * @param request - DescribeAccountsRequest
3532
3556
  * @returns DescribeAccountsResponse
@@ -5392,10 +5416,10 @@ class Client extends openapi_core_1.default {
5392
5416
  return await this.describeDBClusterHealthStatusWithOptions(request, runtime);
5393
5417
  }
5394
5418
  /**
5395
- * View target cluster performance data.
5419
+ * Queries the performance data of a specified cluster.
5396
5420
  *
5397
5421
  * @remarks
5398
- * For the service endpoint address, see [service endpoint](https://help.aliyun.com/document_detail/612373.html).
5422
+ * For the endpoint of this service, see [Endpoint](https://help.aliyun.com/document_detail/612373.html).
5399
5423
  *
5400
5424
  * @param request - DescribeDBClusterPerformanceRequest
5401
5425
  * @param runtime - runtime options for this request RuntimeOptions
@@ -5439,10 +5463,10 @@ class Client extends openapi_core_1.default {
5439
5463
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeDBClusterPerformanceResponse({}));
5440
5464
  }
5441
5465
  /**
5442
- * View target cluster performance data.
5466
+ * Queries the performance data of a specified cluster.
5443
5467
  *
5444
5468
  * @remarks
5445
- * For the service endpoint address, see [service endpoint](https://help.aliyun.com/document_detail/612373.html).
5469
+ * For the endpoint of this service, see [Endpoint](https://help.aliyun.com/document_detail/612373.html).
5446
5470
  *
5447
5471
  * @param request - DescribeDBClusterPerformanceRequest
5448
5472
  * @returns DescribeDBClusterPerformanceResponse
@@ -10576,8 +10600,8 @@ class Client extends openapi_core_1.default {
10576
10600
  * Retrieves table information.
10577
10601
  *
10578
10602
  * @remarks
10579
- * - Public endpoint of the region: `adb.<region-id>.aliyuncs.com`. Example: `adb.ap-southeast-1.aliyuncs.com`.
10580
- * - VPC endpoint of the region: `adb-vpc.<region-id>.aliyuncs.com`. Example: `adb-vpc.ap-southeast-1.aliyuncs.com`.
10603
+ * - Public endpoint of a region: `adb.<region-id>.aliyuncs.com`. Example: `adb.cn-hangzhou.aliyuncs.com`.
10604
+ * - VPC endpoint of a region: `adb-vpc.<region-id>.aliyuncs.com`. Example: `adb-vpc.cn-hangzhou.aliyuncs.com`.
10581
10605
  *
10582
10606
  * @param request - GetTableRequest
10583
10607
  * @param runtime - runtime options for this request RuntimeOptions
@@ -10618,8 +10642,8 @@ class Client extends openapi_core_1.default {
10618
10642
  * Retrieves table information.
10619
10643
  *
10620
10644
  * @remarks
10621
- * - Public endpoint of the region: `adb.<region-id>.aliyuncs.com`. Example: `adb.ap-southeast-1.aliyuncs.com`.
10622
- * - VPC endpoint of the region: `adb-vpc.<region-id>.aliyuncs.com`. Example: `adb-vpc.ap-southeast-1.aliyuncs.com`.
10645
+ * - Public endpoint of a region: `adb.<region-id>.aliyuncs.com`. Example: `adb.cn-hangzhou.aliyuncs.com`.
10646
+ * - VPC endpoint of a region: `adb-vpc.<region-id>.aliyuncs.com`. Example: `adb-vpc.cn-hangzhou.aliyuncs.com`.
10623
10647
  *
10624
10648
  * @param request - GetTableRequest
10625
10649
  * @returns GetTableResponse
@@ -11831,6 +11855,9 @@ class Client extends openapi_core_1.default {
11831
11855
  if (!$dara.isNull(request.engine)) {
11832
11856
  query["Engine"] = request.engine;
11833
11857
  }
11858
+ if (!$dara.isNull(request.resourceGroupName)) {
11859
+ query["ResourceGroupName"] = request.resourceGroupName;
11860
+ }
11834
11861
  let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
11835
11862
  query: openapi_core_2.OpenApiUtil.query(query),
11836
11863
  });
@@ -11864,7 +11891,7 @@ class Client extends openapi_core_1.default {
11864
11891
  * Modifies the permissions of a database account.
11865
11892
  *
11866
11893
  * @remarks
11867
- * For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
11894
+ * For the service registration of this service, refer to [Endpoint](https://help.aliyun.com/document_detail/612373.html).
11868
11895
  *
11869
11896
  * @param tmpReq - ModifyAccountPrivilegesRequest
11870
11897
  * @param runtime - runtime options for this request RuntimeOptions
@@ -11877,6 +11904,12 @@ class Client extends openapi_core_1.default {
11877
11904
  if (!$dara.isNull(tmpReq.accountPrivileges)) {
11878
11905
  request.accountPrivilegesShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.accountPrivileges, "AccountPrivileges", "json");
11879
11906
  }
11907
+ if (!$dara.isNull(tmpReq.promqlInsertPrivileges)) {
11908
+ request.promqlInsertPrivilegesShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.promqlInsertPrivileges, "PromqlInsertPrivileges", "json");
11909
+ }
11910
+ if (!$dara.isNull(tmpReq.promqlSelectPrivileges)) {
11911
+ request.promqlSelectPrivilegesShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.promqlSelectPrivileges, "PromqlSelectPrivileges", "json");
11912
+ }
11880
11913
  let query = {};
11881
11914
  if (!$dara.isNull(request.accountName)) {
11882
11915
  query["AccountName"] = request.accountName;
@@ -11887,9 +11920,21 @@ class Client extends openapi_core_1.default {
11887
11920
  if (!$dara.isNull(request.DBClusterId)) {
11888
11921
  query["DBClusterId"] = request.DBClusterId;
11889
11922
  }
11923
+ if (!$dara.isNull(request.promqlInsertPrivilegesShrink)) {
11924
+ query["PromqlInsertPrivileges"] = request.promqlInsertPrivilegesShrink;
11925
+ }
11926
+ if (!$dara.isNull(request.promqlSelectNodePercentage)) {
11927
+ query["PromqlSelectNodePercentage"] = request.promqlSelectNodePercentage;
11928
+ }
11929
+ if (!$dara.isNull(request.promqlSelectPrivilegesShrink)) {
11930
+ query["PromqlSelectPrivileges"] = request.promqlSelectPrivilegesShrink;
11931
+ }
11890
11932
  if (!$dara.isNull(request.regionId)) {
11891
11933
  query["RegionId"] = request.regionId;
11892
11934
  }
11935
+ if (!$dara.isNull(request.resourceGroupName)) {
11936
+ query["ResourceGroupName"] = request.resourceGroupName;
11937
+ }
11893
11938
  let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
11894
11939
  query: openapi_core_2.OpenApiUtil.query(query),
11895
11940
  });
@@ -11910,7 +11955,7 @@ class Client extends openapi_core_1.default {
11910
11955
  * Modifies the permissions of a database account.
11911
11956
  *
11912
11957
  * @remarks
11913
- * For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
11958
+ * For the service registration of this service, refer to [Endpoint](https://help.aliyun.com/document_detail/612373.html).
11914
11959
  *
11915
11960
  * @param request - ModifyAccountPrivilegesRequest
11916
11961
  * @returns ModifyAccountPrivilegesResponse
@@ -12201,10 +12246,10 @@ class Client extends openapi_core_1.default {
12201
12246
  return await this.modifyApsWorkloadNameWithOptions(request, runtime);
12202
12247
  }
12203
12248
  /**
12204
- * Modifies the SQL audit settings of an AnalyticDB for MySQL cluster.
12249
+ * Modifies the SQL audit log settings of a cluster.
12205
12250
  *
12206
12251
  * @remarks
12207
- * For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
12252
+ * For the endpoint of this service, see [Endpoint](https://help.aliyun.com/document_detail/612373.html).
12208
12253
  *
12209
12254
  * @param request - ModifyAuditLogConfigRequest
12210
12255
  * @param runtime - runtime options for this request RuntimeOptions
@@ -12254,10 +12299,10 @@ class Client extends openapi_core_1.default {
12254
12299
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyAuditLogConfigResponse({}));
12255
12300
  }
12256
12301
  /**
12257
- * Modifies the SQL audit settings of an AnalyticDB for MySQL cluster.
12302
+ * Modifies the SQL audit log settings of a cluster.
12258
12303
  *
12259
12304
  * @remarks
12260
- * For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
12305
+ * For the endpoint of this service, see [Endpoint](https://help.aliyun.com/document_detail/612373.html).
12261
12306
  *
12262
12307
  * @param request - ModifyAuditLogConfigRequest
12263
12308
  * @returns ModifyAuditLogConfigResponse
@@ -12330,10 +12375,10 @@ class Client extends openapi_core_1.default {
12330
12375
  return await this.modifyAutoRenewalAttributeWithOptions(request, runtime);
12331
12376
  }
12332
12377
  /**
12333
- * Modifies the backup policy of an AnalyticDB for MySQL cluster.
12378
+ * Modifies the backup policy of a cluster.
12334
12379
  *
12335
12380
  * @remarks
12336
- * For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
12381
+ * For information about the endpoint of the current service, see [Endpoint](https://help.aliyun.com/document_detail/612373.html).
12337
12382
  *
12338
12383
  * @param request - ModifyBackupPolicyRequest
12339
12384
  * @param runtime - runtime options for this request RuntimeOptions
@@ -12389,10 +12434,10 @@ class Client extends openapi_core_1.default {
12389
12434
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyBackupPolicyResponse({}));
12390
12435
  }
12391
12436
  /**
12392
- * Modifies the backup policy of an AnalyticDB for MySQL cluster.
12437
+ * Modifies the backup policy of a cluster.
12393
12438
  *
12394
12439
  * @remarks
12395
- * For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
12440
+ * For information about the endpoint of the current service, see [Endpoint](https://help.aliyun.com/document_detail/612373.html).
12396
12441
  *
12397
12442
  * @param request - ModifyBackupPolicyRequest
12398
12443
  * @returns ModifyBackupPolicyResponse
@@ -12882,7 +12927,7 @@ class Client extends openapi_core_1.default {
12882
12927
  * Changes the resource group of a cluster.
12883
12928
  *
12884
12929
  * @remarks
12885
- * For information about the endpoints of this service, see [Service registration](https://help.aliyun.com/document_detail/612373.html).
12930
+ * For the endpoint of this service, refer to [Endpoint](https://help.aliyun.com/document_detail/612373.html).
12886
12931
  *
12887
12932
  * @param tmpReq - ModifyDBResourceGroupRequest
12888
12933
  * @param runtime - runtime options for this request RuntimeOptions
@@ -12994,7 +13039,7 @@ class Client extends openapi_core_1.default {
12994
13039
  * Changes the resource group of a cluster.
12995
13040
  *
12996
13041
  * @remarks
12997
- * For information about the endpoints of this service, see [Service registration](https://help.aliyun.com/document_detail/612373.html).
13042
+ * For the endpoint of this service, refer to [Endpoint](https://help.aliyun.com/document_detail/612373.html).
12998
13043
  *
12999
13044
  * @param request - ModifyDBResourceGroupRequest
13000
13045
  * @returns ModifyDBResourceGroupResponse
@@ -13918,6 +13963,9 @@ class Client extends openapi_core_1.default {
13918
13963
  if (!$dara.isNull(request.engine)) {
13919
13964
  query["Engine"] = request.engine;
13920
13965
  }
13966
+ if (!$dara.isNull(request.resourceGroupName)) {
13967
+ query["ResourceGroupName"] = request.resourceGroupName;
13968
+ }
13921
13969
  let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
13922
13970
  query: openapi_core_2.OpenApiUtil.query(query),
13923
13971
  });