@alicloud/polardb20170801 5.1.11 → 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 +7 -2
- package/dist/client.js +26 -0
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +37 -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:
|
|
@@ -8455,6 +8456,7 @@ export declare class DescribeGlobalDatabaseNetworkResponseBody extends $tea.Mode
|
|
|
8455
8456
|
* active
|
|
8456
8457
|
*/
|
|
8457
8458
|
GDNStatus?: string;
|
|
8459
|
+
globalDomainName?: string;
|
|
8458
8460
|
/**
|
|
8459
8461
|
* @remarks
|
|
8460
8462
|
* The ID of the request.
|
|
@@ -14446,6 +14448,7 @@ export declare class ModifyDBNodeClassRequest extends $tea.Model {
|
|
|
14446
14448
|
* 2021-01-14T09:30:00Z
|
|
14447
14449
|
*/
|
|
14448
14450
|
plannedEndTime?: string;
|
|
14451
|
+
plannedFlashingOffTime?: string;
|
|
14449
14452
|
/**
|
|
14450
14453
|
* @remarks
|
|
14451
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.
|
|
@@ -14687,6 +14690,7 @@ export declare class ModifyDBNodesClassRequest extends $tea.Model {
|
|
|
14687
14690
|
* 2021-01-14T09:30:00Z
|
|
14688
14691
|
*/
|
|
14689
14692
|
plannedEndTime?: string;
|
|
14693
|
+
plannedFlashingOffTime?: string;
|
|
14690
14694
|
/**
|
|
14691
14695
|
* @remarks
|
|
14692
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.
|
|
@@ -14884,6 +14888,7 @@ export declare class ModifyDBNodesParametersResponse extends $tea.Model {
|
|
|
14884
14888
|
});
|
|
14885
14889
|
}
|
|
14886
14890
|
export declare class ModifyGlobalDatabaseNetworkRequest extends $tea.Model {
|
|
14891
|
+
enableGlobalDomainName?: boolean;
|
|
14887
14892
|
/**
|
|
14888
14893
|
* @remarks
|
|
14889
14894
|
* The description of the GDN. The description must meet the following requirements:
|
|
@@ -14893,8 +14898,6 @@ export declare class ModifyGlobalDatabaseNetworkRequest extends $tea.Model {
|
|
|
14893
14898
|
* * It can contain letters, digits, underscores (_), and hyphens (-).
|
|
14894
14899
|
* * It must be 2 to 126 characters in length.
|
|
14895
14900
|
*
|
|
14896
|
-
* This parameter is required.
|
|
14897
|
-
*
|
|
14898
14901
|
* @example
|
|
14899
14902
|
* GDN-fortest
|
|
14900
14903
|
*/
|
|
@@ -20897,6 +20900,7 @@ export declare class DescribeGlobalDatabaseNetworkResponseBodyDBClustersDBNodes
|
|
|
20897
20900
|
});
|
|
20898
20901
|
}
|
|
20899
20902
|
export declare class DescribeGlobalDatabaseNetworkResponseBodyDBClusters extends $tea.Model {
|
|
20903
|
+
category?: string;
|
|
20900
20904
|
/**
|
|
20901
20905
|
* @remarks
|
|
20902
20906
|
* The description of the cluster.
|
|
@@ -21930,6 +21934,7 @@ export declare class DescribeScheduleTasksResponseBodyDataTimerInfos extends $te
|
|
|
21930
21934
|
* 2021-01-28T12:30Z
|
|
21931
21935
|
*/
|
|
21932
21936
|
plannedEndTime?: string;
|
|
21937
|
+
plannedFlashingOffTime?: string;
|
|
21933
21938
|
/**
|
|
21934
21939
|
* @remarks
|
|
21935
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',
|
|
@@ -4959,6 +4961,7 @@ class DescribeGlobalDatabaseNetworkResponseBody extends $tea.Model {
|
|
|
4959
4961
|
GDNDescription: 'GDNDescription',
|
|
4960
4962
|
GDNId: 'GDNId',
|
|
4961
4963
|
GDNStatus: 'GDNStatus',
|
|
4964
|
+
globalDomainName: 'GlobalDomainName',
|
|
4962
4965
|
requestId: 'RequestId',
|
|
4963
4966
|
resourceGroupId: 'ResourceGroupId',
|
|
4964
4967
|
};
|
|
@@ -4974,6 +4977,7 @@ class DescribeGlobalDatabaseNetworkResponseBody extends $tea.Model {
|
|
|
4974
4977
|
GDNDescription: 'string',
|
|
4975
4978
|
GDNId: 'string',
|
|
4976
4979
|
GDNStatus: 'string',
|
|
4980
|
+
globalDomainName: 'string',
|
|
4977
4981
|
requestId: 'string',
|
|
4978
4982
|
resourceGroupId: 'string',
|
|
4979
4983
|
};
|
|
@@ -8598,6 +8602,7 @@ class ModifyDBNodeClassRequest extends $tea.Model {
|
|
|
8598
8602
|
ownerAccount: 'OwnerAccount',
|
|
8599
8603
|
ownerId: 'OwnerId',
|
|
8600
8604
|
plannedEndTime: 'PlannedEndTime',
|
|
8605
|
+
plannedFlashingOffTime: 'PlannedFlashingOffTime',
|
|
8601
8606
|
plannedStartTime: 'PlannedStartTime',
|
|
8602
8607
|
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
8603
8608
|
resourceOwnerId: 'ResourceOwnerId',
|
|
@@ -8614,6 +8619,7 @@ class ModifyDBNodeClassRequest extends $tea.Model {
|
|
|
8614
8619
|
ownerAccount: 'string',
|
|
8615
8620
|
ownerId: 'number',
|
|
8616
8621
|
plannedEndTime: 'string',
|
|
8622
|
+
plannedFlashingOffTime: 'string',
|
|
8617
8623
|
plannedStartTime: 'string',
|
|
8618
8624
|
resourceOwnerAccount: 'string',
|
|
8619
8625
|
resourceOwnerId: 'number',
|
|
@@ -8743,6 +8749,7 @@ class ModifyDBNodesClassRequest extends $tea.Model {
|
|
|
8743
8749
|
ownerAccount: 'OwnerAccount',
|
|
8744
8750
|
ownerId: 'OwnerId',
|
|
8745
8751
|
plannedEndTime: 'PlannedEndTime',
|
|
8752
|
+
plannedFlashingOffTime: 'PlannedFlashingOffTime',
|
|
8746
8753
|
plannedStartTime: 'PlannedStartTime',
|
|
8747
8754
|
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
8748
8755
|
resourceOwnerId: 'ResourceOwnerId',
|
|
@@ -8758,6 +8765,7 @@ class ModifyDBNodesClassRequest extends $tea.Model {
|
|
|
8758
8765
|
ownerAccount: 'string',
|
|
8759
8766
|
ownerId: 'number',
|
|
8760
8767
|
plannedEndTime: 'string',
|
|
8768
|
+
plannedFlashingOffTime: 'string',
|
|
8761
8769
|
plannedStartTime: 'string',
|
|
8762
8770
|
resourceOwnerAccount: 'string',
|
|
8763
8771
|
resourceOwnerId: 'number',
|
|
@@ -8884,6 +8892,7 @@ exports.ModifyDBNodesParametersResponse = ModifyDBNodesParametersResponse;
|
|
|
8884
8892
|
class ModifyGlobalDatabaseNetworkRequest extends $tea.Model {
|
|
8885
8893
|
static names() {
|
|
8886
8894
|
return {
|
|
8895
|
+
enableGlobalDomainName: 'EnableGlobalDomainName',
|
|
8887
8896
|
GDNDescription: 'GDNDescription',
|
|
8888
8897
|
GDNId: 'GDNId',
|
|
8889
8898
|
ownerAccount: 'OwnerAccount',
|
|
@@ -8896,6 +8905,7 @@ class ModifyGlobalDatabaseNetworkRequest extends $tea.Model {
|
|
|
8896
8905
|
}
|
|
8897
8906
|
static types() {
|
|
8898
8907
|
return {
|
|
8908
|
+
enableGlobalDomainName: 'boolean',
|
|
8899
8909
|
GDNDescription: 'string',
|
|
8900
8910
|
GDNId: 'string',
|
|
8901
8911
|
ownerAccount: 'string',
|
|
@@ -12132,6 +12142,7 @@ exports.DescribeGlobalDatabaseNetworkResponseBodyDBClustersDBNodes = DescribeGlo
|
|
|
12132
12142
|
class DescribeGlobalDatabaseNetworkResponseBodyDBClusters extends $tea.Model {
|
|
12133
12143
|
static names() {
|
|
12134
12144
|
return {
|
|
12145
|
+
category: 'Category',
|
|
12135
12146
|
DBClusterDescription: 'DBClusterDescription',
|
|
12136
12147
|
DBClusterId: 'DBClusterId',
|
|
12137
12148
|
DBClusterStatus: 'DBClusterStatus',
|
|
@@ -12151,6 +12162,7 @@ class DescribeGlobalDatabaseNetworkResponseBodyDBClusters extends $tea.Model {
|
|
|
12151
12162
|
}
|
|
12152
12163
|
static types() {
|
|
12153
12164
|
return {
|
|
12165
|
+
category: 'string',
|
|
12154
12166
|
DBClusterDescription: 'string',
|
|
12155
12167
|
DBClusterId: 'string',
|
|
12156
12168
|
DBClusterStatus: 'string',
|
|
@@ -12570,6 +12582,7 @@ class DescribeScheduleTasksResponseBodyDataTimerInfos extends $tea.Model {
|
|
|
12570
12582
|
dbClusterStatus: 'DbClusterStatus',
|
|
12571
12583
|
orderId: 'OrderId',
|
|
12572
12584
|
plannedEndTime: 'PlannedEndTime',
|
|
12585
|
+
plannedFlashingOffTime: 'PlannedFlashingOffTime',
|
|
12573
12586
|
plannedStartTime: 'PlannedStartTime',
|
|
12574
12587
|
plannedTime: 'PlannedTime',
|
|
12575
12588
|
region: 'Region',
|
|
@@ -12586,6 +12599,7 @@ class DescribeScheduleTasksResponseBodyDataTimerInfos extends $tea.Model {
|
|
|
12586
12599
|
dbClusterStatus: 'string',
|
|
12587
12600
|
orderId: 'string',
|
|
12588
12601
|
plannedEndTime: 'string',
|
|
12602
|
+
plannedFlashingOffTime: 'string',
|
|
12589
12603
|
plannedStartTime: 'string',
|
|
12590
12604
|
plannedTime: 'string',
|
|
12591
12605
|
region: 'string',
|
|
@@ -14272,6 +14286,9 @@ class Client extends openapi_client_1.default {
|
|
|
14272
14286
|
if (!tea_util_1.default.isUnset(request.DBClusterId)) {
|
|
14273
14287
|
query["DBClusterId"] = request.DBClusterId;
|
|
14274
14288
|
}
|
|
14289
|
+
if (!tea_util_1.default.isUnset(request.enableGlobalDomainName)) {
|
|
14290
|
+
query["EnableGlobalDomainName"] = request.enableGlobalDomainName;
|
|
14291
|
+
}
|
|
14275
14292
|
if (!tea_util_1.default.isUnset(request.GDNDescription)) {
|
|
14276
14293
|
query["GDNDescription"] = request.GDNDescription;
|
|
14277
14294
|
}
|
|
@@ -20658,6 +20675,9 @@ class Client extends openapi_client_1.default {
|
|
|
20658
20675
|
if (!tea_util_1.default.isUnset(request.plannedEndTime)) {
|
|
20659
20676
|
query["PlannedEndTime"] = request.plannedEndTime;
|
|
20660
20677
|
}
|
|
20678
|
+
if (!tea_util_1.default.isUnset(request.plannedFlashingOffTime)) {
|
|
20679
|
+
query["PlannedFlashingOffTime"] = request.plannedFlashingOffTime;
|
|
20680
|
+
}
|
|
20661
20681
|
if (!tea_util_1.default.isUnset(request.plannedStartTime)) {
|
|
20662
20682
|
query["PlannedStartTime"] = request.plannedStartTime;
|
|
20663
20683
|
}
|
|
@@ -20784,6 +20804,9 @@ class Client extends openapi_client_1.default {
|
|
|
20784
20804
|
if (!tea_util_1.default.isUnset(request.plannedEndTime)) {
|
|
20785
20805
|
query["PlannedEndTime"] = request.plannedEndTime;
|
|
20786
20806
|
}
|
|
20807
|
+
if (!tea_util_1.default.isUnset(request.plannedFlashingOffTime)) {
|
|
20808
|
+
query["PlannedFlashingOffTime"] = request.plannedFlashingOffTime;
|
|
20809
|
+
}
|
|
20787
20810
|
if (!tea_util_1.default.isUnset(request.plannedStartTime)) {
|
|
20788
20811
|
query["PlannedStartTime"] = request.plannedStartTime;
|
|
20789
20812
|
}
|
|
@@ -20901,6 +20924,9 @@ class Client extends openapi_client_1.default {
|
|
|
20901
20924
|
async modifyGlobalDatabaseNetworkWithOptions(request, runtime) {
|
|
20902
20925
|
tea_util_1.default.validateModel(request);
|
|
20903
20926
|
let query = {};
|
|
20927
|
+
if (!tea_util_1.default.isUnset(request.enableGlobalDomainName)) {
|
|
20928
|
+
query["EnableGlobalDomainName"] = request.enableGlobalDomainName;
|
|
20929
|
+
}
|
|
20904
20930
|
if (!tea_util_1.default.isUnset(request.GDNDescription)) {
|
|
20905
20931
|
query["GDNDescription"] = request.GDNDescription;
|
|
20906
20932
|
}
|