@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alicloud/dds20151201",
3
- "version": "3.6.14",
3
+ "version": "3.6.16",
4
4
  "description": "",
5
5
  "main": "dist/client.js",
6
6
  "scripts": {
package/src/client.ts CHANGED
@@ -6486,6 +6486,7 @@ export class ModifyDBInstanceMonitorResponse extends $tea.Model {
6486
6486
  }
6487
6487
 
6488
6488
  export class ModifyDBInstanceNetExpireTimeRequest extends $tea.Model {
6489
+ category?: string;
6489
6490
  classicExpendExpiredDays?: number;
6490
6491
  connectionString?: string;
6491
6492
  DBInstanceId?: string;
@@ -6496,6 +6497,7 @@ export class ModifyDBInstanceNetExpireTimeRequest extends $tea.Model {
6496
6497
  securityToken?: string;
6497
6498
  static names(): { [key: string]: string } {
6498
6499
  return {
6500
+ category: 'Category',
6499
6501
  classicExpendExpiredDays: 'ClassicExpendExpiredDays',
6500
6502
  connectionString: 'ConnectionString',
6501
6503
  DBInstanceId: 'DBInstanceId',
@@ -6509,6 +6511,7 @@ export class ModifyDBInstanceNetExpireTimeRequest extends $tea.Model {
6509
6511
 
6510
6512
  static types(): { [key: string]: any } {
6511
6513
  return {
6514
+ category: 'string',
6512
6515
  classicExpendExpiredDays: 'number',
6513
6516
  connectionString: 'string',
6514
6517
  DBInstanceId: 'string',
@@ -10120,6 +10123,7 @@ export class DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstance extend
10120
10123
  storageType?: string;
10121
10124
  syncPercent?: string;
10122
10125
  tags?: DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstanceTags;
10126
+ useClusterBackup?: boolean;
10123
10127
  VPCCloudInstanceIds?: string;
10124
10128
  VPCId?: string;
10125
10129
  vSwitchId?: string;
@@ -10172,6 +10176,7 @@ export class DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstance extend
10172
10176
  storageType: 'StorageType',
10173
10177
  syncPercent: 'SyncPercent',
10174
10178
  tags: 'Tags',
10179
+ useClusterBackup: 'UseClusterBackup',
10175
10180
  VPCCloudInstanceIds: 'VPCCloudInstanceIds',
10176
10181
  VPCId: 'VPCId',
10177
10182
  vSwitchId: 'VSwitchId',
@@ -10227,6 +10232,7 @@ export class DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstance extend
10227
10232
  storageType: 'string',
10228
10233
  syncPercent: 'string',
10229
10234
  tags: DescribeDBInstanceAttributeResponseBodyDBInstancesDBInstanceTags,
10235
+ useClusterBackup: 'boolean',
10230
10236
  VPCCloudInstanceIds: 'string',
10231
10237
  VPCId: 'string',
10232
10238
  vSwitchId: 'string',
@@ -11304,6 +11310,7 @@ export class DescribePriceResponseBodyOrder extends $tea.Model {
11304
11310
  discountAmount?: string;
11305
11311
  originalAmount?: string;
11306
11312
  ruleIds?: DescribePriceResponseBodyOrderRuleIds;
11313
+ showDiscountInfo?: boolean;
11307
11314
  tradeAmount?: string;
11308
11315
  static names(): { [key: string]: string } {
11309
11316
  return {
@@ -11312,6 +11319,7 @@ export class DescribePriceResponseBodyOrder extends $tea.Model {
11312
11319
  discountAmount: 'DiscountAmount',
11313
11320
  originalAmount: 'OriginalAmount',
11314
11321
  ruleIds: 'RuleIds',
11322
+ showDiscountInfo: 'ShowDiscountInfo',
11315
11323
  tradeAmount: 'TradeAmount',
11316
11324
  };
11317
11325
  }
@@ -11323,6 +11331,7 @@ export class DescribePriceResponseBodyOrder extends $tea.Model {
11323
11331
  discountAmount: 'string',
11324
11332
  originalAmount: 'string',
11325
11333
  ruleIds: DescribePriceResponseBodyOrderRuleIds,
11334
+ showDiscountInfo: 'boolean',
11326
11335
  tradeAmount: 'string',
11327
11336
  };
11328
11337
  }
@@ -12338,7 +12347,68 @@ export default class Client extends OpenApi {
12338
12347
 
12339
12348
  constructor(config: $OpenApi.Config) {
12340
12349
  super(config);
12341
- this._endpointRule = "";
12350
+ this._endpointRule = "regional";
12351
+ this._endpointMap = {
12352
+ 'cn-qingdao': "mongodb.aliyuncs.com",
12353
+ 'cn-beijing': "mongodb.aliyuncs.com",
12354
+ 'cn-zhangjiakou': "mongodb.cn-zhangjiakou.aliyuncs.com",
12355
+ 'cn-huhehaote': "mongodb.cn-huhehaote.aliyuncs.com",
12356
+ 'cn-wulanchabu': "mongodb.aliyuncs.com",
12357
+ 'cn-hangzhou': "mongodb.aliyuncs.com",
12358
+ 'cn-shanghai': "mongodb.aliyuncs.com",
12359
+ 'cn-shenzhen': "mongodb.aliyuncs.com",
12360
+ 'cn-heyuan': "mongodb.aliyuncs.com",
12361
+ 'cn-guangzhou': "mongodb.aliyuncs.com",
12362
+ 'cn-chengdu': "mongodb.cn-chengdu.aliyuncs.com",
12363
+ 'cn-hongkong': "mongodb.aliyuncs.com",
12364
+ 'ap-northeast-1': "mongodb.ap-northeast-1.aliyuncs.com",
12365
+ 'ap-southeast-1': "mongodb.aliyuncs.com",
12366
+ 'ap-southeast-2': "mongodb.ap-southeast-2.aliyuncs.com",
12367
+ 'ap-southeast-3': "mongodb.ap-southeast-3.aliyuncs.com",
12368
+ 'ap-southeast-5': "mongodb.ap-southeast-5.aliyuncs.com",
12369
+ 'us-east-1': "mongodb.us-east-1.aliyuncs.com",
12370
+ 'us-west-1': "mongodb.us-west-1.aliyuncs.com",
12371
+ 'eu-west-1': "mongodb.eu-west-1.aliyuncs.com",
12372
+ 'eu-central-1': "mongodb.eu-central-1.aliyuncs.com",
12373
+ 'ap-south-1': "mongodb.ap-south-1.aliyuncs.com",
12374
+ 'me-east-1': "mongodb.me-east-1.aliyuncs.com",
12375
+ 'cn-hangzhou-finance': "mongodb.aliyuncs.com",
12376
+ 'cn-shanghai-finance-1': "mongodb.aliyuncs.com",
12377
+ 'cn-shenzhen-finance-1': "mongodb.aliyuncs.com",
12378
+ 'cn-north-2-gov-1': "mongodb.aliyuncs.com",
12379
+ 'ap-northeast-2-pop': "mongodb.aliyuncs.com",
12380
+ 'cn-beijing-finance-1': "mongodb.aliyuncs.com",
12381
+ 'cn-beijing-finance-pop': "mongodb.aliyuncs.com",
12382
+ 'cn-beijing-gov-1': "mongodb.aliyuncs.com",
12383
+ 'cn-beijing-nu16-b01': "mongodb.aliyuncs.com",
12384
+ 'cn-edge-1': "mongodb.aliyuncs.com",
12385
+ 'cn-fujian': "mongodb.aliyuncs.com",
12386
+ 'cn-haidian-cm12-c01': "mongodb.aliyuncs.com",
12387
+ 'cn-hangzhou-bj-b01': "mongodb.aliyuncs.com",
12388
+ 'cn-hangzhou-internal-prod-1': "mongodb.aliyuncs.com",
12389
+ 'cn-hangzhou-internal-test-1': "mongodb.aliyuncs.com",
12390
+ 'cn-hangzhou-internal-test-2': "mongodb.aliyuncs.com",
12391
+ 'cn-hangzhou-internal-test-3': "mongodb.aliyuncs.com",
12392
+ 'cn-hangzhou-test-306': "mongodb.aliyuncs.com",
12393
+ 'cn-hongkong-finance-pop': "mongodb.aliyuncs.com",
12394
+ 'cn-huhehaote-nebula-1': "mongodb.aliyuncs.com",
12395
+ 'cn-qingdao-nebula': "mongodb.aliyuncs.com",
12396
+ 'cn-shanghai-et15-b01': "mongodb.aliyuncs.com",
12397
+ 'cn-shanghai-et2-b01': "mongodb.aliyuncs.com",
12398
+ 'cn-shanghai-inner': "mongodb.aliyuncs.com",
12399
+ 'cn-shanghai-internal-test-1': "mongodb.aliyuncs.com",
12400
+ 'cn-shenzhen-inner': "mongodb.aliyuncs.com",
12401
+ 'cn-shenzhen-st4-d01': "mongodb.aliyuncs.com",
12402
+ 'cn-shenzhen-su18-b01': "mongodb.aliyuncs.com",
12403
+ 'cn-wuhan': "mongodb.aliyuncs.com",
12404
+ 'cn-yushanfang': "mongodb.aliyuncs.com",
12405
+ 'cn-zhangbei': "mongodb.aliyuncs.com",
12406
+ 'cn-zhangbei-na61-b01': "mongodb.aliyuncs.com",
12407
+ 'cn-zhangjiakou-na62-a01': "mongodb.aliyuncs.com",
12408
+ 'cn-zhengzhou-nebula-1': "mongodb.aliyuncs.com",
12409
+ 'eu-west-1-oxs': "mongodb.aliyuncs.com",
12410
+ 'rus-west-1-pop': "mongodb.aliyuncs.com",
12411
+ };
12342
12412
  this.checkConfig(config);
12343
12413
  this._endpoint = this.getEndpoint("dds", this._regionId, this._endpointRule, this._network, this._suffix, this._endpointMap, this._endpoint);
12344
12414
  }
@@ -12605,6 +12675,10 @@ export default class Client extends OpenApi {
12605
12675
  query["SourceDBInstance"] = request.sourceDBInstance;
12606
12676
  }
12607
12677
 
12678
+ if (!Util.isUnset(request.sourceDBInstance)) {
12679
+ query["SourceDBInstance"] = request.sourceDBInstance;
12680
+ }
12681
+
12608
12682
  let req = new $OpenApi.OpenApiRequest({
12609
12683
  query: OpenApiUtil.query(query),
12610
12684
  });
@@ -14242,6 +14316,10 @@ export default class Client extends OpenApi {
14242
14316
  query["SourceDBInstance"] = request.sourceDBInstance;
14243
14317
  }
14244
14318
 
14319
+ if (!Util.isUnset(request.sourceDBInstance)) {
14320
+ query["SourceDBInstance"] = request.sourceDBInstance;
14321
+ }
14322
+
14245
14323
  let req = new $OpenApi.OpenApiRequest({
14246
14324
  query: OpenApiUtil.query(query),
14247
14325
  });
@@ -14781,7 +14859,7 @@ export default class Client extends OpenApi {
14781
14859
  }
14782
14860
 
14783
14861
  /**
14784
- * 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**.
14862
+ * 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**.
14785
14863
  *
14786
14864
  * @param request DescribeDBInstancesRequest
14787
14865
  * @param runtime runtime options for this request RuntimeOptions
@@ -14916,7 +14994,7 @@ export default class Client extends OpenApi {
14916
14994
  }
14917
14995
 
14918
14996
  /**
14919
- * 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**.
14997
+ * 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**.
14920
14998
  *
14921
14999
  * @param request DescribeDBInstancesRequest
14922
15000
  * @return DescribeDBInstancesResponse
@@ -17329,6 +17407,10 @@ export default class Client extends OpenApi {
17329
17407
  async modifyDBInstanceNetExpireTimeWithOptions(request: ModifyDBInstanceNetExpireTimeRequest, runtime: $Util.RuntimeOptions): Promise<ModifyDBInstanceNetExpireTimeResponse> {
17330
17408
  Util.validateModel(request);
17331
17409
  let query = { };
17410
+ if (!Util.isUnset(request.category)) {
17411
+ query["Category"] = request.category;
17412
+ }
17413
+
17332
17414
  if (!Util.isUnset(request.classicExpendExpiredDays)) {
17333
17415
  query["ClassicExpendExpiredDays"] = request.classicExpendExpiredDays;
17334
17416
  }
@@ -18844,7 +18926,7 @@ export default class Client extends OpenApi {
18844
18926
  }
18845
18927
 
18846
18928
  /**
18847
- * This operation can also be used to restart a shard or mongos node in a sharded cluster instance.
18929
+ * This operation can also be used to restart an instance, or restart a shard or mongos node in a sharded cluster instance.
18848
18930
  *
18849
18931
  * @param request RestartDBInstanceRequest
18850
18932
  * @param runtime runtime options for this request RuntimeOptions
@@ -18899,7 +18981,7 @@ export default class Client extends OpenApi {
18899
18981
  }
18900
18982
 
18901
18983
  /**
18902
- * This operation can also be used to restart a shard or mongos node in a sharded cluster instance.
18984
+ * This operation can also be used to restart an instance, or restart a shard or mongos node in a sharded cluster instance.
18903
18985
  *
18904
18986
  * @param request RestartDBInstanceRequest
18905
18987
  * @return RestartDBInstanceResponse