@lshay-provider/planetscale 0.0.0-stage → 1.21.0
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/README.md +3 -3
- package/bin/config/index.d.ts +2 -0
- package/bin/config/index.d.ts.map +1 -0
- package/bin/config/index.js +21 -0
- package/bin/config/index.js.map +1 -0
- package/bin/config/vars.d.ts +13 -0
- package/bin/config/vars.d.ts.map +1 -0
- package/bin/config/vars.js +48 -0
- package/bin/config/vars.js.map +1 -0
- package/bin/getDatabasePostgres.d.ts +56 -0
- package/bin/getDatabasePostgres.d.ts.map +1 -0
- package/bin/getDatabasePostgres.js +47 -0
- package/bin/getDatabasePostgres.js.map +1 -0
- package/bin/getDatabaseVitess.d.ts +62 -0
- package/bin/getDatabaseVitess.d.ts.map +1 -0
- package/bin/getDatabaseVitess.js +47 -0
- package/bin/getDatabaseVitess.js.map +1 -0
- package/bin/getDatabases.d.ts +31 -0
- package/bin/getDatabases.d.ts.map +1 -0
- package/bin/getDatabases.js +49 -0
- package/bin/getDatabases.js.map +1 -0
- package/bin/getNekiAdmin.d.ts +46 -0
- package/bin/getNekiAdmin.d.ts.map +1 -0
- package/bin/getNekiAdmin.js +51 -0
- package/bin/getNekiAdmin.js.map +1 -0
- package/bin/getNekiBackupPolicies.d.ts +27 -0
- package/bin/getNekiBackupPolicies.d.ts.map +1 -0
- package/bin/getNekiBackupPolicies.js +47 -0
- package/bin/getNekiBackupPolicies.js.map +1 -0
- package/bin/getNekiBackupPolicy.d.ts +38 -0
- package/bin/getNekiBackupPolicy.d.ts.map +1 -0
- package/bin/getNekiBackupPolicy.js +49 -0
- package/bin/getNekiBackupPolicy.js.map +1 -0
- package/bin/getNekiBranch.d.ts +33 -0
- package/bin/getNekiBranch.d.ts.map +1 -0
- package/bin/getNekiBranch.js +49 -0
- package/bin/getNekiBranch.js.map +1 -0
- package/bin/getNekiConfigurationProfile.d.ts +60 -0
- package/bin/getNekiConfigurationProfile.d.ts.map +1 -0
- package/bin/getNekiConfigurationProfile.js +55 -0
- package/bin/getNekiConfigurationProfile.js.map +1 -0
- package/bin/getNekiConfigurationProfiles.d.ts +30 -0
- package/bin/getNekiConfigurationProfiles.d.ts.map +1 -0
- package/bin/getNekiConfigurationProfiles.js +49 -0
- package/bin/getNekiConfigurationProfiles.js.map +1 -0
- package/bin/getNekiRole.d.ts +40 -0
- package/bin/getNekiRole.d.ts.map +1 -0
- package/bin/getNekiRole.js +51 -0
- package/bin/getNekiRole.js.map +1 -0
- package/bin/getNekiRoles.d.ts +37 -0
- package/bin/getNekiRoles.d.ts.map +1 -0
- package/bin/getNekiRoles.js +53 -0
- package/bin/getNekiRoles.js.map +1 -0
- package/bin/getNekiRouter.d.ts +54 -0
- package/bin/getNekiRouter.d.ts.map +1 -0
- package/bin/getNekiRouter.js +53 -0
- package/bin/getNekiRouter.js.map +1 -0
- package/bin/getNekiRouters.d.ts +30 -0
- package/bin/getNekiRouters.d.ts.map +1 -0
- package/bin/getNekiRouters.js +49 -0
- package/bin/getNekiRouters.js.map +1 -0
- package/bin/getNekiShard.d.ts +35 -0
- package/bin/getNekiShard.d.ts.map +1 -0
- package/bin/getNekiShard.js +51 -0
- package/bin/getNekiShard.js.map +1 -0
- package/bin/getNekiShards.d.ts +31 -0
- package/bin/getNekiShards.d.ts.map +1 -0
- package/bin/getNekiShards.js +49 -0
- package/bin/getNekiShards.js.map +1 -0
- package/bin/getOrganization.d.ts +48 -0
- package/bin/getOrganization.d.ts.map +1 -0
- package/bin/getOrganization.js +45 -0
- package/bin/getOrganization.js.map +1 -0
- package/bin/getOrganizations.d.ts +12 -0
- package/bin/getOrganizations.d.ts.map +1 -0
- package/bin/getOrganizations.js +41 -0
- package/bin/getOrganizations.js.map +1 -0
- package/bin/getPostgresBackupPolicies.d.ts +27 -0
- package/bin/getPostgresBackupPolicies.d.ts.map +1 -0
- package/bin/getPostgresBackupPolicies.js +47 -0
- package/bin/getPostgresBackupPolicies.js.map +1 -0
- package/bin/getPostgresBackupPolicy.d.ts +38 -0
- package/bin/getPostgresBackupPolicy.d.ts.map +1 -0
- package/bin/getPostgresBackupPolicy.js +49 -0
- package/bin/getPostgresBackupPolicy.js.map +1 -0
- package/bin/getPostgresBouncer.d.ts +42 -0
- package/bin/getPostgresBouncer.d.ts.map +1 -0
- package/bin/getPostgresBouncer.js +51 -0
- package/bin/getPostgresBouncer.js.map +1 -0
- package/bin/getPostgresBouncers.d.ts +30 -0
- package/bin/getPostgresBouncers.d.ts.map +1 -0
- package/bin/getPostgresBouncers.js +49 -0
- package/bin/getPostgresBouncers.js.map +1 -0
- package/bin/getPostgresBranch.d.ts +47 -0
- package/bin/getPostgresBranch.d.ts.map +1 -0
- package/bin/getPostgresBranch.js +49 -0
- package/bin/getPostgresBranch.js.map +1 -0
- package/bin/getPostgresBranchBackup.d.ts +46 -0
- package/bin/getPostgresBranchBackup.d.ts.map +1 -0
- package/bin/getPostgresBranchBackup.js +51 -0
- package/bin/getPostgresBranchBackup.js.map +1 -0
- package/bin/getPostgresBranchBackups.d.ts +51 -0
- package/bin/getPostgresBranchBackups.d.ts.map +1 -0
- package/bin/getPostgresBranchBackups.js +63 -0
- package/bin/getPostgresBranchBackups.js.map +1 -0
- package/bin/getPostgresBranchMaintenanceWindow.d.ts +32 -0
- package/bin/getPostgresBranchMaintenanceWindow.d.ts.map +1 -0
- package/bin/getPostgresBranchMaintenanceWindow.js +49 -0
- package/bin/getPostgresBranchMaintenanceWindow.js.map +1 -0
- package/bin/getPostgresBranchRole.d.ts +54 -0
- package/bin/getPostgresBranchRole.d.ts.map +1 -0
- package/bin/getPostgresBranchRole.js +51 -0
- package/bin/getPostgresBranchRole.js.map +1 -0
- package/bin/getPostgresBranchRoles.d.ts +37 -0
- package/bin/getPostgresBranchRoles.d.ts.map +1 -0
- package/bin/getPostgresBranchRoles.js +53 -0
- package/bin/getPostgresBranchRoles.js.map +1 -0
- package/bin/getPostgresDedicatedReadReplica.d.ts +37 -0
- package/bin/getPostgresDedicatedReadReplica.d.ts.map +1 -0
- package/bin/getPostgresDedicatedReadReplica.js +51 -0
- package/bin/getPostgresDedicatedReadReplica.js.map +1 -0
- package/bin/getPostgresDedicatedReadReplicas.d.ts +30 -0
- package/bin/getPostgresDedicatedReadReplicas.d.ts.map +1 -0
- package/bin/getPostgresDedicatedReadReplicas.js +49 -0
- package/bin/getPostgresDedicatedReadReplicas.js.map +1 -0
- package/bin/getPostgresIpRestriction.d.ts +34 -0
- package/bin/getPostgresIpRestriction.d.ts.map +1 -0
- package/bin/getPostgresIpRestriction.js +49 -0
- package/bin/getPostgresIpRestriction.js.map +1 -0
- package/bin/getPostgresIpRestrictions.d.ts +27 -0
- package/bin/getPostgresIpRestrictions.d.ts.map +1 -0
- package/bin/getPostgresIpRestrictions.js +47 -0
- package/bin/getPostgresIpRestrictions.js.map +1 -0
- package/bin/getPostgresReadOnlyReplica.d.ts +37 -0
- package/bin/getPostgresReadOnlyReplica.d.ts.map +1 -0
- package/bin/getPostgresReadOnlyReplica.js +51 -0
- package/bin/getPostgresReadOnlyReplica.js.map +1 -0
- package/bin/getPostgresReadOnlyReplicas.d.ts +30 -0
- package/bin/getPostgresReadOnlyReplicas.d.ts.map +1 -0
- package/bin/getPostgresReadOnlyReplicas.js +49 -0
- package/bin/getPostgresReadOnlyReplicas.js.map +1 -0
- package/bin/getPostgresRedactedBranchRole.d.ts +54 -0
- package/bin/getPostgresRedactedBranchRole.d.ts.map +1 -0
- package/bin/getPostgresRedactedBranchRole.js +51 -0
- package/bin/getPostgresRedactedBranchRole.js.map +1 -0
- package/bin/getVitessBackupPolicies.d.ts +27 -0
- package/bin/getVitessBackupPolicies.d.ts.map +1 -0
- package/bin/getVitessBackupPolicies.js +47 -0
- package/bin/getVitessBackupPolicies.js.map +1 -0
- package/bin/getVitessBackupPolicy.d.ts +38 -0
- package/bin/getVitessBackupPolicy.d.ts.map +1 -0
- package/bin/getVitessBackupPolicy.js +49 -0
- package/bin/getVitessBackupPolicy.js.map +1 -0
- package/bin/getVitessBranch.d.ts +53 -0
- package/bin/getVitessBranch.d.ts.map +1 -0
- package/bin/getVitessBranch.js +49 -0
- package/bin/getVitessBranch.js.map +1 -0
- package/bin/getVitessBranchBackup.d.ts +46 -0
- package/bin/getVitessBranchBackup.d.ts.map +1 -0
- package/bin/getVitessBranchBackup.js +51 -0
- package/bin/getVitessBranchBackup.js.map +1 -0
- package/bin/getVitessBranchBackups.d.ts +51 -0
- package/bin/getVitessBranchBackups.d.ts.map +1 -0
- package/bin/getVitessBranchBackups.js +63 -0
- package/bin/getVitessBranchBackups.js.map +1 -0
- package/bin/getVitessBranchPassword.d.ts +52 -0
- package/bin/getVitessBranchPassword.d.ts.map +1 -0
- package/bin/getVitessBranchPassword.js +51 -0
- package/bin/getVitessBranchPassword.js.map +1 -0
- package/bin/getVitessBranchPasswords.d.ts +40 -0
- package/bin/getVitessBranchPasswords.d.ts.map +1 -0
- package/bin/getVitessBranchPasswords.js +55 -0
- package/bin/getVitessBranchPasswords.js.map +1 -0
- package/bin/getVitessKeyspace.d.ts +59 -0
- package/bin/getVitessKeyspace.d.ts.map +1 -0
- package/bin/getVitessKeyspace.js +51 -0
- package/bin/getVitessKeyspace.js.map +1 -0
- package/bin/getVitessKeyspaces.d.ts +31 -0
- package/bin/getVitessKeyspaces.d.ts.map +1 -0
- package/bin/getVitessKeyspaces.js +49 -0
- package/bin/getVitessKeyspaces.js.map +1 -0
- package/bin/index.d.ts +200 -0
- package/bin/index.d.ts.map +1 -0
- package/bin/index.js +300 -0
- package/bin/index.js.map +1 -0
- package/bin/nekiAdmin.d.ts +125 -0
- package/bin/nekiAdmin.d.ts.map +1 -0
- package/bin/nekiAdmin.js +101 -0
- package/bin/nekiAdmin.js.map +1 -0
- package/bin/nekiBackupPolicy.d.ts +185 -0
- package/bin/nekiBackupPolicy.d.ts.map +1 -0
- package/bin/nekiBackupPolicy.js +128 -0
- package/bin/nekiBackupPolicy.js.map +1 -0
- package/bin/nekiBranch.d.ts +167 -0
- package/bin/nekiBranch.d.ts.map +1 -0
- package/bin/nekiBranch.js +108 -0
- package/bin/nekiBranch.js.map +1 -0
- package/bin/nekiConfigurationProfile.d.ts +218 -0
- package/bin/nekiConfigurationProfile.d.ts.map +1 -0
- package/bin/nekiConfigurationProfile.js +119 -0
- package/bin/nekiConfigurationProfile.js.map +1 -0
- package/bin/nekiRole.d.ts +189 -0
- package/bin/nekiRole.d.ts.map +1 -0
- package/bin/nekiRole.js +119 -0
- package/bin/nekiRole.js.map +1 -0
- package/bin/nekiRouter.d.ts +193 -0
- package/bin/nekiRouter.d.ts.map +1 -0
- package/bin/nekiRouter.js +113 -0
- package/bin/nekiRouter.js.map +1 -0
- package/bin/nekiShard.d.ts +121 -0
- package/bin/nekiShard.d.ts.map +1 -0
- package/bin/nekiShard.js +106 -0
- package/bin/nekiShard.js.map +1 -0
- package/bin/package.json +34 -0
- package/bin/postgresBackupPolicy.d.ts +185 -0
- package/bin/postgresBackupPolicy.d.ts.map +1 -0
- package/bin/postgresBackupPolicy.js +110 -0
- package/bin/postgresBackupPolicy.js.map +1 -0
- package/bin/postgresBouncer.d.ts +157 -0
- package/bin/postgresBouncer.d.ts.map +1 -0
- package/bin/postgresBouncer.js +107 -0
- package/bin/postgresBouncer.js.map +1 -0
- package/bin/postgresBranch.d.ts +269 -0
- package/bin/postgresBranch.d.ts.map +1 -0
- package/bin/postgresBranch.js +128 -0
- package/bin/postgresBranch.js.map +1 -0
- package/bin/postgresBranchBackup.d.ts +217 -0
- package/bin/postgresBranchBackup.d.ts.map +1 -0
- package/bin/postgresBranchBackup.js +129 -0
- package/bin/postgresBranchBackup.js.map +1 -0
- package/bin/postgresBranchMaintenanceWindow.d.ts +113 -0
- package/bin/postgresBranchMaintenanceWindow.d.ts.map +1 -0
- package/bin/postgresBranchMaintenanceWindow.js +107 -0
- package/bin/postgresBranchMaintenanceWindow.js.map +1 -0
- package/bin/postgresBranchRole.d.ts +277 -0
- package/bin/postgresBranchRole.d.ts.map +1 -0
- package/bin/postgresBranchRole.js +145 -0
- package/bin/postgresBranchRole.js.map +1 -0
- package/bin/postgresDedicatedReadReplica.d.ts +153 -0
- package/bin/postgresDedicatedReadReplica.d.ts.map +1 -0
- package/bin/postgresDedicatedReadReplica.js +112 -0
- package/bin/postgresDedicatedReadReplica.js.map +1 -0
- package/bin/postgresIpRestriction.d.ts +121 -0
- package/bin/postgresIpRestriction.d.ts.map +1 -0
- package/bin/postgresIpRestriction.js +103 -0
- package/bin/postgresIpRestriction.js.map +1 -0
- package/bin/postgresReadOnlyReplica.d.ts +153 -0
- package/bin/postgresReadOnlyReplica.d.ts.map +1 -0
- package/bin/postgresReadOnlyReplica.js +112 -0
- package/bin/postgresReadOnlyReplica.js.map +1 -0
- package/bin/postgresRedactedBranchRole.d.ts +269 -0
- package/bin/postgresRedactedBranchRole.d.ts.map +1 -0
- package/bin/postgresRedactedBranchRole.js +141 -0
- package/bin/postgresRedactedBranchRole.js.map +1 -0
- package/bin/provider.d.ts +68 -0
- package/bin/provider.d.ts.map +1 -0
- package/bin/provider.js +81 -0
- package/bin/provider.js.map +1 -0
- package/bin/types/index.d.ts +4 -0
- package/bin/types/index.d.ts.map +1 -0
- package/bin/types/index.js +34 -0
- package/bin/types/index.js.map +1 -0
- package/bin/types/input.d.ts +326 -0
- package/bin/types/input.d.ts.map +1 -0
- package/bin/types/input.js +5 -0
- package/bin/types/input.js.map +1 -0
- package/bin/types/output.d.ts +2009 -0
- package/bin/types/output.d.ts.map +1 -0
- package/bin/types/output.js +5 -0
- package/bin/types/output.js.map +1 -0
- package/bin/utilities.d.ts +6 -0
- package/bin/utilities.d.ts.map +1 -0
- package/bin/utilities.js +125 -0
- package/bin/utilities.js.map +1 -0
- package/bin/vitessBackupPolicy.d.ts +185 -0
- package/bin/vitessBackupPolicy.d.ts.map +1 -0
- package/bin/vitessBackupPolicy.js +110 -0
- package/bin/vitessBackupPolicy.js.map +1 -0
- package/bin/vitessBranch.d.ts +323 -0
- package/bin/vitessBranch.d.ts.map +1 -0
- package/bin/vitessBranch.js +138 -0
- package/bin/vitessBranch.js.map +1 -0
- package/bin/vitessBranchBackup.d.ts +205 -0
- package/bin/vitessBranchBackup.d.ts.map +1 -0
- package/bin/vitessBranchBackup.js +127 -0
- package/bin/vitessBranchBackup.js.map +1 -0
- package/bin/vitessBranchPassword.d.ts +265 -0
- package/bin/vitessBranchPassword.d.ts.map +1 -0
- package/bin/vitessBranchPassword.js +141 -0
- package/bin/vitessBranchPassword.js.map +1 -0
- package/bin/vitessKeyspace.d.ts +281 -0
- package/bin/vitessKeyspace.d.ts.map +1 -0
- package/bin/vitessKeyspace.js +144 -0
- package/bin/vitessKeyspace.js.map +1 -0
- package/package.json +31 -3
|
@@ -0,0 +1,2009 @@
|
|
|
1
|
+
import * as outputs from "../types/output";
|
|
2
|
+
export interface GetDatabasePostgresRegionData {
|
|
3
|
+
/**
|
|
4
|
+
* True if the region is the default for new branch creation
|
|
5
|
+
*/
|
|
6
|
+
currentDefault: boolean;
|
|
7
|
+
/**
|
|
8
|
+
* Name of the region
|
|
9
|
+
*/
|
|
10
|
+
displayName: string;
|
|
11
|
+
/**
|
|
12
|
+
* Whether or not the region is currently active
|
|
13
|
+
*/
|
|
14
|
+
enabled: boolean;
|
|
15
|
+
/**
|
|
16
|
+
* The ID of the region
|
|
17
|
+
*/
|
|
18
|
+
id: string;
|
|
19
|
+
/**
|
|
20
|
+
* Location of the region
|
|
21
|
+
*/
|
|
22
|
+
location: string;
|
|
23
|
+
/**
|
|
24
|
+
* Whether the region supports MySQL/Vitess databases
|
|
25
|
+
*/
|
|
26
|
+
mysqlSupported: boolean;
|
|
27
|
+
/**
|
|
28
|
+
* Whether the region supports PostgreSQL databases
|
|
29
|
+
*/
|
|
30
|
+
postgresqlSupported: boolean;
|
|
31
|
+
/**
|
|
32
|
+
* Provider for the region (ex. AWS)
|
|
33
|
+
*/
|
|
34
|
+
provider: string;
|
|
35
|
+
/**
|
|
36
|
+
* Public IP addresses for the region
|
|
37
|
+
*/
|
|
38
|
+
publicIpAddresses: string[];
|
|
39
|
+
/**
|
|
40
|
+
* The slug of the region
|
|
41
|
+
*/
|
|
42
|
+
slug: string;
|
|
43
|
+
}
|
|
44
|
+
export interface GetDatabaseVitessRegionData {
|
|
45
|
+
/**
|
|
46
|
+
* True if the region is the default for new branch creation
|
|
47
|
+
*/
|
|
48
|
+
currentDefault: boolean;
|
|
49
|
+
/**
|
|
50
|
+
* Name of the region
|
|
51
|
+
*/
|
|
52
|
+
displayName: string;
|
|
53
|
+
/**
|
|
54
|
+
* Whether or not the region is currently active
|
|
55
|
+
*/
|
|
56
|
+
enabled: boolean;
|
|
57
|
+
/**
|
|
58
|
+
* The ID of the region
|
|
59
|
+
*/
|
|
60
|
+
id: string;
|
|
61
|
+
/**
|
|
62
|
+
* Location of the region
|
|
63
|
+
*/
|
|
64
|
+
location: string;
|
|
65
|
+
/**
|
|
66
|
+
* Whether the region supports MySQL/Vitess databases
|
|
67
|
+
*/
|
|
68
|
+
mysqlSupported: boolean;
|
|
69
|
+
/**
|
|
70
|
+
* Whether the region supports PostgreSQL databases
|
|
71
|
+
*/
|
|
72
|
+
postgresqlSupported: boolean;
|
|
73
|
+
/**
|
|
74
|
+
* Provider for the region (ex. AWS)
|
|
75
|
+
*/
|
|
76
|
+
provider: string;
|
|
77
|
+
/**
|
|
78
|
+
* Public IP addresses for the region
|
|
79
|
+
*/
|
|
80
|
+
publicIpAddresses: string[];
|
|
81
|
+
/**
|
|
82
|
+
* The slug of the region
|
|
83
|
+
*/
|
|
84
|
+
slug: string;
|
|
85
|
+
}
|
|
86
|
+
export interface GetDatabasesData {
|
|
87
|
+
/**
|
|
88
|
+
* Whether seeding branches with data is enabled for all branches
|
|
89
|
+
*/
|
|
90
|
+
allowDataBranching: boolean;
|
|
91
|
+
/**
|
|
92
|
+
* If the database has reached its backup restored branch limit
|
|
93
|
+
*/
|
|
94
|
+
atBackupRestoreBranchesLimit: boolean;
|
|
95
|
+
/**
|
|
96
|
+
* If the database has reached its development branch limit
|
|
97
|
+
*/
|
|
98
|
+
atDevelopmentBranchUsageLimit: boolean;
|
|
99
|
+
/**
|
|
100
|
+
* Whether to automatically manage Rails migrations during deploy requests.
|
|
101
|
+
*/
|
|
102
|
+
automaticMigrations: boolean;
|
|
103
|
+
/**
|
|
104
|
+
* The total number of database branches
|
|
105
|
+
*/
|
|
106
|
+
branchesCount: number;
|
|
107
|
+
/**
|
|
108
|
+
* The URL to retrieve this database's branches via the API
|
|
109
|
+
*/
|
|
110
|
+
branchesUrl: string;
|
|
111
|
+
/**
|
|
112
|
+
* When the database was created
|
|
113
|
+
*/
|
|
114
|
+
createdAt: string;
|
|
115
|
+
/**
|
|
116
|
+
* The default branch for the database
|
|
117
|
+
*/
|
|
118
|
+
defaultBranch: string;
|
|
119
|
+
/**
|
|
120
|
+
* Number of read only regions in the default branch
|
|
121
|
+
*/
|
|
122
|
+
defaultBranchReadOnlyRegionsCount: number;
|
|
123
|
+
/**
|
|
124
|
+
* Number of shards in the default branch
|
|
125
|
+
*/
|
|
126
|
+
defaultBranchShardCount: number;
|
|
127
|
+
/**
|
|
128
|
+
* Number of tables in the default branch schema
|
|
129
|
+
*/
|
|
130
|
+
defaultBranchTableCount: number;
|
|
131
|
+
/**
|
|
132
|
+
* The total number of database development branches
|
|
133
|
+
*/
|
|
134
|
+
developmentBranchesCount: number;
|
|
135
|
+
/**
|
|
136
|
+
* Whether foreign key constraints are enabled
|
|
137
|
+
*/
|
|
138
|
+
foreignKeysEnabled: boolean;
|
|
139
|
+
/**
|
|
140
|
+
* The URL to see this database's branches in the web UI
|
|
141
|
+
*/
|
|
142
|
+
htmlUrl: string;
|
|
143
|
+
/**
|
|
144
|
+
* The ID of the database
|
|
145
|
+
*/
|
|
146
|
+
id: string;
|
|
147
|
+
/**
|
|
148
|
+
* True if query insights is enabled for the database
|
|
149
|
+
*/
|
|
150
|
+
insightsEnabled: boolean;
|
|
151
|
+
/**
|
|
152
|
+
* Whether raw SQL queries are collected
|
|
153
|
+
*/
|
|
154
|
+
insightsRawQueries: boolean;
|
|
155
|
+
/**
|
|
156
|
+
* The total number of ongoing issues within a database
|
|
157
|
+
*/
|
|
158
|
+
issuesCount: number;
|
|
159
|
+
/**
|
|
160
|
+
* The kind of database
|
|
161
|
+
*/
|
|
162
|
+
kind: string;
|
|
163
|
+
/**
|
|
164
|
+
* Framework used for applying migrations.
|
|
165
|
+
*/
|
|
166
|
+
migrationFramework: string;
|
|
167
|
+
/**
|
|
168
|
+
* Table name to use for copying schema migration data.
|
|
169
|
+
*/
|
|
170
|
+
migrationTableName: string;
|
|
171
|
+
/**
|
|
172
|
+
* If the database requires multiple admins for deletion
|
|
173
|
+
*/
|
|
174
|
+
multipleAdminsRequiredForDeletion: boolean;
|
|
175
|
+
/**
|
|
176
|
+
* Name of the database
|
|
177
|
+
*/
|
|
178
|
+
name: string;
|
|
179
|
+
/**
|
|
180
|
+
* The total number of schema recommendations
|
|
181
|
+
*/
|
|
182
|
+
openSchemaRecommendationsCount: number;
|
|
183
|
+
/**
|
|
184
|
+
* The database plan
|
|
185
|
+
*/
|
|
186
|
+
plan: string;
|
|
187
|
+
/**
|
|
188
|
+
* Whether web console is enabled for production branches
|
|
189
|
+
*/
|
|
190
|
+
productionBranchWebConsole: boolean;
|
|
191
|
+
/**
|
|
192
|
+
* The total number of database production branches
|
|
193
|
+
*/
|
|
194
|
+
productionBranchesCount: number;
|
|
195
|
+
/**
|
|
196
|
+
* If the database is ready to be used
|
|
197
|
+
*/
|
|
198
|
+
ready: boolean;
|
|
199
|
+
region: outputs.GetDatabasesDataRegion;
|
|
200
|
+
/**
|
|
201
|
+
* Whether an approval is required to deploy schema changes to this database
|
|
202
|
+
*/
|
|
203
|
+
requireApprovalForDeploy: boolean;
|
|
204
|
+
/**
|
|
205
|
+
* True if a branch has a queued resize request
|
|
206
|
+
*/
|
|
207
|
+
resizeQueued: boolean;
|
|
208
|
+
/**
|
|
209
|
+
* True if a branch is currently resizing
|
|
210
|
+
*/
|
|
211
|
+
resizing: boolean;
|
|
212
|
+
/**
|
|
213
|
+
* Whether to restrict branch creation to one region
|
|
214
|
+
*/
|
|
215
|
+
restrictBranchRegion: boolean;
|
|
216
|
+
/**
|
|
217
|
+
* When the default branch schema was last changed.
|
|
218
|
+
*/
|
|
219
|
+
schemaLastUpdatedAt: string;
|
|
220
|
+
/**
|
|
221
|
+
* If the database is sharded
|
|
222
|
+
*/
|
|
223
|
+
sharded: boolean;
|
|
224
|
+
/**
|
|
225
|
+
* State of the database
|
|
226
|
+
*/
|
|
227
|
+
state: string;
|
|
228
|
+
/**
|
|
229
|
+
* When the database was last updated
|
|
230
|
+
*/
|
|
231
|
+
updatedAt: string;
|
|
232
|
+
/**
|
|
233
|
+
* The URL to the database API endpoint
|
|
234
|
+
*/
|
|
235
|
+
url: string;
|
|
236
|
+
}
|
|
237
|
+
export interface GetDatabasesDataRegion {
|
|
238
|
+
/**
|
|
239
|
+
* True if the region is the default for new branch creation
|
|
240
|
+
*/
|
|
241
|
+
currentDefault: boolean;
|
|
242
|
+
/**
|
|
243
|
+
* Name of the region
|
|
244
|
+
*/
|
|
245
|
+
displayName: string;
|
|
246
|
+
/**
|
|
247
|
+
* Whether or not the region is currently active
|
|
248
|
+
*/
|
|
249
|
+
enabled: boolean;
|
|
250
|
+
/**
|
|
251
|
+
* The ID of the region
|
|
252
|
+
*/
|
|
253
|
+
id: string;
|
|
254
|
+
/**
|
|
255
|
+
* Location of the region
|
|
256
|
+
*/
|
|
257
|
+
location: string;
|
|
258
|
+
/**
|
|
259
|
+
* Whether the region supports MySQL/Vitess databases
|
|
260
|
+
*/
|
|
261
|
+
mysqlSupported: boolean;
|
|
262
|
+
/**
|
|
263
|
+
* Whether the region supports PostgreSQL databases
|
|
264
|
+
*/
|
|
265
|
+
postgresqlSupported: boolean;
|
|
266
|
+
/**
|
|
267
|
+
* Provider for the region (ex. AWS)
|
|
268
|
+
*/
|
|
269
|
+
provider: string;
|
|
270
|
+
/**
|
|
271
|
+
* Public IP addresses for the region
|
|
272
|
+
*/
|
|
273
|
+
publicIpAddresses: string[];
|
|
274
|
+
/**
|
|
275
|
+
* The slug of the region
|
|
276
|
+
*/
|
|
277
|
+
slug: string;
|
|
278
|
+
}
|
|
279
|
+
export interface GetNekiBackupPoliciesData {
|
|
280
|
+
/**
|
|
281
|
+
* The unit for the frequency of the backup policy
|
|
282
|
+
*/
|
|
283
|
+
frequencyUnit: string;
|
|
284
|
+
/**
|
|
285
|
+
* A number value for the frequency of the backup policy
|
|
286
|
+
*/
|
|
287
|
+
frequencyValue: number;
|
|
288
|
+
/**
|
|
289
|
+
* The ID of the backup policy
|
|
290
|
+
*/
|
|
291
|
+
id: string;
|
|
292
|
+
/**
|
|
293
|
+
* The name of the backup policy
|
|
294
|
+
*/
|
|
295
|
+
name: string;
|
|
296
|
+
/**
|
|
297
|
+
* Whether the policy is a required system backup that cannot be updated or deleted.
|
|
298
|
+
*/
|
|
299
|
+
required: boolean;
|
|
300
|
+
/**
|
|
301
|
+
* The unit for the retention period of the backup policy
|
|
302
|
+
*/
|
|
303
|
+
retentionUnit: string;
|
|
304
|
+
/**
|
|
305
|
+
* A number value for the retention period of the backup policy
|
|
306
|
+
*/
|
|
307
|
+
retentionValue: number;
|
|
308
|
+
/**
|
|
309
|
+
* Day of the week that the backup is scheduled. 0 is Sunday, 6 is Saturday
|
|
310
|
+
*/
|
|
311
|
+
scheduleDay: number;
|
|
312
|
+
/**
|
|
313
|
+
* The time of day that the backup is scheduled, in HH:MM format
|
|
314
|
+
*/
|
|
315
|
+
scheduleTime: string;
|
|
316
|
+
/**
|
|
317
|
+
* Week of the month that the backup is scheduled. 0 is the first week, 3 is the fourth week
|
|
318
|
+
*/
|
|
319
|
+
scheduleWeek: number;
|
|
320
|
+
/**
|
|
321
|
+
* Whether the policy is for production or development branches
|
|
322
|
+
*/
|
|
323
|
+
target: string;
|
|
324
|
+
}
|
|
325
|
+
export interface GetNekiConfigurationProfileStorage {
|
|
326
|
+
/**
|
|
327
|
+
* The maximum storage size in bytes for autoscaling
|
|
328
|
+
*/
|
|
329
|
+
maximumStorageBytes: number;
|
|
330
|
+
/**
|
|
331
|
+
* The minimum storage size in bytes
|
|
332
|
+
*/
|
|
333
|
+
minimumStorageBytes: number;
|
|
334
|
+
/**
|
|
335
|
+
* Whether storage autoscaling is enabled
|
|
336
|
+
*/
|
|
337
|
+
storageAutoscaling: boolean;
|
|
338
|
+
/**
|
|
339
|
+
* The storage IOPS
|
|
340
|
+
*/
|
|
341
|
+
storageIops: number;
|
|
342
|
+
/**
|
|
343
|
+
* The storage throughput in MiB/s
|
|
344
|
+
*/
|
|
345
|
+
storageThroughputMibs: number;
|
|
346
|
+
}
|
|
347
|
+
export interface GetNekiConfigurationProfilesData {
|
|
348
|
+
/**
|
|
349
|
+
* The name of the cluster size SKU
|
|
350
|
+
*/
|
|
351
|
+
clusterSize: string;
|
|
352
|
+
/**
|
|
353
|
+
* The ID of the configuration profile
|
|
354
|
+
*/
|
|
355
|
+
id: string;
|
|
356
|
+
/**
|
|
357
|
+
* Whether this is the default configuration profile
|
|
358
|
+
*/
|
|
359
|
+
isDefault: boolean;
|
|
360
|
+
/**
|
|
361
|
+
* The name of the configuration profile
|
|
362
|
+
*/
|
|
363
|
+
name: string;
|
|
364
|
+
/**
|
|
365
|
+
* The PostgreSQL major version used by the configuration profile
|
|
366
|
+
*/
|
|
367
|
+
postgresMajorVersion: number;
|
|
368
|
+
/**
|
|
369
|
+
* The PostgreSQL minor version used by the configuration profile
|
|
370
|
+
*/
|
|
371
|
+
postgresMinorVersion: number;
|
|
372
|
+
/**
|
|
373
|
+
* The number of read-only replicas for shards using this configuration profile
|
|
374
|
+
*/
|
|
375
|
+
readOnlyReplicas: number;
|
|
376
|
+
/**
|
|
377
|
+
* The number of replicas for shards using this configuration profile
|
|
378
|
+
*/
|
|
379
|
+
replicas: number;
|
|
380
|
+
/**
|
|
381
|
+
* The number of shards using this configuration profile
|
|
382
|
+
*/
|
|
383
|
+
shardCount: number;
|
|
384
|
+
/**
|
|
385
|
+
* The current state of the configuration profile
|
|
386
|
+
*/
|
|
387
|
+
state: string;
|
|
388
|
+
storage: outputs.GetNekiConfigurationProfilesDataStorage;
|
|
389
|
+
}
|
|
390
|
+
export interface GetNekiConfigurationProfilesDataStorage {
|
|
391
|
+
/**
|
|
392
|
+
* The maximum storage size in bytes for autoscaling
|
|
393
|
+
*/
|
|
394
|
+
maximumStorageBytes: number;
|
|
395
|
+
/**
|
|
396
|
+
* The minimum storage size in bytes
|
|
397
|
+
*/
|
|
398
|
+
minimumStorageBytes: number;
|
|
399
|
+
/**
|
|
400
|
+
* Whether storage autoscaling is enabled
|
|
401
|
+
*/
|
|
402
|
+
storageAutoscaling: boolean;
|
|
403
|
+
/**
|
|
404
|
+
* The storage IOPS
|
|
405
|
+
*/
|
|
406
|
+
storageIops: number;
|
|
407
|
+
/**
|
|
408
|
+
* The storage throughput in MiB/s
|
|
409
|
+
*/
|
|
410
|
+
storageThroughputMibs: number;
|
|
411
|
+
}
|
|
412
|
+
export interface GetNekiRolesData {
|
|
413
|
+
/**
|
|
414
|
+
* The database connection string
|
|
415
|
+
*/
|
|
416
|
+
accessHostUrl: string;
|
|
417
|
+
/**
|
|
418
|
+
* When the role expires
|
|
419
|
+
*/
|
|
420
|
+
expiresAt: string;
|
|
421
|
+
/**
|
|
422
|
+
* The ID of the role
|
|
423
|
+
*/
|
|
424
|
+
id: string;
|
|
425
|
+
/**
|
|
426
|
+
* Database roles these credentials inherit
|
|
427
|
+
*/
|
|
428
|
+
inheritedRoles: string[];
|
|
429
|
+
/**
|
|
430
|
+
* The name of the role
|
|
431
|
+
*/
|
|
432
|
+
name: string;
|
|
433
|
+
/**
|
|
434
|
+
* The database connection string for private connections
|
|
435
|
+
*/
|
|
436
|
+
privateAccessHostUrl: string;
|
|
437
|
+
/**
|
|
438
|
+
* The service name to set up private connectivity
|
|
439
|
+
*/
|
|
440
|
+
privateConnectionServiceName: string;
|
|
441
|
+
/**
|
|
442
|
+
* Number of seconds before the credentials expire
|
|
443
|
+
*/
|
|
444
|
+
ttl: number;
|
|
445
|
+
/**
|
|
446
|
+
* The database user name
|
|
447
|
+
*/
|
|
448
|
+
username: string;
|
|
449
|
+
/**
|
|
450
|
+
* Whether the role has the REPLICATION attribute
|
|
451
|
+
*/
|
|
452
|
+
withReplication: boolean;
|
|
453
|
+
}
|
|
454
|
+
export interface GetNekiRoutersData {
|
|
455
|
+
/**
|
|
456
|
+
* Whether the router scales horizontally within each cell
|
|
457
|
+
*/
|
|
458
|
+
autoscaling: boolean;
|
|
459
|
+
/**
|
|
460
|
+
* Whether this is the default router
|
|
461
|
+
*/
|
|
462
|
+
default: boolean;
|
|
463
|
+
/**
|
|
464
|
+
* The ID of the router
|
|
465
|
+
*/
|
|
466
|
+
id: string;
|
|
467
|
+
/**
|
|
468
|
+
* The maximum count of replicas in each cell when autoscaling
|
|
469
|
+
*/
|
|
470
|
+
maxReplicasPerCell: number;
|
|
471
|
+
/**
|
|
472
|
+
* The name of the router
|
|
473
|
+
*/
|
|
474
|
+
name: string;
|
|
475
|
+
/**
|
|
476
|
+
* The count of replicas in each cell
|
|
477
|
+
*/
|
|
478
|
+
replicasPerCell: number;
|
|
479
|
+
/**
|
|
480
|
+
* The router size SKU name
|
|
481
|
+
*/
|
|
482
|
+
routerSize: string;
|
|
483
|
+
/**
|
|
484
|
+
* The current state of the router
|
|
485
|
+
*/
|
|
486
|
+
state: string;
|
|
487
|
+
/**
|
|
488
|
+
* The target average CPU utilization percentage when autoscaling, one of 40, 50, 60 or 70
|
|
489
|
+
*/
|
|
490
|
+
targetCpuUtilization: number;
|
|
491
|
+
}
|
|
492
|
+
export interface GetNekiShardsData {
|
|
493
|
+
/**
|
|
494
|
+
* Whether the shard is the authoritative shard of the cluster
|
|
495
|
+
*/
|
|
496
|
+
authoritative: boolean;
|
|
497
|
+
/**
|
|
498
|
+
* The name of the configuration profile
|
|
499
|
+
*/
|
|
500
|
+
configurationProfile: string;
|
|
501
|
+
/**
|
|
502
|
+
* The display name of the shard
|
|
503
|
+
*/
|
|
504
|
+
displayName: string;
|
|
505
|
+
/**
|
|
506
|
+
* The ID of the shard
|
|
507
|
+
*/
|
|
508
|
+
id: string;
|
|
509
|
+
/**
|
|
510
|
+
* Whether the shard has been created on the cluster
|
|
511
|
+
*/
|
|
512
|
+
ready: boolean;
|
|
513
|
+
}
|
|
514
|
+
export interface GetOrganizationsData {
|
|
515
|
+
/**
|
|
516
|
+
* Whether or not LLM-powered features are enabled for the organization
|
|
517
|
+
*/
|
|
518
|
+
allowLlmUsage: boolean;
|
|
519
|
+
/**
|
|
520
|
+
* The billing email of the organization
|
|
521
|
+
*/
|
|
522
|
+
billingEmail: string;
|
|
523
|
+
/**
|
|
524
|
+
* When the organization was created
|
|
525
|
+
*/
|
|
526
|
+
createdAt: string;
|
|
527
|
+
/**
|
|
528
|
+
* The number of databases in the organization
|
|
529
|
+
*/
|
|
530
|
+
databaseCount: number;
|
|
531
|
+
/**
|
|
532
|
+
* Features that can be enabled on the organization
|
|
533
|
+
*/
|
|
534
|
+
features: {
|
|
535
|
+
[key: string]: string;
|
|
536
|
+
};
|
|
537
|
+
/**
|
|
538
|
+
* Whether or not the organization has a payment method on file
|
|
539
|
+
*/
|
|
540
|
+
hasCard: boolean;
|
|
541
|
+
/**
|
|
542
|
+
* Whether or not the organization has past due billing invoices.
|
|
543
|
+
*/
|
|
544
|
+
hasPastDueInvoices: boolean;
|
|
545
|
+
/**
|
|
546
|
+
* The ID for the organization
|
|
547
|
+
*/
|
|
548
|
+
id: string;
|
|
549
|
+
/**
|
|
550
|
+
* Whether or not the IdP provider is be responsible for managing roles in PlanetScale
|
|
551
|
+
*/
|
|
552
|
+
idpManagedRoles: boolean;
|
|
553
|
+
/**
|
|
554
|
+
* The expected monthly budget for the organization
|
|
555
|
+
*/
|
|
556
|
+
invoiceBudgetAmount: string;
|
|
557
|
+
/**
|
|
558
|
+
* The keyspace shard limit for the organization
|
|
559
|
+
*/
|
|
560
|
+
keyspaceShardLimit: number;
|
|
561
|
+
/**
|
|
562
|
+
* Whether or not LLM usage is blocked for the organization. When true, LLM-powered features are disabled and can't be enabled
|
|
563
|
+
*/
|
|
564
|
+
llmUsageBlocked: boolean;
|
|
565
|
+
/**
|
|
566
|
+
* Whether or not the organization has managed tenancy enabled
|
|
567
|
+
*/
|
|
568
|
+
managedTenancy: boolean;
|
|
569
|
+
/**
|
|
570
|
+
* The query access level MCP clients can be granted for the organization (none, read_only, or read_write)
|
|
571
|
+
*/
|
|
572
|
+
mcpAccessLevel: string;
|
|
573
|
+
/**
|
|
574
|
+
* The name of the organization
|
|
575
|
+
*/
|
|
576
|
+
name: string;
|
|
577
|
+
/**
|
|
578
|
+
* The Neki router replica limit per cell for the organization
|
|
579
|
+
*/
|
|
580
|
+
nekiRouterReplicasPerCellLimit: number;
|
|
581
|
+
/**
|
|
582
|
+
* Whether or not the organization requires payment information
|
|
583
|
+
*/
|
|
584
|
+
paymentInfoRequired: boolean;
|
|
585
|
+
/**
|
|
586
|
+
* The billing plan of the organization
|
|
587
|
+
*/
|
|
588
|
+
plan: string;
|
|
589
|
+
/**
|
|
590
|
+
* Whether or not the organization has single tenancy enabled
|
|
591
|
+
*/
|
|
592
|
+
singleTenancy: boolean;
|
|
593
|
+
/**
|
|
594
|
+
* Whether or not SSO is enabled on the organization
|
|
595
|
+
*/
|
|
596
|
+
sso: boolean;
|
|
597
|
+
/**
|
|
598
|
+
* Whether or not the organization uses an SSO directory
|
|
599
|
+
*/
|
|
600
|
+
ssoDirectory: boolean;
|
|
601
|
+
/**
|
|
602
|
+
* The URL of the organization's SSO portal.
|
|
603
|
+
*/
|
|
604
|
+
ssoPortalUrl: string;
|
|
605
|
+
/**
|
|
606
|
+
* When the organization was last updated
|
|
607
|
+
*/
|
|
608
|
+
updatedAt: string;
|
|
609
|
+
/**
|
|
610
|
+
* Whether or not the organization's billing information is valid
|
|
611
|
+
*/
|
|
612
|
+
validBillingInfo: boolean;
|
|
613
|
+
}
|
|
614
|
+
export interface GetPostgresBackupPoliciesData {
|
|
615
|
+
/**
|
|
616
|
+
* The display name of the backup policy
|
|
617
|
+
*/
|
|
618
|
+
displayName: string;
|
|
619
|
+
/**
|
|
620
|
+
* The unit for the frequency of the backup policy
|
|
621
|
+
*/
|
|
622
|
+
frequencyUnit: string;
|
|
623
|
+
/**
|
|
624
|
+
* A number value for the frequency of the backup policy
|
|
625
|
+
*/
|
|
626
|
+
frequencyValue: number;
|
|
627
|
+
/**
|
|
628
|
+
* The ID of the backup policy
|
|
629
|
+
*/
|
|
630
|
+
id: string;
|
|
631
|
+
/**
|
|
632
|
+
* The name of the backup policy
|
|
633
|
+
*/
|
|
634
|
+
name: string;
|
|
635
|
+
/**
|
|
636
|
+
* The unit for the retention period of the backup policy
|
|
637
|
+
*/
|
|
638
|
+
retentionUnit: string;
|
|
639
|
+
/**
|
|
640
|
+
* A number value for the retention period of the backup policy
|
|
641
|
+
*/
|
|
642
|
+
retentionValue: number;
|
|
643
|
+
/**
|
|
644
|
+
* Day of the week that the backup is scheduled. 0 is Sunday, 6 is Saturday
|
|
645
|
+
*/
|
|
646
|
+
scheduleDay: number;
|
|
647
|
+
/**
|
|
648
|
+
* The time of day that the backup is scheduled, in HH:MM format
|
|
649
|
+
*/
|
|
650
|
+
scheduleTime: string;
|
|
651
|
+
/**
|
|
652
|
+
* Week of the month that the backup is scheduled. 0 is the first week, 3 is the fourth week
|
|
653
|
+
*/
|
|
654
|
+
scheduleWeek: number;
|
|
655
|
+
/**
|
|
656
|
+
* Whether the policy is for production or development branches
|
|
657
|
+
*/
|
|
658
|
+
target: string;
|
|
659
|
+
}
|
|
660
|
+
export interface GetPostgresBouncerActor {
|
|
661
|
+
/**
|
|
662
|
+
* The ID of the actor
|
|
663
|
+
*/
|
|
664
|
+
id: string;
|
|
665
|
+
}
|
|
666
|
+
export interface GetPostgresBouncersData {
|
|
667
|
+
actor: outputs.GetPostgresBouncersDataActor;
|
|
668
|
+
/**
|
|
669
|
+
* The bouncer size, e.g. `PGB_5`, `PGB_10`, `PGB_20`, `PGB_40`, `PGB_80`, or `PGB_160`. Defaults to `PGB_5`.
|
|
670
|
+
*/
|
|
671
|
+
bouncerSize: string;
|
|
672
|
+
/**
|
|
673
|
+
* The ID of the bouncer
|
|
674
|
+
*/
|
|
675
|
+
id: string;
|
|
676
|
+
/**
|
|
677
|
+
* The name of the bouncer
|
|
678
|
+
*/
|
|
679
|
+
name: string;
|
|
680
|
+
/**
|
|
681
|
+
* PgBouncer parameter overrides, nested by namespace, e.g. { pgbouncer = {<span pulumi-lang-nodejs=" defaultPoolSize " pulumi-lang-dotnet=" DefaultPoolSize " pulumi-lang-go=" defaultPoolSize " pulumi-lang-python=" default_pool_size " pulumi-lang-yaml=" defaultPoolSize " pulumi-lang-java=" defaultPoolSize " pulumi-lang-hcl=" default_pool_size "> defaultPoolSize </span>= "100" } }. Omitted parameters are reset to their defaults.
|
|
682
|
+
*/
|
|
683
|
+
parameters: {
|
|
684
|
+
[key: string]: {
|
|
685
|
+
[key: string]: string;
|
|
686
|
+
};
|
|
687
|
+
};
|
|
688
|
+
/**
|
|
689
|
+
* The count of replicas in each cell
|
|
690
|
+
*/
|
|
691
|
+
replicasPerCell: number;
|
|
692
|
+
/**
|
|
693
|
+
* The instance type the bouncer targets
|
|
694
|
+
*/
|
|
695
|
+
target: string;
|
|
696
|
+
}
|
|
697
|
+
export interface GetPostgresBouncersDataActor {
|
|
698
|
+
/**
|
|
699
|
+
* The ID of the actor
|
|
700
|
+
*/
|
|
701
|
+
id: string;
|
|
702
|
+
}
|
|
703
|
+
export interface GetPostgresBranchActor {
|
|
704
|
+
/**
|
|
705
|
+
* The ID of the actor
|
|
706
|
+
*/
|
|
707
|
+
id: string;
|
|
708
|
+
}
|
|
709
|
+
export interface GetPostgresBranchBackupActor {
|
|
710
|
+
/**
|
|
711
|
+
* The ID of the actor
|
|
712
|
+
*/
|
|
713
|
+
id: string;
|
|
714
|
+
}
|
|
715
|
+
export interface GetPostgresBranchBackupBackupPolicy {
|
|
716
|
+
/**
|
|
717
|
+
* The ID of the backup policy
|
|
718
|
+
*/
|
|
719
|
+
id: string;
|
|
720
|
+
}
|
|
721
|
+
export interface GetPostgresBranchBackupDatabaseBranch {
|
|
722
|
+
/**
|
|
723
|
+
* The ID for the resource
|
|
724
|
+
*/
|
|
725
|
+
id: string;
|
|
726
|
+
/**
|
|
727
|
+
* The name for the resource
|
|
728
|
+
*/
|
|
729
|
+
name: string;
|
|
730
|
+
}
|
|
731
|
+
export interface GetPostgresBranchBackupsData {
|
|
732
|
+
actor: outputs.GetPostgresBranchBackupsDataActor;
|
|
733
|
+
backupPolicy: outputs.GetPostgresBranchBackupsDataBackupPolicy;
|
|
734
|
+
/**
|
|
735
|
+
* When the backup completed
|
|
736
|
+
*/
|
|
737
|
+
completedAt: string;
|
|
738
|
+
databaseBranch: outputs.GetPostgresBranchBackupsDataDatabaseBranch;
|
|
739
|
+
/**
|
|
740
|
+
* When the backup was deleted
|
|
741
|
+
*/
|
|
742
|
+
deletedAt: string;
|
|
743
|
+
/**
|
|
744
|
+
* The estimated storage cost of the backup
|
|
745
|
+
*/
|
|
746
|
+
estimatedStorageCost: number;
|
|
747
|
+
/**
|
|
748
|
+
* When the backup expires
|
|
749
|
+
*/
|
|
750
|
+
expiresAt: string;
|
|
751
|
+
/**
|
|
752
|
+
* The ID of the backup
|
|
753
|
+
*/
|
|
754
|
+
id: string;
|
|
755
|
+
/**
|
|
756
|
+
* The name of the backup
|
|
757
|
+
*/
|
|
758
|
+
name: string;
|
|
759
|
+
/**
|
|
760
|
+
* Whether or not the backup is protected from deletion
|
|
761
|
+
*/
|
|
762
|
+
protected: boolean;
|
|
763
|
+
/**
|
|
764
|
+
* Size of the PVC used for the backup
|
|
765
|
+
*/
|
|
766
|
+
pvcSize: number;
|
|
767
|
+
/**
|
|
768
|
+
* The size of the backup in bytes
|
|
769
|
+
*/
|
|
770
|
+
size: number;
|
|
771
|
+
/**
|
|
772
|
+
* When the backup started
|
|
773
|
+
*/
|
|
774
|
+
startedAt: string;
|
|
775
|
+
/**
|
|
776
|
+
* The current state of the backup
|
|
777
|
+
*/
|
|
778
|
+
state: string;
|
|
779
|
+
/**
|
|
780
|
+
* The uncompressed (logical) size of the backup in bytes
|
|
781
|
+
*/
|
|
782
|
+
uncompressedSize: number;
|
|
783
|
+
}
|
|
784
|
+
export interface GetPostgresBranchBackupsDataActor {
|
|
785
|
+
/**
|
|
786
|
+
* The ID of the actor
|
|
787
|
+
*/
|
|
788
|
+
id: string;
|
|
789
|
+
}
|
|
790
|
+
export interface GetPostgresBranchBackupsDataBackupPolicy {
|
|
791
|
+
/**
|
|
792
|
+
* The ID of the backup policy
|
|
793
|
+
*/
|
|
794
|
+
id: string;
|
|
795
|
+
}
|
|
796
|
+
export interface GetPostgresBranchBackupsDataDatabaseBranch {
|
|
797
|
+
/**
|
|
798
|
+
* The ID for the resource
|
|
799
|
+
*/
|
|
800
|
+
id: string;
|
|
801
|
+
/**
|
|
802
|
+
* The name for the resource
|
|
803
|
+
*/
|
|
804
|
+
name: string;
|
|
805
|
+
}
|
|
806
|
+
export interface GetPostgresBranchRegionData {
|
|
807
|
+
/**
|
|
808
|
+
* The ID of the region
|
|
809
|
+
*/
|
|
810
|
+
id: string;
|
|
811
|
+
/**
|
|
812
|
+
* Whether the region supports MySQL/Vitess databases
|
|
813
|
+
*/
|
|
814
|
+
mysqlSupported: boolean;
|
|
815
|
+
/**
|
|
816
|
+
* Whether the region supports PostgreSQL databases
|
|
817
|
+
*/
|
|
818
|
+
postgresqlSupported: boolean;
|
|
819
|
+
}
|
|
820
|
+
export interface GetPostgresBranchRoleActorData {
|
|
821
|
+
/**
|
|
822
|
+
* The URL of the actor's avatar
|
|
823
|
+
*/
|
|
824
|
+
avatarUrl: string;
|
|
825
|
+
/**
|
|
826
|
+
* The name of the actor
|
|
827
|
+
*/
|
|
828
|
+
displayName: string;
|
|
829
|
+
/**
|
|
830
|
+
* The ID of the actor
|
|
831
|
+
*/
|
|
832
|
+
id: string;
|
|
833
|
+
}
|
|
834
|
+
export interface GetPostgresBranchRoleBranchData {
|
|
835
|
+
/**
|
|
836
|
+
* When the resource was deleted, if deleted
|
|
837
|
+
*/
|
|
838
|
+
deletedAt: string;
|
|
839
|
+
/**
|
|
840
|
+
* The ID for the resource
|
|
841
|
+
*/
|
|
842
|
+
id: string;
|
|
843
|
+
/**
|
|
844
|
+
* The name for the resource
|
|
845
|
+
*/
|
|
846
|
+
name: string;
|
|
847
|
+
}
|
|
848
|
+
export interface GetPostgresBranchRoleQuerySafetySettings {
|
|
849
|
+
/**
|
|
850
|
+
* Require WHERE clause on DELETE statements
|
|
851
|
+
*/
|
|
852
|
+
requireWhereOnDelete: string;
|
|
853
|
+
/**
|
|
854
|
+
* Require WHERE clause on UPDATE statements
|
|
855
|
+
*/
|
|
856
|
+
requireWhereOnUpdate: string;
|
|
857
|
+
}
|
|
858
|
+
export interface GetPostgresBranchRolesData {
|
|
859
|
+
/**
|
|
860
|
+
* The database connection string
|
|
861
|
+
*/
|
|
862
|
+
accessHostUrl: string;
|
|
863
|
+
actor: outputs.GetPostgresBranchRolesDataActor;
|
|
864
|
+
/**
|
|
865
|
+
* The base username without branch routing suffix
|
|
866
|
+
*/
|
|
867
|
+
baseUsername: string;
|
|
868
|
+
branch: outputs.GetPostgresBranchRolesDataBranch;
|
|
869
|
+
/**
|
|
870
|
+
* When the role was created
|
|
871
|
+
*/
|
|
872
|
+
createdAt: string;
|
|
873
|
+
/**
|
|
874
|
+
* The database name
|
|
875
|
+
*/
|
|
876
|
+
databaseName: string;
|
|
877
|
+
/**
|
|
878
|
+
* Whether the role is the default postgres user
|
|
879
|
+
*/
|
|
880
|
+
default: boolean;
|
|
881
|
+
/**
|
|
882
|
+
* When the role was deleted
|
|
883
|
+
*/
|
|
884
|
+
deletedAt: string;
|
|
885
|
+
/**
|
|
886
|
+
* When the role was disabled
|
|
887
|
+
*/
|
|
888
|
+
disabledAt: string;
|
|
889
|
+
/**
|
|
890
|
+
* Error message available when dropping the role fails
|
|
891
|
+
*/
|
|
892
|
+
dropFailed: string;
|
|
893
|
+
/**
|
|
894
|
+
* When the role was dropped
|
|
895
|
+
*/
|
|
896
|
+
droppedAt: string;
|
|
897
|
+
/**
|
|
898
|
+
* True if the credentials are expired
|
|
899
|
+
*/
|
|
900
|
+
expired: boolean;
|
|
901
|
+
/**
|
|
902
|
+
* When the role expires
|
|
903
|
+
*/
|
|
904
|
+
expiresAt: string;
|
|
905
|
+
/**
|
|
906
|
+
* The ID of the role
|
|
907
|
+
*/
|
|
908
|
+
id: string;
|
|
909
|
+
/**
|
|
910
|
+
* Database roles these credentials inherit
|
|
911
|
+
*/
|
|
912
|
+
inheritedRoles: string[];
|
|
913
|
+
/**
|
|
914
|
+
* The name of the role
|
|
915
|
+
*/
|
|
916
|
+
name: string;
|
|
917
|
+
/**
|
|
918
|
+
* The plaintext password, available only after create
|
|
919
|
+
*/
|
|
920
|
+
password: string;
|
|
921
|
+
/**
|
|
922
|
+
* The database connection string for private connections
|
|
923
|
+
*/
|
|
924
|
+
privateAccessHostUrl: string;
|
|
925
|
+
/**
|
|
926
|
+
* The service name to set up private connectivity
|
|
927
|
+
*/
|
|
928
|
+
privateConnectionServiceName: string;
|
|
929
|
+
querySafetySettings: outputs.GetPostgresBranchRolesDataQuerySafetySettings;
|
|
930
|
+
/**
|
|
931
|
+
* Number of seconds before the credentials expire
|
|
932
|
+
*/
|
|
933
|
+
ttl: number;
|
|
934
|
+
/**
|
|
935
|
+
* When the role was updated
|
|
936
|
+
*/
|
|
937
|
+
updatedAt: string;
|
|
938
|
+
/**
|
|
939
|
+
* The database user name
|
|
940
|
+
*/
|
|
941
|
+
username: string;
|
|
942
|
+
/**
|
|
943
|
+
* Whether the role has the REPLICATION attribute
|
|
944
|
+
*/
|
|
945
|
+
withReplication: boolean;
|
|
946
|
+
}
|
|
947
|
+
export interface GetPostgresBranchRolesDataActor {
|
|
948
|
+
/**
|
|
949
|
+
* The URL of the actor's avatar
|
|
950
|
+
*/
|
|
951
|
+
avatarUrl: string;
|
|
952
|
+
/**
|
|
953
|
+
* The name of the actor
|
|
954
|
+
*/
|
|
955
|
+
displayName: string;
|
|
956
|
+
/**
|
|
957
|
+
* The ID of the actor
|
|
958
|
+
*/
|
|
959
|
+
id: string;
|
|
960
|
+
}
|
|
961
|
+
export interface GetPostgresBranchRolesDataBranch {
|
|
962
|
+
/**
|
|
963
|
+
* When the resource was created
|
|
964
|
+
*/
|
|
965
|
+
createdAt: string;
|
|
966
|
+
/**
|
|
967
|
+
* When the resource was deleted, if deleted
|
|
968
|
+
*/
|
|
969
|
+
deletedAt: string;
|
|
970
|
+
/**
|
|
971
|
+
* The ID for the resource
|
|
972
|
+
*/
|
|
973
|
+
id: string;
|
|
974
|
+
/**
|
|
975
|
+
* The name for the resource
|
|
976
|
+
*/
|
|
977
|
+
name: string;
|
|
978
|
+
/**
|
|
979
|
+
* When the resource was last updated
|
|
980
|
+
*/
|
|
981
|
+
updatedAt: string;
|
|
982
|
+
}
|
|
983
|
+
export interface GetPostgresBranchRolesDataQuerySafetySettings {
|
|
984
|
+
/**
|
|
985
|
+
* Require WHERE clause on DELETE statements
|
|
986
|
+
*/
|
|
987
|
+
requireWhereOnDelete: string;
|
|
988
|
+
/**
|
|
989
|
+
* Require WHERE clause on UPDATE statements
|
|
990
|
+
*/
|
|
991
|
+
requireWhereOnUpdate: string;
|
|
992
|
+
}
|
|
993
|
+
export interface GetPostgresBranchStorage {
|
|
994
|
+
/**
|
|
995
|
+
* The maximum storage size in bytes for autoscaling.
|
|
996
|
+
*/
|
|
997
|
+
maximumStorageBytes: number;
|
|
998
|
+
/**
|
|
999
|
+
* The minimum storage size in bytes.
|
|
1000
|
+
*/
|
|
1001
|
+
minimumStorageBytes: number;
|
|
1002
|
+
/**
|
|
1003
|
+
* Whether storage autoscaling is enabled.
|
|
1004
|
+
*/
|
|
1005
|
+
storageAutoscaling: boolean;
|
|
1006
|
+
/**
|
|
1007
|
+
* The storage IOPS.
|
|
1008
|
+
*/
|
|
1009
|
+
storageIops: number;
|
|
1010
|
+
/**
|
|
1011
|
+
* The storage throughput in MiB/s.
|
|
1012
|
+
*/
|
|
1013
|
+
storageThroughputMibs: number;
|
|
1014
|
+
}
|
|
1015
|
+
export interface GetPostgresDedicatedReadReplicasData {
|
|
1016
|
+
/**
|
|
1017
|
+
* The database connection host for the dedicated read replica.
|
|
1018
|
+
*/
|
|
1019
|
+
accessHostUrl: string;
|
|
1020
|
+
/**
|
|
1021
|
+
* The cluster size SKU, e.g. `PS_10_AWS_ARM`. Defaults to the primary's cluster size.
|
|
1022
|
+
*/
|
|
1023
|
+
clusterSize: string;
|
|
1024
|
+
/**
|
|
1025
|
+
* The name of the dedicated read replica.
|
|
1026
|
+
*/
|
|
1027
|
+
name: string;
|
|
1028
|
+
/**
|
|
1029
|
+
* The private database connection host for the dedicated read replica.
|
|
1030
|
+
*/
|
|
1031
|
+
privateAccessHostUrl: string;
|
|
1032
|
+
/**
|
|
1033
|
+
* The service name to set up private connectivity for the dedicated read replica.
|
|
1034
|
+
*/
|
|
1035
|
+
privateConnectionServiceName: string;
|
|
1036
|
+
/**
|
|
1037
|
+
* The number of instances serving reads in this dedicated read replica.
|
|
1038
|
+
*/
|
|
1039
|
+
replicas: number;
|
|
1040
|
+
}
|
|
1041
|
+
export interface GetPostgresIpRestrictionActor {
|
|
1042
|
+
/**
|
|
1043
|
+
* The ID of the actor
|
|
1044
|
+
*/
|
|
1045
|
+
id: string;
|
|
1046
|
+
}
|
|
1047
|
+
export interface GetPostgresIpRestrictionsData {
|
|
1048
|
+
actor: outputs.GetPostgresIpRestrictionsDataActor;
|
|
1049
|
+
/**
|
|
1050
|
+
* The IPv4 ranges allowed to connect, in CIDR notation.
|
|
1051
|
+
*/
|
|
1052
|
+
cidrs: string[];
|
|
1053
|
+
/**
|
|
1054
|
+
* A description of the entry.
|
|
1055
|
+
*/
|
|
1056
|
+
description: string;
|
|
1057
|
+
/**
|
|
1058
|
+
* The ID of the IP restriction entry
|
|
1059
|
+
*/
|
|
1060
|
+
id: string;
|
|
1061
|
+
/**
|
|
1062
|
+
* The Postgres role the entry applies to. Empty when it applies to all roles.
|
|
1063
|
+
*/
|
|
1064
|
+
role: string;
|
|
1065
|
+
/**
|
|
1066
|
+
* The Postgres schema the entry applies to. Empty when it applies to all schemas.
|
|
1067
|
+
*/
|
|
1068
|
+
schema: string;
|
|
1069
|
+
}
|
|
1070
|
+
export interface GetPostgresIpRestrictionsDataActor {
|
|
1071
|
+
/**
|
|
1072
|
+
* The ID of the actor
|
|
1073
|
+
*/
|
|
1074
|
+
id: string;
|
|
1075
|
+
}
|
|
1076
|
+
export interface GetPostgresReadOnlyReplicasData {
|
|
1077
|
+
/**
|
|
1078
|
+
* The database connection host for the dedicated read replica.
|
|
1079
|
+
*/
|
|
1080
|
+
accessHostUrl: string;
|
|
1081
|
+
/**
|
|
1082
|
+
* The cluster size SKU, e.g. `PS_10_AWS_ARM`. Defaults to the primary's cluster size.
|
|
1083
|
+
*/
|
|
1084
|
+
clusterSize: string;
|
|
1085
|
+
/**
|
|
1086
|
+
* The name of the dedicated read replica.
|
|
1087
|
+
*/
|
|
1088
|
+
name: string;
|
|
1089
|
+
/**
|
|
1090
|
+
* The private database connection host for the dedicated read replica.
|
|
1091
|
+
*/
|
|
1092
|
+
privateAccessHostUrl: string;
|
|
1093
|
+
/**
|
|
1094
|
+
* The service name to set up private connectivity for the dedicated read replica.
|
|
1095
|
+
*/
|
|
1096
|
+
privateConnectionServiceName: string;
|
|
1097
|
+
/**
|
|
1098
|
+
* The number of instances serving reads in this dedicated read replica.
|
|
1099
|
+
*/
|
|
1100
|
+
replicas: number;
|
|
1101
|
+
}
|
|
1102
|
+
export interface GetPostgresRedactedBranchRoleActorData {
|
|
1103
|
+
/**
|
|
1104
|
+
* The URL of the actor's avatar
|
|
1105
|
+
*/
|
|
1106
|
+
avatarUrl: string;
|
|
1107
|
+
/**
|
|
1108
|
+
* The name of the actor
|
|
1109
|
+
*/
|
|
1110
|
+
displayName: string;
|
|
1111
|
+
/**
|
|
1112
|
+
* The ID of the actor
|
|
1113
|
+
*/
|
|
1114
|
+
id: string;
|
|
1115
|
+
}
|
|
1116
|
+
export interface GetPostgresRedactedBranchRoleBranchData {
|
|
1117
|
+
/**
|
|
1118
|
+
* When the resource was deleted, if deleted
|
|
1119
|
+
*/
|
|
1120
|
+
deletedAt: string;
|
|
1121
|
+
/**
|
|
1122
|
+
* The ID for the resource
|
|
1123
|
+
*/
|
|
1124
|
+
id: string;
|
|
1125
|
+
/**
|
|
1126
|
+
* The name for the resource
|
|
1127
|
+
*/
|
|
1128
|
+
name: string;
|
|
1129
|
+
}
|
|
1130
|
+
export interface GetPostgresRedactedBranchRoleQuerySafetySettings {
|
|
1131
|
+
/**
|
|
1132
|
+
* Require WHERE clause on DELETE statements
|
|
1133
|
+
*/
|
|
1134
|
+
requireWhereOnDelete: string;
|
|
1135
|
+
/**
|
|
1136
|
+
* Require WHERE clause on UPDATE statements
|
|
1137
|
+
*/
|
|
1138
|
+
requireWhereOnUpdate: string;
|
|
1139
|
+
}
|
|
1140
|
+
export interface GetVitessBackupPoliciesData {
|
|
1141
|
+
/**
|
|
1142
|
+
* The display name of the backup policy
|
|
1143
|
+
*/
|
|
1144
|
+
displayName: string;
|
|
1145
|
+
/**
|
|
1146
|
+
* The unit for the frequency of the backup policy
|
|
1147
|
+
*/
|
|
1148
|
+
frequencyUnit: string;
|
|
1149
|
+
/**
|
|
1150
|
+
* A number value for the frequency of the backup policy
|
|
1151
|
+
*/
|
|
1152
|
+
frequencyValue: number;
|
|
1153
|
+
/**
|
|
1154
|
+
* The ID of the backup policy
|
|
1155
|
+
*/
|
|
1156
|
+
id: string;
|
|
1157
|
+
/**
|
|
1158
|
+
* The name of the backup policy
|
|
1159
|
+
*/
|
|
1160
|
+
name: string;
|
|
1161
|
+
/**
|
|
1162
|
+
* The unit for the retention period of the backup policy
|
|
1163
|
+
*/
|
|
1164
|
+
retentionUnit: string;
|
|
1165
|
+
/**
|
|
1166
|
+
* A number value for the retention period of the backup policy
|
|
1167
|
+
*/
|
|
1168
|
+
retentionValue: number;
|
|
1169
|
+
/**
|
|
1170
|
+
* Day of the week that the backup is scheduled. 0 is Sunday, 6 is Saturday
|
|
1171
|
+
*/
|
|
1172
|
+
scheduleDay: number;
|
|
1173
|
+
/**
|
|
1174
|
+
* The time of day that the backup is scheduled, in HH:MM format
|
|
1175
|
+
*/
|
|
1176
|
+
scheduleTime: string;
|
|
1177
|
+
/**
|
|
1178
|
+
* Week of the month that the backup is scheduled. 0 is the first week, 3 is the fourth week
|
|
1179
|
+
*/
|
|
1180
|
+
scheduleWeek: number;
|
|
1181
|
+
/**
|
|
1182
|
+
* Whether the policy is for production or development branches
|
|
1183
|
+
*/
|
|
1184
|
+
target: string;
|
|
1185
|
+
}
|
|
1186
|
+
export interface GetVitessBranchActor {
|
|
1187
|
+
/**
|
|
1188
|
+
* The ID of the actor
|
|
1189
|
+
*/
|
|
1190
|
+
id: string;
|
|
1191
|
+
}
|
|
1192
|
+
export interface GetVitessBranchBackupActor {
|
|
1193
|
+
/**
|
|
1194
|
+
* The ID of the actor
|
|
1195
|
+
*/
|
|
1196
|
+
id: string;
|
|
1197
|
+
}
|
|
1198
|
+
export interface GetVitessBranchBackupBackupPolicy {
|
|
1199
|
+
/**
|
|
1200
|
+
* The ID of the backup policy
|
|
1201
|
+
*/
|
|
1202
|
+
id: string;
|
|
1203
|
+
}
|
|
1204
|
+
export interface GetVitessBranchBackupDatabaseBranch {
|
|
1205
|
+
/**
|
|
1206
|
+
* The ID for the resource
|
|
1207
|
+
*/
|
|
1208
|
+
id: string;
|
|
1209
|
+
/**
|
|
1210
|
+
* The name for the resource
|
|
1211
|
+
*/
|
|
1212
|
+
name: string;
|
|
1213
|
+
}
|
|
1214
|
+
export interface GetVitessBranchBackupsData {
|
|
1215
|
+
actor: outputs.GetVitessBranchBackupsDataActor;
|
|
1216
|
+
backupPolicy: outputs.GetVitessBranchBackupsDataBackupPolicy;
|
|
1217
|
+
/**
|
|
1218
|
+
* When the backup completed
|
|
1219
|
+
*/
|
|
1220
|
+
completedAt: string;
|
|
1221
|
+
databaseBranch: outputs.GetVitessBranchBackupsDataDatabaseBranch;
|
|
1222
|
+
/**
|
|
1223
|
+
* When the backup was deleted
|
|
1224
|
+
*/
|
|
1225
|
+
deletedAt: string;
|
|
1226
|
+
/**
|
|
1227
|
+
* The estimated storage cost of the backup
|
|
1228
|
+
*/
|
|
1229
|
+
estimatedStorageCost: number;
|
|
1230
|
+
/**
|
|
1231
|
+
* When the backup expires
|
|
1232
|
+
*/
|
|
1233
|
+
expiresAt: string;
|
|
1234
|
+
/**
|
|
1235
|
+
* The ID of the backup
|
|
1236
|
+
*/
|
|
1237
|
+
id: string;
|
|
1238
|
+
/**
|
|
1239
|
+
* The name of the backup
|
|
1240
|
+
*/
|
|
1241
|
+
name: string;
|
|
1242
|
+
/**
|
|
1243
|
+
* Whether or not the backup is protected from deletion
|
|
1244
|
+
*/
|
|
1245
|
+
protected: boolean;
|
|
1246
|
+
/**
|
|
1247
|
+
* Size of the PVC used for the backup
|
|
1248
|
+
*/
|
|
1249
|
+
pvcSize: number;
|
|
1250
|
+
/**
|
|
1251
|
+
* The size of the backup in bytes
|
|
1252
|
+
*/
|
|
1253
|
+
size: number;
|
|
1254
|
+
/**
|
|
1255
|
+
* When the backup started
|
|
1256
|
+
*/
|
|
1257
|
+
startedAt: string;
|
|
1258
|
+
/**
|
|
1259
|
+
* The current state of the backup
|
|
1260
|
+
*/
|
|
1261
|
+
state: string;
|
|
1262
|
+
/**
|
|
1263
|
+
* The uncompressed (logical) size of the backup in bytes
|
|
1264
|
+
*/
|
|
1265
|
+
uncompressedSize: number;
|
|
1266
|
+
}
|
|
1267
|
+
export interface GetVitessBranchBackupsDataActor {
|
|
1268
|
+
/**
|
|
1269
|
+
* The ID of the actor
|
|
1270
|
+
*/
|
|
1271
|
+
id: string;
|
|
1272
|
+
}
|
|
1273
|
+
export interface GetVitessBranchBackupsDataBackupPolicy {
|
|
1274
|
+
/**
|
|
1275
|
+
* The ID of the backup policy
|
|
1276
|
+
*/
|
|
1277
|
+
id: string;
|
|
1278
|
+
}
|
|
1279
|
+
export interface GetVitessBranchBackupsDataDatabaseBranch {
|
|
1280
|
+
/**
|
|
1281
|
+
* The ID for the resource
|
|
1282
|
+
*/
|
|
1283
|
+
id: string;
|
|
1284
|
+
/**
|
|
1285
|
+
* The name for the resource
|
|
1286
|
+
*/
|
|
1287
|
+
name: string;
|
|
1288
|
+
}
|
|
1289
|
+
export interface GetVitessBranchPasswordActor {
|
|
1290
|
+
/**
|
|
1291
|
+
* The URL of the actor's avatar
|
|
1292
|
+
*/
|
|
1293
|
+
avatarUrl: string;
|
|
1294
|
+
/**
|
|
1295
|
+
* The name of the actor
|
|
1296
|
+
*/
|
|
1297
|
+
displayName: string;
|
|
1298
|
+
/**
|
|
1299
|
+
* The ID of the actor
|
|
1300
|
+
*/
|
|
1301
|
+
id: string;
|
|
1302
|
+
}
|
|
1303
|
+
export interface GetVitessBranchPasswordDatabaseBranch {
|
|
1304
|
+
/**
|
|
1305
|
+
* The ID for the branch
|
|
1306
|
+
*/
|
|
1307
|
+
id: string;
|
|
1308
|
+
/**
|
|
1309
|
+
* The address of the MySQL provider for the branch
|
|
1310
|
+
*/
|
|
1311
|
+
mysqlEdgeAddress: string;
|
|
1312
|
+
/**
|
|
1313
|
+
* The name for the branch
|
|
1314
|
+
*/
|
|
1315
|
+
name: string;
|
|
1316
|
+
/**
|
|
1317
|
+
* True if private connectivity is enabled
|
|
1318
|
+
*/
|
|
1319
|
+
privateEdgeConnectivity: boolean;
|
|
1320
|
+
/**
|
|
1321
|
+
* Whether or not the branch is a production branch
|
|
1322
|
+
*/
|
|
1323
|
+
production: boolean;
|
|
1324
|
+
}
|
|
1325
|
+
export interface GetVitessBranchPasswordRegion {
|
|
1326
|
+
/**
|
|
1327
|
+
* True if the region is the default for new branch creation
|
|
1328
|
+
*/
|
|
1329
|
+
currentDefault: boolean;
|
|
1330
|
+
/**
|
|
1331
|
+
* Name of the region
|
|
1332
|
+
*/
|
|
1333
|
+
displayName: string;
|
|
1334
|
+
/**
|
|
1335
|
+
* Whether or not the region is currently active
|
|
1336
|
+
*/
|
|
1337
|
+
enabled: boolean;
|
|
1338
|
+
/**
|
|
1339
|
+
* The ID of the region
|
|
1340
|
+
*/
|
|
1341
|
+
id: string;
|
|
1342
|
+
/**
|
|
1343
|
+
* Location of the region
|
|
1344
|
+
*/
|
|
1345
|
+
location: string;
|
|
1346
|
+
/**
|
|
1347
|
+
* Whether the region supports MySQL/Vitess databases
|
|
1348
|
+
*/
|
|
1349
|
+
mysqlSupported: boolean;
|
|
1350
|
+
/**
|
|
1351
|
+
* Whether the region supports PostgreSQL databases
|
|
1352
|
+
*/
|
|
1353
|
+
postgresqlSupported: boolean;
|
|
1354
|
+
/**
|
|
1355
|
+
* Provider for the region (ex. AWS)
|
|
1356
|
+
*/
|
|
1357
|
+
provider: string;
|
|
1358
|
+
/**
|
|
1359
|
+
* Public IP addresses for the region
|
|
1360
|
+
*/
|
|
1361
|
+
publicIpAddresses: string[];
|
|
1362
|
+
/**
|
|
1363
|
+
* The slug of the region
|
|
1364
|
+
*/
|
|
1365
|
+
slug: string;
|
|
1366
|
+
}
|
|
1367
|
+
export interface GetVitessBranchPasswordsData {
|
|
1368
|
+
/**
|
|
1369
|
+
* The regional host URL
|
|
1370
|
+
*/
|
|
1371
|
+
accessHostRegionalUrl: string;
|
|
1372
|
+
/**
|
|
1373
|
+
* The read-only replica host URLs
|
|
1374
|
+
*/
|
|
1375
|
+
accessHostRegionalUrls: string[];
|
|
1376
|
+
/**
|
|
1377
|
+
* The host URL for the password
|
|
1378
|
+
*/
|
|
1379
|
+
accessHostUrl: string;
|
|
1380
|
+
actor: outputs.GetVitessBranchPasswordsDataActor;
|
|
1381
|
+
/**
|
|
1382
|
+
* List of IP addresses or CIDR ranges that can use this password
|
|
1383
|
+
*/
|
|
1384
|
+
cidrs: string[];
|
|
1385
|
+
/**
|
|
1386
|
+
* When the password was created
|
|
1387
|
+
*/
|
|
1388
|
+
createdAt: string;
|
|
1389
|
+
databaseBranch: outputs.GetVitessBranchPasswordsDataDatabaseBranch;
|
|
1390
|
+
/**
|
|
1391
|
+
* When the password was deleted
|
|
1392
|
+
*/
|
|
1393
|
+
deletedAt: string;
|
|
1394
|
+
/**
|
|
1395
|
+
* True if the credentials connect directly to a vtgate, bypassing load balancers
|
|
1396
|
+
*/
|
|
1397
|
+
directVtgate: boolean;
|
|
1398
|
+
/**
|
|
1399
|
+
* The list of hosts in each availability zone providing direct access to a vtgate
|
|
1400
|
+
*/
|
|
1401
|
+
directVtgateAddresses: string[];
|
|
1402
|
+
/**
|
|
1403
|
+
* True if the credentials are expired
|
|
1404
|
+
*/
|
|
1405
|
+
expired: boolean;
|
|
1406
|
+
/**
|
|
1407
|
+
* When the password will expire
|
|
1408
|
+
*/
|
|
1409
|
+
expiresAt: string;
|
|
1410
|
+
/**
|
|
1411
|
+
* The ID for the password
|
|
1412
|
+
*/
|
|
1413
|
+
id: string;
|
|
1414
|
+
/**
|
|
1415
|
+
* When the password was last used to execute a query
|
|
1416
|
+
*/
|
|
1417
|
+
lastUsedAt: string;
|
|
1418
|
+
/**
|
|
1419
|
+
* The display name for the password
|
|
1420
|
+
*/
|
|
1421
|
+
name: string;
|
|
1422
|
+
/**
|
|
1423
|
+
* The plaintext password. Null except in the response from the create endpoint.
|
|
1424
|
+
*/
|
|
1425
|
+
plainText: string;
|
|
1426
|
+
region: outputs.GetVitessBranchPasswordsDataRegion;
|
|
1427
|
+
/**
|
|
1428
|
+
* Whether or not the password can be renewed
|
|
1429
|
+
*/
|
|
1430
|
+
renewable: boolean;
|
|
1431
|
+
/**
|
|
1432
|
+
* Whether or not the password is for a read replica
|
|
1433
|
+
*/
|
|
1434
|
+
replica: boolean;
|
|
1435
|
+
/**
|
|
1436
|
+
* The role for the password
|
|
1437
|
+
*/
|
|
1438
|
+
role: string;
|
|
1439
|
+
/**
|
|
1440
|
+
* Time to live (in seconds) for the password. The password will be invalid when TTL has passed
|
|
1441
|
+
*/
|
|
1442
|
+
ttlSeconds: number;
|
|
1443
|
+
/**
|
|
1444
|
+
* The username for the password
|
|
1445
|
+
*/
|
|
1446
|
+
username: string;
|
|
1447
|
+
}
|
|
1448
|
+
export interface GetVitessBranchPasswordsDataActor {
|
|
1449
|
+
/**
|
|
1450
|
+
* The URL of the actor's avatar
|
|
1451
|
+
*/
|
|
1452
|
+
avatarUrl: string;
|
|
1453
|
+
/**
|
|
1454
|
+
* The name of the actor
|
|
1455
|
+
*/
|
|
1456
|
+
displayName: string;
|
|
1457
|
+
/**
|
|
1458
|
+
* The ID of the actor
|
|
1459
|
+
*/
|
|
1460
|
+
id: string;
|
|
1461
|
+
}
|
|
1462
|
+
export interface GetVitessBranchPasswordsDataDatabaseBranch {
|
|
1463
|
+
/**
|
|
1464
|
+
* The ID for the branch
|
|
1465
|
+
*/
|
|
1466
|
+
id: string;
|
|
1467
|
+
/**
|
|
1468
|
+
* The address of the MySQL provider for the branch
|
|
1469
|
+
*/
|
|
1470
|
+
mysqlEdgeAddress: string;
|
|
1471
|
+
/**
|
|
1472
|
+
* The name for the branch
|
|
1473
|
+
*/
|
|
1474
|
+
name: string;
|
|
1475
|
+
/**
|
|
1476
|
+
* True if private connectivity is enabled
|
|
1477
|
+
*/
|
|
1478
|
+
privateEdgeConnectivity: boolean;
|
|
1479
|
+
/**
|
|
1480
|
+
* Whether or not the branch is a production branch
|
|
1481
|
+
*/
|
|
1482
|
+
production: boolean;
|
|
1483
|
+
}
|
|
1484
|
+
export interface GetVitessBranchPasswordsDataRegion {
|
|
1485
|
+
/**
|
|
1486
|
+
* True if the region is the default for new branch creation
|
|
1487
|
+
*/
|
|
1488
|
+
currentDefault: boolean;
|
|
1489
|
+
/**
|
|
1490
|
+
* Name of the region
|
|
1491
|
+
*/
|
|
1492
|
+
displayName: string;
|
|
1493
|
+
/**
|
|
1494
|
+
* Whether or not the region is currently active
|
|
1495
|
+
*/
|
|
1496
|
+
enabled: boolean;
|
|
1497
|
+
/**
|
|
1498
|
+
* The ID of the region
|
|
1499
|
+
*/
|
|
1500
|
+
id: string;
|
|
1501
|
+
/**
|
|
1502
|
+
* Location of the region
|
|
1503
|
+
*/
|
|
1504
|
+
location: string;
|
|
1505
|
+
/**
|
|
1506
|
+
* Whether the region supports MySQL/Vitess databases
|
|
1507
|
+
*/
|
|
1508
|
+
mysqlSupported: boolean;
|
|
1509
|
+
/**
|
|
1510
|
+
* Whether the region supports PostgreSQL databases
|
|
1511
|
+
*/
|
|
1512
|
+
postgresqlSupported: boolean;
|
|
1513
|
+
/**
|
|
1514
|
+
* Provider for the region (ex. AWS)
|
|
1515
|
+
*/
|
|
1516
|
+
provider: string;
|
|
1517
|
+
/**
|
|
1518
|
+
* Public IP addresses for the region
|
|
1519
|
+
*/
|
|
1520
|
+
publicIpAddresses: string[];
|
|
1521
|
+
/**
|
|
1522
|
+
* The slug of the region
|
|
1523
|
+
*/
|
|
1524
|
+
slug: string;
|
|
1525
|
+
}
|
|
1526
|
+
export interface GetVitessBranchRegionData {
|
|
1527
|
+
/**
|
|
1528
|
+
* The ID of the region
|
|
1529
|
+
*/
|
|
1530
|
+
id: string;
|
|
1531
|
+
/**
|
|
1532
|
+
* Whether the region supports MySQL/Vitess databases
|
|
1533
|
+
*/
|
|
1534
|
+
mysqlSupported: boolean;
|
|
1535
|
+
/**
|
|
1536
|
+
* Whether the region supports PostgreSQL databases
|
|
1537
|
+
*/
|
|
1538
|
+
postgresqlSupported: boolean;
|
|
1539
|
+
}
|
|
1540
|
+
export interface GetVitessKeyspaceReplicationDurabilityConstraints {
|
|
1541
|
+
/**
|
|
1542
|
+
* The replication durability strategy
|
|
1543
|
+
*/
|
|
1544
|
+
strategy: string;
|
|
1545
|
+
}
|
|
1546
|
+
export interface GetVitessKeyspaceThrottler {
|
|
1547
|
+
/**
|
|
1548
|
+
* Whether the keyspace throttler is enabled
|
|
1549
|
+
*/
|
|
1550
|
+
enabled: boolean;
|
|
1551
|
+
/**
|
|
1552
|
+
* Replication lag in seconds that trips the throttler
|
|
1553
|
+
*/
|
|
1554
|
+
threshold: number;
|
|
1555
|
+
}
|
|
1556
|
+
export interface GetVitessKeyspaceVreplicationFlags {
|
|
1557
|
+
/**
|
|
1558
|
+
* Allow no blob binlog row image
|
|
1559
|
+
*/
|
|
1560
|
+
allowNoBlobBinlogRowImage: boolean;
|
|
1561
|
+
/**
|
|
1562
|
+
* Enable optimized inserts
|
|
1563
|
+
*/
|
|
1564
|
+
optimizeInserts: boolean;
|
|
1565
|
+
/**
|
|
1566
|
+
* Enable VPlayer batching
|
|
1567
|
+
*/
|
|
1568
|
+
vplayerBatching: boolean;
|
|
1569
|
+
}
|
|
1570
|
+
export interface GetVitessKeyspacesData {
|
|
1571
|
+
/**
|
|
1572
|
+
* The SKU representing the keyspace cluster size for display
|
|
1573
|
+
*/
|
|
1574
|
+
clusterDisplayName: string;
|
|
1575
|
+
/**
|
|
1576
|
+
* The database cluster size name (e.g., `PS_10`, `PS_80`). Updates in place via a keyspace resize.
|
|
1577
|
+
*/
|
|
1578
|
+
clusterSize: string;
|
|
1579
|
+
/**
|
|
1580
|
+
* Is the keyspace undergoing a config change
|
|
1581
|
+
*/
|
|
1582
|
+
configChangeInProgress: boolean;
|
|
1583
|
+
/**
|
|
1584
|
+
* When the keyspace was created
|
|
1585
|
+
*/
|
|
1586
|
+
createdAt: string;
|
|
1587
|
+
/**
|
|
1588
|
+
* The number of additional replicas beyond the included default. Updates in place via a keyspace resize.
|
|
1589
|
+
*/
|
|
1590
|
+
extraReplicas: number;
|
|
1591
|
+
/**
|
|
1592
|
+
* The ID of the keyspace
|
|
1593
|
+
*/
|
|
1594
|
+
id: string;
|
|
1595
|
+
/**
|
|
1596
|
+
* Is this keyspace used in an import
|
|
1597
|
+
*/
|
|
1598
|
+
imported: boolean;
|
|
1599
|
+
/**
|
|
1600
|
+
* True when this is the branch's default keyspace (usually created with the branch). Import that keyspace to manage its size or replicas.
|
|
1601
|
+
*/
|
|
1602
|
+
isDefault: boolean;
|
|
1603
|
+
/**
|
|
1604
|
+
* Is the keyspace running on metal instances
|
|
1605
|
+
*/
|
|
1606
|
+
metal: boolean;
|
|
1607
|
+
/**
|
|
1608
|
+
* Name of the keyspace
|
|
1609
|
+
*/
|
|
1610
|
+
name: string;
|
|
1611
|
+
/**
|
|
1612
|
+
* Controls when node TTL drains are allowed
|
|
1613
|
+
*/
|
|
1614
|
+
nodeTtlStrategy: string;
|
|
1615
|
+
/**
|
|
1616
|
+
* Is the keyspace provisioned and serving traffic
|
|
1617
|
+
*/
|
|
1618
|
+
ready: boolean;
|
|
1619
|
+
/**
|
|
1620
|
+
* Total number of replicas in the keyspace
|
|
1621
|
+
*/
|
|
1622
|
+
replicas: number;
|
|
1623
|
+
replicationDurabilityConstraints: outputs.GetVitessKeyspacesDataReplicationDurabilityConstraints;
|
|
1624
|
+
/**
|
|
1625
|
+
* True while any unfinished resize request exists for the keyspace.
|
|
1626
|
+
*/
|
|
1627
|
+
resizeInProgress: boolean;
|
|
1628
|
+
/**
|
|
1629
|
+
* True while a resize request is queued.
|
|
1630
|
+
*/
|
|
1631
|
+
resizePending: boolean;
|
|
1632
|
+
/**
|
|
1633
|
+
* True while the keyspace is actively resizing.
|
|
1634
|
+
*/
|
|
1635
|
+
resizing: boolean;
|
|
1636
|
+
/**
|
|
1637
|
+
* If the keyspace is sharded
|
|
1638
|
+
*/
|
|
1639
|
+
sharded: boolean;
|
|
1640
|
+
/**
|
|
1641
|
+
* The number of keyspace shards
|
|
1642
|
+
*/
|
|
1643
|
+
shards: number;
|
|
1644
|
+
throttler: outputs.GetVitessKeyspacesDataThrottler;
|
|
1645
|
+
/**
|
|
1646
|
+
* When the keyspace was last updated
|
|
1647
|
+
*/
|
|
1648
|
+
updatedAt: string;
|
|
1649
|
+
/**
|
|
1650
|
+
* Percentage of buffer pool memory allocated to vector indexes
|
|
1651
|
+
*/
|
|
1652
|
+
vectorPoolAllocation: number;
|
|
1653
|
+
vreplicationFlags: outputs.GetVitessKeyspacesDataVreplicationFlags;
|
|
1654
|
+
}
|
|
1655
|
+
export interface GetVitessKeyspacesDataReplicationDurabilityConstraints {
|
|
1656
|
+
/**
|
|
1657
|
+
* The replication durability strategy
|
|
1658
|
+
*/
|
|
1659
|
+
strategy: string;
|
|
1660
|
+
}
|
|
1661
|
+
export interface GetVitessKeyspacesDataThrottler {
|
|
1662
|
+
/**
|
|
1663
|
+
* Whether the keyspace throttler is enabled
|
|
1664
|
+
*/
|
|
1665
|
+
enabled: boolean;
|
|
1666
|
+
/**
|
|
1667
|
+
* Replication lag in seconds that trips the throttler
|
|
1668
|
+
*/
|
|
1669
|
+
threshold: number;
|
|
1670
|
+
}
|
|
1671
|
+
export interface GetVitessKeyspacesDataVreplicationFlags {
|
|
1672
|
+
/**
|
|
1673
|
+
* Allow no blob binlog row image
|
|
1674
|
+
*/
|
|
1675
|
+
allowNoBlobBinlogRowImage: boolean;
|
|
1676
|
+
/**
|
|
1677
|
+
* Enable optimized inserts
|
|
1678
|
+
*/
|
|
1679
|
+
optimizeInserts: boolean;
|
|
1680
|
+
/**
|
|
1681
|
+
* Enable VPlayer batching
|
|
1682
|
+
*/
|
|
1683
|
+
vplayerBatching: boolean;
|
|
1684
|
+
}
|
|
1685
|
+
export interface NekiConfigurationProfileStorage {
|
|
1686
|
+
/**
|
|
1687
|
+
* The maximum storage size in bytes for autoscaling.
|
|
1688
|
+
*/
|
|
1689
|
+
maximumStorageBytes: number;
|
|
1690
|
+
/**
|
|
1691
|
+
* The minimum storage size in bytes.
|
|
1692
|
+
*/
|
|
1693
|
+
minimumStorageBytes: number;
|
|
1694
|
+
/**
|
|
1695
|
+
* Whether storage autoscaling is enabled.
|
|
1696
|
+
*/
|
|
1697
|
+
storageAutoscaling: boolean;
|
|
1698
|
+
/**
|
|
1699
|
+
* The storage IOPS.
|
|
1700
|
+
*/
|
|
1701
|
+
storageIops: number;
|
|
1702
|
+
/**
|
|
1703
|
+
* The storage throughput in MiB/s.
|
|
1704
|
+
*/
|
|
1705
|
+
storageThroughputMibs: number;
|
|
1706
|
+
}
|
|
1707
|
+
export interface PostgresBouncerActor {
|
|
1708
|
+
/**
|
|
1709
|
+
* The ID of the actor
|
|
1710
|
+
*/
|
|
1711
|
+
id: string;
|
|
1712
|
+
}
|
|
1713
|
+
export interface PostgresBranchActor {
|
|
1714
|
+
/**
|
|
1715
|
+
* The ID of the actor
|
|
1716
|
+
*/
|
|
1717
|
+
id: string;
|
|
1718
|
+
}
|
|
1719
|
+
export interface PostgresBranchBackupActor {
|
|
1720
|
+
/**
|
|
1721
|
+
* The ID of the actor
|
|
1722
|
+
*/
|
|
1723
|
+
id: string;
|
|
1724
|
+
}
|
|
1725
|
+
export interface PostgresBranchBackupBackupPolicy {
|
|
1726
|
+
/**
|
|
1727
|
+
* The ID of the backup policy
|
|
1728
|
+
*/
|
|
1729
|
+
id: string;
|
|
1730
|
+
}
|
|
1731
|
+
export interface PostgresBranchBackupDatabaseBranch {
|
|
1732
|
+
/**
|
|
1733
|
+
* The ID for the resource
|
|
1734
|
+
*/
|
|
1735
|
+
id: string;
|
|
1736
|
+
/**
|
|
1737
|
+
* The name for the resource
|
|
1738
|
+
*/
|
|
1739
|
+
name: string;
|
|
1740
|
+
}
|
|
1741
|
+
export interface PostgresBranchRegionData {
|
|
1742
|
+
/**
|
|
1743
|
+
* The ID of the region
|
|
1744
|
+
*/
|
|
1745
|
+
id: string;
|
|
1746
|
+
/**
|
|
1747
|
+
* Whether the region supports MySQL/Vitess databases
|
|
1748
|
+
*/
|
|
1749
|
+
mysqlSupported: boolean;
|
|
1750
|
+
/**
|
|
1751
|
+
* Whether the region supports PostgreSQL databases
|
|
1752
|
+
*/
|
|
1753
|
+
postgresqlSupported: boolean;
|
|
1754
|
+
}
|
|
1755
|
+
export interface PostgresBranchRoleActorData {
|
|
1756
|
+
/**
|
|
1757
|
+
* The URL of the actor's avatar
|
|
1758
|
+
*/
|
|
1759
|
+
avatarUrl: string;
|
|
1760
|
+
/**
|
|
1761
|
+
* The name of the actor
|
|
1762
|
+
*/
|
|
1763
|
+
displayName: string;
|
|
1764
|
+
/**
|
|
1765
|
+
* The ID of the actor
|
|
1766
|
+
*/
|
|
1767
|
+
id: string;
|
|
1768
|
+
}
|
|
1769
|
+
export interface PostgresBranchRoleBranchData {
|
|
1770
|
+
/**
|
|
1771
|
+
* When the resource was deleted, if deleted
|
|
1772
|
+
*/
|
|
1773
|
+
deletedAt: string;
|
|
1774
|
+
/**
|
|
1775
|
+
* The ID for the resource
|
|
1776
|
+
*/
|
|
1777
|
+
id: string;
|
|
1778
|
+
/**
|
|
1779
|
+
* The name for the resource
|
|
1780
|
+
*/
|
|
1781
|
+
name: string;
|
|
1782
|
+
}
|
|
1783
|
+
export interface PostgresBranchRoleQuerySafetySettings {
|
|
1784
|
+
/**
|
|
1785
|
+
* Require WHERE clause on DELETE statements
|
|
1786
|
+
*/
|
|
1787
|
+
requireWhereOnDelete: string;
|
|
1788
|
+
/**
|
|
1789
|
+
* Require WHERE clause on UPDATE statements
|
|
1790
|
+
*/
|
|
1791
|
+
requireWhereOnUpdate: string;
|
|
1792
|
+
}
|
|
1793
|
+
export interface PostgresBranchStorage {
|
|
1794
|
+
/**
|
|
1795
|
+
* The maximum storage size in bytes for autoscaling.
|
|
1796
|
+
*/
|
|
1797
|
+
maximumStorageBytes: number;
|
|
1798
|
+
/**
|
|
1799
|
+
* The minimum storage size in bytes.
|
|
1800
|
+
*/
|
|
1801
|
+
minimumStorageBytes: number;
|
|
1802
|
+
/**
|
|
1803
|
+
* Whether storage autoscaling is enabled.
|
|
1804
|
+
*/
|
|
1805
|
+
storageAutoscaling: boolean;
|
|
1806
|
+
/**
|
|
1807
|
+
* The storage IOPS.
|
|
1808
|
+
*/
|
|
1809
|
+
storageIops: number;
|
|
1810
|
+
/**
|
|
1811
|
+
* The storage throughput in MiB/s.
|
|
1812
|
+
*/
|
|
1813
|
+
storageThroughputMibs: number;
|
|
1814
|
+
}
|
|
1815
|
+
export interface PostgresIpRestrictionActor {
|
|
1816
|
+
/**
|
|
1817
|
+
* The ID of the actor
|
|
1818
|
+
*/
|
|
1819
|
+
id: string;
|
|
1820
|
+
}
|
|
1821
|
+
export interface PostgresRedactedBranchRoleActorData {
|
|
1822
|
+
/**
|
|
1823
|
+
* The URL of the actor's avatar
|
|
1824
|
+
*/
|
|
1825
|
+
avatarUrl: string;
|
|
1826
|
+
/**
|
|
1827
|
+
* The name of the actor
|
|
1828
|
+
*/
|
|
1829
|
+
displayName: string;
|
|
1830
|
+
/**
|
|
1831
|
+
* The ID of the actor
|
|
1832
|
+
*/
|
|
1833
|
+
id: string;
|
|
1834
|
+
}
|
|
1835
|
+
export interface PostgresRedactedBranchRoleBranchData {
|
|
1836
|
+
/**
|
|
1837
|
+
* When the resource was deleted, if deleted
|
|
1838
|
+
*/
|
|
1839
|
+
deletedAt: string;
|
|
1840
|
+
/**
|
|
1841
|
+
* The ID for the resource
|
|
1842
|
+
*/
|
|
1843
|
+
id: string;
|
|
1844
|
+
/**
|
|
1845
|
+
* The name for the resource
|
|
1846
|
+
*/
|
|
1847
|
+
name: string;
|
|
1848
|
+
}
|
|
1849
|
+
export interface PostgresRedactedBranchRoleQuerySafetySettings {
|
|
1850
|
+
/**
|
|
1851
|
+
* Require WHERE clause on DELETE statements
|
|
1852
|
+
*/
|
|
1853
|
+
requireWhereOnDelete: string;
|
|
1854
|
+
/**
|
|
1855
|
+
* Require WHERE clause on UPDATE statements
|
|
1856
|
+
*/
|
|
1857
|
+
requireWhereOnUpdate: string;
|
|
1858
|
+
}
|
|
1859
|
+
export interface VitessBranchActor {
|
|
1860
|
+
/**
|
|
1861
|
+
* The ID of the actor
|
|
1862
|
+
*/
|
|
1863
|
+
id: string;
|
|
1864
|
+
}
|
|
1865
|
+
export interface VitessBranchBackupActor {
|
|
1866
|
+
/**
|
|
1867
|
+
* The ID of the actor
|
|
1868
|
+
*/
|
|
1869
|
+
id: string;
|
|
1870
|
+
}
|
|
1871
|
+
export interface VitessBranchBackupBackupPolicy {
|
|
1872
|
+
/**
|
|
1873
|
+
* The ID of the backup policy
|
|
1874
|
+
*/
|
|
1875
|
+
id: string;
|
|
1876
|
+
}
|
|
1877
|
+
export interface VitessBranchBackupDatabaseBranch {
|
|
1878
|
+
/**
|
|
1879
|
+
* The ID for the resource
|
|
1880
|
+
*/
|
|
1881
|
+
id: string;
|
|
1882
|
+
/**
|
|
1883
|
+
* The name for the resource
|
|
1884
|
+
*/
|
|
1885
|
+
name: string;
|
|
1886
|
+
}
|
|
1887
|
+
export interface VitessBranchPasswordActor {
|
|
1888
|
+
/**
|
|
1889
|
+
* The URL of the actor's avatar
|
|
1890
|
+
*/
|
|
1891
|
+
avatarUrl: string;
|
|
1892
|
+
/**
|
|
1893
|
+
* The name of the actor
|
|
1894
|
+
*/
|
|
1895
|
+
displayName: string;
|
|
1896
|
+
/**
|
|
1897
|
+
* The ID of the actor
|
|
1898
|
+
*/
|
|
1899
|
+
id: string;
|
|
1900
|
+
}
|
|
1901
|
+
export interface VitessBranchPasswordDatabaseBranch {
|
|
1902
|
+
/**
|
|
1903
|
+
* The ID for the branch
|
|
1904
|
+
*/
|
|
1905
|
+
id: string;
|
|
1906
|
+
/**
|
|
1907
|
+
* The address of the MySQL provider for the branch
|
|
1908
|
+
*/
|
|
1909
|
+
mysqlEdgeAddress: string;
|
|
1910
|
+
/**
|
|
1911
|
+
* The name for the branch
|
|
1912
|
+
*/
|
|
1913
|
+
name: string;
|
|
1914
|
+
/**
|
|
1915
|
+
* True if private connectivity is enabled
|
|
1916
|
+
*/
|
|
1917
|
+
privateEdgeConnectivity: boolean;
|
|
1918
|
+
/**
|
|
1919
|
+
* Whether or not the branch is a production branch
|
|
1920
|
+
*/
|
|
1921
|
+
production: boolean;
|
|
1922
|
+
}
|
|
1923
|
+
export interface VitessBranchPasswordRegion {
|
|
1924
|
+
/**
|
|
1925
|
+
* True if the region is the default for new branch creation
|
|
1926
|
+
*/
|
|
1927
|
+
currentDefault: boolean;
|
|
1928
|
+
/**
|
|
1929
|
+
* Name of the region
|
|
1930
|
+
*/
|
|
1931
|
+
displayName: string;
|
|
1932
|
+
/**
|
|
1933
|
+
* Whether or not the region is currently active
|
|
1934
|
+
*/
|
|
1935
|
+
enabled: boolean;
|
|
1936
|
+
/**
|
|
1937
|
+
* The ID of the region
|
|
1938
|
+
*/
|
|
1939
|
+
id: string;
|
|
1940
|
+
/**
|
|
1941
|
+
* Location of the region
|
|
1942
|
+
*/
|
|
1943
|
+
location: string;
|
|
1944
|
+
/**
|
|
1945
|
+
* Whether the region supports MySQL/Vitess databases
|
|
1946
|
+
*/
|
|
1947
|
+
mysqlSupported: boolean;
|
|
1948
|
+
/**
|
|
1949
|
+
* Whether the region supports PostgreSQL databases
|
|
1950
|
+
*/
|
|
1951
|
+
postgresqlSupported: boolean;
|
|
1952
|
+
/**
|
|
1953
|
+
* Provider for the region (ex. AWS)
|
|
1954
|
+
*/
|
|
1955
|
+
provider: string;
|
|
1956
|
+
/**
|
|
1957
|
+
* Public IP addresses for the region
|
|
1958
|
+
*/
|
|
1959
|
+
publicIpAddresses: string[];
|
|
1960
|
+
/**
|
|
1961
|
+
* The slug of the region
|
|
1962
|
+
*/
|
|
1963
|
+
slug: string;
|
|
1964
|
+
}
|
|
1965
|
+
export interface VitessBranchRegionData {
|
|
1966
|
+
/**
|
|
1967
|
+
* The ID of the region
|
|
1968
|
+
*/
|
|
1969
|
+
id: string;
|
|
1970
|
+
/**
|
|
1971
|
+
* Whether the region supports MySQL/Vitess databases
|
|
1972
|
+
*/
|
|
1973
|
+
mysqlSupported: boolean;
|
|
1974
|
+
/**
|
|
1975
|
+
* Whether the region supports PostgreSQL databases
|
|
1976
|
+
*/
|
|
1977
|
+
postgresqlSupported: boolean;
|
|
1978
|
+
}
|
|
1979
|
+
export interface VitessKeyspaceReplicationDurabilityConstraints {
|
|
1980
|
+
/**
|
|
1981
|
+
* The replication durability strategy
|
|
1982
|
+
*/
|
|
1983
|
+
strategy: string;
|
|
1984
|
+
}
|
|
1985
|
+
export interface VitessKeyspaceThrottler {
|
|
1986
|
+
/**
|
|
1987
|
+
* Whether the keyspace throttler is enabled
|
|
1988
|
+
*/
|
|
1989
|
+
enabled: boolean;
|
|
1990
|
+
/**
|
|
1991
|
+
* Replication lag in seconds that trips the throttler
|
|
1992
|
+
*/
|
|
1993
|
+
threshold: number;
|
|
1994
|
+
}
|
|
1995
|
+
export interface VitessKeyspaceVreplicationFlags {
|
|
1996
|
+
/**
|
|
1997
|
+
* Allow no blob binlog row image
|
|
1998
|
+
*/
|
|
1999
|
+
allowNoBlobBinlogRowImage: boolean;
|
|
2000
|
+
/**
|
|
2001
|
+
* Enable optimized inserts
|
|
2002
|
+
*/
|
|
2003
|
+
optimizeInserts: boolean;
|
|
2004
|
+
/**
|
|
2005
|
+
* Enable VPlayer batching
|
|
2006
|
+
*/
|
|
2007
|
+
vplayerBatching: boolean;
|
|
2008
|
+
}
|
|
2009
|
+
//# sourceMappingURL=output.d.ts.map
|