@volcengine/pulumi 0.0.38 → 0.0.40
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/nat/dnatEntry.d.ts +3 -3
- package/nat/gateway.d.ts +89 -5
- package/nat/gateway.js +70 -2
- package/nat/gateway.js.map +1 -1
- package/nat/getIps.d.ts +170 -0
- package/nat/getIps.js +111 -0
- package/nat/getIps.js.map +1 -0
- package/nat/index.d.ts +9 -0
- package/nat/index.js +12 -1
- package/nat/index.js.map +1 -1
- package/nat/ip.d.ts +157 -0
- package/nat/ip.js +113 -0
- package/nat/ip.js.map +1 -0
- package/nat/ips.d.ts +172 -0
- package/nat/ips.js +114 -0
- package/nat/ips.js.map +1 -0
- package/nat/snatEntry.d.ts +17 -5
- package/nat/snatEntry.js +2 -3
- package/nat/snatEntry.js.map +1 -1
- package/package.json +1 -1
- package/rds_postgresql/account.d.ts +20 -7
- package/rds_postgresql/account.js +6 -3
- package/rds_postgresql/account.js.map +1 -1
- package/rds_postgresql/allowlist.d.ts +76 -8
- package/rds_postgresql/allowlist.js +22 -7
- package/rds_postgresql/allowlist.js.map +1 -1
- package/rds_postgresql/allowlistVersionUpgrade.d.ts +59 -0
- package/rds_postgresql/allowlistVersionUpgrade.js +63 -0
- package/rds_postgresql/allowlistVersionUpgrade.js.map +1 -0
- package/rds_postgresql/allowlists.d.ts +73 -2
- package/rds_postgresql/allowlists.js +21 -2
- package/rds_postgresql/allowlists.js.map +1 -1
- package/rds_postgresql/backupDownload.d.ts +82 -0
- package/rds_postgresql/backupDownload.js +79 -0
- package/rds_postgresql/backupDownload.js.map +1 -0
- package/rds_postgresql/backupDownloads.d.ts +94 -0
- package/rds_postgresql/backupDownloads.js +52 -0
- package/rds_postgresql/backupDownloads.js.map +1 -0
- package/rds_postgresql/backupPolicies.d.ts +33 -0
- package/rds_postgresql/backupPolicies.js +23 -0
- package/rds_postgresql/backupPolicies.js.map +1 -0
- package/rds_postgresql/backupPolicy.d.ts +160 -0
- package/rds_postgresql/backupPolicy.js +94 -0
- package/rds_postgresql/backupPolicy.js.map +1 -0
- package/rds_postgresql/dataBackup.d.ts +163 -0
- package/rds_postgresql/dataBackup.js +109 -0
- package/rds_postgresql/dataBackup.js.map +1 -0
- package/rds_postgresql/dataBackups.d.ts +212 -0
- package/rds_postgresql/dataBackups.js +66 -0
- package/rds_postgresql/dataBackups.js.map +1 -0
- package/rds_postgresql/database.d.ts +43 -0
- package/rds_postgresql/database.js +13 -0
- package/rds_postgresql/database.js.map +1 -1
- package/rds_postgresql/databaseEndpoint.d.ts +280 -0
- package/rds_postgresql/databaseEndpoint.js +129 -0
- package/rds_postgresql/databaseEndpoint.js.map +1 -0
- package/rds_postgresql/databaseEndpoints.d.ts +88 -0
- package/rds_postgresql/databaseEndpoints.js +53 -0
- package/rds_postgresql/databaseEndpoints.js.map +1 -0
- package/rds_postgresql/endpointPublicAddress.d.ts +95 -0
- package/rds_postgresql/endpointPublicAddress.js +85 -0
- package/rds_postgresql/endpointPublicAddress.js.map +1 -0
- package/rds_postgresql/engineVersionParameters.d.ts +91 -0
- package/rds_postgresql/engineVersionParameters.js +52 -0
- package/rds_postgresql/engineVersionParameters.js.map +1 -0
- package/rds_postgresql/getAllowlists.d.ts +73 -2
- package/rds_postgresql/getAllowlists.js +21 -2
- package/rds_postgresql/getAllowlists.js.map +1 -1
- package/rds_postgresql/getBackupDownloads.d.ts +92 -0
- package/rds_postgresql/getBackupDownloads.js +49 -0
- package/rds_postgresql/getBackupDownloads.js.map +1 -0
- package/rds_postgresql/getBackupPolicies.d.ts +31 -0
- package/rds_postgresql/getBackupPolicies.js +20 -0
- package/rds_postgresql/getBackupPolicies.js.map +1 -0
- package/rds_postgresql/getDataBackups.d.ts +210 -0
- package/rds_postgresql/getDataBackups.js +63 -0
- package/rds_postgresql/getDataBackups.js.map +1 -0
- package/rds_postgresql/getDatabaseEndpoints.d.ts +86 -0
- package/rds_postgresql/getDatabaseEndpoints.js +50 -0
- package/rds_postgresql/getDatabaseEndpoints.js.map +1 -0
- package/rds_postgresql/getEngineVersionParameters.d.ts +89 -0
- package/rds_postgresql/getEngineVersionParameters.js +49 -0
- package/rds_postgresql/getEngineVersionParameters.js.map +1 -0
- package/rds_postgresql/getInstanceBackupDetacheds.d.ts +167 -0
- package/rds_postgresql/getInstanceBackupDetacheds.js +62 -0
- package/rds_postgresql/getInstanceBackupDetacheds.js.map +1 -0
- package/rds_postgresql/getInstanceBackupWalLogs.d.ts +111 -0
- package/rds_postgresql/getInstanceBackupWalLogs.js +55 -0
- package/rds_postgresql/getInstanceBackupWalLogs.js.map +1 -0
- package/rds_postgresql/getInstanceFailoverLogs.d.ts +108 -0
- package/rds_postgresql/getInstanceFailoverLogs.js +55 -0
- package/rds_postgresql/getInstanceFailoverLogs.js.map +1 -0
- package/rds_postgresql/getInstanceParameterLogs.d.ts +97 -0
- package/rds_postgresql/getInstanceParameterLogs.js +52 -0
- package/rds_postgresql/getInstanceParameterLogs.js.map +1 -0
- package/rds_postgresql/getInstanceParameters.d.ts +89 -0
- package/rds_postgresql/getInstanceParameters.js +49 -0
- package/rds_postgresql/getInstanceParameters.js.map +1 -0
- package/rds_postgresql/getInstancePriceDetails.d.ts +157 -0
- package/rds_postgresql/getInstancePriceDetails.js +103 -0
- package/rds_postgresql/getInstancePriceDetails.js.map +1 -0
- package/rds_postgresql/getInstancePriceDifferences.d.ts +172 -0
- package/rds_postgresql/getInstancePriceDifferences.js +94 -0
- package/rds_postgresql/getInstancePriceDifferences.js.map +1 -0
- package/rds_postgresql/getInstanceRecoverableTimes.d.ts +75 -0
- package/rds_postgresql/getInstanceRecoverableTimes.js +46 -0
- package/rds_postgresql/getInstanceRecoverableTimes.js.map +1 -0
- package/rds_postgresql/getInstanceSpecs.d.ts +120 -0
- package/rds_postgresql/getInstanceSpecs.js +56 -0
- package/rds_postgresql/getInstanceSpecs.js.map +1 -0
- package/rds_postgresql/getInstanceSsls.d.ts +101 -0
- package/rds_postgresql/getInstanceSsls.js +56 -0
- package/rds_postgresql/getInstanceSsls.js.map +1 -0
- package/rds_postgresql/getInstanceTasks.d.ts +160 -0
- package/rds_postgresql/getInstanceTasks.js +69 -0
- package/rds_postgresql/getInstanceTasks.js.map +1 -0
- package/rds_postgresql/getInstances.d.ts +24 -0
- package/rds_postgresql/getInstances.js +2 -0
- package/rds_postgresql/getInstances.js.map +1 -1
- package/rds_postgresql/getParameterTemplateApplyDiffs.d.ts +86 -0
- package/rds_postgresql/getParameterTemplateApplyDiffs.js +49 -0
- package/rds_postgresql/getParameterTemplateApplyDiffs.js.map +1 -0
- package/rds_postgresql/getParameterTemplates.d.ts +118 -0
- package/rds_postgresql/getParameterTemplates.js +54 -0
- package/rds_postgresql/getParameterTemplates.js.map +1 -0
- package/rds_postgresql/getPlannedEvents.d.ts +178 -0
- package/rds_postgresql/getPlannedEvents.js +71 -0
- package/rds_postgresql/getPlannedEvents.js.map +1 -0
- package/rds_postgresql/getRegions.d.ts +62 -0
- package/rds_postgresql/getRegions.js +42 -0
- package/rds_postgresql/getRegions.js.map +1 -0
- package/rds_postgresql/getReplicationSlots.d.ts +153 -0
- package/rds_postgresql/getReplicationSlots.js +59 -0
- package/rds_postgresql/getReplicationSlots.js.map +1 -0
- package/rds_postgresql/getZones.d.ts +71 -0
- package/rds_postgresql/getZones.js +43 -0
- package/rds_postgresql/getZones.js.map +1 -0
- package/rds_postgresql/index.d.ts +165 -0
- package/rds_postgresql/index.js +190 -1
- package/rds_postgresql/index.js.map +1 -1
- package/rds_postgresql/instance.d.ts +178 -11
- package/rds_postgresql/instance.js +50 -5
- package/rds_postgresql/instance.js.map +1 -1
- package/rds_postgresql/instanceBackupDetacheds.d.ts +169 -0
- package/rds_postgresql/instanceBackupDetacheds.js +65 -0
- package/rds_postgresql/instanceBackupDetacheds.js.map +1 -0
- package/rds_postgresql/instanceBackupWalLogs.d.ts +113 -0
- package/rds_postgresql/instanceBackupWalLogs.js +58 -0
- package/rds_postgresql/instanceBackupWalLogs.js.map +1 -0
- package/rds_postgresql/instanceFailoverLogs.d.ts +110 -0
- package/rds_postgresql/instanceFailoverLogs.js +58 -0
- package/rds_postgresql/instanceFailoverLogs.js.map +1 -0
- package/rds_postgresql/instanceParameterLogs.d.ts +99 -0
- package/rds_postgresql/instanceParameterLogs.js +55 -0
- package/rds_postgresql/instanceParameterLogs.js.map +1 -0
- package/rds_postgresql/instanceParameters.d.ts +91 -0
- package/rds_postgresql/instanceParameters.js +52 -0
- package/rds_postgresql/instanceParameters.js.map +1 -0
- package/rds_postgresql/instancePriceDetails.d.ts +159 -0
- package/rds_postgresql/instancePriceDetails.js +106 -0
- package/rds_postgresql/instancePriceDetails.js.map +1 -0
- package/rds_postgresql/instancePriceDifferences.d.ts +174 -0
- package/rds_postgresql/instancePriceDifferences.js +97 -0
- package/rds_postgresql/instancePriceDifferences.js.map +1 -0
- package/rds_postgresql/instanceRecoverableTimes.d.ts +77 -0
- package/rds_postgresql/instanceRecoverableTimes.js +49 -0
- package/rds_postgresql/instanceRecoverableTimes.js.map +1 -0
- package/rds_postgresql/instanceSpecs.d.ts +122 -0
- package/rds_postgresql/instanceSpecs.js +59 -0
- package/rds_postgresql/instanceSpecs.js.map +1 -0
- package/rds_postgresql/instanceSsl.d.ts +107 -0
- package/rds_postgresql/instanceSsl.js +81 -0
- package/rds_postgresql/instanceSsl.js.map +1 -0
- package/rds_postgresql/instanceSsls.d.ts +103 -0
- package/rds_postgresql/instanceSsls.js +59 -0
- package/rds_postgresql/instanceSsls.js.map +1 -0
- package/rds_postgresql/instanceTasks.d.ts +162 -0
- package/rds_postgresql/instanceTasks.js +72 -0
- package/rds_postgresql/instanceTasks.js.map +1 -0
- package/rds_postgresql/instances.d.ts +24 -0
- package/rds_postgresql/instances.js +2 -0
- package/rds_postgresql/instances.js.map +1 -1
- package/rds_postgresql/parameterTemplate.d.ts +178 -0
- package/rds_postgresql/parameterTemplate.js +117 -0
- package/rds_postgresql/parameterTemplate.js.map +1 -0
- package/rds_postgresql/parameterTemplateApplyDiffs.d.ts +88 -0
- package/rds_postgresql/parameterTemplateApplyDiffs.js +52 -0
- package/rds_postgresql/parameterTemplateApplyDiffs.js.map +1 -0
- package/rds_postgresql/parameterTemplates.d.ts +120 -0
- package/rds_postgresql/parameterTemplates.js +57 -0
- package/rds_postgresql/parameterTemplates.js.map +1 -0
- package/rds_postgresql/plannedEvents.d.ts +180 -0
- package/rds_postgresql/plannedEvents.js +74 -0
- package/rds_postgresql/plannedEvents.js.map +1 -0
- package/rds_postgresql/regions.d.ts +64 -0
- package/rds_postgresql/regions.js +45 -0
- package/rds_postgresql/regions.js.map +1 -0
- package/rds_postgresql/replicationSlot.d.ts +82 -0
- package/rds_postgresql/replicationSlot.js +79 -0
- package/rds_postgresql/replicationSlot.js.map +1 -0
- package/rds_postgresql/replicationSlots.d.ts +155 -0
- package/rds_postgresql/replicationSlots.js +62 -0
- package/rds_postgresql/replicationSlots.js.map +1 -0
- package/rds_postgresql/restoreBackup.d.ts +126 -0
- package/rds_postgresql/restoreBackup.js +100 -0
- package/rds_postgresql/restoreBackup.js.map +1 -0
- package/rds_postgresql/schema.d.ts +3 -3
- package/rds_postgresql/state.d.ts +106 -0
- package/rds_postgresql/state.js +83 -0
- package/rds_postgresql/state.js.map +1 -0
- package/rds_postgresql/zones.d.ts +73 -0
- package/rds_postgresql/zones.js +46 -0
- package/rds_postgresql/zones.js.map +1 -0
- package/tos/bucket.d.ts +16 -4
- package/tos/bucket.js +3 -1
- package/tos/bucket.js.map +1 -1
- package/tos/bucketAccessMonitor.d.ts +67 -0
- package/tos/bucketAccessMonitor.js +71 -0
- package/tos/bucketAccessMonitor.js.map +1 -0
- package/tos/bucketCustomdomain.d.ts +95 -0
- package/tos/bucketCustomdomain.js +90 -0
- package/tos/bucketCustomdomain.js.map +1 -0
- package/tos/bucketEncryption.d.ts +1 -1
- package/tos/bucketEncryption.js +1 -1
- package/tos/bucketLifecycle.d.ts +158 -0
- package/tos/bucketLifecycle.js +153 -0
- package/tos/bucketLifecycle.js.map +1 -0
- package/tos/bucketLogging.d.ts +88 -0
- package/tos/bucketLogging.js +80 -0
- package/tos/bucketLogging.js.map +1 -0
- package/tos/bucketMirrorBack.d.ts +72 -0
- package/tos/bucketMirrorBack.js +67 -0
- package/tos/bucketMirrorBack.js.map +1 -0
- package/tos/bucketObjectLockConfiguration.d.ts +89 -0
- package/tos/bucketObjectLockConfiguration.js +81 -0
- package/tos/bucketObjectLockConfiguration.js.map +1 -0
- package/tos/bucketRename.d.ts +67 -0
- package/tos/bucketRename.js +71 -0
- package/tos/bucketRename.js.map +1 -0
- package/tos/bucketReplication.d.ts +130 -0
- package/tos/bucketReplication.js +118 -0
- package/tos/bucketReplication.js.map +1 -0
- package/tos/bucketRequestPayment.d.ts +67 -0
- package/tos/bucketRequestPayment.js +71 -0
- package/tos/bucketRequestPayment.js.map +1 -0
- package/tos/bucketTransferAcceleration.d.ts +67 -0
- package/tos/bucketTransferAcceleration.js +71 -0
- package/tos/bucketTransferAcceleration.js.map +1 -0
- package/tos/bucketWebsite.d.ts +138 -0
- package/tos/bucketWebsite.js +103 -0
- package/tos/bucketWebsite.js.map +1 -0
- package/tos/buckets.d.ts +24 -0
- package/tos/buckets.js +2 -0
- package/tos/buckets.js.map +1 -1
- package/tos/getBuckets.d.ts +24 -0
- package/tos/getBuckets.js +2 -0
- package/tos/getBuckets.js.map +1 -1
- package/tos/index.d.ts +33 -0
- package/tos/index.js +56 -1
- package/tos/index.js.map +1 -1
- package/types/input.d.ts +1062 -84
- package/types/output.d.ts +3394 -466
- package/vpc/index.d.ts +3 -0
- package/vpc/index.js +6 -1
- package/vpc/index.js.map +1 -1
- package/vpc/userCidrBlockAssociate.d.ts +91 -0
- package/vpc/userCidrBlockAssociate.js +88 -0
- package/vpc/userCidrBlockAssociate.js.map +1 -0
- package/vpc/vpc.d.ts +8 -0
- package/vpc/vpc.js +2 -0
- package/vpc/vpc.js.map +1 -1
package/types/output.d.ts
CHANGED
|
@@ -25277,6 +25277,10 @@ export declare namespace nat {
|
|
|
25277
25277
|
* The port or port segment that receives requests from the public network. If InternalPort is passed into the port segment, ExternalPort must also be passed into the port segment.
|
|
25278
25278
|
*/
|
|
25279
25279
|
externalPort: string;
|
|
25280
|
+
/**
|
|
25281
|
+
* The ID of the DNAT entry.
|
|
25282
|
+
*/
|
|
25283
|
+
id: string;
|
|
25280
25284
|
/**
|
|
25281
25285
|
* Provides the internal IP address.
|
|
25282
25286
|
*/
|
|
@@ -25329,6 +25333,10 @@ export declare namespace nat {
|
|
|
25329
25333
|
* The description of the NatGateway.
|
|
25330
25334
|
*/
|
|
25331
25335
|
description: string;
|
|
25336
|
+
/**
|
|
25337
|
+
* A list of dnat entry ids.
|
|
25338
|
+
*/
|
|
25339
|
+
dnatEntryIds: string[];
|
|
25332
25340
|
/**
|
|
25333
25341
|
* The eip addresses of the NatGateway.
|
|
25334
25342
|
*/
|
|
@@ -25353,10 +25361,18 @@ export declare namespace nat {
|
|
|
25353
25361
|
* The ID of the network interface.
|
|
25354
25362
|
*/
|
|
25355
25363
|
networkInterfaceId: string;
|
|
25364
|
+
/**
|
|
25365
|
+
* The network type of the NatGateway.
|
|
25366
|
+
*/
|
|
25367
|
+
networkType: string;
|
|
25356
25368
|
/**
|
|
25357
25369
|
* The overdue time of the NatGateway.
|
|
25358
25370
|
*/
|
|
25359
25371
|
overdueTime: string;
|
|
25372
|
+
/**
|
|
25373
|
+
* A list of snat entry ids.
|
|
25374
|
+
*/
|
|
25375
|
+
snatEntryIds: string[];
|
|
25360
25376
|
/**
|
|
25361
25377
|
* The specification of the NatGateway.
|
|
25362
25378
|
*/
|
|
@@ -25433,6 +25449,10 @@ export declare namespace nat {
|
|
|
25433
25449
|
* The port or port segment that receives requests from the public network. If InternalPort is passed into the port segment, ExternalPort must also be passed into the port segment.
|
|
25434
25450
|
*/
|
|
25435
25451
|
externalPort: string;
|
|
25452
|
+
/**
|
|
25453
|
+
* The ID of the DNAT entry.
|
|
25454
|
+
*/
|
|
25455
|
+
id: string;
|
|
25436
25456
|
/**
|
|
25437
25457
|
* Provides the internal IP address.
|
|
25438
25458
|
*/
|
|
@@ -25475,6 +25495,10 @@ export declare namespace nat {
|
|
|
25475
25495
|
* The description of the NatGateway.
|
|
25476
25496
|
*/
|
|
25477
25497
|
description: string;
|
|
25498
|
+
/**
|
|
25499
|
+
* A list of dnat entry ids.
|
|
25500
|
+
*/
|
|
25501
|
+
dnatEntryIds: string[];
|
|
25478
25502
|
/**
|
|
25479
25503
|
* The eip addresses of the NatGateway.
|
|
25480
25504
|
*/
|
|
@@ -25499,10 +25523,18 @@ export declare namespace nat {
|
|
|
25499
25523
|
* The ID of the network interface.
|
|
25500
25524
|
*/
|
|
25501
25525
|
networkInterfaceId: string;
|
|
25526
|
+
/**
|
|
25527
|
+
* The network type of the NatGateway.
|
|
25528
|
+
*/
|
|
25529
|
+
networkType: string;
|
|
25502
25530
|
/**
|
|
25503
25531
|
* The overdue time of the NatGateway.
|
|
25504
25532
|
*/
|
|
25505
25533
|
overdueTime: string;
|
|
25534
|
+
/**
|
|
25535
|
+
* A list of snat entry ids.
|
|
25536
|
+
*/
|
|
25537
|
+
snatEntryIds: string[];
|
|
25506
25538
|
/**
|
|
25507
25539
|
* The specification of the NatGateway.
|
|
25508
25540
|
*/
|
|
@@ -25562,6 +25594,44 @@ export declare namespace nat {
|
|
|
25562
25594
|
*/
|
|
25563
25595
|
value: string;
|
|
25564
25596
|
}
|
|
25597
|
+
interface GetIpsNatIp {
|
|
25598
|
+
/**
|
|
25599
|
+
* The id of the Nat Ip.
|
|
25600
|
+
*/
|
|
25601
|
+
id: string;
|
|
25602
|
+
/**
|
|
25603
|
+
* Whether the Ip is the default Nat Ip.
|
|
25604
|
+
*/
|
|
25605
|
+
isDefault: boolean;
|
|
25606
|
+
/**
|
|
25607
|
+
* The id of the Nat gateway.
|
|
25608
|
+
*/
|
|
25609
|
+
natGatewayId: string;
|
|
25610
|
+
/**
|
|
25611
|
+
* The ip address of the Nat Ip.
|
|
25612
|
+
*/
|
|
25613
|
+
natIp: string;
|
|
25614
|
+
/**
|
|
25615
|
+
* The description of the Nat Ip.
|
|
25616
|
+
*/
|
|
25617
|
+
natIpDescription: string;
|
|
25618
|
+
/**
|
|
25619
|
+
* The id of the Nat Ip.
|
|
25620
|
+
*/
|
|
25621
|
+
natIpId: string;
|
|
25622
|
+
/**
|
|
25623
|
+
* The name of the Nat IP.
|
|
25624
|
+
*/
|
|
25625
|
+
natIpName: string;
|
|
25626
|
+
/**
|
|
25627
|
+
* The status of the Nat Ip.
|
|
25628
|
+
*/
|
|
25629
|
+
status: string;
|
|
25630
|
+
/**
|
|
25631
|
+
* The using status of the Nat Ip.
|
|
25632
|
+
*/
|
|
25633
|
+
usingStatus: string;
|
|
25634
|
+
}
|
|
25565
25635
|
interface GetSnatEntriesSnatEntry {
|
|
25566
25636
|
/**
|
|
25567
25637
|
* The public ip address used by the SNAT entry.
|
|
@@ -25579,6 +25649,10 @@ export declare namespace nat {
|
|
|
25579
25649
|
* An id of the nat gateway to which the entry belongs.
|
|
25580
25650
|
*/
|
|
25581
25651
|
natGatewayId: string;
|
|
25652
|
+
/**
|
|
25653
|
+
* The ID of the intranet NAT gateway's transit IP.
|
|
25654
|
+
*/
|
|
25655
|
+
natIpId: string;
|
|
25582
25656
|
/**
|
|
25583
25657
|
* The id of the SNAT entry.
|
|
25584
25658
|
*/
|
|
@@ -25600,6 +25674,44 @@ export declare namespace nat {
|
|
|
25600
25674
|
*/
|
|
25601
25675
|
subnetId: string;
|
|
25602
25676
|
}
|
|
25677
|
+
interface IpsNatIp {
|
|
25678
|
+
/**
|
|
25679
|
+
* The id of the Nat Ip.
|
|
25680
|
+
*/
|
|
25681
|
+
id: string;
|
|
25682
|
+
/**
|
|
25683
|
+
* Whether the Ip is the default Nat Ip.
|
|
25684
|
+
*/
|
|
25685
|
+
isDefault: boolean;
|
|
25686
|
+
/**
|
|
25687
|
+
* The id of the Nat gateway.
|
|
25688
|
+
*/
|
|
25689
|
+
natGatewayId: string;
|
|
25690
|
+
/**
|
|
25691
|
+
* The ip address of the Nat Ip.
|
|
25692
|
+
*/
|
|
25693
|
+
natIp: string;
|
|
25694
|
+
/**
|
|
25695
|
+
* The description of the Nat Ip.
|
|
25696
|
+
*/
|
|
25697
|
+
natIpDescription: string;
|
|
25698
|
+
/**
|
|
25699
|
+
* The id of the Nat Ip.
|
|
25700
|
+
*/
|
|
25701
|
+
natIpId: string;
|
|
25702
|
+
/**
|
|
25703
|
+
* The name of the Nat IP.
|
|
25704
|
+
*/
|
|
25705
|
+
natIpName: string;
|
|
25706
|
+
/**
|
|
25707
|
+
* The status of the Nat Ip.
|
|
25708
|
+
*/
|
|
25709
|
+
status: string;
|
|
25710
|
+
/**
|
|
25711
|
+
* The using status of the Nat Ip.
|
|
25712
|
+
*/
|
|
25713
|
+
usingStatus: string;
|
|
25714
|
+
}
|
|
25603
25715
|
interface SnatEntriesSnatEntry {
|
|
25604
25716
|
/**
|
|
25605
25717
|
* The public ip address used by the SNAT entry.
|
|
@@ -25617,6 +25729,10 @@ export declare namespace nat {
|
|
|
25617
25729
|
* An id of the nat gateway to which the entry belongs.
|
|
25618
25730
|
*/
|
|
25619
25731
|
natGatewayId: string;
|
|
25732
|
+
/**
|
|
25733
|
+
* The ID of the intranet NAT gateway's transit IP.
|
|
25734
|
+
*/
|
|
25735
|
+
natIpId: string;
|
|
25620
25736
|
/**
|
|
25621
25737
|
* The id of the SNAT entry.
|
|
25622
25738
|
*/
|
|
@@ -32614,6 +32730,10 @@ export declare namespace rds_postgresql {
|
|
|
32614
32730
|
* The type of the database account.
|
|
32615
32731
|
*/
|
|
32616
32732
|
accountType: string;
|
|
32733
|
+
/**
|
|
32734
|
+
* The privileges to be disabled for the account.
|
|
32735
|
+
*/
|
|
32736
|
+
notAllowPrivileges: string[];
|
|
32617
32737
|
}
|
|
32618
32738
|
interface AllowlistAssociatedInstance {
|
|
32619
32739
|
/**
|
|
@@ -32629,9 +32749,31 @@ export declare namespace rds_postgresql {
|
|
|
32629
32749
|
*/
|
|
32630
32750
|
vpc: string;
|
|
32631
32751
|
}
|
|
32752
|
+
interface AllowlistSecurityGroupBindInfo {
|
|
32753
|
+
/**
|
|
32754
|
+
* The binding mode of the security group. Valid values: IngressDirectionIp, AssociateEcsIp.
|
|
32755
|
+
*/
|
|
32756
|
+
bindMode: string;
|
|
32757
|
+
/**
|
|
32758
|
+
* IP addresses in the security group.
|
|
32759
|
+
*/
|
|
32760
|
+
ipLists?: string[];
|
|
32761
|
+
/**
|
|
32762
|
+
* The ID of the security group.
|
|
32763
|
+
*/
|
|
32764
|
+
securityGroupId: string;
|
|
32765
|
+
/**
|
|
32766
|
+
* The name of the security group.
|
|
32767
|
+
*/
|
|
32768
|
+
securityGroupName?: string;
|
|
32769
|
+
}
|
|
32632
32770
|
interface AllowlistsPostgresqlAllowList {
|
|
32633
32771
|
/**
|
|
32634
|
-
* The
|
|
32772
|
+
* The category of the postgresql allow list. Valid values: Ordinary, Default.
|
|
32773
|
+
*/
|
|
32774
|
+
allowListCategory: string;
|
|
32775
|
+
/**
|
|
32776
|
+
* The description of the postgresql allow list. Perform a fuzzy search based on the description information.
|
|
32635
32777
|
*/
|
|
32636
32778
|
allowListDesc: string;
|
|
32637
32779
|
/**
|
|
@@ -32666,6 +32808,14 @@ export declare namespace rds_postgresql {
|
|
|
32666
32808
|
* The id of the postgresql allow list.
|
|
32667
32809
|
*/
|
|
32668
32810
|
id: string;
|
|
32811
|
+
/**
|
|
32812
|
+
* The information of the security group bound by the allowlist.
|
|
32813
|
+
*/
|
|
32814
|
+
securityGroupBindInfos: outputs.rds_postgresql.AllowlistsPostgresqlAllowListSecurityGroupBindInfo[];
|
|
32815
|
+
/**
|
|
32816
|
+
* IP addresses outside the security group and added to the allowlist.
|
|
32817
|
+
*/
|
|
32818
|
+
userAllowLists: string[];
|
|
32669
32819
|
}
|
|
32670
32820
|
interface AllowlistsPostgresqlAllowListAssociatedInstance {
|
|
32671
32821
|
/**
|
|
@@ -32681,103 +32831,239 @@ export declare namespace rds_postgresql {
|
|
|
32681
32831
|
*/
|
|
32682
32832
|
vpc: string;
|
|
32683
32833
|
}
|
|
32684
|
-
interface
|
|
32834
|
+
interface AllowlistsPostgresqlAllowListSecurityGroupBindInfo {
|
|
32685
32835
|
/**
|
|
32686
|
-
*
|
|
32836
|
+
* The binding mode of the security group.
|
|
32687
32837
|
*/
|
|
32688
|
-
|
|
32838
|
+
bindMode: string;
|
|
32689
32839
|
/**
|
|
32690
|
-
*
|
|
32840
|
+
* IP addresses in the security group.
|
|
32691
32841
|
*/
|
|
32692
|
-
|
|
32842
|
+
ipLists: string[];
|
|
32693
32843
|
/**
|
|
32694
|
-
* The
|
|
32844
|
+
* The ID of the security group.
|
|
32695
32845
|
*/
|
|
32696
|
-
|
|
32846
|
+
securityGroupId: string;
|
|
32697
32847
|
/**
|
|
32698
|
-
* The name of the
|
|
32848
|
+
* The name of the security group.
|
|
32699
32849
|
*/
|
|
32700
|
-
|
|
32850
|
+
securityGroupName: string;
|
|
32851
|
+
}
|
|
32852
|
+
interface BackupDownloadsDownload {
|
|
32701
32853
|
/**
|
|
32702
|
-
* The
|
|
32854
|
+
* The description of the backup set.
|
|
32703
32855
|
*/
|
|
32704
|
-
|
|
32856
|
+
backupDescription: string;
|
|
32705
32857
|
/**
|
|
32706
|
-
* The
|
|
32858
|
+
* The public network download address of the backup.
|
|
32707
32859
|
*/
|
|
32708
|
-
|
|
32860
|
+
backupDownloadLink: string;
|
|
32861
|
+
/**
|
|
32862
|
+
* The name of the backup file.
|
|
32863
|
+
*/
|
|
32864
|
+
backupFileName: string;
|
|
32865
|
+
/**
|
|
32866
|
+
* The size of the backup file, in Byte.
|
|
32867
|
+
*/
|
|
32868
|
+
backupFileSize: number;
|
|
32869
|
+
/**
|
|
32870
|
+
* The ID of the logical backup to be downloaded.
|
|
32871
|
+
*/
|
|
32872
|
+
backupId: string;
|
|
32873
|
+
/**
|
|
32874
|
+
* The type of the backup.
|
|
32875
|
+
*/
|
|
32876
|
+
backupMethod: string;
|
|
32877
|
+
/**
|
|
32878
|
+
* The inner network download address of the backup.
|
|
32879
|
+
*/
|
|
32880
|
+
innerBackupDownloadLink: string;
|
|
32881
|
+
/**
|
|
32882
|
+
* The id of the PostgreSQL instance.
|
|
32883
|
+
*/
|
|
32884
|
+
instanceId: string;
|
|
32885
|
+
/**
|
|
32886
|
+
* Expiration time of the download link, format:yyyy-MM-ddTHH:mm:ss.sssZ (UTC time).
|
|
32887
|
+
*/
|
|
32888
|
+
linkExpiredTime: string;
|
|
32889
|
+
/**
|
|
32890
|
+
* The prepare progress of the backup.
|
|
32891
|
+
*/
|
|
32892
|
+
prepareProgress: number;
|
|
32709
32893
|
}
|
|
32710
|
-
interface
|
|
32894
|
+
interface BackupPoliciesBackupPolicy {
|
|
32711
32895
|
/**
|
|
32712
|
-
* The
|
|
32896
|
+
* The backup retention period.
|
|
32713
32897
|
*/
|
|
32714
|
-
|
|
32898
|
+
backupRetentionPeriod: number;
|
|
32715
32899
|
/**
|
|
32716
|
-
* The
|
|
32900
|
+
* The backup increment data backup periods.
|
|
32717
32901
|
*/
|
|
32718
|
-
|
|
32902
|
+
dataIncrBackupPeriods: string;
|
|
32719
32903
|
/**
|
|
32720
|
-
* The
|
|
32904
|
+
* The full backup period.
|
|
32721
32905
|
*/
|
|
32722
|
-
|
|
32906
|
+
fullBackupPeriod: string;
|
|
32723
32907
|
/**
|
|
32724
|
-
* The
|
|
32908
|
+
* The time when the backup task is executed. Format: HH:mmZ-HH:mmZ (UTC time).
|
|
32725
32909
|
*/
|
|
32726
|
-
|
|
32910
|
+
fullBackupTime: string;
|
|
32911
|
+
/**
|
|
32912
|
+
* Whether to enable the high-frequency backup function.
|
|
32913
|
+
*/
|
|
32914
|
+
hourlyIncrBackupEnable: boolean;
|
|
32915
|
+
/**
|
|
32916
|
+
* The frequency of increment backup.
|
|
32917
|
+
*/
|
|
32918
|
+
incrementBackupFrequency: number;
|
|
32919
|
+
/**
|
|
32920
|
+
* The id of the PostgreSQL instance.
|
|
32921
|
+
*/
|
|
32922
|
+
instanceId: string;
|
|
32923
|
+
/**
|
|
32924
|
+
* Status of the local remaining available space protection function.
|
|
32925
|
+
*/
|
|
32926
|
+
walLogSpaceLimitEnable: boolean;
|
|
32727
32927
|
}
|
|
32728
|
-
interface
|
|
32928
|
+
interface DataBackupBackupMeta {
|
|
32729
32929
|
/**
|
|
32730
|
-
* The
|
|
32930
|
+
* The name of the database.
|
|
32731
32931
|
*/
|
|
32732
|
-
|
|
32932
|
+
dbName: string;
|
|
32933
|
+
}
|
|
32934
|
+
interface DataBackupsBackup {
|
|
32733
32935
|
/**
|
|
32734
|
-
* The
|
|
32936
|
+
* The original size of the data contained in the backup, in Bytes.
|
|
32735
32937
|
*/
|
|
32736
|
-
|
|
32938
|
+
backupDataSize: number;
|
|
32737
32939
|
/**
|
|
32738
|
-
* The
|
|
32940
|
+
* The description of the backup set.
|
|
32739
32941
|
*/
|
|
32740
|
-
|
|
32942
|
+
backupDescription: string;
|
|
32741
32943
|
/**
|
|
32742
|
-
* The
|
|
32944
|
+
* The latest time when the backup is created, in the format of yyyy-MM-ddTHH:mm:ss.sssZ (UTC time).
|
|
32743
32945
|
*/
|
|
32744
|
-
|
|
32946
|
+
backupEndTime: string;
|
|
32745
32947
|
/**
|
|
32746
|
-
* The
|
|
32948
|
+
* The name of the backup file.
|
|
32747
32949
|
*/
|
|
32748
|
-
|
|
32950
|
+
backupFileName: string;
|
|
32749
32951
|
/**
|
|
32750
|
-
* The
|
|
32952
|
+
* The size of the backup file, in Byte.
|
|
32751
32953
|
*/
|
|
32752
|
-
|
|
32954
|
+
backupFileSize: number;
|
|
32753
32955
|
/**
|
|
32754
|
-
* The
|
|
32956
|
+
* The ID of the backup.
|
|
32755
32957
|
*/
|
|
32756
|
-
|
|
32958
|
+
backupId: string;
|
|
32757
32959
|
/**
|
|
32758
|
-
* The
|
|
32960
|
+
* The information about the databases included in the backup.
|
|
32759
32961
|
*/
|
|
32760
|
-
|
|
32962
|
+
backupMetas: outputs.rds_postgresql.DataBackupsBackupBackupMeta[];
|
|
32761
32963
|
/**
|
|
32762
|
-
* The
|
|
32964
|
+
* The method of the backup: Physical, Logical.
|
|
32763
32965
|
*/
|
|
32764
|
-
|
|
32966
|
+
backupMethod: string;
|
|
32967
|
+
/**
|
|
32968
|
+
* The progress of the backup. The unit is percentage.
|
|
32969
|
+
*/
|
|
32970
|
+
backupProgress: number;
|
|
32971
|
+
/**
|
|
32972
|
+
* The scope of the backup: Instance, Database.
|
|
32973
|
+
*/
|
|
32974
|
+
backupScope: string;
|
|
32975
|
+
/**
|
|
32976
|
+
* The earliest time when the backup is created, in the format of yyyy-MM-ddTHH:mm:ss.sssZ (UTC time).
|
|
32977
|
+
*/
|
|
32978
|
+
backupStartTime: string;
|
|
32979
|
+
/**
|
|
32980
|
+
* The status of the backup: Success, Failed, Running.
|
|
32981
|
+
*/
|
|
32982
|
+
backupStatus: string;
|
|
32983
|
+
/**
|
|
32984
|
+
* The type of the backup: Full, Increment.
|
|
32985
|
+
*/
|
|
32986
|
+
backupType: string;
|
|
32987
|
+
/**
|
|
32988
|
+
* The creation type of the backup: System, User.
|
|
32989
|
+
*/
|
|
32990
|
+
createType: string;
|
|
32991
|
+
/**
|
|
32992
|
+
* The downloadable status of the backup set. NotAllowed: download is not supported. NeedToPrepare: the backup set is in place and needs background preparation for backup. LinkReady: the backup set is ready for download.
|
|
32993
|
+
*/
|
|
32994
|
+
downloadStatus: string;
|
|
32765
32995
|
}
|
|
32766
|
-
interface
|
|
32996
|
+
interface DataBackupsBackupBackupMeta {
|
|
32767
32997
|
/**
|
|
32768
|
-
* The
|
|
32998
|
+
* The name of the database.
|
|
32769
32999
|
*/
|
|
32770
|
-
|
|
33000
|
+
dbName: string;
|
|
33001
|
+
}
|
|
33002
|
+
interface DatabaseEndpointReadOnlyNodeWeight {
|
|
32771
33003
|
/**
|
|
32772
|
-
*
|
|
33004
|
+
* A read-only node requires passing in the NodeId. A primary node does not need to pass in the NodeId.
|
|
32773
33005
|
*/
|
|
32774
|
-
|
|
33006
|
+
nodeId?: string;
|
|
32775
33007
|
/**
|
|
32776
|
-
*
|
|
33008
|
+
* Node type. Primary or ReadOnly.
|
|
32777
33009
|
*/
|
|
32778
|
-
|
|
33010
|
+
nodeType?: string;
|
|
33011
|
+
/**
|
|
33012
|
+
* Custom read weight allocation. Increases by 100, with a maximum value of 40000. Weights cannot all be set to 0.
|
|
33013
|
+
*/
|
|
33014
|
+
weight: number;
|
|
32779
33015
|
}
|
|
32780
|
-
interface
|
|
33016
|
+
interface DatabaseEndpointsEndpoint {
|
|
33017
|
+
/**
|
|
33018
|
+
* Cross-region domain for private address.
|
|
33019
|
+
*/
|
|
33020
|
+
crossRegionDomain: string;
|
|
33021
|
+
/**
|
|
33022
|
+
* Whether to enable public network resolution.
|
|
33023
|
+
*/
|
|
33024
|
+
dnsVisibility: boolean;
|
|
33025
|
+
/**
|
|
33026
|
+
* Connect domain name.
|
|
33027
|
+
*/
|
|
33028
|
+
domain: string;
|
|
33029
|
+
/**
|
|
33030
|
+
* The ID of the RDS PostgreSQL database endpoint.
|
|
33031
|
+
*/
|
|
33032
|
+
endpointId: string;
|
|
33033
|
+
/**
|
|
33034
|
+
* The name of the RDS PostgreSQL database endpoint.
|
|
33035
|
+
*/
|
|
33036
|
+
endpointName: string;
|
|
33037
|
+
/**
|
|
33038
|
+
* The type of the RDS PostgreSQL database endpoint. Valid values: `Custom`(custom endpoint), `Cluster`(default endpoint).
|
|
33039
|
+
*/
|
|
33040
|
+
endpointType: string;
|
|
33041
|
+
/**
|
|
33042
|
+
* The endpoint port.
|
|
33043
|
+
*/
|
|
33044
|
+
port: string;
|
|
33045
|
+
/**
|
|
33046
|
+
* The distribution type of the read-only nodes.
|
|
33047
|
+
*/
|
|
33048
|
+
readOnlyNodeDistributionType: string;
|
|
33049
|
+
/**
|
|
33050
|
+
* ReadOnly node max delay seconds.
|
|
33051
|
+
*/
|
|
33052
|
+
readOnlyNodeMaxDelayTime: number;
|
|
33053
|
+
/**
|
|
33054
|
+
* ReadWrite or ReadOnly. Default value is ReadOnly.
|
|
33055
|
+
*/
|
|
33056
|
+
readWriteMode: string;
|
|
33057
|
+
/**
|
|
33058
|
+
* The number of proxy connections set for the terminal.
|
|
33059
|
+
*/
|
|
33060
|
+
readWriteProxyConnection: number;
|
|
33061
|
+
/**
|
|
33062
|
+
* Whether the endpoint sends write requests to the write node.
|
|
33063
|
+
*/
|
|
33064
|
+
writeNodeHaltWriting: boolean;
|
|
33065
|
+
}
|
|
33066
|
+
interface DatabasesDatabase {
|
|
32781
33067
|
/**
|
|
32782
33068
|
* Character classification.
|
|
32783
33069
|
*/
|
|
@@ -32803,343 +33089,2528 @@ export declare namespace rds_postgresql {
|
|
|
32803
33089
|
*/
|
|
32804
33090
|
owner: string;
|
|
32805
33091
|
}
|
|
33092
|
+
interface EngineVersionParametersDbEngineVersionParameter {
|
|
33093
|
+
/**
|
|
33094
|
+
* The database engine version of the RDS PostgreSQL instance. Valid value: PostgreSQL_11, PostgreSQL_12, PostgreSQL_13, PostgreSQL_14, PostgreSQL_15, PostgreSQL_16, PostgreSQL_17.
|
|
33095
|
+
*/
|
|
33096
|
+
dbEngineVersion: string;
|
|
33097
|
+
/**
|
|
33098
|
+
* The number of parameters that users can set under the specified database engine version.
|
|
33099
|
+
*/
|
|
33100
|
+
parameterCount: string;
|
|
33101
|
+
/**
|
|
33102
|
+
* The collection of parameters that users can set under the specified database engine version.
|
|
33103
|
+
*/
|
|
33104
|
+
parameters: outputs.rds_postgresql.EngineVersionParametersDbEngineVersionParameterParameter[];
|
|
33105
|
+
}
|
|
33106
|
+
interface EngineVersionParametersDbEngineVersionParameterParameter {
|
|
33107
|
+
/**
|
|
33108
|
+
* The value range of the parameter.
|
|
33109
|
+
*/
|
|
33110
|
+
checkingCode: string;
|
|
33111
|
+
/**
|
|
33112
|
+
* Parameter default value. Refers to the default value provided in the default template corresponding to this instance.
|
|
33113
|
+
*/
|
|
33114
|
+
defaultValue: string;
|
|
33115
|
+
/**
|
|
33116
|
+
* Indicates whether a restart is required after the parameter is modified.
|
|
33117
|
+
*/
|
|
33118
|
+
forceRestart: boolean;
|
|
33119
|
+
/**
|
|
33120
|
+
* The name of the parameter.
|
|
33121
|
+
*/
|
|
33122
|
+
name: string;
|
|
33123
|
+
/**
|
|
33124
|
+
* The type of the parameter.
|
|
33125
|
+
*/
|
|
33126
|
+
type: string;
|
|
33127
|
+
}
|
|
33128
|
+
interface GetAccountsAccount {
|
|
33129
|
+
/**
|
|
33130
|
+
* The name of the database account. This field supports fuzzy query.
|
|
33131
|
+
*/
|
|
33132
|
+
accountName: string;
|
|
33133
|
+
/**
|
|
33134
|
+
* The privileges of the database account.
|
|
33135
|
+
*/
|
|
33136
|
+
accountPrivileges: string;
|
|
33137
|
+
/**
|
|
33138
|
+
* The status of the database account.
|
|
33139
|
+
*/
|
|
33140
|
+
accountStatus: string;
|
|
33141
|
+
/**
|
|
33142
|
+
* The type of the database account.
|
|
33143
|
+
*/
|
|
33144
|
+
accountType: string;
|
|
33145
|
+
/**
|
|
33146
|
+
* The privileges to be disabled for the account.
|
|
33147
|
+
*/
|
|
33148
|
+
notAllowPrivileges: string[];
|
|
33149
|
+
}
|
|
33150
|
+
interface GetAllowlistsPostgresqlAllowList {
|
|
33151
|
+
/**
|
|
33152
|
+
* The category of the postgresql allow list. Valid values: Ordinary, Default.
|
|
33153
|
+
*/
|
|
33154
|
+
allowListCategory: string;
|
|
33155
|
+
/**
|
|
33156
|
+
* The description of the postgresql allow list. Perform a fuzzy search based on the description information.
|
|
33157
|
+
*/
|
|
33158
|
+
allowListDesc: string;
|
|
33159
|
+
/**
|
|
33160
|
+
* The id of the postgresql allow list.
|
|
33161
|
+
*/
|
|
33162
|
+
allowListId: string;
|
|
33163
|
+
/**
|
|
33164
|
+
* The total number of IP addresses (or address ranges) in the whitelist.
|
|
33165
|
+
*/
|
|
33166
|
+
allowListIpNum: number;
|
|
33167
|
+
/**
|
|
33168
|
+
* The name of the postgresql allow list.
|
|
33169
|
+
*/
|
|
33170
|
+
allowListName: string;
|
|
33171
|
+
/**
|
|
33172
|
+
* The type of the postgresql allow list.
|
|
33173
|
+
*/
|
|
33174
|
+
allowListType: string;
|
|
33175
|
+
/**
|
|
33176
|
+
* The IP address or a range of IP addresses in CIDR format.
|
|
33177
|
+
*/
|
|
33178
|
+
allowLists: string[];
|
|
33179
|
+
/**
|
|
33180
|
+
* The total number of instances bound under the whitelist.
|
|
33181
|
+
*/
|
|
33182
|
+
associatedInstanceNum: number;
|
|
33183
|
+
/**
|
|
33184
|
+
* The list of postgresql instances.
|
|
33185
|
+
*/
|
|
33186
|
+
associatedInstances: outputs.rds_postgresql.GetAllowlistsPostgresqlAllowListAssociatedInstance[];
|
|
33187
|
+
/**
|
|
33188
|
+
* The id of the postgresql allow list.
|
|
33189
|
+
*/
|
|
33190
|
+
id: string;
|
|
33191
|
+
/**
|
|
33192
|
+
* The information of the security group bound by the allowlist.
|
|
33193
|
+
*/
|
|
33194
|
+
securityGroupBindInfos: outputs.rds_postgresql.GetAllowlistsPostgresqlAllowListSecurityGroupBindInfo[];
|
|
33195
|
+
/**
|
|
33196
|
+
* IP addresses outside the security group and added to the allowlist.
|
|
33197
|
+
*/
|
|
33198
|
+
userAllowLists: string[];
|
|
33199
|
+
}
|
|
33200
|
+
interface GetAllowlistsPostgresqlAllowListAssociatedInstance {
|
|
33201
|
+
/**
|
|
33202
|
+
* The id of the postgresql Instance.
|
|
33203
|
+
*/
|
|
33204
|
+
instanceId: string;
|
|
33205
|
+
/**
|
|
33206
|
+
* The name of the postgresql instance.
|
|
33207
|
+
*/
|
|
33208
|
+
instanceName: string;
|
|
33209
|
+
/**
|
|
33210
|
+
* The id of the vpc.
|
|
33211
|
+
*/
|
|
33212
|
+
vpc: string;
|
|
33213
|
+
}
|
|
33214
|
+
interface GetAllowlistsPostgresqlAllowListSecurityGroupBindInfo {
|
|
33215
|
+
/**
|
|
33216
|
+
* The binding mode of the security group.
|
|
33217
|
+
*/
|
|
33218
|
+
bindMode: string;
|
|
33219
|
+
/**
|
|
33220
|
+
* IP addresses in the security group.
|
|
33221
|
+
*/
|
|
33222
|
+
ipLists: string[];
|
|
33223
|
+
/**
|
|
33224
|
+
* The ID of the security group.
|
|
33225
|
+
*/
|
|
33226
|
+
securityGroupId: string;
|
|
33227
|
+
/**
|
|
33228
|
+
* The name of the security group.
|
|
33229
|
+
*/
|
|
33230
|
+
securityGroupName: string;
|
|
33231
|
+
}
|
|
33232
|
+
interface GetBackupDownloadsDownload {
|
|
33233
|
+
/**
|
|
33234
|
+
* The description of the backup set.
|
|
33235
|
+
*/
|
|
33236
|
+
backupDescription: string;
|
|
33237
|
+
/**
|
|
33238
|
+
* The public network download address of the backup.
|
|
33239
|
+
*/
|
|
33240
|
+
backupDownloadLink: string;
|
|
33241
|
+
/**
|
|
33242
|
+
* The name of the backup file.
|
|
33243
|
+
*/
|
|
33244
|
+
backupFileName: string;
|
|
33245
|
+
/**
|
|
33246
|
+
* The size of the backup file, in Byte.
|
|
33247
|
+
*/
|
|
33248
|
+
backupFileSize: number;
|
|
33249
|
+
/**
|
|
33250
|
+
* The ID of the logical backup to be downloaded.
|
|
33251
|
+
*/
|
|
33252
|
+
backupId: string;
|
|
33253
|
+
/**
|
|
33254
|
+
* The type of the backup.
|
|
33255
|
+
*/
|
|
33256
|
+
backupMethod: string;
|
|
33257
|
+
/**
|
|
33258
|
+
* The inner network download address of the backup.
|
|
33259
|
+
*/
|
|
33260
|
+
innerBackupDownloadLink: string;
|
|
33261
|
+
/**
|
|
33262
|
+
* The id of the PostgreSQL instance.
|
|
33263
|
+
*/
|
|
33264
|
+
instanceId: string;
|
|
33265
|
+
/**
|
|
33266
|
+
* Expiration time of the download link, format:yyyy-MM-ddTHH:mm:ss.sssZ (UTC time).
|
|
33267
|
+
*/
|
|
33268
|
+
linkExpiredTime: string;
|
|
33269
|
+
/**
|
|
33270
|
+
* The prepare progress of the backup.
|
|
33271
|
+
*/
|
|
33272
|
+
prepareProgress: number;
|
|
33273
|
+
}
|
|
33274
|
+
interface GetBackupPoliciesBackupPolicy {
|
|
33275
|
+
/**
|
|
33276
|
+
* The backup retention period.
|
|
33277
|
+
*/
|
|
33278
|
+
backupRetentionPeriod: number;
|
|
33279
|
+
/**
|
|
33280
|
+
* The backup increment data backup periods.
|
|
33281
|
+
*/
|
|
33282
|
+
dataIncrBackupPeriods: string;
|
|
33283
|
+
/**
|
|
33284
|
+
* The full backup period.
|
|
33285
|
+
*/
|
|
33286
|
+
fullBackupPeriod: string;
|
|
33287
|
+
/**
|
|
33288
|
+
* The time when the backup task is executed. Format: HH:mmZ-HH:mmZ (UTC time).
|
|
33289
|
+
*/
|
|
33290
|
+
fullBackupTime: string;
|
|
33291
|
+
/**
|
|
33292
|
+
* Whether to enable the high-frequency backup function.
|
|
33293
|
+
*/
|
|
33294
|
+
hourlyIncrBackupEnable: boolean;
|
|
33295
|
+
/**
|
|
33296
|
+
* The frequency of increment backup.
|
|
33297
|
+
*/
|
|
33298
|
+
incrementBackupFrequency: number;
|
|
33299
|
+
/**
|
|
33300
|
+
* The id of the PostgreSQL instance.
|
|
33301
|
+
*/
|
|
33302
|
+
instanceId: string;
|
|
33303
|
+
/**
|
|
33304
|
+
* Status of the local remaining available space protection function.
|
|
33305
|
+
*/
|
|
33306
|
+
walLogSpaceLimitEnable: boolean;
|
|
33307
|
+
}
|
|
33308
|
+
interface GetDataBackupsBackup {
|
|
33309
|
+
/**
|
|
33310
|
+
* The original size of the data contained in the backup, in Bytes.
|
|
33311
|
+
*/
|
|
33312
|
+
backupDataSize: number;
|
|
33313
|
+
/**
|
|
33314
|
+
* The description of the backup set.
|
|
33315
|
+
*/
|
|
33316
|
+
backupDescription: string;
|
|
33317
|
+
/**
|
|
33318
|
+
* The latest time when the backup is created, in the format of yyyy-MM-ddTHH:mm:ss.sssZ (UTC time).
|
|
33319
|
+
*/
|
|
33320
|
+
backupEndTime: string;
|
|
33321
|
+
/**
|
|
33322
|
+
* The name of the backup file.
|
|
33323
|
+
*/
|
|
33324
|
+
backupFileName: string;
|
|
33325
|
+
/**
|
|
33326
|
+
* The size of the backup file, in Byte.
|
|
33327
|
+
*/
|
|
33328
|
+
backupFileSize: number;
|
|
33329
|
+
/**
|
|
33330
|
+
* The ID of the backup.
|
|
33331
|
+
*/
|
|
33332
|
+
backupId: string;
|
|
33333
|
+
/**
|
|
33334
|
+
* The information about the databases included in the backup.
|
|
33335
|
+
*/
|
|
33336
|
+
backupMetas: outputs.rds_postgresql.GetDataBackupsBackupBackupMeta[];
|
|
33337
|
+
/**
|
|
33338
|
+
* The method of the backup: Physical, Logical.
|
|
33339
|
+
*/
|
|
33340
|
+
backupMethod: string;
|
|
33341
|
+
/**
|
|
33342
|
+
* The progress of the backup. The unit is percentage.
|
|
33343
|
+
*/
|
|
33344
|
+
backupProgress: number;
|
|
33345
|
+
/**
|
|
33346
|
+
* The scope of the backup: Instance, Database.
|
|
33347
|
+
*/
|
|
33348
|
+
backupScope: string;
|
|
33349
|
+
/**
|
|
33350
|
+
* The earliest time when the backup is created, in the format of yyyy-MM-ddTHH:mm:ss.sssZ (UTC time).
|
|
33351
|
+
*/
|
|
33352
|
+
backupStartTime: string;
|
|
33353
|
+
/**
|
|
33354
|
+
* The status of the backup: Success, Failed, Running.
|
|
33355
|
+
*/
|
|
33356
|
+
backupStatus: string;
|
|
33357
|
+
/**
|
|
33358
|
+
* The type of the backup: Full, Increment.
|
|
33359
|
+
*/
|
|
33360
|
+
backupType: string;
|
|
33361
|
+
/**
|
|
33362
|
+
* The creation type of the backup: System, User.
|
|
33363
|
+
*/
|
|
33364
|
+
createType: string;
|
|
33365
|
+
/**
|
|
33366
|
+
* The downloadable status of the backup set. NotAllowed: download is not supported. NeedToPrepare: the backup set is in place and needs background preparation for backup. LinkReady: the backup set is ready for download.
|
|
33367
|
+
*/
|
|
33368
|
+
downloadStatus: string;
|
|
33369
|
+
}
|
|
33370
|
+
interface GetDataBackupsBackupBackupMeta {
|
|
33371
|
+
/**
|
|
33372
|
+
* The name of the database.
|
|
33373
|
+
*/
|
|
33374
|
+
dbName: string;
|
|
33375
|
+
}
|
|
33376
|
+
interface GetDatabaseEndpointsEndpoint {
|
|
33377
|
+
/**
|
|
33378
|
+
* Cross-region domain for private address.
|
|
33379
|
+
*/
|
|
33380
|
+
crossRegionDomain: string;
|
|
33381
|
+
/**
|
|
33382
|
+
* Whether to enable public network resolution.
|
|
33383
|
+
*/
|
|
33384
|
+
dnsVisibility: boolean;
|
|
33385
|
+
/**
|
|
33386
|
+
* Connect domain name.
|
|
33387
|
+
*/
|
|
33388
|
+
domain: string;
|
|
33389
|
+
/**
|
|
33390
|
+
* The ID of the RDS PostgreSQL database endpoint.
|
|
33391
|
+
*/
|
|
33392
|
+
endpointId: string;
|
|
33393
|
+
/**
|
|
33394
|
+
* The name of the RDS PostgreSQL database endpoint.
|
|
33395
|
+
*/
|
|
33396
|
+
endpointName: string;
|
|
33397
|
+
/**
|
|
33398
|
+
* The type of the RDS PostgreSQL database endpoint. Valid values: `Custom`(custom endpoint), `Cluster`(default endpoint).
|
|
33399
|
+
*/
|
|
33400
|
+
endpointType: string;
|
|
33401
|
+
/**
|
|
33402
|
+
* The endpoint port.
|
|
33403
|
+
*/
|
|
33404
|
+
port: string;
|
|
33405
|
+
/**
|
|
33406
|
+
* The distribution type of the read-only nodes.
|
|
33407
|
+
*/
|
|
33408
|
+
readOnlyNodeDistributionType: string;
|
|
33409
|
+
/**
|
|
33410
|
+
* ReadOnly node max delay seconds.
|
|
33411
|
+
*/
|
|
33412
|
+
readOnlyNodeMaxDelayTime: number;
|
|
33413
|
+
/**
|
|
33414
|
+
* ReadWrite or ReadOnly. Default value is ReadOnly.
|
|
33415
|
+
*/
|
|
33416
|
+
readWriteMode: string;
|
|
33417
|
+
/**
|
|
33418
|
+
* The number of proxy connections set for the terminal.
|
|
33419
|
+
*/
|
|
33420
|
+
readWriteProxyConnection: number;
|
|
33421
|
+
/**
|
|
33422
|
+
* Whether the endpoint sends write requests to the write node.
|
|
33423
|
+
*/
|
|
33424
|
+
writeNodeHaltWriting: boolean;
|
|
33425
|
+
}
|
|
33426
|
+
interface GetDatabasesDatabase {
|
|
33427
|
+
/**
|
|
33428
|
+
* Character classification.
|
|
33429
|
+
*/
|
|
33430
|
+
cType: string;
|
|
33431
|
+
/**
|
|
33432
|
+
* The character set of the RDS database.
|
|
33433
|
+
*/
|
|
33434
|
+
characterSetName: string;
|
|
33435
|
+
/**
|
|
33436
|
+
* The collate of database.
|
|
33437
|
+
*/
|
|
33438
|
+
collate: string;
|
|
33439
|
+
/**
|
|
33440
|
+
* The name of the RDS database.
|
|
33441
|
+
*/
|
|
33442
|
+
dbName: string;
|
|
33443
|
+
/**
|
|
33444
|
+
* The status of the RDS database.
|
|
33445
|
+
*/
|
|
33446
|
+
dbStatus: string;
|
|
33447
|
+
/**
|
|
33448
|
+
* The owner of database.
|
|
33449
|
+
*/
|
|
33450
|
+
owner: string;
|
|
33451
|
+
}
|
|
33452
|
+
interface GetEngineVersionParametersDbEngineVersionParameter {
|
|
33453
|
+
/**
|
|
33454
|
+
* The database engine version of the RDS PostgreSQL instance. Valid value: PostgreSQL_11, PostgreSQL_12, PostgreSQL_13, PostgreSQL_14, PostgreSQL_15, PostgreSQL_16, PostgreSQL_17.
|
|
33455
|
+
*/
|
|
33456
|
+
dbEngineVersion: string;
|
|
33457
|
+
/**
|
|
33458
|
+
* The number of parameters that users can set under the specified database engine version.
|
|
33459
|
+
*/
|
|
33460
|
+
parameterCount: string;
|
|
33461
|
+
/**
|
|
33462
|
+
* The collection of parameters that users can set under the specified database engine version.
|
|
33463
|
+
*/
|
|
33464
|
+
parameters: outputs.rds_postgresql.GetEngineVersionParametersDbEngineVersionParameterParameter[];
|
|
33465
|
+
}
|
|
33466
|
+
interface GetEngineVersionParametersDbEngineVersionParameterParameter {
|
|
33467
|
+
/**
|
|
33468
|
+
* The value range of the parameter.
|
|
33469
|
+
*/
|
|
33470
|
+
checkingCode: string;
|
|
33471
|
+
/**
|
|
33472
|
+
* Parameter default value. Refers to the default value provided in the default template corresponding to this instance.
|
|
33473
|
+
*/
|
|
33474
|
+
defaultValue: string;
|
|
33475
|
+
/**
|
|
33476
|
+
* Indicates whether a restart is required after the parameter is modified.
|
|
33477
|
+
*/
|
|
33478
|
+
forceRestart: boolean;
|
|
33479
|
+
/**
|
|
33480
|
+
* The name of the parameter.
|
|
33481
|
+
*/
|
|
33482
|
+
name: string;
|
|
33483
|
+
/**
|
|
33484
|
+
* The type of the parameter.
|
|
33485
|
+
*/
|
|
33486
|
+
type: string;
|
|
33487
|
+
}
|
|
33488
|
+
interface GetInstanceBackupDetachedsBackup {
|
|
33489
|
+
/**
|
|
33490
|
+
* The latest time when the backup is created, in the format of yyyy-MM-ddTHH:mm:ss.sssZ (UTC time).
|
|
33491
|
+
*/
|
|
33492
|
+
backupEndTime: string;
|
|
33493
|
+
/**
|
|
33494
|
+
* The name of the backup file.
|
|
33495
|
+
*/
|
|
33496
|
+
backupFileName: string;
|
|
33497
|
+
/**
|
|
33498
|
+
* The size of the backup file, in Byte.
|
|
33499
|
+
*/
|
|
33500
|
+
backupFileSize: number;
|
|
33501
|
+
/**
|
|
33502
|
+
* The ID of the backup.
|
|
33503
|
+
*/
|
|
33504
|
+
backupId: string;
|
|
33505
|
+
/**
|
|
33506
|
+
* The progress of the backup. The unit is percentage.
|
|
33507
|
+
*/
|
|
33508
|
+
backupProgress: number;
|
|
33509
|
+
/**
|
|
33510
|
+
* The earliest time when the backup is created, in the format of yyyy-MM-ddTHH:mm:ss.sssZ (UTC time).
|
|
33511
|
+
*/
|
|
33512
|
+
backupStartTime: string;
|
|
33513
|
+
/**
|
|
33514
|
+
* The status of the backup.
|
|
33515
|
+
*/
|
|
33516
|
+
backupStatus: string;
|
|
33517
|
+
/**
|
|
33518
|
+
* The type of the backup.
|
|
33519
|
+
*/
|
|
33520
|
+
backupType: string;
|
|
33521
|
+
/**
|
|
33522
|
+
* The creation type of the backup: System, User.
|
|
33523
|
+
*/
|
|
33524
|
+
createType: string;
|
|
33525
|
+
/**
|
|
33526
|
+
* Information about the PostgreSQL instance associated with this backup.
|
|
33527
|
+
*/
|
|
33528
|
+
instanceInfos: outputs.rds_postgresql.GetInstanceBackupDetachedsBackupInstanceInfo[];
|
|
33529
|
+
}
|
|
33530
|
+
interface GetInstanceBackupDetachedsBackupInstanceInfo {
|
|
33531
|
+
/**
|
|
33532
|
+
* The version of the database engine.
|
|
33533
|
+
*/
|
|
33534
|
+
dbEngineVersion: string;
|
|
33535
|
+
/**
|
|
33536
|
+
* The ID of the PostgreSQL instance.
|
|
33537
|
+
*/
|
|
33538
|
+
instanceId: string;
|
|
33539
|
+
/**
|
|
33540
|
+
* The name of the PostgreSQL instance.
|
|
33541
|
+
*/
|
|
33542
|
+
instanceName: string;
|
|
33543
|
+
/**
|
|
33544
|
+
* The status of the instance.
|
|
33545
|
+
*/
|
|
33546
|
+
instanceStatus: string;
|
|
33547
|
+
}
|
|
33548
|
+
interface GetInstanceBackupWalLogsWalLogBackup {
|
|
33549
|
+
/**
|
|
33550
|
+
* The size of the WAL log backup file. The unit is bytes (Byte).
|
|
33551
|
+
*/
|
|
33552
|
+
backupFileSize: number;
|
|
33553
|
+
/**
|
|
33554
|
+
* The id of the backup.
|
|
33555
|
+
*/
|
|
33556
|
+
backupId: string;
|
|
33557
|
+
/**
|
|
33558
|
+
* The status of the WAL log backup.
|
|
33559
|
+
*/
|
|
33560
|
+
backupStatus: string;
|
|
33561
|
+
/**
|
|
33562
|
+
* The checksum in the ETag format using the crc64 algorithm.
|
|
33563
|
+
*/
|
|
33564
|
+
checkSum: string;
|
|
33565
|
+
/**
|
|
33566
|
+
* The downloadable status of the WAL log backup.
|
|
33567
|
+
*/
|
|
33568
|
+
downloadStatus: string;
|
|
33569
|
+
/**
|
|
33570
|
+
* The project to which the instance of the WAL log backup belongs.
|
|
33571
|
+
*/
|
|
33572
|
+
projectName: string;
|
|
33573
|
+
/**
|
|
33574
|
+
* The end time of the WAL log backup, in the format of yyyy-MM-ddTHH:mm:ssZ (UTC time).
|
|
33575
|
+
*/
|
|
33576
|
+
walLogBackupEndTime: string;
|
|
33577
|
+
}
|
|
33578
|
+
interface GetInstanceFailoverLogsFailoverLog {
|
|
33579
|
+
/**
|
|
33580
|
+
* The time when the failover occurred. Format: yyyy-MM-ddTHH:mm:ss.sssZ (UTC time).
|
|
33581
|
+
*/
|
|
33582
|
+
failoverTime: string;
|
|
33583
|
+
/**
|
|
33584
|
+
* The type of the failover, such as User or System.
|
|
33585
|
+
*/
|
|
33586
|
+
failoverType: string;
|
|
33587
|
+
/**
|
|
33588
|
+
* The node ID of the new master after failover.
|
|
33589
|
+
*/
|
|
33590
|
+
newMasterNodeId: string;
|
|
33591
|
+
/**
|
|
33592
|
+
* The node ID of the old master before failover.
|
|
33593
|
+
*/
|
|
33594
|
+
oldMasterNodeId: string;
|
|
33595
|
+
}
|
|
33596
|
+
interface GetInstanceParameterLogsParameterChangeLog {
|
|
33597
|
+
/**
|
|
33598
|
+
* The time when the parameter was last modified. Format: yyyy-MM-ddTHH:mm:ss.sssZ (UTC time).
|
|
33599
|
+
*/
|
|
33600
|
+
modifyTime: string;
|
|
33601
|
+
/**
|
|
33602
|
+
* The name of the parameter.
|
|
33603
|
+
*/
|
|
33604
|
+
name: string;
|
|
33605
|
+
/**
|
|
33606
|
+
* The new value of the parameter.
|
|
33607
|
+
*/
|
|
33608
|
+
newValue: string;
|
|
33609
|
+
/**
|
|
33610
|
+
* The old value of the parameter.
|
|
33611
|
+
*/
|
|
33612
|
+
oldValue: string;
|
|
33613
|
+
/**
|
|
33614
|
+
* The status of the parameter. Applied: Already in effect. Invalid: Not in effect. Syncing: Being applied, not yet in effect.
|
|
33615
|
+
*/
|
|
33616
|
+
status: string;
|
|
33617
|
+
}
|
|
33618
|
+
interface GetInstanceParametersInstanceParameter {
|
|
33619
|
+
/**
|
|
33620
|
+
* The version of the PostgreSQL engine.
|
|
33621
|
+
*/
|
|
33622
|
+
dbEngineVersion: string;
|
|
33623
|
+
/**
|
|
33624
|
+
* The ID of the PostgreSQL instance.
|
|
33625
|
+
*/
|
|
33626
|
+
instanceId: string;
|
|
33627
|
+
/**
|
|
33628
|
+
* @deprecated The current parameter configuration of the instance (non-kernel parameters).
|
|
33629
|
+
*/
|
|
33630
|
+
noneKernelParameters: outputs.rds_postgresql.GetInstanceParametersInstanceParameterNoneKernelParameter[];
|
|
33631
|
+
/**
|
|
33632
|
+
* The total count of parameters.
|
|
33633
|
+
*/
|
|
33634
|
+
parameterCount: string;
|
|
33635
|
+
/**
|
|
33636
|
+
* The current parameter configuration of the instance (kernel parameters).
|
|
33637
|
+
*/
|
|
33638
|
+
parameters: outputs.rds_postgresql.GetInstanceParametersInstanceParameterParameter[];
|
|
33639
|
+
}
|
|
33640
|
+
interface GetInstanceParametersInstanceParameterNoneKernelParameter {
|
|
33641
|
+
/**
|
|
33642
|
+
* The value range of the parameter.
|
|
33643
|
+
*/
|
|
33644
|
+
checkingCode: string;
|
|
33645
|
+
/**
|
|
33646
|
+
* Parameter default value. Refers to the default value provided in the default template corresponding to this instance.
|
|
33647
|
+
*/
|
|
33648
|
+
defaultValue: string;
|
|
33649
|
+
/**
|
|
33650
|
+
* The description of the parameter in English.
|
|
33651
|
+
*/
|
|
33652
|
+
description: string;
|
|
33653
|
+
/**
|
|
33654
|
+
* The description of the parameter in Chinese.
|
|
33655
|
+
*/
|
|
33656
|
+
descriptionZh: string;
|
|
33657
|
+
/**
|
|
33658
|
+
* Indicates whether a restart is required after the parameter is modified.
|
|
33659
|
+
*/
|
|
33660
|
+
forceRestart: boolean;
|
|
33661
|
+
/**
|
|
33662
|
+
* The name of the parameter.
|
|
33663
|
+
*/
|
|
33664
|
+
name: string;
|
|
33665
|
+
/**
|
|
33666
|
+
* The type of the parameter.
|
|
33667
|
+
*/
|
|
33668
|
+
type: string;
|
|
33669
|
+
/**
|
|
33670
|
+
* The current value of the parameter.
|
|
33671
|
+
*/
|
|
33672
|
+
value: string;
|
|
33673
|
+
}
|
|
33674
|
+
interface GetInstanceParametersInstanceParameterParameter {
|
|
33675
|
+
/**
|
|
33676
|
+
* The value range of the parameter.
|
|
33677
|
+
*/
|
|
33678
|
+
checkingCode: string;
|
|
33679
|
+
/**
|
|
33680
|
+
* Parameter default value. Refers to the default value provided in the default template corresponding to this instance.
|
|
33681
|
+
*/
|
|
33682
|
+
defaultValue: string;
|
|
33683
|
+
/**
|
|
33684
|
+
* The description of the parameter in English.
|
|
33685
|
+
*/
|
|
33686
|
+
description: string;
|
|
33687
|
+
/**
|
|
33688
|
+
* The description of the parameter in Chinese.
|
|
33689
|
+
*/
|
|
33690
|
+
descriptionZh: string;
|
|
33691
|
+
/**
|
|
33692
|
+
* Indicates whether a restart is required after the parameter is modified.
|
|
33693
|
+
*/
|
|
33694
|
+
forceRestart: boolean;
|
|
33695
|
+
/**
|
|
33696
|
+
* The name of the parameter.
|
|
33697
|
+
*/
|
|
33698
|
+
name: string;
|
|
33699
|
+
/**
|
|
33700
|
+
* The type of the parameter.
|
|
33701
|
+
*/
|
|
33702
|
+
type: string;
|
|
33703
|
+
/**
|
|
33704
|
+
* The current value of the parameter.
|
|
33705
|
+
*/
|
|
33706
|
+
value: string;
|
|
33707
|
+
}
|
|
33708
|
+
interface GetInstancePriceDetailsChargeInfo {
|
|
33709
|
+
/**
|
|
33710
|
+
* Whether to auto renew the subscription in a pre-paid scenario.
|
|
33711
|
+
*/
|
|
33712
|
+
autoRenew?: boolean;
|
|
33713
|
+
/**
|
|
33714
|
+
* The charge type of the instance. Valid values: PostPaid, PrePaid.
|
|
33715
|
+
*/
|
|
33716
|
+
chargeType: string;
|
|
33717
|
+
/**
|
|
33718
|
+
* Number of purchased instances. Can be an integer between 1 and 20. Default value:1.
|
|
33719
|
+
*/
|
|
33720
|
+
number?: number;
|
|
33721
|
+
/**
|
|
33722
|
+
* Subscription duration in a pre-paid scenario.Default value:1.
|
|
33723
|
+
*/
|
|
33724
|
+
period?: number;
|
|
33725
|
+
/**
|
|
33726
|
+
* Purchase cycle in a pre-paid scenario. Valid values: Month, Year.
|
|
33727
|
+
*/
|
|
33728
|
+
periodUnit?: string;
|
|
33729
|
+
}
|
|
33730
|
+
interface GetInstancePriceDetailsInstancesPrice {
|
|
33731
|
+
/**
|
|
33732
|
+
* Price of each charge item.
|
|
33733
|
+
*/
|
|
33734
|
+
chargeItemPrices: outputs.rds_postgresql.GetInstancePriceDetailsInstancesPriceChargeItemPrice[];
|
|
33735
|
+
/**
|
|
33736
|
+
* Currency unit.
|
|
33737
|
+
*/
|
|
33738
|
+
currency: string;
|
|
33739
|
+
/**
|
|
33740
|
+
* Instance price after discount.
|
|
33741
|
+
*/
|
|
33742
|
+
discountPrice: number;
|
|
33743
|
+
/**
|
|
33744
|
+
* Number of purchased instances.
|
|
33745
|
+
*/
|
|
33746
|
+
instanceQuantity: number;
|
|
33747
|
+
/**
|
|
33748
|
+
* Instance price before discount.
|
|
33749
|
+
*/
|
|
33750
|
+
originalPrice: number;
|
|
33751
|
+
/**
|
|
33752
|
+
* Price payable of instance.
|
|
33753
|
+
*/
|
|
33754
|
+
payablePrice: number;
|
|
33755
|
+
}
|
|
33756
|
+
interface GetInstancePriceDetailsInstancesPriceChargeItemPrice {
|
|
33757
|
+
/**
|
|
33758
|
+
* If chargeItemKey is Primary, Secondary, or ReadOnly, this parameter returns the instance specification, such as rds.pg.d1.1c2g. If chargeItemKey is Storage, this parameter returns the stored key, such as rds.pg.d1.localssd.
|
|
33759
|
+
*/
|
|
33760
|
+
chargeItemKey: string;
|
|
33761
|
+
/**
|
|
33762
|
+
* Billing item name. Values:Primary, Secondary, ReadOnly, Storage.
|
|
33763
|
+
*/
|
|
33764
|
+
chargeItemType: string;
|
|
33765
|
+
/**
|
|
33766
|
+
* If chargeItemKey is Primary, Secondary, or ReadOnly, this parameter returns the number of nodes, with a value of "1". If chargeItemKey is Storage, his parameter returns the storage size in GB.
|
|
33767
|
+
*/
|
|
33768
|
+
chargeItemValue: number;
|
|
33769
|
+
/**
|
|
33770
|
+
* Instance price after discount.
|
|
33771
|
+
*/
|
|
33772
|
+
discountPrice: number;
|
|
33773
|
+
/**
|
|
33774
|
+
* Number of nodes of each instance.
|
|
33775
|
+
*/
|
|
33776
|
+
nodeNumPerInstance: number;
|
|
33777
|
+
/**
|
|
33778
|
+
* Instance price before discount.
|
|
33779
|
+
*/
|
|
33780
|
+
originalPrice: number;
|
|
33781
|
+
/**
|
|
33782
|
+
* Price payable of instance.
|
|
33783
|
+
*/
|
|
33784
|
+
payablePrice: number;
|
|
33785
|
+
}
|
|
33786
|
+
interface GetInstancePriceDetailsNodeInfo {
|
|
33787
|
+
/**
|
|
33788
|
+
* The id of the node.
|
|
33789
|
+
*/
|
|
33790
|
+
nodeId?: string;
|
|
33791
|
+
/**
|
|
33792
|
+
* The operate type of the node. Valid values: Create.
|
|
33793
|
+
*/
|
|
33794
|
+
nodeOperateType?: string;
|
|
33795
|
+
/**
|
|
33796
|
+
* The specification of the node.
|
|
33797
|
+
*/
|
|
33798
|
+
nodeSpec: string;
|
|
33799
|
+
/**
|
|
33800
|
+
* The type of the node. Valid values: Primary, Secondary, ReadOnly.
|
|
33801
|
+
*/
|
|
33802
|
+
nodeType: string;
|
|
33803
|
+
/**
|
|
33804
|
+
* The AZ of the node.
|
|
33805
|
+
*/
|
|
33806
|
+
zoneId: string;
|
|
33807
|
+
}
|
|
33808
|
+
interface GetInstancePriceDifferencesChargeInfo {
|
|
33809
|
+
/**
|
|
33810
|
+
* Whether to auto renew the subscription in a pre-paid scenario.
|
|
33811
|
+
*/
|
|
33812
|
+
autoRenew?: boolean;
|
|
33813
|
+
/**
|
|
33814
|
+
* The charge type of the instance. Valid values: PostPaid, PrePaid.
|
|
33815
|
+
*/
|
|
33816
|
+
chargeType: string;
|
|
33817
|
+
/**
|
|
33818
|
+
* Number of purchased instances. Can be an integer between 1 and 20. Default value:1.
|
|
33819
|
+
*/
|
|
33820
|
+
number?: number;
|
|
33821
|
+
/**
|
|
33822
|
+
* Subscription duration in a pre-paid scenario.Default value:1.
|
|
33823
|
+
*/
|
|
33824
|
+
period?: number;
|
|
33825
|
+
/**
|
|
33826
|
+
* Purchase cycle in a pre-paid scenario. Valid values: Month, Year.
|
|
33827
|
+
*/
|
|
33828
|
+
periodUnit?: string;
|
|
33829
|
+
}
|
|
33830
|
+
interface GetInstancePriceDifferencesInstancesPrice {
|
|
33831
|
+
chargeItemPrices: outputs.rds_postgresql.GetInstancePriceDifferencesInstancesPriceChargeItemPrice[];
|
|
33832
|
+
/**
|
|
33833
|
+
* Currency unit.
|
|
33834
|
+
*/
|
|
33835
|
+
currency: string;
|
|
33836
|
+
/**
|
|
33837
|
+
* Instance price after discount.
|
|
33838
|
+
*/
|
|
33839
|
+
discountPrice: number;
|
|
33840
|
+
/**
|
|
33841
|
+
* Instance price before discount.
|
|
33842
|
+
*/
|
|
33843
|
+
originalPrice: number;
|
|
33844
|
+
/**
|
|
33845
|
+
* Price payable of instance.
|
|
33846
|
+
*/
|
|
33847
|
+
payablePrice: number;
|
|
33848
|
+
}
|
|
33849
|
+
interface GetInstancePriceDifferencesInstancesPriceChargeItemPrice {
|
|
33850
|
+
/**
|
|
33851
|
+
* If chargeItemKey is Primary, Secondary, or ReadOnly, this parameter returns the instance specification, such as rds.pg.d1.1c2g. If chargeItemKey is Storage, this parameter returns the stored key, such as rds.pg.d1.localssd.
|
|
33852
|
+
*/
|
|
33853
|
+
chargeItemKey: string;
|
|
33854
|
+
/**
|
|
33855
|
+
* Billing item name. Values:Primary, Secondary, ReadOnly, Storage.
|
|
33856
|
+
*/
|
|
33857
|
+
chargeItemType: string;
|
|
33858
|
+
/**
|
|
33859
|
+
* If chargeItemKey is Primary, Secondary, or ReadOnly, this parameter returns the number of nodes, with a value of "1". If chargeItemKey is Storage, his parameter returns the storage size in GB.
|
|
33860
|
+
*/
|
|
33861
|
+
chargeItemValue: number;
|
|
33862
|
+
/**
|
|
33863
|
+
* Instance price after discount.
|
|
33864
|
+
*/
|
|
33865
|
+
discountPrice: number;
|
|
33866
|
+
/**
|
|
33867
|
+
* Number of nodes of each instance.
|
|
33868
|
+
*/
|
|
33869
|
+
nodeNumPerInstance: number;
|
|
33870
|
+
/**
|
|
33871
|
+
* Instance price before discount.
|
|
33872
|
+
*/
|
|
33873
|
+
originalPrice: number;
|
|
33874
|
+
/**
|
|
33875
|
+
* Price payable of instance.
|
|
33876
|
+
*/
|
|
33877
|
+
payablePrice: number;
|
|
33878
|
+
}
|
|
33879
|
+
interface GetInstancePriceDifferencesNodeInfo {
|
|
33880
|
+
/**
|
|
33881
|
+
* The id of the node.When the modifyType is set to Temporary, this parameter is required.
|
|
33882
|
+
*/
|
|
33883
|
+
nodeId?: string;
|
|
33884
|
+
/**
|
|
33885
|
+
* The operate type of the node. Valid values: Create, Modify.
|
|
33886
|
+
*/
|
|
33887
|
+
nodeOperateType?: string;
|
|
33888
|
+
/**
|
|
33889
|
+
* The specification of the node.
|
|
33890
|
+
*/
|
|
33891
|
+
nodeSpec: string;
|
|
33892
|
+
/**
|
|
33893
|
+
* The type of the node. Valid values: Primary, Secondary, ReadOnly.
|
|
33894
|
+
*/
|
|
33895
|
+
nodeType: string;
|
|
33896
|
+
/**
|
|
33897
|
+
* The AZ of the node.
|
|
33898
|
+
*/
|
|
33899
|
+
zoneId: string;
|
|
33900
|
+
}
|
|
33901
|
+
interface GetInstanceRecoverableTimesRecoverableTimeInfo {
|
|
33902
|
+
/**
|
|
33903
|
+
* The earliest recoverable time of the instance (UTC time).
|
|
33904
|
+
*/
|
|
33905
|
+
earliestRecoverableTime: string;
|
|
33906
|
+
/**
|
|
33907
|
+
* The latest recoverable time of the instance (UTC time).
|
|
33908
|
+
*/
|
|
33909
|
+
latestRecoverableTime: string;
|
|
33910
|
+
}
|
|
33911
|
+
interface GetInstanceSpecsInstanceSpec {
|
|
33912
|
+
/**
|
|
33913
|
+
* The maximum number of connections supported by the instance.
|
|
33914
|
+
*/
|
|
33915
|
+
connection: number;
|
|
33916
|
+
/**
|
|
33917
|
+
* The version of the RDS PostgreSQL instance.
|
|
33918
|
+
*/
|
|
33919
|
+
dbEngineVersion: string;
|
|
33920
|
+
/**
|
|
33921
|
+
* The memory size of the instance. Unit: GB.
|
|
33922
|
+
*/
|
|
33923
|
+
memory: number;
|
|
33924
|
+
/**
|
|
33925
|
+
* The ID of the region.
|
|
33926
|
+
*/
|
|
33927
|
+
regionId: string;
|
|
33928
|
+
/**
|
|
33929
|
+
* Instance specification code.
|
|
33930
|
+
*/
|
|
33931
|
+
specCode: string;
|
|
33932
|
+
/**
|
|
33933
|
+
* Storage type, fixed to LocalSSD.
|
|
33934
|
+
*/
|
|
33935
|
+
storageType: string;
|
|
33936
|
+
/**
|
|
33937
|
+
* The number of vCPUs of the instance.
|
|
33938
|
+
*/
|
|
33939
|
+
vCpu: number;
|
|
33940
|
+
/**
|
|
33941
|
+
* Primary availability zone ID.
|
|
33942
|
+
*/
|
|
33943
|
+
zoneId: string;
|
|
33944
|
+
}
|
|
33945
|
+
interface GetInstanceSslsSsl {
|
|
33946
|
+
/**
|
|
33947
|
+
* The protected addresses.
|
|
33948
|
+
*/
|
|
33949
|
+
addresses: string[];
|
|
33950
|
+
/**
|
|
33951
|
+
* Raw byte stream array of certificate zip.
|
|
33952
|
+
*/
|
|
33953
|
+
certificates: number[];
|
|
33954
|
+
/**
|
|
33955
|
+
* Whether to force encryption.
|
|
33956
|
+
*/
|
|
33957
|
+
forceEncryption: boolean;
|
|
33958
|
+
/**
|
|
33959
|
+
* The id of the postgresql Instance.
|
|
33960
|
+
*/
|
|
33961
|
+
instanceId: string;
|
|
33962
|
+
/**
|
|
33963
|
+
* Whether the SSL certificate is valid.
|
|
33964
|
+
*/
|
|
33965
|
+
isValid: boolean;
|
|
33966
|
+
/**
|
|
33967
|
+
* Whether to enable SSL.
|
|
33968
|
+
*/
|
|
33969
|
+
sslEnable: boolean;
|
|
33970
|
+
/**
|
|
33971
|
+
* The expiration time of the SSL certificate. The format is: yyyy-MM-ddTHH:mm:ss(UTC time).
|
|
33972
|
+
*/
|
|
33973
|
+
sslExpireTime: string;
|
|
33974
|
+
/**
|
|
33975
|
+
* The supported TLS versions.
|
|
33976
|
+
*/
|
|
33977
|
+
tlsVersions: string[];
|
|
33978
|
+
}
|
|
33979
|
+
interface GetInstanceTasksTaskInfo {
|
|
33980
|
+
/**
|
|
33981
|
+
* Task execution time in milliseconds.
|
|
33982
|
+
*/
|
|
33983
|
+
costTimeMs: number;
|
|
33984
|
+
/**
|
|
33985
|
+
* Task creation time. Format: yyyy-MM-ddTHH:mm:ssZ (UTC).
|
|
33986
|
+
*/
|
|
33987
|
+
createTime: string;
|
|
33988
|
+
/**
|
|
33989
|
+
* Task finish time. Format: yyyy-MM-ddTHH:mm:ssZ (UTC).
|
|
33990
|
+
*/
|
|
33991
|
+
finishTime: string;
|
|
33992
|
+
/**
|
|
33993
|
+
* The id of the PostgreSQL instance.
|
|
33994
|
+
*/
|
|
33995
|
+
instanceId: string;
|
|
33996
|
+
/**
|
|
33997
|
+
* Project name.
|
|
33998
|
+
*/
|
|
33999
|
+
projectName: string;
|
|
34000
|
+
/**
|
|
34001
|
+
* Region.
|
|
34002
|
+
*/
|
|
34003
|
+
region: string;
|
|
34004
|
+
/**
|
|
34005
|
+
* The scheduled end time for the switch. The time format is yyyy-MM-ddTHH:mm:ssZ (UTC time). Note: This field will only be returned for tasks in the "Waiting to Start", "Waiting to Execute", or "Waiting to Switch" states.
|
|
34006
|
+
*/
|
|
34007
|
+
scheduledSwitchEndTime: string;
|
|
34008
|
+
/**
|
|
34009
|
+
* The start time of the scheduled switch. The time format is yyyy-MM-ddTHH:mm:ssZ (UTC time). Note: This field will only be returned for tasks in the "Waiting to Start", "Waiting to Execute", or "Waiting to Switch" states.
|
|
34010
|
+
*/
|
|
34011
|
+
scheduledSwitchStartTime: string;
|
|
34012
|
+
/**
|
|
34013
|
+
* Task action.
|
|
34014
|
+
*/
|
|
34015
|
+
taskAction: string;
|
|
34016
|
+
/**
|
|
34017
|
+
* Task ID. Note: One of TaskId or task time (creation_start_time and creation_end_time) must be specified.
|
|
34018
|
+
*/
|
|
34019
|
+
taskId: string;
|
|
34020
|
+
/**
|
|
34021
|
+
* Task parameters in JSON string.
|
|
34022
|
+
*/
|
|
34023
|
+
taskParams: string;
|
|
34024
|
+
/**
|
|
34025
|
+
* Task status. Values: Canceled, WaitStart, WaitSwitch, Running, Running_BeforeSwitch, Running_Switching, Running_AfterSwitch, Success, Failed, Timeout, Rollbacking, RollbackFailed, Paused.
|
|
34026
|
+
*/
|
|
34027
|
+
taskStatus: string;
|
|
34028
|
+
}
|
|
32806
34029
|
interface GetInstancesInstance {
|
|
32807
34030
|
/**
|
|
32808
|
-
* The
|
|
34031
|
+
* The allow list version of the RDS PostgreSQL instance.
|
|
34032
|
+
*/
|
|
34033
|
+
allowListVersion: string;
|
|
34034
|
+
/**
|
|
34035
|
+
* The instance has used backup space. Unit: GB.
|
|
34036
|
+
*/
|
|
34037
|
+
backupUse: number;
|
|
34038
|
+
/**
|
|
34039
|
+
* Payment methods.
|
|
34040
|
+
*/
|
|
34041
|
+
chargeDetails: outputs.rds_postgresql.GetInstancesInstanceChargeDetail[];
|
|
34042
|
+
/**
|
|
34043
|
+
* Node creation local time.
|
|
34044
|
+
*/
|
|
34045
|
+
createTime: string;
|
|
34046
|
+
/**
|
|
34047
|
+
* Data synchronization mode.
|
|
34048
|
+
*/
|
|
34049
|
+
dataSyncMode: string;
|
|
34050
|
+
/**
|
|
34051
|
+
* The version of the RDS PostgreSQL instance.
|
|
34052
|
+
*/
|
|
34053
|
+
dbEngineVersion: string;
|
|
34054
|
+
/**
|
|
34055
|
+
* The endpoint info of the RDS instance.
|
|
34056
|
+
*/
|
|
34057
|
+
endpoints: outputs.rds_postgresql.GetInstancesInstanceEndpoint[];
|
|
34058
|
+
/**
|
|
34059
|
+
* The ID of the RDS PostgreSQL instance.
|
|
34060
|
+
*/
|
|
34061
|
+
id: string;
|
|
34062
|
+
/**
|
|
34063
|
+
* The id of the RDS PostgreSQL instance.
|
|
34064
|
+
*/
|
|
34065
|
+
instanceId: string;
|
|
34066
|
+
/**
|
|
34067
|
+
* The name of the RDS PostgreSQL instance.
|
|
34068
|
+
*/
|
|
34069
|
+
instanceName: string;
|
|
34070
|
+
/**
|
|
34071
|
+
* The status of the RDS PostgreSQL instance.
|
|
34072
|
+
*/
|
|
34073
|
+
instanceStatus: string;
|
|
34074
|
+
/**
|
|
34075
|
+
* The instance type of the RDS PostgreSQL instance.
|
|
34076
|
+
*/
|
|
34077
|
+
instanceType: string;
|
|
34078
|
+
/**
|
|
34079
|
+
* Memory size in GB.
|
|
34080
|
+
*/
|
|
34081
|
+
memory: number;
|
|
34082
|
+
/**
|
|
34083
|
+
* The number of nodes.
|
|
34084
|
+
*/
|
|
34085
|
+
nodeNumber: number;
|
|
34086
|
+
/**
|
|
34087
|
+
* General instance type, different from Custom instance type.
|
|
34088
|
+
*/
|
|
34089
|
+
nodeSpec: string;
|
|
34090
|
+
/**
|
|
34091
|
+
* Instance node information.
|
|
34092
|
+
*/
|
|
34093
|
+
nodes: outputs.rds_postgresql.GetInstancesInstanceNode[];
|
|
34094
|
+
/**
|
|
34095
|
+
* The project name of the RDS PostgreSQL instance.
|
|
34096
|
+
*/
|
|
34097
|
+
projectName: string;
|
|
34098
|
+
/**
|
|
34099
|
+
* The region of the RDS PostgreSQL instance.
|
|
34100
|
+
*/
|
|
34101
|
+
regionId: string;
|
|
34102
|
+
/**
|
|
34103
|
+
* The instance's primary node has used storage space. Unit: Byte.
|
|
34104
|
+
*/
|
|
34105
|
+
storageDataUse: number;
|
|
34106
|
+
/**
|
|
34107
|
+
* The instance's primary node has used log storage space. Unit: Byte.
|
|
34108
|
+
*/
|
|
34109
|
+
storageLogUse: number;
|
|
34110
|
+
/**
|
|
34111
|
+
* Total instance storage space. Unit: GB.
|
|
34112
|
+
*/
|
|
34113
|
+
storageSpace: number;
|
|
34114
|
+
/**
|
|
34115
|
+
* The instance's primary node has used temporary storage space. Unit: Byte.
|
|
34116
|
+
*/
|
|
34117
|
+
storageTempUse: number;
|
|
34118
|
+
/**
|
|
34119
|
+
* The storage type of the RDS PostgreSQL instance.
|
|
34120
|
+
*/
|
|
34121
|
+
storageType: string;
|
|
34122
|
+
/**
|
|
34123
|
+
* The instance has used storage space. Unit: Byte.
|
|
34124
|
+
*/
|
|
34125
|
+
storageUse: number;
|
|
34126
|
+
/**
|
|
34127
|
+
* The instance's primary node has used WAL storage space. Unit: Byte.
|
|
34128
|
+
*/
|
|
34129
|
+
storageWalUse: number;
|
|
34130
|
+
/**
|
|
34131
|
+
* The subnet ID of the RDS PostgreSQL instance.
|
|
34132
|
+
*/
|
|
34133
|
+
subnetId: string;
|
|
34134
|
+
/**
|
|
34135
|
+
* Tags.
|
|
34136
|
+
*/
|
|
34137
|
+
tags: outputs.rds_postgresql.GetInstancesInstanceTag[];
|
|
34138
|
+
/**
|
|
34139
|
+
* The update time of the RDS PostgreSQL instance.
|
|
34140
|
+
*/
|
|
34141
|
+
updateTime: string;
|
|
34142
|
+
/**
|
|
34143
|
+
* CPU size.
|
|
34144
|
+
*/
|
|
34145
|
+
vCpu: number;
|
|
34146
|
+
/**
|
|
34147
|
+
* The vpc ID of the RDS PostgreSQL instance.
|
|
34148
|
+
*/
|
|
34149
|
+
vpcId: string;
|
|
34150
|
+
/**
|
|
34151
|
+
* The available zone of the RDS PostgreSQL instance.
|
|
34152
|
+
*/
|
|
34153
|
+
zoneId: string;
|
|
34154
|
+
/**
|
|
34155
|
+
* ID of the availability zone where each instance is located.
|
|
34156
|
+
*/
|
|
34157
|
+
zoneIds: string[];
|
|
34158
|
+
}
|
|
34159
|
+
interface GetInstancesInstanceChargeDetail {
|
|
34160
|
+
/**
|
|
34161
|
+
* Whether to automatically renew in prepaid scenarios.
|
|
34162
|
+
* Autorenew_Enable
|
|
34163
|
+
* Autorenew_Disable (default).
|
|
34164
|
+
*/
|
|
34165
|
+
autoRenew: boolean;
|
|
34166
|
+
/**
|
|
34167
|
+
* Billing expiry time (yearly and monthly only).
|
|
34168
|
+
*/
|
|
34169
|
+
chargeEndTime: string;
|
|
34170
|
+
/**
|
|
34171
|
+
* Billing start time (pay-as-you-go & monthly subscription).
|
|
34172
|
+
*/
|
|
34173
|
+
chargeStartTime: string;
|
|
34174
|
+
/**
|
|
34175
|
+
* Pay status. Value:
|
|
34176
|
+
* normal - normal
|
|
34177
|
+
* overdue - overdue
|
|
34178
|
+
* unpaid - unpaid.
|
|
34179
|
+
*/
|
|
34180
|
+
chargeStatus: string;
|
|
34181
|
+
/**
|
|
34182
|
+
* The charge type of the RDS instance.
|
|
34183
|
+
*/
|
|
34184
|
+
chargeType: string;
|
|
34185
|
+
/**
|
|
34186
|
+
* The number of the RDS PostgreSQL instance.
|
|
34187
|
+
*/
|
|
34188
|
+
number: number;
|
|
34189
|
+
/**
|
|
34190
|
+
* Estimated release time when arrears are closed (pay-as-you-go & monthly subscription).
|
|
34191
|
+
*/
|
|
34192
|
+
overdueReclaimTime: string;
|
|
34193
|
+
/**
|
|
34194
|
+
* Shutdown time in arrears (pay-as-you-go & monthly subscription).
|
|
34195
|
+
*/
|
|
34196
|
+
overdueTime: string;
|
|
34197
|
+
/**
|
|
34198
|
+
* Purchase duration in prepaid scenarios. Default: 1.
|
|
34199
|
+
*/
|
|
34200
|
+
period: number;
|
|
34201
|
+
/**
|
|
34202
|
+
* The purchase cycle in the prepaid scenario.
|
|
34203
|
+
* Month - monthly subscription (default)
|
|
34204
|
+
* Year - Package year.
|
|
34205
|
+
*/
|
|
34206
|
+
periodUnit: string;
|
|
34207
|
+
/**
|
|
34208
|
+
* Temporary upgrade of restoration time.
|
|
34209
|
+
*/
|
|
34210
|
+
tempModifyEndTime: string;
|
|
34211
|
+
/**
|
|
34212
|
+
* Start time of temporary upgrade.
|
|
34213
|
+
*/
|
|
34214
|
+
tempModifyStartTime: string;
|
|
34215
|
+
}
|
|
34216
|
+
interface GetInstancesInstanceEndpoint {
|
|
34217
|
+
/**
|
|
34218
|
+
* Address list.
|
|
34219
|
+
*/
|
|
34220
|
+
addresses: outputs.rds_postgresql.GetInstancesInstanceEndpointAddress[];
|
|
34221
|
+
/**
|
|
34222
|
+
* When the terminal type is read-write terminal or read-only terminal, it supports setting whether new nodes are automatically added.
|
|
34223
|
+
*/
|
|
34224
|
+
autoAddNewNodes: string;
|
|
34225
|
+
/**
|
|
34226
|
+
* Address description.
|
|
34227
|
+
*/
|
|
34228
|
+
description: string;
|
|
34229
|
+
/**
|
|
34230
|
+
* Whether global read-only is enabled, value: Enable: Enable. Disable: Disabled.
|
|
34231
|
+
*/
|
|
34232
|
+
enableReadOnly: string;
|
|
34233
|
+
/**
|
|
34234
|
+
* Whether read-write separation is enabled, value: Enable: Enable. Disable: Disabled.
|
|
34235
|
+
*/
|
|
34236
|
+
enableReadWriteSplitting: string;
|
|
34237
|
+
/**
|
|
34238
|
+
* Instance connection terminal ID.
|
|
34239
|
+
*/
|
|
34240
|
+
endpointId: string;
|
|
34241
|
+
/**
|
|
34242
|
+
* The instance connection terminal name.
|
|
34243
|
+
*/
|
|
34244
|
+
endpointName: string;
|
|
34245
|
+
/**
|
|
34246
|
+
* Terminal type:
|
|
34247
|
+
* Cluster: The default terminal. (created by default)
|
|
34248
|
+
* Primary: Primary node terminal.
|
|
34249
|
+
* Custom: Custom terminal.
|
|
34250
|
+
* Direct: Direct connection to the terminal. (Only the operation and maintenance side)
|
|
34251
|
+
* AllNode: All node terminals. (Only the operation and maintenance side).
|
|
34252
|
+
*/
|
|
34253
|
+
endpointType: string;
|
|
34254
|
+
/**
|
|
34255
|
+
* The distribution type of the read-only nodes, value:
|
|
34256
|
+
* Default: Default distribution.
|
|
34257
|
+
* Custom: Custom distribution.
|
|
34258
|
+
*/
|
|
34259
|
+
readOnlyNodeDistributionType: string;
|
|
34260
|
+
/**
|
|
34261
|
+
* Maximum latency threshold of read-only node. If the latency of a read-only node exceeds this value, reading traffic won't be routed to this node. Unit: seconds.Values: 0~3600.Default value: 30.
|
|
34262
|
+
*/
|
|
34263
|
+
readOnlyNodeMaxDelayTime: number;
|
|
34264
|
+
/**
|
|
34265
|
+
* The list of nodes configured by the connection terminal and the corresponding read-only weights.
|
|
34266
|
+
*/
|
|
34267
|
+
readOnlyNodeWeights: outputs.rds_postgresql.GetInstancesInstanceEndpointReadOnlyNodeWeight[];
|
|
34268
|
+
/**
|
|
34269
|
+
* Read and write mode:
|
|
34270
|
+
* ReadWrite: read and write
|
|
34271
|
+
* ReadOnly: read only (default).
|
|
34272
|
+
*/
|
|
34273
|
+
readWriteMode: string;
|
|
34274
|
+
/**
|
|
34275
|
+
* After the terminal enables read-write separation, the number of proxy connections set for the terminal. The lower limit of the number of proxy connections is 20. The upper limit of the number of proxy connections depends on the specifications of the instance master node.
|
|
34276
|
+
*/
|
|
34277
|
+
readWriteProxyConnection: number;
|
|
34278
|
+
/**
|
|
34279
|
+
* Whether the endpoint sends write requests to the write node (currently only the master node is a write node). Values: true: Yes(Default). false: No.
|
|
34280
|
+
*/
|
|
34281
|
+
writeNodeHaltWriting: boolean;
|
|
34282
|
+
}
|
|
34283
|
+
interface GetInstancesInstanceEndpointAddress {
|
|
34284
|
+
/**
|
|
34285
|
+
* Address that can be accessed across regions.
|
|
34286
|
+
*/
|
|
34287
|
+
crossRegionDomain: string;
|
|
34288
|
+
/**
|
|
34289
|
+
* Whether to enable public network resolution. Values: false: Default value. PrivateZone of Volcano Engine. true: Private and public network resolution of Volcano Engine.
|
|
34290
|
+
*/
|
|
34291
|
+
dnsVisibility: boolean;
|
|
34292
|
+
/**
|
|
34293
|
+
* Connect domain name.
|
|
34294
|
+
*/
|
|
34295
|
+
domain: string;
|
|
34296
|
+
/**
|
|
34297
|
+
* The type of private network address. Values: LocalDomain: Local domain name. CrossRegionDomain: Domains accessible across regions.
|
|
34298
|
+
*/
|
|
34299
|
+
domainVisibilitySetting: string;
|
|
34300
|
+
/**
|
|
34301
|
+
* The ID of the EIP, only valid for Public addresses.
|
|
34302
|
+
*/
|
|
34303
|
+
eipId: string;
|
|
34304
|
+
/**
|
|
34305
|
+
* Address IP protocol, IPv4 or IPv6.
|
|
34306
|
+
*/
|
|
34307
|
+
internetProtocol: string;
|
|
34308
|
+
/**
|
|
34309
|
+
* The IP Address.
|
|
34310
|
+
*/
|
|
34311
|
+
ipAddress: string;
|
|
34312
|
+
/**
|
|
34313
|
+
* The IPv6 Address.
|
|
34314
|
+
*/
|
|
34315
|
+
ipv6Address: string;
|
|
34316
|
+
/**
|
|
34317
|
+
* Network address type, temporarily Private, Public, PublicService.
|
|
34318
|
+
*/
|
|
34319
|
+
networkType: string;
|
|
34320
|
+
/**
|
|
34321
|
+
* The Port.
|
|
34322
|
+
*/
|
|
34323
|
+
port: string;
|
|
34324
|
+
/**
|
|
34325
|
+
* The subnet ID of the RDS PostgreSQL instance.
|
|
34326
|
+
*/
|
|
34327
|
+
subnetId: string;
|
|
34328
|
+
}
|
|
34329
|
+
interface GetInstancesInstanceEndpointReadOnlyNodeWeight {
|
|
34330
|
+
/**
|
|
34331
|
+
* Node ID.
|
|
34332
|
+
*/
|
|
34333
|
+
nodeId: string;
|
|
34334
|
+
/**
|
|
34335
|
+
* Node type. Value: Primary: Primary node.
|
|
34336
|
+
* Secondary: Standby node.
|
|
34337
|
+
* ReadOnly: Read-only node.
|
|
34338
|
+
*/
|
|
34339
|
+
nodeType: string;
|
|
34340
|
+
/**
|
|
34341
|
+
* The weight of the node.
|
|
34342
|
+
*/
|
|
34343
|
+
weight: number;
|
|
34344
|
+
}
|
|
34345
|
+
interface GetInstancesInstanceNode {
|
|
34346
|
+
/**
|
|
34347
|
+
* Node creation local time.
|
|
34348
|
+
*/
|
|
34349
|
+
createTime: string;
|
|
34350
|
+
/**
|
|
34351
|
+
* The id of the RDS PostgreSQL instance.
|
|
34352
|
+
*/
|
|
34353
|
+
instanceId: string;
|
|
34354
|
+
/**
|
|
34355
|
+
* Memory size in GB.
|
|
34356
|
+
*/
|
|
34357
|
+
memory: number;
|
|
34358
|
+
/**
|
|
34359
|
+
* Node ID.
|
|
34360
|
+
*/
|
|
34361
|
+
nodeId: string;
|
|
34362
|
+
/**
|
|
34363
|
+
* General instance type, different from Custom instance type.
|
|
34364
|
+
*/
|
|
34365
|
+
nodeSpec: string;
|
|
34366
|
+
/**
|
|
34367
|
+
* Node state, value: aligned with instance state.
|
|
34368
|
+
*/
|
|
34369
|
+
nodeStatus: string;
|
|
34370
|
+
/**
|
|
34371
|
+
* Node type. Value: Primary: Primary node.
|
|
34372
|
+
* Secondary: Standby node.
|
|
34373
|
+
* ReadOnly: Read-only node.
|
|
34374
|
+
*/
|
|
34375
|
+
nodeType: string;
|
|
34376
|
+
/**
|
|
34377
|
+
* The region of the RDS PostgreSQL instance.
|
|
34378
|
+
*/
|
|
34379
|
+
regionId: string;
|
|
34380
|
+
/**
|
|
34381
|
+
* The update time of the RDS PostgreSQL instance.
|
|
34382
|
+
*/
|
|
34383
|
+
updateTime: string;
|
|
34384
|
+
/**
|
|
34385
|
+
* CPU size.
|
|
34386
|
+
*/
|
|
34387
|
+
vCpu: number;
|
|
34388
|
+
/**
|
|
34389
|
+
* The available zone of the RDS PostgreSQL instance.
|
|
34390
|
+
*/
|
|
34391
|
+
zoneId: string;
|
|
34392
|
+
}
|
|
34393
|
+
interface GetInstancesInstanceTag {
|
|
34394
|
+
/**
|
|
34395
|
+
* The Key of Tags.
|
|
34396
|
+
*/
|
|
34397
|
+
key: string;
|
|
34398
|
+
/**
|
|
34399
|
+
* The Value of Tags.
|
|
34400
|
+
*/
|
|
34401
|
+
value: string;
|
|
34402
|
+
}
|
|
34403
|
+
interface GetInstancesTag {
|
|
34404
|
+
/**
|
|
34405
|
+
* The Key of Tags.
|
|
34406
|
+
*/
|
|
34407
|
+
key: string;
|
|
34408
|
+
/**
|
|
34409
|
+
* The Value of Tags.
|
|
34410
|
+
*/
|
|
34411
|
+
value: string;
|
|
34412
|
+
}
|
|
34413
|
+
interface GetParameterTemplateApplyDiffsParameter {
|
|
34414
|
+
/**
|
|
34415
|
+
* The name of the parameter.
|
|
34416
|
+
*/
|
|
34417
|
+
name: string;
|
|
34418
|
+
/**
|
|
34419
|
+
* The running value defined for this parameter in the parameter template.
|
|
34420
|
+
*/
|
|
34421
|
+
newValue: string;
|
|
34422
|
+
/**
|
|
34423
|
+
* The current running value of this parameter in the instance.
|
|
34424
|
+
*/
|
|
34425
|
+
oldValue: string;
|
|
34426
|
+
/**
|
|
34427
|
+
* Indicates whether a restart is required after the parameter is modified.
|
|
34428
|
+
*/
|
|
34429
|
+
restart: boolean;
|
|
34430
|
+
}
|
|
34431
|
+
interface GetParameterTemplatesTemplateInfo {
|
|
34432
|
+
/**
|
|
34433
|
+
* Account ID.
|
|
34434
|
+
*/
|
|
34435
|
+
accountId: string;
|
|
34436
|
+
/**
|
|
34437
|
+
* Creation time of the parameter template. The format is yyyy-MM-ddTHH:mm:ss.sssZ (UTC time).
|
|
34438
|
+
*/
|
|
34439
|
+
createTime: string;
|
|
34440
|
+
/**
|
|
34441
|
+
* Indicates whether the parameter template change requires a restart.
|
|
34442
|
+
*/
|
|
34443
|
+
needRestart: boolean;
|
|
34444
|
+
/**
|
|
34445
|
+
* Number of parameters in the parameter template.
|
|
34446
|
+
*/
|
|
34447
|
+
parameterNum: number;
|
|
34448
|
+
/**
|
|
34449
|
+
* Classification of parameter templates. The current value can only be DBEngine.
|
|
34450
|
+
*/
|
|
34451
|
+
templateCategory: string;
|
|
34452
|
+
/**
|
|
34453
|
+
* Description information of the parameter template.
|
|
34454
|
+
*/
|
|
34455
|
+
templateDesc: string;
|
|
34456
|
+
/**
|
|
34457
|
+
* Parameter template ID.
|
|
34458
|
+
*/
|
|
34459
|
+
templateId: string;
|
|
34460
|
+
/**
|
|
34461
|
+
* Parameter template name.
|
|
34462
|
+
*/
|
|
34463
|
+
templateName: string;
|
|
34464
|
+
/**
|
|
34465
|
+
* Parameter configuration of the parameter template.
|
|
34466
|
+
*/
|
|
34467
|
+
templateParams: outputs.rds_postgresql.GetParameterTemplatesTemplateInfoTemplateParam[];
|
|
34468
|
+
/**
|
|
34469
|
+
* The source of the parameter template. The current value can only be User.
|
|
34470
|
+
*/
|
|
34471
|
+
templateSource: string;
|
|
34472
|
+
/**
|
|
34473
|
+
* The type of the parameter template. The current value can only be PostgreSQL.
|
|
34474
|
+
*/
|
|
34475
|
+
templateType: string;
|
|
34476
|
+
/**
|
|
34477
|
+
* PostgreSQL compatible versions. The current value can only be PostgreSQL_11/12/13/14/15/16/17.
|
|
34478
|
+
*/
|
|
34479
|
+
templateTypeVersion: string;
|
|
34480
|
+
/**
|
|
34481
|
+
* Update time of the parameter template. The format is yyyy-MM-ddTHH:mm:ss.sssZ (UTC time).
|
|
34482
|
+
*/
|
|
34483
|
+
updateTime: string;
|
|
34484
|
+
}
|
|
34485
|
+
interface GetParameterTemplatesTemplateInfoTemplateParam {
|
|
34486
|
+
/**
|
|
34487
|
+
* The value range of the parameter.
|
|
34488
|
+
*/
|
|
34489
|
+
checkingCode: string;
|
|
34490
|
+
/**
|
|
34491
|
+
* Parameter default value. Refers to the default value provided in the default template corresponding to this instance.
|
|
34492
|
+
*/
|
|
34493
|
+
defaultValue: string;
|
|
34494
|
+
/**
|
|
34495
|
+
* The description of the parameter in English.
|
|
34496
|
+
*/
|
|
34497
|
+
description: string;
|
|
34498
|
+
/**
|
|
34499
|
+
* The description of the parameter in Chinese.
|
|
34500
|
+
*/
|
|
34501
|
+
descriptionZh: string;
|
|
34502
|
+
/**
|
|
34503
|
+
* Indicates whether a restart is required after the parameter is modified.
|
|
34504
|
+
*/
|
|
34505
|
+
forceRestart: boolean;
|
|
34506
|
+
/**
|
|
34507
|
+
* The name of the parameter.
|
|
34508
|
+
*/
|
|
34509
|
+
name: string;
|
|
34510
|
+
/**
|
|
34511
|
+
* The type of the parameter.
|
|
34512
|
+
*/
|
|
34513
|
+
type: string;
|
|
34514
|
+
/**
|
|
34515
|
+
* The current value of the parameter.
|
|
34516
|
+
*/
|
|
34517
|
+
value: string;
|
|
34518
|
+
}
|
|
34519
|
+
interface GetPlannedEventsPlannedEvent {
|
|
34520
|
+
/**
|
|
34521
|
+
* The impact of operation and maintenance events on the business.
|
|
34522
|
+
*/
|
|
34523
|
+
businessImpact: string;
|
|
34524
|
+
/**
|
|
34525
|
+
* Event ID.
|
|
34526
|
+
*/
|
|
34527
|
+
eventId: string;
|
|
34528
|
+
/**
|
|
34529
|
+
* Event type. Values: VersionUpgrade, HostOffline.
|
|
34530
|
+
*/
|
|
34531
|
+
eventType: string;
|
|
34532
|
+
/**
|
|
34533
|
+
* The id of the PostgreSQL instance.
|
|
34534
|
+
*/
|
|
34535
|
+
instanceId: string;
|
|
34536
|
+
/**
|
|
34537
|
+
* The name of PostgreSQL instance.
|
|
34538
|
+
*/
|
|
34539
|
+
instanceName: string;
|
|
34540
|
+
/**
|
|
34541
|
+
* Maximum delay time. Format: yyyy-MM-ddTHH:mm:ss.sssZ (UTC).
|
|
34542
|
+
*/
|
|
34543
|
+
maxDelayTime: string;
|
|
34544
|
+
/**
|
|
34545
|
+
* Planned execution time. Format: yyyy-MM-ddTHH:mm:ss.sssZ (UTC).
|
|
34546
|
+
*/
|
|
34547
|
+
plannedBeginTime: string;
|
|
34548
|
+
/**
|
|
34549
|
+
* Reason for the planned event.
|
|
34550
|
+
*/
|
|
34551
|
+
plannedEventReason: string;
|
|
34552
|
+
/**
|
|
34553
|
+
* Planned switch start time. Format: yyyy-MM-ddTHH:mm:ss.sssZ (UTC).
|
|
34554
|
+
*/
|
|
34555
|
+
plannedSwitchBeginTime: string;
|
|
34556
|
+
/**
|
|
34557
|
+
* Planned switch end time. Format: yyyy-MM-ddTHH:mm:ss.sssZ (UTC).
|
|
34558
|
+
*/
|
|
34559
|
+
plannedSwitchEndTime: string;
|
|
34560
|
+
/**
|
|
34561
|
+
* Region.
|
|
34562
|
+
*/
|
|
34563
|
+
region: string;
|
|
34564
|
+
/**
|
|
34565
|
+
* Operation event status. Values: Canceled, WaitStart, WaitSwitch, Running, Running_BeforeSwitch, Running_Switching, Running_AfterSwitch, Success, Failed, Timeout, Rollbacking, RollbackFailed.
|
|
34566
|
+
*/
|
|
34567
|
+
status: string;
|
|
34568
|
+
}
|
|
34569
|
+
interface GetRegionsRegion {
|
|
34570
|
+
/**
|
|
34571
|
+
* The ID of the region.
|
|
34572
|
+
*/
|
|
34573
|
+
regionId: string;
|
|
34574
|
+
/**
|
|
34575
|
+
* The name of the region.
|
|
34576
|
+
*/
|
|
34577
|
+
regionName: string;
|
|
34578
|
+
}
|
|
34579
|
+
interface GetReplicationSlotsReplicationSlot {
|
|
34580
|
+
/**
|
|
34581
|
+
* The database where the replication slot is located.
|
|
34582
|
+
*/
|
|
34583
|
+
dataBase?: string;
|
|
34584
|
+
/**
|
|
34585
|
+
* The ip address.
|
|
34586
|
+
*/
|
|
34587
|
+
ipAddress?: string;
|
|
34588
|
+
/**
|
|
34589
|
+
* The name of the plugin used by the logical replication slot to parse WAL logs.
|
|
34590
|
+
*/
|
|
34591
|
+
plugin: string;
|
|
34592
|
+
/**
|
|
34593
|
+
* The name of the slot.
|
|
34594
|
+
*/
|
|
34595
|
+
slotName: string;
|
|
34596
|
+
/**
|
|
34597
|
+
* The status of the replication slot: ACTIVE or INACTIVE.
|
|
34598
|
+
*/
|
|
34599
|
+
slotStatus?: string;
|
|
34600
|
+
/**
|
|
34601
|
+
* The type of the slot: physical or logical.
|
|
34602
|
+
*/
|
|
34603
|
+
slotType: string;
|
|
34604
|
+
/**
|
|
34605
|
+
* Whether the slot is temporary.
|
|
34606
|
+
*/
|
|
34607
|
+
temporary?: boolean;
|
|
34608
|
+
/**
|
|
34609
|
+
* The cumulative WAL log volume corresponding to this replication slot. The unit is Byte.
|
|
34610
|
+
*/
|
|
34611
|
+
walDelay?: number;
|
|
34612
|
+
}
|
|
34613
|
+
interface GetSchemasSchema {
|
|
34614
|
+
/**
|
|
34615
|
+
* The name of the database.
|
|
34616
|
+
*/
|
|
34617
|
+
dbName: string;
|
|
34618
|
+
/**
|
|
34619
|
+
* The owner of the schema.
|
|
34620
|
+
*/
|
|
34621
|
+
owner: string;
|
|
34622
|
+
/**
|
|
34623
|
+
* The name of the schema.
|
|
34624
|
+
*/
|
|
34625
|
+
schemaName: string;
|
|
34626
|
+
}
|
|
34627
|
+
interface GetZonesZone {
|
|
34628
|
+
/**
|
|
34629
|
+
* The description of the zone.
|
|
34630
|
+
*/
|
|
34631
|
+
description: string;
|
|
34632
|
+
/**
|
|
34633
|
+
* The id of the zone.
|
|
34634
|
+
*/
|
|
34635
|
+
zoneId: string;
|
|
34636
|
+
/**
|
|
34637
|
+
* The name of the zone.
|
|
34638
|
+
*/
|
|
34639
|
+
zoneName: string;
|
|
34640
|
+
}
|
|
34641
|
+
interface InstanceBackupDetachedsBackup {
|
|
34642
|
+
/**
|
|
34643
|
+
* The latest time when the backup is created, in the format of yyyy-MM-ddTHH:mm:ss.sssZ (UTC time).
|
|
34644
|
+
*/
|
|
34645
|
+
backupEndTime: string;
|
|
34646
|
+
/**
|
|
34647
|
+
* The name of the backup file.
|
|
34648
|
+
*/
|
|
34649
|
+
backupFileName: string;
|
|
34650
|
+
/**
|
|
34651
|
+
* The size of the backup file, in Byte.
|
|
34652
|
+
*/
|
|
34653
|
+
backupFileSize: number;
|
|
34654
|
+
/**
|
|
34655
|
+
* The ID of the backup.
|
|
34656
|
+
*/
|
|
34657
|
+
backupId: string;
|
|
34658
|
+
/**
|
|
34659
|
+
* The progress of the backup. The unit is percentage.
|
|
34660
|
+
*/
|
|
34661
|
+
backupProgress: number;
|
|
34662
|
+
/**
|
|
34663
|
+
* The earliest time when the backup is created, in the format of yyyy-MM-ddTHH:mm:ss.sssZ (UTC time).
|
|
34664
|
+
*/
|
|
34665
|
+
backupStartTime: string;
|
|
34666
|
+
/**
|
|
34667
|
+
* The status of the backup.
|
|
34668
|
+
*/
|
|
34669
|
+
backupStatus: string;
|
|
34670
|
+
/**
|
|
34671
|
+
* The type of the backup.
|
|
34672
|
+
*/
|
|
34673
|
+
backupType: string;
|
|
34674
|
+
/**
|
|
34675
|
+
* The creation type of the backup: System, User.
|
|
34676
|
+
*/
|
|
34677
|
+
createType: string;
|
|
34678
|
+
/**
|
|
34679
|
+
* Information about the PostgreSQL instance associated with this backup.
|
|
34680
|
+
*/
|
|
34681
|
+
instanceInfos: outputs.rds_postgresql.InstanceBackupDetachedsBackupInstanceInfo[];
|
|
34682
|
+
}
|
|
34683
|
+
interface InstanceBackupDetachedsBackupInstanceInfo {
|
|
34684
|
+
/**
|
|
34685
|
+
* The version of the database engine.
|
|
34686
|
+
*/
|
|
34687
|
+
dbEngineVersion: string;
|
|
34688
|
+
/**
|
|
34689
|
+
* The ID of the PostgreSQL instance.
|
|
34690
|
+
*/
|
|
34691
|
+
instanceId: string;
|
|
34692
|
+
/**
|
|
34693
|
+
* The name of the PostgreSQL instance.
|
|
34694
|
+
*/
|
|
34695
|
+
instanceName: string;
|
|
34696
|
+
/**
|
|
34697
|
+
* The status of the instance.
|
|
34698
|
+
*/
|
|
34699
|
+
instanceStatus: string;
|
|
34700
|
+
}
|
|
34701
|
+
interface InstanceBackupWalLogsWalLogBackup {
|
|
34702
|
+
/**
|
|
34703
|
+
* The size of the WAL log backup file. The unit is bytes (Byte).
|
|
34704
|
+
*/
|
|
34705
|
+
backupFileSize: number;
|
|
34706
|
+
/**
|
|
34707
|
+
* The id of the backup.
|
|
34708
|
+
*/
|
|
34709
|
+
backupId: string;
|
|
34710
|
+
/**
|
|
34711
|
+
* The status of the WAL log backup.
|
|
34712
|
+
*/
|
|
34713
|
+
backupStatus: string;
|
|
34714
|
+
/**
|
|
34715
|
+
* The checksum in the ETag format using the crc64 algorithm.
|
|
34716
|
+
*/
|
|
34717
|
+
checkSum: string;
|
|
34718
|
+
/**
|
|
34719
|
+
* The downloadable status of the WAL log backup.
|
|
34720
|
+
*/
|
|
34721
|
+
downloadStatus: string;
|
|
34722
|
+
/**
|
|
34723
|
+
* The project to which the instance of the WAL log backup belongs.
|
|
34724
|
+
*/
|
|
34725
|
+
projectName: string;
|
|
34726
|
+
/**
|
|
34727
|
+
* The end time of the WAL log backup, in the format of yyyy-MM-ddTHH:mm:ssZ (UTC time).
|
|
34728
|
+
*/
|
|
34729
|
+
walLogBackupEndTime: string;
|
|
34730
|
+
}
|
|
34731
|
+
interface InstanceChargeDetail {
|
|
34732
|
+
/**
|
|
34733
|
+
* Whether to automatically renew in prepaid scenarios.
|
|
34734
|
+
* Autorenew_Enable
|
|
34735
|
+
* Autorenew_Disable (default).
|
|
34736
|
+
*/
|
|
34737
|
+
autoRenew: boolean;
|
|
34738
|
+
/**
|
|
34739
|
+
* Billing expiry time (yearly and monthly only).
|
|
34740
|
+
*/
|
|
34741
|
+
chargeEndTime: string;
|
|
34742
|
+
/**
|
|
34743
|
+
* Billing start time (pay-as-you-go & monthly subscription).
|
|
34744
|
+
*/
|
|
34745
|
+
chargeStartTime: string;
|
|
34746
|
+
/**
|
|
34747
|
+
* Pay status. Value:
|
|
34748
|
+
* normal - normal
|
|
34749
|
+
* overdue - overdue
|
|
34750
|
+
* unpaid - unpaid.
|
|
34751
|
+
*/
|
|
34752
|
+
chargeStatus: string;
|
|
34753
|
+
/**
|
|
34754
|
+
* Payment type. Value:
|
|
34755
|
+
* PostPaid - Pay-As-You-Go
|
|
34756
|
+
* PrePaid - Yearly and monthly (default).
|
|
34757
|
+
*/
|
|
34758
|
+
chargeType: string;
|
|
34759
|
+
/**
|
|
34760
|
+
* The number of the RDS PostgreSQL instance.
|
|
34761
|
+
*/
|
|
34762
|
+
number: number;
|
|
34763
|
+
/**
|
|
34764
|
+
* Estimated release time when arrears are closed (pay-as-you-go & monthly subscription).
|
|
34765
|
+
*/
|
|
34766
|
+
overdueReclaimTime: string;
|
|
34767
|
+
/**
|
|
34768
|
+
* Shutdown time in arrears (pay-as-you-go & monthly subscription).
|
|
34769
|
+
*/
|
|
34770
|
+
overdueTime: string;
|
|
34771
|
+
/**
|
|
34772
|
+
* Purchase duration in prepaid scenarios. Default: 1.
|
|
34773
|
+
*/
|
|
34774
|
+
period: number;
|
|
34775
|
+
/**
|
|
34776
|
+
* The purchase cycle in the prepaid scenario.
|
|
34777
|
+
* Month - monthly subscription (default)
|
|
34778
|
+
* Year - Package year.
|
|
34779
|
+
*/
|
|
34780
|
+
periodUnit: string;
|
|
34781
|
+
/**
|
|
34782
|
+
* Temporary upgrade of restoration time.
|
|
34783
|
+
*/
|
|
34784
|
+
tempModifyEndTime: string;
|
|
34785
|
+
/**
|
|
34786
|
+
* Start time of temporary upgrade.
|
|
34787
|
+
*/
|
|
34788
|
+
tempModifyStartTime: string;
|
|
34789
|
+
}
|
|
34790
|
+
interface InstanceChargeInfo {
|
|
34791
|
+
/**
|
|
34792
|
+
* Whether to automatically renew in prepaid scenarios.
|
|
34793
|
+
*/
|
|
34794
|
+
autoRenew: boolean;
|
|
34795
|
+
chargeType: string;
|
|
34796
|
+
/**
|
|
34797
|
+
* Purchase number of the RDS PostgreSQL instance. Range: [1, 20]. Default: 1.
|
|
34798
|
+
*/
|
|
34799
|
+
number?: number;
|
|
34800
|
+
/**
|
|
34801
|
+
* Purchase duration in prepaid scenarios. Default: 1.
|
|
34802
|
+
*/
|
|
34803
|
+
period: number;
|
|
34804
|
+
/**
|
|
34805
|
+
* The purchase cycle in the prepaid scenario.
|
|
34806
|
+
* Month - monthly subscription (default)
|
|
34807
|
+
* Year - Package year.
|
|
34808
|
+
*/
|
|
34809
|
+
periodUnit: string;
|
|
34810
|
+
}
|
|
34811
|
+
interface InstanceEndpoint {
|
|
34812
|
+
/**
|
|
34813
|
+
* Address list.
|
|
34814
|
+
*/
|
|
34815
|
+
addresses: outputs.rds_postgresql.InstanceEndpointAddress[];
|
|
34816
|
+
/**
|
|
34817
|
+
* When the terminal type is read-write terminal or read-only terminal, it supports setting whether new nodes are automatically added.
|
|
34818
|
+
*/
|
|
34819
|
+
autoAddNewNodes: string;
|
|
34820
|
+
/**
|
|
34821
|
+
* Address description.
|
|
34822
|
+
*/
|
|
34823
|
+
description: string;
|
|
34824
|
+
/**
|
|
34825
|
+
* Whether global read-only is enabled, value: Enable: Enable. Disable: Disabled.
|
|
34826
|
+
*/
|
|
34827
|
+
enableReadOnly: string;
|
|
34828
|
+
/**
|
|
34829
|
+
* Whether read-write separation is enabled, value: Enable: Enable. Disable: Disabled.
|
|
34830
|
+
*/
|
|
34831
|
+
enableReadWriteSplitting: string;
|
|
34832
|
+
/**
|
|
34833
|
+
* Instance connection terminal ID.
|
|
34834
|
+
*/
|
|
34835
|
+
endpointId: string;
|
|
34836
|
+
/**
|
|
34837
|
+
* The instance connection terminal name.
|
|
34838
|
+
*/
|
|
34839
|
+
endpointName: string;
|
|
34840
|
+
/**
|
|
34841
|
+
* Terminal type:
|
|
34842
|
+
* Cluster: The default terminal. (created by default)
|
|
34843
|
+
* Primary: Primary node terminal.
|
|
34844
|
+
* Custom: Custom terminal.
|
|
34845
|
+
* Direct: Direct connection to the terminal. (Only the operation and maintenance side)
|
|
34846
|
+
* AllNode: All node terminals. (Only the operation and maintenance side).
|
|
34847
|
+
*/
|
|
34848
|
+
endpointType: string;
|
|
34849
|
+
/**
|
|
34850
|
+
* The distribution type of the read-only nodes, value:
|
|
34851
|
+
* Default: Default distribution.
|
|
34852
|
+
* Custom: Custom distribution.
|
|
34853
|
+
*/
|
|
34854
|
+
readOnlyNodeDistributionType: string;
|
|
34855
|
+
/**
|
|
34856
|
+
* Maximum latency threshold of read-only node. If the latency of a read-only node exceeds this value, reading traffic won't be routed to this node. Unit: seconds.Values: 0~3600.Default value: 30.
|
|
34857
|
+
*/
|
|
34858
|
+
readOnlyNodeMaxDelayTime: number;
|
|
34859
|
+
/**
|
|
34860
|
+
* The list of nodes configured by the connection terminal and the corresponding read-only weights.
|
|
34861
|
+
*/
|
|
34862
|
+
readOnlyNodeWeights: outputs.rds_postgresql.InstanceEndpointReadOnlyNodeWeight[];
|
|
34863
|
+
/**
|
|
34864
|
+
* Read and write mode:
|
|
34865
|
+
* ReadWrite: read and write
|
|
34866
|
+
* ReadOnly: read only (default).
|
|
34867
|
+
*/
|
|
34868
|
+
readWriteMode: string;
|
|
34869
|
+
/**
|
|
34870
|
+
* After the terminal enables read-write separation, the number of proxy connections set for the terminal. The lower limit of the number of proxy connections is 20. The upper limit of the number of proxy connections depends on the specifications of the instance master node.
|
|
34871
|
+
*/
|
|
34872
|
+
readWriteProxyConnection: number;
|
|
34873
|
+
/**
|
|
34874
|
+
* Whether the endpoint sends write requests to the write node (currently only the master node is a write node). Values: true: Yes(Default). false: No.
|
|
34875
|
+
*/
|
|
34876
|
+
writeNodeHaltWriting: boolean;
|
|
34877
|
+
}
|
|
34878
|
+
interface InstanceEndpointAddress {
|
|
34879
|
+
/**
|
|
34880
|
+
* Address that can be accessed across regions.
|
|
34881
|
+
*/
|
|
34882
|
+
crossRegionDomain: string;
|
|
34883
|
+
/**
|
|
34884
|
+
* Whether to enable public network resolution. Values: false: Default value. PrivateZone of Volcano Engine. true: Private and public network resolution of Volcano Engine.
|
|
34885
|
+
*/
|
|
34886
|
+
dnsVisibility: boolean;
|
|
34887
|
+
/**
|
|
34888
|
+
* Connect domain name.
|
|
34889
|
+
*/
|
|
34890
|
+
domain: string;
|
|
34891
|
+
/**
|
|
34892
|
+
* The type of private network address. Values: LocalDomain: Local domain name. CrossRegionDomain: Domains accessible across regions.
|
|
34893
|
+
*/
|
|
34894
|
+
domainVisibilitySetting: string;
|
|
34895
|
+
/**
|
|
34896
|
+
* The ID of the EIP, only valid for Public addresses.
|
|
34897
|
+
*/
|
|
34898
|
+
eipId: string;
|
|
34899
|
+
/**
|
|
34900
|
+
* Address IP protocol, IPv4 or IPv6.
|
|
34901
|
+
*/
|
|
34902
|
+
internetProtocol: string;
|
|
34903
|
+
/**
|
|
34904
|
+
* The IP Address.
|
|
34905
|
+
*/
|
|
34906
|
+
ipAddress: string;
|
|
34907
|
+
/**
|
|
34908
|
+
* The IPv6 Address.
|
|
34909
|
+
*/
|
|
34910
|
+
ipv6Address: string;
|
|
34911
|
+
/**
|
|
34912
|
+
* Network address type, temporarily Private, Public, PublicService.
|
|
34913
|
+
*/
|
|
34914
|
+
networkType: string;
|
|
34915
|
+
/**
|
|
34916
|
+
* The Port.
|
|
34917
|
+
*/
|
|
34918
|
+
port: string;
|
|
34919
|
+
/**
|
|
34920
|
+
* Subnet ID of the RDS PostgreSQL instance.
|
|
34921
|
+
*/
|
|
34922
|
+
subnetId: string;
|
|
34923
|
+
}
|
|
34924
|
+
interface InstanceEndpointReadOnlyNodeWeight {
|
|
34925
|
+
/**
|
|
34926
|
+
* Node ID.
|
|
34927
|
+
*/
|
|
34928
|
+
nodeId: string;
|
|
34929
|
+
/**
|
|
34930
|
+
* Node type. Value: Primary: Primary node.
|
|
34931
|
+
* Secondary: Standby node.
|
|
34932
|
+
* ReadOnly: Read-only node.
|
|
34933
|
+
*/
|
|
34934
|
+
nodeType: string;
|
|
34935
|
+
/**
|
|
34936
|
+
* The weight of the node.
|
|
34937
|
+
*/
|
|
34938
|
+
weight: number;
|
|
34939
|
+
}
|
|
34940
|
+
interface InstanceEstimationResult {
|
|
34941
|
+
/**
|
|
34942
|
+
* After changing according to the current configuration, the estimated impact on the read and write connections of the instance.
|
|
34943
|
+
*/
|
|
34944
|
+
effects: string[];
|
|
34945
|
+
/**
|
|
34946
|
+
* Estimated impact on the instance after the current configuration changes.
|
|
34947
|
+
*/
|
|
34948
|
+
plans: string[];
|
|
34949
|
+
}
|
|
34950
|
+
interface InstanceFailoverLogsFailoverLog {
|
|
34951
|
+
/**
|
|
34952
|
+
* The time when the failover occurred. Format: yyyy-MM-ddTHH:mm:ss.sssZ (UTC time).
|
|
34953
|
+
*/
|
|
34954
|
+
failoverTime: string;
|
|
34955
|
+
/**
|
|
34956
|
+
* The type of the failover, such as User or System.
|
|
34957
|
+
*/
|
|
34958
|
+
failoverType: string;
|
|
34959
|
+
/**
|
|
34960
|
+
* The node ID of the new master after failover.
|
|
34961
|
+
*/
|
|
34962
|
+
newMasterNodeId: string;
|
|
34963
|
+
/**
|
|
34964
|
+
* The node ID of the old master before failover.
|
|
34965
|
+
*/
|
|
34966
|
+
oldMasterNodeId: string;
|
|
34967
|
+
}
|
|
34968
|
+
interface InstanceNode {
|
|
34969
|
+
/**
|
|
34970
|
+
* Node creation local time.
|
|
34971
|
+
*/
|
|
34972
|
+
createTime: string;
|
|
34973
|
+
/**
|
|
34974
|
+
* Instance ID.
|
|
34975
|
+
*/
|
|
34976
|
+
instanceId: string;
|
|
34977
|
+
/**
|
|
34978
|
+
* Memory size in GB.
|
|
34979
|
+
*/
|
|
34980
|
+
memory: number;
|
|
34981
|
+
/**
|
|
34982
|
+
* Node ID.
|
|
34983
|
+
*/
|
|
34984
|
+
nodeId: string;
|
|
34985
|
+
/**
|
|
34986
|
+
* The specification of primary node and secondary node.
|
|
34987
|
+
*/
|
|
34988
|
+
nodeSpec: string;
|
|
34989
|
+
/**
|
|
34990
|
+
* Node state, value: aligned with instance state.
|
|
34991
|
+
*/
|
|
34992
|
+
nodeStatus: string;
|
|
34993
|
+
/**
|
|
34994
|
+
* Node type. Value: Primary: Primary node.
|
|
34995
|
+
* Secondary: Standby node.
|
|
34996
|
+
* ReadOnly: Read-only node.
|
|
34997
|
+
*/
|
|
34998
|
+
nodeType: string;
|
|
34999
|
+
/**
|
|
35000
|
+
* The region of the RDS PostgreSQL instance.
|
|
32809
35001
|
*/
|
|
32810
|
-
|
|
35002
|
+
regionId: string;
|
|
32811
35003
|
/**
|
|
32812
|
-
*
|
|
35004
|
+
* The update time of the RDS PostgreSQL instance.
|
|
32813
35005
|
*/
|
|
32814
|
-
|
|
35006
|
+
updateTime: string;
|
|
32815
35007
|
/**
|
|
32816
|
-
*
|
|
35008
|
+
* CPU size.
|
|
32817
35009
|
*/
|
|
32818
|
-
|
|
35010
|
+
vCpu: number;
|
|
32819
35011
|
/**
|
|
32820
|
-
*
|
|
35012
|
+
* The available zone of the RDS PostgreSQL instance.
|
|
32821
35013
|
*/
|
|
32822
|
-
|
|
35014
|
+
zoneId: string;
|
|
35015
|
+
}
|
|
35016
|
+
interface InstanceParameter {
|
|
32823
35017
|
/**
|
|
32824
|
-
*
|
|
35018
|
+
* Parameter name.
|
|
32825
35019
|
*/
|
|
32826
|
-
|
|
35020
|
+
name: string;
|
|
32827
35021
|
/**
|
|
32828
|
-
*
|
|
35022
|
+
* Parameter value.
|
|
32829
35023
|
*/
|
|
32830
|
-
|
|
35024
|
+
value: string;
|
|
35025
|
+
}
|
|
35026
|
+
interface InstanceParameterLogsParameterChangeLog {
|
|
32831
35027
|
/**
|
|
32832
|
-
* The
|
|
35028
|
+
* The time when the parameter was last modified. Format: yyyy-MM-ddTHH:mm:ss.sssZ (UTC time).
|
|
32833
35029
|
*/
|
|
32834
|
-
|
|
35030
|
+
modifyTime: string;
|
|
32835
35031
|
/**
|
|
32836
|
-
* The
|
|
35032
|
+
* The name of the parameter.
|
|
35033
|
+
*/
|
|
35034
|
+
name: string;
|
|
35035
|
+
/**
|
|
35036
|
+
* The new value of the parameter.
|
|
35037
|
+
*/
|
|
35038
|
+
newValue: string;
|
|
35039
|
+
/**
|
|
35040
|
+
* The old value of the parameter.
|
|
35041
|
+
*/
|
|
35042
|
+
oldValue: string;
|
|
35043
|
+
/**
|
|
35044
|
+
* The status of the parameter. Applied: Already in effect. Invalid: Not in effect. Syncing: Being applied, not yet in effect.
|
|
35045
|
+
*/
|
|
35046
|
+
status: string;
|
|
35047
|
+
}
|
|
35048
|
+
interface InstanceParametersInstanceParameter {
|
|
35049
|
+
/**
|
|
35050
|
+
* The version of the PostgreSQL engine.
|
|
35051
|
+
*/
|
|
35052
|
+
dbEngineVersion: string;
|
|
35053
|
+
/**
|
|
35054
|
+
* The ID of the PostgreSQL instance.
|
|
32837
35055
|
*/
|
|
32838
35056
|
instanceId: string;
|
|
32839
35057
|
/**
|
|
32840
|
-
* The
|
|
35058
|
+
* @deprecated The current parameter configuration of the instance (non-kernel parameters).
|
|
32841
35059
|
*/
|
|
32842
|
-
|
|
35060
|
+
noneKernelParameters: outputs.rds_postgresql.InstanceParametersInstanceParameterNoneKernelParameter[];
|
|
32843
35061
|
/**
|
|
32844
|
-
* The
|
|
35062
|
+
* The total count of parameters.
|
|
32845
35063
|
*/
|
|
32846
|
-
|
|
35064
|
+
parameterCount: string;
|
|
32847
35065
|
/**
|
|
32848
|
-
* The
|
|
35066
|
+
* The current parameter configuration of the instance (kernel parameters).
|
|
32849
35067
|
*/
|
|
32850
|
-
|
|
35068
|
+
parameters: outputs.rds_postgresql.InstanceParametersInstanceParameterParameter[];
|
|
35069
|
+
}
|
|
35070
|
+
interface InstanceParametersInstanceParameterNoneKernelParameter {
|
|
32851
35071
|
/**
|
|
32852
|
-
*
|
|
35072
|
+
* The value range of the parameter.
|
|
32853
35073
|
*/
|
|
32854
|
-
|
|
35074
|
+
checkingCode: string;
|
|
32855
35075
|
/**
|
|
32856
|
-
*
|
|
35076
|
+
* Parameter default value. Refers to the default value provided in the default template corresponding to this instance.
|
|
32857
35077
|
*/
|
|
32858
|
-
|
|
35078
|
+
defaultValue: string;
|
|
32859
35079
|
/**
|
|
32860
|
-
*
|
|
35080
|
+
* The description of the parameter in English.
|
|
32861
35081
|
*/
|
|
32862
|
-
|
|
35082
|
+
description: string;
|
|
32863
35083
|
/**
|
|
32864
|
-
*
|
|
35084
|
+
* The description of the parameter in Chinese.
|
|
32865
35085
|
*/
|
|
32866
|
-
|
|
35086
|
+
descriptionZh: string;
|
|
32867
35087
|
/**
|
|
32868
|
-
*
|
|
35088
|
+
* Indicates whether a restart is required after the parameter is modified.
|
|
32869
35089
|
*/
|
|
32870
|
-
|
|
35090
|
+
forceRestart: boolean;
|
|
32871
35091
|
/**
|
|
32872
|
-
* The
|
|
35092
|
+
* The name of the parameter.
|
|
32873
35093
|
*/
|
|
32874
|
-
|
|
35094
|
+
name: string;
|
|
32875
35095
|
/**
|
|
32876
|
-
*
|
|
35096
|
+
* The type of the parameter.
|
|
32877
35097
|
*/
|
|
32878
|
-
|
|
35098
|
+
type: string;
|
|
32879
35099
|
/**
|
|
32880
|
-
*
|
|
35100
|
+
* The current value of the parameter.
|
|
32881
35101
|
*/
|
|
32882
|
-
|
|
35102
|
+
value: string;
|
|
35103
|
+
}
|
|
35104
|
+
interface InstanceParametersInstanceParameterParameter {
|
|
32883
35105
|
/**
|
|
32884
|
-
* The
|
|
35106
|
+
* The value range of the parameter.
|
|
32885
35107
|
*/
|
|
32886
|
-
|
|
35108
|
+
checkingCode: string;
|
|
32887
35109
|
/**
|
|
32888
|
-
*
|
|
35110
|
+
* Parameter default value. Refers to the default value provided in the default template corresponding to this instance.
|
|
32889
35111
|
*/
|
|
32890
|
-
|
|
35112
|
+
defaultValue: string;
|
|
32891
35113
|
/**
|
|
32892
|
-
* The
|
|
35114
|
+
* The description of the parameter in English.
|
|
32893
35115
|
*/
|
|
32894
|
-
|
|
35116
|
+
description: string;
|
|
32895
35117
|
/**
|
|
32896
|
-
*
|
|
35118
|
+
* The description of the parameter in Chinese.
|
|
32897
35119
|
*/
|
|
32898
|
-
|
|
35120
|
+
descriptionZh: string;
|
|
32899
35121
|
/**
|
|
32900
|
-
*
|
|
35122
|
+
* Indicates whether a restart is required after the parameter is modified.
|
|
32901
35123
|
*/
|
|
32902
|
-
|
|
35124
|
+
forceRestart: boolean;
|
|
32903
35125
|
/**
|
|
32904
|
-
* The
|
|
35126
|
+
* The name of the parameter.
|
|
32905
35127
|
*/
|
|
32906
|
-
|
|
35128
|
+
name: string;
|
|
32907
35129
|
/**
|
|
32908
|
-
*
|
|
35130
|
+
* The type of the parameter.
|
|
32909
35131
|
*/
|
|
32910
|
-
|
|
35132
|
+
type: string;
|
|
35133
|
+
/**
|
|
35134
|
+
* The current value of the parameter.
|
|
35135
|
+
*/
|
|
35136
|
+
value: string;
|
|
32911
35137
|
}
|
|
32912
|
-
interface
|
|
35138
|
+
interface InstancePriceDetailsChargeInfo {
|
|
32913
35139
|
/**
|
|
32914
|
-
* Whether to
|
|
32915
|
-
* Autorenew_Enable
|
|
32916
|
-
* Autorenew_Disable (default).
|
|
35140
|
+
* Whether to auto renew the subscription in a pre-paid scenario.
|
|
32917
35141
|
*/
|
|
32918
|
-
autoRenew
|
|
35142
|
+
autoRenew?: boolean;
|
|
32919
35143
|
/**
|
|
32920
|
-
*
|
|
35144
|
+
* The charge type of the instance. Valid values: PostPaid, PrePaid.
|
|
32921
35145
|
*/
|
|
32922
|
-
|
|
35146
|
+
chargeType: string;
|
|
32923
35147
|
/**
|
|
32924
|
-
*
|
|
35148
|
+
* Number of purchased instances. Can be an integer between 1 and 20. Default value:1.
|
|
32925
35149
|
*/
|
|
32926
|
-
|
|
35150
|
+
number?: number;
|
|
32927
35151
|
/**
|
|
32928
|
-
*
|
|
32929
|
-
* normal - normal
|
|
32930
|
-
* overdue - overdue
|
|
32931
|
-
* .
|
|
35152
|
+
* Subscription duration in a pre-paid scenario.Default value:1.
|
|
32932
35153
|
*/
|
|
32933
|
-
|
|
35154
|
+
period?: number;
|
|
32934
35155
|
/**
|
|
32935
|
-
*
|
|
35156
|
+
* Purchase cycle in a pre-paid scenario. Valid values: Month, Year.
|
|
35157
|
+
*/
|
|
35158
|
+
periodUnit?: string;
|
|
35159
|
+
}
|
|
35160
|
+
interface InstancePriceDetailsInstancesPrice {
|
|
35161
|
+
/**
|
|
35162
|
+
* Price of each charge item.
|
|
35163
|
+
*/
|
|
35164
|
+
chargeItemPrices: outputs.rds_postgresql.InstancePriceDetailsInstancesPriceChargeItemPrice[];
|
|
35165
|
+
/**
|
|
35166
|
+
* Currency unit.
|
|
35167
|
+
*/
|
|
35168
|
+
currency: string;
|
|
35169
|
+
/**
|
|
35170
|
+
* Instance price after discount.
|
|
35171
|
+
*/
|
|
35172
|
+
discountPrice: number;
|
|
35173
|
+
/**
|
|
35174
|
+
* Number of purchased instances.
|
|
35175
|
+
*/
|
|
35176
|
+
instanceQuantity: number;
|
|
35177
|
+
/**
|
|
35178
|
+
* Instance price before discount.
|
|
35179
|
+
*/
|
|
35180
|
+
originalPrice: number;
|
|
35181
|
+
/**
|
|
35182
|
+
* Price payable of instance.
|
|
35183
|
+
*/
|
|
35184
|
+
payablePrice: number;
|
|
35185
|
+
}
|
|
35186
|
+
interface InstancePriceDetailsInstancesPriceChargeItemPrice {
|
|
35187
|
+
/**
|
|
35188
|
+
* If chargeItemKey is Primary, Secondary, or ReadOnly, this parameter returns the instance specification, such as rds.pg.d1.1c2g. If chargeItemKey is Storage, this parameter returns the stored key, such as rds.pg.d1.localssd.
|
|
35189
|
+
*/
|
|
35190
|
+
chargeItemKey: string;
|
|
35191
|
+
/**
|
|
35192
|
+
* Billing item name. Values:Primary, Secondary, ReadOnly, Storage.
|
|
35193
|
+
*/
|
|
35194
|
+
chargeItemType: string;
|
|
35195
|
+
/**
|
|
35196
|
+
* If chargeItemKey is Primary, Secondary, or ReadOnly, this parameter returns the number of nodes, with a value of "1". If chargeItemKey is Storage, his parameter returns the storage size in GB.
|
|
35197
|
+
*/
|
|
35198
|
+
chargeItemValue: number;
|
|
35199
|
+
/**
|
|
35200
|
+
* Instance price after discount.
|
|
35201
|
+
*/
|
|
35202
|
+
discountPrice: number;
|
|
35203
|
+
/**
|
|
35204
|
+
* Number of nodes of each instance.
|
|
35205
|
+
*/
|
|
35206
|
+
nodeNumPerInstance: number;
|
|
35207
|
+
/**
|
|
35208
|
+
* Instance price before discount.
|
|
35209
|
+
*/
|
|
35210
|
+
originalPrice: number;
|
|
35211
|
+
/**
|
|
35212
|
+
* Price payable of instance.
|
|
35213
|
+
*/
|
|
35214
|
+
payablePrice: number;
|
|
35215
|
+
}
|
|
35216
|
+
interface InstancePriceDetailsNodeInfo {
|
|
35217
|
+
/**
|
|
35218
|
+
* The id of the node.
|
|
35219
|
+
*/
|
|
35220
|
+
nodeId?: string;
|
|
35221
|
+
/**
|
|
35222
|
+
* The operate type of the node. Valid values: Create.
|
|
35223
|
+
*/
|
|
35224
|
+
nodeOperateType?: string;
|
|
35225
|
+
/**
|
|
35226
|
+
* The specification of the node.
|
|
35227
|
+
*/
|
|
35228
|
+
nodeSpec: string;
|
|
35229
|
+
/**
|
|
35230
|
+
* The type of the node. Valid values: Primary, Secondary, ReadOnly.
|
|
35231
|
+
*/
|
|
35232
|
+
nodeType: string;
|
|
35233
|
+
/**
|
|
35234
|
+
* The AZ of the node.
|
|
35235
|
+
*/
|
|
35236
|
+
zoneId: string;
|
|
35237
|
+
}
|
|
35238
|
+
interface InstancePriceDifferencesChargeInfo {
|
|
35239
|
+
/**
|
|
35240
|
+
* Whether to auto renew the subscription in a pre-paid scenario.
|
|
35241
|
+
*/
|
|
35242
|
+
autoRenew?: boolean;
|
|
35243
|
+
/**
|
|
35244
|
+
* The charge type of the instance. Valid values: PostPaid, PrePaid.
|
|
32936
35245
|
*/
|
|
32937
35246
|
chargeType: string;
|
|
32938
35247
|
/**
|
|
32939
|
-
*
|
|
35248
|
+
* Number of purchased instances. Can be an integer between 1 and 20. Default value:1.
|
|
32940
35249
|
*/
|
|
32941
|
-
|
|
35250
|
+
number?: number;
|
|
32942
35251
|
/**
|
|
32943
|
-
*
|
|
35252
|
+
* Subscription duration in a pre-paid scenario.Default value:1.
|
|
32944
35253
|
*/
|
|
32945
|
-
|
|
35254
|
+
period?: number;
|
|
32946
35255
|
/**
|
|
32947
|
-
* Purchase
|
|
35256
|
+
* Purchase cycle in a pre-paid scenario. Valid values: Month, Year.
|
|
32948
35257
|
*/
|
|
32949
|
-
|
|
35258
|
+
periodUnit?: string;
|
|
35259
|
+
}
|
|
35260
|
+
interface InstancePriceDifferencesInstancesPrice {
|
|
35261
|
+
chargeItemPrices: outputs.rds_postgresql.InstancePriceDifferencesInstancesPriceChargeItemPrice[];
|
|
32950
35262
|
/**
|
|
32951
|
-
*
|
|
32952
|
-
* Month - monthly subscription (default)
|
|
32953
|
-
* Year - Package year.
|
|
35263
|
+
* Currency unit.
|
|
32954
35264
|
*/
|
|
32955
|
-
|
|
35265
|
+
currency: string;
|
|
32956
35266
|
/**
|
|
32957
|
-
*
|
|
35267
|
+
* Instance price after discount.
|
|
32958
35268
|
*/
|
|
32959
|
-
|
|
35269
|
+
discountPrice: number;
|
|
32960
35270
|
/**
|
|
32961
|
-
*
|
|
35271
|
+
* Instance price before discount.
|
|
32962
35272
|
*/
|
|
32963
|
-
|
|
35273
|
+
originalPrice: number;
|
|
35274
|
+
/**
|
|
35275
|
+
* Price payable of instance.
|
|
35276
|
+
*/
|
|
35277
|
+
payablePrice: number;
|
|
32964
35278
|
}
|
|
32965
|
-
interface
|
|
35279
|
+
interface InstancePriceDifferencesInstancesPriceChargeItemPrice {
|
|
32966
35280
|
/**
|
|
32967
|
-
*
|
|
35281
|
+
* If chargeItemKey is Primary, Secondary, or ReadOnly, this parameter returns the instance specification, such as rds.pg.d1.1c2g. If chargeItemKey is Storage, this parameter returns the stored key, such as rds.pg.d1.localssd.
|
|
32968
35282
|
*/
|
|
32969
|
-
|
|
35283
|
+
chargeItemKey: string;
|
|
32970
35284
|
/**
|
|
32971
|
-
*
|
|
35285
|
+
* Billing item name. Values:Primary, Secondary, ReadOnly, Storage.
|
|
32972
35286
|
*/
|
|
32973
|
-
|
|
35287
|
+
chargeItemType: string;
|
|
32974
35288
|
/**
|
|
32975
|
-
*
|
|
35289
|
+
* If chargeItemKey is Primary, Secondary, or ReadOnly, this parameter returns the number of nodes, with a value of "1". If chargeItemKey is Storage, his parameter returns the storage size in GB.
|
|
32976
35290
|
*/
|
|
32977
|
-
|
|
35291
|
+
chargeItemValue: number;
|
|
32978
35292
|
/**
|
|
32979
|
-
*
|
|
35293
|
+
* Instance price after discount.
|
|
32980
35294
|
*/
|
|
32981
|
-
|
|
35295
|
+
discountPrice: number;
|
|
32982
35296
|
/**
|
|
32983
|
-
*
|
|
35297
|
+
* Number of nodes of each instance.
|
|
32984
35298
|
*/
|
|
32985
|
-
|
|
35299
|
+
nodeNumPerInstance: number;
|
|
32986
35300
|
/**
|
|
32987
|
-
* Instance
|
|
35301
|
+
* Instance price before discount.
|
|
32988
35302
|
*/
|
|
32989
|
-
|
|
35303
|
+
originalPrice: number;
|
|
32990
35304
|
/**
|
|
32991
|
-
*
|
|
35305
|
+
* Price payable of instance.
|
|
32992
35306
|
*/
|
|
32993
|
-
|
|
35307
|
+
payablePrice: number;
|
|
35308
|
+
}
|
|
35309
|
+
interface InstancePriceDifferencesNodeInfo {
|
|
32994
35310
|
/**
|
|
32995
|
-
*
|
|
32996
|
-
* Cluster: The default terminal. (created by default)
|
|
32997
|
-
* Primary: Primary node terminal.
|
|
32998
|
-
* Custom: Custom terminal.
|
|
32999
|
-
* Direct: Direct connection to the terminal. (Only the operation and maintenance side)
|
|
33000
|
-
* AllNode: All node terminals. (Only the operation and maintenance side).
|
|
35311
|
+
* The id of the node.When the modifyType is set to Temporary, this parameter is required.
|
|
33001
35312
|
*/
|
|
33002
|
-
|
|
35313
|
+
nodeId?: string;
|
|
33003
35314
|
/**
|
|
33004
|
-
* The
|
|
35315
|
+
* The operate type of the node. Valid values: Create, Modify.
|
|
33005
35316
|
*/
|
|
33006
|
-
|
|
35317
|
+
nodeOperateType?: string;
|
|
33007
35318
|
/**
|
|
33008
|
-
*
|
|
33009
|
-
* ReadWrite: read and write
|
|
33010
|
-
* ReadOnly: read only (default).
|
|
35319
|
+
* The specification of the node.
|
|
33011
35320
|
*/
|
|
33012
|
-
|
|
35321
|
+
nodeSpec: string;
|
|
35322
|
+
/**
|
|
35323
|
+
* The type of the node. Valid values: Primary, Secondary, ReadOnly.
|
|
35324
|
+
*/
|
|
35325
|
+
nodeType: string;
|
|
35326
|
+
/**
|
|
35327
|
+
* The AZ of the node.
|
|
35328
|
+
*/
|
|
35329
|
+
zoneId: string;
|
|
33013
35330
|
}
|
|
33014
|
-
interface
|
|
35331
|
+
interface InstanceRecoverableTimesRecoverableTimeInfo {
|
|
33015
35332
|
/**
|
|
33016
|
-
*
|
|
35333
|
+
* The earliest recoverable time of the instance (UTC time).
|
|
33017
35334
|
*/
|
|
33018
|
-
|
|
35335
|
+
earliestRecoverableTime: string;
|
|
33019
35336
|
/**
|
|
33020
|
-
*
|
|
35337
|
+
* The latest recoverable time of the instance (UTC time).
|
|
33021
35338
|
*/
|
|
33022
|
-
|
|
35339
|
+
latestRecoverableTime: string;
|
|
35340
|
+
}
|
|
35341
|
+
interface InstanceSpecsInstanceSpec {
|
|
33023
35342
|
/**
|
|
33024
|
-
* The
|
|
35343
|
+
* The maximum number of connections supported by the instance.
|
|
33025
35344
|
*/
|
|
33026
|
-
|
|
35345
|
+
connection: number;
|
|
33027
35346
|
/**
|
|
33028
|
-
* The
|
|
35347
|
+
* The version of the RDS PostgreSQL instance.
|
|
33029
35348
|
*/
|
|
33030
|
-
|
|
35349
|
+
dbEngineVersion: string;
|
|
33031
35350
|
/**
|
|
33032
|
-
*
|
|
35351
|
+
* The memory size of the instance. Unit: GB.
|
|
33033
35352
|
*/
|
|
33034
|
-
|
|
35353
|
+
memory: number;
|
|
33035
35354
|
/**
|
|
33036
|
-
* The
|
|
35355
|
+
* The ID of the region.
|
|
33037
35356
|
*/
|
|
33038
|
-
|
|
35357
|
+
regionId: string;
|
|
33039
35358
|
/**
|
|
33040
|
-
*
|
|
35359
|
+
* Instance specification code.
|
|
33041
35360
|
*/
|
|
33042
|
-
|
|
35361
|
+
specCode: string;
|
|
35362
|
+
/**
|
|
35363
|
+
* Storage type, fixed to LocalSSD.
|
|
35364
|
+
*/
|
|
35365
|
+
storageType: string;
|
|
35366
|
+
/**
|
|
35367
|
+
* The number of vCPUs of the instance.
|
|
35368
|
+
*/
|
|
35369
|
+
vCpu: number;
|
|
35370
|
+
/**
|
|
35371
|
+
* Primary availability zone ID.
|
|
35372
|
+
*/
|
|
35373
|
+
zoneId: string;
|
|
33043
35374
|
}
|
|
33044
|
-
interface
|
|
35375
|
+
interface InstanceSslsSsl {
|
|
33045
35376
|
/**
|
|
33046
|
-
*
|
|
35377
|
+
* The protected addresses.
|
|
35378
|
+
*/
|
|
35379
|
+
addresses: string[];
|
|
35380
|
+
/**
|
|
35381
|
+
* Raw byte stream array of certificate zip.
|
|
35382
|
+
*/
|
|
35383
|
+
certificates: number[];
|
|
35384
|
+
/**
|
|
35385
|
+
* Whether to force encryption.
|
|
35386
|
+
*/
|
|
35387
|
+
forceEncryption: boolean;
|
|
35388
|
+
/**
|
|
35389
|
+
* The id of the postgresql Instance.
|
|
35390
|
+
*/
|
|
35391
|
+
instanceId: string;
|
|
35392
|
+
/**
|
|
35393
|
+
* Whether the SSL certificate is valid.
|
|
35394
|
+
*/
|
|
35395
|
+
isValid: boolean;
|
|
35396
|
+
/**
|
|
35397
|
+
* Whether to enable SSL.
|
|
35398
|
+
*/
|
|
35399
|
+
sslEnable: boolean;
|
|
35400
|
+
/**
|
|
35401
|
+
* The expiration time of the SSL certificate. The format is: yyyy-MM-ddTHH:mm:ss(UTC time).
|
|
35402
|
+
*/
|
|
35403
|
+
sslExpireTime: string;
|
|
35404
|
+
/**
|
|
35405
|
+
* The supported TLS versions.
|
|
35406
|
+
*/
|
|
35407
|
+
tlsVersions: string[];
|
|
35408
|
+
}
|
|
35409
|
+
interface InstanceTag {
|
|
35410
|
+
/**
|
|
35411
|
+
* The Key of Tags.
|
|
35412
|
+
*/
|
|
35413
|
+
key: string;
|
|
35414
|
+
/**
|
|
35415
|
+
* The Value of Tags.
|
|
35416
|
+
*/
|
|
35417
|
+
value: string;
|
|
35418
|
+
}
|
|
35419
|
+
interface InstanceTasksTaskInfo {
|
|
35420
|
+
/**
|
|
35421
|
+
* Task execution time in milliseconds.
|
|
35422
|
+
*/
|
|
35423
|
+
costTimeMs: number;
|
|
35424
|
+
/**
|
|
35425
|
+
* Task creation time. Format: yyyy-MM-ddTHH:mm:ssZ (UTC).
|
|
35426
|
+
*/
|
|
35427
|
+
createTime: string;
|
|
35428
|
+
/**
|
|
35429
|
+
* Task finish time. Format: yyyy-MM-ddTHH:mm:ssZ (UTC).
|
|
35430
|
+
*/
|
|
35431
|
+
finishTime: string;
|
|
35432
|
+
/**
|
|
35433
|
+
* The id of the PostgreSQL instance.
|
|
35434
|
+
*/
|
|
35435
|
+
instanceId: string;
|
|
35436
|
+
/**
|
|
35437
|
+
* Project name.
|
|
35438
|
+
*/
|
|
35439
|
+
projectName: string;
|
|
35440
|
+
/**
|
|
35441
|
+
* Region.
|
|
35442
|
+
*/
|
|
35443
|
+
region: string;
|
|
35444
|
+
/**
|
|
35445
|
+
* The scheduled end time for the switch. The time format is yyyy-MM-ddTHH:mm:ssZ (UTC time). Note: This field will only be returned for tasks in the "Waiting to Start", "Waiting to Execute", or "Waiting to Switch" states.
|
|
35446
|
+
*/
|
|
35447
|
+
scheduledSwitchEndTime: string;
|
|
35448
|
+
/**
|
|
35449
|
+
* The start time of the scheduled switch. The time format is yyyy-MM-ddTHH:mm:ssZ (UTC time). Note: This field will only be returned for tasks in the "Waiting to Start", "Waiting to Execute", or "Waiting to Switch" states.
|
|
35450
|
+
*/
|
|
35451
|
+
scheduledSwitchStartTime: string;
|
|
35452
|
+
/**
|
|
35453
|
+
* Task action.
|
|
35454
|
+
*/
|
|
35455
|
+
taskAction: string;
|
|
35456
|
+
/**
|
|
35457
|
+
* Task ID. Note: One of TaskId or task time (creation_start_time and creation_end_time) must be specified.
|
|
35458
|
+
*/
|
|
35459
|
+
taskId: string;
|
|
35460
|
+
/**
|
|
35461
|
+
* Task parameters in JSON string.
|
|
35462
|
+
*/
|
|
35463
|
+
taskParams: string;
|
|
35464
|
+
/**
|
|
35465
|
+
* Task status. Values: Canceled, WaitStart, WaitSwitch, Running, Running_BeforeSwitch, Running_Switching, Running_AfterSwitch, Success, Failed, Timeout, Rollbacking, RollbackFailed, Paused.
|
|
35466
|
+
*/
|
|
35467
|
+
taskStatus: string;
|
|
35468
|
+
}
|
|
35469
|
+
interface InstanceZoneMigration {
|
|
35470
|
+
/**
|
|
35471
|
+
* Node ID to migrate.
|
|
33047
35472
|
*/
|
|
33048
35473
|
nodeId: string;
|
|
33049
35474
|
/**
|
|
33050
|
-
* Node type
|
|
33051
|
-
* Secondary: Standby node.
|
|
33052
|
-
* ReadOnly: Read-only node.
|
|
35475
|
+
* Node type: Secondary or ReadOnly.
|
|
33053
35476
|
*/
|
|
33054
|
-
nodeType
|
|
35477
|
+
nodeType?: string;
|
|
33055
35478
|
/**
|
|
33056
|
-
*
|
|
35479
|
+
* Target zone ID.
|
|
33057
35480
|
*/
|
|
33058
|
-
|
|
35481
|
+
zoneId: string;
|
|
33059
35482
|
}
|
|
33060
|
-
interface
|
|
35483
|
+
interface InstancesInstance {
|
|
35484
|
+
/**
|
|
35485
|
+
* The allow list version of the RDS PostgreSQL instance.
|
|
35486
|
+
*/
|
|
35487
|
+
allowListVersion: string;
|
|
35488
|
+
/**
|
|
35489
|
+
* The instance has used backup space. Unit: GB.
|
|
35490
|
+
*/
|
|
35491
|
+
backupUse: number;
|
|
35492
|
+
/**
|
|
35493
|
+
* Payment methods.
|
|
35494
|
+
*/
|
|
35495
|
+
chargeDetails: outputs.rds_postgresql.InstancesInstanceChargeDetail[];
|
|
33061
35496
|
/**
|
|
33062
35497
|
* Node creation local time.
|
|
33063
35498
|
*/
|
|
33064
35499
|
createTime: string;
|
|
35500
|
+
/**
|
|
35501
|
+
* Data synchronization mode.
|
|
35502
|
+
*/
|
|
35503
|
+
dataSyncMode: string;
|
|
35504
|
+
/**
|
|
35505
|
+
* The version of the RDS PostgreSQL instance.
|
|
35506
|
+
*/
|
|
35507
|
+
dbEngineVersion: string;
|
|
35508
|
+
/**
|
|
35509
|
+
* The endpoint info of the RDS instance.
|
|
35510
|
+
*/
|
|
35511
|
+
endpoints: outputs.rds_postgresql.InstancesInstanceEndpoint[];
|
|
35512
|
+
/**
|
|
35513
|
+
* The ID of the RDS PostgreSQL instance.
|
|
35514
|
+
*/
|
|
35515
|
+
id: string;
|
|
33065
35516
|
/**
|
|
33066
35517
|
* The id of the RDS PostgreSQL instance.
|
|
33067
35518
|
*/
|
|
33068
35519
|
instanceId: string;
|
|
35520
|
+
/**
|
|
35521
|
+
* The name of the RDS PostgreSQL instance.
|
|
35522
|
+
*/
|
|
35523
|
+
instanceName: string;
|
|
35524
|
+
/**
|
|
35525
|
+
* The status of the RDS PostgreSQL instance.
|
|
35526
|
+
*/
|
|
35527
|
+
instanceStatus: string;
|
|
35528
|
+
/**
|
|
35529
|
+
* The instance type of the RDS PostgreSQL instance.
|
|
35530
|
+
*/
|
|
35531
|
+
instanceType: string;
|
|
33069
35532
|
/**
|
|
33070
35533
|
* Memory size in GB.
|
|
33071
35534
|
*/
|
|
33072
35535
|
memory: number;
|
|
33073
35536
|
/**
|
|
33074
|
-
*
|
|
35537
|
+
* The number of nodes.
|
|
33075
35538
|
*/
|
|
33076
|
-
|
|
35539
|
+
nodeNumber: number;
|
|
33077
35540
|
/**
|
|
33078
35541
|
* General instance type, different from Custom instance type.
|
|
33079
35542
|
*/
|
|
33080
35543
|
nodeSpec: string;
|
|
33081
35544
|
/**
|
|
33082
|
-
*
|
|
35545
|
+
* Instance node information.
|
|
33083
35546
|
*/
|
|
33084
|
-
|
|
35547
|
+
nodes: outputs.rds_postgresql.InstancesInstanceNode[];
|
|
33085
35548
|
/**
|
|
33086
|
-
*
|
|
33087
|
-
* Secondary: Standby node.
|
|
33088
|
-
* ReadOnly: Read-only node.
|
|
35549
|
+
* The project name of the RDS PostgreSQL instance.
|
|
33089
35550
|
*/
|
|
33090
|
-
|
|
35551
|
+
projectName: string;
|
|
33091
35552
|
/**
|
|
33092
35553
|
* The region of the RDS PostgreSQL instance.
|
|
33093
35554
|
*/
|
|
33094
35555
|
regionId: string;
|
|
33095
35556
|
/**
|
|
33096
|
-
* The
|
|
35557
|
+
* The instance's primary node has used storage space. Unit: Byte.
|
|
33097
35558
|
*/
|
|
33098
|
-
|
|
35559
|
+
storageDataUse: number;
|
|
33099
35560
|
/**
|
|
33100
|
-
*
|
|
35561
|
+
* The instance's primary node has used log storage space. Unit: Byte.
|
|
33101
35562
|
*/
|
|
33102
|
-
|
|
35563
|
+
storageLogUse: number;
|
|
33103
35564
|
/**
|
|
33104
|
-
*
|
|
35565
|
+
* Total instance storage space. Unit: GB.
|
|
33105
35566
|
*/
|
|
33106
|
-
|
|
33107
|
-
}
|
|
33108
|
-
interface GetInstancesInstanceTag {
|
|
35567
|
+
storageSpace: number;
|
|
33109
35568
|
/**
|
|
33110
|
-
* The
|
|
35569
|
+
* The instance's primary node has used temporary storage space. Unit: Byte.
|
|
33111
35570
|
*/
|
|
33112
|
-
|
|
35571
|
+
storageTempUse: number;
|
|
33113
35572
|
/**
|
|
33114
|
-
* The
|
|
35573
|
+
* The storage type of the RDS PostgreSQL instance.
|
|
33115
35574
|
*/
|
|
33116
|
-
|
|
33117
|
-
}
|
|
33118
|
-
interface GetInstancesTag {
|
|
35575
|
+
storageType: string;
|
|
33119
35576
|
/**
|
|
33120
|
-
* The
|
|
35577
|
+
* The instance has used storage space. Unit: Byte.
|
|
33121
35578
|
*/
|
|
33122
|
-
|
|
35579
|
+
storageUse: number;
|
|
33123
35580
|
/**
|
|
33124
|
-
* The
|
|
35581
|
+
* The instance's primary node has used WAL storage space. Unit: Byte.
|
|
33125
35582
|
*/
|
|
33126
|
-
|
|
33127
|
-
}
|
|
33128
|
-
interface GetSchemasSchema {
|
|
35583
|
+
storageWalUse: number;
|
|
33129
35584
|
/**
|
|
33130
|
-
* The
|
|
35585
|
+
* The subnet ID of the RDS PostgreSQL instance.
|
|
33131
35586
|
*/
|
|
33132
|
-
|
|
35587
|
+
subnetId: string;
|
|
33133
35588
|
/**
|
|
33134
|
-
*
|
|
35589
|
+
* Tags.
|
|
33135
35590
|
*/
|
|
33136
|
-
|
|
35591
|
+
tags: outputs.rds_postgresql.InstancesInstanceTag[];
|
|
33137
35592
|
/**
|
|
33138
|
-
* The
|
|
35593
|
+
* The update time of the RDS PostgreSQL instance.
|
|
33139
35594
|
*/
|
|
33140
|
-
|
|
35595
|
+
updateTime: string;
|
|
35596
|
+
/**
|
|
35597
|
+
* CPU size.
|
|
35598
|
+
*/
|
|
35599
|
+
vCpu: number;
|
|
35600
|
+
/**
|
|
35601
|
+
* The vpc ID of the RDS PostgreSQL instance.
|
|
35602
|
+
*/
|
|
35603
|
+
vpcId: string;
|
|
35604
|
+
/**
|
|
35605
|
+
* The available zone of the RDS PostgreSQL instance.
|
|
35606
|
+
*/
|
|
35607
|
+
zoneId: string;
|
|
35608
|
+
/**
|
|
35609
|
+
* ID of the availability zone where each instance is located.
|
|
35610
|
+
*/
|
|
35611
|
+
zoneIds: string[];
|
|
33141
35612
|
}
|
|
33142
|
-
interface
|
|
35613
|
+
interface InstancesInstanceChargeDetail {
|
|
33143
35614
|
/**
|
|
33144
35615
|
* Whether to automatically renew in prepaid scenarios.
|
|
33145
35616
|
* Autorenew_Enable
|
|
@@ -33158,15 +35629,17 @@ export declare namespace rds_postgresql {
|
|
|
33158
35629
|
* Pay status. Value:
|
|
33159
35630
|
* normal - normal
|
|
33160
35631
|
* overdue - overdue
|
|
33161
|
-
* .
|
|
35632
|
+
* unpaid - unpaid.
|
|
33162
35633
|
*/
|
|
33163
35634
|
chargeStatus: string;
|
|
33164
35635
|
/**
|
|
33165
|
-
*
|
|
33166
|
-
* PostPaid - Pay-As-You-Go
|
|
33167
|
-
* PrePaid - Yearly and monthly (default).
|
|
35636
|
+
* The charge type of the RDS instance.
|
|
33168
35637
|
*/
|
|
33169
35638
|
chargeType: string;
|
|
35639
|
+
/**
|
|
35640
|
+
* The number of the RDS PostgreSQL instance.
|
|
35641
|
+
*/
|
|
35642
|
+
number: number;
|
|
33170
35643
|
/**
|
|
33171
35644
|
* Estimated release time when arrears are closed (pay-as-you-go & monthly subscription).
|
|
33172
35645
|
*/
|
|
@@ -33194,28 +35667,11 @@ export declare namespace rds_postgresql {
|
|
|
33194
35667
|
*/
|
|
33195
35668
|
tempModifyStartTime: string;
|
|
33196
35669
|
}
|
|
33197
|
-
interface
|
|
33198
|
-
/**
|
|
33199
|
-
* Whether to automatically renew in prepaid scenarios.
|
|
33200
|
-
*/
|
|
33201
|
-
autoRenew: boolean;
|
|
33202
|
-
chargeType: string;
|
|
33203
|
-
/**
|
|
33204
|
-
* Purchase duration in prepaid scenarios. Default: 1.
|
|
33205
|
-
*/
|
|
33206
|
-
period: number;
|
|
33207
|
-
/**
|
|
33208
|
-
* The purchase cycle in the prepaid scenario.
|
|
33209
|
-
* Month - monthly subscription (default)
|
|
33210
|
-
* Year - Package year.
|
|
33211
|
-
*/
|
|
33212
|
-
periodUnit: string;
|
|
33213
|
-
}
|
|
33214
|
-
interface InstanceEndpoint {
|
|
35670
|
+
interface InstancesInstanceEndpoint {
|
|
33215
35671
|
/**
|
|
33216
35672
|
* Address list.
|
|
33217
35673
|
*/
|
|
33218
|
-
addresses: outputs.rds_postgresql.
|
|
35674
|
+
addresses: outputs.rds_postgresql.InstancesInstanceEndpointAddress[];
|
|
33219
35675
|
/**
|
|
33220
35676
|
* When the terminal type is read-write terminal or read-only terminal, it supports setting whether new nodes are automatically added.
|
|
33221
35677
|
*/
|
|
@@ -33249,34 +35705,68 @@ export declare namespace rds_postgresql {
|
|
|
33249
35705
|
* AllNode: All node terminals. (Only the operation and maintenance side).
|
|
33250
35706
|
*/
|
|
33251
35707
|
endpointType: string;
|
|
35708
|
+
/**
|
|
35709
|
+
* The distribution type of the read-only nodes, value:
|
|
35710
|
+
* Default: Default distribution.
|
|
35711
|
+
* Custom: Custom distribution.
|
|
35712
|
+
*/
|
|
35713
|
+
readOnlyNodeDistributionType: string;
|
|
35714
|
+
/**
|
|
35715
|
+
* Maximum latency threshold of read-only node. If the latency of a read-only node exceeds this value, reading traffic won't be routed to this node. Unit: seconds.Values: 0~3600.Default value: 30.
|
|
35716
|
+
*/
|
|
35717
|
+
readOnlyNodeMaxDelayTime: number;
|
|
33252
35718
|
/**
|
|
33253
35719
|
* The list of nodes configured by the connection terminal and the corresponding read-only weights.
|
|
33254
35720
|
*/
|
|
33255
|
-
readOnlyNodeWeights: outputs.rds_postgresql.
|
|
35721
|
+
readOnlyNodeWeights: outputs.rds_postgresql.InstancesInstanceEndpointReadOnlyNodeWeight[];
|
|
33256
35722
|
/**
|
|
33257
35723
|
* Read and write mode:
|
|
33258
35724
|
* ReadWrite: read and write
|
|
33259
35725
|
* ReadOnly: read only (default).
|
|
33260
35726
|
*/
|
|
33261
35727
|
readWriteMode: string;
|
|
35728
|
+
/**
|
|
35729
|
+
* After the terminal enables read-write separation, the number of proxy connections set for the terminal. The lower limit of the number of proxy connections is 20. The upper limit of the number of proxy connections depends on the specifications of the instance master node.
|
|
35730
|
+
*/
|
|
35731
|
+
readWriteProxyConnection: number;
|
|
35732
|
+
/**
|
|
35733
|
+
* Whether the endpoint sends write requests to the write node (currently only the master node is a write node). Values: true: Yes(Default). false: No.
|
|
35734
|
+
*/
|
|
35735
|
+
writeNodeHaltWriting: boolean;
|
|
33262
35736
|
}
|
|
33263
|
-
interface
|
|
35737
|
+
interface InstancesInstanceEndpointAddress {
|
|
33264
35738
|
/**
|
|
33265
|
-
*
|
|
35739
|
+
* Address that can be accessed across regions.
|
|
35740
|
+
*/
|
|
35741
|
+
crossRegionDomain: string;
|
|
35742
|
+
/**
|
|
35743
|
+
* Whether to enable public network resolution. Values: false: Default value. PrivateZone of Volcano Engine. true: Private and public network resolution of Volcano Engine.
|
|
33266
35744
|
*/
|
|
33267
35745
|
dnsVisibility: boolean;
|
|
33268
35746
|
/**
|
|
33269
35747
|
* Connect domain name.
|
|
33270
35748
|
*/
|
|
33271
35749
|
domain: string;
|
|
35750
|
+
/**
|
|
35751
|
+
* The type of private network address. Values: LocalDomain: Local domain name. CrossRegionDomain: Domains accessible across regions.
|
|
35752
|
+
*/
|
|
35753
|
+
domainVisibilitySetting: string;
|
|
33272
35754
|
/**
|
|
33273
35755
|
* The ID of the EIP, only valid for Public addresses.
|
|
33274
35756
|
*/
|
|
33275
35757
|
eipId: string;
|
|
35758
|
+
/**
|
|
35759
|
+
* Address IP protocol, IPv4 or IPv6.
|
|
35760
|
+
*/
|
|
35761
|
+
internetProtocol: string;
|
|
33276
35762
|
/**
|
|
33277
35763
|
* The IP Address.
|
|
33278
35764
|
*/
|
|
33279
35765
|
ipAddress: string;
|
|
35766
|
+
/**
|
|
35767
|
+
* The IPv6 Address.
|
|
35768
|
+
*/
|
|
35769
|
+
ipv6Address: string;
|
|
33280
35770
|
/**
|
|
33281
35771
|
* Network address type, temporarily Private, Public, PublicService.
|
|
33282
35772
|
*/
|
|
@@ -33286,11 +35776,11 @@ export declare namespace rds_postgresql {
|
|
|
33286
35776
|
*/
|
|
33287
35777
|
port: string;
|
|
33288
35778
|
/**
|
|
33289
|
-
*
|
|
35779
|
+
* The subnet ID of the RDS PostgreSQL instance.
|
|
33290
35780
|
*/
|
|
33291
35781
|
subnetId: string;
|
|
33292
35782
|
}
|
|
33293
|
-
interface
|
|
35783
|
+
interface InstancesInstanceEndpointReadOnlyNodeWeight {
|
|
33294
35784
|
/**
|
|
33295
35785
|
* Node ID.
|
|
33296
35786
|
*/
|
|
@@ -33306,13 +35796,13 @@ export declare namespace rds_postgresql {
|
|
|
33306
35796
|
*/
|
|
33307
35797
|
weight: number;
|
|
33308
35798
|
}
|
|
33309
|
-
interface
|
|
35799
|
+
interface InstancesInstanceNode {
|
|
33310
35800
|
/**
|
|
33311
35801
|
* Node creation local time.
|
|
33312
35802
|
*/
|
|
33313
35803
|
createTime: string;
|
|
33314
35804
|
/**
|
|
33315
|
-
*
|
|
35805
|
+
* The id of the RDS PostgreSQL instance.
|
|
33316
35806
|
*/
|
|
33317
35807
|
instanceId: string;
|
|
33318
35808
|
/**
|
|
@@ -33324,7 +35814,7 @@ export declare namespace rds_postgresql {
|
|
|
33324
35814
|
*/
|
|
33325
35815
|
nodeId: string;
|
|
33326
35816
|
/**
|
|
33327
|
-
*
|
|
35817
|
+
* General instance type, different from Custom instance type.
|
|
33328
35818
|
*/
|
|
33329
35819
|
nodeSpec: string;
|
|
33330
35820
|
/**
|
|
@@ -33354,17 +35844,17 @@ export declare namespace rds_postgresql {
|
|
|
33354
35844
|
*/
|
|
33355
35845
|
zoneId: string;
|
|
33356
35846
|
}
|
|
33357
|
-
interface
|
|
35847
|
+
interface InstancesInstanceTag {
|
|
33358
35848
|
/**
|
|
33359
|
-
*
|
|
35849
|
+
* The Key of Tags.
|
|
33360
35850
|
*/
|
|
33361
|
-
|
|
35851
|
+
key: string;
|
|
33362
35852
|
/**
|
|
33363
|
-
*
|
|
35853
|
+
* The Value of Tags.
|
|
33364
35854
|
*/
|
|
33365
35855
|
value: string;
|
|
33366
35856
|
}
|
|
33367
|
-
interface
|
|
35857
|
+
interface InstancesTag {
|
|
33368
35858
|
/**
|
|
33369
35859
|
* The Key of Tags.
|
|
33370
35860
|
*/
|
|
@@ -33374,327 +35864,225 @@ export declare namespace rds_postgresql {
|
|
|
33374
35864
|
*/
|
|
33375
35865
|
value: string;
|
|
33376
35866
|
}
|
|
33377
|
-
interface
|
|
33378
|
-
/**
|
|
33379
|
-
* The instance has used backup space. Unit: GB.
|
|
33380
|
-
*/
|
|
33381
|
-
backupUse: number;
|
|
33382
|
-
/**
|
|
33383
|
-
* Payment methods.
|
|
33384
|
-
*/
|
|
33385
|
-
chargeDetails: outputs.rds_postgresql.InstancesInstanceChargeDetail[];
|
|
35867
|
+
interface ParameterTemplateApplyDiffsParameter {
|
|
33386
35868
|
/**
|
|
33387
|
-
*
|
|
33388
|
-
*/
|
|
33389
|
-
createTime: string;
|
|
33390
|
-
/**
|
|
33391
|
-
* Data synchronization mode.
|
|
35869
|
+
* The name of the parameter.
|
|
33392
35870
|
*/
|
|
33393
|
-
|
|
35871
|
+
name: string;
|
|
33394
35872
|
/**
|
|
33395
|
-
* The
|
|
35873
|
+
* The running value defined for this parameter in the parameter template.
|
|
33396
35874
|
*/
|
|
33397
|
-
|
|
35875
|
+
newValue: string;
|
|
33398
35876
|
/**
|
|
33399
|
-
* The
|
|
35877
|
+
* The current running value of this parameter in the instance.
|
|
33400
35878
|
*/
|
|
33401
|
-
|
|
35879
|
+
oldValue: string;
|
|
33402
35880
|
/**
|
|
33403
|
-
*
|
|
35881
|
+
* Indicates whether a restart is required after the parameter is modified.
|
|
33404
35882
|
*/
|
|
33405
|
-
|
|
35883
|
+
restart: boolean;
|
|
35884
|
+
}
|
|
35885
|
+
interface ParameterTemplateTemplateParam {
|
|
33406
35886
|
/**
|
|
33407
|
-
* The
|
|
35887
|
+
* The name of the parameter.
|
|
33408
35888
|
*/
|
|
33409
|
-
|
|
35889
|
+
name: string;
|
|
33410
35890
|
/**
|
|
33411
|
-
* The
|
|
35891
|
+
* The value of the parameter.
|
|
33412
35892
|
*/
|
|
33413
|
-
|
|
35893
|
+
value: string;
|
|
35894
|
+
}
|
|
35895
|
+
interface ParameterTemplatesTemplateInfo {
|
|
33414
35896
|
/**
|
|
33415
|
-
*
|
|
35897
|
+
* Account ID.
|
|
33416
35898
|
*/
|
|
33417
|
-
|
|
35899
|
+
accountId: string;
|
|
33418
35900
|
/**
|
|
33419
|
-
*
|
|
35901
|
+
* Creation time of the parameter template. The format is yyyy-MM-ddTHH:mm:ss.sssZ (UTC time).
|
|
33420
35902
|
*/
|
|
33421
|
-
|
|
35903
|
+
createTime: string;
|
|
33422
35904
|
/**
|
|
33423
|
-
*
|
|
35905
|
+
* Indicates whether the parameter template change requires a restart.
|
|
33424
35906
|
*/
|
|
33425
|
-
|
|
35907
|
+
needRestart: boolean;
|
|
33426
35908
|
/**
|
|
33427
|
-
*
|
|
35909
|
+
* Number of parameters in the parameter template.
|
|
33428
35910
|
*/
|
|
33429
|
-
|
|
35911
|
+
parameterNum: number;
|
|
33430
35912
|
/**
|
|
33431
|
-
*
|
|
35913
|
+
* Classification of parameter templates. The current value can only be DBEngine.
|
|
33432
35914
|
*/
|
|
33433
|
-
|
|
35915
|
+
templateCategory: string;
|
|
33434
35916
|
/**
|
|
33435
|
-
*
|
|
35917
|
+
* Description information of the parameter template.
|
|
33436
35918
|
*/
|
|
33437
|
-
|
|
35919
|
+
templateDesc: string;
|
|
33438
35920
|
/**
|
|
33439
|
-
*
|
|
35921
|
+
* Parameter template ID.
|
|
33440
35922
|
*/
|
|
33441
|
-
|
|
35923
|
+
templateId: string;
|
|
33442
35924
|
/**
|
|
33443
|
-
*
|
|
35925
|
+
* Parameter template name.
|
|
33444
35926
|
*/
|
|
33445
|
-
|
|
35927
|
+
templateName: string;
|
|
33446
35928
|
/**
|
|
33447
|
-
*
|
|
35929
|
+
* Parameter configuration of the parameter template.
|
|
33448
35930
|
*/
|
|
33449
|
-
|
|
35931
|
+
templateParams: outputs.rds_postgresql.ParameterTemplatesTemplateInfoTemplateParam[];
|
|
33450
35932
|
/**
|
|
33451
|
-
*
|
|
35933
|
+
* The source of the parameter template. The current value can only be User.
|
|
33452
35934
|
*/
|
|
33453
|
-
|
|
35935
|
+
templateSource: string;
|
|
33454
35936
|
/**
|
|
33455
|
-
* The
|
|
35937
|
+
* The type of the parameter template. The current value can only be PostgreSQL.
|
|
33456
35938
|
*/
|
|
33457
|
-
|
|
35939
|
+
templateType: string;
|
|
33458
35940
|
/**
|
|
33459
|
-
*
|
|
35941
|
+
* PostgreSQL compatible versions. The current value can only be PostgreSQL_11/12/13/14/15/16/17.
|
|
33460
35942
|
*/
|
|
33461
|
-
|
|
35943
|
+
templateTypeVersion: string;
|
|
33462
35944
|
/**
|
|
33463
|
-
*
|
|
35945
|
+
* Update time of the parameter template. The format is yyyy-MM-ddTHH:mm:ss.sssZ (UTC time).
|
|
33464
35946
|
*/
|
|
33465
35947
|
updateTime: string;
|
|
33466
|
-
/**
|
|
33467
|
-
* CPU size.
|
|
33468
|
-
*/
|
|
33469
|
-
vCpu: number;
|
|
33470
|
-
/**
|
|
33471
|
-
* The vpc ID of the RDS PostgreSQL instance.
|
|
33472
|
-
*/
|
|
33473
|
-
vpcId: string;
|
|
33474
|
-
/**
|
|
33475
|
-
* The available zone of the RDS PostgreSQL instance.
|
|
33476
|
-
*/
|
|
33477
|
-
zoneId: string;
|
|
33478
|
-
/**
|
|
33479
|
-
* ID of the availability zone where each instance is located.
|
|
33480
|
-
*/
|
|
33481
|
-
zoneIds: string[];
|
|
33482
35948
|
}
|
|
33483
|
-
interface
|
|
33484
|
-
/**
|
|
33485
|
-
* Whether to automatically renew in prepaid scenarios.
|
|
33486
|
-
* Autorenew_Enable
|
|
33487
|
-
* Autorenew_Disable (default).
|
|
33488
|
-
*/
|
|
33489
|
-
autoRenew: boolean;
|
|
33490
|
-
/**
|
|
33491
|
-
* Billing expiry time (yearly and monthly only).
|
|
33492
|
-
*/
|
|
33493
|
-
chargeEndTime: string;
|
|
33494
|
-
/**
|
|
33495
|
-
* Billing start time (pay-as-you-go & monthly subscription).
|
|
33496
|
-
*/
|
|
33497
|
-
chargeStartTime: string;
|
|
35949
|
+
interface ParameterTemplatesTemplateInfoTemplateParam {
|
|
33498
35950
|
/**
|
|
33499
|
-
*
|
|
33500
|
-
* normal - normal
|
|
33501
|
-
* overdue - overdue
|
|
33502
|
-
* .
|
|
35951
|
+
* The value range of the parameter.
|
|
33503
35952
|
*/
|
|
33504
|
-
|
|
35953
|
+
checkingCode: string;
|
|
33505
35954
|
/**
|
|
33506
|
-
*
|
|
35955
|
+
* Parameter default value. Refers to the default value provided in the default template corresponding to this instance.
|
|
33507
35956
|
*/
|
|
33508
|
-
|
|
35957
|
+
defaultValue: string;
|
|
33509
35958
|
/**
|
|
33510
|
-
*
|
|
35959
|
+
* The description of the parameter in English.
|
|
33511
35960
|
*/
|
|
33512
|
-
|
|
35961
|
+
description: string;
|
|
33513
35962
|
/**
|
|
33514
|
-
*
|
|
35963
|
+
* The description of the parameter in Chinese.
|
|
33515
35964
|
*/
|
|
33516
|
-
|
|
35965
|
+
descriptionZh: string;
|
|
33517
35966
|
/**
|
|
33518
|
-
*
|
|
35967
|
+
* Indicates whether a restart is required after the parameter is modified.
|
|
33519
35968
|
*/
|
|
33520
|
-
|
|
35969
|
+
forceRestart: boolean;
|
|
33521
35970
|
/**
|
|
33522
|
-
* The
|
|
33523
|
-
* Month - monthly subscription (default)
|
|
33524
|
-
* Year - Package year.
|
|
35971
|
+
* The name of the parameter.
|
|
33525
35972
|
*/
|
|
33526
|
-
|
|
35973
|
+
name: string;
|
|
33527
35974
|
/**
|
|
33528
|
-
*
|
|
35975
|
+
* The type of the parameter.
|
|
33529
35976
|
*/
|
|
33530
|
-
|
|
35977
|
+
type: string;
|
|
33531
35978
|
/**
|
|
33532
|
-
*
|
|
35979
|
+
* The current value of the parameter.
|
|
33533
35980
|
*/
|
|
33534
|
-
|
|
35981
|
+
value: string;
|
|
33535
35982
|
}
|
|
33536
|
-
interface
|
|
33537
|
-
/**
|
|
33538
|
-
* Address list.
|
|
33539
|
-
*/
|
|
33540
|
-
addresses: outputs.rds_postgresql.InstancesInstanceEndpointAddress[];
|
|
33541
|
-
/**
|
|
33542
|
-
* When the terminal type is read-write terminal or read-only terminal, it supports setting whether new nodes are automatically added.
|
|
33543
|
-
*/
|
|
33544
|
-
autoAddNewNodes: string;
|
|
33545
|
-
/**
|
|
33546
|
-
* Address description.
|
|
33547
|
-
*/
|
|
33548
|
-
description: string;
|
|
33549
|
-
/**
|
|
33550
|
-
* Whether global read-only is enabled, value: Enable: Enable. Disable: Disabled.
|
|
33551
|
-
*/
|
|
33552
|
-
enableReadOnly: string;
|
|
33553
|
-
/**
|
|
33554
|
-
* Whether read-write separation is enabled, value: Enable: Enable. Disable: Disabled.
|
|
33555
|
-
*/
|
|
33556
|
-
enableReadWriteSplitting: string;
|
|
35983
|
+
interface PlannedEventsPlannedEvent {
|
|
33557
35984
|
/**
|
|
33558
|
-
*
|
|
35985
|
+
* The impact of operation and maintenance events on the business.
|
|
33559
35986
|
*/
|
|
33560
|
-
|
|
35987
|
+
businessImpact: string;
|
|
33561
35988
|
/**
|
|
33562
|
-
*
|
|
35989
|
+
* Event ID.
|
|
33563
35990
|
*/
|
|
33564
|
-
|
|
35991
|
+
eventId: string;
|
|
33565
35992
|
/**
|
|
33566
|
-
*
|
|
33567
|
-
* Cluster: The default terminal. (created by default)
|
|
33568
|
-
* Primary: Primary node terminal.
|
|
33569
|
-
* Custom: Custom terminal.
|
|
33570
|
-
* Direct: Direct connection to the terminal. (Only the operation and maintenance side)
|
|
33571
|
-
* AllNode: All node terminals. (Only the operation and maintenance side).
|
|
35993
|
+
* Event type. Values: VersionUpgrade, HostOffline.
|
|
33572
35994
|
*/
|
|
33573
|
-
|
|
35995
|
+
eventType: string;
|
|
33574
35996
|
/**
|
|
33575
|
-
* The
|
|
35997
|
+
* The id of the PostgreSQL instance.
|
|
33576
35998
|
*/
|
|
33577
|
-
|
|
35999
|
+
instanceId: string;
|
|
33578
36000
|
/**
|
|
33579
|
-
*
|
|
33580
|
-
* ReadWrite: read and write
|
|
33581
|
-
* ReadOnly: read only (default).
|
|
36001
|
+
* The name of PostgreSQL instance.
|
|
33582
36002
|
*/
|
|
33583
|
-
|
|
33584
|
-
}
|
|
33585
|
-
interface InstancesInstanceEndpointAddress {
|
|
36003
|
+
instanceName: string;
|
|
33586
36004
|
/**
|
|
33587
|
-
*
|
|
36005
|
+
* Maximum delay time. Format: yyyy-MM-ddTHH:mm:ss.sssZ (UTC).
|
|
33588
36006
|
*/
|
|
33589
|
-
|
|
36007
|
+
maxDelayTime: string;
|
|
33590
36008
|
/**
|
|
33591
|
-
*
|
|
36009
|
+
* Planned execution time. Format: yyyy-MM-ddTHH:mm:ss.sssZ (UTC).
|
|
33592
36010
|
*/
|
|
33593
|
-
|
|
36011
|
+
plannedBeginTime: string;
|
|
33594
36012
|
/**
|
|
33595
|
-
*
|
|
36013
|
+
* Reason for the planned event.
|
|
33596
36014
|
*/
|
|
33597
|
-
|
|
36015
|
+
plannedEventReason: string;
|
|
33598
36016
|
/**
|
|
33599
|
-
*
|
|
36017
|
+
* Planned switch start time. Format: yyyy-MM-ddTHH:mm:ss.sssZ (UTC).
|
|
33600
36018
|
*/
|
|
33601
|
-
|
|
36019
|
+
plannedSwitchBeginTime: string;
|
|
33602
36020
|
/**
|
|
33603
|
-
*
|
|
36021
|
+
* Planned switch end time. Format: yyyy-MM-ddTHH:mm:ss.sssZ (UTC).
|
|
33604
36022
|
*/
|
|
33605
|
-
|
|
36023
|
+
plannedSwitchEndTime: string;
|
|
33606
36024
|
/**
|
|
33607
|
-
*
|
|
36025
|
+
* Region.
|
|
33608
36026
|
*/
|
|
33609
|
-
|
|
36027
|
+
region: string;
|
|
33610
36028
|
/**
|
|
33611
|
-
*
|
|
36029
|
+
* Operation event status. Values: Canceled, WaitStart, WaitSwitch, Running, Running_BeforeSwitch, Running_Switching, Running_AfterSwitch, Success, Failed, Timeout, Rollbacking, RollbackFailed.
|
|
33612
36030
|
*/
|
|
33613
|
-
|
|
36031
|
+
status: string;
|
|
33614
36032
|
}
|
|
33615
|
-
interface
|
|
33616
|
-
/**
|
|
33617
|
-
* Node ID.
|
|
33618
|
-
*/
|
|
33619
|
-
nodeId: string;
|
|
36033
|
+
interface RegionsRegion {
|
|
33620
36034
|
/**
|
|
33621
|
-
*
|
|
33622
|
-
* Secondary: Standby node.
|
|
33623
|
-
* ReadOnly: Read-only node.
|
|
36035
|
+
* The ID of the region.
|
|
33624
36036
|
*/
|
|
33625
|
-
|
|
36037
|
+
regionId: string;
|
|
33626
36038
|
/**
|
|
33627
|
-
* The
|
|
36039
|
+
* The name of the region.
|
|
33628
36040
|
*/
|
|
33629
|
-
|
|
36041
|
+
regionName: string;
|
|
33630
36042
|
}
|
|
33631
|
-
interface
|
|
33632
|
-
/**
|
|
33633
|
-
* Node creation local time.
|
|
33634
|
-
*/
|
|
33635
|
-
createTime: string;
|
|
36043
|
+
interface ReplicationSlotsReplicationSlot {
|
|
33636
36044
|
/**
|
|
33637
|
-
* The
|
|
36045
|
+
* The database where the replication slot is located.
|
|
33638
36046
|
*/
|
|
33639
|
-
|
|
36047
|
+
dataBase?: string;
|
|
33640
36048
|
/**
|
|
33641
|
-
*
|
|
33642
|
-
*/
|
|
33643
|
-
memory: number;
|
|
33644
|
-
/**
|
|
33645
|
-
* Node ID.
|
|
33646
|
-
*/
|
|
33647
|
-
nodeId: string;
|
|
33648
|
-
/**
|
|
33649
|
-
* General instance type, different from Custom instance type.
|
|
33650
|
-
*/
|
|
33651
|
-
nodeSpec: string;
|
|
33652
|
-
/**
|
|
33653
|
-
* Node state, value: aligned with instance state.
|
|
33654
|
-
*/
|
|
33655
|
-
nodeStatus: string;
|
|
33656
|
-
/**
|
|
33657
|
-
* Node type. Value: Primary: Primary node.
|
|
33658
|
-
* Secondary: Standby node.
|
|
33659
|
-
* ReadOnly: Read-only node.
|
|
36049
|
+
* The ip address.
|
|
33660
36050
|
*/
|
|
33661
|
-
|
|
36051
|
+
ipAddress?: string;
|
|
33662
36052
|
/**
|
|
33663
|
-
* The
|
|
36053
|
+
* The name of the plugin used by the logical replication slot to parse WAL logs.
|
|
33664
36054
|
*/
|
|
33665
|
-
|
|
36055
|
+
plugin: string;
|
|
33666
36056
|
/**
|
|
33667
|
-
* The
|
|
36057
|
+
* The name of the slot.
|
|
33668
36058
|
*/
|
|
33669
|
-
|
|
36059
|
+
slotName: string;
|
|
33670
36060
|
/**
|
|
33671
|
-
*
|
|
36061
|
+
* The status of the replication slot: ACTIVE or INACTIVE.
|
|
33672
36062
|
*/
|
|
33673
|
-
|
|
36063
|
+
slotStatus?: string;
|
|
33674
36064
|
/**
|
|
33675
|
-
* The
|
|
36065
|
+
* The type of the slot: physical or logical.
|
|
33676
36066
|
*/
|
|
33677
|
-
|
|
33678
|
-
}
|
|
33679
|
-
interface InstancesInstanceTag {
|
|
36067
|
+
slotType: string;
|
|
33680
36068
|
/**
|
|
33681
|
-
*
|
|
36069
|
+
* Whether the slot is temporary.
|
|
33682
36070
|
*/
|
|
33683
|
-
|
|
36071
|
+
temporary?: boolean;
|
|
33684
36072
|
/**
|
|
33685
|
-
* The
|
|
36073
|
+
* The cumulative WAL log volume corresponding to this replication slot. The unit is Byte.
|
|
33686
36074
|
*/
|
|
33687
|
-
|
|
36075
|
+
walDelay?: number;
|
|
33688
36076
|
}
|
|
33689
|
-
interface
|
|
36077
|
+
interface RestoreBackupDatabase {
|
|
33690
36078
|
/**
|
|
33691
|
-
*
|
|
36079
|
+
* Original database name.
|
|
33692
36080
|
*/
|
|
33693
|
-
|
|
36081
|
+
dbName: string;
|
|
33694
36082
|
/**
|
|
33695
|
-
*
|
|
36083
|
+
* New database name.
|
|
33696
36084
|
*/
|
|
33697
|
-
|
|
36085
|
+
newDbName: string;
|
|
33698
36086
|
}
|
|
33699
36087
|
interface SchemasSchema {
|
|
33700
36088
|
/**
|
|
@@ -33710,6 +36098,20 @@ export declare namespace rds_postgresql {
|
|
|
33710
36098
|
*/
|
|
33711
36099
|
schemaName: string;
|
|
33712
36100
|
}
|
|
36101
|
+
interface ZonesZone {
|
|
36102
|
+
/**
|
|
36103
|
+
* The description of the zone.
|
|
36104
|
+
*/
|
|
36105
|
+
description: string;
|
|
36106
|
+
/**
|
|
36107
|
+
* The id of the zone.
|
|
36108
|
+
*/
|
|
36109
|
+
zoneId: string;
|
|
36110
|
+
/**
|
|
36111
|
+
* The name of the zone.
|
|
36112
|
+
*/
|
|
36113
|
+
zoneName: string;
|
|
36114
|
+
}
|
|
33713
36115
|
}
|
|
33714
36116
|
export declare namespace rds_v2 {
|
|
33715
36117
|
interface GetRdsInstancesV2RdsInstance {
|
|
@@ -41994,6 +44396,20 @@ export declare namespace tos {
|
|
|
41994
44396
|
*/
|
|
41995
44397
|
responseVary: boolean;
|
|
41996
44398
|
}
|
|
44399
|
+
interface BucketCustomdomainCustomDomainRule {
|
|
44400
|
+
/**
|
|
44401
|
+
* The certificate id.
|
|
44402
|
+
*/
|
|
44403
|
+
certId?: string;
|
|
44404
|
+
/**
|
|
44405
|
+
* The custom domain name for the bucket.
|
|
44406
|
+
*/
|
|
44407
|
+
domain: string;
|
|
44408
|
+
/**
|
|
44409
|
+
* Custom domain access protocol.tos|s3.
|
|
44410
|
+
*/
|
|
44411
|
+
protocol?: string;
|
|
44412
|
+
}
|
|
41997
44413
|
interface BucketEncryptionRule {
|
|
41998
44414
|
/**
|
|
41999
44415
|
* The server side encryption configuration.
|
|
@@ -42140,6 +44556,352 @@ export declare namespace tos {
|
|
|
42140
44556
|
*/
|
|
42141
44557
|
frequency: string;
|
|
42142
44558
|
}
|
|
44559
|
+
interface BucketLifecycleRule {
|
|
44560
|
+
/**
|
|
44561
|
+
* The abort incomplete multipart upload configuration of the lifecycle rule.
|
|
44562
|
+
*/
|
|
44563
|
+
abortIncompleteMultipartUpload?: outputs.tos.BucketLifecycleRuleAbortIncompleteMultipartUpload;
|
|
44564
|
+
/**
|
|
44565
|
+
* The expiration configuration of the lifecycle rule.
|
|
44566
|
+
*/
|
|
44567
|
+
expiration?: outputs.tos.BucketLifecycleRuleExpiration;
|
|
44568
|
+
/**
|
|
44569
|
+
* The filter configuration of the lifecycle rule.
|
|
44570
|
+
*/
|
|
44571
|
+
filter?: outputs.tos.BucketLifecycleRuleFilter;
|
|
44572
|
+
/**
|
|
44573
|
+
* The ID of the lifecycle rule.
|
|
44574
|
+
*/
|
|
44575
|
+
id: string;
|
|
44576
|
+
/**
|
|
44577
|
+
* The non-current version expiration configuration of the lifecycle rule.
|
|
44578
|
+
*/
|
|
44579
|
+
nonCurrentVersionExpiration?: outputs.tos.BucketLifecycleRuleNonCurrentVersionExpiration;
|
|
44580
|
+
/**
|
|
44581
|
+
* The non-current version transition configuration of the lifecycle rule.
|
|
44582
|
+
*/
|
|
44583
|
+
nonCurrentVersionTransitions?: outputs.tos.BucketLifecycleRuleNonCurrentVersionTransition[];
|
|
44584
|
+
/**
|
|
44585
|
+
* The prefix of the lifecycle rule.
|
|
44586
|
+
*/
|
|
44587
|
+
prefix?: string;
|
|
44588
|
+
/**
|
|
44589
|
+
* The status of the lifecycle rule. Valid values: Enabled, Disabled.
|
|
44590
|
+
*/
|
|
44591
|
+
status: string;
|
|
44592
|
+
/**
|
|
44593
|
+
* The tag filters.
|
|
44594
|
+
*/
|
|
44595
|
+
tags?: outputs.tos.BucketLifecycleRuleTag[];
|
|
44596
|
+
/**
|
|
44597
|
+
* The transition configuration of the lifecycle rule.
|
|
44598
|
+
*/
|
|
44599
|
+
transitions?: outputs.tos.BucketLifecycleRuleTransition[];
|
|
44600
|
+
}
|
|
44601
|
+
interface BucketLifecycleRuleAbortIncompleteMultipartUpload {
|
|
44602
|
+
/**
|
|
44603
|
+
* The number of days after initiation when the incomplete multipart upload should be aborted.
|
|
44604
|
+
*/
|
|
44605
|
+
daysAfterInitiation: number;
|
|
44606
|
+
}
|
|
44607
|
+
interface BucketLifecycleRuleExpiration {
|
|
44608
|
+
/**
|
|
44609
|
+
* The date when the rule takes effect. Format: 2023-01-01T00:00:00.000Z.
|
|
44610
|
+
*/
|
|
44611
|
+
date?: string;
|
|
44612
|
+
/**
|
|
44613
|
+
* The number of days after object creation when the rule takes effect.
|
|
44614
|
+
*/
|
|
44615
|
+
days?: number;
|
|
44616
|
+
}
|
|
44617
|
+
interface BucketLifecycleRuleFilter {
|
|
44618
|
+
/**
|
|
44619
|
+
* Whether to enable equal conditions. The value can only be "Enabled" or "Disabled". If not configured, it will default to "Disabled".
|
|
44620
|
+
*/
|
|
44621
|
+
greaterThanIncludeEqual?: string;
|
|
44622
|
+
/**
|
|
44623
|
+
* Whether to enable equal conditions. The value can only be "Enabled" or "Disabled". If not configured, it will default to "Disabled".
|
|
44624
|
+
*/
|
|
44625
|
+
lessThanIncludeEqual?: string;
|
|
44626
|
+
/**
|
|
44627
|
+
* The minimum object size in bytes for the rule to apply.
|
|
44628
|
+
*/
|
|
44629
|
+
objectSizeGreaterThan?: number;
|
|
44630
|
+
/**
|
|
44631
|
+
* The maximum object size in bytes for the rule to apply.
|
|
44632
|
+
*/
|
|
44633
|
+
objectSizeLessThan?: number;
|
|
44634
|
+
}
|
|
44635
|
+
interface BucketLifecycleRuleNonCurrentVersionExpiration {
|
|
44636
|
+
/**
|
|
44637
|
+
* The number of days after object creation when the non-current version expiration takes effect.
|
|
44638
|
+
*/
|
|
44639
|
+
nonCurrentDays: number;
|
|
44640
|
+
}
|
|
44641
|
+
interface BucketLifecycleRuleNonCurrentVersionTransition {
|
|
44642
|
+
/**
|
|
44643
|
+
* The number of days after object creation when the non-current version transition takes effect.
|
|
44644
|
+
*/
|
|
44645
|
+
nonCurrentDays: number;
|
|
44646
|
+
/**
|
|
44647
|
+
* The storage class to transition to. Valid values: IA, ARCHIVE, COLD_ARCHIVE.
|
|
44648
|
+
*/
|
|
44649
|
+
storageClass: string;
|
|
44650
|
+
}
|
|
44651
|
+
interface BucketLifecycleRuleTag {
|
|
44652
|
+
/**
|
|
44653
|
+
* The key of the tag.
|
|
44654
|
+
*/
|
|
44655
|
+
key: string;
|
|
44656
|
+
/**
|
|
44657
|
+
* The value of the tag.
|
|
44658
|
+
*/
|
|
44659
|
+
value: string;
|
|
44660
|
+
}
|
|
44661
|
+
interface BucketLifecycleRuleTransition {
|
|
44662
|
+
/**
|
|
44663
|
+
* The date when the transition takes effect. Format: 2023-01-01T00:00:00.000Z.
|
|
44664
|
+
*/
|
|
44665
|
+
date?: string;
|
|
44666
|
+
/**
|
|
44667
|
+
* The number of days after object creation when the transition takes effect.
|
|
44668
|
+
*/
|
|
44669
|
+
days?: number;
|
|
44670
|
+
/**
|
|
44671
|
+
* The storage class to transition to. Valid values: IA, ARCHIVE, COLD_ARCHIVE.
|
|
44672
|
+
*/
|
|
44673
|
+
storageClass?: string;
|
|
44674
|
+
}
|
|
44675
|
+
interface BucketLoggingLoggingEnabled {
|
|
44676
|
+
/**
|
|
44677
|
+
* The role that is assumed by TOS to write log objects to the target bucket.
|
|
44678
|
+
*/
|
|
44679
|
+
role?: string;
|
|
44680
|
+
/**
|
|
44681
|
+
* The name of the target bucket where the access logs are stored.
|
|
44682
|
+
*/
|
|
44683
|
+
targetBucket?: string;
|
|
44684
|
+
/**
|
|
44685
|
+
* The prefix for the log object keys.
|
|
44686
|
+
*/
|
|
44687
|
+
targetPrefix?: string;
|
|
44688
|
+
}
|
|
44689
|
+
interface BucketMirrorBackRule {
|
|
44690
|
+
/**
|
|
44691
|
+
* The condition of the mirrorBack rule.
|
|
44692
|
+
*/
|
|
44693
|
+
condition?: outputs.tos.BucketMirrorBackRuleCondition;
|
|
44694
|
+
/**
|
|
44695
|
+
* The ID of the mirrorBack rule.
|
|
44696
|
+
*/
|
|
44697
|
+
id: string;
|
|
44698
|
+
/**
|
|
44699
|
+
* The redirect configuration of the mirrorBack rule.
|
|
44700
|
+
*/
|
|
44701
|
+
redirect?: outputs.tos.BucketMirrorBackRuleRedirect;
|
|
44702
|
+
}
|
|
44703
|
+
interface BucketMirrorBackRuleCondition {
|
|
44704
|
+
/**
|
|
44705
|
+
* Only when a specific domain name is supported will the origin retrieval be triggered.
|
|
44706
|
+
*/
|
|
44707
|
+
allowHosts?: string[];
|
|
44708
|
+
/**
|
|
44709
|
+
* Error code for triggering the source re-fetch function.
|
|
44710
|
+
*/
|
|
44711
|
+
httpCode: number;
|
|
44712
|
+
/**
|
|
44713
|
+
* The type of request that triggers the re-sourcing process.
|
|
44714
|
+
*/
|
|
44715
|
+
httpMethods?: string[];
|
|
44716
|
+
/**
|
|
44717
|
+
* The prefix of the object name that matches the source object.
|
|
44718
|
+
*/
|
|
44719
|
+
keyPrefix?: string;
|
|
44720
|
+
/**
|
|
44721
|
+
* The suffix of the object name that matches the source object.
|
|
44722
|
+
*/
|
|
44723
|
+
keySuffix?: string;
|
|
44724
|
+
}
|
|
44725
|
+
interface BucketMirrorBackRuleRedirect {
|
|
44726
|
+
/**
|
|
44727
|
+
* The fetch header to metadata rules.
|
|
44728
|
+
*/
|
|
44729
|
+
fetchHeaderToMetaDataRules?: outputs.tos.BucketMirrorBackRuleRedirectFetchHeaderToMetaDataRule[];
|
|
44730
|
+
/**
|
|
44731
|
+
* Whether to fetch source on redirect.
|
|
44732
|
+
*/
|
|
44733
|
+
fetchSourceOnRedirect?: boolean;
|
|
44734
|
+
/**
|
|
44735
|
+
* Whether to fetch source on redirect with query.
|
|
44736
|
+
*/
|
|
44737
|
+
fetchSourceOnRedirectWithQuery?: boolean;
|
|
44738
|
+
/**
|
|
44739
|
+
* Whether to follow redirects.
|
|
44740
|
+
*/
|
|
44741
|
+
followRedirect?: boolean;
|
|
44742
|
+
/**
|
|
44743
|
+
* The mirror header configuration.
|
|
44744
|
+
*/
|
|
44745
|
+
mirrorHeaders?: outputs.tos.BucketMirrorBackRuleRedirectMirrorHeader[];
|
|
44746
|
+
/**
|
|
44747
|
+
* Whether to pass query parameters.
|
|
44748
|
+
*/
|
|
44749
|
+
passQuery?: boolean;
|
|
44750
|
+
/**
|
|
44751
|
+
* The private source configuration.
|
|
44752
|
+
*/
|
|
44753
|
+
privateSources?: outputs.tos.BucketMirrorBackRuleRedirectPrivateSource[];
|
|
44754
|
+
/**
|
|
44755
|
+
* The public source configuration.
|
|
44756
|
+
*/
|
|
44757
|
+
publicSource?: outputs.tos.BucketMirrorBackRuleRedirectPublicSource;
|
|
44758
|
+
/**
|
|
44759
|
+
* The type of redirect.
|
|
44760
|
+
*/
|
|
44761
|
+
redirectType?: string;
|
|
44762
|
+
/**
|
|
44763
|
+
* The transform configuration.
|
|
44764
|
+
*/
|
|
44765
|
+
transform?: outputs.tos.BucketMirrorBackRuleRedirectTransform;
|
|
44766
|
+
}
|
|
44767
|
+
interface BucketMirrorBackRuleRedirectFetchHeaderToMetaDataRule {
|
|
44768
|
+
/**
|
|
44769
|
+
* The metadata suffix.
|
|
44770
|
+
*/
|
|
44771
|
+
metaDataSuffix: string;
|
|
44772
|
+
/**
|
|
44773
|
+
* The source header.
|
|
44774
|
+
*/
|
|
44775
|
+
sourceHeader: string;
|
|
44776
|
+
}
|
|
44777
|
+
interface BucketMirrorBackRuleRedirectMirrorHeader {
|
|
44778
|
+
/**
|
|
44779
|
+
* Whether to pass all headers.
|
|
44780
|
+
*/
|
|
44781
|
+
passAll?: boolean;
|
|
44782
|
+
/**
|
|
44783
|
+
* The headers to pass.
|
|
44784
|
+
*/
|
|
44785
|
+
passes?: string[];
|
|
44786
|
+
/**
|
|
44787
|
+
* The headers to remove.
|
|
44788
|
+
*/
|
|
44789
|
+
removes?: string[];
|
|
44790
|
+
/**
|
|
44791
|
+
* The mirror header configuration.
|
|
44792
|
+
*/
|
|
44793
|
+
sets?: outputs.tos.BucketMirrorBackRuleRedirectMirrorHeaderSet[];
|
|
44794
|
+
}
|
|
44795
|
+
interface BucketMirrorBackRuleRedirectMirrorHeaderSet {
|
|
44796
|
+
/**
|
|
44797
|
+
* The key of the header.
|
|
44798
|
+
*/
|
|
44799
|
+
key?: string;
|
|
44800
|
+
/**
|
|
44801
|
+
* The value of the header.
|
|
44802
|
+
*/
|
|
44803
|
+
value?: string;
|
|
44804
|
+
}
|
|
44805
|
+
interface BucketMirrorBackRuleRedirectPrivateSource {
|
|
44806
|
+
/**
|
|
44807
|
+
* The source endpoint.
|
|
44808
|
+
*/
|
|
44809
|
+
sourceEndpoints?: outputs.tos.BucketMirrorBackRuleRedirectPrivateSourceSourceEndpoint[];
|
|
44810
|
+
}
|
|
44811
|
+
interface BucketMirrorBackRuleRedirectPrivateSourceSourceEndpoint {
|
|
44812
|
+
/**
|
|
44813
|
+
* The follower endpoints.
|
|
44814
|
+
*/
|
|
44815
|
+
followers?: outputs.tos.BucketMirrorBackRuleRedirectPrivateSourceSourceEndpointFollower[];
|
|
44816
|
+
/**
|
|
44817
|
+
* The primary endpoints.
|
|
44818
|
+
*/
|
|
44819
|
+
primaries?: outputs.tos.BucketMirrorBackRuleRedirectPrivateSourceSourceEndpointPrimary[];
|
|
44820
|
+
}
|
|
44821
|
+
interface BucketMirrorBackRuleRedirectPrivateSourceSourceEndpointFollower {
|
|
44822
|
+
/**
|
|
44823
|
+
* The bucket name.
|
|
44824
|
+
*/
|
|
44825
|
+
bucketName?: string;
|
|
44826
|
+
/**
|
|
44827
|
+
* The credential provider.
|
|
44828
|
+
*/
|
|
44829
|
+
credentialProvider?: outputs.tos.BucketMirrorBackRuleRedirectPrivateSourceSourceEndpointFollowerCredentialProvider;
|
|
44830
|
+
/**
|
|
44831
|
+
* The endpoint.
|
|
44832
|
+
*/
|
|
44833
|
+
endpoint?: string;
|
|
44834
|
+
}
|
|
44835
|
+
interface BucketMirrorBackRuleRedirectPrivateSourceSourceEndpointFollowerCredentialProvider {
|
|
44836
|
+
/**
|
|
44837
|
+
* The role.
|
|
44838
|
+
*/
|
|
44839
|
+
role?: string;
|
|
44840
|
+
}
|
|
44841
|
+
interface BucketMirrorBackRuleRedirectPrivateSourceSourceEndpointPrimary {
|
|
44842
|
+
/**
|
|
44843
|
+
* The bucket name.
|
|
44844
|
+
*/
|
|
44845
|
+
bucketName?: string;
|
|
44846
|
+
/**
|
|
44847
|
+
* The credential provider.
|
|
44848
|
+
*/
|
|
44849
|
+
credentialProvider?: outputs.tos.BucketMirrorBackRuleRedirectPrivateSourceSourceEndpointPrimaryCredentialProvider;
|
|
44850
|
+
/**
|
|
44851
|
+
* The endpoint.
|
|
44852
|
+
*/
|
|
44853
|
+
endpoint?: string;
|
|
44854
|
+
}
|
|
44855
|
+
interface BucketMirrorBackRuleRedirectPrivateSourceSourceEndpointPrimaryCredentialProvider {
|
|
44856
|
+
/**
|
|
44857
|
+
* The role.
|
|
44858
|
+
*/
|
|
44859
|
+
role?: string;
|
|
44860
|
+
}
|
|
44861
|
+
interface BucketMirrorBackRuleRedirectPublicSource {
|
|
44862
|
+
/**
|
|
44863
|
+
* Whether the endpoint is fixed.
|
|
44864
|
+
*/
|
|
44865
|
+
fixedEndpoint?: boolean;
|
|
44866
|
+
/**
|
|
44867
|
+
* The source endpoint.
|
|
44868
|
+
*/
|
|
44869
|
+
sourceEndpoint?: outputs.tos.BucketMirrorBackRuleRedirectPublicSourceSourceEndpoint;
|
|
44870
|
+
}
|
|
44871
|
+
interface BucketMirrorBackRuleRedirectPublicSourceSourceEndpoint {
|
|
44872
|
+
/**
|
|
44873
|
+
* The follower endpoints.
|
|
44874
|
+
*/
|
|
44875
|
+
followers?: string[];
|
|
44876
|
+
/**
|
|
44877
|
+
* The primary endpoints.
|
|
44878
|
+
*/
|
|
44879
|
+
primaries?: string[];
|
|
44880
|
+
}
|
|
44881
|
+
interface BucketMirrorBackRuleRedirectTransform {
|
|
44882
|
+
/**
|
|
44883
|
+
* The replace key prefix configuration.
|
|
44884
|
+
*/
|
|
44885
|
+
replaceKeyPrefix?: outputs.tos.BucketMirrorBackRuleRedirectTransformReplaceKeyPrefix;
|
|
44886
|
+
/**
|
|
44887
|
+
* The key prefix to add.
|
|
44888
|
+
*/
|
|
44889
|
+
withKeyPrefix?: string;
|
|
44890
|
+
/**
|
|
44891
|
+
* The key suffix to add.
|
|
44892
|
+
*/
|
|
44893
|
+
withKeySuffix?: string;
|
|
44894
|
+
}
|
|
44895
|
+
interface BucketMirrorBackRuleRedirectTransformReplaceKeyPrefix {
|
|
44896
|
+
/**
|
|
44897
|
+
* The key prefix to replace.
|
|
44898
|
+
*/
|
|
44899
|
+
keyPrefix?: string;
|
|
44900
|
+
/**
|
|
44901
|
+
* The value to replace with.
|
|
44902
|
+
*/
|
|
44903
|
+
replaceWith?: string;
|
|
44904
|
+
}
|
|
42143
44905
|
interface BucketNotificationRules {
|
|
42144
44906
|
/**
|
|
42145
44907
|
* The destination info of the notification.
|
|
@@ -42206,6 +44968,26 @@ export declare namespace tos {
|
|
|
42206
44968
|
*/
|
|
42207
44969
|
permission: string;
|
|
42208
44970
|
}
|
|
44971
|
+
interface BucketObjectLockConfigurationRule {
|
|
44972
|
+
/**
|
|
44973
|
+
* The default retention configuration.
|
|
44974
|
+
*/
|
|
44975
|
+
defaultRetention: outputs.tos.BucketObjectLockConfigurationRuleDefaultRetention;
|
|
44976
|
+
}
|
|
44977
|
+
interface BucketObjectLockConfigurationRuleDefaultRetention {
|
|
44978
|
+
/**
|
|
44979
|
+
* The number of days for the default retention period.
|
|
44980
|
+
*/
|
|
44981
|
+
days?: number;
|
|
44982
|
+
/**
|
|
44983
|
+
* The default retention mode. Valid values: COMPLIANCE, GOVERNANCE.
|
|
44984
|
+
*/
|
|
44985
|
+
mode: string;
|
|
44986
|
+
/**
|
|
44987
|
+
* The number of years for the default retention period.
|
|
44988
|
+
*/
|
|
44989
|
+
years?: number;
|
|
44990
|
+
}
|
|
42209
44991
|
interface BucketObjectTag {
|
|
42210
44992
|
/**
|
|
42211
44993
|
* The Key of Tags.
|
|
@@ -42252,6 +45034,60 @@ export declare namespace tos {
|
|
|
42252
45034
|
*/
|
|
42253
45035
|
ttl?: number;
|
|
42254
45036
|
}
|
|
45037
|
+
interface BucketReplicationRule {
|
|
45038
|
+
/**
|
|
45039
|
+
* The access control translation configuration of the replication rule.
|
|
45040
|
+
*/
|
|
45041
|
+
accessControlTranslation: outputs.tos.BucketReplicationRuleAccessControlTranslation;
|
|
45042
|
+
/**
|
|
45043
|
+
* The destination configuration of the replication rule.
|
|
45044
|
+
*/
|
|
45045
|
+
destination: outputs.tos.BucketReplicationRuleDestination;
|
|
45046
|
+
/**
|
|
45047
|
+
* Whether to replicate historical objects. Valid values: Enabled, Disabled.
|
|
45048
|
+
*/
|
|
45049
|
+
historicalObjectReplication?: string;
|
|
45050
|
+
/**
|
|
45051
|
+
* The ID of the replication rule.
|
|
45052
|
+
*/
|
|
45053
|
+
id?: string;
|
|
45054
|
+
/**
|
|
45055
|
+
* The prefix set for the replication rule.
|
|
45056
|
+
*/
|
|
45057
|
+
prefixSets?: string[];
|
|
45058
|
+
/**
|
|
45059
|
+
* The status of the replication rule. Valid values: Enabled, Disabled.
|
|
45060
|
+
*/
|
|
45061
|
+
status: string;
|
|
45062
|
+
/**
|
|
45063
|
+
* Specify the data transmission link to be used for cross-regional replication. Valid values: internal, tos_acc.
|
|
45064
|
+
*/
|
|
45065
|
+
transferType?: string;
|
|
45066
|
+
}
|
|
45067
|
+
interface BucketReplicationRuleAccessControlTranslation {
|
|
45068
|
+
/**
|
|
45069
|
+
* The owner of the destination object.
|
|
45070
|
+
*/
|
|
45071
|
+
owner?: string;
|
|
45072
|
+
}
|
|
45073
|
+
interface BucketReplicationRuleDestination {
|
|
45074
|
+
/**
|
|
45075
|
+
* The destination bucket name.
|
|
45076
|
+
*/
|
|
45077
|
+
bucket: string;
|
|
45078
|
+
/**
|
|
45079
|
+
* The destination bucket location.
|
|
45080
|
+
*/
|
|
45081
|
+
location: string;
|
|
45082
|
+
/**
|
|
45083
|
+
* The storage class for the destination bucket. Valid values: STANDARD, IA, ARCHIVE, COLD_ARCHIVE.
|
|
45084
|
+
*/
|
|
45085
|
+
storageClass?: string;
|
|
45086
|
+
/**
|
|
45087
|
+
* The storage class inherit directive. Valid values: COPY, OVERRIDE.
|
|
45088
|
+
*/
|
|
45089
|
+
storageClassInheritDirective?: string;
|
|
45090
|
+
}
|
|
42255
45091
|
interface BucketTag {
|
|
42256
45092
|
/**
|
|
42257
45093
|
* The Key of Tags.
|
|
@@ -42262,7 +45098,79 @@ export declare namespace tos {
|
|
|
42262
45098
|
*/
|
|
42263
45099
|
value: string;
|
|
42264
45100
|
}
|
|
45101
|
+
interface BucketWebsiteErrorDocument {
|
|
45102
|
+
/**
|
|
45103
|
+
* The key of the error document object, e.g., error.html.
|
|
45104
|
+
*/
|
|
45105
|
+
key?: string;
|
|
45106
|
+
}
|
|
45107
|
+
interface BucketWebsiteIndexDocument {
|
|
45108
|
+
/**
|
|
45109
|
+
* The suffix of the index document, e.g., index.html.
|
|
45110
|
+
*/
|
|
45111
|
+
suffix: string;
|
|
45112
|
+
/**
|
|
45113
|
+
* Whether to support subdirectory indexing. Default is false.
|
|
45114
|
+
*/
|
|
45115
|
+
supportSubDir?: boolean;
|
|
45116
|
+
}
|
|
45117
|
+
interface BucketWebsiteRedirectAllRequestsTo {
|
|
45118
|
+
/**
|
|
45119
|
+
* The target host name for redirect.
|
|
45120
|
+
*/
|
|
45121
|
+
hostName?: string;
|
|
45122
|
+
/**
|
|
45123
|
+
* The protocol for redirect. Valid values: http, https.
|
|
45124
|
+
*/
|
|
45125
|
+
protocol?: string;
|
|
45126
|
+
}
|
|
45127
|
+
interface BucketWebsiteRoutingRule {
|
|
45128
|
+
/**
|
|
45129
|
+
* The condition for the routing rule.
|
|
45130
|
+
*/
|
|
45131
|
+
condition: outputs.tos.BucketWebsiteRoutingRuleCondition;
|
|
45132
|
+
/**
|
|
45133
|
+
* The redirect configuration for the routing rule.
|
|
45134
|
+
*/
|
|
45135
|
+
redirect: outputs.tos.BucketWebsiteRoutingRuleRedirect;
|
|
45136
|
+
}
|
|
45137
|
+
interface BucketWebsiteRoutingRuleCondition {
|
|
45138
|
+
/**
|
|
45139
|
+
* The HTTP error code that must match for the rule to apply, e.g., 404.
|
|
45140
|
+
*/
|
|
45141
|
+
httpErrorCodeReturnedEquals?: number;
|
|
45142
|
+
/**
|
|
45143
|
+
* The key prefix that must match for the rule to apply.
|
|
45144
|
+
*/
|
|
45145
|
+
keyPrefixEquals?: string;
|
|
45146
|
+
}
|
|
45147
|
+
interface BucketWebsiteRoutingRuleRedirect {
|
|
45148
|
+
/**
|
|
45149
|
+
* The host name to redirect to.
|
|
45150
|
+
*/
|
|
45151
|
+
hostName?: string;
|
|
45152
|
+
/**
|
|
45153
|
+
* The HTTP redirect code to use, e.g., 301, 302.
|
|
45154
|
+
*/
|
|
45155
|
+
httpRedirectCode?: number;
|
|
45156
|
+
/**
|
|
45157
|
+
* The protocol to use for the redirect. Valid values: http, https.
|
|
45158
|
+
*/
|
|
45159
|
+
protocol?: string;
|
|
45160
|
+
/**
|
|
45161
|
+
* The key prefix to replace the original key prefix with.
|
|
45162
|
+
*/
|
|
45163
|
+
replaceKeyPrefixWith?: string;
|
|
45164
|
+
/**
|
|
45165
|
+
* The key to replace the original key with.
|
|
45166
|
+
*/
|
|
45167
|
+
replaceKeyWith?: string;
|
|
45168
|
+
}
|
|
42265
45169
|
interface BucketsBucket {
|
|
45170
|
+
/**
|
|
45171
|
+
* The bucket type of the TOS bucket.
|
|
45172
|
+
*/
|
|
45173
|
+
bucketType: string;
|
|
42266
45174
|
/**
|
|
42267
45175
|
* The create date of the TOS bucket.
|
|
42268
45176
|
*/
|
|
@@ -42307,6 +45215,10 @@ export declare namespace tos {
|
|
|
42307
45215
|
* @deprecated The Field is Deprecated.
|
|
42308
45216
|
*/
|
|
42309
45217
|
prefix: string;
|
|
45218
|
+
/**
|
|
45219
|
+
* The project of the TOS bucket.
|
|
45220
|
+
*/
|
|
45221
|
+
projectName: string;
|
|
42310
45222
|
}
|
|
42311
45223
|
interface GetBucketInventoriesInventoryConfiguration {
|
|
42312
45224
|
/**
|
|
@@ -42407,6 +45319,10 @@ export declare namespace tos {
|
|
|
42407
45319
|
storageClass: string;
|
|
42408
45320
|
}
|
|
42409
45321
|
interface GetBucketsBucket {
|
|
45322
|
+
/**
|
|
45323
|
+
* The bucket type of the TOS bucket.
|
|
45324
|
+
*/
|
|
45325
|
+
bucketType: string;
|
|
42410
45326
|
/**
|
|
42411
45327
|
* The create date of the TOS bucket.
|
|
42412
45328
|
*/
|
|
@@ -42451,6 +45367,10 @@ export declare namespace tos {
|
|
|
42451
45367
|
* @deprecated The Field is Deprecated.
|
|
42452
45368
|
*/
|
|
42453
45369
|
prefix: string;
|
|
45370
|
+
/**
|
|
45371
|
+
* The project of the TOS bucket.
|
|
45372
|
+
*/
|
|
45373
|
+
projectName: string;
|
|
42454
45374
|
}
|
|
42455
45375
|
}
|
|
42456
45376
|
export declare namespace transit_router {
|
|
@@ -56857,6 +59777,10 @@ export declare namespace vpc {
|
|
|
56857
59777
|
* The update time of VPC.
|
|
56858
59778
|
*/
|
|
56859
59779
|
updateTime: string;
|
|
59780
|
+
/**
|
|
59781
|
+
* The user cidr block list of VPC.
|
|
59782
|
+
*/
|
|
59783
|
+
userCidrBlocks: string[];
|
|
56860
59784
|
/**
|
|
56861
59785
|
* The ID of VPC.
|
|
56862
59786
|
*/
|
|
@@ -58521,6 +61445,10 @@ export declare namespace vpc {
|
|
|
58521
61445
|
* The update time of VPC.
|
|
58522
61446
|
*/
|
|
58523
61447
|
updateTime: string;
|
|
61448
|
+
/**
|
|
61449
|
+
* The user cidr block list of VPC.
|
|
61450
|
+
*/
|
|
61451
|
+
userCidrBlocks: string[];
|
|
58524
61452
|
/**
|
|
58525
61453
|
* The ID of VPC.
|
|
58526
61454
|
*/
|