@alicloud/rds20140815 2.2.1 → 2.2.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alicloud/rds20140815",
3
- "version": "2.2.1",
3
+ "version": "2.2.3",
4
4
  "description": "",
5
5
  "main": "dist/client.js",
6
6
  "scripts": {
package/src/client.ts CHANGED
@@ -19025,6 +19025,7 @@ export class ModifyDBInstanceSSLResponse extends $tea.Model {
19025
19025
  }
19026
19026
 
19027
19027
  export class ModifyDBInstanceSpecRequest extends $tea.Model {
19028
+ autoUseCoupon?: boolean;
19028
19029
  burstingEnabled?: boolean;
19029
19030
  category?: string;
19030
19031
  DBInstanceClass?: string;
@@ -19048,6 +19049,7 @@ export class ModifyDBInstanceSpecRequest extends $tea.Model {
19048
19049
  zoneId?: string;
19049
19050
  static names(): { [key: string]: string } {
19050
19051
  return {
19052
+ autoUseCoupon: 'AutoUseCoupon',
19051
19053
  burstingEnabled: 'BurstingEnabled',
19052
19054
  category: 'Category',
19053
19055
  DBInstanceClass: 'DBInstanceClass',
@@ -19074,6 +19076,7 @@ export class ModifyDBInstanceSpecRequest extends $tea.Model {
19074
19076
 
19075
19077
  static types(): { [key: string]: any } {
19076
19078
  return {
19079
+ autoUseCoupon: 'boolean',
19077
19080
  burstingEnabled: 'boolean',
19078
19081
  category: 'string',
19079
19082
  DBInstanceClass: 'string',
@@ -19104,6 +19107,7 @@ export class ModifyDBInstanceSpecRequest extends $tea.Model {
19104
19107
  }
19105
19108
 
19106
19109
  export class ModifyDBInstanceSpecShrinkRequest extends $tea.Model {
19110
+ autoUseCoupon?: boolean;
19107
19111
  burstingEnabled?: boolean;
19108
19112
  category?: string;
19109
19113
  DBInstanceClass?: string;
@@ -19127,6 +19131,7 @@ export class ModifyDBInstanceSpecShrinkRequest extends $tea.Model {
19127
19131
  zoneId?: string;
19128
19132
  static names(): { [key: string]: string } {
19129
19133
  return {
19134
+ autoUseCoupon: 'AutoUseCoupon',
19130
19135
  burstingEnabled: 'BurstingEnabled',
19131
19136
  category: 'Category',
19132
19137
  DBInstanceClass: 'DBInstanceClass',
@@ -19153,6 +19158,7 @@ export class ModifyDBInstanceSpecShrinkRequest extends $tea.Model {
19153
19158
 
19154
19159
  static types(): { [key: string]: any } {
19155
19160
  return {
19161
+ autoUseCoupon: 'boolean',
19156
19162
  burstingEnabled: 'boolean',
19157
19163
  category: 'string',
19158
19164
  DBInstanceClass: 'string',
@@ -40644,6 +40650,7 @@ export default class Client extends OpenApi {
40644
40650
  }
40645
40651
 
40646
40652
  /**
40653
+ * @deprecated
40647
40654
  * > This operation is no longer maintained. You can use the [DescribeDiagnosticReportList](~~443006~~) operation of Database Autonomy Service (DAS) to query a list of diagnostic reports.
40648
40655
  * * The returned diagnosis reports include data collection time, data generation time, and download URLs. The system retains the reports for 15 days.
40649
40656
  * * This operation is not suitable for instances that run SQL Server 2017 on RDS Cluster Edition.
@@ -40652,6 +40659,7 @@ export default class Client extends OpenApi {
40652
40659
  * @param runtime runtime options for this request RuntimeOptions
40653
40660
  * @return DescribeDiagnosticReportListResponse
40654
40661
  */
40662
+ // Deprecated
40655
40663
  async describeDiagnosticReportListWithOptions(request: DescribeDiagnosticReportListRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDiagnosticReportListResponse> {
40656
40664
  Util.validateModel(request);
40657
40665
  let query = { };
@@ -40681,6 +40689,7 @@ export default class Client extends OpenApi {
40681
40689
  }
40682
40690
 
40683
40691
  /**
40692
+ * @deprecated
40684
40693
  * > This operation is no longer maintained. You can use the [DescribeDiagnosticReportList](~~443006~~) operation of Database Autonomy Service (DAS) to query a list of diagnostic reports.
40685
40694
  * * The returned diagnosis reports include data collection time, data generation time, and download URLs. The system retains the reports for 15 days.
40686
40695
  * * This operation is not suitable for instances that run SQL Server 2017 on RDS Cluster Edition.
@@ -40688,6 +40697,7 @@ export default class Client extends OpenApi {
40688
40697
  * @param request DescribeDiagnosticReportListRequest
40689
40698
  * @return DescribeDiagnosticReportListResponse
40690
40699
  */
40700
+ // Deprecated
40691
40701
  async describeDiagnosticReportList(request: DescribeDiagnosticReportListRequest): Promise<DescribeDiagnosticReportListResponse> {
40692
40702
  let runtime = new $Util.RuntimeOptions({ });
40693
40703
  return await this.describeDiagnosticReportListWithOptions(request, runtime);
@@ -46717,6 +46727,10 @@ export default class Client extends OpenApi {
46717
46727
  }
46718
46728
 
46719
46729
  let query = { };
46730
+ if (!Util.isUnset(request.autoUseCoupon)) {
46731
+ query["AutoUseCoupon"] = request.autoUseCoupon;
46732
+ }
46733
+
46720
46734
  if (!Util.isUnset(request.burstingEnabled)) {
46721
46735
  query["BurstingEnabled"] = request.burstingEnabled;
46722
46736
  }