@alicloud/adb20211201 5.1.0 → 5.1.2

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 (35) hide show
  1. package/dist/client.d.ts +14 -14
  2. package/dist/client.js +17 -14
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateDbresourceGroupRequest.d.ts +69 -15
  5. package/dist/models/CreateDbresourceGroupRequest.js +29 -1
  6. package/dist/models/CreateDbresourceGroupRequest.js.map +1 -1
  7. package/dist/models/CreateDbresourceGroupShrinkRequest.d.ts +13 -9
  8. package/dist/models/CreateDbresourceGroupShrinkRequest.js.map +1 -1
  9. package/dist/models/DescribeAuditLogRecordsRequest.d.ts +20 -12
  10. package/dist/models/DescribeAuditLogRecordsRequest.js +2 -0
  11. package/dist/models/DescribeAuditLogRecordsRequest.js.map +1 -1
  12. package/dist/models/DescribeAuditLogRecordsResponseBody.d.ts +9 -9
  13. package/dist/models/DescribeDbresourceGroupRequest.d.ts +6 -6
  14. package/dist/models/DescribeDbresourceGroupResponseBody.d.ts +56 -15
  15. package/dist/models/DescribeDbresourceGroupResponseBody.js +2 -0
  16. package/dist/models/DescribeDbresourceGroupResponseBody.js.map +1 -1
  17. package/dist/models/ModifyDbresourceGroupRequest.d.ts +91 -67
  18. package/dist/models/ModifyDbresourceGroupRequest.js +2 -0
  19. package/dist/models/ModifyDbresourceGroupRequest.js.map +1 -1
  20. package/dist/models/ModifyDbresourceGroupShrinkRequest.d.ts +34 -41
  21. package/dist/models/ModifyDbresourceGroupShrinkRequest.js.map +1 -1
  22. package/dist/models/model.d.ts +1 -0
  23. package/dist/models/model.js +30 -28
  24. package/dist/models/model.js.map +1 -1
  25. package/package.json +1 -1
  26. package/src/client.ts +18 -14
  27. package/src/models/CreateDbresourceGroupRequest.ts +88 -15
  28. package/src/models/CreateDbresourceGroupShrinkRequest.ts +13 -9
  29. package/src/models/DescribeAuditLogRecordsRequest.ts +22 -12
  30. package/src/models/DescribeAuditLogRecordsResponseBody.ts +9 -9
  31. package/src/models/DescribeDbresourceGroupRequest.ts +6 -6
  32. package/src/models/DescribeDbresourceGroupResponseBody.ts +58 -15
  33. package/src/models/ModifyDbresourceGroupRequest.ts +93 -67
  34. package/src/models/ModifyDbresourceGroupShrinkRequest.ts +34 -41
  35. package/src/models/model.ts +1 -0
