@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,291 @@
|
|
|
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 VitessBranch extends pulumi.CustomResource {
|
|
5
|
+
/**
|
|
6
|
+
* Get an existing VitessBranch 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?: VitessBranchState, opts?: pulumi.CustomResourceOptions): VitessBranch;
|
|
15
|
+
/**
|
|
16
|
+
* Returns true if the given object is an instance of VitessBranch. 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 VitessBranch;
|
|
20
|
+
readonly actor: pulumi.Output<outputs.VitessBranchActor>;
|
|
21
|
+
/**
|
|
22
|
+
* 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.
|
|
23
|
+
*/
|
|
24
|
+
readonly backupId: pulumi.Output<string | undefined>;
|
|
25
|
+
/**
|
|
26
|
+
* The database cluster size. Required if a<span pulumi-lang-nodejs=" backupId " pulumi-lang-dotnet=" BackupId " pulumi-lang-go=" backupId " pulumi-lang-python=" backup_id " pulumi-lang-yaml=" backupId " pulumi-lang-java=" backupId " pulumi-lang-hcl=" backup_id "> backupId </span>is provided (unless<span pulumi-lang-nodejs=" keyspaceClusterSizes " pulumi-lang-dotnet=" KeyspaceClusterSizes " pulumi-lang-go=" keyspaceClusterSizes " pulumi-lang-python=" keyspace_cluster_sizes " pulumi-lang-yaml=" keyspaceClusterSizes " pulumi-lang-java=" keyspaceClusterSizes " pulumi-lang-hcl=" keyspace_cluster_sizes "> keyspaceClusterSizes </span>covers every keyspace), optional otherwise. Options: PS_10, PS_20, PS_40, ..., PS_2800. Requires replacement if changed.
|
|
27
|
+
*/
|
|
28
|
+
readonly clusterSize: pulumi.Output<string>;
|
|
29
|
+
/**
|
|
30
|
+
* The name of the database the branch belongs to
|
|
31
|
+
*/
|
|
32
|
+
readonly database: pulumi.Output<string>;
|
|
33
|
+
/**
|
|
34
|
+
* If true, recursively delete all descendant branches along with this branch
|
|
35
|
+
*/
|
|
36
|
+
readonly deleteDescendants: pulumi.Output<boolean | undefined>;
|
|
37
|
+
/**
|
|
38
|
+
* Whether deletion protection is enabled for the branch
|
|
39
|
+
*/
|
|
40
|
+
readonly deletionProtected: pulumi.Output<boolean>;
|
|
41
|
+
/**
|
|
42
|
+
* Planetscale app URL for the branch
|
|
43
|
+
*/
|
|
44
|
+
readonly htmlUrl: pulumi.Output<string>;
|
|
45
|
+
/**
|
|
46
|
+
* The number of keyspaces in the branch
|
|
47
|
+
*/
|
|
48
|
+
readonly keyspaceCount: pulumi.Output<number>;
|
|
49
|
+
/**
|
|
50
|
+
* The MySQL address for the branch
|
|
51
|
+
*/
|
|
52
|
+
readonly mysqlAddress: pulumi.Output<string>;
|
|
53
|
+
/**
|
|
54
|
+
* The address of the MySQL provider for the branch
|
|
55
|
+
*/
|
|
56
|
+
readonly mysqlEdgeAddress: pulumi.Output<string>;
|
|
57
|
+
/**
|
|
58
|
+
* The name of the branch to create
|
|
59
|
+
*/
|
|
60
|
+
readonly name: pulumi.Output<string>;
|
|
61
|
+
/**
|
|
62
|
+
* The name of the organization the branch belongs to
|
|
63
|
+
*/
|
|
64
|
+
readonly organization: pulumi.Output<string>;
|
|
65
|
+
/**
|
|
66
|
+
* The name of the parent branch. Defaults to the database's default branch if not provided. Requires replacement if changed.
|
|
67
|
+
*/
|
|
68
|
+
readonly parentBranch: pulumi.Output<string>;
|
|
69
|
+
/**
|
|
70
|
+
* Whether or not the branch is ready to serve queries
|
|
71
|
+
*/
|
|
72
|
+
readonly ready: pulumi.Output<boolean>;
|
|
73
|
+
/**
|
|
74
|
+
* 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.
|
|
75
|
+
*/
|
|
76
|
+
readonly region: pulumi.Output<string | undefined>;
|
|
77
|
+
readonly regionData: pulumi.Output<outputs.VitessBranchRegionData>;
|
|
78
|
+
/**
|
|
79
|
+
* Whether safe migrations are enabled
|
|
80
|
+
*/
|
|
81
|
+
readonly safeMigrations: pulumi.Output<boolean>;
|
|
82
|
+
/**
|
|
83
|
+
* If provided, restores the last successful backup's schema and data to the new branch. Must have `restore_production_branch_backup(s)` or `restore_backup(s)` access to do this, in addition to Data Branching™ being enabled for the branch. must be <span pulumi-lang-nodejs=""lastSuccessfulBackup"" pulumi-lang-dotnet=""LastSuccessfulBackup"" pulumi-lang-go=""lastSuccessfulBackup"" pulumi-lang-python=""last_successful_backup"" pulumi-lang-yaml=""lastSuccessfulBackup"" pulumi-lang-java=""lastSuccessfulBackup"" pulumi-lang-hcl=""last_successful_backup"">"lastSuccessfulBackup"</span>; Requires replacement if changed.
|
|
84
|
+
*/
|
|
85
|
+
readonly seedData: pulumi.Output<string | undefined>;
|
|
86
|
+
/**
|
|
87
|
+
* The current state of the branch
|
|
88
|
+
*/
|
|
89
|
+
readonly state: pulumi.Output<string>;
|
|
90
|
+
/**
|
|
91
|
+
* Planetscale API URL for the branch
|
|
92
|
+
*/
|
|
93
|
+
readonly url: pulumi.Output<string>;
|
|
94
|
+
/**
|
|
95
|
+
* If autoscaling is enabled for the vtgate cluster
|
|
96
|
+
*/
|
|
97
|
+
readonly vtgateAutoscaling: pulumi.Output<boolean>;
|
|
98
|
+
/**
|
|
99
|
+
* The number of vtgates in an availability zone
|
|
100
|
+
*/
|
|
101
|
+
readonly vtgateCount: pulumi.Output<number>;
|
|
102
|
+
/**
|
|
103
|
+
* The maximum number of vtgates in an availability zone when autoscaling is enabled
|
|
104
|
+
*/
|
|
105
|
+
readonly vtgateMaxCount: pulumi.Output<number>;
|
|
106
|
+
/**
|
|
107
|
+
* The size of the vtgate cluster: VTG_5, VTG_10,…
|
|
108
|
+
*/
|
|
109
|
+
readonly vtgateSize: pulumi.Output<string>;
|
|
110
|
+
/**
|
|
111
|
+
* The target CPU utilization for the vtgate cluster when autoscaling is enabled
|
|
112
|
+
*/
|
|
113
|
+
readonly vtgateTargetCpuUtilization: pulumi.Output<number>;
|
|
114
|
+
/**
|
|
115
|
+
* Create a VitessBranch resource with the given unique name, arguments, and options.
|
|
116
|
+
*
|
|
117
|
+
* @param name The _unique_ name of the resource.
|
|
118
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
119
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
120
|
+
*/
|
|
121
|
+
constructor(name: string, args: VitessBranchArgs, opts?: pulumi.CustomResourceOptions);
|
|
122
|
+
}
|
|
123
|
+
/**
|
|
124
|
+
* Input properties used for looking up and filtering VitessBranch resources.
|
|
125
|
+
*/
|
|
126
|
+
export interface VitessBranchState {
|
|
127
|
+
actor?: pulumi.Input<inputs.VitessBranchActor>;
|
|
128
|
+
/**
|
|
129
|
+
* 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.
|
|
130
|
+
*/
|
|
131
|
+
backupId?: pulumi.Input<string>;
|
|
132
|
+
/**
|
|
133
|
+
* The database cluster size. Required if a<span pulumi-lang-nodejs=" backupId " pulumi-lang-dotnet=" BackupId " pulumi-lang-go=" backupId " pulumi-lang-python=" backup_id " pulumi-lang-yaml=" backupId " pulumi-lang-java=" backupId " pulumi-lang-hcl=" backup_id "> backupId </span>is provided (unless<span pulumi-lang-nodejs=" keyspaceClusterSizes " pulumi-lang-dotnet=" KeyspaceClusterSizes " pulumi-lang-go=" keyspaceClusterSizes " pulumi-lang-python=" keyspace_cluster_sizes " pulumi-lang-yaml=" keyspaceClusterSizes " pulumi-lang-java=" keyspaceClusterSizes " pulumi-lang-hcl=" keyspace_cluster_sizes "> keyspaceClusterSizes </span>covers every keyspace), optional otherwise. Options: PS_10, PS_20, PS_40, ..., PS_2800. Requires replacement if changed.
|
|
134
|
+
*/
|
|
135
|
+
clusterSize?: pulumi.Input<string>;
|
|
136
|
+
/**
|
|
137
|
+
* The name of the database the branch belongs to
|
|
138
|
+
*/
|
|
139
|
+
database?: pulumi.Input<string>;
|
|
140
|
+
/**
|
|
141
|
+
* If true, recursively delete all descendant branches along with this branch
|
|
142
|
+
*/
|
|
143
|
+
deleteDescendants?: pulumi.Input<boolean>;
|
|
144
|
+
/**
|
|
145
|
+
* Whether deletion protection is enabled for the branch
|
|
146
|
+
*/
|
|
147
|
+
deletionProtected?: pulumi.Input<boolean>;
|
|
148
|
+
/**
|
|
149
|
+
* Planetscale app URL for the branch
|
|
150
|
+
*/
|
|
151
|
+
htmlUrl?: pulumi.Input<string>;
|
|
152
|
+
/**
|
|
153
|
+
* The number of keyspaces in the branch
|
|
154
|
+
*/
|
|
155
|
+
keyspaceCount?: pulumi.Input<number>;
|
|
156
|
+
/**
|
|
157
|
+
* The MySQL address for the branch
|
|
158
|
+
*/
|
|
159
|
+
mysqlAddress?: pulumi.Input<string>;
|
|
160
|
+
/**
|
|
161
|
+
* The address of the MySQL provider for the branch
|
|
162
|
+
*/
|
|
163
|
+
mysqlEdgeAddress?: pulumi.Input<string>;
|
|
164
|
+
/**
|
|
165
|
+
* The name of the branch to create
|
|
166
|
+
*/
|
|
167
|
+
name?: pulumi.Input<string>;
|
|
168
|
+
/**
|
|
169
|
+
* The name of the organization the branch belongs to
|
|
170
|
+
*/
|
|
171
|
+
organization?: pulumi.Input<string>;
|
|
172
|
+
/**
|
|
173
|
+
* The name of the parent branch. Defaults to the database's default branch if not provided. Requires replacement if changed.
|
|
174
|
+
*/
|
|
175
|
+
parentBranch?: pulumi.Input<string>;
|
|
176
|
+
/**
|
|
177
|
+
* Whether or not the branch is ready to serve queries
|
|
178
|
+
*/
|
|
179
|
+
ready?: pulumi.Input<boolean>;
|
|
180
|
+
/**
|
|
181
|
+
* 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.
|
|
182
|
+
*/
|
|
183
|
+
region?: pulumi.Input<string>;
|
|
184
|
+
regionData?: pulumi.Input<inputs.VitessBranchRegionData>;
|
|
185
|
+
/**
|
|
186
|
+
* Whether safe migrations are enabled
|
|
187
|
+
*/
|
|
188
|
+
safeMigrations?: pulumi.Input<boolean>;
|
|
189
|
+
/**
|
|
190
|
+
* If provided, restores the last successful backup's schema and data to the new branch. Must have `restore_production_branch_backup(s)` or `restore_backup(s)` access to do this, in addition to Data Branching™ being enabled for the branch. must be <span pulumi-lang-nodejs=""lastSuccessfulBackup"" pulumi-lang-dotnet=""LastSuccessfulBackup"" pulumi-lang-go=""lastSuccessfulBackup"" pulumi-lang-python=""last_successful_backup"" pulumi-lang-yaml=""lastSuccessfulBackup"" pulumi-lang-java=""lastSuccessfulBackup"" pulumi-lang-hcl=""last_successful_backup"">"lastSuccessfulBackup"</span>; Requires replacement if changed.
|
|
191
|
+
*/
|
|
192
|
+
seedData?: pulumi.Input<string>;
|
|
193
|
+
/**
|
|
194
|
+
* The current state of the branch
|
|
195
|
+
*/
|
|
196
|
+
state?: pulumi.Input<string>;
|
|
197
|
+
/**
|
|
198
|
+
* Planetscale API URL for the branch
|
|
199
|
+
*/
|
|
200
|
+
url?: pulumi.Input<string>;
|
|
201
|
+
/**
|
|
202
|
+
* If autoscaling is enabled for the vtgate cluster
|
|
203
|
+
*/
|
|
204
|
+
vtgateAutoscaling?: pulumi.Input<boolean>;
|
|
205
|
+
/**
|
|
206
|
+
* The number of vtgates in an availability zone
|
|
207
|
+
*/
|
|
208
|
+
vtgateCount?: pulumi.Input<number>;
|
|
209
|
+
/**
|
|
210
|
+
* The maximum number of vtgates in an availability zone when autoscaling is enabled
|
|
211
|
+
*/
|
|
212
|
+
vtgateMaxCount?: pulumi.Input<number>;
|
|
213
|
+
/**
|
|
214
|
+
* The size of the vtgate cluster: VTG_5, VTG_10,…
|
|
215
|
+
*/
|
|
216
|
+
vtgateSize?: pulumi.Input<string>;
|
|
217
|
+
/**
|
|
218
|
+
* The target CPU utilization for the vtgate cluster when autoscaling is enabled
|
|
219
|
+
*/
|
|
220
|
+
vtgateTargetCpuUtilization?: pulumi.Input<number>;
|
|
221
|
+
}
|
|
222
|
+
/**
|
|
223
|
+
* The set of arguments for constructing a VitessBranch resource.
|
|
224
|
+
*/
|
|
225
|
+
export interface VitessBranchArgs {
|
|
226
|
+
/**
|
|
227
|
+
* 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.
|
|
228
|
+
*/
|
|
229
|
+
backupId?: pulumi.Input<string>;
|
|
230
|
+
/**
|
|
231
|
+
* The database cluster size. Required if a<span pulumi-lang-nodejs=" backupId " pulumi-lang-dotnet=" BackupId " pulumi-lang-go=" backupId " pulumi-lang-python=" backup_id " pulumi-lang-yaml=" backupId " pulumi-lang-java=" backupId " pulumi-lang-hcl=" backup_id "> backupId </span>is provided (unless<span pulumi-lang-nodejs=" keyspaceClusterSizes " pulumi-lang-dotnet=" KeyspaceClusterSizes " pulumi-lang-go=" keyspaceClusterSizes " pulumi-lang-python=" keyspace_cluster_sizes " pulumi-lang-yaml=" keyspaceClusterSizes " pulumi-lang-java=" keyspaceClusterSizes " pulumi-lang-hcl=" keyspace_cluster_sizes "> keyspaceClusterSizes </span>covers every keyspace), optional otherwise. Options: PS_10, PS_20, PS_40, ..., PS_2800. Requires replacement if changed.
|
|
232
|
+
*/
|
|
233
|
+
clusterSize?: pulumi.Input<string>;
|
|
234
|
+
/**
|
|
235
|
+
* The name of the database the branch belongs to
|
|
236
|
+
*/
|
|
237
|
+
database: pulumi.Input<string>;
|
|
238
|
+
/**
|
|
239
|
+
* If true, recursively delete all descendant branches along with this branch
|
|
240
|
+
*/
|
|
241
|
+
deleteDescendants?: pulumi.Input<boolean>;
|
|
242
|
+
/**
|
|
243
|
+
* Whether deletion protection is enabled for the branch
|
|
244
|
+
*/
|
|
245
|
+
deletionProtected?: pulumi.Input<boolean>;
|
|
246
|
+
/**
|
|
247
|
+
* The name of the branch to create
|
|
248
|
+
*/
|
|
249
|
+
name?: pulumi.Input<string>;
|
|
250
|
+
/**
|
|
251
|
+
* The name of the organization the branch belongs to
|
|
252
|
+
*/
|
|
253
|
+
organization: pulumi.Input<string>;
|
|
254
|
+
/**
|
|
255
|
+
* The name of the parent branch. Defaults to the database's default branch if not provided. Requires replacement if changed.
|
|
256
|
+
*/
|
|
257
|
+
parentBranch?: pulumi.Input<string>;
|
|
258
|
+
/**
|
|
259
|
+
* 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.
|
|
260
|
+
*/
|
|
261
|
+
region?: pulumi.Input<string>;
|
|
262
|
+
/**
|
|
263
|
+
* Whether safe migrations are enabled
|
|
264
|
+
*/
|
|
265
|
+
safeMigrations?: pulumi.Input<boolean>;
|
|
266
|
+
/**
|
|
267
|
+
* If provided, restores the last successful backup's schema and data to the new branch. Must have `restore_production_branch_backup(s)` or `restore_backup(s)` access to do this, in addition to Data Branching™ being enabled for the branch. must be <span pulumi-lang-nodejs=""lastSuccessfulBackup"" pulumi-lang-dotnet=""LastSuccessfulBackup"" pulumi-lang-go=""lastSuccessfulBackup"" pulumi-lang-python=""last_successful_backup"" pulumi-lang-yaml=""lastSuccessfulBackup"" pulumi-lang-java=""lastSuccessfulBackup"" pulumi-lang-hcl=""last_successful_backup"">"lastSuccessfulBackup"</span>; Requires replacement if changed.
|
|
268
|
+
*/
|
|
269
|
+
seedData?: pulumi.Input<string>;
|
|
270
|
+
/**
|
|
271
|
+
* If autoscaling is enabled for the vtgate cluster
|
|
272
|
+
*/
|
|
273
|
+
vtgateAutoscaling?: pulumi.Input<boolean>;
|
|
274
|
+
/**
|
|
275
|
+
* The number of vtgates in an availability zone
|
|
276
|
+
*/
|
|
277
|
+
vtgateCount?: pulumi.Input<number>;
|
|
278
|
+
/**
|
|
279
|
+
* The maximum number of vtgates in an availability zone when autoscaling is enabled
|
|
280
|
+
*/
|
|
281
|
+
vtgateMaxCount?: pulumi.Input<number>;
|
|
282
|
+
/**
|
|
283
|
+
* The size of the vtgate cluster: VTG_5, VTG_10,…
|
|
284
|
+
*/
|
|
285
|
+
vtgateSize?: pulumi.Input<string>;
|
|
286
|
+
/**
|
|
287
|
+
* The target CPU utilization for the vtgate cluster when autoscaling is enabled
|
|
288
|
+
*/
|
|
289
|
+
vtgateTargetCpuUtilization?: pulumi.Input<number>;
|
|
290
|
+
}
|
|
291
|
+
//# sourceMappingURL=vitessBranch.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vitessBranch.d.ts","sourceRoot":"","sources":["../vitessBranch.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,YAAa,SAAQ,MAAM,CAAC,cAAc;IACnD;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,iBAAiB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,YAAY;IAO1I;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,YAAY;IAOvD,SAAgC,KAAK,EAAE,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,iBAAiB,CAAC,CAAC;IAChF;;OAEG;IACH,SAAwB,QAAQ,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACpE;;OAEG;IACH,SAAwB,WAAW,EAAE,MAAM,CAAC,M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AC,EAAE,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;IAC1C;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACnC;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACtC;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IAClC;;OAEG;IACH,0BAA0B,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CACrD"}
|
|
@@ -0,0 +1,126 @@
|
|
|
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.VitessBranch = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
31
|
+
class VitessBranch extends pulumi.CustomResource {
|
|
32
|
+
/**
|
|
33
|
+
* Get an existing VitessBranch 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 VitessBranch(name, state, { ...opts, id: id });
|
|
43
|
+
}
|
|
44
|
+
/** @internal */
|
|
45
|
+
static __pulumiType = 'planetscale:index/vitessBranch:VitessBranch';
|
|
46
|
+
/**
|
|
47
|
+
* Returns true if the given object is an instance of VitessBranch. 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'] === VitessBranch.__pulumiType;
|
|
55
|
+
}
|
|
56
|
+
constructor(name, argsOrState, opts) {
|
|
57
|
+
let resourceInputs = {};
|
|
58
|
+
opts = opts || {};
|
|
59
|
+
if (opts.id) {
|
|
60
|
+
const state = argsOrState;
|
|
61
|
+
resourceInputs["actor"] = state?.actor;
|
|
62
|
+
resourceInputs["backupId"] = state?.backupId;
|
|
63
|
+
resourceInputs["clusterSize"] = state?.clusterSize;
|
|
64
|
+
resourceInputs["database"] = state?.database;
|
|
65
|
+
resourceInputs["deleteDescendants"] = state?.deleteDescendants;
|
|
66
|
+
resourceInputs["deletionProtected"] = state?.deletionProtected;
|
|
67
|
+
resourceInputs["htmlUrl"] = state?.htmlUrl;
|
|
68
|
+
resourceInputs["keyspaceCount"] = state?.keyspaceCount;
|
|
69
|
+
resourceInputs["mysqlAddress"] = state?.mysqlAddress;
|
|
70
|
+
resourceInputs["mysqlEdgeAddress"] = state?.mysqlEdgeAddress;
|
|
71
|
+
resourceInputs["name"] = state?.name;
|
|
72
|
+
resourceInputs["organization"] = state?.organization;
|
|
73
|
+
resourceInputs["parentBranch"] = state?.parentBranch;
|
|
74
|
+
resourceInputs["ready"] = state?.ready;
|
|
75
|
+
resourceInputs["region"] = state?.region;
|
|
76
|
+
resourceInputs["regionData"] = state?.regionData;
|
|
77
|
+
resourceInputs["safeMigrations"] = state?.safeMigrations;
|
|
78
|
+
resourceInputs["seedData"] = state?.seedData;
|
|
79
|
+
resourceInputs["state"] = state?.state;
|
|
80
|
+
resourceInputs["url"] = state?.url;
|
|
81
|
+
resourceInputs["vtgateAutoscaling"] = state?.vtgateAutoscaling;
|
|
82
|
+
resourceInputs["vtgateCount"] = state?.vtgateCount;
|
|
83
|
+
resourceInputs["vtgateMaxCount"] = state?.vtgateMaxCount;
|
|
84
|
+
resourceInputs["vtgateSize"] = state?.vtgateSize;
|
|
85
|
+
resourceInputs["vtgateTargetCpuUtilization"] = state?.vtgateTargetCpuUtilization;
|
|
86
|
+
}
|
|
87
|
+
else {
|
|
88
|
+
const args = argsOrState;
|
|
89
|
+
if (args?.database === undefined && !opts.urn) {
|
|
90
|
+
throw new Error("Missing required property 'database'");
|
|
91
|
+
}
|
|
92
|
+
if (args?.organization === undefined && !opts.urn) {
|
|
93
|
+
throw new Error("Missing required property 'organization'");
|
|
94
|
+
}
|
|
95
|
+
resourceInputs["backupId"] = args?.backupId;
|
|
96
|
+
resourceInputs["clusterSize"] = args?.clusterSize;
|
|
97
|
+
resourceInputs["database"] = args?.database;
|
|
98
|
+
resourceInputs["deleteDescendants"] = args?.deleteDescendants;
|
|
99
|
+
resourceInputs["deletionProtected"] = args?.deletionProtected;
|
|
100
|
+
resourceInputs["name"] = args?.name;
|
|
101
|
+
resourceInputs["organization"] = args?.organization;
|
|
102
|
+
resourceInputs["parentBranch"] = args?.parentBranch;
|
|
103
|
+
resourceInputs["region"] = args?.region;
|
|
104
|
+
resourceInputs["safeMigrations"] = args?.safeMigrations;
|
|
105
|
+
resourceInputs["seedData"] = args?.seedData;
|
|
106
|
+
resourceInputs["vtgateAutoscaling"] = args?.vtgateAutoscaling;
|
|
107
|
+
resourceInputs["vtgateCount"] = args?.vtgateCount;
|
|
108
|
+
resourceInputs["vtgateMaxCount"] = args?.vtgateMaxCount;
|
|
109
|
+
resourceInputs["vtgateSize"] = args?.vtgateSize;
|
|
110
|
+
resourceInputs["vtgateTargetCpuUtilization"] = args?.vtgateTargetCpuUtilization;
|
|
111
|
+
resourceInputs["actor"] = undefined /*out*/;
|
|
112
|
+
resourceInputs["htmlUrl"] = undefined /*out*/;
|
|
113
|
+
resourceInputs["keyspaceCount"] = undefined /*out*/;
|
|
114
|
+
resourceInputs["mysqlAddress"] = undefined /*out*/;
|
|
115
|
+
resourceInputs["mysqlEdgeAddress"] = undefined /*out*/;
|
|
116
|
+
resourceInputs["ready"] = undefined /*out*/;
|
|
117
|
+
resourceInputs["regionData"] = undefined /*out*/;
|
|
118
|
+
resourceInputs["state"] = undefined /*out*/;
|
|
119
|
+
resourceInputs["url"] = undefined /*out*/;
|
|
120
|
+
}
|
|
121
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
122
|
+
super(VitessBranch.__pulumiType, name, resourceInputs, opts, false /*dependency*/, utilities.getPackage());
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
exports.VitessBranch = VitessBranch;
|
|
126
|
+
//# sourceMappingURL=vitessBranch.js.map
|
|
@@ -0,0 +1 @@
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AAI,EAAE,UAAU,CAAC;YAChD,cAAc,CAAC,4BAA4B,CAAC,GAAG,IAAI,EAAE,0BAA0B,CAAC;YAChF,cAAc,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC5C,cAAc,CAAC,SAAS,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC9C,cAAc,CAAC,eAAe,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACpD,cAAc,CAAC,cAAc,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACnD,cAAc,CAAC,kBAAkB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACvD,cAAc,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC5C,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC5C,cAAc,CAAC,KAAK,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC7C;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,YAAY,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,KAAK,CAAC,cAAc,EAAE,SAAS,CAAC,UAAU,EAAE,CAAC,CAAC;IAC/G,CAAC;;AArML,oCAsMC"}
|
|
@@ -0,0 +1,197 @@
|
|
|
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 VitessBranchBackup extends pulumi.CustomResource {
|
|
5
|
+
/**
|
|
6
|
+
* Get an existing VitessBranchBackup 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?: VitessBranchBackupState, opts?: pulumi.CustomResourceOptions): VitessBranchBackup;
|
|
15
|
+
/**
|
|
16
|
+
* Returns true if the given object is an instance of VitessBranchBackup. 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 VitessBranchBackup;
|
|
20
|
+
readonly actor: pulumi.Output<outputs.VitessBranchBackupActor>;
|
|
21
|
+
readonly backupPolicy: pulumi.Output<outputs.VitessBranchBackupBackupPolicy>;
|
|
22
|
+
/**
|
|
23
|
+
* The name of the branch. Requires replacement if changed.
|
|
24
|
+
*/
|
|
25
|
+
readonly branch: pulumi.Output<string>;
|
|
26
|
+
/**
|
|
27
|
+
* When the backup completed
|
|
28
|
+
*/
|
|
29
|
+
readonly completedAt: pulumi.Output<string>;
|
|
30
|
+
/**
|
|
31
|
+
* The name of the database the branch belongs to. Requires replacement if changed.
|
|
32
|
+
*/
|
|
33
|
+
readonly database: pulumi.Output<string>;
|
|
34
|
+
readonly databaseBranch: pulumi.Output<outputs.VitessBranchBackupDatabaseBranch>;
|
|
35
|
+
/**
|
|
36
|
+
* When the backup was deleted
|
|
37
|
+
*/
|
|
38
|
+
readonly deletedAt: pulumi.Output<string>;
|
|
39
|
+
/**
|
|
40
|
+
* The estimated storage cost of the backup
|
|
41
|
+
*/
|
|
42
|
+
readonly estimatedStorageCost: pulumi.Output<number>;
|
|
43
|
+
/**
|
|
44
|
+
* When the backup expires
|
|
45
|
+
*/
|
|
46
|
+
readonly expiresAt: pulumi.Output<string>;
|
|
47
|
+
/**
|
|
48
|
+
* Name for the backup. Requires replacement if changed.
|
|
49
|
+
*/
|
|
50
|
+
readonly name: pulumi.Output<string>;
|
|
51
|
+
/**
|
|
52
|
+
* The name of the organization the branch belongs to. Requires replacement if changed.
|
|
53
|
+
*/
|
|
54
|
+
readonly organization: pulumi.Output<string>;
|
|
55
|
+
/**
|
|
56
|
+
* Whether or not the backup is protected from deletion
|
|
57
|
+
*/
|
|
58
|
+
readonly protected: pulumi.Output<boolean>;
|
|
59
|
+
/**
|
|
60
|
+
* Size of the PVC used for the backup
|
|
61
|
+
*/
|
|
62
|
+
readonly pvcSize: pulumi.Output<number>;
|
|
63
|
+
/**
|
|
64
|
+
* Unit for the retention period of the backup. must be one of ["hour", "day", "week", "month", "year"]; Requires replacement if changed.
|
|
65
|
+
*/
|
|
66
|
+
readonly retentionUnit: pulumi.Output<string | undefined>;
|
|
67
|
+
/**
|
|
68
|
+
* Value between <span pulumi-lang-nodejs="`1`" pulumi-lang-dotnet="`1`" pulumi-lang-go="`1`" pulumi-lang-python="`1`" pulumi-lang-yaml="`1`" pulumi-lang-java="`1`" pulumi-lang-hcl="`1`">`1`</span> and <span pulumi-lang-nodejs="`1000`" pulumi-lang-dotnet="`1000`" pulumi-lang-go="`1000`" pulumi-lang-python="`1000`" pulumi-lang-yaml="`1000`" pulumi-lang-java="`1000`" pulumi-lang-hcl="`1000`">`1000`</span> for the retention period of the backup (i.e<span pulumi-lang-nodejs=" retentionValue " pulumi-lang-dotnet=" RetentionValue " pulumi-lang-go=" retentionValue " pulumi-lang-python=" retention_value " pulumi-lang-yaml=" retentionValue " pulumi-lang-java=" retentionValue " pulumi-lang-hcl=" retention_value "> retentionValue </span><span pulumi-lang-nodejs="`6`" pulumi-lang-dotnet="`6`" pulumi-lang-go="`6`" pulumi-lang-python="`6`" pulumi-lang-yaml="`6`" pulumi-lang-java="`6`" pulumi-lang-hcl="`6`">`6`</span> and<span pulumi-lang-nodejs=" retentionUnit " pulumi-lang-dotnet=" RetentionUnit " pulumi-lang-go=" retentionUnit " pulumi-lang-python=" retention_unit " pulumi-lang-yaml=" retentionUnit " pulumi-lang-java=" retentionUnit " pulumi-lang-hcl=" retention_unit "> retentionUnit </span><span pulumi-lang-nodejs="`hour`" pulumi-lang-dotnet="`Hour`" pulumi-lang-go="`hour`" pulumi-lang-python="`hour`" pulumi-lang-yaml="`hour`" pulumi-lang-java="`hour`" pulumi-lang-hcl="`hour`">`hour`</span> means 6 hours). Requires replacement if changed.
|
|
69
|
+
*/
|
|
70
|
+
readonly retentionValue: pulumi.Output<number | undefined>;
|
|
71
|
+
/**
|
|
72
|
+
* The size of the backup in bytes
|
|
73
|
+
*/
|
|
74
|
+
readonly size: pulumi.Output<number>;
|
|
75
|
+
/**
|
|
76
|
+
* When the backup started
|
|
77
|
+
*/
|
|
78
|
+
readonly startedAt: pulumi.Output<string>;
|
|
79
|
+
/**
|
|
80
|
+
* The current state of the backup
|
|
81
|
+
*/
|
|
82
|
+
readonly state: pulumi.Output<string>;
|
|
83
|
+
/**
|
|
84
|
+
* The uncompressed (logical) size of the backup in bytes
|
|
85
|
+
*/
|
|
86
|
+
readonly uncompressedSize: pulumi.Output<number>;
|
|
87
|
+
/**
|
|
88
|
+
* Create a VitessBranchBackup resource with the given unique name, arguments, and options.
|
|
89
|
+
*
|
|
90
|
+
* @param name The _unique_ name of the resource.
|
|
91
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
92
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
93
|
+
*/
|
|
94
|
+
constructor(name: string, args: VitessBranchBackupArgs, opts?: pulumi.CustomResourceOptions);
|
|
95
|
+
}
|
|
96
|
+
/**
|
|
97
|
+
* Input properties used for looking up and filtering VitessBranchBackup resources.
|
|
98
|
+
*/
|
|
99
|
+
export interface VitessBranchBackupState {
|
|
100
|
+
actor?: pulumi.Input<inputs.VitessBranchBackupActor>;
|
|
101
|
+
backupPolicy?: pulumi.Input<inputs.VitessBranchBackupBackupPolicy>;
|
|
102
|
+
/**
|
|
103
|
+
* The name of the branch. Requires replacement if changed.
|
|
104
|
+
*/
|
|
105
|
+
branch?: pulumi.Input<string>;
|
|
106
|
+
/**
|
|
107
|
+
* When the backup completed
|
|
108
|
+
*/
|
|
109
|
+
completedAt?: pulumi.Input<string>;
|
|
110
|
+
/**
|
|
111
|
+
* The name of the database the branch belongs to. Requires replacement if changed.
|
|
112
|
+
*/
|
|
113
|
+
database?: pulumi.Input<string>;
|
|
114
|
+
databaseBranch?: pulumi.Input<inputs.VitessBranchBackupDatabaseBranch>;
|
|
115
|
+
/**
|
|
116
|
+
* When the backup was deleted
|
|
117
|
+
*/
|
|
118
|
+
deletedAt?: pulumi.Input<string>;
|
|
119
|
+
/**
|
|
120
|
+
* The estimated storage cost of the backup
|
|
121
|
+
*/
|
|
122
|
+
estimatedStorageCost?: pulumi.Input<number>;
|
|
123
|
+
/**
|
|
124
|
+
* When the backup expires
|
|
125
|
+
*/
|
|
126
|
+
expiresAt?: pulumi.Input<string>;
|
|
127
|
+
/**
|
|
128
|
+
* Name for the backup. Requires replacement if changed.
|
|
129
|
+
*/
|
|
130
|
+
name?: pulumi.Input<string>;
|
|
131
|
+
/**
|
|
132
|
+
* The name of the organization the branch belongs to. Requires replacement if changed.
|
|
133
|
+
*/
|
|
134
|
+
organization?: pulumi.Input<string>;
|
|
135
|
+
/**
|
|
136
|
+
* Whether or not the backup is protected from deletion
|
|
137
|
+
*/
|
|
138
|
+
protected?: pulumi.Input<boolean>;
|
|
139
|
+
/**
|
|
140
|
+
* Size of the PVC used for the backup
|
|
141
|
+
*/
|
|
142
|
+
pvcSize?: pulumi.Input<number>;
|
|
143
|
+
/**
|
|
144
|
+
* Unit for the retention period of the backup. must be one of ["hour", "day", "week", "month", "year"]; Requires replacement if changed.
|
|
145
|
+
*/
|
|
146
|
+
retentionUnit?: pulumi.Input<string>;
|
|
147
|
+
/**
|
|
148
|
+
* Value between <span pulumi-lang-nodejs="`1`" pulumi-lang-dotnet="`1`" pulumi-lang-go="`1`" pulumi-lang-python="`1`" pulumi-lang-yaml="`1`" pulumi-lang-java="`1`" pulumi-lang-hcl="`1`">`1`</span> and <span pulumi-lang-nodejs="`1000`" pulumi-lang-dotnet="`1000`" pulumi-lang-go="`1000`" pulumi-lang-python="`1000`" pulumi-lang-yaml="`1000`" pulumi-lang-java="`1000`" pulumi-lang-hcl="`1000`">`1000`</span> for the retention period of the backup (i.e<span pulumi-lang-nodejs=" retentionValue " pulumi-lang-dotnet=" RetentionValue " pulumi-lang-go=" retentionValue " pulumi-lang-python=" retention_value " pulumi-lang-yaml=" retentionValue " pulumi-lang-java=" retentionValue " pulumi-lang-hcl=" retention_value "> retentionValue </span><span pulumi-lang-nodejs="`6`" pulumi-lang-dotnet="`6`" pulumi-lang-go="`6`" pulumi-lang-python="`6`" pulumi-lang-yaml="`6`" pulumi-lang-java="`6`" pulumi-lang-hcl="`6`">`6`</span> and<span pulumi-lang-nodejs=" retentionUnit " pulumi-lang-dotnet=" RetentionUnit " pulumi-lang-go=" retentionUnit " pulumi-lang-python=" retention_unit " pulumi-lang-yaml=" retentionUnit " pulumi-lang-java=" retentionUnit " pulumi-lang-hcl=" retention_unit "> retentionUnit </span><span pulumi-lang-nodejs="`hour`" pulumi-lang-dotnet="`Hour`" pulumi-lang-go="`hour`" pulumi-lang-python="`hour`" pulumi-lang-yaml="`hour`" pulumi-lang-java="`hour`" pulumi-lang-hcl="`hour`">`hour`</span> means 6 hours). Requires replacement if changed.
|
|
149
|
+
*/
|
|
150
|
+
retentionValue?: pulumi.Input<number>;
|
|
151
|
+
/**
|
|
152
|
+
* The size of the backup in bytes
|
|
153
|
+
*/
|
|
154
|
+
size?: pulumi.Input<number>;
|
|
155
|
+
/**
|
|
156
|
+
* When the backup started
|
|
157
|
+
*/
|
|
158
|
+
startedAt?: pulumi.Input<string>;
|
|
159
|
+
/**
|
|
160
|
+
* The current state of the backup
|
|
161
|
+
*/
|
|
162
|
+
state?: pulumi.Input<string>;
|
|
163
|
+
/**
|
|
164
|
+
* The uncompressed (logical) size of the backup in bytes
|
|
165
|
+
*/
|
|
166
|
+
uncompressedSize?: pulumi.Input<number>;
|
|
167
|
+
}
|
|
168
|
+
/**
|
|
169
|
+
* The set of arguments for constructing a VitessBranchBackup resource.
|
|
170
|
+
*/
|
|
171
|
+
export interface VitessBranchBackupArgs {
|
|
172
|
+
/**
|
|
173
|
+
* The name of the branch. Requires replacement if changed.
|
|
174
|
+
*/
|
|
175
|
+
branch: pulumi.Input<string>;
|
|
176
|
+
/**
|
|
177
|
+
* The name of the database the branch belongs to. Requires replacement if changed.
|
|
178
|
+
*/
|
|
179
|
+
database: pulumi.Input<string>;
|
|
180
|
+
/**
|
|
181
|
+
* Name for the backup. Requires replacement if changed.
|
|
182
|
+
*/
|
|
183
|
+
name?: pulumi.Input<string>;
|
|
184
|
+
/**
|
|
185
|
+
* The name of the organization the branch belongs to. Requires replacement if changed.
|
|
186
|
+
*/
|
|
187
|
+
organization: pulumi.Input<string>;
|
|
188
|
+
/**
|
|
189
|
+
* Unit for the retention period of the backup. must be one of ["hour", "day", "week", "month", "year"]; Requires replacement if changed.
|
|
190
|
+
*/
|
|
191
|
+
retentionUnit?: pulumi.Input<string>;
|
|
192
|
+
/**
|
|
193
|
+
* Value between <span pulumi-lang-nodejs="`1`" pulumi-lang-dotnet="`1`" pulumi-lang-go="`1`" pulumi-lang-python="`1`" pulumi-lang-yaml="`1`" pulumi-lang-java="`1`" pulumi-lang-hcl="`1`">`1`</span> and <span pulumi-lang-nodejs="`1000`" pulumi-lang-dotnet="`1000`" pulumi-lang-go="`1000`" pulumi-lang-python="`1000`" pulumi-lang-yaml="`1000`" pulumi-lang-java="`1000`" pulumi-lang-hcl="`1000`">`1000`</span> for the retention period of the backup (i.e<span pulumi-lang-nodejs=" retentionValue " pulumi-lang-dotnet=" RetentionValue " pulumi-lang-go=" retentionValue " pulumi-lang-python=" retention_value " pulumi-lang-yaml=" retentionValue " pulumi-lang-java=" retentionValue " pulumi-lang-hcl=" retention_value "> retentionValue </span><span pulumi-lang-nodejs="`6`" pulumi-lang-dotnet="`6`" pulumi-lang-go="`6`" pulumi-lang-python="`6`" pulumi-lang-yaml="`6`" pulumi-lang-java="`6`" pulumi-lang-hcl="`6`">`6`</span> and<span pulumi-lang-nodejs=" retentionUnit " pulumi-lang-dotnet=" RetentionUnit " pulumi-lang-go=" retentionUnit " pulumi-lang-python=" retention_unit " pulumi-lang-yaml=" retentionUnit " pulumi-lang-java=" retentionUnit " pulumi-lang-hcl=" retention_unit "> retentionUnit </span><span pulumi-lang-nodejs="`hour`" pulumi-lang-dotnet="`Hour`" pulumi-lang-go="`hour`" pulumi-lang-python="`hour`" pulumi-lang-yaml="`hour`" pulumi-lang-java="`hour`" pulumi-lang-hcl="`hour`">`hour`</span> means 6 hours). Requires replacement if changed.
|
|
194
|
+
*/
|
|
195
|
+
retentionValue?: pulumi.Input<number>;
|
|
196
|
+
}
|
|
197
|
+
//# sourceMappingURL=vitessBranchBackup.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vitessBranchBackup.d.ts","sourceRoot":"","sources":["../vitessBranchBackup.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,kBAAmB,SAAQ,MAAM,CAAC,cAAc;IACzD;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,uBAAuB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,kBAAkB;IAOtJ;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,kBAAkB;IAO7D,SAAgC,KAAK,EAAE,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,uBAAuB,CAAC,CAAC;IACtF,SAAgC,YAAY,EAAE,MAAM,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