@alicloud/adb20211201 5.1.2 → 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.
- package/dist/client.d.ts +40 -34
- package/dist/client.js +91 -49
- package/dist/client.js.map +1 -1
- package/dist/models/AddKnowledgeFileRequest.d.ts +7 -2
- package/dist/models/AddKnowledgeFileRequest.js +2 -0
- package/dist/models/AddKnowledgeFileRequest.js.map +1 -1
- package/dist/models/CreateAccountRequest.d.ts +8 -4
- package/dist/models/CreateAccountRequest.js +14 -0
- package/dist/models/CreateAccountRequest.js.map +1 -1
- package/dist/models/CreateAccountShrinkRequest.d.ts +8 -4
- package/dist/models/CreateAccountShrinkRequest.js +8 -0
- package/dist/models/CreateAccountShrinkRequest.js.map +1 -1
- package/dist/models/CreateDbresourceGroupRequest.d.ts +27 -27
- package/dist/models/CreateDbresourceGroupShrinkRequest.d.ts +13 -13
- package/dist/models/DeleteAccountRequest.d.ts +7 -6
- package/dist/models/DeleteAccountRequest.js +2 -0
- package/dist/models/DeleteAccountRequest.js.map +1 -1
- package/dist/models/DescribeAccountsRequest.d.ts +7 -4
- package/dist/models/DescribeAccountsRequest.js +2 -0
- package/dist/models/DescribeAccountsRequest.js.map +1 -1
- package/dist/models/DescribeAccountsResponseBody.d.ts +43 -0
- package/dist/models/DescribeAccountsResponseBody.js +84 -1
- package/dist/models/DescribeAccountsResponseBody.js.map +1 -1
- package/dist/models/DescribeDbclusterPerformanceRequest.d.ts +9 -11
- package/dist/models/DescribeDbclusterPerformanceRequest.js.map +1 -1
- package/dist/models/DescribeDbclusterPerformanceResponseBody.d.ts +9 -10
- package/dist/models/DescribeDbclusterPerformanceResponseBody.js.map +1 -1
- package/dist/models/GetKnowledgeRecallRequest.d.ts +3 -0
- package/dist/models/GetKnowledgeRecallRequest.js.map +1 -1
- package/dist/models/GetKnowledgeRecallResponseBody.d.ts +1 -1
- package/dist/models/GetTableResponseBody.d.ts +1 -1
- package/dist/models/ModifyAccountDescriptionRequest.d.ts +1 -0
- package/dist/models/ModifyAccountDescriptionRequest.js +2 -0
- package/dist/models/ModifyAccountDescriptionRequest.js.map +1 -1
- package/dist/models/ModifyAccountPrivilegesRequest.d.ts +13 -10
- package/dist/models/ModifyAccountPrivilegesRequest.js +14 -0
- package/dist/models/ModifyAccountPrivilegesRequest.js.map +1 -1
- package/dist/models/ModifyAccountPrivilegesShrinkRequest.d.ts +7 -4
- package/dist/models/ModifyAccountPrivilegesShrinkRequest.js +8 -0
- package/dist/models/ModifyAccountPrivilegesShrinkRequest.js.map +1 -1
- package/dist/models/ModifyAuditLogConfigRequest.d.ts +11 -13
- package/dist/models/ModifyAuditLogConfigRequest.js.map +1 -1
- package/dist/models/ModifyAuditLogConfigResponseBody.d.ts +3 -4
- package/dist/models/ModifyAuditLogConfigResponseBody.js.map +1 -1
- package/dist/models/ModifyBackupPolicyRequest.d.ts +21 -25
- package/dist/models/ModifyBackupPolicyRequest.js.map +1 -1
- package/dist/models/ModifyDbresourceGroupRequest.d.ts +31 -31
- package/dist/models/ModifyDbresourceGroupShrinkRequest.d.ts +19 -19
- package/dist/models/ResetAccountPasswordRequest.d.ts +1 -0
- package/dist/models/ResetAccountPasswordRequest.js +2 -0
- package/dist/models/ResetAccountPasswordRequest.js.map +1 -1
- package/dist/models/model.d.ts +3 -0
- package/dist/models/model.js +34 -28
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +108 -49
- package/src/models/AddKnowledgeFileRequest.ts +9 -2
- package/src/models/CreateAccountRequest.ts +22 -4
- package/src/models/CreateAccountShrinkRequest.ts +16 -4
- package/src/models/CreateDbresourceGroupRequest.ts +27 -27
- package/src/models/CreateDbresourceGroupShrinkRequest.ts +13 -13
- package/src/models/DeleteAccountRequest.ts +9 -6
- package/src/models/DescribeAccountsRequest.ts +9 -4
- package/src/models/DescribeAccountsResponseBody.ts +99 -0
- package/src/models/DescribeDbclusterPerformanceRequest.ts +9 -11
- package/src/models/DescribeDbclusterPerformanceResponseBody.ts +9 -10
- package/src/models/GetKnowledgeRecallRequest.ts +3 -0
- package/src/models/GetKnowledgeRecallResponseBody.ts +1 -1
- package/src/models/GetTableResponseBody.ts +1 -1
- package/src/models/ModifyAccountDescriptionRequest.ts +3 -0
- package/src/models/ModifyAccountPrivilegesRequest.ts +27 -10
- package/src/models/ModifyAccountPrivilegesShrinkRequest.ts +15 -4
- package/src/models/ModifyAuditLogConfigRequest.ts +11 -13
- package/src/models/ModifyAuditLogConfigResponseBody.ts +3 -4
- package/src/models/ModifyBackupPolicyRequest.ts +21 -25
- package/src/models/ModifyDbresourceGroupRequest.ts +31 -31
- package/src/models/ModifyDbresourceGroupShrinkRequest.ts +19 -19
- package/src/models/ResetAccountPasswordRequest.ts +3 -0
- package/src/models/model.ts +3 -0
package/dist/client.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ export default class Client extends OpenApi {
|
|
|
9
9
|
[key: string]: string;
|
|
10
10
|
}, endpoint: string): string;
|
|
11
11
|
/**
|
|
12
|
-
* Adds a knowledge base
|
|
12
|
+
* Adds a document to a knowledge base.
|
|
13
13
|
*
|
|
14
14
|
* @param request - AddKnowledgeFileRequest
|
|
15
15
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -17,7 +17,7 @@ export default class Client extends OpenApi {
|
|
|
17
17
|
*/
|
|
18
18
|
addKnowledgeFileWithOptions(request: $_model.AddKnowledgeFileRequest, runtime: $dara.RuntimeOptions): Promise<$_model.AddKnowledgeFileResponse>;
|
|
19
19
|
/**
|
|
20
|
-
* Adds a knowledge base
|
|
20
|
+
* Adds a document to a knowledge base.
|
|
21
21
|
*
|
|
22
22
|
* @param request - AddKnowledgeFileRequest
|
|
23
23
|
* @returns AddKnowledgeFileResponse
|
|
@@ -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
|
|
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
|
|
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
|
|
@@ -430,7 +430,10 @@ export default class Client extends OpenApi {
|
|
|
430
430
|
* Creates a backup set immediately.
|
|
431
431
|
*
|
|
432
432
|
* @remarks
|
|
433
|
-
* *Before
|
|
433
|
+
* *Before using this operation, make sure that you fully understand the billing methods and <props="china">[pricing](https://www.aliyun.com/price/product#/ads/detail/ads_pre
|
|
434
|
+
* )
|
|
435
|
+
* <props="intl">[pricing](https://www.alibabacloud.com/zh/zh/pricing-calculator?_p_lc=1#/) of AnalyticDB for MySQL.**
|
|
436
|
+
* Temporary backups and regular backups have the same pricing and backup set retention period.
|
|
434
437
|
*
|
|
435
438
|
* @param request - CreateBackupRequest
|
|
436
439
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -441,7 +444,10 @@ export default class Client extends OpenApi {
|
|
|
441
444
|
* Creates a backup set immediately.
|
|
442
445
|
*
|
|
443
446
|
* @remarks
|
|
444
|
-
* *Before
|
|
447
|
+
* *Before using this operation, make sure that you fully understand the billing methods and <props="china">[pricing](https://www.aliyun.com/price/product#/ads/detail/ads_pre
|
|
448
|
+
* )
|
|
449
|
+
* <props="intl">[pricing](https://www.alibabacloud.com/zh/zh/pricing-calculator?_p_lc=1#/) of AnalyticDB for MySQL.**
|
|
450
|
+
* Temporary backups and regular backups have the same pricing and backup set retention period.
|
|
445
451
|
*
|
|
446
452
|
* @param request - CreateBackupRequest
|
|
447
453
|
* @returns CreateBackupResponse
|
|
@@ -472,7 +478,7 @@ export default class Client extends OpenApi {
|
|
|
472
478
|
* Creates a resource group for a specified Enterprise Edition, Basic Edition, or Data Lakehouse Edition cluster.
|
|
473
479
|
*
|
|
474
480
|
* @remarks
|
|
475
|
-
* For the
|
|
481
|
+
* For the endpoints of this service, see [Endpoint](https://help.aliyun.com/document_detail/612373.html).
|
|
476
482
|
*
|
|
477
483
|
* @param tmpReq - CreateDBResourceGroupRequest
|
|
478
484
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -483,7 +489,7 @@ export default class Client extends OpenApi {
|
|
|
483
489
|
* Creates a resource group for a specified Enterprise Edition, Basic Edition, or Data Lakehouse Edition cluster.
|
|
484
490
|
*
|
|
485
491
|
* @remarks
|
|
486
|
-
* For the
|
|
492
|
+
* For the endpoints of this service, see [Endpoint](https://help.aliyun.com/document_detail/612373.html).
|
|
487
493
|
*
|
|
488
494
|
* @param request - CreateDBResourceGroupRequest
|
|
489
495
|
* @returns CreateDBResourceGroupResponse
|
|
@@ -660,10 +666,10 @@ export default class Client extends OpenApi {
|
|
|
660
666
|
*/
|
|
661
667
|
createSparkTemplate(request: $_model.CreateSparkTemplateRequest): Promise<$_model.CreateSparkTemplateResponse>;
|
|
662
668
|
/**
|
|
663
|
-
* Deletes a database account from
|
|
669
|
+
* Deletes a database account from a cluster.
|
|
664
670
|
*
|
|
665
671
|
* @remarks
|
|
666
|
-
* For
|
|
672
|
+
* For the endpoint of this service, see [Endpoint](https://help.aliyun.com/document_detail/612373.html).
|
|
667
673
|
*
|
|
668
674
|
* @param request - DeleteAccountRequest
|
|
669
675
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -671,10 +677,10 @@ export default class Client extends OpenApi {
|
|
|
671
677
|
*/
|
|
672
678
|
deleteAccountWithOptions(request: $_model.DeleteAccountRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteAccountResponse>;
|
|
673
679
|
/**
|
|
674
|
-
* Deletes a database account from
|
|
680
|
+
* Deletes a database account from a cluster.
|
|
675
681
|
*
|
|
676
682
|
* @remarks
|
|
677
|
-
* For
|
|
683
|
+
* For the endpoint of this service, see [Endpoint](https://help.aliyun.com/document_detail/612373.html).
|
|
678
684
|
*
|
|
679
685
|
* @param request - DeleteAccountRequest
|
|
680
686
|
* @returns DeleteAccountResponse
|
|
@@ -1073,7 +1079,7 @@ export default class Client extends OpenApi {
|
|
|
1073
1079
|
* Queries the database accounts of a cluster.
|
|
1074
1080
|
*
|
|
1075
1081
|
* @remarks
|
|
1076
|
-
* For the
|
|
1082
|
+
* For the service registration information of this service, see [Endpoint](https://help.aliyun.com/document_detail/612373.html).
|
|
1077
1083
|
*
|
|
1078
1084
|
* @param request - DescribeAccountsRequest
|
|
1079
1085
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1084,7 +1090,7 @@ export default class Client extends OpenApi {
|
|
|
1084
1090
|
* Queries the database accounts of a cluster.
|
|
1085
1091
|
*
|
|
1086
1092
|
* @remarks
|
|
1087
|
-
* For the
|
|
1093
|
+
* For the service registration information of this service, see [Endpoint](https://help.aliyun.com/document_detail/612373.html).
|
|
1088
1094
|
*
|
|
1089
1095
|
* @param request - DescribeAccountsRequest
|
|
1090
1096
|
* @returns DescribeAccountsResponse
|
|
@@ -1712,10 +1718,10 @@ export default class Client extends OpenApi {
|
|
|
1712
1718
|
*/
|
|
1713
1719
|
describeDBClusterHealthStatus(request: $_model.DescribeDBClusterHealthStatusRequest): Promise<$_model.DescribeDBClusterHealthStatusResponse>;
|
|
1714
1720
|
/**
|
|
1715
|
-
*
|
|
1721
|
+
* Queries the performance data of a specified cluster.
|
|
1716
1722
|
*
|
|
1717
1723
|
* @remarks
|
|
1718
|
-
* For the
|
|
1724
|
+
* For the endpoint of this service, see [Endpoint](https://help.aliyun.com/document_detail/612373.html).
|
|
1719
1725
|
*
|
|
1720
1726
|
* @param request - DescribeDBClusterPerformanceRequest
|
|
1721
1727
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1723,10 +1729,10 @@ export default class Client extends OpenApi {
|
|
|
1723
1729
|
*/
|
|
1724
1730
|
describeDBClusterPerformanceWithOptions(request: $_model.DescribeDBClusterPerformanceRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeDBClusterPerformanceResponse>;
|
|
1725
1731
|
/**
|
|
1726
|
-
*
|
|
1732
|
+
* Queries the performance data of a specified cluster.
|
|
1727
1733
|
*
|
|
1728
1734
|
* @remarks
|
|
1729
|
-
* For the
|
|
1735
|
+
* For the endpoint of this service, see [Endpoint](https://help.aliyun.com/document_detail/612373.html).
|
|
1730
1736
|
*
|
|
1731
1737
|
* @param request - DescribeDBClusterPerformanceRequest
|
|
1732
1738
|
* @returns DescribeDBClusterPerformanceResponse
|
|
@@ -3523,8 +3529,8 @@ export default class Client extends OpenApi {
|
|
|
3523
3529
|
* Retrieves table information.
|
|
3524
3530
|
*
|
|
3525
3531
|
* @remarks
|
|
3526
|
-
* - Public endpoint of
|
|
3527
|
-
* - VPC endpoint of
|
|
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`.
|
|
3528
3534
|
*
|
|
3529
3535
|
* @param request - GetTableRequest
|
|
3530
3536
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3535,8 +3541,8 @@ export default class Client extends OpenApi {
|
|
|
3535
3541
|
* Retrieves table information.
|
|
3536
3542
|
*
|
|
3537
3543
|
* @remarks
|
|
3538
|
-
* - Public endpoint of
|
|
3539
|
-
* - VPC endpoint of
|
|
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`.
|
|
3540
3546
|
*
|
|
3541
3547
|
* @param request - GetTableRequest
|
|
3542
3548
|
* @returns GetTableResponse
|
|
@@ -4026,7 +4032,7 @@ export default class Client extends OpenApi {
|
|
|
4026
4032
|
* Modifies the permissions of a database account.
|
|
4027
4033
|
*
|
|
4028
4034
|
* @remarks
|
|
4029
|
-
* For
|
|
4035
|
+
* For the service registration of this service, refer to [Endpoint](https://help.aliyun.com/document_detail/612373.html).
|
|
4030
4036
|
*
|
|
4031
4037
|
* @param tmpReq - ModifyAccountPrivilegesRequest
|
|
4032
4038
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4037,7 +4043,7 @@ export default class Client extends OpenApi {
|
|
|
4037
4043
|
* Modifies the permissions of a database account.
|
|
4038
4044
|
*
|
|
4039
4045
|
* @remarks
|
|
4040
|
-
* For
|
|
4046
|
+
* For the service registration of this service, refer to [Endpoint](https://help.aliyun.com/document_detail/612373.html).
|
|
4041
4047
|
*
|
|
4042
4048
|
* @param request - ModifyAccountPrivilegesRequest
|
|
4043
4049
|
* @returns ModifyAccountPrivilegesResponse
|
|
@@ -4126,10 +4132,10 @@ export default class Client extends OpenApi {
|
|
|
4126
4132
|
*/
|
|
4127
4133
|
modifyApsWorkloadName(request: $_model.ModifyApsWorkloadNameRequest): Promise<$_model.ModifyApsWorkloadNameResponse>;
|
|
4128
4134
|
/**
|
|
4129
|
-
* Modifies the SQL audit settings of
|
|
4135
|
+
* Modifies the SQL audit log settings of a cluster.
|
|
4130
4136
|
*
|
|
4131
4137
|
* @remarks
|
|
4132
|
-
* For
|
|
4138
|
+
* For the endpoint of this service, see [Endpoint](https://help.aliyun.com/document_detail/612373.html).
|
|
4133
4139
|
*
|
|
4134
4140
|
* @param request - ModifyAuditLogConfigRequest
|
|
4135
4141
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4137,10 +4143,10 @@ export default class Client extends OpenApi {
|
|
|
4137
4143
|
*/
|
|
4138
4144
|
modifyAuditLogConfigWithOptions(request: $_model.ModifyAuditLogConfigRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ModifyAuditLogConfigResponse>;
|
|
4139
4145
|
/**
|
|
4140
|
-
* Modifies the SQL audit settings of
|
|
4146
|
+
* Modifies the SQL audit log settings of a cluster.
|
|
4141
4147
|
*
|
|
4142
4148
|
* @remarks
|
|
4143
|
-
* For
|
|
4149
|
+
* For the endpoint of this service, see [Endpoint](https://help.aliyun.com/document_detail/612373.html).
|
|
4144
4150
|
*
|
|
4145
4151
|
* @param request - ModifyAuditLogConfigRequest
|
|
4146
4152
|
* @returns ModifyAuditLogConfigResponse
|
|
@@ -4162,10 +4168,10 @@ export default class Client extends OpenApi {
|
|
|
4162
4168
|
*/
|
|
4163
4169
|
modifyAutoRenewalAttribute(request: $_model.ModifyAutoRenewalAttributeRequest): Promise<$_model.ModifyAutoRenewalAttributeResponse>;
|
|
4164
4170
|
/**
|
|
4165
|
-
* Modifies the backup policy of
|
|
4171
|
+
* Modifies the backup policy of a cluster.
|
|
4166
4172
|
*
|
|
4167
4173
|
* @remarks
|
|
4168
|
-
* For information about the
|
|
4174
|
+
* For information about the endpoint of the current service, see [Endpoint](https://help.aliyun.com/document_detail/612373.html).
|
|
4169
4175
|
*
|
|
4170
4176
|
* @param request - ModifyBackupPolicyRequest
|
|
4171
4177
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4173,10 +4179,10 @@ export default class Client extends OpenApi {
|
|
|
4173
4179
|
*/
|
|
4174
4180
|
modifyBackupPolicyWithOptions(request: $_model.ModifyBackupPolicyRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ModifyBackupPolicyResponse>;
|
|
4175
4181
|
/**
|
|
4176
|
-
* Modifies the backup policy of
|
|
4182
|
+
* Modifies the backup policy of a cluster.
|
|
4177
4183
|
*
|
|
4178
4184
|
* @remarks
|
|
4179
|
-
* For information about the
|
|
4185
|
+
* For information about the endpoint of the current service, see [Endpoint](https://help.aliyun.com/document_detail/612373.html).
|
|
4180
4186
|
*
|
|
4181
4187
|
* @param request - ModifyBackupPolicyRequest
|
|
4182
4188
|
* @returns ModifyBackupPolicyResponse
|
|
@@ -4357,7 +4363,7 @@ export default class Client extends OpenApi {
|
|
|
4357
4363
|
* Changes the resource group of a cluster.
|
|
4358
4364
|
*
|
|
4359
4365
|
* @remarks
|
|
4360
|
-
* For
|
|
4366
|
+
* For the endpoint of this service, refer to [Endpoint](https://help.aliyun.com/document_detail/612373.html).
|
|
4361
4367
|
*
|
|
4362
4368
|
* @param tmpReq - ModifyDBResourceGroupRequest
|
|
4363
4369
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4368,7 +4374,7 @@ export default class Client extends OpenApi {
|
|
|
4368
4374
|
* Changes the resource group of a cluster.
|
|
4369
4375
|
*
|
|
4370
4376
|
* @remarks
|
|
4371
|
-
* For
|
|
4377
|
+
* For the endpoint of this service, refer to [Endpoint](https://help.aliyun.com/document_detail/612373.html).
|
|
4372
4378
|
*
|
|
4373
4379
|
* @param request - ModifyDBResourceGroupRequest
|
|
4374
4380
|
* @returns ModifyDBResourceGroupResponse
|
package/dist/client.js
CHANGED
|
@@ -94,21 +94,6 @@ class Client extends openapi_core_1.default {
|
|
|
94
94
|
'eu-west-1-oxs': "adb.ap-northeast-1.aliyuncs.com",
|
|
95
95
|
'me-east-1': "adb.ap-northeast-1.aliyuncs.com",
|
|
96
96
|
'rus-west-1-pop': "adb.ap-northeast-1.aliyuncs.com",
|
|
97
|
-
'cn-chengdu': "adb.cn-chengdu.aliyuncs.com",
|
|
98
|
-
'cn-wulanchabu': "adb.cn-wulanchabu.aliyuncs.com",
|
|
99
|
-
'cn-zhangjiakou': "adb.cn-zhangjiakou.aliyuncs.com",
|
|
100
|
-
'ap-northeast-2': "adb.ap-northeast-2.aliyuncs.com",
|
|
101
|
-
'ap-northeast-1': "adb.ap-northeast-1.aliyuncs.com",
|
|
102
|
-
'cn-guangzhou': "adb.cn-guangzhou.aliyuncs.com",
|
|
103
|
-
'ap-southeast-3': "adb.ap-southeast-3.aliyuncs.com",
|
|
104
|
-
'cn-huhehaote': "adb.cn-huhehaote.aliyuncs.com",
|
|
105
|
-
'ap-southeast-5': "adb.ap-southeast-5.aliyuncs.com",
|
|
106
|
-
'ap-southeast-6': "adb.ap-southeast-6.aliyuncs.com",
|
|
107
|
-
'ap-southeast-7': "adb.ap-southeast-7.aliyuncs.com",
|
|
108
|
-
'eu-west-1': "adb.eu-west-1.aliyuncs.com",
|
|
109
|
-
'eu-central-1': "adb.eu-central-1.aliyuncs.com",
|
|
110
|
-
'na-south-1': "adb.na-south-1.aliyuncs.com",
|
|
111
|
-
'me-central-1': "adb.me-central-1.aliyuncs.com",
|
|
112
97
|
};
|
|
113
98
|
this.checkConfig(config);
|
|
114
99
|
this._endpoint = this.getEndpoint("adb", this._regionId, this._endpointRule, this._network, this._suffix, this._endpointMap, this._endpoint);
|
|
@@ -123,7 +108,7 @@ class Client extends openapi_core_1.default {
|
|
|
123
108
|
return openapi_core_2.OpenApiUtil.getEndpointRules(productId, regionId, endpointRule, network, suffix);
|
|
124
109
|
}
|
|
125
110
|
/**
|
|
126
|
-
* Adds a knowledge base
|
|
111
|
+
* Adds a document to a knowledge base.
|
|
127
112
|
*
|
|
128
113
|
* @param request - AddKnowledgeFileRequest
|
|
129
114
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -144,6 +129,9 @@ class Client extends openapi_core_1.default {
|
|
|
144
129
|
if (!$dara.isNull(request.isDir)) {
|
|
145
130
|
query["IsDir"] = request.isDir;
|
|
146
131
|
}
|
|
132
|
+
if (!$dara.isNull(request.priority)) {
|
|
133
|
+
query["Priority"] = request.priority;
|
|
134
|
+
}
|
|
147
135
|
if (!$dara.isNull(request.tags)) {
|
|
148
136
|
query["Tags"] = request.tags;
|
|
149
137
|
}
|
|
@@ -167,7 +155,7 @@ class Client extends openapi_core_1.default {
|
|
|
167
155
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.AddKnowledgeFileResponse({}));
|
|
168
156
|
}
|
|
169
157
|
/**
|
|
170
|
-
* Adds a knowledge base
|
|
158
|
+
* Adds a document to a knowledge base.
|
|
171
159
|
*
|
|
172
160
|
* @param request - AddKnowledgeFileRequest
|
|
173
161
|
* @returns AddKnowledgeFileResponse
|
|
@@ -938,7 +926,7 @@ class Client extends openapi_core_1.default {
|
|
|
938
926
|
* Creates a database account for a cluster.
|
|
939
927
|
*
|
|
940
928
|
* @remarks
|
|
941
|
-
* For information about the endpoint of
|
|
929
|
+
* For information about the endpoint of the current service, see [Endpoint](https://help.aliyun.com/document_detail/612373.html).
|
|
942
930
|
*
|
|
943
931
|
* @param tmpReq - CreateAccountRequest
|
|
944
932
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -948,6 +936,12 @@ class Client extends openapi_core_1.default {
|
|
|
948
936
|
tmpReq.validate();
|
|
949
937
|
let request = new $_model.CreateAccountShrinkRequest({});
|
|
950
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
|
+
}
|
|
951
945
|
if (!$dara.isNull(tmpReq.ramUserList)) {
|
|
952
946
|
request.ramUserListShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.ramUserList, "RamUserList", "json");
|
|
953
947
|
}
|
|
@@ -970,9 +964,21 @@ class Client extends openapi_core_1.default {
|
|
|
970
964
|
if (!$dara.isNull(request.engine)) {
|
|
971
965
|
query["Engine"] = request.engine;
|
|
972
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
|
+
}
|
|
973
976
|
if (!$dara.isNull(request.ramUserListShrink)) {
|
|
974
977
|
query["RamUserList"] = request.ramUserListShrink;
|
|
975
978
|
}
|
|
979
|
+
if (!$dara.isNull(request.resourceGroupName)) {
|
|
980
|
+
query["ResourceGroupName"] = request.resourceGroupName;
|
|
981
|
+
}
|
|
976
982
|
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
977
983
|
query: openapi_core_2.OpenApiUtil.query(query),
|
|
978
984
|
});
|
|
@@ -993,7 +999,7 @@ class Client extends openapi_core_1.default {
|
|
|
993
999
|
* Creates a database account for a cluster.
|
|
994
1000
|
*
|
|
995
1001
|
* @remarks
|
|
996
|
-
* For information about the endpoint of
|
|
1002
|
+
* For information about the endpoint of the current service, see [Endpoint](https://help.aliyun.com/document_detail/612373.html).
|
|
997
1003
|
*
|
|
998
1004
|
* @param request - CreateAccountRequest
|
|
999
1005
|
* @returns CreateAccountResponse
|
|
@@ -1575,7 +1581,10 @@ class Client extends openapi_core_1.default {
|
|
|
1575
1581
|
* Creates a backup set immediately.
|
|
1576
1582
|
*
|
|
1577
1583
|
* @remarks
|
|
1578
|
-
* *Before
|
|
1584
|
+
* *Before using this operation, make sure that you fully understand the billing methods and <props="china">[pricing](https://www.aliyun.com/price/product#/ads/detail/ads_pre
|
|
1585
|
+
* )
|
|
1586
|
+
* <props="intl">[pricing](https://www.alibabacloud.com/zh/zh/pricing-calculator?_p_lc=1#/) of AnalyticDB for MySQL.**
|
|
1587
|
+
* Temporary backups and regular backups have the same pricing and backup set retention period.
|
|
1579
1588
|
*
|
|
1580
1589
|
* @param request - CreateBackupRequest
|
|
1581
1590
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1622,7 +1631,10 @@ class Client extends openapi_core_1.default {
|
|
|
1622
1631
|
* Creates a backup set immediately.
|
|
1623
1632
|
*
|
|
1624
1633
|
* @remarks
|
|
1625
|
-
* *Before
|
|
1634
|
+
* *Before using this operation, make sure that you fully understand the billing methods and <props="china">[pricing](https://www.aliyun.com/price/product#/ads/detail/ads_pre
|
|
1635
|
+
* )
|
|
1636
|
+
* <props="intl">[pricing](https://www.alibabacloud.com/zh/zh/pricing-calculator?_p_lc=1#/) of AnalyticDB for MySQL.**
|
|
1637
|
+
* Temporary backups and regular backups have the same pricing and backup set retention period.
|
|
1626
1638
|
*
|
|
1627
1639
|
* @param request - CreateBackupRequest
|
|
1628
1640
|
* @returns CreateBackupResponse
|
|
@@ -1770,7 +1782,7 @@ class Client extends openapi_core_1.default {
|
|
|
1770
1782
|
* Creates a resource group for a specified Enterprise Edition, Basic Edition, or Data Lakehouse Edition cluster.
|
|
1771
1783
|
*
|
|
1772
1784
|
* @remarks
|
|
1773
|
-
* For the
|
|
1785
|
+
* For the endpoints of this service, see [Endpoint](https://help.aliyun.com/document_detail/612373.html).
|
|
1774
1786
|
*
|
|
1775
1787
|
* @param tmpReq - CreateDBResourceGroupRequest
|
|
1776
1788
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1888,7 +1900,7 @@ class Client extends openapi_core_1.default {
|
|
|
1888
1900
|
* Creates a resource group for a specified Enterprise Edition, Basic Edition, or Data Lakehouse Edition cluster.
|
|
1889
1901
|
*
|
|
1890
1902
|
* @remarks
|
|
1891
|
-
* For the
|
|
1903
|
+
* For the endpoints of this service, see [Endpoint](https://help.aliyun.com/document_detail/612373.html).
|
|
1892
1904
|
*
|
|
1893
1905
|
* @param request - CreateDBResourceGroupRequest
|
|
1894
1906
|
* @returns CreateDBResourceGroupResponse
|
|
@@ -2410,10 +2422,10 @@ class Client extends openapi_core_1.default {
|
|
|
2410
2422
|
return await this.createSparkTemplateWithOptions(request, runtime);
|
|
2411
2423
|
}
|
|
2412
2424
|
/**
|
|
2413
|
-
* Deletes a database account from
|
|
2425
|
+
* Deletes a database account from a cluster.
|
|
2414
2426
|
*
|
|
2415
2427
|
* @remarks
|
|
2416
|
-
* For
|
|
2428
|
+
* For the endpoint of this service, see [Endpoint](https://help.aliyun.com/document_detail/612373.html).
|
|
2417
2429
|
*
|
|
2418
2430
|
* @param request - DeleteAccountRequest
|
|
2419
2431
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2431,6 +2443,9 @@ class Client extends openapi_core_1.default {
|
|
|
2431
2443
|
if (!$dara.isNull(request.engine)) {
|
|
2432
2444
|
query["Engine"] = request.engine;
|
|
2433
2445
|
}
|
|
2446
|
+
if (!$dara.isNull(request.resourceGroupName)) {
|
|
2447
|
+
query["ResourceGroupName"] = request.resourceGroupName;
|
|
2448
|
+
}
|
|
2434
2449
|
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
2435
2450
|
query: openapi_core_2.OpenApiUtil.query(query),
|
|
2436
2451
|
});
|
|
@@ -2448,10 +2463,10 @@ class Client extends openapi_core_1.default {
|
|
|
2448
2463
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteAccountResponse({}));
|
|
2449
2464
|
}
|
|
2450
2465
|
/**
|
|
2451
|
-
* Deletes a database account from
|
|
2466
|
+
* Deletes a database account from a cluster.
|
|
2452
2467
|
*
|
|
2453
2468
|
* @remarks
|
|
2454
|
-
* For
|
|
2469
|
+
* For the endpoint of this service, see [Endpoint](https://help.aliyun.com/document_detail/612373.html).
|
|
2455
2470
|
*
|
|
2456
2471
|
* @param request - DeleteAccountRequest
|
|
2457
2472
|
* @returns DeleteAccountResponse
|
|
@@ -3491,7 +3506,7 @@ class Client extends openapi_core_1.default {
|
|
|
3491
3506
|
* Queries the database accounts of a cluster.
|
|
3492
3507
|
*
|
|
3493
3508
|
* @remarks
|
|
3494
|
-
* For the
|
|
3509
|
+
* For the service registration information of this service, see [Endpoint](https://help.aliyun.com/document_detail/612373.html).
|
|
3495
3510
|
*
|
|
3496
3511
|
* @param request - DescribeAccountsRequest
|
|
3497
3512
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3512,6 +3527,9 @@ class Client extends openapi_core_1.default {
|
|
|
3512
3527
|
if (!$dara.isNull(request.ownerId)) {
|
|
3513
3528
|
query["OwnerId"] = request.ownerId;
|
|
3514
3529
|
}
|
|
3530
|
+
if (!$dara.isNull(request.resourceGroupName)) {
|
|
3531
|
+
query["ResourceGroupName"] = request.resourceGroupName;
|
|
3532
|
+
}
|
|
3515
3533
|
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
3516
3534
|
query: openapi_core_2.OpenApiUtil.query(query),
|
|
3517
3535
|
});
|
|
@@ -3532,7 +3550,7 @@ class Client extends openapi_core_1.default {
|
|
|
3532
3550
|
* Queries the database accounts of a cluster.
|
|
3533
3551
|
*
|
|
3534
3552
|
* @remarks
|
|
3535
|
-
* For the
|
|
3553
|
+
* For the service registration information of this service, see [Endpoint](https://help.aliyun.com/document_detail/612373.html).
|
|
3536
3554
|
*
|
|
3537
3555
|
* @param request - DescribeAccountsRequest
|
|
3538
3556
|
* @returns DescribeAccountsResponse
|
|
@@ -5398,10 +5416,10 @@ class Client extends openapi_core_1.default {
|
|
|
5398
5416
|
return await this.describeDBClusterHealthStatusWithOptions(request, runtime);
|
|
5399
5417
|
}
|
|
5400
5418
|
/**
|
|
5401
|
-
*
|
|
5419
|
+
* Queries the performance data of a specified cluster.
|
|
5402
5420
|
*
|
|
5403
5421
|
* @remarks
|
|
5404
|
-
* For the
|
|
5422
|
+
* For the endpoint of this service, see [Endpoint](https://help.aliyun.com/document_detail/612373.html).
|
|
5405
5423
|
*
|
|
5406
5424
|
* @param request - DescribeDBClusterPerformanceRequest
|
|
5407
5425
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -5445,10 +5463,10 @@ class Client extends openapi_core_1.default {
|
|
|
5445
5463
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeDBClusterPerformanceResponse({}));
|
|
5446
5464
|
}
|
|
5447
5465
|
/**
|
|
5448
|
-
*
|
|
5466
|
+
* Queries the performance data of a specified cluster.
|
|
5449
5467
|
*
|
|
5450
5468
|
* @remarks
|
|
5451
|
-
* For the
|
|
5469
|
+
* For the endpoint of this service, see [Endpoint](https://help.aliyun.com/document_detail/612373.html).
|
|
5452
5470
|
*
|
|
5453
5471
|
* @param request - DescribeDBClusterPerformanceRequest
|
|
5454
5472
|
* @returns DescribeDBClusterPerformanceResponse
|
|
@@ -10582,8 +10600,8 @@ class Client extends openapi_core_1.default {
|
|
|
10582
10600
|
* Retrieves table information.
|
|
10583
10601
|
*
|
|
10584
10602
|
* @remarks
|
|
10585
|
-
* - Public endpoint of
|
|
10586
|
-
* - VPC endpoint of
|
|
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`.
|
|
10587
10605
|
*
|
|
10588
10606
|
* @param request - GetTableRequest
|
|
10589
10607
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -10624,8 +10642,8 @@ class Client extends openapi_core_1.default {
|
|
|
10624
10642
|
* Retrieves table information.
|
|
10625
10643
|
*
|
|
10626
10644
|
* @remarks
|
|
10627
|
-
* - Public endpoint of
|
|
10628
|
-
* - VPC endpoint of
|
|
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`.
|
|
10629
10647
|
*
|
|
10630
10648
|
* @param request - GetTableRequest
|
|
10631
10649
|
* @returns GetTableResponse
|
|
@@ -11837,6 +11855,9 @@ class Client extends openapi_core_1.default {
|
|
|
11837
11855
|
if (!$dara.isNull(request.engine)) {
|
|
11838
11856
|
query["Engine"] = request.engine;
|
|
11839
11857
|
}
|
|
11858
|
+
if (!$dara.isNull(request.resourceGroupName)) {
|
|
11859
|
+
query["ResourceGroupName"] = request.resourceGroupName;
|
|
11860
|
+
}
|
|
11840
11861
|
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
11841
11862
|
query: openapi_core_2.OpenApiUtil.query(query),
|
|
11842
11863
|
});
|
|
@@ -11870,7 +11891,7 @@ class Client extends openapi_core_1.default {
|
|
|
11870
11891
|
* Modifies the permissions of a database account.
|
|
11871
11892
|
*
|
|
11872
11893
|
* @remarks
|
|
11873
|
-
* For
|
|
11894
|
+
* For the service registration of this service, refer to [Endpoint](https://help.aliyun.com/document_detail/612373.html).
|
|
11874
11895
|
*
|
|
11875
11896
|
* @param tmpReq - ModifyAccountPrivilegesRequest
|
|
11876
11897
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -11883,6 +11904,12 @@ class Client extends openapi_core_1.default {
|
|
|
11883
11904
|
if (!$dara.isNull(tmpReq.accountPrivileges)) {
|
|
11884
11905
|
request.accountPrivilegesShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.accountPrivileges, "AccountPrivileges", "json");
|
|
11885
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
|
+
}
|
|
11886
11913
|
let query = {};
|
|
11887
11914
|
if (!$dara.isNull(request.accountName)) {
|
|
11888
11915
|
query["AccountName"] = request.accountName;
|
|
@@ -11893,9 +11920,21 @@ class Client extends openapi_core_1.default {
|
|
|
11893
11920
|
if (!$dara.isNull(request.DBClusterId)) {
|
|
11894
11921
|
query["DBClusterId"] = request.DBClusterId;
|
|
11895
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
|
+
}
|
|
11896
11932
|
if (!$dara.isNull(request.regionId)) {
|
|
11897
11933
|
query["RegionId"] = request.regionId;
|
|
11898
11934
|
}
|
|
11935
|
+
if (!$dara.isNull(request.resourceGroupName)) {
|
|
11936
|
+
query["ResourceGroupName"] = request.resourceGroupName;
|
|
11937
|
+
}
|
|
11899
11938
|
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
11900
11939
|
query: openapi_core_2.OpenApiUtil.query(query),
|
|
11901
11940
|
});
|
|
@@ -11916,7 +11955,7 @@ class Client extends openapi_core_1.default {
|
|
|
11916
11955
|
* Modifies the permissions of a database account.
|
|
11917
11956
|
*
|
|
11918
11957
|
* @remarks
|
|
11919
|
-
* For
|
|
11958
|
+
* For the service registration of this service, refer to [Endpoint](https://help.aliyun.com/document_detail/612373.html).
|
|
11920
11959
|
*
|
|
11921
11960
|
* @param request - ModifyAccountPrivilegesRequest
|
|
11922
11961
|
* @returns ModifyAccountPrivilegesResponse
|
|
@@ -12207,10 +12246,10 @@ class Client extends openapi_core_1.default {
|
|
|
12207
12246
|
return await this.modifyApsWorkloadNameWithOptions(request, runtime);
|
|
12208
12247
|
}
|
|
12209
12248
|
/**
|
|
12210
|
-
* Modifies the SQL audit settings of
|
|
12249
|
+
* Modifies the SQL audit log settings of a cluster.
|
|
12211
12250
|
*
|
|
12212
12251
|
* @remarks
|
|
12213
|
-
* For
|
|
12252
|
+
* For the endpoint of this service, see [Endpoint](https://help.aliyun.com/document_detail/612373.html).
|
|
12214
12253
|
*
|
|
12215
12254
|
* @param request - ModifyAuditLogConfigRequest
|
|
12216
12255
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -12260,10 +12299,10 @@ class Client extends openapi_core_1.default {
|
|
|
12260
12299
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyAuditLogConfigResponse({}));
|
|
12261
12300
|
}
|
|
12262
12301
|
/**
|
|
12263
|
-
* Modifies the SQL audit settings of
|
|
12302
|
+
* Modifies the SQL audit log settings of a cluster.
|
|
12264
12303
|
*
|
|
12265
12304
|
* @remarks
|
|
12266
|
-
* For
|
|
12305
|
+
* For the endpoint of this service, see [Endpoint](https://help.aliyun.com/document_detail/612373.html).
|
|
12267
12306
|
*
|
|
12268
12307
|
* @param request - ModifyAuditLogConfigRequest
|
|
12269
12308
|
* @returns ModifyAuditLogConfigResponse
|
|
@@ -12336,10 +12375,10 @@ class Client extends openapi_core_1.default {
|
|
|
12336
12375
|
return await this.modifyAutoRenewalAttributeWithOptions(request, runtime);
|
|
12337
12376
|
}
|
|
12338
12377
|
/**
|
|
12339
|
-
* Modifies the backup policy of
|
|
12378
|
+
* Modifies the backup policy of a cluster.
|
|
12340
12379
|
*
|
|
12341
12380
|
* @remarks
|
|
12342
|
-
* For information about the
|
|
12381
|
+
* For information about the endpoint of the current service, see [Endpoint](https://help.aliyun.com/document_detail/612373.html).
|
|
12343
12382
|
*
|
|
12344
12383
|
* @param request - ModifyBackupPolicyRequest
|
|
12345
12384
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -12395,10 +12434,10 @@ class Client extends openapi_core_1.default {
|
|
|
12395
12434
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyBackupPolicyResponse({}));
|
|
12396
12435
|
}
|
|
12397
12436
|
/**
|
|
12398
|
-
* Modifies the backup policy of
|
|
12437
|
+
* Modifies the backup policy of a cluster.
|
|
12399
12438
|
*
|
|
12400
12439
|
* @remarks
|
|
12401
|
-
* For information about the
|
|
12440
|
+
* For information about the endpoint of the current service, see [Endpoint](https://help.aliyun.com/document_detail/612373.html).
|
|
12402
12441
|
*
|
|
12403
12442
|
* @param request - ModifyBackupPolicyRequest
|
|
12404
12443
|
* @returns ModifyBackupPolicyResponse
|
|
@@ -12888,7 +12927,7 @@ class Client extends openapi_core_1.default {
|
|
|
12888
12927
|
* Changes the resource group of a cluster.
|
|
12889
12928
|
*
|
|
12890
12929
|
* @remarks
|
|
12891
|
-
* For
|
|
12930
|
+
* For the endpoint of this service, refer to [Endpoint](https://help.aliyun.com/document_detail/612373.html).
|
|
12892
12931
|
*
|
|
12893
12932
|
* @param tmpReq - ModifyDBResourceGroupRequest
|
|
12894
12933
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -13000,7 +13039,7 @@ class Client extends openapi_core_1.default {
|
|
|
13000
13039
|
* Changes the resource group of a cluster.
|
|
13001
13040
|
*
|
|
13002
13041
|
* @remarks
|
|
13003
|
-
* For
|
|
13042
|
+
* For the endpoint of this service, refer to [Endpoint](https://help.aliyun.com/document_detail/612373.html).
|
|
13004
13043
|
*
|
|
13005
13044
|
* @param request - ModifyDBResourceGroupRequest
|
|
13006
13045
|
* @returns ModifyDBResourceGroupResponse
|
|
@@ -13924,6 +13963,9 @@ class Client extends openapi_core_1.default {
|
|
|
13924
13963
|
if (!$dara.isNull(request.engine)) {
|
|
13925
13964
|
query["Engine"] = request.engine;
|
|
13926
13965
|
}
|
|
13966
|
+
if (!$dara.isNull(request.resourceGroupName)) {
|
|
13967
|
+
query["ResourceGroupName"] = request.resourceGroupName;
|
|
13968
|
+
}
|
|
13927
13969
|
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
13928
13970
|
query: openapi_core_2.OpenApiUtil.query(query),
|
|
13929
13971
|
});
|