package/dist/client.d.ts CHANGED
@@ -469,10 +469,10 @@ export default class Client extends OpenApi {
469
469
  */
470
470
  createDBCluster(request: $_model.CreateDBClusterRequest): Promise<$_model.CreateDBClusterResponse>;
471
471
  /**
472
- * Creates a resource group for a specified Dedicated Edition, Basic Edition, or Data Lakehouse Edition cluster.
472
+ * Creates a resource group for a specified Enterprise Edition, Basic Edition, or Data Lakehouse Edition cluster.
473
473
  *
474
474
  * @remarks
475
- * For information about the service registration of this service, see [Endpoint](https://help.aliyun.com/document_detail/612373.html).
475
+ * For the service registration of this service, see [Endpoint](https://help.aliyun.com/document_detail/612373.html).
476
476
  *
477
477
  * @param tmpReq - CreateDBResourceGroupRequest
478
478
  * @param runtime - runtime options for this request RuntimeOptions
@@ -480,10 +480,10 @@ export default class Client extends OpenApi {
480
480
  */
481
481
  createDBResourceGroupWithOptions(tmpReq: $_model.CreateDBResourceGroupRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateDBResourceGroupResponse>;
482
482
  /**
483
- * Creates a resource group for a specified Dedicated Edition, Basic Edition, or Data Lakehouse Edition cluster.
483
+ * Creates a resource group for a specified Enterprise Edition, Basic Edition, or Data Lakehouse Edition cluster.
484
484
  *
485
485
  * @remarks
486
- * For information about the service registration of this service, see [Endpoint](https://help.aliyun.com/document_detail/612373.html).
486
+ * For the service registration of this service, see [Endpoint](https://help.aliyun.com/document_detail/612373.html).
487
487
  *
488
488
  * @param request - CreateDBResourceGroupRequest
489
489
  * @returns CreateDBResourceGroupResponse
@@ -1402,11 +1402,11 @@ export default class Client extends OpenApi {
1402
1402
  */
1403
1403
  describeApsResourceGroups(request: $_model.DescribeApsResourceGroupsRequest): Promise<$_model.DescribeApsResourceGroupsResponse>;
1404
1404
  /**
1405
- * Queries the SQL Audit Log of a cluster.
1405
+ * Queries the SQL audit logs of a cluster.
1406
1406
  *
1407
1407
  * @remarks
1408
- * - SQL Audit Log entries can be queried only when SQL audit is enabled, and only entries from the last 30 days are supported. If SQL audit is shutdown and then re-enabled, only entries recorded after re-enabling are available. SQL Audit Log does not record **INSERT INTO VALUES**, **REPLACE INTO VALUES**, or **UPSERT INTO VALUES** operations.
1409
- * - For the endpoints of this service, see [Service registration](https://help.aliyun.com/document_detail/612373.html).
1408
+ * - SQL audit logs can be queried only when SQL audit is enabled, and only logs from the last 30 days are supported. If SQL audit is shutdown and then re-enabled, only logs generated after re-enabling can be queried. SQL audit logs do not record **INSERT INTO VALUES**, **REPLACE INTO VALUES**, or **UPSERT INTO VALUES** operations.
1409
+ * - For the service registration of this service, see [Service registration](https://help.aliyun.com/document_detail/612373.html).
1410
1410
  *
1411
1411
  * @param request - DescribeAuditLogRecordsRequest
1412
1412
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1414,11 +1414,11 @@ export default class Client extends OpenApi {
1414
1414
  */
1415
1415
  describeAuditLogRecordsWithOptions(request: $_model.DescribeAuditLogRecordsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeAuditLogRecordsResponse>;
1416
1416
  /**
1417
- * Queries the SQL Audit Log of a cluster.
1417
+ * Queries the SQL audit logs of a cluster.
1418
1418
  *
1419
1419
  * @remarks
1420
- * - SQL Audit Log entries can be queried only when SQL audit is enabled, and only entries from the last 30 days are supported. If SQL audit is shutdown and then re-enabled, only entries recorded after re-enabling are available. SQL Audit Log does not record **INSERT INTO VALUES**, **REPLACE INTO VALUES**, or **UPSERT INTO VALUES** operations.
1421
- * - For the endpoints of this service, see [Service registration](https://help.aliyun.com/document_detail/612373.html).
1420
+ * - SQL audit logs can be queried only when SQL audit is enabled, and only logs from the last 30 days are supported. If SQL audit is shutdown and then re-enabled, only logs generated after re-enabling can be queried. SQL audit logs do not record **INSERT INTO VALUES**, **REPLACE INTO VALUES**, or **UPSERT INTO VALUES** operations.
1421
+ * - For the service registration of this service, see [Service registration](https://help.aliyun.com/document_detail/612373.html).
1422
1422
  *
1423
1423
  * @param request - DescribeAuditLogRecordsRequest
1424
1424
  * @returns DescribeAuditLogRecordsResponse
@@ -1820,7 +1820,7 @@ export default class Client extends OpenApi {
1820
1820
  * Queries the resource group information of a cluster.
1821
1821
  *
1822
1822
  * @remarks
1823
- * For information about the service registration of the current service, see [Endpoint](https://help.aliyun.com/document_detail/612373.html).
1823
+ * For the service registration of this service, see [Endpoint](https://help.aliyun.com/document_detail/612373.html).
1824
1824
  *
1825
1825
  * @param request - DescribeDBResourceGroupRequest
1826
1826
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1831,7 +1831,7 @@ export default class Client extends OpenApi {
1831
1831
  * Queries the resource group information of a cluster.
1832
1832
  *
1833
1833
  * @remarks
1834
- * For information about the service registration of the current service, see [Endpoint](https://help.aliyun.com/document_detail/612373.html).
1834
+ * For the service registration of this service, see [Endpoint](https://help.aliyun.com/document_detail/612373.html).
1835
1835
  *
1836
1836
  * @param request - DescribeDBResourceGroupRequest
1837
1837
  * @returns DescribeDBResourceGroupResponse
@@ -4357,7 +4357,7 @@ export default class Client extends OpenApi {
4357
4357
  * Changes the resource group of a cluster.
4358
4358
  *
4359
4359
  * @remarks
4360
- * For service endpoints, see [endpoints](https://help.aliyun.com/document_detail/612373.html).
4360
+ * For information about the endpoints of this service, see [Service registration](https://help.aliyun.com/document_detail/612373.html).
4361
4361
  *
4362
4362
  * @param tmpReq - ModifyDBResourceGroupRequest
4363
4363
  * @param runtime - runtime options for this request RuntimeOptions
@@ -4368,7 +4368,7 @@ export default class Client extends OpenApi {
4368
4368
  * Changes the resource group of a cluster.
4369
4369
  *
4370
4370
  * @remarks
4371
- * For service endpoints, see [endpoints](https://help.aliyun.com/document_detail/612373.html).
4371
+ * For information about the endpoints of this service, see [Service registration](https://help.aliyun.com/document_detail/612373.html).
4372
4372
  *
4373
4373
  * @param request - ModifyDBResourceGroupRequest
4374
4374
  * @returns ModifyDBResourceGroupResponse
package/dist/client.js CHANGED
@@ -1767,10 +1767,10 @@ class Client extends openapi_core_1.default {
1767
1767
  return await this.createDBClusterWithOptions(request, runtime);
1768
1768
  }
1769
1769
  /**
1770
- * Creates a resource group for a specified Dedicated Edition, Basic Edition, or Data Lakehouse Edition cluster.
1770
+ * Creates a resource group for a specified Enterprise Edition, Basic Edition, or Data Lakehouse Edition cluster.
1771
1771
  *
1772
1772
  * @remarks
1773
- * For information about the service registration of this service, see [Endpoint](https://help.aliyun.com/document_detail/612373.html).
1773
+ * For the service registration of this service, see [Endpoint](https://help.aliyun.com/document_detail/612373.html).
1774
1774
  *
1775
1775
  * @param tmpReq - CreateDBResourceGroupRequest
1776
1776
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1885,10 +1885,10 @@ class Client extends openapi_core_1.default {
1885
1885
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateDBResourceGroupResponse({}));
1886
1886
  }
1887
1887
  /**
1888
- * Creates a resource group for a specified Dedicated Edition, Basic Edition, or Data Lakehouse Edition cluster.
1888
+ * Creates a resource group for a specified Enterprise Edition, Basic Edition, or Data Lakehouse Edition cluster.
1889
1889
  *
1890
1890
  * @remarks
1891
- * For information about the service registration of this service, see [Endpoint](https://help.aliyun.com/document_detail/612373.html).
1891
+ * For the service registration of this service, see [Endpoint](https://help.aliyun.com/document_detail/612373.html).
1892
1892
  *
1893
1893
  * @param request - CreateDBResourceGroupRequest
1894
1894
  * @returns CreateDBResourceGroupResponse
@@ -4468,11 +4468,11 @@ class Client extends openapi_core_1.default {
4468
4468
  return await this.describeApsResourceGroupsWithOptions(request, runtime);
4469
4469
  }
4470
4470
  /**
4471
- * Queries the SQL Audit Log of a cluster.
4471
+ * Queries the SQL audit logs of a cluster.
4472
4472
  *
4473
4473
  * @remarks
4474
- * - SQL Audit Log entries can be queried only when SQL audit is enabled, and only entries from the last 30 days are supported. If SQL audit is shutdown and then re-enabled, only entries recorded after re-enabling are available. SQL Audit Log does not record **INSERT INTO VALUES**, **REPLACE INTO VALUES**, or **UPSERT INTO VALUES** operations.
4475
- * - For the endpoints of this service, see [Service registration](https://help.aliyun.com/document_detail/612373.html).
4474
+ * - SQL audit logs can be queried only when SQL audit is enabled, and only logs from the last 30 days are supported. If SQL audit is shutdown and then re-enabled, only logs generated after re-enabling can be queried. SQL audit logs do not record **INSERT INTO VALUES**, **REPLACE INTO VALUES**, or **UPSERT INTO VALUES** operations.
4475
+ * - For the service registration of this service, see [Service registration](https://help.aliyun.com/document_detail/612373.html).
4476
4476
  *
4477
4477
  * @param request - DescribeAuditLogRecordsRequest
4478
4478
  * @param runtime - runtime options for this request RuntimeOptions
@@ -4514,6 +4514,9 @@ class Client extends openapi_core_1.default {
4514
4514
  if (!$dara.isNull(request.pageSize)) {
4515
4515
  query["PageSize"] = request.pageSize;
4516
4516
  }
4517
+ if (!$dara.isNull(request.processId)) {
4518
+ query["ProcessId"] = request.processId;
4519
+ }
4517
4520
  if (!$dara.isNull(request.proxyUser)) {
4518
4521
  query["ProxyUser"] = request.proxyUser;
4519
4522
  }
@@ -4558,11 +4561,11 @@ class Client extends openapi_core_1.default {
4558
4561
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeAuditLogRecordsResponse({}));
4559
4562
  }
4560
4563
  /**
4561
- * Queries the SQL Audit Log of a cluster.
4564
+ * Queries the SQL audit logs of a cluster.
4562
4565
  *
4563
4566
  * @remarks
4564
- * - SQL Audit Log entries can be queried only when SQL audit is enabled, and only entries from the last 30 days are supported. If SQL audit is shutdown and then re-enabled, only entries recorded after re-enabling are available. SQL Audit Log does not record **INSERT INTO VALUES**, **REPLACE INTO VALUES**, or **UPSERT INTO VALUES** operations.
4565
- * - For the endpoints of this service, see [Service registration](https://help.aliyun.com/document_detail/612373.html).
4567
+ * - SQL audit logs can be queried only when SQL audit is enabled, and only logs from the last 30 days are supported. If SQL audit is shutdown and then re-enabled, only logs generated after re-enabling can be queried. SQL audit logs do not record **INSERT INTO VALUES**, **REPLACE INTO VALUES**, or **UPSERT INTO VALUES** operations.
4568
+ * - For the service registration of this service, see [Service registration](https://help.aliyun.com/document_detail/612373.html).
4566
4569
  *
4567
4570
  * @param request - DescribeAuditLogRecordsRequest
4568
4571
  * @returns DescribeAuditLogRecordsResponse
@@ -5683,7 +5686,7 @@ class Client extends openapi_core_1.default {
5683
5686
  * Queries the resource group information of a cluster.
5684
5687
  *
5685
5688
  * @remarks
5686
- * For information about the service registration of the current service, see [Endpoint](https://help.aliyun.com/document_detail/612373.html).
5689
+ * For the service registration of this service, see [Endpoint](https://help.aliyun.com/document_detail/612373.html).
5687
5690
  *
5688
5691
  * @param request - DescribeDBResourceGroupRequest
5689
5692
  * @param runtime - runtime options for this request RuntimeOptions
@@ -5727,7 +5730,7 @@ class Client extends openapi_core_1.default {
5727
5730
  * Queries the resource group information of a cluster.
5728
5731
  *
5729
5732
  * @remarks
5730
- * For information about the service registration of the current service, see [Endpoint](https://help.aliyun.com/document_detail/612373.html).
5733
+ * For the service registration of this service, see [Endpoint](https://help.aliyun.com/document_detail/612373.html).
5731
5734
  *
5732
5735
  * @param request - DescribeDBResourceGroupRequest
5733
5736
  * @returns DescribeDBResourceGroupResponse
@@ -12885,7 +12888,7 @@ class Client extends openapi_core_1.default {
12885
12888
  * Changes the resource group of a cluster.
12886
12889
  *
12887
12890
  * @remarks
12888
- * For service endpoints, see [endpoints](https://help.aliyun.com/document_detail/612373.html).
12891
+ * For information about the endpoints of this service, see [Service registration](https://help.aliyun.com/document_detail/612373.html).
12889
12892
  *
12890
12893
  * @param tmpReq - ModifyDBResourceGroupRequest
12891
12894
  * @param runtime - runtime options for this request RuntimeOptions
@@ -12997,7 +13000,7 @@ class Client extends openapi_core_1.default {
12997
13000
  * Changes the resource group of a cluster.
12998
13001
  *
12999
13002
  * @remarks
13000
- * For service endpoints, see [endpoints](https://help.aliyun.com/document_detail/612373.html).
13003
+ * For information about the endpoints of this service, see [Service registration](https://help.aliyun.com/document_detail/612373.html).
13001
13004
  *
13002
13005
  * @param request - ModifyDBResourceGroupRequest
13003
13006
  * @returns ModifyDBResourceGroupResponse