@lshay-provider/planetscale 0.0.0-stage → 1.14.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 +59 -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/getNekiSidecar.d.ts +48 -0
- package/bin/getNekiSidecar.d.ts.map +1 -0
- package/bin/getNekiSidecar.js +53 -0
- package/bin/getNekiSidecar.js.map +1 -0
- package/bin/getOrganization.d.ts +46 -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 +46 -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/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/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 +48 -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 +54 -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 +191 -0
- package/bin/index.d.ts.map +1 -0
- package/bin/index.js +289 -0
- package/bin/index.js.map +1 -0
- package/bin/nekiAdmin.d.ts +117 -0
- package/bin/nekiAdmin.d.ts.map +1 -0
- package/bin/nekiAdmin.js +91 -0
- package/bin/nekiAdmin.js.map +1 -0
- package/bin/nekiBackupPolicy.d.ts +177 -0
- package/bin/nekiBackupPolicy.d.ts.map +1 -0
- package/bin/nekiBackupPolicy.js +118 -0
- package/bin/nekiBackupPolicy.js.map +1 -0
- package/bin/nekiBranch.d.ts +159 -0
- package/bin/nekiBranch.d.ts.map +1 -0
- package/bin/nekiBranch.js +98 -0
- package/bin/nekiBranch.js.map +1 -0
- package/bin/nekiConfigurationProfile.d.ts +198 -0
- package/bin/nekiConfigurationProfile.d.ts.map +1 -0
- package/bin/nekiConfigurationProfile.js +107 -0
- package/bin/nekiConfigurationProfile.js.map +1 -0
- package/bin/nekiRole.d.ts +181 -0
- package/bin/nekiRole.d.ts.map +1 -0
- package/bin/nekiRole.js +109 -0
- package/bin/nekiRole.js.map +1 -0
- package/bin/nekiRouter.d.ts +185 -0
- package/bin/nekiRouter.d.ts.map +1 -0
- package/bin/nekiRouter.js +103 -0
- package/bin/nekiRouter.js.map +1 -0
- package/bin/nekiShard.d.ts +113 -0
- package/bin/nekiShard.d.ts.map +1 -0
- package/bin/nekiShard.js +96 -0
- package/bin/nekiShard.js.map +1 -0
- package/bin/nekiSidecar.d.ts +117 -0
- package/bin/nekiSidecar.d.ts.map +1 -0
- package/bin/nekiSidecar.js +94 -0
- package/bin/nekiSidecar.js.map +1 -0
- package/bin/package.json +35 -0
- package/bin/postgresBackupPolicy.d.ts +177 -0
- package/bin/postgresBackupPolicy.d.ts.map +1 -0
- package/bin/postgresBackupPolicy.js +100 -0
- package/bin/postgresBackupPolicy.js.map +1 -0
- package/bin/postgresBouncer.d.ts +149 -0
- package/bin/postgresBouncer.d.ts.map +1 -0
- package/bin/postgresBouncer.js +97 -0
- package/bin/postgresBouncer.js.map +1 -0
- package/bin/postgresBranch.d.ts +245 -0
- package/bin/postgresBranch.d.ts.map +1 -0
- package/bin/postgresBranch.js +116 -0
- package/bin/postgresBranch.js.map +1 -0
- package/bin/postgresBranchBackup.d.ts +209 -0
- package/bin/postgresBranchBackup.d.ts.map +1 -0
- package/bin/postgresBranchBackup.js +119 -0
- package/bin/postgresBranchBackup.js.map +1 -0
- package/bin/postgresBranchRole.d.ts +269 -0
- package/bin/postgresBranchRole.d.ts.map +1 -0
- package/bin/postgresBranchRole.js +135 -0
- package/bin/postgresBranchRole.js.map +1 -0
- package/bin/postgresDedicatedReadReplica.d.ts +145 -0
- package/bin/postgresDedicatedReadReplica.d.ts.map +1 -0
- package/bin/postgresDedicatedReadReplica.js +102 -0
- package/bin/postgresDedicatedReadReplica.js.map +1 -0
- package/bin/postgresReadOnlyReplica.d.ts +145 -0
- package/bin/postgresReadOnlyReplica.d.ts.map +1 -0
- package/bin/postgresReadOnlyReplica.js +102 -0
- package/bin/postgresReadOnlyReplica.js.map +1 -0
- package/bin/postgresRedactedBranchRole.d.ts +261 -0
- package/bin/postgresRedactedBranchRole.d.ts.map +1 -0
- package/bin/postgresRedactedBranchRole.js +131 -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 +298 -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 +1912 -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 +152 -0
- package/bin/utilities.js.map +1 -0
- package/bin/vitessBackupPolicy.d.ts +177 -0
- package/bin/vitessBackupPolicy.d.ts.map +1 -0
- package/bin/vitessBackupPolicy.js +100 -0
- package/bin/vitessBackupPolicy.js.map +1 -0
- package/bin/vitessBranch.d.ts +291 -0
- package/bin/vitessBranch.d.ts.map +1 -0
- package/bin/vitessBranch.js +126 -0
- package/bin/vitessBranch.js.map +1 -0
- package/bin/vitessBranchBackup.d.ts +197 -0
- package/bin/vitessBranchBackup.d.ts.map +1 -0
- package/bin/vitessBranchBackup.js +117 -0
- package/bin/vitessBranchBackup.js.map +1 -0
- package/bin/vitessBranchPassword.d.ts +257 -0
- package/bin/vitessBranchPassword.d.ts.map +1 -0
- package/bin/vitessBranchPassword.js +131 -0
- package/bin/vitessBranchPassword.js.map +1 -0
- package/bin/vitessKeyspace.d.ts +249 -0
- package/bin/vitessKeyspace.d.ts.map +1 -0
- package/bin/vitessKeyspace.js +132 -0
- package/bin/vitessKeyspace.js.map +1 -0
- package/package.json +32 -3
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
export declare class NekiBranch extends pulumi.CustomResource {
|
|
3
|
+
/**
|
|
4
|
+
* Get an existing NekiBranch resource's state with the given name, ID, and optional extra
|
|
5
|
+
* properties used to qualify the lookup.
|
|
6
|
+
*
|
|
7
|
+
* @param name The _unique_ name of the resulting resource.
|
|
8
|
+
* @param id The _unique_ provider ID of the resource to lookup.
|
|
9
|
+
* @param state Any extra arguments used during the lookup.
|
|
10
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
11
|
+
*/
|
|
12
|
+
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: NekiBranchState, opts?: pulumi.CustomResourceOptions): NekiBranch;
|
|
13
|
+
/**
|
|
14
|
+
* Returns true if the given object is an instance of NekiBranch. This is designed to work even
|
|
15
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
16
|
+
*/
|
|
17
|
+
static isInstance(obj: any): obj is NekiBranch;
|
|
18
|
+
/**
|
|
19
|
+
* **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
20
|
+
* 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.
|
|
21
|
+
*/
|
|
22
|
+
readonly backupId: pulumi.Output<string | undefined>;
|
|
23
|
+
/**
|
|
24
|
+
* 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`. Requires replacement if changed.
|
|
25
|
+
*/
|
|
26
|
+
readonly database: pulumi.Output<string>;
|
|
27
|
+
/**
|
|
28
|
+
* If true, recursively delete all descendant branches along with this branch
|
|
29
|
+
*/
|
|
30
|
+
readonly deleteDescendants: pulumi.Output<boolean | undefined>;
|
|
31
|
+
/**
|
|
32
|
+
* Whether deletion protection is enabled for the branch
|
|
33
|
+
*/
|
|
34
|
+
readonly deletionProtected: pulumi.Output<boolean>;
|
|
35
|
+
/**
|
|
36
|
+
* The name of the branch to create
|
|
37
|
+
*/
|
|
38
|
+
readonly name: pulumi.Output<string>;
|
|
39
|
+
/**
|
|
40
|
+
* 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>. Requires replacement if changed.
|
|
41
|
+
*/
|
|
42
|
+
readonly organization: pulumi.Output<string>;
|
|
43
|
+
/**
|
|
44
|
+
* The name of the parent branch. Defaults to the database's default branch if not provided. Requires replacement if changed.
|
|
45
|
+
*/
|
|
46
|
+
readonly parentBranch: pulumi.Output<string>;
|
|
47
|
+
/**
|
|
48
|
+
* 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.
|
|
49
|
+
*/
|
|
50
|
+
readonly region: pulumi.Output<string>;
|
|
51
|
+
/**
|
|
52
|
+
* **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
53
|
+
* Restore the Neki branch from a point-in-time recovery timestamp, for example 2026-01-01T00:00:00Z. Requires replacement if changed.
|
|
54
|
+
*/
|
|
55
|
+
readonly restorePoint: pulumi.Output<string | undefined>;
|
|
56
|
+
/**
|
|
57
|
+
* The current state of the branch
|
|
58
|
+
*/
|
|
59
|
+
readonly state: pulumi.Output<string>;
|
|
60
|
+
/**
|
|
61
|
+
* Create a NekiBranch resource with the given unique name, arguments, and options.
|
|
62
|
+
*
|
|
63
|
+
* @param name The _unique_ name of the resource.
|
|
64
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
65
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
66
|
+
*/
|
|
67
|
+
constructor(name: string, args: NekiBranchArgs, opts?: pulumi.CustomResourceOptions);
|
|
68
|
+
}
|
|
69
|
+
/**
|
|
70
|
+
* Input properties used for looking up and filtering NekiBranch resources.
|
|
71
|
+
*/
|
|
72
|
+
export interface NekiBranchState {
|
|
73
|
+
/**
|
|
74
|
+
* **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
75
|
+
* 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.
|
|
76
|
+
*/
|
|
77
|
+
backupId?: pulumi.Input<string>;
|
|
78
|
+
/**
|
|
79
|
+
* 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`. Requires replacement if changed.
|
|
80
|
+
*/
|
|
81
|
+
database?: pulumi.Input<string>;
|
|
82
|
+
/**
|
|
83
|
+
* If true, recursively delete all descendant branches along with this branch
|
|
84
|
+
*/
|
|
85
|
+
deleteDescendants?: pulumi.Input<boolean>;
|
|
86
|
+
/**
|
|
87
|
+
* Whether deletion protection is enabled for the branch
|
|
88
|
+
*/
|
|
89
|
+
deletionProtected?: pulumi.Input<boolean>;
|
|
90
|
+
/**
|
|
91
|
+
* The name of the branch to create
|
|
92
|
+
*/
|
|
93
|
+
name?: pulumi.Input<string>;
|
|
94
|
+
/**
|
|
95
|
+
* 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>. Requires replacement if changed.
|
|
96
|
+
*/
|
|
97
|
+
organization?: pulumi.Input<string>;
|
|
98
|
+
/**
|
|
99
|
+
* The name of the parent branch. Defaults to the database's default branch if not provided. Requires replacement if changed.
|
|
100
|
+
*/
|
|
101
|
+
parentBranch?: pulumi.Input<string>;
|
|
102
|
+
/**
|
|
103
|
+
* 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.
|
|
104
|
+
*/
|
|
105
|
+
region?: pulumi.Input<string>;
|
|
106
|
+
/**
|
|
107
|
+
* **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
108
|
+
* Restore the Neki branch from a point-in-time recovery timestamp, for example 2026-01-01T00:00:00Z. Requires replacement if changed.
|
|
109
|
+
*/
|
|
110
|
+
restorePoint?: pulumi.Input<string>;
|
|
111
|
+
/**
|
|
112
|
+
* The current state of the branch
|
|
113
|
+
*/
|
|
114
|
+
state?: pulumi.Input<string>;
|
|
115
|
+
}
|
|
116
|
+
/**
|
|
117
|
+
* The set of arguments for constructing a NekiBranch resource.
|
|
118
|
+
*/
|
|
119
|
+
export interface NekiBranchArgs {
|
|
120
|
+
/**
|
|
121
|
+
* **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
122
|
+
* 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.
|
|
123
|
+
*/
|
|
124
|
+
backupId?: pulumi.Input<string>;
|
|
125
|
+
/**
|
|
126
|
+
* 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`. Requires replacement if changed.
|
|
127
|
+
*/
|
|
128
|
+
database: pulumi.Input<string>;
|
|
129
|
+
/**
|
|
130
|
+
* If true, recursively delete all descendant branches along with this branch
|
|
131
|
+
*/
|
|
132
|
+
deleteDescendants?: pulumi.Input<boolean>;
|
|
133
|
+
/**
|
|
134
|
+
* Whether deletion protection is enabled for the branch
|
|
135
|
+
*/
|
|
136
|
+
deletionProtected?: pulumi.Input<boolean>;
|
|
137
|
+
/**
|
|
138
|
+
* The name of the branch to create
|
|
139
|
+
*/
|
|
140
|
+
name?: pulumi.Input<string>;
|
|
141
|
+
/**
|
|
142
|
+
* 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>. Requires replacement if changed.
|
|
143
|
+
*/
|
|
144
|
+
organization: pulumi.Input<string>;
|
|
145
|
+
/**
|
|
146
|
+
* The name of the parent branch. Defaults to the database's default branch if not provided. Requires replacement if changed.
|
|
147
|
+
*/
|
|
148
|
+
parentBranch?: pulumi.Input<string>;
|
|
149
|
+
/**
|
|
150
|
+
* 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.
|
|
151
|
+
*/
|
|
152
|
+
region?: pulumi.Input<string>;
|
|
153
|
+
/**
|
|
154
|
+
* **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
155
|
+
* Restore the Neki branch from a point-in-time recovery timestamp, for example 2026-01-01T00:00:00Z. Requires replacement if changed.
|
|
156
|
+
*/
|
|
157
|
+
restorePoint?: pulumi.Input<string>;
|
|
158
|
+
}
|
|
159
|
+
//# sourceMappingURL=nekiBranch.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"nekiBranch.d.ts","sourceRoot":"","sources":["../nekiBranch.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC,qBAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;IACjD;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,eAAe,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,UAAU;IAOtI;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,UAAU;IAOrD;;;OAGG;IACH,SAAwB,QAAQ,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACpE;;OAEG;IACH,SAAwB,QAAQ,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACxD;;OAEG;IACH,SAAwB,iBAAiB,EAAE,MAAM,CAAC,MAAM,CAAC,OAAO,GAAG,SAAS,CAAC,CAAC;IAC9E;;OAEG;IACH,SAAwB,iBAAiB,EAAE,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,CAAC;IAClE;;OAEG;IACH,SAAwB,IAAI,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACpD;;OAEG;IACH,SAAwB,YAAY,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAC5D;;OAEG;IACH,SAAwB,YAAY,EAAE,MAAM,CAAC,MAAM,C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C;AAED;;GAEG;AACH,MAAM,WAAW,cAAc;IAC3B;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAChC;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC/B;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;IAC1C;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;IAC1C;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC5B;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACnC;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACpC;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC9B;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CACvC"}
|
|
@@ -0,0 +1,98 @@
|
|
|
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.NekiBranch = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
31
|
+
class NekiBranch extends pulumi.CustomResource {
|
|
32
|
+
/**
|
|
33
|
+
* Get an existing NekiBranch 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 NekiBranch(name, state, { ...opts, id: id });
|
|
43
|
+
}
|
|
44
|
+
/** @internal */
|
|
45
|
+
static __pulumiType = 'planetscale:index/nekiBranch:NekiBranch';
|
|
46
|
+
/**
|
|
47
|
+
* Returns true if the given object is an instance of NekiBranch. This is designed to work even
|
|
48
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
49
|
+
*/
|
|
50
|
+
static isInstance(obj) {
|
|
51
|
+
if (obj === undefined || obj === null) {
|
|
52
|
+
return false;
|
|
53
|
+
}
|
|
54
|
+
return obj['__pulumiType'] === NekiBranch.__pulumiType;
|
|
55
|
+
}
|
|
56
|
+
constructor(name, argsOrState, opts) {
|
|
57
|
+
let resourceInputs = {};
|
|
58
|
+
opts = opts || {};
|
|
59
|
+
if (opts.id) {
|
|
60
|
+
const state = argsOrState;
|
|
61
|
+
resourceInputs["backupId"] = state?.backupId;
|
|
62
|
+
resourceInputs["database"] = state?.database;
|
|
63
|
+
resourceInputs["deleteDescendants"] = state?.deleteDescendants;
|
|
64
|
+
resourceInputs["deletionProtected"] = state?.deletionProtected;
|
|
65
|
+
resourceInputs["name"] = state?.name;
|
|
66
|
+
resourceInputs["organization"] = state?.organization;
|
|
67
|
+
resourceInputs["parentBranch"] = state?.parentBranch;
|
|
68
|
+
resourceInputs["region"] = state?.region;
|
|
69
|
+
resourceInputs["restorePoint"] = state?.restorePoint;
|
|
70
|
+
resourceInputs["state"] = state?.state;
|
|
71
|
+
}
|
|
72
|
+
else {
|
|
73
|
+
const args = argsOrState;
|
|
74
|
+
if (args?.database === undefined && !opts.urn) {
|
|
75
|
+
throw new Error("Missing required property 'database'");
|
|
76
|
+
}
|
|
77
|
+
if (args?.organization === undefined && !opts.urn) {
|
|
78
|
+
throw new Error("Missing required property 'organization'");
|
|
79
|
+
}
|
|
80
|
+
resourceInputs["backupId"] = args?.backupId ? pulumi.secret(args.backupId) : undefined;
|
|
81
|
+
resourceInputs["database"] = args?.database;
|
|
82
|
+
resourceInputs["deleteDescendants"] = args?.deleteDescendants;
|
|
83
|
+
resourceInputs["deletionProtected"] = args?.deletionProtected;
|
|
84
|
+
resourceInputs["name"] = args?.name;
|
|
85
|
+
resourceInputs["organization"] = args?.organization;
|
|
86
|
+
resourceInputs["parentBranch"] = args?.parentBranch;
|
|
87
|
+
resourceInputs["region"] = args?.region;
|
|
88
|
+
resourceInputs["restorePoint"] = args?.restorePoint ? pulumi.secret(args.restorePoint) : undefined;
|
|
89
|
+
resourceInputs["state"] = undefined /*out*/;
|
|
90
|
+
}
|
|
91
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
92
|
+
const secretOpts = { additionalSecretOutputs: ["backupId", "restorePoint"] };
|
|
93
|
+
opts = pulumi.mergeOptions(opts, secretOpts);
|
|
94
|
+
super(NekiBranch.__pulumiType, name, resourceInputs, opts, false /*dependency*/, utilities.getPackage());
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
exports.NekiBranch = NekiBranch;
|
|
98
|
+
//# sourceMappingURL=nekiBranch.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"nekiBranch.js","sourceRoot":"","sources":["../nekiBranch.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC,MAAa,UAAW,SAAQ,MAAM,CAAC,cAAc;IACjD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAuB,EAAE,IAAmC;QACrH,OAAO,IAAI,UAAU,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACjE,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,yCAAyC,CAAC;IAEhF;;;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,UAAU,CAAC,YAAY,CAAC;IAC3D,CAAC;IAqDD,YAAY,IAAY,EAAE,WAA8C,EAAE,IAAmC;QACzG,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,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AQ,CAAC;YAC5C,cAAc,CAAC,mBAAmB,CAAC,GAAG,IAAI,EAAE,iBAAiB,CAAC;YAC9D,cAAc,CAAC,mBAAmB,CAAC,GAAG,IAAI,EAAE,iBAAiB,CAAC;YAC9D,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,EAAE,IAAI,CAAC;YACpC,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,EAAE,YAAY,CAAC;YACpD,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,EAAE,YAAY,CAAC;YACpD,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,EAAE,MAAM,CAAC;YACxC,cAAc,CAAC,cAAc,CAAC,GAAG,IAAI,EAAE,YAAY,CAAC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,YAAY,CAAC,CAAC,CAAC,CAAC,SAAS,CAAC;YACnG,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,MAAM,UAAU,GAAG,EAAE,uBAAuB,EAAE,CAAC,UAAU,EAAE,cAAc,CAAC,EAAE,CAAC;QAC7E,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,EAAE,UAAU,CAAC,CAAC;QAC7C,KAAK,CAAC,UAAU,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,KAAK,CAAC,cAAc,EAAE,SAAS,CAAC,UAAU,EAAE,CAAC,CAAC;IAC7G,CAAC;;AArHL,gCAsHC"}
|
|
@@ -0,0 +1,198 @@
|
|
|
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 NekiConfigurationProfile extends pulumi.CustomResource {
|
|
5
|
+
/**
|
|
6
|
+
* Get an existing NekiConfigurationProfile 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?: NekiConfigurationProfileState, opts?: pulumi.CustomResourceOptions): NekiConfigurationProfile;
|
|
15
|
+
/**
|
|
16
|
+
* Returns true if the given object is an instance of NekiConfigurationProfile. This is designed to work even
|
|
17
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
18
|
+
*/
|
|
19
|
+
static isInstance(obj: any): obj is NekiConfigurationProfile;
|
|
20
|
+
/**
|
|
21
|
+
* 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>. Requires replacement if changed.
|
|
22
|
+
*/
|
|
23
|
+
readonly branch: pulumi.Output<string>;
|
|
24
|
+
/**
|
|
25
|
+
* The database cluster size name for shards assigned to this profile. Updates in place through Neki maintenance.
|
|
26
|
+
*/
|
|
27
|
+
readonly clusterSize: pulumi.Output<string>;
|
|
28
|
+
/**
|
|
29
|
+
* 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`. Requires replacement if changed.
|
|
30
|
+
*/
|
|
31
|
+
readonly database: pulumi.Output<string>;
|
|
32
|
+
/**
|
|
33
|
+
* Extensions to enable. This replaces the current set; omit it to leave them unchanged. Use an empty set to disable them. Do not combine this with<span pulumi-lang-nodejs=" sharedPreloadLibraries " pulumi-lang-dotnet=" SharedPreloadLibraries " pulumi-lang-go=" sharedPreloadLibraries " pulumi-lang-python=" shared_preload_libraries " pulumi-lang-yaml=" sharedPreloadLibraries " pulumi-lang-java=" sharedPreloadLibraries " pulumi-lang-hcl=" shared_preload_libraries "> sharedPreloadLibraries </span>or<span pulumi-lang-nodejs=" sessionPreloadLibraries " pulumi-lang-dotnet=" SessionPreloadLibraries " pulumi-lang-go=" sessionPreloadLibraries " pulumi-lang-python=" session_preload_libraries " pulumi-lang-yaml=" sessionPreloadLibraries " pulumi-lang-java=" sessionPreloadLibraries " pulumi-lang-hcl=" session_preload_libraries "> sessionPreloadLibraries </span>parameters.
|
|
34
|
+
*/
|
|
35
|
+
readonly extensions: pulumi.Output<string[] | undefined>;
|
|
36
|
+
/**
|
|
37
|
+
* Whether this is the default configuration profile
|
|
38
|
+
*/
|
|
39
|
+
readonly isDefault: pulumi.Output<boolean>;
|
|
40
|
+
/**
|
|
41
|
+
* The profile name. The API uses this as the profile identity, so changing it requires replacement. Requires replacement if changed.
|
|
42
|
+
*/
|
|
43
|
+
readonly name: pulumi.Output<string>;
|
|
44
|
+
/**
|
|
45
|
+
* 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>. Requires replacement if changed.
|
|
46
|
+
*/
|
|
47
|
+
readonly organization: pulumi.Output<string>;
|
|
48
|
+
/**
|
|
49
|
+
* Desired effective parameter values nested by namespace, 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" } }. Configure extension settings using their <span pulumi-lang-nodejs="`pgconf`" pulumi-lang-dotnet="`Pgconf`" pulumi-lang-go="`pgconf`" pulumi-lang-python="`pgconf`" pulumi-lang-yaml="`pgconf`" pulumi-lang-java="`pgconf`" pulumi-lang-hcl="`pgconf`">`pgconf`</span> keys (for example, `pgconf.auto_explain.log_level`). Omitted parameters reset to their defaults, except<span pulumi-lang-nodejs=" sharedPreloadLibraries " pulumi-lang-dotnet=" SharedPreloadLibraries " pulumi-lang-go=" sharedPreloadLibraries " pulumi-lang-python=" shared_preload_libraries " pulumi-lang-yaml=" sharedPreloadLibraries " pulumi-lang-java=" sharedPreloadLibraries " pulumi-lang-hcl=" shared_preload_libraries "> sharedPreloadLibraries </span>and session_preload_libraries, which remain unchanged. To disable extensions, set extensions to an empty list or explicitly update the preload parameters.
|
|
50
|
+
*/
|
|
51
|
+
readonly parameters: pulumi.Output<{
|
|
52
|
+
[key: string]: {
|
|
53
|
+
[key: string]: string;
|
|
54
|
+
};
|
|
55
|
+
}>;
|
|
56
|
+
/**
|
|
57
|
+
* The PostgreSQL major version for the configuration profile
|
|
58
|
+
*/
|
|
59
|
+
readonly postgresMajorVersion: pulumi.Output<number>;
|
|
60
|
+
/**
|
|
61
|
+
* The PostgreSQL minor version for the configuration profile. Requires<span pulumi-lang-nodejs=" postgresMajorVersion " pulumi-lang-dotnet=" PostgresMajorVersion " pulumi-lang-go=" postgresMajorVersion " pulumi-lang-python=" postgres_major_version " pulumi-lang-yaml=" postgresMajorVersion " pulumi-lang-java=" postgresMajorVersion " pulumi-lang-hcl=" postgres_major_version "> postgresMajorVersion </span>when specified.
|
|
62
|
+
*/
|
|
63
|
+
readonly postgresMinorVersion: pulumi.Output<number>;
|
|
64
|
+
/**
|
|
65
|
+
* The new number of replicas for the configuration profile
|
|
66
|
+
*/
|
|
67
|
+
readonly replicas: pulumi.Output<number>;
|
|
68
|
+
/**
|
|
69
|
+
* The number of shards using this configuration profile
|
|
70
|
+
*/
|
|
71
|
+
readonly shardCount: pulumi.Output<number>;
|
|
72
|
+
/**
|
|
73
|
+
* The current state of the configuration profile
|
|
74
|
+
*/
|
|
75
|
+
readonly state: pulumi.Output<string>;
|
|
76
|
+
readonly storage: pulumi.Output<outputs.NekiConfigurationProfileStorage>;
|
|
77
|
+
/**
|
|
78
|
+
* Create a NekiConfigurationProfile resource with the given unique name, arguments, and options.
|
|
79
|
+
*
|
|
80
|
+
* @param name The _unique_ name of the resource.
|
|
81
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
82
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
83
|
+
*/
|
|
84
|
+
constructor(name: string, args: NekiConfigurationProfileArgs, opts?: pulumi.CustomResourceOptions);
|
|
85
|
+
}
|
|
86
|
+
/**
|
|
87
|
+
* Input properties used for looking up and filtering NekiConfigurationProfile resources.
|
|
88
|
+
*/
|
|
89
|
+
export interface NekiConfigurationProfileState {
|
|
90
|
+
/**
|
|
91
|
+
* 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>. Requires replacement if changed.
|
|
92
|
+
*/
|
|
93
|
+
branch?: pulumi.Input<string>;
|
|
94
|
+
/**
|
|
95
|
+
* The database cluster size name for shards assigned to this profile. Updates in place through Neki maintenance.
|
|
96
|
+
*/
|
|
97
|
+
clusterSize?: pulumi.Input<string>;
|
|
98
|
+
/**
|
|
99
|
+
* 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`. Requires replacement if changed.
|
|
100
|
+
*/
|
|
101
|
+
database?: pulumi.Input<string>;
|
|
102
|
+
/**
|
|
103
|
+
* Extensions to enable. This replaces the current set; omit it to leave them unchanged. Use an empty set to disable them. Do not combine this with<span pulumi-lang-nodejs=" sharedPreloadLibraries " pulumi-lang-dotnet=" SharedPreloadLibraries " pulumi-lang-go=" sharedPreloadLibraries " pulumi-lang-python=" shared_preload_libraries " pulumi-lang-yaml=" sharedPreloadLibraries " pulumi-lang-java=" sharedPreloadLibraries " pulumi-lang-hcl=" shared_preload_libraries "> sharedPreloadLibraries </span>or<span pulumi-lang-nodejs=" sessionPreloadLibraries " pulumi-lang-dotnet=" SessionPreloadLibraries " pulumi-lang-go=" sessionPreloadLibraries " pulumi-lang-python=" session_preload_libraries " pulumi-lang-yaml=" sessionPreloadLibraries " pulumi-lang-java=" sessionPreloadLibraries " pulumi-lang-hcl=" session_preload_libraries "> sessionPreloadLibraries </span>parameters.
|
|
104
|
+
*/
|
|
105
|
+
extensions?: pulumi.Input<pulumi.Input<string>[]>;
|
|
106
|
+
/**
|
|
107
|
+
* Whether this is the default configuration profile
|
|
108
|
+
*/
|
|
109
|
+
isDefault?: pulumi.Input<boolean>;
|
|
110
|
+
/**
|
|
111
|
+
* The profile name. The API uses this as the profile identity, so changing it requires replacement. Requires replacement if changed.
|
|
112
|
+
*/
|
|
113
|
+
name?: pulumi.Input<string>;
|
|
114
|
+
/**
|
|
115
|
+
* 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>. Requires replacement if changed.
|
|
116
|
+
*/
|
|
117
|
+
organization?: pulumi.Input<string>;
|
|
118
|
+
/**
|
|
119
|
+
* Desired effective parameter values nested by namespace, 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" } }. Configure extension settings using their <span pulumi-lang-nodejs="`pgconf`" pulumi-lang-dotnet="`Pgconf`" pulumi-lang-go="`pgconf`" pulumi-lang-python="`pgconf`" pulumi-lang-yaml="`pgconf`" pulumi-lang-java="`pgconf`" pulumi-lang-hcl="`pgconf`">`pgconf`</span> keys (for example, `pgconf.auto_explain.log_level`). Omitted parameters reset to their defaults, except<span pulumi-lang-nodejs=" sharedPreloadLibraries " pulumi-lang-dotnet=" SharedPreloadLibraries " pulumi-lang-go=" sharedPreloadLibraries " pulumi-lang-python=" shared_preload_libraries " pulumi-lang-yaml=" sharedPreloadLibraries " pulumi-lang-java=" sharedPreloadLibraries " pulumi-lang-hcl=" shared_preload_libraries "> sharedPreloadLibraries </span>and session_preload_libraries, which remain unchanged. To disable extensions, set extensions to an empty list or explicitly update the preload parameters.
|
|
120
|
+
*/
|
|
121
|
+
parameters?: pulumi.Input<{
|
|
122
|
+
[key: string]: pulumi.Input<{
|
|
123
|
+
[key: string]: pulumi.Input<string>;
|
|
124
|
+
}>;
|
|
125
|
+
}>;
|
|
126
|
+
/**
|
|
127
|
+
* The PostgreSQL major version for the configuration profile
|
|
128
|
+
*/
|
|
129
|
+
postgresMajorVersion?: pulumi.Input<number>;
|
|
130
|
+
/**
|
|
131
|
+
* The PostgreSQL minor version for the configuration profile. Requires<span pulumi-lang-nodejs=" postgresMajorVersion " pulumi-lang-dotnet=" PostgresMajorVersion " pulumi-lang-go=" postgresMajorVersion " pulumi-lang-python=" postgres_major_version " pulumi-lang-yaml=" postgresMajorVersion " pulumi-lang-java=" postgresMajorVersion " pulumi-lang-hcl=" postgres_major_version "> postgresMajorVersion </span>when specified.
|
|
132
|
+
*/
|
|
133
|
+
postgresMinorVersion?: pulumi.Input<number>;
|
|
134
|
+
/**
|
|
135
|
+
* The new number of replicas for the configuration profile
|
|
136
|
+
*/
|
|
137
|
+
replicas?: pulumi.Input<number>;
|
|
138
|
+
/**
|
|
139
|
+
* The number of shards using this configuration profile
|
|
140
|
+
*/
|
|
141
|
+
shardCount?: pulumi.Input<number>;
|
|
142
|
+
/**
|
|
143
|
+
* The current state of the configuration profile
|
|
144
|
+
*/
|
|
145
|
+
state?: pulumi.Input<string>;
|
|
146
|
+
storage?: pulumi.Input<inputs.NekiConfigurationProfileStorage>;
|
|
147
|
+
}
|
|
148
|
+
/**
|
|
149
|
+
* The set of arguments for constructing a NekiConfigurationProfile resource.
|
|
150
|
+
*/
|
|
151
|
+
export interface NekiConfigurationProfileArgs {
|
|
152
|
+
/**
|
|
153
|
+
* 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>. Requires replacement if changed.
|
|
154
|
+
*/
|
|
155
|
+
branch: pulumi.Input<string>;
|
|
156
|
+
/**
|
|
157
|
+
* The database cluster size name for shards assigned to this profile. Updates in place through Neki maintenance.
|
|
158
|
+
*/
|
|
159
|
+
clusterSize?: pulumi.Input<string>;
|
|
160
|
+
/**
|
|
161
|
+
* 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`. Requires replacement if changed.
|
|
162
|
+
*/
|
|
163
|
+
database: pulumi.Input<string>;
|
|
164
|
+
/**
|
|
165
|
+
* Extensions to enable. This replaces the current set; omit it to leave them unchanged. Use an empty set to disable them. Do not combine this with<span pulumi-lang-nodejs=" sharedPreloadLibraries " pulumi-lang-dotnet=" SharedPreloadLibraries " pulumi-lang-go=" sharedPreloadLibraries " pulumi-lang-python=" shared_preload_libraries " pulumi-lang-yaml=" sharedPreloadLibraries " pulumi-lang-java=" sharedPreloadLibraries " pulumi-lang-hcl=" shared_preload_libraries "> sharedPreloadLibraries </span>or<span pulumi-lang-nodejs=" sessionPreloadLibraries " pulumi-lang-dotnet=" SessionPreloadLibraries " pulumi-lang-go=" sessionPreloadLibraries " pulumi-lang-python=" session_preload_libraries " pulumi-lang-yaml=" sessionPreloadLibraries " pulumi-lang-java=" sessionPreloadLibraries " pulumi-lang-hcl=" session_preload_libraries "> sessionPreloadLibraries </span>parameters.
|
|
166
|
+
*/
|
|
167
|
+
extensions?: pulumi.Input<pulumi.Input<string>[]>;
|
|
168
|
+
/**
|
|
169
|
+
* The profile name. The API uses this as the profile identity, so changing it requires replacement. Requires replacement if changed.
|
|
170
|
+
*/
|
|
171
|
+
name?: pulumi.Input<string>;
|
|
172
|
+
/**
|
|
173
|
+
* 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>. Requires replacement if changed.
|
|
174
|
+
*/
|
|
175
|
+
organization: pulumi.Input<string>;
|
|
176
|
+
/**
|
|
177
|
+
* Desired effective parameter values nested by namespace, 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" } }. Configure extension settings using their <span pulumi-lang-nodejs="`pgconf`" pulumi-lang-dotnet="`Pgconf`" pulumi-lang-go="`pgconf`" pulumi-lang-python="`pgconf`" pulumi-lang-yaml="`pgconf`" pulumi-lang-java="`pgconf`" pulumi-lang-hcl="`pgconf`">`pgconf`</span> keys (for example, `pgconf.auto_explain.log_level`). Omitted parameters reset to their defaults, except<span pulumi-lang-nodejs=" sharedPreloadLibraries " pulumi-lang-dotnet=" SharedPreloadLibraries " pulumi-lang-go=" sharedPreloadLibraries " pulumi-lang-python=" shared_preload_libraries " pulumi-lang-yaml=" sharedPreloadLibraries " pulumi-lang-java=" sharedPreloadLibraries " pulumi-lang-hcl=" shared_preload_libraries "> sharedPreloadLibraries </span>and session_preload_libraries, which remain unchanged. To disable extensions, set extensions to an empty list or explicitly update the preload parameters.
|
|
178
|
+
*/
|
|
179
|
+
parameters?: pulumi.Input<{
|
|
180
|
+
[key: string]: pulumi.Input<{
|
|
181
|
+
[key: string]: pulumi.Input<string>;
|
|
182
|
+
}>;
|
|
183
|
+
}>;
|
|
184
|
+
/**
|
|
185
|
+
* The PostgreSQL major version for the configuration profile
|
|
186
|
+
*/
|
|
187
|
+
postgresMajorVersion?: pulumi.Input<number>;
|
|
188
|
+
/**
|
|
189
|
+
* The PostgreSQL minor version for the configuration profile. Requires<span pulumi-lang-nodejs=" postgresMajorVersion " pulumi-lang-dotnet=" PostgresMajorVersion " pulumi-lang-go=" postgresMajorVersion " pulumi-lang-python=" postgres_major_version " pulumi-lang-yaml=" postgresMajorVersion " pulumi-lang-java=" postgresMajorVersion " pulumi-lang-hcl=" postgres_major_version "> postgresMajorVersion </span>when specified.
|
|
190
|
+
*/
|
|
191
|
+
postgresMinorVersion?: pulumi.Input<number>;
|
|
192
|
+
/**
|
|
193
|
+
* The new number of replicas for the configuration profile
|
|
194
|
+
*/
|
|
195
|
+
replicas?: pulumi.Input<number>;
|
|
196
|
+
storage?: pulumi.Input<inputs.NekiConfigurationProfileStorage>;
|
|
197
|
+
}
|
|
198
|
+
//# sourceMappingURL=nekiConfigurationProfile.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"nekiConfigurationProfile.d.ts","sourceRoot":"","sources":["../nekiConfigurationProfile.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,wBAAyB,SAAQ,MAAM,CAAC,cAAc;IAC/D;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,M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;OAEG;IACH,oBAAoB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC5C;;OAEG;IACH,oBAAoB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAC5C;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAChC,OAAO,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,+BAA+B,CAAC,CAAC;CAClE"}
|
|
@@ -0,0 +1,107 @@
|
|
|
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.NekiConfigurationProfile = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
31
|
+
class NekiConfigurationProfile extends pulumi.CustomResource {
|
|
32
|
+
/**
|
|
33
|
+
* Get an existing NekiConfigurationProfile 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 NekiConfigurationProfile(name, state, { ...opts, id: id });
|
|
43
|
+
}
|
|
44
|
+
/** @internal */
|
|
45
|
+
static __pulumiType = 'planetscale:index/nekiConfigurationProfile:NekiConfigurationProfile';
|
|
46
|
+
/**
|
|
47
|
+
* Returns true if the given object is an instance of NekiConfigurationProfile. This is designed to work even
|
|
48
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
49
|
+
*/
|
|
50
|
+
static isInstance(obj) {
|
|
51
|
+
if (obj === undefined || obj === null) {
|
|
52
|
+
return false;
|
|
53
|
+
}
|
|
54
|
+
return obj['__pulumiType'] === NekiConfigurationProfile.__pulumiType;
|
|
55
|
+
}
|
|
56
|
+
constructor(name, argsOrState, opts) {
|
|
57
|
+
let resourceInputs = {};
|
|
58
|
+
opts = opts || {};
|
|
59
|
+
if (opts.id) {
|
|
60
|
+
const state = argsOrState;
|
|
61
|
+
resourceInputs["branch"] = state?.branch;
|
|
62
|
+
resourceInputs["clusterSize"] = state?.clusterSize;
|
|
63
|
+
resourceInputs["database"] = state?.database;
|
|
64
|
+
resourceInputs["extensions"] = state?.extensions;
|
|
65
|
+
resourceInputs["isDefault"] = state?.isDefault;
|
|
66
|
+
resourceInputs["name"] = state?.name;
|
|
67
|
+
resourceInputs["organization"] = state?.organization;
|
|
68
|
+
resourceInputs["parameters"] = state?.parameters;
|
|
69
|
+
resourceInputs["postgresMajorVersion"] = state?.postgresMajorVersion;
|
|
70
|
+
resourceInputs["postgresMinorVersion"] = state?.postgresMinorVersion;
|
|
71
|
+
resourceInputs["replicas"] = state?.replicas;
|
|
72
|
+
resourceInputs["shardCount"] = state?.shardCount;
|
|
73
|
+
resourceInputs["state"] = state?.state;
|
|
74
|
+
resourceInputs["storage"] = state?.storage;
|
|
75
|
+
}
|
|
76
|
+
else {
|
|
77
|
+
const args = argsOrState;
|
|
78
|
+
if (args?.branch === undefined && !opts.urn) {
|
|
79
|
+
throw new Error("Missing required property 'branch'");
|
|
80
|
+
}
|
|
81
|
+
if (args?.database === undefined && !opts.urn) {
|
|
82
|
+
throw new Error("Missing required property 'database'");
|
|
83
|
+
}
|
|
84
|
+
if (args?.organization === undefined && !opts.urn) {
|
|
85
|
+
throw new Error("Missing required property 'organization'");
|
|
86
|
+
}
|
|
87
|
+
resourceInputs["branch"] = args?.branch;
|
|
88
|
+
resourceInputs["clusterSize"] = args?.clusterSize;
|
|
89
|
+
resourceInputs["database"] = args?.database;
|
|
90
|
+
resourceInputs["extensions"] = args?.extensions;
|
|
91
|
+
resourceInputs["name"] = args?.name;
|
|
92
|
+
resourceInputs["organization"] = args?.organization;
|
|
93
|
+
resourceInputs["parameters"] = args?.parameters;
|
|
94
|
+
resourceInputs["postgresMajorVersion"] = args?.postgresMajorVersion;
|
|
95
|
+
resourceInputs["postgresMinorVersion"] = args?.postgresMinorVersion;
|
|
96
|
+
resourceInputs["replicas"] = args?.replicas;
|
|
97
|
+
resourceInputs["storage"] = args?.storage;
|
|
98
|
+
resourceInputs["isDefault"] = undefined /*out*/;
|
|
99
|
+
resourceInputs["shardCount"] = undefined /*out*/;
|
|
100
|
+
resourceInputs["state"] = undefined /*out*/;
|
|
101
|
+
}
|
|
102
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
103
|
+
super(NekiConfigurationProfile.__pulumiType, name, resourceInputs, opts, false /*dependency*/, utilities.getPackage());
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
exports.NekiConfigurationProfile = NekiConfigurationProfile;
|
|
107
|
+
//# sourceMappingURL=nekiConfigurationProfile.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"nekiConfigurationProfile.js","sourceRoot":"","sources":["../nekiConfigurationProfile.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AAEzC,MAAa,wBAAyB,SAAQ,MAAM,CAAC,cAAc;IAC/D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAqC,EAAE,IAAmC;QACnI,OAAO,IAAI,wBAAwB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC/E,CAAC;IAED,gBAAgB;IACT,MAAM,CAAU,YAAY,GAAG,qEAAqE,CAAC;IAE5G;;;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,wBAAwB,CAAC,YAAY,CAAC;IACzE,CAAC;IAgED,YAAY,IAAY,EAAE,WAA0E,EAAE,IAAmC;QACrI,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,W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