@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/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -3048,6 +3048,7 @@ export class CreateGlobalDatabaseNetworkRequest extends $tea.Model {
|
|
|
3048
3048
|
* pc-bp1q76364ird*****
|
|
3049
3049
|
*/
|
|
3050
3050
|
DBClusterId?: string;
|
|
3051
|
+
enableGlobalDomainName?: boolean;
|
|
3051
3052
|
/**
|
|
3052
3053
|
* @remarks
|
|
3053
3054
|
* The description of the GDN. The description must meet the following requirements:
|
|
@@ -3077,6 +3078,7 @@ export class CreateGlobalDatabaseNetworkRequest extends $tea.Model {
|
|
|
3077
3078
|
static names(): { [key: string]: string } {
|
|
3078
3079
|
return {
|
|
3079
3080
|
DBClusterId: 'DBClusterId',
|
|
3081
|
+
enableGlobalDomainName: 'EnableGlobalDomainName',
|
|
3080
3082
|
GDNDescription: 'GDNDescription',
|
|
3081
3083
|
ownerAccount: 'OwnerAccount',
|
|
3082
3084
|
ownerId: 'OwnerId',
|
|
@@ -3090,6 +3092,7 @@ export class CreateGlobalDatabaseNetworkRequest extends $tea.Model {
|
|
|
3090
3092
|
static types(): { [key: string]: any } {
|
|
3091
3093
|
return {
|
|
3092
3094
|
DBClusterId: 'string',
|
|
3095
|
+
enableGlobalDomainName: 'boolean',
|
|
3093
3096
|
GDNDescription: 'string',
|
|
3094
3097
|
ownerAccount: 'string',
|
|
3095
3098
|
ownerId: 'number',
|
|
@@ -10624,6 +10627,7 @@ export class DescribeDBProxyPerformanceRequest extends $tea.Model {
|
|
|
10624
10627
|
* pe-****************
|
|
10625
10628
|
*/
|
|
10626
10629
|
DBEndpointId?: string;
|
|
10630
|
+
DBNodeId?: string;
|
|
10627
10631
|
/**
|
|
10628
10632
|
* @remarks
|
|
10629
10633
|
* The end of the time range to query. Specify the time in the `yyyy-MM-ddTHH:mmZ` format. The time must be in UTC.
|
|
@@ -10674,6 +10678,7 @@ export class DescribeDBProxyPerformanceRequest extends $tea.Model {
|
|
|
10674
10678
|
return {
|
|
10675
10679
|
DBClusterId: 'DBClusterId',
|
|
10676
10680
|
DBEndpointId: 'DBEndpointId',
|
|
10681
|
+
DBNodeId: 'DBNodeId',
|
|
10677
10682
|
endTime: 'EndTime',
|
|
10678
10683
|
interval: 'Interval',
|
|
10679
10684
|
key: 'Key',
|
|
@@ -10686,6 +10691,7 @@ export class DescribeDBProxyPerformanceRequest extends $tea.Model {
|
|
|
10686
10691
|
return {
|
|
10687
10692
|
DBClusterId: 'string',
|
|
10688
10693
|
DBEndpointId: 'string',
|
|
10694
|
+
DBNodeId: 'string',
|
|
10689
10695
|
endTime: 'string',
|
|
10690
10696
|
interval: 'string',
|
|
10691
10697
|
key: 'string',
|
|
@@ -11435,6 +11441,7 @@ export class DescribeGlobalDatabaseNetworkResponseBody extends $tea.Model {
|
|
|
11435
11441
|
* active
|
|
11436
11442
|
*/
|
|
11437
11443
|
GDNStatus?: string;
|
|
11444
|
+
globalDomainName?: string;
|
|
11438
11445
|
/**
|
|
11439
11446
|
* @remarks
|
|
11440
11447
|
* The ID of the request.
|
|
@@ -11462,6 +11469,7 @@ export class DescribeGlobalDatabaseNetworkResponseBody extends $tea.Model {
|
|
|
11462
11469
|
GDNDescription: 'GDNDescription',
|
|
11463
11470
|
GDNId: 'GDNId',
|
|
11464
11471
|
GDNStatus: 'GDNStatus',
|
|
11472
|
+
globalDomainName: 'GlobalDomainName',
|
|
11465
11473
|
requestId: 'RequestId',
|
|
11466
11474
|
resourceGroupId: 'ResourceGroupId',
|
|
11467
11475
|
};
|
|
@@ -11478,6 +11486,7 @@ export class DescribeGlobalDatabaseNetworkResponseBody extends $tea.Model {
|
|
|
11478
11486
|
GDNDescription: 'string',
|
|
11479
11487
|
GDNId: 'string',
|
|
11480
11488
|
GDNStatus: 'string',
|
|
11489
|
+
globalDomainName: 'string',
|
|
11481
11490
|
requestId: 'string',
|
|
11482
11491
|
resourceGroupId: 'string',
|
|
11483
11492
|
};
|
|
@@ -19596,6 +19605,7 @@ export class ModifyDBNodeClassRequest extends $tea.Model {
|
|
|
19596
19605
|
* 2021-01-14T09:30:00Z
|
|
19597
19606
|
*/
|
|
19598
19607
|
plannedEndTime?: string;
|
|
19608
|
+
plannedFlashingOffTime?: string;
|
|
19599
19609
|
/**
|
|
19600
19610
|
* @remarks
|
|
19601
19611
|
* 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.
|
|
@@ -19631,6 +19641,7 @@ export class ModifyDBNodeClassRequest extends $tea.Model {
|
|
|
19631
19641
|
ownerAccount: 'OwnerAccount',
|
|
19632
19642
|
ownerId: 'OwnerId',
|
|
19633
19643
|
plannedEndTime: 'PlannedEndTime',
|
|
19644
|
+
plannedFlashingOffTime: 'PlannedFlashingOffTime',
|
|
19634
19645
|
plannedStartTime: 'PlannedStartTime',
|
|
19635
19646
|
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
19636
19647
|
resourceOwnerId: 'ResourceOwnerId',
|
|
@@ -19648,6 +19659,7 @@ export class ModifyDBNodeClassRequest extends $tea.Model {
|
|
|
19648
19659
|
ownerAccount: 'string',
|
|
19649
19660
|
ownerId: 'number',
|
|
19650
19661
|
plannedEndTime: 'string',
|
|
19662
|
+
plannedFlashingOffTime: 'string',
|
|
19651
19663
|
plannedStartTime: 'string',
|
|
19652
19664
|
resourceOwnerAccount: 'string',
|
|
19653
19665
|
resourceOwnerId: 'number',
|
|
@@ -19925,6 +19937,7 @@ export class ModifyDBNodesClassRequest extends $tea.Model {
|
|
|
19925
19937
|
* 2021-01-14T09:30:00Z
|
|
19926
19938
|
*/
|
|
19927
19939
|
plannedEndTime?: string;
|
|
19940
|
+
plannedFlashingOffTime?: string;
|
|
19928
19941
|
/**
|
|
19929
19942
|
* @remarks
|
|
19930
19943
|
* 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.
|
|
@@ -19959,6 +19972,7 @@ export class ModifyDBNodesClassRequest extends $tea.Model {
|
|
|
19959
19972
|
ownerAccount: 'OwnerAccount',
|
|
19960
19973
|
ownerId: 'OwnerId',
|
|
19961
19974
|
plannedEndTime: 'PlannedEndTime',
|
|
19975
|
+
plannedFlashingOffTime: 'PlannedFlashingOffTime',
|
|
19962
19976
|
plannedStartTime: 'PlannedStartTime',
|
|
19963
19977
|
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
19964
19978
|
resourceOwnerId: 'ResourceOwnerId',
|
|
@@ -19975,6 +19989,7 @@ export class ModifyDBNodesClassRequest extends $tea.Model {
|
|
|
19975
19989
|
ownerAccount: 'string',
|
|
19976
19990
|
ownerId: 'number',
|
|
19977
19991
|
plannedEndTime: 'string',
|
|
19992
|
+
plannedFlashingOffTime: 'string',
|
|
19978
19993
|
plannedStartTime: 'string',
|
|
19979
19994
|
resourceOwnerAccount: 'string',
|
|
19980
19995
|
resourceOwnerId: 'number',
|
|
@@ -20212,6 +20227,7 @@ export class ModifyDBNodesParametersResponse extends $tea.Model {
|
|
|
20212
20227
|
}
|
|
20213
20228
|
|
|
20214
20229
|
export class ModifyGlobalDatabaseNetworkRequest extends $tea.Model {
|
|
20230
|
+
enableGlobalDomainName?: boolean;
|
|
20215
20231
|
/**
|
|
20216
20232
|
* @remarks
|
|
20217
20233
|
* The description of the GDN. The description must meet the following requirements:
|
|
@@ -20221,8 +20237,6 @@ export class ModifyGlobalDatabaseNetworkRequest extends $tea.Model {
|
|
|
20221
20237
|
* * It can contain letters, digits, underscores (_), and hyphens (-).
|
|
20222
20238
|
* * It must be 2 to 126 characters in length.
|
|
20223
20239
|
*
|
|
20224
|
-
* This parameter is required.
|
|
20225
|
-
*
|
|
20226
20240
|
* @example
|
|
20227
20241
|
* GDN-fortest
|
|
20228
20242
|
*/
|
|
@@ -20252,6 +20266,7 @@ export class ModifyGlobalDatabaseNetworkRequest extends $tea.Model {
|
|
|
20252
20266
|
securityToken?: string;
|
|
20253
20267
|
static names(): { [key: string]: string } {
|
|
20254
20268
|
return {
|
|
20269
|
+
enableGlobalDomainName: 'EnableGlobalDomainName',
|
|
20255
20270
|
GDNDescription: 'GDNDescription',
|
|
20256
20271
|
GDNId: 'GDNId',
|
|
20257
20272
|
ownerAccount: 'OwnerAccount',
|
|
@@ -20265,6 +20280,7 @@ export class ModifyGlobalDatabaseNetworkRequest extends $tea.Model {
|
|
|
20265
20280
|
|
|
20266
20281
|
static types(): { [key: string]: any } {
|
|
20267
20282
|
return {
|
|
20283
|
+
enableGlobalDomainName: 'boolean',
|
|
20268
20284
|
GDNDescription: 'string',
|
|
20269
20285
|
GDNId: 'string',
|
|
20270
20286
|
ownerAccount: 'string',
|
|
@@ -28169,6 +28185,7 @@ export class DescribeGlobalDatabaseNetworkResponseBodyDBClustersDBNodes extends
|
|
|
28169
28185
|
}
|
|
28170
28186
|
|
|
28171
28187
|
export class DescribeGlobalDatabaseNetworkResponseBodyDBClusters extends $tea.Model {
|
|
28188
|
+
category?: string;
|
|
28172
28189
|
/**
|
|
28173
28190
|
* @remarks
|
|
28174
28191
|
* The description of the cluster.
|
|
@@ -28305,6 +28322,7 @@ export class DescribeGlobalDatabaseNetworkResponseBodyDBClusters extends $tea.Mo
|
|
|
28305
28322
|
storageUsed?: string;
|
|
28306
28323
|
static names(): { [key: string]: string } {
|
|
28307
28324
|
return {
|
|
28325
|
+
category: 'Category',
|
|
28308
28326
|
DBClusterDescription: 'DBClusterDescription',
|
|
28309
28327
|
DBClusterId: 'DBClusterId',
|
|
28310
28328
|
DBClusterStatus: 'DBClusterStatus',
|
|
@@ -28325,6 +28343,7 @@ export class DescribeGlobalDatabaseNetworkResponseBodyDBClusters extends $tea.Mo
|
|
|
28325
28343
|
|
|
28326
28344
|
static types(): { [key: string]: any } {
|
|
28327
28345
|
return {
|
|
28346
|
+
category: 'string',
|
|
28328
28347
|
DBClusterDescription: 'string',
|
|
28329
28348
|
DBClusterId: 'string',
|
|
28330
28349
|
DBClusterStatus: 'string',
|
|
@@ -29472,6 +29491,7 @@ export class DescribeScheduleTasksResponseBodyDataTimerInfos extends $tea.Model
|
|
|
29472
29491
|
* 2021-01-28T12:30Z
|
|
29473
29492
|
*/
|
|
29474
29493
|
plannedEndTime?: string;
|
|
29494
|
+
plannedFlashingOffTime?: string;
|
|
29475
29495
|
/**
|
|
29476
29496
|
* @remarks
|
|
29477
29497
|
* The earliest start time of the task that you specified when you created the scheduled task. The time is displayed in UTC.
|
|
@@ -29531,6 +29551,7 @@ export class DescribeScheduleTasksResponseBodyDataTimerInfos extends $tea.Model
|
|
|
29531
29551
|
dbClusterStatus: 'DbClusterStatus',
|
|
29532
29552
|
orderId: 'OrderId',
|
|
29533
29553
|
plannedEndTime: 'PlannedEndTime',
|
|
29554
|
+
plannedFlashingOffTime: 'PlannedFlashingOffTime',
|
|
29534
29555
|
plannedStartTime: 'PlannedStartTime',
|
|
29535
29556
|
plannedTime: 'PlannedTime',
|
|
29536
29557
|
region: 'Region',
|
|
@@ -29548,6 +29569,7 @@ export class DescribeScheduleTasksResponseBodyDataTimerInfos extends $tea.Model
|
|
|
29548
29569
|
dbClusterStatus: 'string',
|
|
29549
29570
|
orderId: 'string',
|
|
29550
29571
|
plannedEndTime: 'string',
|
|
29572
|
+
plannedFlashingOffTime: 'string',
|
|
29551
29573
|
plannedStartTime: 'string',
|
|
29552
29574
|
plannedTime: 'string',
|
|
29553
29575
|
region: 'string',
|
|
@@ -32141,6 +32163,10 @@ export default class Client extends OpenApi {
|
|
|
32141
32163
|
query["DBClusterId"] = request.DBClusterId;
|
|
32142
32164
|
}
|
|
32143
32165
|
|
|
32166
|
+
if (!Util.isUnset(request.enableGlobalDomainName)) {
|
|
32167
|
+
query["EnableGlobalDomainName"] = request.enableGlobalDomainName;
|
|
32168
|
+
}
|
|
32169
|
+
|
|
32144
32170
|
if (!Util.isUnset(request.GDNDescription)) {
|
|
32145
32171
|
query["GDNDescription"] = request.GDNDescription;
|
|
32146
32172
|
}
|
|
@@ -35331,6 +35357,10 @@ export default class Client extends OpenApi {
|
|
|
35331
35357
|
query["DBEndpointId"] = request.DBEndpointId;
|
|
35332
35358
|
}
|
|
35333
35359
|
|
|
35360
|
+
if (!Util.isUnset(request.DBNodeId)) {
|
|
35361
|
+
query["DBNodeId"] = request.DBNodeId;
|
|
35362
|
+
}
|
|
35363
|
+
|
|
35334
35364
|
if (!Util.isUnset(request.endTime)) {
|
|
35335
35365
|
query["EndTime"] = request.endTime;
|
|
35336
35366
|
}
|
|
@@ -39556,6 +39586,10 @@ export default class Client extends OpenApi {
|
|
|
39556
39586
|
query["PlannedEndTime"] = request.plannedEndTime;
|
|
39557
39587
|
}
|
|
39558
39588
|
|
|
39589
|
+
if (!Util.isUnset(request.plannedFlashingOffTime)) {
|
|
39590
|
+
query["PlannedFlashingOffTime"] = request.plannedFlashingOffTime;
|
|
39591
|
+
}
|
|
39592
|
+
|
|
39559
39593
|
if (!Util.isUnset(request.plannedStartTime)) {
|
|
39560
39594
|
query["PlannedStartTime"] = request.plannedStartTime;
|
|
39561
39595
|
}
|
|
@@ -39704,6 +39738,10 @@ export default class Client extends OpenApi {
|
|
|
39704
39738
|
query["PlannedEndTime"] = request.plannedEndTime;
|
|
39705
39739
|
}
|
|
39706
39740
|
|
|
39741
|
+
if (!Util.isUnset(request.plannedFlashingOffTime)) {
|
|
39742
|
+
query["PlannedFlashingOffTime"] = request.plannedFlashingOffTime;
|
|
39743
|
+
}
|
|
39744
|
+
|
|
39707
39745
|
if (!Util.isUnset(request.plannedStartTime)) {
|
|
39708
39746
|
query["PlannedStartTime"] = request.plannedStartTime;
|
|
39709
39747
|
}
|
|
@@ -39840,6 +39878,10 @@ export default class Client extends OpenApi {
|
|
|
39840
39878
|
async modifyGlobalDatabaseNetworkWithOptions(request: ModifyGlobalDatabaseNetworkRequest, runtime: $Util.RuntimeOptions): Promise<ModifyGlobalDatabaseNetworkResponse> {
|
|
39841
39879
|
Util.validateModel(request);
|
|
39842
39880
|
let query = { };
|
|
39881
|
+
if (!Util.isUnset(request.enableGlobalDomainName)) {
|
|
39882
|
+
query["EnableGlobalDomainName"] = request.enableGlobalDomainName;
|
|
39883
|
+
}
|
|
39884
|
+
|
|
39843
39885
|
if (!Util.isUnset(request.GDNDescription)) {
|
|
39844
39886
|
query["GDNDescription"] = request.GDNDescription;
|
|
39845
39887
|
}
|