@alicloud/dds20151201 3.6.14 → 3.6.16

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
@@ -3437,6 +3437,7 @@ export declare class ModifyDBInstanceMonitorResponse extends $tea.Model {
3437
3437
  });
3438
3438
  }
3439
3439
  export declare class ModifyDBInstanceNetExpireTimeRequest extends $tea.Model {
3440
+ category?: string;
3440
3441
  classicExpendExpiredDays?: number;
3441
3442
  connectionString?: string;
3442
3443
  DBInstanceId?: string;
@@ -5456,6 +5457,7 @@ export declare class DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstanc
5456
5457
  storageType?: string;
5457
5458
  syncPercent?: string;
5458
5459
  tags?: DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstanceTags;
5460
+ useClusterBackup?: boolean;
5459
5461
  VPCCloudInstanceIds?: string;
5460
5462
  VPCId?: string;
5461
5463
  vSwitchId?: string;
@@ -6045,6 +6047,7 @@ export declare class DescribePriceResponseBodyOrder extends $tea.Model {
6045
6047
  discountAmount?: string;
6046
6048
  originalAmount?: string;
6047
6049
  ruleIds?: DescribePriceResponseBodyOrderRuleIds;
6050
+ showDiscountInfo?: boolean;
6048
6051
  tradeAmount?: string;
6049
6052
  static names(): {
6050
6053
  [key: string]: string;
@@ -6995,7 +6998,7 @@ export default class Client extends OpenApi {
6995
6998
  */
6996
6999
  describeDBInstanceTDEInfo(request: DescribeDBInstanceTDEInfoRequest): Promise<DescribeDBInstanceTDEInfoResponse>;
6997
7000
  /**
6998
- * The list of replica set and standalone instances is displayed when the **DBInstanceType** parameter uses the default value **replicate**. To query the list of sharded cluster instances, you must set the **DBInstanceType** parameter to **sharding**.
7001
+ * The list of replica set and standalone instances is displayed when the **DBInstanceType** parameter uses the default value **replicate**. To query a list of sharded cluster instances, you must set the **DBInstanceType** parameter to **sharding**.
6999
7002
  *
7000
7003
  * @param request DescribeDBInstancesRequest
7001
7004
  * @param runtime runtime options for this request RuntimeOptions
@@ -7003,7 +7006,7 @@ export default class Client extends OpenApi {
7003
7006
  */
7004
7007
  describeDBInstancesWithOptions(request: DescribeDBInstancesRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDBInstancesResponse>;
7005
7008
  /**
7006
- * The list of replica set and standalone instances is displayed when the **DBInstanceType** parameter uses the default value **replicate**. To query the list of sharded cluster instances, you must set the **DBInstanceType** parameter to **sharding**.
7009
+ * The list of replica set and standalone instances is displayed when the **DBInstanceType** parameter uses the default value **replicate**. To query a list of sharded cluster instances, you must set the **DBInstanceType** parameter to **sharding**.
7007
7010
  *
7008
7011
  * @param request DescribeDBInstancesRequest
7009
7012
  * @return DescribeDBInstancesResponse
@@ -7650,7 +7653,7 @@ export default class Client extends OpenApi {
7650
7653
  */
7651
7654
  resetAccountPassword(request: ResetAccountPasswordRequest): Promise<ResetAccountPasswordResponse>;
7652
7655
  /**
7653
- * This operation can also be used to restart a shard or mongos node in a sharded cluster instance.
7656
+ * This operation can also be used to restart an instance, or restart a shard or mongos node in a sharded cluster instance.
7654
7657
  *
7655
7658
  * @param request RestartDBInstanceRequest
7656
7659
  * @param runtime runtime options for this request RuntimeOptions
@@ -7658,7 +7661,7 @@ export default class Client extends OpenApi {
7658
7661
  */
7659
7662
  restartDBInstanceWithOptions(request: RestartDBInstanceRequest, runtime: $Util.RuntimeOptions): Promise<RestartDBInstanceResponse>;
7660
7663
  /**
7661
- * This operation can also be used to restart a shard or mongos node in a sharded cluster instance.
7664
+ * This operation can also be used to restart an instance, or restart a shard or mongos node in a sharded cluster instance.
7662
7665
  *
7663
7666
  * @param request RestartDBInstanceRequest
7664
7667
  * @return RestartDBInstanceResponse
package/dist/client.js CHANGED
@@ -5013,6 +5013,7 @@ class ModifyDBInstanceNetExpireTimeRequest extends $tea.Model {
5013
5013
  }
5014
5014
  static names() {
5015
5015
  return {
5016
+ category: 'Category',
5016
5017
  classicExpendExpiredDays: 'ClassicExpendExpiredDays',
5017
5018
  connectionString: 'ConnectionString',
5018
5019
  DBInstanceId: 'DBInstanceId',
@@ -5025,6 +5026,7 @@ class ModifyDBInstanceNetExpireTimeRequest extends $tea.Model {
5025
5026
  }
5026
5027
  static types() {
5027
5028
  return {
5029
+ category: 'string',
5028
5030
  classicExpendExpiredDays: 'number',
5029
5031
  connectionString: 'string',
5030
5032
  DBInstanceId: 'string',
@@ -7874,6 +7876,7 @@ class DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstance extends $tea.
7874
7876
  storageType: 'StorageType',
7875
7877
  syncPercent: 'SyncPercent',
7876
7878
  tags: 'Tags',
7879
+ useClusterBackup: 'UseClusterBackup',
7877
7880
  VPCCloudInstanceIds: 'VPCCloudInstanceIds',
7878
7881
  VPCId: 'VPCId',
7879
7882
  vSwitchId: 'VSwitchId',
@@ -7928,6 +7931,7 @@ class DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstance extends $tea.
7928
7931
  storageType: 'string',
7929
7932
  syncPercent: 'string',
7930
7933
  tags: DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstanceTags,
7934
+ useClusterBackup: 'boolean',
7931
7935
  VPCCloudInstanceIds: 'string',
7932
7936
  VPCId: 'string',
7933
7937
  vSwitchId: 'string',
@@ -8780,6 +8784,7 @@ class DescribePriceResponseBodyOrder extends $tea.Model {
8780
8784
  discountAmount: 'DiscountAmount',
8781
8785
  originalAmount: 'OriginalAmount',
8782
8786
  ruleIds: 'RuleIds',
8787
+ showDiscountInfo: 'ShowDiscountInfo',
8783
8788
  tradeAmount: 'TradeAmount',
8784
8789
  };
8785
8790
  }
@@ -8790,6 +8795,7 @@ class DescribePriceResponseBodyOrder extends $tea.Model {
8790
8795
  discountAmount: 'string',
8791
8796
  originalAmount: 'string',
8792
8797
  ruleIds: DescribePriceResponseBodyOrderRuleIds,
8798
+ showDiscountInfo: 'boolean',
8793
8799
  tradeAmount: 'string',
8794
8800
  };
8795
8801
  }
@@ -9602,7 +9608,68 @@ exports.TagResourcesRequestTag = TagResourcesRequestTag;
9602
9608
  class Client extends openapi_client_1.default {
9603
9609
  constructor(config) {
9604
9610
  super(config);
9605
- this._endpointRule = "";
9611
+ this._endpointRule = "regional";
9612
+ this._endpointMap = {
9613
+ 'cn-qingdao': "mongodb.aliyuncs.com",
9614
+ 'cn-beijing': "mongodb.aliyuncs.com",
9615
+ 'cn-zhangjiakou': "mongodb.cn-zhangjiakou.aliyuncs.com",
9616
+ 'cn-huhehaote': "mongodb.cn-huhehaote.aliyuncs.com",
9617
+ 'cn-wulanchabu': "mongodb.aliyuncs.com",
9618
+ 'cn-hangzhou': "mongodb.aliyuncs.com",
9619
+ 'cn-shanghai': "mongodb.aliyuncs.com",
9620
+ 'cn-shenzhen': "mongodb.aliyuncs.com",
9621
+ 'cn-heyuan': "mongodb.aliyuncs.com",
9622
+ 'cn-guangzhou': "mongodb.aliyuncs.com",
9623
+ 'cn-chengdu': "mongodb.cn-chengdu.aliyuncs.com",
9624
+ 'cn-hongkong': "mongodb.aliyuncs.com",
9625
+ 'ap-northeast-1': "mongodb.ap-northeast-1.aliyuncs.com",
9626
+ 'ap-southeast-1': "mongodb.aliyuncs.com",
9627
+ 'ap-southeast-2': "mongodb.ap-southeast-2.aliyuncs.com",
9628
+ 'ap-southeast-3': "mongodb.ap-southeast-3.aliyuncs.com",
9629
+ 'ap-southeast-5': "mongodb.ap-southeast-5.aliyuncs.com",
9630
+ 'us-east-1': "mongodb.us-east-1.aliyuncs.com",
9631
+ 'us-west-1': "mongodb.us-west-1.aliyuncs.com",
9632
+ 'eu-west-1': "mongodb.eu-west-1.aliyuncs.com",
9633
+ 'eu-central-1': "mongodb.eu-central-1.aliyuncs.com",
9634
+ 'ap-south-1': "mongodb.ap-south-1.aliyuncs.com",
9635
+ 'me-east-1': "mongodb.me-east-1.aliyuncs.com",
9636
+ 'cn-hangzhou-finance': "mongodb.aliyuncs.com",
9637
+ 'cn-shanghai-finance-1': "mongodb.aliyuncs.com",
9638
+ 'cn-shenzhen-finance-1': "mongodb.aliyuncs.com",
9639
+ 'cn-north-2-gov-1': "mongodb.aliyuncs.com",
9640
+ 'ap-northeast-2-pop': "mongodb.aliyuncs.com",
9641
+ 'cn-beijing-finance-1': "mongodb.aliyuncs.com",
9642
+ 'cn-beijing-finance-pop': "mongodb.aliyuncs.com",
9643
+ 'cn-beijing-gov-1': "mongodb.aliyuncs.com",
9644
+ 'cn-beijing-nu16-b01': "mongodb.aliyuncs.com",
9645
+ 'cn-edge-1': "mongodb.aliyuncs.com",
9646
+ 'cn-fujian': "mongodb.aliyuncs.com",
9647
+ 'cn-haidian-cm12-c01': "mongodb.aliyuncs.com",
9648
+ 'cn-hangzhou-bj-b01': "mongodb.aliyuncs.com",
9649
+ 'cn-hangzhou-internal-prod-1': "mongodb.aliyuncs.com",
9650
+ 'cn-hangzhou-internal-test-1': "mongodb.aliyuncs.com",
9651
+ 'cn-hangzhou-internal-test-2': "mongodb.aliyuncs.com",
9652
+ 'cn-hangzhou-internal-test-3': "mongodb.aliyuncs.com",
9653
+ 'cn-hangzhou-test-306': "mongodb.aliyuncs.com",
9654
+ 'cn-hongkong-finance-pop': "mongodb.aliyuncs.com",
9655
+ 'cn-huhehaote-nebula-1': "mongodb.aliyuncs.com",
9656
+ 'cn-qingdao-nebula': "mongodb.aliyuncs.com",
9657
+ 'cn-shanghai-et15-b01': "mongodb.aliyuncs.com",
9658
+ 'cn-shanghai-et2-b01': "mongodb.aliyuncs.com",
9659
+ 'cn-shanghai-inner': "mongodb.aliyuncs.com",
9660
+ 'cn-shanghai-internal-test-1': "mongodb.aliyuncs.com",
9661
+ 'cn-shenzhen-inner': "mongodb.aliyuncs.com",
9662
+ 'cn-shenzhen-st4-d01': "mongodb.aliyuncs.com",
9663
+ 'cn-shenzhen-su18-b01': "mongodb.aliyuncs.com",
9664
+ 'cn-wuhan': "mongodb.aliyuncs.com",
9665
+ 'cn-yushanfang': "mongodb.aliyuncs.com",
9666
+ 'cn-zhangbei': "mongodb.aliyuncs.com",
9667
+ 'cn-zhangbei-na61-b01': "mongodb.aliyuncs.com",
9668
+ 'cn-zhangjiakou-na62-a01': "mongodb.aliyuncs.com",
9669
+ 'cn-zhengzhou-nebula-1': "mongodb.aliyuncs.com",
9670
+ 'eu-west-1-oxs': "mongodb.aliyuncs.com",
9671
+ 'rus-west-1-pop': "mongodb.aliyuncs.com",
9672
+ };
9606
9673
  this.checkConfig(config);
9607
9674
  this._endpoint = this.getEndpoint("dds", this._regionId, this._endpointRule, this._network, this._suffix, this._endpointMap, this._endpoint);
9608
9675
  }
@@ -9824,6 +9891,9 @@ class Client extends openapi_client_1.default {
9824
9891
  if (!tea_util_1.default.isUnset(request.sourceDBInstance)) {
9825
9892
  query["SourceDBInstance"] = request.sourceDBInstance;
9826
9893
  }
9894
+ if (!tea_util_1.default.isUnset(request.sourceDBInstance)) {
9895
+ query["SourceDBInstance"] = request.sourceDBInstance;
9896
+ }
9827
9897
  let req = new $OpenApi.OpenApiRequest({
9828
9898
  query: openapi_util_1.default.query(query),
9829
9899
  });
@@ -11185,6 +11255,9 @@ class Client extends openapi_client_1.default {
11185
11255
  if (!tea_util_1.default.isUnset(request.sourceDBInstance)) {
11186
11256
  query["SourceDBInstance"] = request.sourceDBInstance;
11187
11257
  }
11258
+ if (!tea_util_1.default.isUnset(request.sourceDBInstance)) {
11259
+ query["SourceDBInstance"] = request.sourceDBInstance;
11260
+ }
11188
11261
  let req = new $OpenApi.OpenApiRequest({
11189
11262
  query: openapi_util_1.default.query(query),
11190
11263
  });
@@ -11642,7 +11715,7 @@ class Client extends openapi_client_1.default {
11642
11715
  return await this.describeDBInstanceTDEInfoWithOptions(request, runtime);
11643
11716
  }
11644
11717
  /**
11645
- * The list of replica set and standalone instances is displayed when the **DBInstanceType** parameter uses the default value **replicate**. To query the list of sharded cluster instances, you must set the **DBInstanceType** parameter to **sharding**.
11718
+ * The list of replica set and standalone instances is displayed when the **DBInstanceType** parameter uses the default value **replicate**. To query a list of sharded cluster instances, you must set the **DBInstanceType** parameter to **sharding**.
11646
11719
  *
11647
11720
  * @param request DescribeDBInstancesRequest
11648
11721
  * @param runtime runtime options for this request RuntimeOptions
@@ -11749,7 +11822,7 @@ class Client extends openapi_client_1.default {
11749
11822
  return $tea.cast(await this.callApi(params, req, runtime), new DescribeDBInstancesResponse({}));
11750
11823
  }
11751
11824
  /**
11752
- * The list of replica set and standalone instances is displayed when the **DBInstanceType** parameter uses the default value **replicate**. To query the list of sharded cluster instances, you must set the **DBInstanceType** parameter to **sharding**.
11825
+ * The list of replica set and standalone instances is displayed when the **DBInstanceType** parameter uses the default value **replicate**. To query a list of sharded cluster instances, you must set the **DBInstanceType** parameter to **sharding**.
11753
11826
  *
11754
11827
  * @param request DescribeDBInstancesRequest
11755
11828
  * @return DescribeDBInstancesResponse
@@ -13785,6 +13858,9 @@ class Client extends openapi_client_1.default {
13785
13858
  async modifyDBInstanceNetExpireTimeWithOptions(request, runtime) {
13786
13859
  tea_util_1.default.validateModel(request);
13787
13860
  let query = {};
13861
+ if (!tea_util_1.default.isUnset(request.category)) {
13862
+ query["Category"] = request.category;
13863
+ }
13788
13864
  if (!tea_util_1.default.isUnset(request.classicExpendExpiredDays)) {
13789
13865
  query["ClassicExpendExpiredDays"] = request.classicExpendExpiredDays;
13790
13866
  }
@@ -15063,7 +15139,7 @@ class Client extends openapi_client_1.default {
15063
15139
  return await this.resetAccountPasswordWithOptions(request, runtime);
15064
15140
  }
15065
15141
  /**
15066
- * This operation can also be used to restart a shard or mongos node in a sharded cluster instance.
15142
+ * This operation can also be used to restart an instance, or restart a shard or mongos node in a sharded cluster instance.
15067
15143
  *
15068
15144
  * @param request RestartDBInstanceRequest
15069
15145
  * @param runtime runtime options for this request RuntimeOptions
@@ -15110,7 +15186,7 @@ class Client extends openapi_client_1.default {
15110
15186
  return $tea.cast(await this.callApi(params, req, runtime), new RestartDBInstanceResponse({}));
15111
15187
  }
15112
15188
  /**
15113
- * This operation can also be used to restart a shard or mongos node in a sharded cluster instance.
15189
+ * This operation can also be used to restart an instance, or restart a shard or mongos node in a sharded cluster instance.
15114
15190
  *
15115
15191
  * @param request RestartDBInstanceRequest
15116
15192
  * @return RestartDBInstanceResponse