@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,269 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
import * as inputs from "./types/input";
|
|
3
|
+
import * as outputs from "./types/output";
|
|
4
|
+
export declare class PostgresRedactedBranchRole extends pulumi.CustomResource {
|
|
5
|
+
/**
|
|
6
|
+
* Get an existing PostgresRedactedBranchRole resource's state with the given name, ID, and optional extra
|
|
7
|
+
* properties used to qualify the lookup.
|
|
8
|
+
*
|
|
9
|
+
* @param name The _unique_ name of the resulting resource.
|
|
10
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
11
|
+
* @param state Any extra arguments used during the lookup.
|
|
12
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
13
|
+
*/
|
|
14
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: PostgresRedactedBranchRoleState, opts?: pulumi.CustomResourceOptions): PostgresRedactedBranchRole;
|
|
15
|
+
/**
|
|
16
|
+
* Check whether an existing PostgresRedactedBranchRole 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?: PostgresRedactedBranchRoleState, opts?: pulumi.CustomResourceOptions): pulumi.Output<boolean>;
|
|
23
|
+
/**
|
|
24
|
+
* Returns true if the given object is an instance of PostgresRedactedBranchRole. This is designed to work even
|
|
25
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
26
|
+
*/
|
|
27
|
+
static isInstance(obj: any): obj is PostgresRedactedBranchRole;
|
|
28
|
+
/**
|
|
29
|
+
* The database connection string
|
|
30
|
+
*/
|
|
31
|
+
readonly accessHostUrl: pulumi.Output<string>;
|
|
32
|
+
readonly actorData: pulumi.Output<outputs.PostgresRedactedBranchRoleActorData>;
|
|
33
|
+
/**
|
|
34
|
+
* The base username without branch routing suffix
|
|
35
|
+
*/
|
|
36
|
+
readonly baseUsername: pulumi.Output<string>;
|
|
37
|
+
/**
|
|
38
|
+
* 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>.
|
|
39
|
+
*/
|
|
40
|
+
readonly branch: pulumi.Output<string>;
|
|
41
|
+
readonly branchData: pulumi.Output<outputs.PostgresRedactedBranchRoleBranchData>;
|
|
42
|
+
/**
|
|
43
|
+
* When the role was created
|
|
44
|
+
*/
|
|
45
|
+
readonly createdAt: pulumi.Output<string>;
|
|
46
|
+
/**
|
|
47
|
+
* 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`.
|
|
48
|
+
*/
|
|
49
|
+
readonly database: pulumi.Output<string>;
|
|
50
|
+
/**
|
|
51
|
+
* The database name
|
|
52
|
+
*/
|
|
53
|
+
readonly databaseName: pulumi.Output<string>;
|
|
54
|
+
/**
|
|
55
|
+
* Whether the role is the default postgres user
|
|
56
|
+
*/
|
|
57
|
+
readonly default: pulumi.Output<boolean>;
|
|
58
|
+
/**
|
|
59
|
+
* When the role was deleted
|
|
60
|
+
*/
|
|
61
|
+
readonly deletedAt: pulumi.Output<string>;
|
|
62
|
+
/**
|
|
63
|
+
* When the role was disabled
|
|
64
|
+
*/
|
|
65
|
+
readonly disabledAt: pulumi.Output<string>;
|
|
66
|
+
/**
|
|
67
|
+
* Error message available when dropping the role fails
|
|
68
|
+
*/
|
|
69
|
+
readonly dropFailed: pulumi.Output<string>;
|
|
70
|
+
/**
|
|
71
|
+
* When the role was dropped
|
|
72
|
+
*/
|
|
73
|
+
readonly droppedAt: pulumi.Output<string>;
|
|
74
|
+
/**
|
|
75
|
+
* True if the credentials are expired
|
|
76
|
+
*/
|
|
77
|
+
readonly expired: pulumi.Output<boolean>;
|
|
78
|
+
/**
|
|
79
|
+
* When the role expires
|
|
80
|
+
*/
|
|
81
|
+
readonly expiresAt: pulumi.Output<string>;
|
|
82
|
+
/**
|
|
83
|
+
* Roles to inherit from. Requires replacement if changed.
|
|
84
|
+
*/
|
|
85
|
+
readonly inheritedRoles: pulumi.Output<string[]>;
|
|
86
|
+
/**
|
|
87
|
+
* The name of the role
|
|
88
|
+
*/
|
|
89
|
+
readonly name: pulumi.Output<string>;
|
|
90
|
+
/**
|
|
91
|
+
* 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>.
|
|
92
|
+
*/
|
|
93
|
+
readonly organization: pulumi.Output<string>;
|
|
94
|
+
/**
|
|
95
|
+
* The database connection string for private connections
|
|
96
|
+
*/
|
|
97
|
+
readonly privateAccessHostUrl: pulumi.Output<string>;
|
|
98
|
+
/**
|
|
99
|
+
* The service name to set up private connectivity
|
|
100
|
+
*/
|
|
101
|
+
readonly privateConnectionServiceName: pulumi.Output<string>;
|
|
102
|
+
readonly querySafetySettings: pulumi.Output<outputs.PostgresRedactedBranchRoleQuerySafetySettings>;
|
|
103
|
+
/**
|
|
104
|
+
* The optional role to reassign ownership to before dropping. Accepts the role's ID, or its username with or without the branch ID suffix.
|
|
105
|
+
*/
|
|
106
|
+
readonly successor: pulumi.Output<string | undefined>;
|
|
107
|
+
/**
|
|
108
|
+
* Time to live in seconds. Requires replacement if changed.
|
|
109
|
+
*/
|
|
110
|
+
readonly ttl: pulumi.Output<number>;
|
|
111
|
+
/**
|
|
112
|
+
* When the role was updated
|
|
113
|
+
*/
|
|
114
|
+
readonly updatedAt: pulumi.Output<string>;
|
|
115
|
+
/**
|
|
116
|
+
* The database user name
|
|
117
|
+
*/
|
|
118
|
+
readonly username: pulumi.Output<string>;
|
|
119
|
+
/**
|
|
120
|
+
* Whether the role should have the REPLICATION attribute. Requires replacement if changed.
|
|
121
|
+
*/
|
|
122
|
+
readonly withReplication: pulumi.Output<boolean>;
|
|
123
|
+
/**
|
|
124
|
+
* Create a PostgresRedactedBranchRole resource with the given unique name, arguments, and options.
|
|
125
|
+
*
|
|
126
|
+
* @param name The _unique_ name of the resource.
|
|
127
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
128
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
129
|
+
*/
|
|
130
|
+
constructor(name: string, args: PostgresRedactedBranchRoleArgs, opts?: pulumi.CustomResourceOptions);
|
|
131
|
+
}
|
|
132
|
+
/**
|
|
133
|
+
* Input properties used for looking up and filtering PostgresRedactedBranchRole resources.
|
|
134
|
+
*/
|
|
135
|
+
export interface PostgresRedactedBranchRoleState {
|
|
136
|
+
/**
|
|
137
|
+
* The database connection string
|
|
138
|
+
*/
|
|
139
|
+
accessHostUrl?: pulumi.Input<string | undefined>;
|
|
140
|
+
actorData?: pulumi.Input<inputs.PostgresRedactedBranchRoleActorData | undefined>;
|
|
141
|
+
/**
|
|
142
|
+
* The base username without branch routing suffix
|
|
143
|
+
*/
|
|
144
|
+
baseUsername?: pulumi.Input<string | undefined>;
|
|
145
|
+
/**
|
|
146
|
+
* 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>.
|
|
147
|
+
*/
|
|
148
|
+
branch?: pulumi.Input<string | undefined>;
|
|
149
|
+
branchData?: pulumi.Input<inputs.PostgresRedactedBranchRoleBranchData | undefined>;
|
|
150
|
+
/**
|
|
151
|
+
* When the role was created
|
|
152
|
+
*/
|
|
153
|
+
createdAt?: pulumi.Input<string | undefined>;
|
|
154
|
+
/**
|
|
155
|
+
* 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`.
|
|
156
|
+
*/
|
|
157
|
+
database?: pulumi.Input<string | undefined>;
|
|
158
|
+
/**
|
|
159
|
+
* The database name
|
|
160
|
+
*/
|
|
161
|
+
databaseName?: pulumi.Input<string | undefined>;
|
|
162
|
+
/**
|
|
163
|
+
* Whether the role is the default postgres user
|
|
164
|
+
*/
|
|
165
|
+
default?: pulumi.Input<boolean | undefined>;
|
|
166
|
+
/**
|
|
167
|
+
* When the role was deleted
|
|
168
|
+
*/
|
|
169
|
+
deletedAt?: pulumi.Input<string | undefined>;
|
|
170
|
+
/**
|
|
171
|
+
* When the role was disabled
|
|
172
|
+
*/
|
|
173
|
+
disabledAt?: pulumi.Input<string | undefined>;
|
|
174
|
+
/**
|
|
175
|
+
* Error message available when dropping the role fails
|
|
176
|
+
*/
|
|
177
|
+
dropFailed?: pulumi.Input<string | undefined>;
|
|
178
|
+
/**
|
|
179
|
+
* When the role was dropped
|
|
180
|
+
*/
|
|
181
|
+
droppedAt?: pulumi.Input<string | undefined>;
|
|
182
|
+
/**
|
|
183
|
+
* True if the credentials are expired
|
|
184
|
+
*/
|
|
185
|
+
expired?: pulumi.Input<boolean | undefined>;
|
|
186
|
+
/**
|
|
187
|
+
* When the role expires
|
|
188
|
+
*/
|
|
189
|
+
expiresAt?: pulumi.Input<string | undefined>;
|
|
190
|
+
/**
|
|
191
|
+
* Roles to inherit from. Requires replacement if changed.
|
|
192
|
+
*/
|
|
193
|
+
inheritedRoles?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|
194
|
+
/**
|
|
195
|
+
* The name of the role
|
|
196
|
+
*/
|
|
197
|
+
name?: pulumi.Input<string | undefined>;
|
|
198
|
+
/**
|
|
199
|
+
* 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>.
|
|
200
|
+
*/
|
|
201
|
+
organization?: pulumi.Input<string | undefined>;
|
|
202
|
+
/**
|
|
203
|
+
* The database connection string for private connections
|
|
204
|
+
*/
|
|
205
|
+
privateAccessHostUrl?: pulumi.Input<string | undefined>;
|
|
206
|
+
/**
|
|
207
|
+
* The service name to set up private connectivity
|
|
208
|
+
*/
|
|
209
|
+
privateConnectionServiceName?: pulumi.Input<string | undefined>;
|
|
210
|
+
querySafetySettings?: pulumi.Input<inputs.PostgresRedactedBranchRoleQuerySafetySettings | undefined>;
|
|
211
|
+
/**
|
|
212
|
+
* The optional role to reassign ownership to before dropping. Accepts the role's ID, or its username with or without the branch ID suffix.
|
|
213
|
+
*/
|
|
214
|
+
successor?: pulumi.Input<string | undefined>;
|
|
215
|
+
/**
|
|
216
|
+
* Time to live in seconds. Requires replacement if changed.
|
|
217
|
+
*/
|
|
218
|
+
ttl?: pulumi.Input<number | undefined>;
|
|
219
|
+
/**
|
|
220
|
+
* When the role was updated
|
|
221
|
+
*/
|
|
222
|
+
updatedAt?: pulumi.Input<string | undefined>;
|
|
223
|
+
/**
|
|
224
|
+
* The database user name
|
|
225
|
+
*/
|
|
226
|
+
username?: pulumi.Input<string | undefined>;
|
|
227
|
+
/**
|
|
228
|
+
* Whether the role should have the REPLICATION attribute. Requires replacement if changed.
|
|
229
|
+
*/
|
|
230
|
+
withReplication?: pulumi.Input<boolean | undefined>;
|
|
231
|
+
}
|
|
232
|
+
/**
|
|
233
|
+
* The set of arguments for constructing a PostgresRedactedBranchRole resource.
|
|
234
|
+
*/
|
|
235
|
+
export interface PostgresRedactedBranchRoleArgs {
|
|
236
|
+
/**
|
|
237
|
+
* 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>.
|
|
238
|
+
*/
|
|
239
|
+
branch: pulumi.Input<string>;
|
|
240
|
+
/**
|
|
241
|
+
* 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`.
|
|
242
|
+
*/
|
|
243
|
+
database: pulumi.Input<string>;
|
|
244
|
+
/**
|
|
245
|
+
* Roles to inherit from. Requires replacement if changed.
|
|
246
|
+
*/
|
|
247
|
+
inheritedRoles?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|
248
|
+
/**
|
|
249
|
+
* The name of the role
|
|
250
|
+
*/
|
|
251
|
+
name?: pulumi.Input<string | undefined>;
|
|
252
|
+
/**
|
|
253
|
+
* 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>.
|
|
254
|
+
*/
|
|
255
|
+
organization: pulumi.Input<string>;
|
|
256
|
+
/**
|
|
257
|
+
* The optional role to reassign ownership to before dropping. Accepts the role's ID, or its username with or without the branch ID suffix.
|
|
258
|
+
*/
|
|
259
|
+
successor?: pulumi.Input<string | undefined>;
|
|
260
|
+
/**
|
|
261
|
+
* Time to live in seconds. Requires replacement if changed.
|
|
262
|
+
*/
|
|
263
|
+
ttl?: pulumi.Input<number | undefined>;
|
|
264
|
+
/**
|
|
265
|
+
* Whether the role should have the REPLICATION attribute. Requires replacement if changed.
|
|
266
|
+
*/
|
|
267
|
+
withReplication?: pulumi.Input<boolean | undefined>;
|
|
268
|
+
}
|
|
269
|
+
//# sourceMappingURL=postgresRedactedBranchRole.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"postgresRedactedBranchRole.d.ts","sourceRoot":"","sources":["../postgresRedactedBranchRole.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,0BAA2B,SAAQ,MAAM,CAAC,cAAc;IACjE;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,+BAA+B,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,0BAA0B;IAItK;;;;;;OAMG;WACW,MAAM,CAAC,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,KAAK,CAAC,EAAE,+BAA+B,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC;IAOpJ;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,0BAA0B;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AAC,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,GAAG,SAAS,CAAC,CAAC;IAClE;;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,SAAS,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC7C;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACvC;;OAEG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;CACvD"}
|
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.PostgresRedactedBranchRole = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
31
|
+
class PostgresRedactedBranchRole extends pulumi.CustomResource {
|
|
32
|
+
/**
|
|
33
|
+
* Get an existing PostgresRedactedBranchRole resource's state with the given name, ID, and optional extra
|
|
34
|
+
* properties used to qualify the lookup.
|
|
35
|
+
*
|
|
36
|
+
* @param name The _unique_ name of the resulting resource.
|
|
37
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
38
|
+
* @param state Any extra arguments used during the lookup.
|
|
39
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
40
|
+
*/
|
|
41
|
+
static get(name, id, state, opts) {
|
|
42
|
+
return new PostgresRedactedBranchRole(name, state, { ...opts, id: id });
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Check whether an existing PostgresRedactedBranchRole 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/postgresRedactedBranchRole:PostgresRedactedBranchRole", id, state || {}, { ...opts }, utilities.getPackage());
|
|
53
|
+
}
|
|
54
|
+
/** @internal */
|
|
55
|
+
static __pulumiType = 'planetscale:index/postgresRedactedBranchRole:PostgresRedactedBranchRole';
|
|
56
|
+
/**
|
|
57
|
+
* Returns true if the given object is an instance of PostgresRedactedBranchRole. This is designed to work even
|
|
58
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
59
|
+
*/
|
|
60
|
+
static isInstance(obj) {
|
|
61
|
+
if (obj === undefined || obj === null) {
|
|
62
|
+
return false;
|
|
63
|
+
}
|
|
64
|
+
return obj['__pulumiType'] === PostgresRedactedBranchRole.__pulumiType;
|
|
65
|
+
}
|
|
66
|
+
constructor(name, argsOrState, opts) {
|
|
67
|
+
let resourceInputs = {};
|
|
68
|
+
opts = opts || {};
|
|
69
|
+
if (opts.id) {
|
|
70
|
+
const state = argsOrState;
|
|
71
|
+
resourceInputs["accessHostUrl"] = state?.accessHostUrl;
|
|
72
|
+
resourceInputs["actorData"] = state?.actorData;
|
|
73
|
+
resourceInputs["baseUsername"] = state?.baseUsername;
|
|
74
|
+
resourceInputs["branch"] = state?.branch;
|
|
75
|
+
resourceInputs["branchData"] = state?.branchData;
|
|
76
|
+
resourceInputs["createdAt"] = state?.createdAt;
|
|
77
|
+
resourceInputs["database"] = state?.database;
|
|
78
|
+
resourceInputs["databaseName"] = state?.databaseName;
|
|
79
|
+
resourceInputs["default"] = state?.default;
|
|
80
|
+
resourceInputs["deletedAt"] = state?.deletedAt;
|
|
81
|
+
resourceInputs["disabledAt"] = state?.disabledAt;
|
|
82
|
+
resourceInputs["dropFailed"] = state?.dropFailed;
|
|
83
|
+
resourceInputs["droppedAt"] = state?.droppedAt;
|
|
84
|
+
resourceInputs["expired"] = state?.expired;
|
|
85
|
+
resourceInputs["expiresAt"] = state?.expiresAt;
|
|
86
|
+
resourceInputs["inheritedRoles"] = state?.inheritedRoles;
|
|
87
|
+
resourceInputs["name"] = state?.name;
|
|
88
|
+
resourceInputs["organization"] = state?.organization;
|
|
89
|
+
resourceInputs["privateAccessHostUrl"] = state?.privateAccessHostUrl;
|
|
90
|
+
resourceInputs["privateConnectionServiceName"] = state?.privateConnectionServiceName;
|
|
91
|
+
resourceInputs["querySafetySettings"] = state?.querySafetySettings;
|
|
92
|
+
resourceInputs["successor"] = state?.successor;
|
|
93
|
+
resourceInputs["ttl"] = state?.ttl;
|
|
94
|
+
resourceInputs["updatedAt"] = state?.updatedAt;
|
|
95
|
+
resourceInputs["username"] = state?.username;
|
|
96
|
+
resourceInputs["withReplication"] = state?.withReplication;
|
|
97
|
+
}
|
|
98
|
+
else {
|
|
99
|
+
const args = argsOrState;
|
|
100
|
+
if (args?.branch === undefined && !opts.urn) {
|
|
101
|
+
throw new Error("Missing required property 'branch'");
|
|
102
|
+
}
|
|
103
|
+
if (args?.database === undefined && !opts.urn) {
|
|
104
|
+
throw new Error("Missing required property 'database'");
|
|
105
|
+
}
|
|
106
|
+
if (args?.organization === undefined && !opts.urn) {
|
|
107
|
+
throw new Error("Missing required property 'organization'");
|
|
108
|
+
}
|
|
109
|
+
resourceInputs["branch"] = args?.branch;
|
|
110
|
+
resourceInputs["database"] = args?.database;
|
|
111
|
+
resourceInputs["inheritedRoles"] = args?.inheritedRoles;
|
|
112
|
+
resourceInputs["name"] = args?.name;
|
|
113
|
+
resourceInputs["organization"] = args?.organization;
|
|
114
|
+
resourceInputs["successor"] = args?.successor;
|
|
115
|
+
resourceInputs["ttl"] = args?.ttl;
|
|
116
|
+
resourceInputs["withReplication"] = args?.withReplication;
|
|
117
|
+
resourceInputs["accessHostUrl"] = undefined /*out*/;
|
|
118
|
+
resourceInputs["actorData"] = undefined /*out*/;
|
|
119
|
+
resourceInputs["baseUsername"] = undefined /*out*/;
|
|
120
|
+
resourceInputs["branchData"] = undefined /*out*/;
|
|
121
|
+
resourceInputs["createdAt"] = undefined /*out*/;
|
|
122
|
+
resourceInputs["databaseName"] = undefined /*out*/;
|
|
123
|
+
resourceInputs["default"] = undefined /*out*/;
|
|
124
|
+
resourceInputs["deletedAt"] = undefined /*out*/;
|
|
125
|
+
resourceInputs["disabledAt"] = undefined /*out*/;
|
|
126
|
+
resourceInputs["dropFailed"] = undefined /*out*/;
|
|
127
|
+
resourceInputs["droppedAt"] = undefined /*out*/;
|
|
128
|
+
resourceInputs["expired"] = undefined /*out*/;
|
|
129
|
+
resourceInputs["expiresAt"] = undefined /*out*/;
|
|
130
|
+
resourceInputs["privateAccessHostUrl"] = undefined /*out*/;
|
|
131
|
+
resourceInputs["privateConnectionServiceName"] = undefined /*out*/;
|
|
132
|
+
resourceInputs["querySafetySettings"] = undefined /*out*/;
|
|
133
|
+
resourceInputs["updatedAt"] = undefined /*out*/;
|
|
134
|
+
resourceInputs["username"] = undefined /*out*/;
|
|
135
|
+
}
|
|
136
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
137
|
+
super(PostgresRedactedBranchRole.__pulumiType, name, resourceInputs, opts, false /*dependency*/, utilities.getPackage());
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
exports.PostgresRedactedBranchRole = PostgresRedactedBranchRole;
|
|
141
|
+
//# sourceMappingURL=postgresRedactedBranchRole.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"postgresRedactedBranchRole.js","sourceRoot":"","sources":["../postgresRedactedBranchRole.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC,MAAa,0BAA2B,SAAQ,MAAM,CAAC,cAAc;IACjE;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAuC,EAAE,IAAmC;QACrI,OAAO,IAAI,0BAA0B,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACjF,CAAC;IAED;;;;;;OAMG;IACI,MAAM,CAAC,MAAM,CAAC,EAAwB,EAAE,KAAuC,EAAE,IAAmC;QACvH,OAAO,MAAM,CAAC,OAAO,CAAC,cAAc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,OAAO,CAAC;YACjD,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC9C,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,sBAAsB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC3D,cAAc,CAAC,8BAA8B,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACnE,cAAc,CAAC,qBAAqB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC1D,cAAc,CAAC,WAAW,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAChD,cAAc,CAAC,UAAU,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAClD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,0BAA0B,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,KAAK,CAAC,cAAc,EAAE,SAAS,CAAC,UAAU,EAAE,CAAC,CAAC;IAC7H,CAAC;;AAtNL,gEAuNC"}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
/**
|
|
3
|
+
* The provider type for the planetscale package. By default, resources use package-wide configuration
|
|
4
|
+
* settings, however an explicit `Provider` instance may be created and passed during resource
|
|
5
|
+
* construction to achieve fine-grained programmatic control over provider settings. See the
|
|
6
|
+
* [documentation](https://www.pulumi.com/docs/reference/programming-model/#providers) for more information.
|
|
7
|
+
*/
|
|
8
|
+
export declare class Provider extends pulumi.ProviderResource {
|
|
9
|
+
/**
|
|
10
|
+
* Returns true if the given object is an instance of Provider. This is designed to work even
|
|
11
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
12
|
+
*/
|
|
13
|
+
static isInstance(obj: any): obj is Provider;
|
|
14
|
+
/**
|
|
15
|
+
* Server URL (defaults to https://api.planetscale.com/v1)
|
|
16
|
+
*/
|
|
17
|
+
readonly serverUrl: pulumi.Output<string | undefined>;
|
|
18
|
+
/**
|
|
19
|
+
* PlanetScale Service Token. Configurable via environment variable `PLANETSCALE_SERVICE_TOKEN`.
|
|
20
|
+
*/
|
|
21
|
+
readonly serviceToken: pulumi.Output<string | undefined>;
|
|
22
|
+
/**
|
|
23
|
+
* PlanetScale Service Token ID. Configurable via environment variable `PLANETSCALE_SERVICE_TOKEN_ID`.
|
|
24
|
+
*/
|
|
25
|
+
readonly serviceTokenId: pulumi.Output<string | undefined>;
|
|
26
|
+
/**
|
|
27
|
+
* Create a Provider resource with the given unique name, arguments, and options.
|
|
28
|
+
*
|
|
29
|
+
* @param name The _unique_ name of the resource.
|
|
30
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
31
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
32
|
+
*/
|
|
33
|
+
constructor(name: string, args?: ProviderArgs, opts?: pulumi.ResourceOptions);
|
|
34
|
+
/**
|
|
35
|
+
* This function returns a Terraform config object with terraform-namecased keys,to be used with the Terraform Module Provider.
|
|
36
|
+
*/
|
|
37
|
+
terraformConfig(): pulumi.Output<{
|
|
38
|
+
[key: string]: any;
|
|
39
|
+
}>;
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* The set of arguments for constructing a Provider resource.
|
|
43
|
+
*/
|
|
44
|
+
export interface ProviderArgs {
|
|
45
|
+
/**
|
|
46
|
+
* Server URL (defaults to https://api.planetscale.com/v1)
|
|
47
|
+
*/
|
|
48
|
+
serverUrl?: pulumi.Input<string | undefined>;
|
|
49
|
+
/**
|
|
50
|
+
* PlanetScale Service Token. Configurable via environment variable `PLANETSCALE_SERVICE_TOKEN`.
|
|
51
|
+
*/
|
|
52
|
+
serviceToken?: pulumi.Input<string | undefined>;
|
|
53
|
+
/**
|
|
54
|
+
* PlanetScale Service Token ID. Configurable via environment variable `PLANETSCALE_SERVICE_TOKEN_ID`.
|
|
55
|
+
*/
|
|
56
|
+
serviceTokenId?: pulumi.Input<string | undefined>;
|
|
57
|
+
}
|
|
58
|
+
export declare namespace Provider {
|
|
59
|
+
/**
|
|
60
|
+
* The results of the Provider.terraformConfig method.
|
|
61
|
+
*/
|
|
62
|
+
interface TerraformConfigResult {
|
|
63
|
+
readonly result: {
|
|
64
|
+
[key: string]: any;
|
|
65
|
+
};
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
//# sourceMappingURL=provider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"provider.d.ts","sourceRoot":"","sources":["../provider.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;;;;GAKG;AACH,qBAAa,QAAS,SAAQ,MAAM,CAAC,gBAAgB;IAIjD;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,QAAQ;IAOnD;;OAEG;IACH,SAAwB,SAAS,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACrE;;OAEG;IACH,SAAwB,YAAY,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACxE;;OAEG;IACH,SAAwB,cAAc,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAE1E;;;;;;OAMG;gBACS,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,YAAY,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,eAAe;IAc5E;;OAEG;IACH,eAAe,IAAI,MAAM,CAAC,MAAM,CAAC;QAAC,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;KAAC,CAAC;CAMzD;AAED;;GAEG;AACH,MAAM,WAAW,YAAY;IACzB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC7C;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAChD;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CACrD;AAED,yBAAiB,QAAQ,CAAC;IACtB;;OAEG;IACH,UAAiB,qBAAqB;QAClC,QAAQ,CAAC,MAAM,EAAE;YAAC,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;SAAC,CAAC;KACzC;CAEJ"}
|
package/bin/provider.js
ADDED
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.Provider = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
31
|
+
/**
|
|
32
|
+
* The provider type for the planetscale package. By default, resources use package-wide configuration
|
|
33
|
+
* settings, however an explicit `Provider` instance may be created and passed during resource
|
|
34
|
+
* construction to achieve fine-grained programmatic control over provider settings. See the
|
|
35
|
+
* [documentation](https://www.pulumi.com/docs/reference/programming-model/#providers) for more information.
|
|
36
|
+
*/
|
|
37
|
+
class Provider extends pulumi.ProviderResource {
|
|
38
|
+
/** @internal */
|
|
39
|
+
static __pulumiType = 'planetscale';
|
|
40
|
+
/**
|
|
41
|
+
* Returns true if the given object is an instance of Provider. This is designed to work even
|
|
42
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
43
|
+
*/
|
|
44
|
+
static isInstance(obj) {
|
|
45
|
+
if (obj === undefined || obj === null) {
|
|
46
|
+
return false;
|
|
47
|
+
}
|
|
48
|
+
return obj['__pulumiType'] === "pulumi:providers:" + Provider.__pulumiType;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Create a Provider resource with the given unique name, arguments, and options.
|
|
52
|
+
*
|
|
53
|
+
* @param name The _unique_ name of the resource.
|
|
54
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
55
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
56
|
+
*/
|
|
57
|
+
constructor(name, args, opts) {
|
|
58
|
+
let resourceInputs = {};
|
|
59
|
+
opts = opts || {};
|
|
60
|
+
{
|
|
61
|
+
resourceInputs["serverUrl"] = args?.serverUrl;
|
|
62
|
+
resourceInputs["serviceToken"] = args?.serviceToken ? pulumi.secret(args.serviceToken) : undefined;
|
|
63
|
+
resourceInputs["serviceTokenId"] = args?.serviceTokenId ? pulumi.secret(args.serviceTokenId) : undefined;
|
|
64
|
+
}
|
|
65
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
66
|
+
const secretOpts = { additionalSecretOutputs: ["serviceToken", "serviceTokenId"] };
|
|
67
|
+
opts = pulumi.mergeOptions(opts, secretOpts);
|
|
68
|
+
super(Provider.__pulumiType, name, resourceInputs, opts, false /*dependency*/, utilities.getPackage());
|
|
69
|
+
}
|
|
70
|
+
/**
|
|
71
|
+
* This function returns a Terraform config object with terraform-namecased keys,to be used with the Terraform Module Provider.
|
|
72
|
+
*/
|
|
73
|
+
terraformConfig() {
|
|
74
|
+
const result = pulumi.runtime.call("pulumi:providers:planetscale/terraformConfig", {
|
|
75
|
+
"__self__": this,
|
|
76
|
+
}, this, utilities.getPackage());
|
|
77
|
+
return result.result;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
exports.Provider = Provider;
|
|
81
|
+
//# sourceMappingURL=provider.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"provider.js","sourceRoot":"","sources":["../provider.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC;;;;;GAKG;AACH,MAAa,QAAS,SAAQ,MAAM,CAAC,gBAAgB;IACjD,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,aAAa,CAAC;IAEpD;;;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,mBAAmB,GAA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 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../types/index.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,KAAK,MAAM,SAAS,CAAC;AACjC,OAAO,KAAK,MAAM,MAAM,UAAU,CAAC;AAEnC,OAAO,EACH,KAAK,EACL,MAAM,GACT,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// *** WARNING: this file was generated by pulumi-language-nodejs. ***
|
|
3
|
+
// *** Do not edit by hand unless you're certain you know what you are doing! ***
|
|
4
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
5
|
+
if (k2 === undefined) k2 = k;
|
|
6
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
7
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
8
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
9
|
+
}
|
|
10
|
+
Object.defineProperty(o, k2, desc);
|
|
11
|
+
}) : (function(o, m, k, k2) {
|
|
12
|
+
if (k2 === undefined) k2 = k;
|
|
13
|
+
o[k2] = m[k];
|
|
14
|
+
}));
|
|
15
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
16
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
17
|
+
}) : function(o, v) {
|
|
18
|
+
o["default"] = v;
|
|
19
|
+
});
|
|
20
|
+
var __importStar = (this && this.__importStar) || function (mod) {
|
|
21
|
+
if (mod && mod.__esModule) return mod;
|
|
22
|
+
var result = {};
|
|
23
|
+
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
|
24
|
+
__setModuleDefault(result, mod);
|
|
25
|
+
return result;
|
|
26
|
+
};
|
|
27
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
28
|
+
exports.output = exports.input = void 0;
|
|
29
|
+
// Export sub-modules:
|
|
30
|
+
const input = __importStar(require("./input"));
|
|
31
|
+
exports.input = input;
|
|
32
|
+
const output = __importStar(require("./output"));
|
|
33
|
+
exports.output = output;
|
|
34
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../types/index.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAIjF,sBAAsB;AACtB,+CAAiC;AAI7B,sBAAK;AAHT,iDAAmC;AAI/B,wBAAM"}
|