@alicloud/polardb20170801 5.1.10 → 5.1.12
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 +8 -2
- package/dist/client.js +31 -0
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +44 -2
package/dist/client.d.ts
CHANGED
|
@@ -2296,6 +2296,7 @@ export declare class CreateGlobalDatabaseNetworkRequest extends $tea.Model {
|
|
|
2296
2296
|
* pc-bp1q76364ird*****
|
|
2297
2297
|
*/
|
|
2298
2298
|
DBClusterId?: string;
|
|
2299
|
+
enableGlobalDomainName?: boolean;
|
|
2299
2300
|
/**
|
|
2300
2301
|
* @remarks
|
|
2301
2302
|
* The description of the GDN. The description must meet the following requirements:
|
|
@@ -7842,6 +7843,7 @@ export declare class DescribeDBProxyPerformanceRequest extends $tea.Model {
|
|
|
7842
7843
|
* pe-****************
|
|
7843
7844
|
*/
|
|
7844
7845
|
DBEndpointId?: string;
|
|
7846
|
+
DBNodeId?: string;
|
|
7845
7847
|
/**
|
|
7846
7848
|
* @remarks
|
|
7847
7849
|
* The end of the time range to query. Specify the time in the `yyyy-MM-ddTHH:mmZ` format. The time must be in UTC.
|
|
@@ -8454,6 +8456,7 @@ export declare class DescribeGlobalDatabaseNetworkResponseBody extends $tea.Mode
|
|
|
8454
8456
|
* active
|
|
8455
8457
|
*/
|
|
8456
8458
|
GDNStatus?: string;
|
|
8459
|
+
globalDomainName?: string;
|
|
8457
8460
|
/**
|
|
8458
8461
|
* @remarks
|
|
8459
8462
|
* The ID of the request.
|
|
@@ -14445,6 +14448,7 @@ export declare class ModifyDBNodeClassRequest extends $tea.Model {
|
|
|
14445
14448
|
* 2021-01-14T09:30:00Z
|
|
14446
14449
|
*/
|
|
14447
14450
|
plannedEndTime?: string;
|
|
14451
|
+
plannedFlashingOffTime?: string;
|
|
14448
14452
|
/**
|
|
14449
14453
|
* @remarks
|
|
14450
14454
|
* The earliest start time to upgrade the specifications within the scheduled time period. Specify the time in the ISO 8601 standard in the `YYYY-MM-DDThh:mm:ssZ` format. The time must be in UTC.
|
|
@@ -14686,6 +14690,7 @@ export declare class ModifyDBNodesClassRequest extends $tea.Model {
|
|
|
14686
14690
|
* 2021-01-14T09:30:00Z
|
|
14687
14691
|
*/
|
|
14688
14692
|
plannedEndTime?: string;
|
|
14693
|
+
plannedFlashingOffTime?: string;
|
|
14689
14694
|
/**
|
|
14690
14695
|
* @remarks
|
|
14691
14696
|
* The earliest start time to upgrade the specifications within the scheduled time period. Specify the time in the ISO 8601 standard in the `YYYY-MM-DDThh:mm:ssZ` format. The time must be in UTC.
|
|
@@ -14883,6 +14888,7 @@ export declare class ModifyDBNodesParametersResponse extends $tea.Model {
|
|
|
14883
14888
|
});
|
|
14884
14889
|
}
|
|
14885
14890
|
export declare class ModifyGlobalDatabaseNetworkRequest extends $tea.Model {
|
|
14891
|
+
enableGlobalDomainName?: boolean;
|
|
14886
14892
|
/**
|
|
14887
14893
|
* @remarks
|
|
14888
14894
|
* The description of the GDN. The description must meet the following requirements:
|
|
@@ -14892,8 +14898,6 @@ export declare class ModifyGlobalDatabaseNetworkRequest extends $tea.Model {
|
|
|
14892
14898
|
* * It can contain letters, digits, underscores (_), and hyphens (-).
|
|
14893
14899
|
* * It must be 2 to 126 characters in length.
|
|
14894
14900
|
*
|
|
14895
|
-
* This parameter is required.
|
|
14896
|
-
*
|
|
14897
14901
|
* @example
|
|
14898
14902
|
* GDN-fortest
|
|
14899
14903
|
*/
|
|
@@ -20896,6 +20900,7 @@ export declare class DescribeGlobalDatabaseNetworkResponseBodyDBClustersDBNodes
|
|
|
20896
20900
|
});
|
|
20897
20901
|
}
|
|
20898
20902
|
export declare class DescribeGlobalDatabaseNetworkResponseBodyDBClusters extends $tea.Model {
|
|
20903
|
+
category?: string;
|
|
20899
20904
|
/**
|
|
20900
20905
|
* @remarks
|
|
20901
20906
|
* The description of the cluster.
|
|
@@ -21929,6 +21934,7 @@ export declare class DescribeScheduleTasksResponseBodyDataTimerInfos extends $te
|
|
|
21929
21934
|
* 2021-01-28T12:30Z
|
|
21930
21935
|
*/
|
|
21931
21936
|
plannedEndTime?: string;
|
|
21937
|
+
plannedFlashingOffTime?: string;
|
|
21932
21938
|
/**
|
|
21933
21939
|
* @remarks
|
|
21934
21940
|
* The earliest start time of the task that you specified when you created the scheduled task. The time is displayed in UTC.
|
package/dist/client.js
CHANGED
|
@@ -1261,6 +1261,7 @@ class CreateGlobalDatabaseNetworkRequest extends $tea.Model {
|
|
|
1261
1261
|
static names() {
|
|
1262
1262
|
return {
|
|
1263
1263
|
DBClusterId: 'DBClusterId',
|
|
1264
|
+
enableGlobalDomainName: 'EnableGlobalDomainName',
|
|
1264
1265
|
GDNDescription: 'GDNDescription',
|
|
1265
1266
|
ownerAccount: 'OwnerAccount',
|
|
1266
1267
|
ownerId: 'OwnerId',
|
|
@@ -1273,6 +1274,7 @@ class CreateGlobalDatabaseNetworkRequest extends $tea.Model {
|
|
|
1273
1274
|
static types() {
|
|
1274
1275
|
return {
|
|
1275
1276
|
DBClusterId: 'string',
|
|
1277
|
+
enableGlobalDomainName: 'boolean',
|
|
1276
1278
|
GDNDescription: 'string',
|
|
1277
1279
|
ownerAccount: 'string',
|
|
1278
1280
|
ownerId: 'number',
|
|
@@ -4626,6 +4628,7 @@ class DescribeDBProxyPerformanceRequest extends $tea.Model {
|
|
|
4626
4628
|
return {
|
|
4627
4629
|
DBClusterId: 'DBClusterId',
|
|
4628
4630
|
DBEndpointId: 'DBEndpointId',
|
|
4631
|
+
DBNodeId: 'DBNodeId',
|
|
4629
4632
|
endTime: 'EndTime',
|
|
4630
4633
|
interval: 'Interval',
|
|
4631
4634
|
key: 'Key',
|
|
@@ -4637,6 +4640,7 @@ class DescribeDBProxyPerformanceRequest extends $tea.Model {
|
|
|
4637
4640
|
return {
|
|
4638
4641
|
DBClusterId: 'string',
|
|
4639
4642
|
DBEndpointId: 'string',
|
|
4643
|
+
DBNodeId: 'string',
|
|
4640
4644
|
endTime: 'string',
|
|
4641
4645
|
interval: 'string',
|
|
4642
4646
|
key: 'string',
|
|
@@ -4957,6 +4961,7 @@ class DescribeGlobalDatabaseNetworkResponseBody extends $tea.Model {
|
|
|
4957
4961
|
GDNDescription: 'GDNDescription',
|
|
4958
4962
|
GDNId: 'GDNId',
|
|
4959
4963
|
GDNStatus: 'GDNStatus',
|
|
4964
|
+
globalDomainName: 'GlobalDomainName',
|
|
4960
4965
|
requestId: 'RequestId',
|
|
4961
4966
|
resourceGroupId: 'ResourceGroupId',
|
|
4962
4967
|
};
|
|
@@ -4972,6 +4977,7 @@ class DescribeGlobalDatabaseNetworkResponseBody extends $tea.Model {
|
|
|
4972
4977
|
GDNDescription: 'string',
|
|
4973
4978
|
GDNId: 'string',
|
|
4974
4979
|
GDNStatus: 'string',
|
|
4980
|
+
globalDomainName: 'string',
|
|
4975
4981
|
requestId: 'string',
|
|
4976
4982
|
resourceGroupId: 'string',
|
|
4977
4983
|
};
|
|
@@ -8596,6 +8602,7 @@ class ModifyDBNodeClassRequest extends $tea.Model {
|
|
|
8596
8602
|
ownerAccount: 'OwnerAccount',
|
|
8597
8603
|
ownerId: 'OwnerId',
|
|
8598
8604
|
plannedEndTime: 'PlannedEndTime',
|
|
8605
|
+
plannedFlashingOffTime: 'PlannedFlashingOffTime',
|
|
8599
8606
|
plannedStartTime: 'PlannedStartTime',
|
|
8600
8607
|
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
8601
8608
|
resourceOwnerId: 'ResourceOwnerId',
|
|
@@ -8612,6 +8619,7 @@ class ModifyDBNodeClassRequest extends $tea.Model {
|
|
|
8612
8619
|
ownerAccount: 'string',
|
|
8613
8620
|
ownerId: 'number',
|
|
8614
8621
|
plannedEndTime: 'string',
|
|
8622
|
+
plannedFlashingOffTime: 'string',
|
|
8615
8623
|
plannedStartTime: 'string',
|
|
8616
8624
|
resourceOwnerAccount: 'string',
|
|
8617
8625
|
resourceOwnerId: 'number',
|
|
@@ -8741,6 +8749,7 @@ class ModifyDBNodesClassRequest extends $tea.Model {
|
|
|
8741
8749
|
ownerAccount: 'OwnerAccount',
|
|
8742
8750
|
ownerId: 'OwnerId',
|
|
8743
8751
|
plannedEndTime: 'PlannedEndTime',
|
|
8752
|
+
plannedFlashingOffTime: 'PlannedFlashingOffTime',
|
|
8744
8753
|
plannedStartTime: 'PlannedStartTime',
|
|
8745
8754
|
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
8746
8755
|
resourceOwnerId: 'ResourceOwnerId',
|
|
@@ -8756,6 +8765,7 @@ class ModifyDBNodesClassRequest extends $tea.Model {
|
|
|
8756
8765
|
ownerAccount: 'string',
|
|
8757
8766
|
ownerId: 'number',
|
|
8758
8767
|
plannedEndTime: 'string',
|
|
8768
|
+
plannedFlashingOffTime: 'string',
|
|
8759
8769
|
plannedStartTime: 'string',
|
|
8760
8770
|
resourceOwnerAccount: 'string',
|
|
8761
8771
|
resourceOwnerId: 'number',
|
|
@@ -8882,6 +8892,7 @@ exports.ModifyDBNodesParametersResponse = ModifyDBNodesParametersResponse;
|
|
|
8882
8892
|
class ModifyGlobalDatabaseNetworkRequest extends $tea.Model {
|
|
8883
8893
|
static names() {
|
|
8884
8894
|
return {
|
|
8895
|
+
enableGlobalDomainName: 'EnableGlobalDomainName',
|
|
8885
8896
|
GDNDescription: 'GDNDescription',
|
|
8886
8897
|
GDNId: 'GDNId',
|
|
8887
8898
|
ownerAccount: 'OwnerAccount',
|
|
@@ -8894,6 +8905,7 @@ class ModifyGlobalDatabaseNetworkRequest extends $tea.Model {
|
|
|
8894
8905
|
}
|
|
8895
8906
|
static types() {
|
|
8896
8907
|
return {
|
|
8908
|
+
enableGlobalDomainName: 'boolean',
|
|
8897
8909
|
GDNDescription: 'string',
|
|
8898
8910
|
GDNId: 'string',
|
|
8899
8911
|
ownerAccount: 'string',
|
|
@@ -12130,6 +12142,7 @@ exports.DescribeGlobalDatabaseNetworkResponseBodyDBClustersDBNodes = DescribeGlo
|
|
|
12130
12142
|
class DescribeGlobalDatabaseNetworkResponseBodyDBClusters extends $tea.Model {
|
|
12131
12143
|
static names() {
|
|
12132
12144
|
return {
|
|
12145
|
+
category: 'Category',
|
|
12133
12146
|
DBClusterDescription: 'DBClusterDescription',
|
|
12134
12147
|
DBClusterId: 'DBClusterId',
|
|
12135
12148
|
DBClusterStatus: 'DBClusterStatus',
|
|
@@ -12149,6 +12162,7 @@ class DescribeGlobalDatabaseNetworkResponseBodyDBClusters extends $tea.Model {
|
|
|
12149
12162
|
}
|
|
12150
12163
|
static types() {
|
|
12151
12164
|
return {
|
|
12165
|
+
category: 'string',
|
|
12152
12166
|
DBClusterDescription: 'string',
|
|
12153
12167
|
DBClusterId: 'string',
|
|
12154
12168
|
DBClusterStatus: 'string',
|
|
@@ -12568,6 +12582,7 @@ class DescribeScheduleTasksResponseBodyDataTimerInfos extends $tea.Model {
|
|
|
12568
12582
|
dbClusterStatus: 'DbClusterStatus',
|
|
12569
12583
|
orderId: 'OrderId',
|
|
12570
12584
|
plannedEndTime: 'PlannedEndTime',
|
|
12585
|
+
plannedFlashingOffTime: 'PlannedFlashingOffTime',
|
|
12571
12586
|
plannedStartTime: 'PlannedStartTime',
|
|
12572
12587
|
plannedTime: 'PlannedTime',
|
|
12573
12588
|
region: 'Region',
|
|
@@ -12584,6 +12599,7 @@ class DescribeScheduleTasksResponseBodyDataTimerInfos extends $tea.Model {
|
|
|
12584
12599
|
dbClusterStatus: 'string',
|
|
12585
12600
|
orderId: 'string',
|
|
12586
12601
|
plannedEndTime: 'string',
|
|
12602
|
+
plannedFlashingOffTime: 'string',
|
|
12587
12603
|
plannedStartTime: 'string',
|
|
12588
12604
|
plannedTime: 'string',
|
|
12589
12605
|
region: 'string',
|
|
@@ -14270,6 +14286,9 @@ class Client extends openapi_client_1.default {
|
|
|
14270
14286
|
if (!tea_util_1.default.isUnset(request.DBClusterId)) {
|
|
14271
14287
|
query["DBClusterId"] = request.DBClusterId;
|
|
14272
14288
|
}
|
|
14289
|
+
if (!tea_util_1.default.isUnset(request.enableGlobalDomainName)) {
|
|
14290
|
+
query["EnableGlobalDomainName"] = request.enableGlobalDomainName;
|
|
14291
|
+
}
|
|
14273
14292
|
if (!tea_util_1.default.isUnset(request.GDNDescription)) {
|
|
14274
14293
|
query["GDNDescription"] = request.GDNDescription;
|
|
14275
14294
|
}
|
|
@@ -17041,6 +17060,9 @@ class Client extends openapi_client_1.default {
|
|
|
17041
17060
|
if (!tea_util_1.default.isUnset(request.DBEndpointId)) {
|
|
17042
17061
|
query["DBEndpointId"] = request.DBEndpointId;
|
|
17043
17062
|
}
|
|
17063
|
+
if (!tea_util_1.default.isUnset(request.DBNodeId)) {
|
|
17064
|
+
query["DBNodeId"] = request.DBNodeId;
|
|
17065
|
+
}
|
|
17044
17066
|
if (!tea_util_1.default.isUnset(request.endTime)) {
|
|
17045
17067
|
query["EndTime"] = request.endTime;
|
|
17046
17068
|
}
|
|
@@ -20653,6 +20675,9 @@ class Client extends openapi_client_1.default {
|
|
|
20653
20675
|
if (!tea_util_1.default.isUnset(request.plannedEndTime)) {
|
|
20654
20676
|
query["PlannedEndTime"] = request.plannedEndTime;
|
|
20655
20677
|
}
|
|
20678
|
+
if (!tea_util_1.default.isUnset(request.plannedFlashingOffTime)) {
|
|
20679
|
+
query["PlannedFlashingOffTime"] = request.plannedFlashingOffTime;
|
|
20680
|
+
}
|
|
20656
20681
|
if (!tea_util_1.default.isUnset(request.plannedStartTime)) {
|
|
20657
20682
|
query["PlannedStartTime"] = request.plannedStartTime;
|
|
20658
20683
|
}
|
|
@@ -20779,6 +20804,9 @@ class Client extends openapi_client_1.default {
|
|
|
20779
20804
|
if (!tea_util_1.default.isUnset(request.plannedEndTime)) {
|
|
20780
20805
|
query["PlannedEndTime"] = request.plannedEndTime;
|
|
20781
20806
|
}
|
|
20807
|
+
if (!tea_util_1.default.isUnset(request.plannedFlashingOffTime)) {
|
|
20808
|
+
query["PlannedFlashingOffTime"] = request.plannedFlashingOffTime;
|
|
20809
|
+
}
|
|
20782
20810
|
if (!tea_util_1.default.isUnset(request.plannedStartTime)) {
|
|
20783
20811
|
query["PlannedStartTime"] = request.plannedStartTime;
|
|
20784
20812
|
}
|
|
@@ -20896,6 +20924,9 @@ class Client extends openapi_client_1.default {
|
|
|
20896
20924
|
async modifyGlobalDatabaseNetworkWithOptions(request, runtime) {
|
|
20897
20925
|
tea_util_1.default.validateModel(request);
|
|
20898
20926
|
let query = {};
|
|
20927
|
+
if (!tea_util_1.default.isUnset(request.enableGlobalDomainName)) {
|
|
20928
|
+
query["EnableGlobalDomainName"] = request.enableGlobalDomainName;
|
|
20929
|
+
}
|
|
20899
20930
|
if (!tea_util_1.default.isUnset(request.GDNDescription)) {
|
|
20900
20931
|
query["GDNDescription"] = request.GDNDescription;
|
|
20901
20932
|
}
|