@lshay-provider/planetscale 1.14.0 → 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/bin/getDatabases.d.ts +2 -2
- package/bin/getDatabases.d.ts.map +1 -1
- package/bin/getNekiAdmin.d.ts +1 -1
- package/bin/getNekiAdmin.d.ts.map +1 -1
- package/bin/getNekiConfigurationProfile.d.ts +3 -2
- package/bin/getNekiConfigurationProfile.d.ts.map +1 -1
- package/bin/getNekiConfigurationProfile.js.map +1 -1
- package/bin/getNekiRoles.d.ts +2 -2
- package/bin/getNekiRoles.d.ts.map +1 -1
- package/bin/getNekiRouter.d.ts +1 -1
- package/bin/getNekiRouter.d.ts.map +1 -1
- package/bin/getOrganization.d.ts +2 -0
- package/bin/getOrganization.d.ts.map +1 -1
- package/bin/getOrganization.js.map +1 -1
- package/bin/getPostgresBranch.d.ts +1 -0
- package/bin/getPostgresBranch.d.ts.map +1 -1
- package/bin/getPostgresBranch.js.map +1 -1
- package/bin/getPostgresBranchBackups.d.ts +7 -7
- package/bin/getPostgresBranchBackups.d.ts.map +1 -1
- package/bin/getPostgresBranchMaintenanceWindow.d.ts +32 -0
- package/bin/getPostgresBranchMaintenanceWindow.d.ts.map +1 -0
- package/bin/{getNekiSidecar.js → getPostgresBranchMaintenanceWindow.js} +8 -12
- package/bin/getPostgresBranchMaintenanceWindow.js.map +1 -0
- package/bin/getPostgresBranchRoles.d.ts +2 -2
- package/bin/getPostgresBranchRoles.d.ts.map +1 -1
- 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/getVitessBranch.d.ts +5 -0
- package/bin/getVitessBranch.d.ts.map +1 -1
- package/bin/getVitessBranch.js.map +1 -1
- package/bin/getVitessBranchBackups.d.ts +7 -7
- package/bin/getVitessBranchBackups.d.ts.map +1 -1
- package/bin/getVitessBranchPasswords.d.ts +3 -3
- package/bin/getVitessBranchPasswords.d.ts.map +1 -1
- package/bin/getVitessKeyspace.d.ts +5 -0
- package/bin/getVitessKeyspace.d.ts.map +1 -1
- package/bin/getVitessKeyspace.js.map +1 -1
- package/bin/index.d.ts +15 -6
- package/bin/index.d.ts.map +1 -1
- package/bin/index.js +22 -11
- package/bin/index.js.map +1 -1
- package/bin/nekiAdmin.d.ts +16 -8
- package/bin/nekiAdmin.d.ts.map +1 -1
- package/bin/nekiAdmin.js +10 -0
- package/bin/nekiAdmin.js.map +1 -1
- package/bin/nekiBackupPolicy.d.ts +23 -15
- package/bin/nekiBackupPolicy.d.ts.map +1 -1
- package/bin/nekiBackupPolicy.js +10 -0
- package/bin/nekiBackupPolicy.js.map +1 -1
- package/bin/nekiBranch.d.ts +25 -17
- package/bin/nekiBranch.d.ts.map +1 -1
- package/bin/nekiBranch.js +10 -0
- package/bin/nekiBranch.js.map +1 -1
- package/bin/nekiConfigurationProfile.d.ts +42 -22
- package/bin/nekiConfigurationProfile.d.ts.map +1 -1
- package/bin/nekiConfigurationProfile.js +12 -0
- package/bin/nekiConfigurationProfile.js.map +1 -1
- package/bin/nekiRole.d.ts +27 -19
- package/bin/nekiRole.d.ts.map +1 -1
- package/bin/nekiRole.js +10 -0
- package/bin/nekiRole.js.map +1 -1
- package/bin/nekiRouter.d.ts +30 -22
- package/bin/nekiRouter.d.ts.map +1 -1
- package/bin/nekiRouter.js +10 -0
- package/bin/nekiRouter.js.map +1 -1
- package/bin/nekiShard.d.ts +16 -8
- package/bin/nekiShard.d.ts.map +1 -1
- package/bin/nekiShard.js +10 -0
- package/bin/nekiShard.js.map +1 -1
- package/bin/package.json +6 -7
- package/bin/postgresBackupPolicy.d.ts +29 -21
- package/bin/postgresBackupPolicy.d.ts.map +1 -1
- package/bin/postgresBackupPolicy.js +10 -0
- package/bin/postgresBackupPolicy.js.map +1 -1
- package/bin/postgresBouncer.d.ts +22 -14
- package/bin/postgresBouncer.d.ts.map +1 -1
- package/bin/postgresBouncer.js +10 -0
- package/bin/postgresBouncer.js.map +1 -1
- package/bin/postgresBranch.d.ts +58 -34
- package/bin/postgresBranch.d.ts.map +1 -1
- package/bin/postgresBranch.js +13 -1
- package/bin/postgresBranch.js.map +1 -1
- package/bin/postgresBranchBackup.d.ts +32 -24
- package/bin/postgresBranchBackup.d.ts.map +1 -1
- package/bin/postgresBranchBackup.js +10 -0
- package/bin/postgresBranchBackup.js.map +1 -1
- package/bin/{nekiSidecar.d.ts → postgresBranchMaintenanceWindow.d.ts} +49 -53
- package/bin/postgresBranchMaintenanceWindow.d.ts.map +1 -0
- package/bin/{nekiSidecar.js → postgresBranchMaintenanceWindow.js} +32 -19
- package/bin/postgresBranchMaintenanceWindow.js.map +1 -0
- package/bin/postgresBranchRole.d.ts +40 -32
- package/bin/postgresBranchRole.d.ts.map +1 -1
- package/bin/postgresBranchRole.js +10 -0
- package/bin/postgresBranchRole.js.map +1 -1
- package/bin/postgresDedicatedReadReplica.d.ts +21 -13
- package/bin/postgresDedicatedReadReplica.d.ts.map +1 -1
- package/bin/postgresDedicatedReadReplica.js +10 -0
- package/bin/postgresDedicatedReadReplica.js.map +1 -1
- 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 +21 -13
- package/bin/postgresReadOnlyReplica.d.ts.map +1 -1
- package/bin/postgresReadOnlyReplica.js +10 -0
- package/bin/postgresReadOnlyReplica.js.map +1 -1
- package/bin/postgresRedactedBranchRole.d.ts +39 -31
- package/bin/postgresRedactedBranchRole.d.ts.map +1 -1
- package/bin/postgresRedactedBranchRole.js +10 -0
- package/bin/postgresRedactedBranchRole.js.map +1 -1
- package/bin/provider.d.ts +3 -3
- package/bin/provider.d.ts.map +1 -1
- package/bin/types/input.d.ts +90 -62
- package/bin/types/input.d.ts.map +1 -1
- package/bin/types/output.d.ts +97 -0
- package/bin/types/output.d.ts.map +1 -1
- package/bin/utilities.d.ts.map +1 -1
- package/bin/utilities.js +8 -35
- package/bin/utilities.js.map +1 -1
- package/bin/vitessBackupPolicy.d.ts +29 -21
- package/bin/vitessBackupPolicy.d.ts.map +1 -1
- package/bin/vitessBackupPolicy.js +10 -0
- package/bin/vitessBackupPolicy.js.map +1 -1
- package/bin/vitessBranch.d.ts +71 -39
- package/bin/vitessBranch.d.ts.map +1 -1
- package/bin/vitessBranch.js +12 -0
- package/bin/vitessBranch.js.map +1 -1
- package/bin/vitessBranchBackup.d.ts +30 -22
- package/bin/vitessBranchBackup.d.ts.map +1 -1
- package/bin/vitessBranchBackup.js +10 -0
- package/bin/vitessBranchBackup.js.map +1 -1
- package/bin/vitessBranchPassword.d.ts +39 -31
- package/bin/vitessBranchPassword.d.ts.map +1 -1
- package/bin/vitessBranchPassword.js +10 -0
- package/bin/vitessBranchPassword.js.map +1 -1
- package/bin/vitessKeyspace.d.ts +62 -30
- package/bin/vitessKeyspace.d.ts.map +1 -1
- package/bin/vitessKeyspace.js +12 -0
- package/bin/vitessKeyspace.js.map +1 -1
- package/package.json +6 -7
- package/bin/getNekiSidecar.d.ts +0 -48
- package/bin/getNekiSidecar.d.ts.map +0 -1
- package/bin/getNekiSidecar.js.map +0 -1
- package/bin/nekiSidecar.d.ts.map +0 -1
- package/bin/nekiSidecar.js.map +0 -1
package/bin/postgresBouncer.d.ts
CHANGED
|
@@ -12,6 +12,14 @@ export declare class PostgresBouncer extends pulumi.CustomResource {
|
|
|
12
12
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
13
13
|
*/
|
|
14
14
|
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: PostgresBouncerState, opts?: pulumi.CustomResourceOptions): PostgresBouncer;
|
|
15
|
+
/**
|
|
16
|
+
* Check whether an existing PostgresBouncer resource with the given ID exists.
|
|
17
|
+
*
|
|
18
|
+
* @param id The _unique_ provider ID of the resource to check.
|
|
19
|
+
* @param state Any extra arguments used during the lookup.
|
|
20
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
21
|
+
*/
|
|
22
|
+
static exists(id: pulumi.Input<string>, state?: PostgresBouncerState, opts?: pulumi.CustomResourceOptions): pulumi.Output<boolean>;
|
|
15
23
|
/**
|
|
16
24
|
* Returns true if the given object is an instance of PostgresBouncer. This is designed to work even
|
|
17
25
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
@@ -67,27 +75,27 @@ export declare class PostgresBouncer extends pulumi.CustomResource {
|
|
|
67
75
|
* Input properties used for looking up and filtering PostgresBouncer resources.
|
|
68
76
|
*/
|
|
69
77
|
export interface PostgresBouncerState {
|
|
70
|
-
actor?: pulumi.Input<inputs.PostgresBouncerActor>;
|
|
78
|
+
actor?: pulumi.Input<inputs.PostgresBouncerActor | undefined>;
|
|
71
79
|
/**
|
|
72
80
|
* The bouncer size, e.g. `PGB_5`, `PGB_10`, `PGB_20`, `PGB_40`, `PGB_80`, or `PGB_160`. Defaults to `PGB_5`.
|
|
73
81
|
*/
|
|
74
|
-
bouncerSize?: pulumi.Input<string>;
|
|
82
|
+
bouncerSize?: pulumi.Input<string | undefined>;
|
|
75
83
|
/**
|
|
76
84
|
* Branch name from <span pulumi-lang-nodejs="`listBranches`" pulumi-lang-dotnet="`ListBranches`" pulumi-lang-go="`listBranches`" pulumi-lang-python="`list_branches`" pulumi-lang-yaml="`listBranches`" pulumi-lang-java="`listBranches`" pulumi-lang-hcl="`list_branches`">`listBranches`</span>. Example: <span pulumi-lang-nodejs="`main`" pulumi-lang-dotnet="`Main`" pulumi-lang-go="`main`" pulumi-lang-python="`main`" pulumi-lang-yaml="`main`" pulumi-lang-java="`main`" pulumi-lang-hcl="`main`">`main`</span>.
|
|
77
85
|
*/
|
|
78
|
-
branch?: pulumi.Input<string>;
|
|
86
|
+
branch?: pulumi.Input<string | undefined>;
|
|
79
87
|
/**
|
|
80
88
|
* Database name slug from <span pulumi-lang-nodejs="`listDatabases`" pulumi-lang-dotnet="`ListDatabases`" pulumi-lang-go="`listDatabases`" pulumi-lang-python="`list_databases`" pulumi-lang-yaml="`listDatabases`" pulumi-lang-java="`listDatabases`" pulumi-lang-hcl="`list_databases`">`listDatabases`</span>. Example: `app-db`.
|
|
81
89
|
*/
|
|
82
|
-
database?: pulumi.Input<string>;
|
|
90
|
+
database?: pulumi.Input<string | undefined>;
|
|
83
91
|
/**
|
|
84
92
|
* The name of the bouncer, at most 12 characters. Clients connect through the bouncer by appending it to the username, e.g. `postgres.abc123|my-bouncer`. Requires replacement if changed.
|
|
85
93
|
*/
|
|
86
|
-
name?: pulumi.Input<string>;
|
|
94
|
+
name?: pulumi.Input<string | undefined>;
|
|
87
95
|
/**
|
|
88
96
|
* Organization name slug from <span pulumi-lang-nodejs="`listOrganizations`" pulumi-lang-dotnet="`ListOrganizations`" pulumi-lang-go="`listOrganizations`" pulumi-lang-python="`list_organizations`" pulumi-lang-yaml="`listOrganizations`" pulumi-lang-java="`listOrganizations`" pulumi-lang-hcl="`list_organizations`">`listOrganizations`</span>. Example: <span pulumi-lang-nodejs="`acme`" pulumi-lang-dotnet="`Acme`" pulumi-lang-go="`acme`" pulumi-lang-python="`acme`" pulumi-lang-yaml="`acme`" pulumi-lang-java="`acme`" pulumi-lang-hcl="`acme`">`acme`</span>.
|
|
89
97
|
*/
|
|
90
|
-
organization?: pulumi.Input<string>;
|
|
98
|
+
organization?: pulumi.Input<string | undefined>;
|
|
91
99
|
/**
|
|
92
100
|
* 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.
|
|
93
101
|
*/
|
|
@@ -95,15 +103,15 @@ export interface PostgresBouncerState {
|
|
|
95
103
|
[key: string]: pulumi.Input<{
|
|
96
104
|
[key: string]: pulumi.Input<string>;
|
|
97
105
|
}>;
|
|
98
|
-
}>;
|
|
106
|
+
} | undefined>;
|
|
99
107
|
/**
|
|
100
108
|
* The number of PgBouncer instances per availability zone. Defaults to 1.
|
|
101
109
|
*/
|
|
102
|
-
replicasPerCell?: pulumi.Input<number>;
|
|
110
|
+
replicasPerCell?: pulumi.Input<number | undefined>;
|
|
103
111
|
/**
|
|
104
112
|
* The servers the bouncer routes connections to: <span pulumi-lang-nodejs="`primary`" pulumi-lang-dotnet="`Primary`" pulumi-lang-go="`primary`" pulumi-lang-python="`primary`" pulumi-lang-yaml="`primary`" pulumi-lang-java="`primary`" pulumi-lang-hcl="`primary`">`primary`</span>, <span pulumi-lang-nodejs="`replica`" pulumi-lang-dotnet="`Replica`" pulumi-lang-go="`replica`" pulumi-lang-python="`replica`" pulumi-lang-yaml="`replica`" pulumi-lang-java="`replica`" pulumi-lang-hcl="`replica`">`replica`</span>, or <span pulumi-lang-nodejs="`replicaAzAffinity`" pulumi-lang-dotnet="`ReplicaAzAffinity`" pulumi-lang-go="`replicaAzAffinity`" pulumi-lang-python="`replica_az_affinity`" pulumi-lang-yaml="`replicaAzAffinity`" pulumi-lang-java="`replicaAzAffinity`" pulumi-lang-hcl="`replica_az_affinity`">`replicaAzAffinity`</span> (replicas in the same availability zone as the bouncer). must be one of ["primary", "replica", <span pulumi-lang-nodejs=""replicaAzAffinity"" pulumi-lang-dotnet=""ReplicaAzAffinity"" pulumi-lang-go=""replicaAzAffinity"" pulumi-lang-python=""replica_az_affinity"" pulumi-lang-yaml=""replicaAzAffinity"" pulumi-lang-java=""replicaAzAffinity"" pulumi-lang-hcl=""replica_az_affinity"">"replicaAzAffinity"</span>]; Requires replacement if changed.
|
|
105
113
|
*/
|
|
106
|
-
target?: pulumi.Input<string>;
|
|
114
|
+
target?: pulumi.Input<string | undefined>;
|
|
107
115
|
}
|
|
108
116
|
/**
|
|
109
117
|
* The set of arguments for constructing a PostgresBouncer resource.
|
|
@@ -112,7 +120,7 @@ export interface PostgresBouncerArgs {
|
|
|
112
120
|
/**
|
|
113
121
|
* The bouncer size, e.g. `PGB_5`, `PGB_10`, `PGB_20`, `PGB_40`, `PGB_80`, or `PGB_160`. Defaults to `PGB_5`.
|
|
114
122
|
*/
|
|
115
|
-
bouncerSize?: pulumi.Input<string>;
|
|
123
|
+
bouncerSize?: pulumi.Input<string | undefined>;
|
|
116
124
|
/**
|
|
117
125
|
* Branch name from <span pulumi-lang-nodejs="`listBranches`" pulumi-lang-dotnet="`ListBranches`" pulumi-lang-go="`listBranches`" pulumi-lang-python="`list_branches`" pulumi-lang-yaml="`listBranches`" pulumi-lang-java="`listBranches`" pulumi-lang-hcl="`list_branches`">`listBranches`</span>. Example: <span pulumi-lang-nodejs="`main`" pulumi-lang-dotnet="`Main`" pulumi-lang-go="`main`" pulumi-lang-python="`main`" pulumi-lang-yaml="`main`" pulumi-lang-java="`main`" pulumi-lang-hcl="`main`">`main`</span>.
|
|
118
126
|
*/
|
|
@@ -124,7 +132,7 @@ export interface PostgresBouncerArgs {
|
|
|
124
132
|
/**
|
|
125
133
|
* The name of the bouncer, at most 12 characters. Clients connect through the bouncer by appending it to the username, e.g. `postgres.abc123|my-bouncer`. Requires replacement if changed.
|
|
126
134
|
*/
|
|
127
|
-
name?: pulumi.Input<string>;
|
|
135
|
+
name?: pulumi.Input<string | undefined>;
|
|
128
136
|
/**
|
|
129
137
|
* Organization name slug from <span pulumi-lang-nodejs="`listOrganizations`" pulumi-lang-dotnet="`ListOrganizations`" pulumi-lang-go="`listOrganizations`" pulumi-lang-python="`list_organizations`" pulumi-lang-yaml="`listOrganizations`" pulumi-lang-java="`listOrganizations`" pulumi-lang-hcl="`list_organizations`">`listOrganizations`</span>. Example: <span pulumi-lang-nodejs="`acme`" pulumi-lang-dotnet="`Acme`" pulumi-lang-go="`acme`" pulumi-lang-python="`acme`" pulumi-lang-yaml="`acme`" pulumi-lang-java="`acme`" pulumi-lang-hcl="`acme`">`acme`</span>.
|
|
130
138
|
*/
|
|
@@ -136,14 +144,14 @@ export interface PostgresBouncerArgs {
|
|
|
136
144
|
[key: string]: pulumi.Input<{
|
|
137
145
|
[key: string]: pulumi.Input<string>;
|
|
138
146
|
}>;
|
|
139
|
-
}>;
|
|
147
|
+
} | undefined>;
|
|
140
148
|
/**
|
|
141
149
|
* The number of PgBouncer instances per availability zone. Defaults to 1.
|
|
142
150
|
*/
|
|
143
|
-
replicasPerCell?: pulumi.Input<number>;
|
|
151
|
+
replicasPerCell?: pulumi.Input<number | undefined>;
|
|
144
152
|
/**
|
|
145
153
|
* The servers the bouncer routes connections to: <span pulumi-lang-nodejs="`primary`" pulumi-lang-dotnet="`Primary`" pulumi-lang-go="`primary`" pulumi-lang-python="`primary`" pulumi-lang-yaml="`primary`" pulumi-lang-java="`primary`" pulumi-lang-hcl="`primary`">`primary`</span>, <span pulumi-lang-nodejs="`replica`" pulumi-lang-dotnet="`Replica`" pulumi-lang-go="`replica`" pulumi-lang-python="`replica`" pulumi-lang-yaml="`replica`" pulumi-lang-java="`replica`" pulumi-lang-hcl="`replica`">`replica`</span>, or <span pulumi-lang-nodejs="`replicaAzAffinity`" pulumi-lang-dotnet="`ReplicaAzAffinity`" pulumi-lang-go="`replicaAzAffinity`" pulumi-lang-python="`replica_az_affinity`" pulumi-lang-yaml="`replicaAzAffinity`" pulumi-lang-java="`replicaAzAffinity`" pulumi-lang-hcl="`replica_az_affinity`">`replicaAzAffinity`</span> (replicas in the same availability zone as the bouncer). must be one of ["primary", "replica", <span pulumi-lang-nodejs=""replicaAzAffinity"" pulumi-lang-dotnet=""ReplicaAzAffinity"" pulumi-lang-go=""replicaAzAffinity"" pulumi-lang-python=""replica_az_affinity"" pulumi-lang-yaml=""replicaAzAffinity"" pulumi-lang-java=""replicaAzAffinity"" pulumi-lang-hcl=""replica_az_affinity"">"replicaAzAffinity"</span>]; Requires replacement if changed.
|
|
146
154
|
*/
|
|
147
|
-
target?: pulumi.Input<string>;
|
|
155
|
+
target?: pulumi.Input<string | undefined>;
|
|
148
156
|
}
|
|
149
157
|
//# sourceMappingURL=postgresBouncer.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"postgresBouncer.d.ts","sourceRoot":"","sources":["../postgresBouncer.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C,qBAAa,eAAgB,SAAQ,MAAM,CAAC,cAAc;IACtD;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,oBAAoB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,eAAe;
|
|
1
|
+
{"version":3,"file":"postgresBouncer.d.ts","sourceRoot":"","sources":["../postgresBouncer.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C,qBAAa,eAAgB,SAAQ,MAAM,CAAC,cAAc;IACtD;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,oBAAoB,EAAE,IAAI,CAA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AAC,MAAM,CAAC,CAAC;IAC7B;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC/B;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACxC;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACnC;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC;QAAC,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC,KAAK,CAAC;YAAC,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAA;SAAC,CAAC,CAAA;KAAC,GAAG,SAAS,CAAC,CAAC;IAC5G;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACnD;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CAC7C"}
|
package/bin/postgresBouncer.js
CHANGED
|
@@ -41,6 +41,16 @@ class PostgresBouncer extends pulumi.CustomResource {
|
|
|
41
41
|
static get(name, id, state, opts) {
|
|
42
42
|
return new PostgresBouncer(name, state, { ...opts, id: id });
|
|
43
43
|
}
|
|
44
|
+
/**
|
|
45
|
+
* Check whether an existing PostgresBouncer resource with the given ID exists.
|
|
46
|
+
*
|
|
47
|
+
* @param id The _unique_ provider ID of the resource to check.
|
|
48
|
+
* @param state Any extra arguments used during the lookup.
|
|
49
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
50
|
+
*/
|
|
51
|
+
static exists(id, state, opts) {
|
|
52
|
+
return pulumi.runtime.existsResource("planetscale:index/postgresBouncer:PostgresBouncer", id, state || {}, { ...opts }, utilities.getPackage());
|
|
53
|
+
}
|
|
44
54
|
/** @internal */
|
|
45
55
|
static __pulumiType = 'planetscale:index/postgresBouncer:PostgresBouncer';
|
|
46
56
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"postgresBouncer.js","sourceRoot":"","sources":["../postgresBouncer.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC,MAAa,eAAgB,SAAQ,MAAM,CAAC,cAAc;IACtD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA4B,EAAE,IAAmC;QAC1H,OAAO,IAAI,eAAe,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACtE,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,mDAAmD,CAAC;IAE1F;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,eAAe,CAAC,YAAY,CAAC;IAChE,CAAC;IA4CD,YAAY,IAAY,EAAE,WAAwD,EAAE,IAAmC;QACnH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA+C,CAAC;YAC9D,cAAc,CAAC,OAAO,CAAC,GAAG,KAAK,EAAE,KAAK,CAAC;YACvC,cAAc,CAAC,aAAa,CAAC,GAAG,KAAK,EAAE,WAAW,CAAC;YACnD,cAAc,CAAC,QAAQ,CAAC,GAAG,KAAK,EAAE,MAAM,CAAC;YACzC,cAAc,CAAC,UAAU,CAAC,GAAG,KAAK,EAAE,QAAQ,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AE;gBAC/C,MAAM,IAAI,KAAK,CAAC,0CAA0C,CAAC,CAAC;aAC/D;YACD,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,UAAU,CAAC,GAAG,IAAI,EAAE,QAAQ,CAAC;YAC5C,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,EAAE,YAAY,CAAC;YACpD,cAAc,CAAC,YAAY,CAAC,GAAG,IAAI,EAAE,UAAU,CAAC;YAChD,cAAc,CAAC,iBAAiB,CAAC,GAAG,IAAI,EAAE,eAAe,CAAC;YAC1D,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC/C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,eAAe,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,KAAK,CAAC,cAAc,EAAE,SAAS,CAAC,UAAU,EAAE,CAAC,CAAC;IAClH,CAAC;;AAtHL,0CAuHC"}
|
package/bin/postgresBranch.d.ts
CHANGED
|
@@ -12,6 +12,14 @@ export declare class PostgresBranch extends pulumi.CustomResource {
|
|
|
12
12
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
13
13
|
*/
|
|
14
14
|
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: PostgresBranchState, opts?: pulumi.CustomResourceOptions): PostgresBranch;
|
|
15
|
+
/**
|
|
16
|
+
* Check whether an existing PostgresBranch resource with the given ID exists.
|
|
17
|
+
*
|
|
18
|
+
* @param id The _unique_ provider ID of the resource to check.
|
|
19
|
+
* @param state Any extra arguments used during the lookup.
|
|
20
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
21
|
+
*/
|
|
22
|
+
static exists(id: pulumi.Input<string>, state?: PostgresBranchState, opts?: pulumi.CustomResourceOptions): pulumi.Output<boolean>;
|
|
15
23
|
/**
|
|
16
24
|
* Returns true if the given object is an instance of PostgresBranch. This is designed to work even
|
|
17
25
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
@@ -24,7 +32,7 @@ export declare class PostgresBranch extends pulumi.CustomResource {
|
|
|
24
32
|
*/
|
|
25
33
|
readonly backupId: pulumi.Output<string | undefined>;
|
|
26
34
|
/**
|
|
27
|
-
* The size of the cluster. Available sizes can be found using the 'List cluster sizes' endpoint.
|
|
35
|
+
* The size of the cluster. Available sizes can be found using the 'List cluster sizes' endpoint. Changing a production branch to a PS-DEV size demotes it and also requires <span pulumi-lang-nodejs="`connectProductionBranch`" pulumi-lang-dotnet="`ConnectProductionBranch`" pulumi-lang-go="`connectProductionBranch`" pulumi-lang-python="`connect_production_branch`" pulumi-lang-yaml="`connectProductionBranch`" pulumi-lang-java="`connectProductionBranch`" pulumi-lang-hcl="`connect_production_branch`">`connectProductionBranch`</span> or <span pulumi-lang-nodejs="`demoteBranches`" pulumi-lang-dotnet="`DemoteBranches`" pulumi-lang-go="`demoteBranches`" pulumi-lang-python="`demote_branches`" pulumi-lang-yaml="`demoteBranches`" pulumi-lang-java="`demoteBranches`" pulumi-lang-hcl="`demote_branches`">`demoteBranches`</span> access, or the <span pulumi-lang-nodejs="`demoteBranches`" pulumi-lang-dotnet="`DemoteBranches`" pulumi-lang-go="`demoteBranches`" pulumi-lang-python="`demote_branches`" pulumi-lang-yaml="`demoteBranches`" pulumi-lang-java="`demoteBranches`" pulumi-lang-hcl="`demote_branches`">`demoteBranches`</span> OAuth scope.
|
|
28
36
|
*/
|
|
29
37
|
readonly clusterSize: pulumi.Output<string>;
|
|
30
38
|
/**
|
|
@@ -77,7 +85,7 @@ export declare class PostgresBranch extends pulumi.CustomResource {
|
|
|
77
85
|
readonly region: pulumi.Output<string>;
|
|
78
86
|
readonly regionData: pulumi.Output<outputs.PostgresBranchRegionData>;
|
|
79
87
|
/**
|
|
80
|
-
* The number of replicas
|
|
88
|
+
* The number of replicas. 0 is a single-node branch with no replicas. 2-8 is HA. If omitted, the cluster size default is used.
|
|
81
89
|
*/
|
|
82
90
|
readonly replicas: pulumi.Output<number>;
|
|
83
91
|
/**
|
|
@@ -89,6 +97,10 @@ export declare class PostgresBranch extends pulumi.CustomResource {
|
|
|
89
97
|
* The current state of the branch
|
|
90
98
|
*/
|
|
91
99
|
readonly state: pulumi.Output<string>;
|
|
100
|
+
/**
|
|
101
|
+
* Storage configuration for non-Metal branches. PlanetScale clears these settings for Metal cluster sizes.
|
|
102
|
+
*/
|
|
103
|
+
readonly storage: pulumi.Output<outputs.PostgresBranchStorage>;
|
|
92
104
|
/**
|
|
93
105
|
* Planetscale API URL for the branch
|
|
94
106
|
*/
|
|
@@ -106,44 +118,44 @@ export declare class PostgresBranch extends pulumi.CustomResource {
|
|
|
106
118
|
* Input properties used for looking up and filtering PostgresBranch resources.
|
|
107
119
|
*/
|
|
108
120
|
export interface PostgresBranchState {
|
|
109
|
-
actor?: pulumi.Input<inputs.PostgresBranchActor>;
|
|
121
|
+
actor?: pulumi.Input<inputs.PostgresBranchActor | undefined>;
|
|
110
122
|
/**
|
|
111
123
|
* **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
112
124
|
* If provided, restores the backup's schema and data to the new branch. Must have `restore_production_branch_backup(s)` or `restore_backup(s)` access to do this. Requires replacement if changed.
|
|
113
125
|
*/
|
|
114
|
-
backupId?: pulumi.Input<string>;
|
|
126
|
+
backupId?: pulumi.Input<string | undefined>;
|
|
115
127
|
/**
|
|
116
|
-
* The size of the cluster. Available sizes can be found using the 'List cluster sizes' endpoint.
|
|
128
|
+
* The size of the cluster. Available sizes can be found using the 'List cluster sizes' endpoint. Changing a production branch to a PS-DEV size demotes it and also requires <span pulumi-lang-nodejs="`connectProductionBranch`" pulumi-lang-dotnet="`ConnectProductionBranch`" pulumi-lang-go="`connectProductionBranch`" pulumi-lang-python="`connect_production_branch`" pulumi-lang-yaml="`connectProductionBranch`" pulumi-lang-java="`connectProductionBranch`" pulumi-lang-hcl="`connect_production_branch`">`connectProductionBranch`</span> or <span pulumi-lang-nodejs="`demoteBranches`" pulumi-lang-dotnet="`DemoteBranches`" pulumi-lang-go="`demoteBranches`" pulumi-lang-python="`demote_branches`" pulumi-lang-yaml="`demoteBranches`" pulumi-lang-java="`demoteBranches`" pulumi-lang-hcl="`demote_branches`">`demoteBranches`</span> access, or the <span pulumi-lang-nodejs="`demoteBranches`" pulumi-lang-dotnet="`DemoteBranches`" pulumi-lang-go="`demoteBranches`" pulumi-lang-python="`demote_branches`" pulumi-lang-yaml="`demoteBranches`" pulumi-lang-java="`demoteBranches`" pulumi-lang-hcl="`demote_branches`">`demoteBranches`</span> OAuth scope.
|
|
117
129
|
*/
|
|
118
|
-
clusterSize?: pulumi.Input<string>;
|
|
130
|
+
clusterSize?: pulumi.Input<string | undefined>;
|
|
119
131
|
/**
|
|
120
132
|
* Database name slug from <span pulumi-lang-nodejs="`listDatabases`" pulumi-lang-dotnet="`ListDatabases`" pulumi-lang-go="`listDatabases`" pulumi-lang-python="`list_databases`" pulumi-lang-yaml="`listDatabases`" pulumi-lang-java="`listDatabases`" pulumi-lang-hcl="`list_databases`">`listDatabases`</span>. Example: `app-db`.
|
|
121
133
|
*/
|
|
122
|
-
database?: pulumi.Input<string>;
|
|
134
|
+
database?: pulumi.Input<string | undefined>;
|
|
123
135
|
/**
|
|
124
136
|
* If true, recursively delete all descendant branches along with this branch
|
|
125
137
|
*/
|
|
126
|
-
deleteDescendants?: pulumi.Input<boolean>;
|
|
138
|
+
deleteDescendants?: pulumi.Input<boolean | undefined>;
|
|
127
139
|
/**
|
|
128
140
|
* Whether deletion protection is enabled for the branch
|
|
129
141
|
*/
|
|
130
|
-
deletionProtected?: pulumi.Input<boolean>;
|
|
142
|
+
deletionProtected?: pulumi.Input<boolean | undefined>;
|
|
131
143
|
/**
|
|
132
144
|
* Planetscale app URL for the branch
|
|
133
145
|
*/
|
|
134
|
-
htmlUrl?: pulumi.Input<string>;
|
|
146
|
+
htmlUrl?: pulumi.Input<string | undefined>;
|
|
135
147
|
/**
|
|
136
148
|
* The PostgreSQL major version to use for the branch. Defaults to the major version of the parent branch if it exists or the database's default branch major version. Ignored for branches restored from backups. Requires replacement if changed.
|
|
137
149
|
*/
|
|
138
|
-
majorVersion?: pulumi.Input<string>;
|
|
150
|
+
majorVersion?: pulumi.Input<string | undefined>;
|
|
139
151
|
/**
|
|
140
152
|
* The name of the branch to create
|
|
141
153
|
*/
|
|
142
|
-
name?: pulumi.Input<string>;
|
|
154
|
+
name?: pulumi.Input<string | undefined>;
|
|
143
155
|
/**
|
|
144
156
|
* Organization name slug from <span pulumi-lang-nodejs="`listOrganizations`" pulumi-lang-dotnet="`ListOrganizations`" pulumi-lang-go="`listOrganizations`" pulumi-lang-python="`list_organizations`" pulumi-lang-yaml="`listOrganizations`" pulumi-lang-java="`listOrganizations`" pulumi-lang-hcl="`list_organizations`">`listOrganizations`</span>. Example: <span pulumi-lang-nodejs="`acme`" pulumi-lang-dotnet="`Acme`" pulumi-lang-go="`acme`" pulumi-lang-python="`acme`" pulumi-lang-yaml="`acme`" pulumi-lang-java="`acme`" pulumi-lang-hcl="`acme`">`acme`</span>.
|
|
145
157
|
*/
|
|
146
|
-
organization?: pulumi.Input<string>;
|
|
158
|
+
organization?: pulumi.Input<string | undefined>;
|
|
147
159
|
/**
|
|
148
160
|
* Postgres parameter overrides, nested by namespace (pgconf, pgbouncer, patroni), e.g. { pgconf = {<span pulumi-lang-nodejs=" maxConnections " pulumi-lang-dotnet=" MaxConnections " pulumi-lang-go=" maxConnections " pulumi-lang-python=" max_connections " pulumi-lang-yaml=" maxConnections " pulumi-lang-java=" maxConnections " pulumi-lang-hcl=" max_connections "> maxConnections </span>= "200" } }. Omitted parameters are reset to their defaults.
|
|
149
161
|
*/
|
|
@@ -151,37 +163,41 @@ export interface PostgresBranchState {
|
|
|
151
163
|
[key: string]: pulumi.Input<{
|
|
152
164
|
[key: string]: pulumi.Input<string>;
|
|
153
165
|
}>;
|
|
154
|
-
}>;
|
|
166
|
+
} | undefined>;
|
|
155
167
|
/**
|
|
156
168
|
* The name of the parent branch. Defaults to the database's default branch if not provided. Requires replacement if changed.
|
|
157
169
|
*/
|
|
158
|
-
parentBranch?: pulumi.Input<string>;
|
|
170
|
+
parentBranch?: pulumi.Input<string | undefined>;
|
|
159
171
|
/**
|
|
160
172
|
* Whether or not the branch is ready to serve queries
|
|
161
173
|
*/
|
|
162
|
-
ready?: pulumi.Input<boolean>;
|
|
174
|
+
ready?: pulumi.Input<boolean | undefined>;
|
|
163
175
|
/**
|
|
164
176
|
* The region to create the branch in. If not provided, the branch will be created in the default region for its database. Requires replacement if changed.
|
|
165
177
|
*/
|
|
166
|
-
region?: pulumi.Input<string>;
|
|
167
|
-
regionData?: pulumi.Input<inputs.PostgresBranchRegionData>;
|
|
178
|
+
region?: pulumi.Input<string | undefined>;
|
|
179
|
+
regionData?: pulumi.Input<inputs.PostgresBranchRegionData | undefined>;
|
|
168
180
|
/**
|
|
169
|
-
* The number of replicas
|
|
181
|
+
* The number of replicas. 0 is a single-node branch with no replicas. 2-8 is HA. If omitted, the cluster size default is used.
|
|
170
182
|
*/
|
|
171
|
-
replicas?: pulumi.Input<number>;
|
|
183
|
+
replicas?: pulumi.Input<number | undefined>;
|
|
172
184
|
/**
|
|
173
185
|
* **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
174
186
|
* Restore from a point-in-time recovery timestamp (e.g. 2023-01-01T00:00:00Z). Available only for PostgreSQL databases. Requires replacement if changed.
|
|
175
187
|
*/
|
|
176
|
-
restorePoint?: pulumi.Input<string>;
|
|
188
|
+
restorePoint?: pulumi.Input<string | undefined>;
|
|
177
189
|
/**
|
|
178
190
|
* The current state of the branch
|
|
179
191
|
*/
|
|
180
|
-
state?: pulumi.Input<string>;
|
|
192
|
+
state?: pulumi.Input<string | undefined>;
|
|
193
|
+
/**
|
|
194
|
+
* Storage configuration for non-Metal branches. PlanetScale clears these settings for Metal cluster sizes.
|
|
195
|
+
*/
|
|
196
|
+
storage?: pulumi.Input<inputs.PostgresBranchStorage | undefined>;
|
|
181
197
|
/**
|
|
182
198
|
* Planetscale API URL for the branch
|
|
183
199
|
*/
|
|
184
|
-
url?: pulumi.Input<string>;
|
|
200
|
+
url?: pulumi.Input<string | undefined>;
|
|
185
201
|
}
|
|
186
202
|
/**
|
|
187
203
|
* The set of arguments for constructing a PostgresBranch resource.
|
|
@@ -191,11 +207,11 @@ export interface PostgresBranchArgs {
|
|
|
191
207
|
* **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
192
208
|
* If provided, restores the backup's schema and data to the new branch. Must have `restore_production_branch_backup(s)` or `restore_backup(s)` access to do this. Requires replacement if changed.
|
|
193
209
|
*/
|
|
194
|
-
backupId?: pulumi.Input<string>;
|
|
210
|
+
backupId?: pulumi.Input<string | undefined>;
|
|
195
211
|
/**
|
|
196
|
-
* The size of the cluster. Available sizes can be found using the 'List cluster sizes' endpoint.
|
|
212
|
+
* The size of the cluster. Available sizes can be found using the 'List cluster sizes' endpoint. Changing a production branch to a PS-DEV size demotes it and also requires <span pulumi-lang-nodejs="`connectProductionBranch`" pulumi-lang-dotnet="`ConnectProductionBranch`" pulumi-lang-go="`connectProductionBranch`" pulumi-lang-python="`connect_production_branch`" pulumi-lang-yaml="`connectProductionBranch`" pulumi-lang-java="`connectProductionBranch`" pulumi-lang-hcl="`connect_production_branch`">`connectProductionBranch`</span> or <span pulumi-lang-nodejs="`demoteBranches`" pulumi-lang-dotnet="`DemoteBranches`" pulumi-lang-go="`demoteBranches`" pulumi-lang-python="`demote_branches`" pulumi-lang-yaml="`demoteBranches`" pulumi-lang-java="`demoteBranches`" pulumi-lang-hcl="`demote_branches`">`demoteBranches`</span> access, or the <span pulumi-lang-nodejs="`demoteBranches`" pulumi-lang-dotnet="`DemoteBranches`" pulumi-lang-go="`demoteBranches`" pulumi-lang-python="`demote_branches`" pulumi-lang-yaml="`demoteBranches`" pulumi-lang-java="`demoteBranches`" pulumi-lang-hcl="`demote_branches`">`demoteBranches`</span> OAuth scope.
|
|
197
213
|
*/
|
|
198
|
-
clusterSize?: pulumi.Input<string>;
|
|
214
|
+
clusterSize?: pulumi.Input<string | undefined>;
|
|
199
215
|
/**
|
|
200
216
|
* Database name slug from <span pulumi-lang-nodejs="`listDatabases`" pulumi-lang-dotnet="`ListDatabases`" pulumi-lang-go="`listDatabases`" pulumi-lang-python="`list_databases`" pulumi-lang-yaml="`listDatabases`" pulumi-lang-java="`listDatabases`" pulumi-lang-hcl="`list_databases`">`listDatabases`</span>. Example: `app-db`.
|
|
201
217
|
*/
|
|
@@ -203,19 +219,19 @@ export interface PostgresBranchArgs {
|
|
|
203
219
|
/**
|
|
204
220
|
* If true, recursively delete all descendant branches along with this branch
|
|
205
221
|
*/
|
|
206
|
-
deleteDescendants?: pulumi.Input<boolean>;
|
|
222
|
+
deleteDescendants?: pulumi.Input<boolean | undefined>;
|
|
207
223
|
/**
|
|
208
224
|
* Whether deletion protection is enabled for the branch
|
|
209
225
|
*/
|
|
210
|
-
deletionProtected?: pulumi.Input<boolean>;
|
|
226
|
+
deletionProtected?: pulumi.Input<boolean | undefined>;
|
|
211
227
|
/**
|
|
212
228
|
* The PostgreSQL major version to use for the branch. Defaults to the major version of the parent branch if it exists or the database's default branch major version. Ignored for branches restored from backups. Requires replacement if changed.
|
|
213
229
|
*/
|
|
214
|
-
majorVersion?: pulumi.Input<string>;
|
|
230
|
+
majorVersion?: pulumi.Input<string | undefined>;
|
|
215
231
|
/**
|
|
216
232
|
* The name of the branch to create
|
|
217
233
|
*/
|
|
218
|
-
name?: pulumi.Input<string>;
|
|
234
|
+
name?: pulumi.Input<string | undefined>;
|
|
219
235
|
/**
|
|
220
236
|
* Organization name slug from <span pulumi-lang-nodejs="`listOrganizations`" pulumi-lang-dotnet="`ListOrganizations`" pulumi-lang-go="`listOrganizations`" pulumi-lang-python="`list_organizations`" pulumi-lang-yaml="`listOrganizations`" pulumi-lang-java="`listOrganizations`" pulumi-lang-hcl="`list_organizations`">`listOrganizations`</span>. Example: <span pulumi-lang-nodejs="`acme`" pulumi-lang-dotnet="`Acme`" pulumi-lang-go="`acme`" pulumi-lang-python="`acme`" pulumi-lang-yaml="`acme`" pulumi-lang-java="`acme`" pulumi-lang-hcl="`acme`">`acme`</span>.
|
|
221
237
|
*/
|
|
@@ -227,19 +243,27 @@ export interface PostgresBranchArgs {
|
|
|
227
243
|
[key: string]: pulumi.Input<{
|
|
228
244
|
[key: string]: pulumi.Input<string>;
|
|
229
245
|
}>;
|
|
230
|
-
}>;
|
|
246
|
+
} | undefined>;
|
|
231
247
|
/**
|
|
232
248
|
* The name of the parent branch. Defaults to the database's default branch if not provided. Requires replacement if changed.
|
|
233
249
|
*/
|
|
234
|
-
parentBranch?: pulumi.Input<string>;
|
|
250
|
+
parentBranch?: pulumi.Input<string | undefined>;
|
|
235
251
|
/**
|
|
236
252
|
* The region to create the branch in. If not provided, the branch will be created in the default region for its database. Requires replacement if changed.
|
|
237
253
|
*/
|
|
238
|
-
region?: pulumi.Input<string>;
|
|
254
|
+
region?: pulumi.Input<string | undefined>;
|
|
255
|
+
/**
|
|
256
|
+
* The number of replicas. 0 is a single-node branch with no replicas. 2-8 is HA. If omitted, the cluster size default is used.
|
|
257
|
+
*/
|
|
258
|
+
replicas?: pulumi.Input<number | undefined>;
|
|
239
259
|
/**
|
|
240
260
|
* **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
241
261
|
* Restore from a point-in-time recovery timestamp (e.g. 2023-01-01T00:00:00Z). Available only for PostgreSQL databases. Requires replacement if changed.
|
|
242
262
|
*/
|
|
243
|
-
restorePoint?: pulumi.Input<string>;
|
|
263
|
+
restorePoint?: pulumi.Input<string | undefined>;
|
|
264
|
+
/**
|
|
265
|
+
* Storage configuration for non-Metal branches. PlanetScale clears these settings for Metal cluster sizes.
|
|
266
|
+
*/
|
|
267
|
+
storage?: pulumi.Input<inputs.PostgresBranchStorage | undefined>;
|
|
244
268
|
}
|
|
245
269
|
//# sourceMappingURL=postgresBranch.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"postgresBranch.d.ts","sourceRoot":"","sources":["../postgresBranch.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C,qBAAa,cAAe,SAAQ,MAAM,CAAC,cAAc;IACrD;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,mBAAmB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,cAAc;
|
|
1
|
+
{"version":3,"file":"postgresBranch.d.ts","sourceRoot":"","sources":["../postgresBranch.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AACzC,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AACxC,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAG1C,qBAAa,cAAe,SAAQ,MAAM,CAAC,cAAc;IACrD;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,mBAAmB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,cAAc;IAI9I;;;;;;OAMG;WACW,MAAM,CAAC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C;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC;QAAC,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC,KAAK,CAAC;YAAC,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAA;SAAC,CAAC,CAAA;KAAC,GAAG,SAAS,CAAC,CAAC;IAC5G;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAChD;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC1C;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC5C;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAChD;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,qBAAqB,GAAG,SAAS,CAAC,CAAC;CACpE"}
|
package/bin/postgresBranch.js
CHANGED
|
@@ -41,6 +41,16 @@ class PostgresBranch extends pulumi.CustomResource {
|
|
|
41
41
|
static get(name, id, state, opts) {
|
|
42
42
|
return new PostgresBranch(name, state, { ...opts, id: id });
|
|
43
43
|
}
|
|
44
|
+
/**
|
|
45
|
+
* Check whether an existing PostgresBranch resource with the given ID exists.
|
|
46
|
+
*
|
|
47
|
+
* @param id The _unique_ provider ID of the resource to check.
|
|
48
|
+
* @param state Any extra arguments used during the lookup.
|
|
49
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
50
|
+
*/
|
|
51
|
+
static exists(id, state, opts) {
|
|
52
|
+
return pulumi.runtime.existsResource("planetscale:index/postgresBranch:PostgresBranch", id, state || {}, { ...opts }, utilities.getPackage());
|
|
53
|
+
}
|
|
44
54
|
/** @internal */
|
|
45
55
|
static __pulumiType = 'planetscale:index/postgresBranch:PostgresBranch';
|
|
46
56
|
/**
|
|
@@ -76,6 +86,7 @@ class PostgresBranch extends pulumi.CustomResource {
|
|
|
76
86
|
resourceInputs["replicas"] = state?.replicas;
|
|
77
87
|
resourceInputs["restorePoint"] = state?.restorePoint;
|
|
78
88
|
resourceInputs["state"] = state?.state;
|
|
89
|
+
resourceInputs["storage"] = state?.storage;
|
|
79
90
|
resourceInputs["url"] = state?.url;
|
|
80
91
|
}
|
|
81
92
|
else {
|
|
@@ -97,12 +108,13 @@ class PostgresBranch extends pulumi.CustomResource {
|
|
|
97
108
|
resourceInputs["parameters"] = args?.parameters;
|
|
98
109
|
resourceInputs["parentBranch"] = args?.parentBranch;
|
|
99
110
|
resourceInputs["region"] = args?.region;
|
|
111
|
+
resourceInputs["replicas"] = args?.replicas;
|
|
100
112
|
resourceInputs["restorePoint"] = args?.restorePoint ? pulumi.secret(args.restorePoint) : undefined;
|
|
113
|
+
resourceInputs["storage"] = args?.storage;
|
|
101
114
|
resourceInputs["actor"] = undefined /*out*/;
|
|
102
115
|
resourceInputs["htmlUrl"] = undefined /*out*/;
|
|
103
116
|
resourceInputs["ready"] = undefined /*out*/;
|
|
104
117
|
resourceInputs["regionData"] = undefined /*out*/;
|
|
105
|
-
resourceInputs["replicas"] = undefined /*out*/;
|
|
106
118
|
resourceInputs["state"] = undefined /*out*/;
|
|
107
119
|
resourceInputs["url"] = undefined /*out*/;
|
|
108
120
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"postgresBranch.js","sourceRoot":"","sources":["../postgresBranch.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC,MAAa,cAAe,SAAQ,MAAM,CAAC,cAAc;IACrD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B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,CAAC,UAAU,EAAE,CAAC,CAAC;IACjH,CAAC;;AAtLL,wCAuLC"}
|
|
@@ -12,6 +12,14 @@ export declare class PostgresBranchBackup extends pulumi.CustomResource {
|
|
|
12
12
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
13
13
|
*/
|
|
14
14
|
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: PostgresBranchBackupState, opts?: pulumi.CustomResourceOptions): PostgresBranchBackup;
|
|
15
|
+
/**
|
|
16
|
+
* Check whether an existing PostgresBranchBackup resource with the given ID exists.
|
|
17
|
+
*
|
|
18
|
+
* @param id The _unique_ provider ID of the resource to check.
|
|
19
|
+
* @param state Any extra arguments used during the lookup.
|
|
20
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
21
|
+
*/
|
|
22
|
+
static exists(id: pulumi.Input<string>, state?: PostgresBranchBackupState, opts?: pulumi.CustomResourceOptions): pulumi.Output<boolean>;
|
|
15
23
|
/**
|
|
16
24
|
* Returns true if the given object is an instance of PostgresBranchBackup. This is designed to work even
|
|
17
25
|
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
@@ -101,77 +109,77 @@ export declare class PostgresBranchBackup extends pulumi.CustomResource {
|
|
|
101
109
|
* Input properties used for looking up and filtering PostgresBranchBackup resources.
|
|
102
110
|
*/
|
|
103
111
|
export interface PostgresBranchBackupState {
|
|
104
|
-
actor?: pulumi.Input<inputs.PostgresBranchBackupActor>;
|
|
105
|
-
backupPolicy?: pulumi.Input<inputs.PostgresBranchBackupBackupPolicy>;
|
|
112
|
+
actor?: pulumi.Input<inputs.PostgresBranchBackupActor | undefined>;
|
|
113
|
+
backupPolicy?: pulumi.Input<inputs.PostgresBranchBackupBackupPolicy | undefined>;
|
|
106
114
|
/**
|
|
107
115
|
* The name of the branch. Requires replacement if changed.
|
|
108
116
|
*/
|
|
109
|
-
branch?: pulumi.Input<string>;
|
|
117
|
+
branch?: pulumi.Input<string | undefined>;
|
|
110
118
|
/**
|
|
111
119
|
* When the backup completed
|
|
112
120
|
*/
|
|
113
|
-
completedAt?: pulumi.Input<string>;
|
|
121
|
+
completedAt?: pulumi.Input<string | undefined>;
|
|
114
122
|
/**
|
|
115
123
|
* The name of the database the branch belongs to. Requires replacement if changed.
|
|
116
124
|
*/
|
|
117
|
-
database?: pulumi.Input<string>;
|
|
118
|
-
databaseBranch?: pulumi.Input<inputs.PostgresBranchBackupDatabaseBranch>;
|
|
125
|
+
database?: pulumi.Input<string | undefined>;
|
|
126
|
+
databaseBranch?: pulumi.Input<inputs.PostgresBranchBackupDatabaseBranch | undefined>;
|
|
119
127
|
/**
|
|
120
128
|
* When the backup was deleted
|
|
121
129
|
*/
|
|
122
|
-
deletedAt?: pulumi.Input<string>;
|
|
130
|
+
deletedAt?: pulumi.Input<string | undefined>;
|
|
123
131
|
/**
|
|
124
132
|
* Whether the backup is an immediate backup that may affect database performance. Emergency backups are only supported for PostgreSQL databases. Requires replacement if changed.
|
|
125
133
|
*/
|
|
126
|
-
emergency?: pulumi.Input<boolean>;
|
|
134
|
+
emergency?: pulumi.Input<boolean | undefined>;
|
|
127
135
|
/**
|
|
128
136
|
* The estimated storage cost of the backup
|
|
129
137
|
*/
|
|
130
|
-
estimatedStorageCost?: pulumi.Input<number>;
|
|
138
|
+
estimatedStorageCost?: pulumi.Input<number | undefined>;
|
|
131
139
|
/**
|
|
132
140
|
* When the backup expires
|
|
133
141
|
*/
|
|
134
|
-
expiresAt?: pulumi.Input<string>;
|
|
142
|
+
expiresAt?: pulumi.Input<string | undefined>;
|
|
135
143
|
/**
|
|
136
144
|
* Name for the backup. Requires replacement if changed.
|
|
137
145
|
*/
|
|
138
|
-
name?: pulumi.Input<string>;
|
|
146
|
+
name?: pulumi.Input<string | undefined>;
|
|
139
147
|
/**
|
|
140
148
|
* The name of the organization the branch belongs to. Requires replacement if changed.
|
|
141
149
|
*/
|
|
142
|
-
organization?: pulumi.Input<string>;
|
|
150
|
+
organization?: pulumi.Input<string | undefined>;
|
|
143
151
|
/**
|
|
144
152
|
* Whether or not the backup is protected from deletion
|
|
145
153
|
*/
|
|
146
|
-
protected?: pulumi.Input<boolean>;
|
|
154
|
+
protected?: pulumi.Input<boolean | undefined>;
|
|
147
155
|
/**
|
|
148
156
|
* Size of the PVC used for the backup
|
|
149
157
|
*/
|
|
150
|
-
pvcSize?: pulumi.Input<number>;
|
|
158
|
+
pvcSize?: pulumi.Input<number | undefined>;
|
|
151
159
|
/**
|
|
152
160
|
* Unit for the retention period of the backup. must be one of ["hour", "day", "week", "month", "year"]; Requires replacement if changed.
|
|
153
161
|
*/
|
|
154
|
-
retentionUnit?: pulumi.Input<string>;
|
|
162
|
+
retentionUnit?: pulumi.Input<string | undefined>;
|
|
155
163
|
/**
|
|
156
164
|
* Value between <span pulumi-lang-nodejs="`1`" pulumi-lang-dotnet="`1`" pulumi-lang-go="`1`" pulumi-lang-python="`1`" pulumi-lang-yaml="`1`" pulumi-lang-java="`1`" pulumi-lang-hcl="`1`">`1`</span> and <span pulumi-lang-nodejs="`1000`" pulumi-lang-dotnet="`1000`" pulumi-lang-go="`1000`" pulumi-lang-python="`1000`" pulumi-lang-yaml="`1000`" pulumi-lang-java="`1000`" pulumi-lang-hcl="`1000`">`1000`</span> for the retention period of the backup (i.e<span pulumi-lang-nodejs=" retentionValue " pulumi-lang-dotnet=" RetentionValue " pulumi-lang-go=" retentionValue " pulumi-lang-python=" retention_value " pulumi-lang-yaml=" retentionValue " pulumi-lang-java=" retentionValue " pulumi-lang-hcl=" retention_value "> retentionValue </span><span pulumi-lang-nodejs="`6`" pulumi-lang-dotnet="`6`" pulumi-lang-go="`6`" pulumi-lang-python="`6`" pulumi-lang-yaml="`6`" pulumi-lang-java="`6`" pulumi-lang-hcl="`6`">`6`</span> and<span pulumi-lang-nodejs=" retentionUnit " pulumi-lang-dotnet=" RetentionUnit " pulumi-lang-go=" retentionUnit " pulumi-lang-python=" retention_unit " pulumi-lang-yaml=" retentionUnit " pulumi-lang-java=" retentionUnit " pulumi-lang-hcl=" retention_unit "> retentionUnit </span><span pulumi-lang-nodejs="`hour`" pulumi-lang-dotnet="`Hour`" pulumi-lang-go="`hour`" pulumi-lang-python="`hour`" pulumi-lang-yaml="`hour`" pulumi-lang-java="`hour`" pulumi-lang-hcl="`hour`">`hour`</span> means 6 hours). Requires replacement if changed.
|
|
157
165
|
*/
|
|
158
|
-
retentionValue?: pulumi.Input<number>;
|
|
166
|
+
retentionValue?: pulumi.Input<number | undefined>;
|
|
159
167
|
/**
|
|
160
168
|
* The size of the backup in bytes
|
|
161
169
|
*/
|
|
162
|
-
size?: pulumi.Input<number>;
|
|
170
|
+
size?: pulumi.Input<number | undefined>;
|
|
163
171
|
/**
|
|
164
172
|
* When the backup started
|
|
165
173
|
*/
|
|
166
|
-
startedAt?: pulumi.Input<string>;
|
|
174
|
+
startedAt?: pulumi.Input<string | undefined>;
|
|
167
175
|
/**
|
|
168
176
|
* The current state of the backup
|
|
169
177
|
*/
|
|
170
|
-
state?: pulumi.Input<string>;
|
|
178
|
+
state?: pulumi.Input<string | undefined>;
|
|
171
179
|
/**
|
|
172
180
|
* The uncompressed (logical) size of the backup in bytes
|
|
173
181
|
*/
|
|
174
|
-
uncompressedSize?: pulumi.Input<number>;
|
|
182
|
+
uncompressedSize?: pulumi.Input<number | undefined>;
|
|
175
183
|
}
|
|
176
184
|
/**
|
|
177
185
|
* The set of arguments for constructing a PostgresBranchBackup resource.
|
|
@@ -188,11 +196,11 @@ export interface PostgresBranchBackupArgs {
|
|
|
188
196
|
/**
|
|
189
197
|
* Whether the backup is an immediate backup that may affect database performance. Emergency backups are only supported for PostgreSQL databases. Requires replacement if changed.
|
|
190
198
|
*/
|
|
191
|
-
emergency?: pulumi.Input<boolean>;
|
|
199
|
+
emergency?: pulumi.Input<boolean | undefined>;
|
|
192
200
|
/**
|
|
193
201
|
* Name for the backup. Requires replacement if changed.
|
|
194
202
|
*/
|
|
195
|
-
name?: pulumi.Input<string>;
|
|
203
|
+
name?: pulumi.Input<string | undefined>;
|
|
196
204
|
/**
|
|
197
205
|
* The name of the organization the branch belongs to. Requires replacement if changed.
|
|
198
206
|
*/
|
|
@@ -200,10 +208,10 @@ export interface PostgresBranchBackupArgs {
|
|
|
200
208
|
/**
|
|
201
209
|
* Unit for the retention period of the backup. must be one of ["hour", "day", "week", "month", "year"]; Requires replacement if changed.
|
|
202
210
|
*/
|
|
203
|
-
retentionUnit?: pulumi.Input<string>;
|
|
211
|
+
retentionUnit?: pulumi.Input<string | undefined>;
|
|
204
212
|
/**
|
|
205
213
|
* Value between <span pulumi-lang-nodejs="`1`" pulumi-lang-dotnet="`1`" pulumi-lang-go="`1`" pulumi-lang-python="`1`" pulumi-lang-yaml="`1`" pulumi-lang-java="`1`" pulumi-lang-hcl="`1`">`1`</span> and <span pulumi-lang-nodejs="`1000`" pulumi-lang-dotnet="`1000`" pulumi-lang-go="`1000`" pulumi-lang-python="`1000`" pulumi-lang-yaml="`1000`" pulumi-lang-java="`1000`" pulumi-lang-hcl="`1000`">`1000`</span> for the retention period of the backup (i.e<span pulumi-lang-nodejs=" retentionValue " pulumi-lang-dotnet=" RetentionValue " pulumi-lang-go=" retentionValue " pulumi-lang-python=" retention_value " pulumi-lang-yaml=" retentionValue " pulumi-lang-java=" retentionValue " pulumi-lang-hcl=" retention_value "> retentionValue </span><span pulumi-lang-nodejs="`6`" pulumi-lang-dotnet="`6`" pulumi-lang-go="`6`" pulumi-lang-python="`6`" pulumi-lang-yaml="`6`" pulumi-lang-java="`6`" pulumi-lang-hcl="`6`">`6`</span> and<span pulumi-lang-nodejs=" retentionUnit " pulumi-lang-dotnet=" RetentionUnit " pulumi-lang-go=" retentionUnit " pulumi-lang-python=" retention_unit " pulumi-lang-yaml=" retentionUnit " pulumi-lang-java=" retentionUnit " pulumi-lang-hcl=" retention_unit "> retentionUnit </span><span pulumi-lang-nodejs="`hour`" pulumi-lang-dotnet="`Hour`" pulumi-lang-go="`hour`" pulumi-lang-python="`hour`" pulumi-lang-yaml="`hour`" pulumi-lang-java="`hour`" pulumi-lang-hcl="`hour`">`hour`</span> means 6 hours). Requires replacement if changed.
|
|
206
214
|
*/
|
|
207
|
-
retentionValue?: pulumi.Input<number>;
|
|
215
|
+
retentionValue?: pulumi.Input<number | undefined>;
|
|
208
216
|
}
|
|
209
217
|
//# sourceMappingURL=postgresBranchBackup.d.ts.map
|