@alicloud/dds20151201 3.6.13 → 3.6.15
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 +5 -4
- package/dist/client.js +68 -5
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +69 -5
package/dist/client.d.ts
CHANGED
|
@@ -6045,6 +6045,7 @@ export declare class DescribePriceResponseBodyOrder extends $tea.Model {
|
|
|
6045
6045
|
discountAmount?: string;
|
|
6046
6046
|
originalAmount?: string;
|
|
6047
6047
|
ruleIds?: DescribePriceResponseBodyOrderRuleIds;
|
|
6048
|
+
showDiscountInfo?: boolean;
|
|
6048
6049
|
tradeAmount?: string;
|
|
6049
6050
|
static names(): {
|
|
6050
6051
|
[key: string]: string;
|
|
@@ -6995,7 +6996,7 @@ export default class Client extends OpenApi {
|
|
|
6995
6996
|
*/
|
|
6996
6997
|
describeDBInstanceTDEInfo(request: DescribeDBInstanceTDEInfoRequest): Promise<DescribeDBInstanceTDEInfoResponse>;
|
|
6997
6998
|
/**
|
|
6998
|
-
* The list of replica set and standalone instances is displayed when the **DBInstanceType** parameter uses the default value **replicate**. To query
|
|
6999
|
+
* 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
7000
|
*
|
|
7000
7001
|
* @param request DescribeDBInstancesRequest
|
|
7001
7002
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -7003,7 +7004,7 @@ export default class Client extends OpenApi {
|
|
|
7003
7004
|
*/
|
|
7004
7005
|
describeDBInstancesWithOptions(request: DescribeDBInstancesRequest, runtime: $Util.RuntimeOptions): Promise<DescribeDBInstancesResponse>;
|
|
7005
7006
|
/**
|
|
7006
|
-
* The list of replica set and standalone instances is displayed when the **DBInstanceType** parameter uses the default value **replicate**. To query
|
|
7007
|
+
* 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
7008
|
*
|
|
7008
7009
|
* @param request DescribeDBInstancesRequest
|
|
7009
7010
|
* @return DescribeDBInstancesResponse
|
|
@@ -7650,7 +7651,7 @@ export default class Client extends OpenApi {
|
|
|
7650
7651
|
*/
|
|
7651
7652
|
resetAccountPassword(request: ResetAccountPasswordRequest): Promise<ResetAccountPasswordResponse>;
|
|
7652
7653
|
/**
|
|
7653
|
-
* This operation can also be used to restart a shard or mongos node in a sharded cluster instance.
|
|
7654
|
+
* This operation can also be used to restart an instance, or restart a shard or mongos node in a sharded cluster instance.
|
|
7654
7655
|
*
|
|
7655
7656
|
* @param request RestartDBInstanceRequest
|
|
7656
7657
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -7658,7 +7659,7 @@ export default class Client extends OpenApi {
|
|
|
7658
7659
|
*/
|
|
7659
7660
|
restartDBInstanceWithOptions(request: RestartDBInstanceRequest, runtime: $Util.RuntimeOptions): Promise<RestartDBInstanceResponse>;
|
|
7660
7661
|
/**
|
|
7661
|
-
* This operation can also be used to restart a shard or mongos node in a sharded cluster instance.
|
|
7662
|
+
* This operation can also be used to restart an instance, or restart a shard or mongos node in a sharded cluster instance.
|
|
7662
7663
|
*
|
|
7663
7664
|
* @param request RestartDBInstanceRequest
|
|
7664
7665
|
* @return RestartDBInstanceResponse
|
package/dist/client.js
CHANGED
|
@@ -8780,6 +8780,7 @@ class DescribePriceResponseBodyOrder extends $tea.Model {
|
|
|
8780
8780
|
discountAmount: 'DiscountAmount',
|
|
8781
8781
|
originalAmount: 'OriginalAmount',
|
|
8782
8782
|
ruleIds: 'RuleIds',
|
|
8783
|
+
showDiscountInfo: 'ShowDiscountInfo',
|
|
8783
8784
|
tradeAmount: 'TradeAmount',
|
|
8784
8785
|
};
|
|
8785
8786
|
}
|
|
@@ -8790,6 +8791,7 @@ class DescribePriceResponseBodyOrder extends $tea.Model {
|
|
|
8790
8791
|
discountAmount: 'string',
|
|
8791
8792
|
originalAmount: 'string',
|
|
8792
8793
|
ruleIds: DescribePriceResponseBodyOrderRuleIds,
|
|
8794
|
+
showDiscountInfo: 'boolean',
|
|
8793
8795
|
tradeAmount: 'string',
|
|
8794
8796
|
};
|
|
8795
8797
|
}
|
|
@@ -9602,7 +9604,68 @@ exports.TagResourcesRequestTag = TagResourcesRequestTag;
|
|
|
9602
9604
|
class Client extends openapi_client_1.default {
|
|
9603
9605
|
constructor(config) {
|
|
9604
9606
|
super(config);
|
|
9605
|
-
this._endpointRule = "";
|
|
9607
|
+
this._endpointRule = "regional";
|
|
9608
|
+
this._endpointMap = {
|
|
9609
|
+
'cn-qingdao': "mongodb.aliyuncs.com",
|
|
9610
|
+
'cn-beijing': "mongodb.aliyuncs.com",
|
|
9611
|
+
'cn-zhangjiakou': "mongodb.cn-zhangjiakou.aliyuncs.com",
|
|
9612
|
+
'cn-huhehaote': "mongodb.cn-huhehaote.aliyuncs.com",
|
|
9613
|
+
'cn-wulanchabu': "mongodb.aliyuncs.com",
|
|
9614
|
+
'cn-hangzhou': "mongodb.aliyuncs.com",
|
|
9615
|
+
'cn-shanghai': "mongodb.aliyuncs.com",
|
|
9616
|
+
'cn-shenzhen': "mongodb.aliyuncs.com",
|
|
9617
|
+
'cn-heyuan': "mongodb.aliyuncs.com",
|
|
9618
|
+
'cn-guangzhou': "mongodb.aliyuncs.com",
|
|
9619
|
+
'cn-chengdu': "mongodb.cn-chengdu.aliyuncs.com",
|
|
9620
|
+
'cn-hongkong': "mongodb.aliyuncs.com",
|
|
9621
|
+
'ap-northeast-1': "mongodb.ap-northeast-1.aliyuncs.com",
|
|
9622
|
+
'ap-southeast-1': "mongodb.aliyuncs.com",
|
|
9623
|
+
'ap-southeast-2': "mongodb.ap-southeast-2.aliyuncs.com",
|
|
9624
|
+
'ap-southeast-3': "mongodb.ap-southeast-3.aliyuncs.com",
|
|
9625
|
+
'ap-southeast-5': "mongodb.ap-southeast-5.aliyuncs.com",
|
|
9626
|
+
'us-east-1': "mongodb.us-east-1.aliyuncs.com",
|
|
9627
|
+
'us-west-1': "mongodb.us-west-1.aliyuncs.com",
|
|
9628
|
+
'eu-west-1': "mongodb.eu-west-1.aliyuncs.com",
|
|
9629
|
+
'eu-central-1': "mongodb.eu-central-1.aliyuncs.com",
|
|
9630
|
+
'ap-south-1': "mongodb.ap-south-1.aliyuncs.com",
|
|
9631
|
+
'me-east-1': "mongodb.me-east-1.aliyuncs.com",
|
|
9632
|
+
'cn-hangzhou-finance': "mongodb.aliyuncs.com",
|
|
9633
|
+
'cn-shanghai-finance-1': "mongodb.aliyuncs.com",
|
|
9634
|
+
'cn-shenzhen-finance-1': "mongodb.aliyuncs.com",
|
|
9635
|
+
'cn-north-2-gov-1': "mongodb.aliyuncs.com",
|
|
9636
|
+
'ap-northeast-2-pop': "mongodb.aliyuncs.com",
|
|
9637
|
+
'cn-beijing-finance-1': "mongodb.aliyuncs.com",
|
|
9638
|
+
'cn-beijing-finance-pop': "mongodb.aliyuncs.com",
|
|
9639
|
+
'cn-beijing-gov-1': "mongodb.aliyuncs.com",
|
|
9640
|
+
'cn-beijing-nu16-b01': "mongodb.aliyuncs.com",
|
|
9641
|
+
'cn-edge-1': "mongodb.aliyuncs.com",
|
|
9642
|
+
'cn-fujian': "mongodb.aliyuncs.com",
|
|
9643
|
+
'cn-haidian-cm12-c01': "mongodb.aliyuncs.com",
|
|
9644
|
+
'cn-hangzhou-bj-b01': "mongodb.aliyuncs.com",
|
|
9645
|
+
'cn-hangzhou-internal-prod-1': "mongodb.aliyuncs.com",
|
|
9646
|
+
'cn-hangzhou-internal-test-1': "mongodb.aliyuncs.com",
|
|
9647
|
+
'cn-hangzhou-internal-test-2': "mongodb.aliyuncs.com",
|
|
9648
|
+
'cn-hangzhou-internal-test-3': "mongodb.aliyuncs.com",
|
|
9649
|
+
'cn-hangzhou-test-306': "mongodb.aliyuncs.com",
|
|
9650
|
+
'cn-hongkong-finance-pop': "mongodb.aliyuncs.com",
|
|
9651
|
+
'cn-huhehaote-nebula-1': "mongodb.aliyuncs.com",
|
|
9652
|
+
'cn-qingdao-nebula': "mongodb.aliyuncs.com",
|
|
9653
|
+
'cn-shanghai-et15-b01': "mongodb.aliyuncs.com",
|
|
9654
|
+
'cn-shanghai-et2-b01': "mongodb.aliyuncs.com",
|
|
9655
|
+
'cn-shanghai-inner': "mongodb.aliyuncs.com",
|
|
9656
|
+
'cn-shanghai-internal-test-1': "mongodb.aliyuncs.com",
|
|
9657
|
+
'cn-shenzhen-inner': "mongodb.aliyuncs.com",
|
|
9658
|
+
'cn-shenzhen-st4-d01': "mongodb.aliyuncs.com",
|
|
9659
|
+
'cn-shenzhen-su18-b01': "mongodb.aliyuncs.com",
|
|
9660
|
+
'cn-wuhan': "mongodb.aliyuncs.com",
|
|
9661
|
+
'cn-yushanfang': "mongodb.aliyuncs.com",
|
|
9662
|
+
'cn-zhangbei': "mongodb.aliyuncs.com",
|
|
9663
|
+
'cn-zhangbei-na61-b01': "mongodb.aliyuncs.com",
|
|
9664
|
+
'cn-zhangjiakou-na62-a01': "mongodb.aliyuncs.com",
|
|
9665
|
+
'cn-zhengzhou-nebula-1': "mongodb.aliyuncs.com",
|
|
9666
|
+
'eu-west-1-oxs': "mongodb.aliyuncs.com",
|
|
9667
|
+
'rus-west-1-pop': "mongodb.aliyuncs.com",
|
|
9668
|
+
};
|
|
9606
9669
|
this.checkConfig(config);
|
|
9607
9670
|
this._endpoint = this.getEndpoint("dds", this._regionId, this._endpointRule, this._network, this._suffix, this._endpointMap, this._endpoint);
|
|
9608
9671
|
}
|
|
@@ -11642,7 +11705,7 @@ class Client extends openapi_client_1.default {
|
|
|
11642
11705
|
return await this.describeDBInstanceTDEInfoWithOptions(request, runtime);
|
|
11643
11706
|
}
|
|
11644
11707
|
/**
|
|
11645
|
-
* The list of replica set and standalone instances is displayed when the **DBInstanceType** parameter uses the default value **replicate**. To query
|
|
11708
|
+
* 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
11709
|
*
|
|
11647
11710
|
* @param request DescribeDBInstancesRequest
|
|
11648
11711
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -11749,7 +11812,7 @@ class Client extends openapi_client_1.default {
|
|
|
11749
11812
|
return $tea.cast(await this.callApi(params, req, runtime), new DescribeDBInstancesResponse({}));
|
|
11750
11813
|
}
|
|
11751
11814
|
/**
|
|
11752
|
-
* The list of replica set and standalone instances is displayed when the **DBInstanceType** parameter uses the default value **replicate**. To query
|
|
11815
|
+
* 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
11816
|
*
|
|
11754
11817
|
* @param request DescribeDBInstancesRequest
|
|
11755
11818
|
* @return DescribeDBInstancesResponse
|
|
@@ -15063,7 +15126,7 @@ class Client extends openapi_client_1.default {
|
|
|
15063
15126
|
return await this.resetAccountPasswordWithOptions(request, runtime);
|
|
15064
15127
|
}
|
|
15065
15128
|
/**
|
|
15066
|
-
* This operation can also be used to restart a shard or mongos node in a sharded cluster instance.
|
|
15129
|
+
* This operation can also be used to restart an instance, or restart a shard or mongos node in a sharded cluster instance.
|
|
15067
15130
|
*
|
|
15068
15131
|
* @param request RestartDBInstanceRequest
|
|
15069
15132
|
* @param runtime runtime options for this request RuntimeOptions
|
|
@@ -15110,7 +15173,7 @@ class Client extends openapi_client_1.default {
|
|
|
15110
15173
|
return $tea.cast(await this.callApi(params, req, runtime), new RestartDBInstanceResponse({}));
|
|
15111
15174
|
}
|
|
15112
15175
|
/**
|
|
15113
|
-
* This operation can also be used to restart a shard or mongos node in a sharded cluster instance.
|
|
15176
|
+
* This operation can also be used to restart an instance, or restart a shard or mongos node in a sharded cluster instance.
|
|
15114
15177
|
*
|
|
15115
15178
|
* @param request RestartDBInstanceRequest
|
|
15116
15179
|
* @return RestartDBInstanceResponse
|