@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/dist/client.d.ts CHANGED
@@ -10132,6 +10132,7 @@ export declare class ModifyDBInstanceSSLResponse extends $tea.Model {
10132
10132
  });
10133
10133
  }
10134
10134
  export declare class ModifyDBInstanceSpecRequest extends $tea.Model {
10135
+ autoUseCoupon?: boolean;
10135
10136
  burstingEnabled?: boolean;
10136
10137
  category?: string;
10137
10138
  DBInstanceClass?: string;
@@ -10164,6 +10165,7 @@ export declare class ModifyDBInstanceSpecRequest extends $tea.Model {
10164
10165
  });
10165
10166
  }
10166
10167
  export declare class ModifyDBInstanceSpecShrinkRequest extends $tea.Model {
10168
+ autoUseCoupon?: boolean;
10167
10169
  burstingEnabled?: boolean;
10168
10170
  category?: string;
10169
10171
  DBInstanceClass?: string;
@@ -18952,6 +18954,7 @@ export default class Client extends OpenApi {
18952
18954
  */
18953
18955
  describeDetachedBackups(request: DescribeDetachedBackupsRequest): Promise<DescribeDetachedBackupsResponse>;
18954
18956
  /**
18957
+ * @deprecated
18955
18958
  * > 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.
18956
18959
  * * The returned diagnosis reports include data collection time, data generation time, and download URLs. The system retains the reports for 15 days.
18957
18960
  * * This operation is not suitable for instances that run SQL Server 2017 on RDS Cluster Edition.
@@ -18962,6 +18965,7 @@ export default class Client extends OpenApi {
18962
18965
  */
18963
18966
  describeDiagnosticReportListWithOptions(request: DescribeDiagnosticReportListRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDiagnosticReportListResponse>;
18964
18967
  /**
18968
+ * @deprecated
18965
18969
  * > 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.
18966
18970
  * * The returned diagnosis reports include data collection time, data generation time, and download URLs. The system retains the reports for 15 days.
18967
18971
  * * This operation is not suitable for instances that run SQL Server 2017 on RDS Cluster Edition.
package/dist/client.js CHANGED
@@ -14699,6 +14699,7 @@ class ModifyDBInstanceSpecRequest extends $tea.Model {
14699
14699
  }
14700
14700
  static names() {
14701
14701
  return {
14702
+ autoUseCoupon: 'AutoUseCoupon',
14702
14703
  burstingEnabled: 'BurstingEnabled',
14703
14704
  category: 'Category',
14704
14705
  DBInstanceClass: 'DBInstanceClass',
@@ -14724,6 +14725,7 @@ class ModifyDBInstanceSpecRequest extends $tea.Model {
14724
14725
  }
14725
14726
  static types() {
14726
14727
  return {
14728
+ autoUseCoupon: 'boolean',
14727
14729
  burstingEnabled: 'boolean',
14728
14730
  category: 'string',
14729
14731
  DBInstanceClass: 'string',
@@ -14755,6 +14757,7 @@ class ModifyDBInstanceSpecShrinkRequest extends $tea.Model {
14755
14757
  }
14756
14758
  static names() {
14757
14759
  return {
14760
+ autoUseCoupon: 'AutoUseCoupon',
14758
14761
  burstingEnabled: 'BurstingEnabled',
14759
14762
  category: 'Category',
14760
14763
  DBInstanceClass: 'DBInstanceClass',
@@ -14780,6 +14783,7 @@ class ModifyDBInstanceSpecShrinkRequest extends $tea.Model {
14780
14783
  }
14781
14784
  static types() {
14782
14785
  return {
14786
+ autoUseCoupon: 'boolean',
14783
14787
  burstingEnabled: 'boolean',
14784
14788
  category: 'string',
14785
14789
  DBInstanceClass: 'string',
@@ -32133,6 +32137,7 @@ class Client extends openapi_client_1.default {
32133
32137
  return await this.describeDetachedBackupsWithOptions(request, runtime);
32134
32138
  }
32135
32139
  /**
32140
+ * @deprecated
32136
32141
  * > 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.
32137
32142
  * * The returned diagnosis reports include data collection time, data generation time, and download URLs. The system retains the reports for 15 days.
32138
32143
  * * This operation is not suitable for instances that run SQL Server 2017 on RDS Cluster Edition.
@@ -32141,6 +32146,7 @@ class Client extends openapi_client_1.default {
32141
32146
  * @param runtime runtime options for this request RuntimeOptions
32142
32147
  * @return DescribeDiagnosticReportListResponse
32143
32148
  */
32149
+ // Deprecated
32144
32150
  async describeDiagnosticReportListWithOptions(request, runtime) {
32145
32151
  tea_util_1.default.validateModel(request);
32146
32152
  let query = {};
@@ -32167,6 +32173,7 @@ class Client extends openapi_client_1.default {
32167
32173
  return $tea.cast(await this.callApi(params, req, runtime), new DescribeDiagnosticReportListResponse({}));
32168
32174
  }
32169
32175
  /**
32176
+ * @deprecated
32170
32177
  * > 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.
32171
32178
  * * The returned diagnosis reports include data collection time, data generation time, and download URLs. The system retains the reports for 15 days.
32172
32179
  * * This operation is not suitable for instances that run SQL Server 2017 on RDS Cluster Edition.
@@ -32174,6 +32181,7 @@ class Client extends openapi_client_1.default {
32174
32181
  * @param request DescribeDiagnosticReportListRequest
32175
32182
  * @return DescribeDiagnosticReportListResponse
32176
32183
  */
32184
+ // Deprecated
32177
32185
  async describeDiagnosticReportList(request) {
32178
32186
  let runtime = new $Util.RuntimeOptions({});
32179
32187
  return await this.describeDiagnosticReportListWithOptions(request, runtime);
@@ -37327,6 +37335,9 @@ class Client extends openapi_client_1.default {
37327
37335
  request.serverlessConfigurationShrink = openapi_util_1.default.arrayToStringWithSpecifiedStyle(tmpReq.serverlessConfiguration, "ServerlessConfiguration", "json");
37328
37336
  }
37329
37337
  let query = {};
37338
+ if (!tea_util_1.default.isUnset(request.autoUseCoupon)) {
37339
+ query["AutoUseCoupon"] = request.autoUseCoupon;
37340
+ }
37330
37341
  if (!tea_util_1.default.isUnset(request.burstingEnabled)) {
37331
37342
  query["BurstingEnabled"] = request.burstingEnabled;
37332
37343
  }