@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,185 @@
|
|
|
1
|
+
import * as pulumi from "@pulumi/pulumi";
|
|
2
|
+
export declare class NekiBackupPolicy extends pulumi.CustomResource {
|
|
3
|
+
/**
|
|
4
|
+
* Get an existing NekiBackupPolicy 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?: NekiBackupPolicyState, opts?: pulumi.CustomResourceOptions): NekiBackupPolicy;
|
|
13
|
+
/**
|
|
14
|
+
* Check whether an existing NekiBackupPolicy resource with the given ID exists.
|
|
15
|
+
*
|
|
16
|
+
* @param id The _unique_ provider ID of the resource to check.
|
|
17
|
+
* @param state Any extra arguments used during the lookup.
|
|
18
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
19
|
+
*/
|
|
20
|
+
static exists(id: pulumi.Input<string>, state?: NekiBackupPolicyState, opts?: pulumi.CustomResourceOptions): pulumi.Output<boolean>;
|
|
21
|
+
/**
|
|
22
|
+
* Returns true if the given object is an instance of NekiBackupPolicy. This is designed to work even
|
|
23
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
24
|
+
*/
|
|
25
|
+
static isInstance(obj: any): obj is NekiBackupPolicy;
|
|
26
|
+
/**
|
|
27
|
+
* 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.
|
|
28
|
+
*/
|
|
29
|
+
readonly database: pulumi.Output<string>;
|
|
30
|
+
/**
|
|
31
|
+
* The unit for the frequency of the backup policy. must be one of ["hour", "day", "week", "month"]
|
|
32
|
+
*/
|
|
33
|
+
readonly frequencyUnit: pulumi.Output<string>;
|
|
34
|
+
/**
|
|
35
|
+
* A number value for the frequency of the backup policy
|
|
36
|
+
*/
|
|
37
|
+
readonly frequencyValue: pulumi.Output<number>;
|
|
38
|
+
/**
|
|
39
|
+
* The name of the backup policy
|
|
40
|
+
*/
|
|
41
|
+
readonly name: pulumi.Output<string>;
|
|
42
|
+
/**
|
|
43
|
+
* 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.
|
|
44
|
+
*/
|
|
45
|
+
readonly organization: pulumi.Output<string>;
|
|
46
|
+
/**
|
|
47
|
+
* Whether the policy is a required system backup that cannot be updated or deleted.
|
|
48
|
+
*/
|
|
49
|
+
readonly required: pulumi.Output<boolean>;
|
|
50
|
+
/**
|
|
51
|
+
* The unit for the retention period of the backup policy. must be one of ["hour", "day", "week", "month", "year"]
|
|
52
|
+
*/
|
|
53
|
+
readonly retentionUnit: pulumi.Output<string>;
|
|
54
|
+
/**
|
|
55
|
+
* A number value for the retention period of the backup policy
|
|
56
|
+
*/
|
|
57
|
+
readonly retentionValue: pulumi.Output<number>;
|
|
58
|
+
/**
|
|
59
|
+
* Day of the week that the backup is scheduled. Required for weekly and monthly schedules. 0 is Sunday, 6 is Saturday.
|
|
60
|
+
*/
|
|
61
|
+
readonly scheduleDay: pulumi.Output<number>;
|
|
62
|
+
/**
|
|
63
|
+
* The time of day that the backup is scheduled, in HH:MM format
|
|
64
|
+
*/
|
|
65
|
+
readonly scheduleTime: pulumi.Output<string>;
|
|
66
|
+
/**
|
|
67
|
+
* Week of the month that the backup is scheduled. Required for monthly schedules. 0 is the first week, 3 is the fourth week.
|
|
68
|
+
*/
|
|
69
|
+
readonly scheduleWeek: pulumi.Output<number>;
|
|
70
|
+
/**
|
|
71
|
+
* Whether the policy is for production or development branches. must be one of ["production", "development"]
|
|
72
|
+
*/
|
|
73
|
+
readonly target: pulumi.Output<string>;
|
|
74
|
+
/**
|
|
75
|
+
* Create a NekiBackupPolicy resource with the given unique name, arguments, and options.
|
|
76
|
+
*
|
|
77
|
+
* @param name The _unique_ name of the resource.
|
|
78
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
79
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
80
|
+
*/
|
|
81
|
+
constructor(name: string, args: NekiBackupPolicyArgs, opts?: pulumi.CustomResourceOptions);
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* Input properties used for looking up and filtering NekiBackupPolicy resources.
|
|
85
|
+
*/
|
|
86
|
+
export interface NekiBackupPolicyState {
|
|
87
|
+
/**
|
|
88
|
+
* Database name slug from <span pulumi-lang-nodejs="`listDatabases`" pulumi-lang-dotnet="`ListDatabases`" pulumi-lang-go="`listDatabases`" pulumi-lang-python="`list_databases`" pulumi-lang-yaml="`listDatabases`" pulumi-lang-java="`listDatabases`" pulumi-lang-hcl="`list_databases`">`listDatabases`</span>. Example: `app-db`. Requires replacement if changed.
|
|
89
|
+
*/
|
|
90
|
+
database?: pulumi.Input<string | undefined>;
|
|
91
|
+
/**
|
|
92
|
+
* The unit for the frequency of the backup policy. must be one of ["hour", "day", "week", "month"]
|
|
93
|
+
*/
|
|
94
|
+
frequencyUnit?: pulumi.Input<string | undefined>;
|
|
95
|
+
/**
|
|
96
|
+
* A number value for the frequency of the backup policy
|
|
97
|
+
*/
|
|
98
|
+
frequencyValue?: pulumi.Input<number | undefined>;
|
|
99
|
+
/**
|
|
100
|
+
* The name of the backup policy
|
|
101
|
+
*/
|
|
102
|
+
name?: pulumi.Input<string | undefined>;
|
|
103
|
+
/**
|
|
104
|
+
* 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.
|
|
105
|
+
*/
|
|
106
|
+
organization?: pulumi.Input<string | undefined>;
|
|
107
|
+
/**
|
|
108
|
+
* Whether the policy is a required system backup that cannot be updated or deleted.
|
|
109
|
+
*/
|
|
110
|
+
required?: pulumi.Input<boolean | undefined>;
|
|
111
|
+
/**
|
|
112
|
+
* The unit for the retention period of the backup policy. must be one of ["hour", "day", "week", "month", "year"]
|
|
113
|
+
*/
|
|
114
|
+
retentionUnit?: pulumi.Input<string | undefined>;
|
|
115
|
+
/**
|
|
116
|
+
* A number value for the retention period of the backup policy
|
|
117
|
+
*/
|
|
118
|
+
retentionValue?: pulumi.Input<number | undefined>;
|
|
119
|
+
/**
|
|
120
|
+
* Day of the week that the backup is scheduled. Required for weekly and monthly schedules. 0 is Sunday, 6 is Saturday.
|
|
121
|
+
*/
|
|
122
|
+
scheduleDay?: pulumi.Input<number | undefined>;
|
|
123
|
+
/**
|
|
124
|
+
* The time of day that the backup is scheduled, in HH:MM format
|
|
125
|
+
*/
|
|
126
|
+
scheduleTime?: pulumi.Input<string | undefined>;
|
|
127
|
+
/**
|
|
128
|
+
* Week of the month that the backup is scheduled. Required for monthly schedules. 0 is the first week, 3 is the fourth week.
|
|
129
|
+
*/
|
|
130
|
+
scheduleWeek?: pulumi.Input<number | undefined>;
|
|
131
|
+
/**
|
|
132
|
+
* Whether the policy is for production or development branches. must be one of ["production", "development"]
|
|
133
|
+
*/
|
|
134
|
+
target?: pulumi.Input<string | undefined>;
|
|
135
|
+
}
|
|
136
|
+
/**
|
|
137
|
+
* The set of arguments for constructing a NekiBackupPolicy resource.
|
|
138
|
+
*/
|
|
139
|
+
export interface NekiBackupPolicyArgs {
|
|
140
|
+
/**
|
|
141
|
+
* 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.
|
|
142
|
+
*/
|
|
143
|
+
database: pulumi.Input<string>;
|
|
144
|
+
/**
|
|
145
|
+
* The unit for the frequency of the backup policy. must be one of ["hour", "day", "week", "month"]
|
|
146
|
+
*/
|
|
147
|
+
frequencyUnit: pulumi.Input<string>;
|
|
148
|
+
/**
|
|
149
|
+
* A number value for the frequency of the backup policy
|
|
150
|
+
*/
|
|
151
|
+
frequencyValue: pulumi.Input<number>;
|
|
152
|
+
/**
|
|
153
|
+
* The name of the backup policy
|
|
154
|
+
*/
|
|
155
|
+
name?: pulumi.Input<string | undefined>;
|
|
156
|
+
/**
|
|
157
|
+
* 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.
|
|
158
|
+
*/
|
|
159
|
+
organization: pulumi.Input<string>;
|
|
160
|
+
/**
|
|
161
|
+
* The unit for the retention period of the backup policy. must be one of ["hour", "day", "week", "month", "year"]
|
|
162
|
+
*/
|
|
163
|
+
retentionUnit: pulumi.Input<string>;
|
|
164
|
+
/**
|
|
165
|
+
* A number value for the retention period of the backup policy
|
|
166
|
+
*/
|
|
167
|
+
retentionValue: pulumi.Input<number>;
|
|
168
|
+
/**
|
|
169
|
+
* Day of the week that the backup is scheduled. Required for weekly and monthly schedules. 0 is Sunday, 6 is Saturday.
|
|
170
|
+
*/
|
|
171
|
+
scheduleDay?: pulumi.Input<number | undefined>;
|
|
172
|
+
/**
|
|
173
|
+
* The time of day that the backup is scheduled, in HH:MM format
|
|
174
|
+
*/
|
|
175
|
+
scheduleTime: pulumi.Input<string>;
|
|
176
|
+
/**
|
|
177
|
+
* Week of the month that the backup is scheduled. Required for monthly schedules. 0 is the first week, 3 is the fourth week.
|
|
178
|
+
*/
|
|
179
|
+
scheduleWeek?: pulumi.Input<number | undefined>;
|
|
180
|
+
/**
|
|
181
|
+
* Whether the policy is for production or development branches. must be one of ["production", "development"]
|
|
182
|
+
*/
|
|
183
|
+
target: pulumi.Input<string>;
|
|
184
|
+
}
|
|
185
|
+
//# sourceMappingURL=nekiBackupPolicy.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"nekiBackupPolicy.d.ts","sourceRoot":"","sources":["../nekiBackupPolicy.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC,qBAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IACvD;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,qBAAqB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,gBAAgB;IAIlJ;;;;;;OAMG;WACW,MAAM,CAAC,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,KAAK,CAAC,EAAE,qBAAqB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC;IAO1I;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,gBAAgB;IAO3D;;OAEG;IACH,SAAwB,QAAQ,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACxD;;OAEG;IACH,SAAwB,aAAa,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAC7D;;OAEG;IACH,SAAwB,cAAc,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAC9D;;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;IAC5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AAC;IAC/C;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACnC;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAChD;;OAEG;IACH,MAAM,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CAChC"}
|
|
@@ -0,0 +1,128 @@
|
|
|
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.NekiBackupPolicy = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
31
|
+
class NekiBackupPolicy extends pulumi.CustomResource {
|
|
32
|
+
/**
|
|
33
|
+
* Get an existing NekiBackupPolicy 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 NekiBackupPolicy(name, state, { ...opts, id: id });
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Check whether an existing NekiBackupPolicy 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/nekiBackupPolicy:NekiBackupPolicy", id, state || {}, { ...opts }, utilities.getPackage());
|
|
53
|
+
}
|
|
54
|
+
/** @internal */
|
|
55
|
+
static __pulumiType = 'planetscale:index/nekiBackupPolicy:NekiBackupPolicy';
|
|
56
|
+
/**
|
|
57
|
+
* Returns true if the given object is an instance of NekiBackupPolicy. 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'] === NekiBackupPolicy.__pulumiType;
|
|
65
|
+
}
|
|
66
|
+
constructor(name, argsOrState, opts) {
|
|
67
|
+
let resourceInputs = {};
|
|
68
|
+
opts = opts || {};
|
|
69
|
+
if (opts.id) {
|
|
70
|
+
const state = argsOrState;
|
|
71
|
+
resourceInputs["database"] = state?.database;
|
|
72
|
+
resourceInputs["frequencyUnit"] = state?.frequencyUnit;
|
|
73
|
+
resourceInputs["frequencyValue"] = state?.frequencyValue;
|
|
74
|
+
resourceInputs["name"] = state?.name;
|
|
75
|
+
resourceInputs["organization"] = state?.organization;
|
|
76
|
+
resourceInputs["required"] = state?.required;
|
|
77
|
+
resourceInputs["retentionUnit"] = state?.retentionUnit;
|
|
78
|
+
resourceInputs["retentionValue"] = state?.retentionValue;
|
|
79
|
+
resourceInputs["scheduleDay"] = state?.scheduleDay;
|
|
80
|
+
resourceInputs["scheduleTime"] = state?.scheduleTime;
|
|
81
|
+
resourceInputs["scheduleWeek"] = state?.scheduleWeek;
|
|
82
|
+
resourceInputs["target"] = state?.target;
|
|
83
|
+
}
|
|
84
|
+
else {
|
|
85
|
+
const args = argsOrState;
|
|
86
|
+
if (args?.database === undefined && !opts.urn) {
|
|
87
|
+
throw new Error("Missing required property 'database'");
|
|
88
|
+
}
|
|
89
|
+
if (args?.frequencyUnit === undefined && !opts.urn) {
|
|
90
|
+
throw new Error("Missing required property 'frequencyUnit'");
|
|
91
|
+
}
|
|
92
|
+
if (args?.frequencyValue === undefined && !opts.urn) {
|
|
93
|
+
throw new Error("Missing required property 'frequencyValue'");
|
|
94
|
+
}
|
|
95
|
+
if (args?.organization === undefined && !opts.urn) {
|
|
96
|
+
throw new Error("Missing required property 'organization'");
|
|
97
|
+
}
|
|
98
|
+
if (args?.retentionUnit === undefined && !opts.urn) {
|
|
99
|
+
throw new Error("Missing required property 'retentionUnit'");
|
|
100
|
+
}
|
|
101
|
+
if (args?.retentionValue === undefined && !opts.urn) {
|
|
102
|
+
throw new Error("Missing required property 'retentionValue'");
|
|
103
|
+
}
|
|
104
|
+
if (args?.scheduleTime === undefined && !opts.urn) {
|
|
105
|
+
throw new Error("Missing required property 'scheduleTime'");
|
|
106
|
+
}
|
|
107
|
+
if (args?.target === undefined && !opts.urn) {
|
|
108
|
+
throw new Error("Missing required property 'target'");
|
|
109
|
+
}
|
|
110
|
+
resourceInputs["database"] = args?.database;
|
|
111
|
+
resourceInputs["frequencyUnit"] = args?.frequencyUnit;
|
|
112
|
+
resourceInputs["frequencyValue"] = args?.frequencyValue;
|
|
113
|
+
resourceInputs["name"] = args?.name;
|
|
114
|
+
resourceInputs["organization"] = args?.organization;
|
|
115
|
+
resourceInputs["retentionUnit"] = args?.retentionUnit;
|
|
116
|
+
resourceInputs["retentionValue"] = args?.retentionValue;
|
|
117
|
+
resourceInputs["scheduleDay"] = args?.scheduleDay;
|
|
118
|
+
resourceInputs["scheduleTime"] = args?.scheduleTime;
|
|
119
|
+
resourceInputs["scheduleWeek"] = args?.scheduleWeek;
|
|
120
|
+
resourceInputs["target"] = args?.target;
|
|
121
|
+
resourceInputs["required"] = undefined /*out*/;
|
|
122
|
+
}
|
|
123
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
124
|
+
super(NekiBackupPolicy.__pulumiType, name, resourceInputs, opts, false /*dependency*/, utilities.getPackage());
|
|
125
|
+
}
|
|
126
|
+
}
|
|
127
|
+
exports.NekiBackupPolicy = NekiBackupPolicy;
|
|
128
|
+
//# sourceMappingURL=nekiBackupPolicy.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"nekiBackupPolicy.js","sourceRoot":"","sources":["../nekiBackupPolicy.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC,MAAa,gBAAiB,SAAQ,MAAM,CAAC,cAAc;IACvD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA6B,EAAE,IA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,CAAC,CAAC;IACnH,CAAC;;AA1JL,4CA2JC"}
|
|
@@ -0,0 +1,167 @@
|
|
|
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
|
+
* Check whether an existing NekiBranch resource with the given ID exists.
|
|
15
|
+
*
|
|
16
|
+
* @param id The _unique_ provider ID of the resource to check.
|
|
17
|
+
* @param state Any extra arguments used during the lookup.
|
|
18
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
19
|
+
*/
|
|
20
|
+
static exists(id: pulumi.Input<string>, state?: NekiBranchState, opts?: pulumi.CustomResourceOptions): pulumi.Output<boolean>;
|
|
21
|
+
/**
|
|
22
|
+
* Returns true if the given object is an instance of NekiBranch. This is designed to work even
|
|
23
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
24
|
+
*/
|
|
25
|
+
static isInstance(obj: any): obj is NekiBranch;
|
|
26
|
+
/**
|
|
27
|
+
* **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
28
|
+
* 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.
|
|
29
|
+
*/
|
|
30
|
+
readonly backupId: pulumi.Output<string | undefined>;
|
|
31
|
+
/**
|
|
32
|
+
* 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.
|
|
33
|
+
*/
|
|
34
|
+
readonly database: pulumi.Output<string>;
|
|
35
|
+
/**
|
|
36
|
+
* If true, recursively delete all descendant branches along with this branch
|
|
37
|
+
*/
|
|
38
|
+
readonly deleteDescendants: pulumi.Output<boolean | undefined>;
|
|
39
|
+
/**
|
|
40
|
+
* Whether deletion protection is enabled for the branch
|
|
41
|
+
*/
|
|
42
|
+
readonly deletionProtected: pulumi.Output<boolean>;
|
|
43
|
+
/**
|
|
44
|
+
* The name of the branch to create
|
|
45
|
+
*/
|
|
46
|
+
readonly name: pulumi.Output<string>;
|
|
47
|
+
/**
|
|
48
|
+
* 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.
|
|
49
|
+
*/
|
|
50
|
+
readonly organization: pulumi.Output<string>;
|
|
51
|
+
/**
|
|
52
|
+
* The name of the parent branch. Defaults to the database's default branch if not provided. Requires replacement if changed.
|
|
53
|
+
*/
|
|
54
|
+
readonly parentBranch: pulumi.Output<string>;
|
|
55
|
+
/**
|
|
56
|
+
* 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.
|
|
57
|
+
*/
|
|
58
|
+
readonly region: pulumi.Output<string>;
|
|
59
|
+
/**
|
|
60
|
+
* **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
61
|
+
* Restore the Neki branch from a point-in-time recovery timestamp, for example 2026-01-01T00:00:00Z. Requires replacement if changed.
|
|
62
|
+
*/
|
|
63
|
+
readonly restorePoint: pulumi.Output<string | undefined>;
|
|
64
|
+
/**
|
|
65
|
+
* The current state of the branch
|
|
66
|
+
*/
|
|
67
|
+
readonly state: pulumi.Output<string>;
|
|
68
|
+
/**
|
|
69
|
+
* Create a NekiBranch resource with the given unique name, arguments, and options.
|
|
70
|
+
*
|
|
71
|
+
* @param name The _unique_ name of the resource.
|
|
72
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
73
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
74
|
+
*/
|
|
75
|
+
constructor(name: string, args: NekiBranchArgs, opts?: pulumi.CustomResourceOptions);
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* Input properties used for looking up and filtering NekiBranch resources.
|
|
79
|
+
*/
|
|
80
|
+
export interface NekiBranchState {
|
|
81
|
+
/**
|
|
82
|
+
* **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
83
|
+
* 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.
|
|
84
|
+
*/
|
|
85
|
+
backupId?: pulumi.Input<string | undefined>;
|
|
86
|
+
/**
|
|
87
|
+
* 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.
|
|
88
|
+
*/
|
|
89
|
+
database?: pulumi.Input<string | undefined>;
|
|
90
|
+
/**
|
|
91
|
+
* If true, recursively delete all descendant branches along with this branch
|
|
92
|
+
*/
|
|
93
|
+
deleteDescendants?: pulumi.Input<boolean | undefined>;
|
|
94
|
+
/**
|
|
95
|
+
* Whether deletion protection is enabled for the branch
|
|
96
|
+
*/
|
|
97
|
+
deletionProtected?: pulumi.Input<boolean | undefined>;
|
|
98
|
+
/**
|
|
99
|
+
* The name of the branch to create
|
|
100
|
+
*/
|
|
101
|
+
name?: pulumi.Input<string | undefined>;
|
|
102
|
+
/**
|
|
103
|
+
* 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.
|
|
104
|
+
*/
|
|
105
|
+
organization?: pulumi.Input<string | undefined>;
|
|
106
|
+
/**
|
|
107
|
+
* The name of the parent branch. Defaults to the database's default branch if not provided. Requires replacement if changed.
|
|
108
|
+
*/
|
|
109
|
+
parentBranch?: pulumi.Input<string | undefined>;
|
|
110
|
+
/**
|
|
111
|
+
* 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.
|
|
112
|
+
*/
|
|
113
|
+
region?: pulumi.Input<string | undefined>;
|
|
114
|
+
/**
|
|
115
|
+
* **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
116
|
+
* Restore the Neki branch from a point-in-time recovery timestamp, for example 2026-01-01T00:00:00Z. Requires replacement if changed.
|
|
117
|
+
*/
|
|
118
|
+
restorePoint?: pulumi.Input<string | undefined>;
|
|
119
|
+
/**
|
|
120
|
+
* The current state of the branch
|
|
121
|
+
*/
|
|
122
|
+
state?: pulumi.Input<string | undefined>;
|
|
123
|
+
}
|
|
124
|
+
/**
|
|
125
|
+
* The set of arguments for constructing a NekiBranch resource.
|
|
126
|
+
*/
|
|
127
|
+
export interface NekiBranchArgs {
|
|
128
|
+
/**
|
|
129
|
+
* **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
130
|
+
* 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.
|
|
131
|
+
*/
|
|
132
|
+
backupId?: pulumi.Input<string | undefined>;
|
|
133
|
+
/**
|
|
134
|
+
* 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.
|
|
135
|
+
*/
|
|
136
|
+
database: pulumi.Input<string>;
|
|
137
|
+
/**
|
|
138
|
+
* If true, recursively delete all descendant branches along with this branch
|
|
139
|
+
*/
|
|
140
|
+
deleteDescendants?: pulumi.Input<boolean | undefined>;
|
|
141
|
+
/**
|
|
142
|
+
* Whether deletion protection is enabled for the branch
|
|
143
|
+
*/
|
|
144
|
+
deletionProtected?: pulumi.Input<boolean | undefined>;
|
|
145
|
+
/**
|
|
146
|
+
* The name of the branch to create
|
|
147
|
+
*/
|
|
148
|
+
name?: pulumi.Input<string | undefined>;
|
|
149
|
+
/**
|
|
150
|
+
* 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.
|
|
151
|
+
*/
|
|
152
|
+
organization: pulumi.Input<string>;
|
|
153
|
+
/**
|
|
154
|
+
* The name of the parent branch. Defaults to the database's default branch if not provided. Requires replacement if changed.
|
|
155
|
+
*/
|
|
156
|
+
parentBranch?: pulumi.Input<string | undefined>;
|
|
157
|
+
/**
|
|
158
|
+
* 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.
|
|
159
|
+
*/
|
|
160
|
+
region?: pulumi.Input<string | undefined>;
|
|
161
|
+
/**
|
|
162
|
+
* **NOTE:** This field is write-only and its value will not be updated in state as part of read operations.
|
|
163
|
+
* Restore the Neki branch from a point-in-time recovery timestamp, for example 2026-01-01T00:00:00Z. Requires replacement if changed.
|
|
164
|
+
*/
|
|
165
|
+
restorePoint?: pulumi.Input<string | undefined>;
|
|
166
|
+
}
|
|
167
|
+
//# 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;IAItI;;;;;;OAMG;WACW,MAAM,CAAC,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,KAAK,CAAC,EAAE,eAAe,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC;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S,CAAC,CAAC;IACxC;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACnC;;OAEG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAChD;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC1C;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CACnD"}
|
|
@@ -0,0 +1,108 @@
|
|
|
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
|
+
/**
|
|
45
|
+
* Check whether an existing NekiBranch 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/nekiBranch:NekiBranch", id, state || {}, { ...opts }, utilities.getPackage());
|
|
53
|
+
}
|
|
54
|
+
/** @internal */
|
|
55
|
+
static __pulumiType = 'planetscale:index/nekiBranch:NekiBranch';
|
|
56
|
+
/**
|
|
57
|
+
* Returns true if the given object is an instance of NekiBranch. 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'] === NekiBranch.__pulumiType;
|
|
65
|
+
}
|
|
66
|
+
constructor(name, argsOrState, opts) {
|
|
67
|
+
let resourceInputs = {};
|
|
68
|
+
opts = opts || {};
|
|
69
|
+
if (opts.id) {
|
|
70
|
+
const state = argsOrState;
|
|
71
|
+
resourceInputs["backupId"] = state?.backupId;
|
|
72
|
+
resourceInputs["database"] = state?.database;
|
|
73
|
+
resourceInputs["deleteDescendants"] = state?.deleteDescendants;
|
|
74
|
+
resourceInputs["deletionProtected"] = state?.deletionProtected;
|
|
75
|
+
resourceInputs["name"] = state?.name;
|
|
76
|
+
resourceInputs["organization"] = state?.organization;
|
|
77
|
+
resourceInputs["parentBranch"] = state?.parentBranch;
|
|
78
|
+
resourceInputs["region"] = state?.region;
|
|
79
|
+
resourceInputs["restorePoint"] = state?.restorePoint;
|
|
80
|
+
resourceInputs["state"] = state?.state;
|
|
81
|
+
}
|
|
82
|
+
else {
|
|
83
|
+
const args = argsOrState;
|
|
84
|
+
if (args?.database === undefined && !opts.urn) {
|
|
85
|
+
throw new Error("Missing required property 'database'");
|
|
86
|
+
}
|
|
87
|
+
if (args?.organization === undefined && !opts.urn) {
|
|
88
|
+
throw new Error("Missing required property 'organization'");
|
|
89
|
+
}
|
|
90
|
+
resourceInputs["backupId"] = args?.backupId ? pulumi.secret(args.backupId) : undefined;
|
|
91
|
+
resourceInputs["database"] = args?.database;
|
|
92
|
+
resourceInputs["deleteDescendants"] = args?.deleteDescendants;
|
|
93
|
+
resourceInputs["deletionProtected"] = args?.deletionProtected;
|
|
94
|
+
resourceInputs["name"] = args?.name;
|
|
95
|
+
resourceInputs["organization"] = args?.organization;
|
|
96
|
+
resourceInputs["parentBranch"] = args?.parentBranch;
|
|
97
|
+
resourceInputs["region"] = args?.region;
|
|
98
|
+
resourceInputs["restorePoint"] = args?.restorePoint ? pulumi.secret(args.restorePoint) : undefined;
|
|
99
|
+
resourceInputs["state"] = undefined /*out*/;
|
|
100
|
+
}
|
|
101
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
102
|
+
const secretOpts = { additionalSecretOutputs: ["backupId", "restorePoint"] };
|
|
103
|
+
opts = pulumi.mergeOptions(opts, secretOpts);
|
|
104
|
+
super(NekiBranch.__pulumiType, name, resourceInputs, opts, false /*dependency*/, utilities.getPackage());
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
exports.NekiBranch = NekiBranch;
|
|
108
|
+
//# 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;;;;;;OAMG;IACI,MAAM,CAAC,MAAM,CAAC,EAAwB,EAAE,KAAuB,EAAE,IAAmC;QACvG,OAAO,MAAM,CAAC,OAAO,CAAC,cAAc,CAAC,yCAAyC,EAAE,EAAE,EAAO,KAAK,IAAI,EAAE,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,SAAS,CAAC,UAAU,EAAE,CAAC,CAAC;IAC/I,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,CA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