@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/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',
|
|
@@ -11438,6 +11441,7 @@ export class DescribeGlobalDatabaseNetworkResponseBody extends $tea.Model {
|
|
|
11438
11441
|
* active
|
|
11439
11442
|
*/
|
|
11440
11443
|
GDNStatus?: string;
|
|
11444
|
+
globalDomainName?: string;
|
|
11441
11445
|
/**
|
|
11442
11446
|
* @remarks
|
|
11443
11447
|
* The ID of the request.
|
|
@@ -11465,6 +11469,7 @@ export class DescribeGlobalDatabaseNetworkResponseBody extends $tea.Model {
|
|
|
11465
11469
|
GDNDescription: 'GDNDescription',
|
|
11466
11470
|
GDNId: 'GDNId',
|
|
11467
11471
|
GDNStatus: 'GDNStatus',
|
|
11472
|
+
globalDomainName: 'GlobalDomainName',
|
|
11468
11473
|
requestId: 'RequestId',
|
|
11469
11474
|
resourceGroupId: 'ResourceGroupId',
|
|
11470
11475
|
};
|
|
@@ -11481,6 +11486,7 @@ export class DescribeGlobalDatabaseNetworkResponseBody extends $tea.Model {
|
|
|
11481
11486
|
GDNDescription: 'string',
|
|
11482
11487
|
GDNId: 'string',
|
|
11483
11488
|
GDNStatus: 'string',
|
|
11489
|
+
globalDomainName: 'string',
|
|
11484
11490
|
requestId: 'string',
|
|
11485
11491
|
resourceGroupId: 'string',
|
|
11486
11492
|
};
|
|
@@ -19599,6 +19605,7 @@ export class ModifyDBNodeClassRequest extends $tea.Model {
|
|
|
19599
19605
|
* 2021-01-14T09:30:00Z
|
|
19600
19606
|
*/
|
|
19601
19607
|
plannedEndTime?: string;
|
|
19608
|
+
plannedFlashingOffTime?: string;
|
|
19602
19609
|
/**
|
|
19603
19610
|
* @remarks
|
|
19604
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.
|
|
@@ -19634,6 +19641,7 @@ export class ModifyDBNodeClassRequest extends $tea.Model {
|
|
|
19634
19641
|
ownerAccount: 'OwnerAccount',
|
|
19635
19642
|
ownerId: 'OwnerId',
|
|
19636
19643
|
plannedEndTime: 'PlannedEndTime',
|
|
19644
|
+
plannedFlashingOffTime: 'PlannedFlashingOffTime',
|
|
19637
19645
|
plannedStartTime: 'PlannedStartTime',
|
|
19638
19646
|
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
19639
19647
|
resourceOwnerId: 'ResourceOwnerId',
|
|
@@ -19651,6 +19659,7 @@ export class ModifyDBNodeClassRequest extends $tea.Model {
|
|
|
19651
19659
|
ownerAccount: 'string',
|
|
19652
19660
|
ownerId: 'number',
|
|
19653
19661
|
plannedEndTime: 'string',
|
|
19662
|
+
plannedFlashingOffTime: 'string',
|
|
19654
19663
|
plannedStartTime: 'string',
|
|
19655
19664
|
resourceOwnerAccount: 'string',
|
|
19656
19665
|
resourceOwnerId: 'number',
|
|
@@ -19928,6 +19937,7 @@ export class ModifyDBNodesClassRequest extends $tea.Model {
|
|
|
19928
19937
|
* 2021-01-14T09:30:00Z
|
|
19929
19938
|
*/
|
|
19930
19939
|
plannedEndTime?: string;
|
|
19940
|
+
plannedFlashingOffTime?: string;
|
|
19931
19941
|
/**
|
|
19932
19942
|
* @remarks
|
|
19933
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.
|
|
@@ -19962,6 +19972,7 @@ export class ModifyDBNodesClassRequest extends $tea.Model {
|
|
|
19962
19972
|
ownerAccount: 'OwnerAccount',
|
|
19963
19973
|
ownerId: 'OwnerId',
|
|
19964
19974
|
plannedEndTime: 'PlannedEndTime',
|
|
19975
|
+
plannedFlashingOffTime: 'PlannedFlashingOffTime',
|
|
19965
19976
|
plannedStartTime: 'PlannedStartTime',
|
|
19966
19977
|
resourceOwnerAccount: 'ResourceOwnerAccount',
|
|
19967
19978
|
resourceOwnerId: 'ResourceOwnerId',
|
|
@@ -19978,6 +19989,7 @@ export class ModifyDBNodesClassRequest extends $tea.Model {
|
|
|
19978
19989
|
ownerAccount: 'string',
|
|
19979
19990
|
ownerId: 'number',
|
|
19980
19991
|
plannedEndTime: 'string',
|
|
19992
|
+
plannedFlashingOffTime: 'string',
|
|
19981
19993
|
plannedStartTime: 'string',
|
|
19982
19994
|
resourceOwnerAccount: 'string',
|
|
19983
19995
|
resourceOwnerId: 'number',
|
|
@@ -20215,6 +20227,7 @@ export class ModifyDBNodesParametersResponse extends $tea.Model {
|
|
|
20215
20227
|
}
|
|
20216
20228
|
|
|
20217
20229
|
export class ModifyGlobalDatabaseNetworkRequest extends $tea.Model {
|
|
20230
|
+
enableGlobalDomainName?: boolean;
|
|
20218
20231
|
/**
|
|
20219
20232
|
* @remarks
|
|
20220
20233
|
* The description of the GDN. The description must meet the following requirements:
|
|
@@ -20224,8 +20237,6 @@ export class ModifyGlobalDatabaseNetworkRequest extends $tea.Model {
|
|
|
20224
20237
|
* * It can contain letters, digits, underscores (_), and hyphens (-).
|
|
20225
20238
|
* * It must be 2 to 126 characters in length.
|
|
20226
20239
|
*
|
|
20227
|
-
* This parameter is required.
|
|
20228
|
-
*
|
|
20229
20240
|
* @example
|
|
20230
20241
|
* GDN-fortest
|
|
20231
20242
|
*/
|
|
@@ -20255,6 +20266,7 @@ export class ModifyGlobalDatabaseNetworkRequest extends $tea.Model {
|
|
|
20255
20266
|
securityToken?: string;
|
|
20256
20267
|
static names(): { [key: string]: string } {
|
|
20257
20268
|
return {
|
|
20269
|
+
enableGlobalDomainName: 'EnableGlobalDomainName',
|
|
20258
20270
|
GDNDescription: 'GDNDescription',
|
|
20259
20271
|
GDNId: 'GDNId',
|
|
20260
20272
|
ownerAccount: 'OwnerAccount',
|
|
@@ -20268,6 +20280,7 @@ export class ModifyGlobalDatabaseNetworkRequest extends $tea.Model {
|
|
|
20268
20280
|
|
|
20269
20281
|
static types(): { [key: string]: any } {
|
|
20270
20282
|
return {
|
|
20283
|
+
enableGlobalDomainName: 'boolean',
|
|
20271
20284
|
GDNDescription: 'string',
|
|
20272
20285
|
GDNId: 'string',
|
|
20273
20286
|
ownerAccount: 'string',
|
|
@@ -28172,6 +28185,7 @@ export class DescribeGlobalDatabaseNetworkResponseBodyDBClustersDBNodes extends
|
|
|
28172
28185
|
}
|
|
28173
28186
|
|
|
28174
28187
|
export class DescribeGlobalDatabaseNetworkResponseBodyDBClusters extends $tea.Model {
|
|
28188
|
+
category?: string;
|
|
28175
28189
|
/**
|
|
28176
28190
|
* @remarks
|
|
28177
28191
|
* The description of the cluster.
|
|
@@ -28308,6 +28322,7 @@ export class DescribeGlobalDatabaseNetworkResponseBodyDBClusters extends $tea.Mo
|
|
|
28308
28322
|
storageUsed?: string;
|
|
28309
28323
|
static names(): { [key: string]: string } {
|
|
28310
28324
|
return {
|
|
28325
|
+
category: 'Category',
|
|
28311
28326
|
DBClusterDescription: 'DBClusterDescription',
|
|
28312
28327
|
DBClusterId: 'DBClusterId',
|
|
28313
28328
|
DBClusterStatus: 'DBClusterStatus',
|
|
@@ -28328,6 +28343,7 @@ export class DescribeGlobalDatabaseNetworkResponseBodyDBClusters extends $tea.Mo
|
|
|
28328
28343
|
|
|
28329
28344
|
static types(): { [key: string]: any } {
|
|
28330
28345
|
return {
|
|
28346
|
+
category: 'string',
|
|
28331
28347
|
DBClusterDescription: 'string',
|
|
28332
28348
|
DBClusterId: 'string',
|
|
28333
28349
|
DBClusterStatus: 'string',
|
|
@@ -29475,6 +29491,7 @@ export class DescribeScheduleTasksResponseBodyDataTimerInfos extends $tea.Model
|
|
|
29475
29491
|
* 2021-01-28T12:30Z
|
|
29476
29492
|
*/
|
|
29477
29493
|
plannedEndTime?: string;
|
|
29494
|
+
plannedFlashingOffTime?: string;
|
|
29478
29495
|
/**
|
|
29479
29496
|
* @remarks
|
|
29480
29497
|
* The earliest start time of the task that you specified when you created the scheduled task. The time is displayed in UTC.
|
|
@@ -29534,6 +29551,7 @@ export class DescribeScheduleTasksResponseBodyDataTimerInfos extends $tea.Model
|
|
|
29534
29551
|
dbClusterStatus: 'DbClusterStatus',
|
|
29535
29552
|
orderId: 'OrderId',
|
|
29536
29553
|
plannedEndTime: 'PlannedEndTime',
|
|
29554
|
+
plannedFlashingOffTime: 'PlannedFlashingOffTime',
|
|
29537
29555
|
plannedStartTime: 'PlannedStartTime',
|
|
29538
29556
|
plannedTime: 'PlannedTime',
|
|
29539
29557
|
region: 'Region',
|
|
@@ -29551,6 +29569,7 @@ export class DescribeScheduleTasksResponseBodyDataTimerInfos extends $tea.Model
|
|
|
29551
29569
|
dbClusterStatus: 'string',
|
|
29552
29570
|
orderId: 'string',
|
|
29553
29571
|
plannedEndTime: 'string',
|
|
29572
|
+
plannedFlashingOffTime: 'string',
|
|
29554
29573
|
plannedStartTime: 'string',
|
|
29555
29574
|
plannedTime: 'string',
|
|
29556
29575
|
region: 'string',
|
|
@@ -32144,6 +32163,10 @@ export default class Client extends OpenApi {
|
|
|
32144
32163
|
query["DBClusterId"] = request.DBClusterId;
|
|
32145
32164
|
}
|
|
32146
32165
|
|
|
32166
|
+
if (!Util.isUnset(request.enableGlobalDomainName)) {
|
|
32167
|
+
query["EnableGlobalDomainName"] = request.enableGlobalDomainName;
|
|
32168
|
+
}
|
|
32169
|
+
|
|
32147
32170
|
if (!Util.isUnset(request.GDNDescription)) {
|
|
32148
32171
|
query["GDNDescription"] = request.GDNDescription;
|
|
32149
32172
|
}
|
|
@@ -39563,6 +39586,10 @@ export default class Client extends OpenApi {
|
|
|
39563
39586
|
query["PlannedEndTime"] = request.plannedEndTime;
|
|
39564
39587
|
}
|
|
39565
39588
|
|
|
39589
|
+
if (!Util.isUnset(request.plannedFlashingOffTime)) {
|
|
39590
|
+
query["PlannedFlashingOffTime"] = request.plannedFlashingOffTime;
|
|
39591
|
+
}
|
|
39592
|
+
|
|
39566
39593
|
if (!Util.isUnset(request.plannedStartTime)) {
|
|
39567
39594
|
query["PlannedStartTime"] = request.plannedStartTime;
|
|
39568
39595
|
}
|
|
@@ -39711,6 +39738,10 @@ export default class Client extends OpenApi {
|
|
|
39711
39738
|
query["PlannedEndTime"] = request.plannedEndTime;
|
|
39712
39739
|
}
|
|
39713
39740
|
|
|
39741
|
+
if (!Util.isUnset(request.plannedFlashingOffTime)) {
|
|
39742
|
+
query["PlannedFlashingOffTime"] = request.plannedFlashingOffTime;
|
|
39743
|
+
}
|
|
39744
|
+
|
|
39714
39745
|
if (!Util.isUnset(request.plannedStartTime)) {
|
|
39715
39746
|
query["PlannedStartTime"] = request.plannedStartTime;
|
|
39716
39747
|
}
|
|
@@ -39847,6 +39878,10 @@ export default class Client extends OpenApi {
|
|
|
39847
39878
|
async modifyGlobalDatabaseNetworkWithOptions(request: ModifyGlobalDatabaseNetworkRequest, runtime: $Util.RuntimeOptions): Promise<ModifyGlobalDatabaseNetworkResponse> {
|
|
39848
39879
|
Util.validateModel(request);
|
|
39849
39880
|
let query = { };
|
|
39881
|
+
if (!Util.isUnset(request.enableGlobalDomainName)) {
|
|
39882
|
+
query["EnableGlobalDomainName"] = request.enableGlobalDomainName;
|
|
39883
|
+
}
|
|
39884
|
+
|
|
39850
39885
|
if (!Util.isUnset(request.GDNDescription)) {
|
|
39851
39886
|
query["GDNDescription"] = request.GDNDescription;
|
|
39852
39887
|
}
|