@alicloud/rds20140815 15.8.2 → 15.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/client.d.ts CHANGED
@@ -3915,6 +3915,21 @@ export default class Client extends OpenApi {
3915
3915
  * @returns DescribeDBInstanceSecurityGroupRuleResponse
3916
3916
  */
3917
3917
  describeDBInstanceSecurityGroupRule(request: $_model.DescribeDBInstanceSecurityGroupRuleRequest): Promise<$_model.DescribeDBInstanceSecurityGroupRuleResponse>;
3918
+ /**
3919
+ * 查询实例切换日志
3920
+ *
3921
+ * @param request - DescribeDBInstanceSwitchLogRequest
3922
+ * @param runtime - runtime options for this request RuntimeOptions
3923
+ * @returns DescribeDBInstanceSwitchLogResponse
3924
+ */
3925
+ describeDBInstanceSwitchLogWithOptions(request: $_model.DescribeDBInstanceSwitchLogRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeDBInstanceSwitchLogResponse>;
3926
+ /**
3927
+ * 查询实例切换日志
3928
+ *
3929
+ * @param request - DescribeDBInstanceSwitchLogRequest
3930
+ * @returns DescribeDBInstanceSwitchLogResponse
3931
+ */
3932
+ describeDBInstanceSwitchLog(request: $_model.DescribeDBInstanceSwitchLogRequest): Promise<$_model.DescribeDBInstanceSwitchLogResponse>;
3918
3933
  /**
3919
3934
  * Queries the status of the Transparent Data Encryption (TDE) feature for an instance.
3920
3935
  *
@@ -8755,7 +8770,7 @@ export default class Client extends OpenApi {
8755
8770
  */
8756
8771
  modifyRCDeploymentSetAttribute(request: $_model.ModifyRCDeploymentSetAttributeRequest): Promise<$_model.ModifyRCDeploymentSetAttributeResponse>;
8757
8772
  /**
8758
- * 修改块存储属性
8773
+ * Modifies the attributes of a block storage device, such as the names and descriptions of the devices, whether to release the devices together with the associated Elastic Compute Service (ECS) instances, whether its automatically-generated snapshots are deleted with the device, and whether automatic snapshot or I/O performance burst is enabled.
8759
8774
  *
8760
8775
  * @param request - ModifyRCDiskAttributeRequest
8761
8776
  * @param runtime - runtime options for this request RuntimeOptions
@@ -8763,7 +8778,7 @@ export default class Client extends OpenApi {
8763
8778
  */
8764
8779
  modifyRCDiskAttributeWithOptions(request: $_model.ModifyRCDiskAttributeRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ModifyRCDiskAttributeResponse>;
8765
8780
  /**
8766
- * 修改块存储属性
8781
+ * Modifies the attributes of a block storage device, such as the names and descriptions of the devices, whether to release the devices together with the associated Elastic Compute Service (ECS) instances, whether its automatically-generated snapshots are deleted with the device, and whether automatic snapshot or I/O performance burst is enabled.
8767
8782
  *
8768
8783
  * @param request - ModifyRCDiskAttributeRequest
8769
8784
  * @returns ModifyRCDiskAttributeResponse
package/dist/client.js CHANGED
@@ -10494,6 +10494,72 @@ class Client extends openapi_core_1.default {
10494
10494
  let runtime = new $dara.RuntimeOptions({});
10495
10495
  return await this.describeDBInstanceSecurityGroupRuleWithOptions(request, runtime);
10496
10496
  }
10497
+ /**
10498
+ * 查询实例切换日志
10499
+ *
10500
+ * @param request - DescribeDBInstanceSwitchLogRequest
10501
+ * @param runtime - runtime options for this request RuntimeOptions
10502
+ * @returns DescribeDBInstanceSwitchLogResponse
10503
+ */
10504
+ async describeDBInstanceSwitchLogWithOptions(request, runtime) {
10505
+ request.validate();
10506
+ let query = {};
10507
+ if (!$dara.isNull(request.DBInstanceId)) {
10508
+ query["DBInstanceId"] = request.DBInstanceId;
10509
+ }
10510
+ if (!$dara.isNull(request.endTime)) {
10511
+ query["EndTime"] = request.endTime;
10512
+ }
10513
+ if (!$dara.isNull(request.ownerAccount)) {
10514
+ query["OwnerAccount"] = request.ownerAccount;
10515
+ }
10516
+ if (!$dara.isNull(request.ownerId)) {
10517
+ query["OwnerId"] = request.ownerId;
10518
+ }
10519
+ if (!$dara.isNull(request.pageNumber)) {
10520
+ query["PageNumber"] = request.pageNumber;
10521
+ }
10522
+ if (!$dara.isNull(request.pageSize)) {
10523
+ query["PageSize"] = request.pageSize;
10524
+ }
10525
+ if (!$dara.isNull(request.regionId)) {
10526
+ query["RegionId"] = request.regionId;
10527
+ }
10528
+ if (!$dara.isNull(request.resourceOwnerAccount)) {
10529
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
10530
+ }
10531
+ if (!$dara.isNull(request.resourceOwnerId)) {
10532
+ query["ResourceOwnerId"] = request.resourceOwnerId;
10533
+ }
10534
+ if (!$dara.isNull(request.startTime)) {
10535
+ query["StartTime"] = request.startTime;
10536
+ }
10537
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
10538
+ query: openapi_core_2.OpenApiUtil.query(query),
10539
+ });
10540
+ let params = new openapi_core_2.$OpenApiUtil.Params({
10541
+ action: "DescribeDBInstanceSwitchLog",
10542
+ version: "2014-08-15",
10543
+ protocol: "HTTPS",
10544
+ pathname: "/",
10545
+ method: "POST",
10546
+ authType: "AK",
10547
+ style: "RPC",
10548
+ reqBodyType: "formData",
10549
+ bodyType: "json",
10550
+ });
10551
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeDBInstanceSwitchLogResponse({}));
10552
+ }
10553
+ /**
10554
+ * 查询实例切换日志
10555
+ *
10556
+ * @param request - DescribeDBInstanceSwitchLogRequest
10557
+ * @returns DescribeDBInstanceSwitchLogResponse
10558
+ */
10559
+ async describeDBInstanceSwitchLog(request) {
10560
+ let runtime = new $dara.RuntimeOptions({});
10561
+ return await this.describeDBInstanceSwitchLogWithOptions(request, runtime);
10562
+ }
10497
10563
  /**
10498
10564
  * Queries the status of the Transparent Data Encryption (TDE) feature for an instance.
10499
10565
  *
@@ -23980,7 +24046,7 @@ class Client extends openapi_core_1.default {
23980
24046
  return await this.modifyRCDeploymentSetAttributeWithOptions(request, runtime);
23981
24047
  }
23982
24048
  /**
23983
- * 修改块存储属性
24049
+ * Modifies the attributes of a block storage device, such as the names and descriptions of the devices, whether to release the devices together with the associated Elastic Compute Service (ECS) instances, whether its automatically-generated snapshots are deleted with the device, and whether automatic snapshot or I/O performance burst is enabled.
23984
24050
  *
23985
24051
  * @param request - ModifyRCDiskAttributeRequest
23986
24052
  * @param runtime - runtime options for this request RuntimeOptions
@@ -24024,7 +24090,7 @@ class Client extends openapi_core_1.default {
24024
24090
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyRCDiskAttributeResponse({}));
24025
24091
  }
24026
24092
  /**
24027
- * 修改块存储属性
24093
+ * Modifies the attributes of a block storage device, such as the names and descriptions of the devices, whether to release the devices together with the associated Elastic Compute Service (ECS) instances, whether its automatically-generated snapshots are deleted with the device, and whether automatic snapshot or I/O performance burst is enabled.
24028
24094
  *
24029
24095
  * @param request - ModifyRCDiskAttributeRequest
24030
24096
  * @returns ModifyRCDiskAttributeResponse