@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,205 @@
|
|
|
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
|
+
* Check whether an existing VitessBranchBackup resource with the given ID exists.
|
|
17
|
+
*
|
|
18
|
+
* @param id The _unique_ provider ID of the resource to check.
|
|
19
|
+
* @param state Any extra arguments used during the lookup.
|
|
20
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
21
|
+
*/
|
|
22
|
+
static exists(id: pulumi.Input<string>, state?: VitessBranchBackupState, opts?: pulumi.CustomResourceOptions): pulumi.Output<boolean>;
|
|
23
|
+
/**
|
|
24
|
+
* Returns true if the given object is an instance of VitessBranchBackup. This is designed to work even
|
|
25
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
26
|
+
*/
|
|
27
|
+
static isInstance(obj: any): obj is VitessBranchBackup;
|
|
28
|
+
readonly actor: pulumi.Output<outputs.VitessBranchBackupActor>;
|
|
29
|
+
readonly backupPolicy: pulumi.Output<outputs.VitessBranchBackupBackupPolicy>;
|
|
30
|
+
/**
|
|
31
|
+
* The name of the branch. Requires replacement if changed.
|
|
32
|
+
*/
|
|
33
|
+
readonly branch: pulumi.Output<string>;
|
|
34
|
+
/**
|
|
35
|
+
* When the backup completed
|
|
36
|
+
*/
|
|
37
|
+
readonly completedAt: pulumi.Output<string>;
|
|
38
|
+
/**
|
|
39
|
+
* The name of the database the branch belongs to. Requires replacement if changed.
|
|
40
|
+
*/
|
|
41
|
+
readonly database: pulumi.Output<string>;
|
|
42
|
+
readonly databaseBranch: pulumi.Output<outputs.VitessBranchBackupDatabaseBranch>;
|
|
43
|
+
/**
|
|
44
|
+
* When the backup was deleted
|
|
45
|
+
*/
|
|
46
|
+
readonly deletedAt: pulumi.Output<string>;
|
|
47
|
+
/**
|
|
48
|
+
* The estimated storage cost of the backup
|
|
49
|
+
*/
|
|
50
|
+
readonly estimatedStorageCost: pulumi.Output<number>;
|
|
51
|
+
/**
|
|
52
|
+
* When the backup expires
|
|
53
|
+
*/
|
|
54
|
+
readonly expiresAt: pulumi.Output<string>;
|
|
55
|
+
/**
|
|
56
|
+
* Name for the backup. Requires replacement if changed.
|
|
57
|
+
*/
|
|
58
|
+
readonly name: pulumi.Output<string>;
|
|
59
|
+
/**
|
|
60
|
+
* The name of the organization the branch belongs to. Requires replacement if changed.
|
|
61
|
+
*/
|
|
62
|
+
readonly organization: pulumi.Output<string>;
|
|
63
|
+
/**
|
|
64
|
+
* Whether or not the backup is protected from deletion
|
|
65
|
+
*/
|
|
66
|
+
readonly protected: pulumi.Output<boolean>;
|
|
67
|
+
/**
|
|
68
|
+
* Size of the PVC used for the backup
|
|
69
|
+
*/
|
|
70
|
+
readonly pvcSize: pulumi.Output<number>;
|
|
71
|
+
/**
|
|
72
|
+
* Unit for the retention period of the backup. must be one of ["hour", "day", "week", "month", "year"]; Requires replacement if changed.
|
|
73
|
+
*/
|
|
74
|
+
readonly retentionUnit: pulumi.Output<string | undefined>;
|
|
75
|
+
/**
|
|
76
|
+
* 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.
|
|
77
|
+
*/
|
|
78
|
+
readonly retentionValue: pulumi.Output<number | undefined>;
|
|
79
|
+
/**
|
|
80
|
+
* The size of the backup in bytes
|
|
81
|
+
*/
|
|
82
|
+
readonly size: pulumi.Output<number>;
|
|
83
|
+
/**
|
|
84
|
+
* When the backup started
|
|
85
|
+
*/
|
|
86
|
+
readonly startedAt: pulumi.Output<string>;
|
|
87
|
+
/**
|
|
88
|
+
* The current state of the backup
|
|
89
|
+
*/
|
|
90
|
+
readonly state: pulumi.Output<string>;
|
|
91
|
+
/**
|
|
92
|
+
* The uncompressed (logical) size of the backup in bytes
|
|
93
|
+
*/
|
|
94
|
+
readonly uncompressedSize: pulumi.Output<number>;
|
|
95
|
+
/**
|
|
96
|
+
* Create a VitessBranchBackup resource with the given unique name, arguments, and options.
|
|
97
|
+
*
|
|
98
|
+
* @param name The _unique_ name of the resource.
|
|
99
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
100
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
101
|
+
*/
|
|
102
|
+
constructor(name: string, args: VitessBranchBackupArgs, opts?: pulumi.CustomResourceOptions);
|
|
103
|
+
}
|
|
104
|
+
/**
|
|
105
|
+
* Input properties used for looking up and filtering VitessBranchBackup resources.
|
|
106
|
+
*/
|
|
107
|
+
export interface VitessBranchBackupState {
|
|
108
|
+
actor?: pulumi.Input<inputs.VitessBranchBackupActor | undefined>;
|
|
109
|
+
backupPolicy?: pulumi.Input<inputs.VitessBranchBackupBackupPolicy | undefined>;
|
|
110
|
+
/**
|
|
111
|
+
* The name of the branch. Requires replacement if changed.
|
|
112
|
+
*/
|
|
113
|
+
branch?: pulumi.Input<string | undefined>;
|
|
114
|
+
/**
|
|
115
|
+
* When the backup completed
|
|
116
|
+
*/
|
|
117
|
+
completedAt?: pulumi.Input<string | undefined>;
|
|
118
|
+
/**
|
|
119
|
+
* The name of the database the branch belongs to. Requires replacement if changed.
|
|
120
|
+
*/
|
|
121
|
+
database?: pulumi.Input<string | undefined>;
|
|
122
|
+
databaseBranch?: pulumi.Input<inputs.VitessBranchBackupDatabaseBranch | undefined>;
|
|
123
|
+
/**
|
|
124
|
+
* When the backup was deleted
|
|
125
|
+
*/
|
|
126
|
+
deletedAt?: pulumi.Input<string | undefined>;
|
|
127
|
+
/**
|
|
128
|
+
* The estimated storage cost of the backup
|
|
129
|
+
*/
|
|
130
|
+
estimatedStorageCost?: pulumi.Input<number | undefined>;
|
|
131
|
+
/**
|
|
132
|
+
* When the backup expires
|
|
133
|
+
*/
|
|
134
|
+
expiresAt?: pulumi.Input<string | undefined>;
|
|
135
|
+
/**
|
|
136
|
+
* Name for the backup. Requires replacement if changed.
|
|
137
|
+
*/
|
|
138
|
+
name?: pulumi.Input<string | undefined>;
|
|
139
|
+
/**
|
|
140
|
+
* The name of the organization the branch belongs to. Requires replacement if changed.
|
|
141
|
+
*/
|
|
142
|
+
organization?: pulumi.Input<string | undefined>;
|
|
143
|
+
/**
|
|
144
|
+
* Whether or not the backup is protected from deletion
|
|
145
|
+
*/
|
|
146
|
+
protected?: pulumi.Input<boolean | undefined>;
|
|
147
|
+
/**
|
|
148
|
+
* Size of the PVC used for the backup
|
|
149
|
+
*/
|
|
150
|
+
pvcSize?: pulumi.Input<number | undefined>;
|
|
151
|
+
/**
|
|
152
|
+
* Unit for the retention period of the backup. must be one of ["hour", "day", "week", "month", "year"]; Requires replacement if changed.
|
|
153
|
+
*/
|
|
154
|
+
retentionUnit?: pulumi.Input<string | undefined>;
|
|
155
|
+
/**
|
|
156
|
+
* Value between <span pulumi-lang-nodejs="`1`" pulumi-lang-dotnet="`1`" pulumi-lang-go="`1`" pulumi-lang-python="`1`" pulumi-lang-yaml="`1`" pulumi-lang-java="`1`" pulumi-lang-hcl="`1`">`1`</span> and <span pulumi-lang-nodejs="`1000`" pulumi-lang-dotnet="`1000`" pulumi-lang-go="`1000`" pulumi-lang-python="`1000`" pulumi-lang-yaml="`1000`" pulumi-lang-java="`1000`" pulumi-lang-hcl="`1000`">`1000`</span> for the retention period of the backup (i.e<span pulumi-lang-nodejs=" retentionValue " pulumi-lang-dotnet=" RetentionValue " pulumi-lang-go=" retentionValue " pulumi-lang-python=" retention_value " pulumi-lang-yaml=" retentionValue " pulumi-lang-java=" retentionValue " pulumi-lang-hcl=" retention_value "> retentionValue </span><span pulumi-lang-nodejs="`6`" pulumi-lang-dotnet="`6`" pulumi-lang-go="`6`" pulumi-lang-python="`6`" pulumi-lang-yaml="`6`" pulumi-lang-java="`6`" pulumi-lang-hcl="`6`">`6`</span> and<span pulumi-lang-nodejs=" retentionUnit " pulumi-lang-dotnet=" RetentionUnit " pulumi-lang-go=" retentionUnit " pulumi-lang-python=" retention_unit " pulumi-lang-yaml=" retentionUnit " pulumi-lang-java=" retentionUnit " pulumi-lang-hcl=" retention_unit "> retentionUnit </span><span pulumi-lang-nodejs="`hour`" pulumi-lang-dotnet="`Hour`" pulumi-lang-go="`hour`" pulumi-lang-python="`hour`" pulumi-lang-yaml="`hour`" pulumi-lang-java="`hour`" pulumi-lang-hcl="`hour`">`hour`</span> means 6 hours). Requires replacement if changed.
|
|
157
|
+
*/
|
|
158
|
+
retentionValue?: pulumi.Input<number | undefined>;
|
|
159
|
+
/**
|
|
160
|
+
* The size of the backup in bytes
|
|
161
|
+
*/
|
|
162
|
+
size?: pulumi.Input<number | undefined>;
|
|
163
|
+
/**
|
|
164
|
+
* When the backup started
|
|
165
|
+
*/
|
|
166
|
+
startedAt?: pulumi.Input<string | undefined>;
|
|
167
|
+
/**
|
|
168
|
+
* The current state of the backup
|
|
169
|
+
*/
|
|
170
|
+
state?: pulumi.Input<string | undefined>;
|
|
171
|
+
/**
|
|
172
|
+
* The uncompressed (logical) size of the backup in bytes
|
|
173
|
+
*/
|
|
174
|
+
uncompressedSize?: pulumi.Input<number | undefined>;
|
|
175
|
+
}
|
|
176
|
+
/**
|
|
177
|
+
* The set of arguments for constructing a VitessBranchBackup resource.
|
|
178
|
+
*/
|
|
179
|
+
export interface VitessBranchBackupArgs {
|
|
180
|
+
/**
|
|
181
|
+
* The name of the branch. Requires replacement if changed.
|
|
182
|
+
*/
|
|
183
|
+
branch: pulumi.Input<string>;
|
|
184
|
+
/**
|
|
185
|
+
* The name of the database the branch belongs to. Requires replacement if changed.
|
|
186
|
+
*/
|
|
187
|
+
database: pulumi.Input<string>;
|
|
188
|
+
/**
|
|
189
|
+
* Name for the backup. Requires replacement if changed.
|
|
190
|
+
*/
|
|
191
|
+
name?: pulumi.Input<string | undefined>;
|
|
192
|
+
/**
|
|
193
|
+
* The name of the organization the branch belongs to. Requires replacement if changed.
|
|
194
|
+
*/
|
|
195
|
+
organization: pulumi.Input<string>;
|
|
196
|
+
/**
|
|
197
|
+
* Unit for the retention period of the backup. must be one of ["hour", "day", "week", "month", "year"]; Requires replacement if changed.
|
|
198
|
+
*/
|
|
199
|
+
retentionUnit?: pulumi.Input<string | undefined>;
|
|
200
|
+
/**
|
|
201
|
+
* 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.
|
|
202
|
+
*/
|
|
203
|
+
retentionValue?: pulumi.Input<number | undefined>;
|
|
204
|
+
}
|
|
205
|
+
//# 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;IAItJ;;;;;;OAMG;WACW,MAAM,CAAC,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,KAAK,CAAC,EAAE,uBAAuB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC;IAO5I;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,G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I,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACxC;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;IACnC;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACjD;;OAEG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CACrD"}
|
|
@@ -0,0 +1,127 @@
|
|
|
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.VitessBranchBackup = void 0;
|
|
29
|
+
const pulumi = __importStar(require("@pulumi/pulumi"));
|
|
30
|
+
const utilities = __importStar(require("./utilities"));
|
|
31
|
+
class VitessBranchBackup extends pulumi.CustomResource {
|
|
32
|
+
/**
|
|
33
|
+
* Get an existing VitessBranchBackup 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 VitessBranchBackup(name, state, { ...opts, id: id });
|
|
43
|
+
}
|
|
44
|
+
/**
|
|
45
|
+
* Check whether an existing VitessBranchBackup 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/vitessBranchBackup:VitessBranchBackup", id, state || {}, { ...opts }, utilities.getPackage());
|
|
53
|
+
}
|
|
54
|
+
/** @internal */
|
|
55
|
+
static __pulumiType = 'planetscale:index/vitessBranchBackup:VitessBranchBackup';
|
|
56
|
+
/**
|
|
57
|
+
* Returns true if the given object is an instance of VitessBranchBackup. 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'] === VitessBranchBackup.__pulumiType;
|
|
65
|
+
}
|
|
66
|
+
constructor(name, argsOrState, opts) {
|
|
67
|
+
let resourceInputs = {};
|
|
68
|
+
opts = opts || {};
|
|
69
|
+
if (opts.id) {
|
|
70
|
+
const state = argsOrState;
|
|
71
|
+
resourceInputs["actor"] = state?.actor;
|
|
72
|
+
resourceInputs["backupPolicy"] = state?.backupPolicy;
|
|
73
|
+
resourceInputs["branch"] = state?.branch;
|
|
74
|
+
resourceInputs["completedAt"] = state?.completedAt;
|
|
75
|
+
resourceInputs["database"] = state?.database;
|
|
76
|
+
resourceInputs["databaseBranch"] = state?.databaseBranch;
|
|
77
|
+
resourceInputs["deletedAt"] = state?.deletedAt;
|
|
78
|
+
resourceInputs["estimatedStorageCost"] = state?.estimatedStorageCost;
|
|
79
|
+
resourceInputs["expiresAt"] = state?.expiresAt;
|
|
80
|
+
resourceInputs["name"] = state?.name;
|
|
81
|
+
resourceInputs["organization"] = state?.organization;
|
|
82
|
+
resourceInputs["protected"] = state?.protected;
|
|
83
|
+
resourceInputs["pvcSize"] = state?.pvcSize;
|
|
84
|
+
resourceInputs["retentionUnit"] = state?.retentionUnit;
|
|
85
|
+
resourceInputs["retentionValue"] = state?.retentionValue;
|
|
86
|
+
resourceInputs["size"] = state?.size;
|
|
87
|
+
resourceInputs["startedAt"] = state?.startedAt;
|
|
88
|
+
resourceInputs["state"] = state?.state;
|
|
89
|
+
resourceInputs["uncompressedSize"] = state?.uncompressedSize;
|
|
90
|
+
}
|
|
91
|
+
else {
|
|
92
|
+
const args = argsOrState;
|
|
93
|
+
if (args?.branch === undefined && !opts.urn) {
|
|
94
|
+
throw new Error("Missing required property 'branch'");
|
|
95
|
+
}
|
|
96
|
+
if (args?.database === undefined && !opts.urn) {
|
|
97
|
+
throw new Error("Missing required property 'database'");
|
|
98
|
+
}
|
|
99
|
+
if (args?.organization === undefined && !opts.urn) {
|
|
100
|
+
throw new Error("Missing required property 'organization'");
|
|
101
|
+
}
|
|
102
|
+
resourceInputs["branch"] = args?.branch;
|
|
103
|
+
resourceInputs["database"] = args?.database;
|
|
104
|
+
resourceInputs["name"] = args?.name;
|
|
105
|
+
resourceInputs["organization"] = args?.organization;
|
|
106
|
+
resourceInputs["retentionUnit"] = args?.retentionUnit;
|
|
107
|
+
resourceInputs["retentionValue"] = args?.retentionValue;
|
|
108
|
+
resourceInputs["actor"] = undefined /*out*/;
|
|
109
|
+
resourceInputs["backupPolicy"] = undefined /*out*/;
|
|
110
|
+
resourceInputs["completedAt"] = undefined /*out*/;
|
|
111
|
+
resourceInputs["databaseBranch"] = undefined /*out*/;
|
|
112
|
+
resourceInputs["deletedAt"] = undefined /*out*/;
|
|
113
|
+
resourceInputs["estimatedStorageCost"] = undefined /*out*/;
|
|
114
|
+
resourceInputs["expiresAt"] = undefined /*out*/;
|
|
115
|
+
resourceInputs["protected"] = undefined /*out*/;
|
|
116
|
+
resourceInputs["pvcSize"] = undefined /*out*/;
|
|
117
|
+
resourceInputs["size"] = undefined /*out*/;
|
|
118
|
+
resourceInputs["startedAt"] = undefined /*out*/;
|
|
119
|
+
resourceInputs["state"] = undefined /*out*/;
|
|
120
|
+
resourceInputs["uncompressedSize"] = undefined /*out*/;
|
|
121
|
+
}
|
|
122
|
+
opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
|
|
123
|
+
super(VitessBranchBackup.__pulumiType, name, resourceInputs, opts, false /*dependency*/, utilities.getPackage());
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
exports.VitessBranchBackup = VitessBranchBackup;
|
|
127
|
+
//# sourceMappingURL=vitessBranchBackup.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vitessBranchBackup.js","sourceRoot":"","sources":["../vitessBranchBackup.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AAGzC,uDAAyC;AA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AC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC5C,cAAc,CAAC,kBAAkB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SAC1D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,kBAAkB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,EAAE,KAAK,CAAC,cAAc,EAAE,SAAS,CAAC,UAAU,EAAE,CAAC,CAAC;IACrH,CAAC;;AA5KL,gDA6KC"}
|
|
@@ -0,0 +1,265 @@
|
|
|
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 VitessBranchPassword extends pulumi.CustomResource {
|
|
5
|
+
/**
|
|
6
|
+
* Get an existing VitessBranchPassword 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?: VitessBranchPasswordState, opts?: pulumi.CustomResourceOptions): VitessBranchPassword;
|
|
15
|
+
/**
|
|
16
|
+
* Check whether an existing VitessBranchPassword resource with the given ID exists.
|
|
17
|
+
*
|
|
18
|
+
* @param id The _unique_ provider ID of the resource to check.
|
|
19
|
+
* @param state Any extra arguments used during the lookup.
|
|
20
|
+
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
21
|
+
*/
|
|
22
|
+
static exists(id: pulumi.Input<string>, state?: VitessBranchPasswordState, opts?: pulumi.CustomResourceOptions): pulumi.Output<boolean>;
|
|
23
|
+
/**
|
|
24
|
+
* Returns true if the given object is an instance of VitessBranchPassword. This is designed to work even
|
|
25
|
+
* when multiple copies of the Pulumi SDK have been loaded into the same process.
|
|
26
|
+
*/
|
|
27
|
+
static isInstance(obj: any): obj is VitessBranchPassword;
|
|
28
|
+
/**
|
|
29
|
+
* The regional host URL
|
|
30
|
+
*/
|
|
31
|
+
readonly accessHostRegionalUrl: pulumi.Output<string>;
|
|
32
|
+
/**
|
|
33
|
+
* The read-only replica host URLs
|
|
34
|
+
*/
|
|
35
|
+
readonly accessHostRegionalUrls: pulumi.Output<string[]>;
|
|
36
|
+
/**
|
|
37
|
+
* The host URL for the password
|
|
38
|
+
*/
|
|
39
|
+
readonly accessHostUrl: pulumi.Output<string>;
|
|
40
|
+
readonly actor: pulumi.Output<outputs.VitessBranchPasswordActor>;
|
|
41
|
+
/**
|
|
42
|
+
* The name of the branch the password belongs to
|
|
43
|
+
*/
|
|
44
|
+
readonly branch: pulumi.Output<string>;
|
|
45
|
+
/**
|
|
46
|
+
* List of IP addresses or CIDR ranges that can use this password
|
|
47
|
+
*/
|
|
48
|
+
readonly cidrs: pulumi.Output<string[]>;
|
|
49
|
+
/**
|
|
50
|
+
* When the password was created
|
|
51
|
+
*/
|
|
52
|
+
readonly createdAt: pulumi.Output<string>;
|
|
53
|
+
/**
|
|
54
|
+
* The name of the database the password belongs to
|
|
55
|
+
*/
|
|
56
|
+
readonly database: pulumi.Output<string>;
|
|
57
|
+
readonly databaseBranch: pulumi.Output<outputs.VitessBranchPasswordDatabaseBranch>;
|
|
58
|
+
/**
|
|
59
|
+
* When the password was deleted
|
|
60
|
+
*/
|
|
61
|
+
readonly deletedAt: pulumi.Output<string>;
|
|
62
|
+
/**
|
|
63
|
+
* Whether the password connects directly to a VTGate. Requires replacement if changed.
|
|
64
|
+
*/
|
|
65
|
+
readonly directVtgate: pulumi.Output<boolean>;
|
|
66
|
+
/**
|
|
67
|
+
* The list of hosts in each availability zone providing direct access to a vtgate
|
|
68
|
+
*/
|
|
69
|
+
readonly directVtgateAddresses: pulumi.Output<string[]>;
|
|
70
|
+
/**
|
|
71
|
+
* True if the credentials are expired
|
|
72
|
+
*/
|
|
73
|
+
readonly expired: pulumi.Output<boolean>;
|
|
74
|
+
/**
|
|
75
|
+
* When the password will expire
|
|
76
|
+
*/
|
|
77
|
+
readonly expiresAt: pulumi.Output<string>;
|
|
78
|
+
/**
|
|
79
|
+
* When the password was last used to execute a query
|
|
80
|
+
*/
|
|
81
|
+
readonly lastUsedAt: pulumi.Output<string>;
|
|
82
|
+
/**
|
|
83
|
+
* Optional name of the password
|
|
84
|
+
*/
|
|
85
|
+
readonly name: pulumi.Output<string>;
|
|
86
|
+
/**
|
|
87
|
+
* The name of the organization the password belongs to
|
|
88
|
+
*/
|
|
89
|
+
readonly organization: pulumi.Output<string>;
|
|
90
|
+
/**
|
|
91
|
+
* The plaintext password. Null except in the response from the create endpoint.
|
|
92
|
+
*/
|
|
93
|
+
readonly plainText: pulumi.Output<string>;
|
|
94
|
+
readonly region: pulumi.Output<outputs.VitessBranchPasswordRegion>;
|
|
95
|
+
/**
|
|
96
|
+
* Whether or not the password can be renewed
|
|
97
|
+
*/
|
|
98
|
+
readonly renewable: pulumi.Output<boolean>;
|
|
99
|
+
/**
|
|
100
|
+
* Whether the password is for a read replica. Requires replacement if changed.
|
|
101
|
+
*/
|
|
102
|
+
readonly replica: pulumi.Output<boolean>;
|
|
103
|
+
/**
|
|
104
|
+
* The database role of the password (i.e. admin). must be one of ["reader", "writer", "admin", "readwriter"]; Requires replacement if changed.
|
|
105
|
+
*/
|
|
106
|
+
readonly role: pulumi.Output<string>;
|
|
107
|
+
/**
|
|
108
|
+
* Time to live (in seconds) for the password. The password will be invalid when TTL has passed. Requires replacement if changed.
|
|
109
|
+
*/
|
|
110
|
+
readonly ttl: pulumi.Output<number | undefined>;
|
|
111
|
+
/**
|
|
112
|
+
* Time to live (in seconds) for the password. The password will be invalid when TTL has passed
|
|
113
|
+
*/
|
|
114
|
+
readonly ttlSeconds: pulumi.Output<number>;
|
|
115
|
+
/**
|
|
116
|
+
* The username for the password
|
|
117
|
+
*/
|
|
118
|
+
readonly username: pulumi.Output<string>;
|
|
119
|
+
/**
|
|
120
|
+
* Create a VitessBranchPassword resource with the given unique name, arguments, and options.
|
|
121
|
+
*
|
|
122
|
+
* @param name The _unique_ name of the resource.
|
|
123
|
+
* @param args The arguments to use to populate this resource's properties.
|
|
124
|
+
* @param opts A bag of options that control this resource's behavior.
|
|
125
|
+
*/
|
|
126
|
+
constructor(name: string, args: VitessBranchPasswordArgs, opts?: pulumi.CustomResourceOptions);
|
|
127
|
+
}
|
|
128
|
+
/**
|
|
129
|
+
* Input properties used for looking up and filtering VitessBranchPassword resources.
|
|
130
|
+
*/
|
|
131
|
+
export interface VitessBranchPasswordState {
|
|
132
|
+
/**
|
|
133
|
+
* The regional host URL
|
|
134
|
+
*/
|
|
135
|
+
accessHostRegionalUrl?: pulumi.Input<string | undefined>;
|
|
136
|
+
/**
|
|
137
|
+
* The read-only replica host URLs
|
|
138
|
+
*/
|
|
139
|
+
accessHostRegionalUrls?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|
140
|
+
/**
|
|
141
|
+
* The host URL for the password
|
|
142
|
+
*/
|
|
143
|
+
accessHostUrl?: pulumi.Input<string | undefined>;
|
|
144
|
+
actor?: pulumi.Input<inputs.VitessBranchPasswordActor | undefined>;
|
|
145
|
+
/**
|
|
146
|
+
* The name of the branch the password belongs to
|
|
147
|
+
*/
|
|
148
|
+
branch?: pulumi.Input<string | undefined>;
|
|
149
|
+
/**
|
|
150
|
+
* List of IP addresses or CIDR ranges that can use this password
|
|
151
|
+
*/
|
|
152
|
+
cidrs?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|
153
|
+
/**
|
|
154
|
+
* When the password was created
|
|
155
|
+
*/
|
|
156
|
+
createdAt?: pulumi.Input<string | undefined>;
|
|
157
|
+
/**
|
|
158
|
+
* The name of the database the password belongs to
|
|
159
|
+
*/
|
|
160
|
+
database?: pulumi.Input<string | undefined>;
|
|
161
|
+
databaseBranch?: pulumi.Input<inputs.VitessBranchPasswordDatabaseBranch | undefined>;
|
|
162
|
+
/**
|
|
163
|
+
* When the password was deleted
|
|
164
|
+
*/
|
|
165
|
+
deletedAt?: pulumi.Input<string | undefined>;
|
|
166
|
+
/**
|
|
167
|
+
* Whether the password connects directly to a VTGate. Requires replacement if changed.
|
|
168
|
+
*/
|
|
169
|
+
directVtgate?: pulumi.Input<boolean | undefined>;
|
|
170
|
+
/**
|
|
171
|
+
* The list of hosts in each availability zone providing direct access to a vtgate
|
|
172
|
+
*/
|
|
173
|
+
directVtgateAddresses?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|
174
|
+
/**
|
|
175
|
+
* True if the credentials are expired
|
|
176
|
+
*/
|
|
177
|
+
expired?: pulumi.Input<boolean | undefined>;
|
|
178
|
+
/**
|
|
179
|
+
* When the password will expire
|
|
180
|
+
*/
|
|
181
|
+
expiresAt?: pulumi.Input<string | undefined>;
|
|
182
|
+
/**
|
|
183
|
+
* When the password was last used to execute a query
|
|
184
|
+
*/
|
|
185
|
+
lastUsedAt?: pulumi.Input<string | undefined>;
|
|
186
|
+
/**
|
|
187
|
+
* Optional name of the password
|
|
188
|
+
*/
|
|
189
|
+
name?: pulumi.Input<string | undefined>;
|
|
190
|
+
/**
|
|
191
|
+
* The name of the organization the password belongs to
|
|
192
|
+
*/
|
|
193
|
+
organization?: pulumi.Input<string | undefined>;
|
|
194
|
+
/**
|
|
195
|
+
* The plaintext password. Null except in the response from the create endpoint.
|
|
196
|
+
*/
|
|
197
|
+
plainText?: pulumi.Input<string | undefined>;
|
|
198
|
+
region?: pulumi.Input<inputs.VitessBranchPasswordRegion | undefined>;
|
|
199
|
+
/**
|
|
200
|
+
* Whether or not the password can be renewed
|
|
201
|
+
*/
|
|
202
|
+
renewable?: pulumi.Input<boolean | undefined>;
|
|
203
|
+
/**
|
|
204
|
+
* Whether the password is for a read replica. Requires replacement if changed.
|
|
205
|
+
*/
|
|
206
|
+
replica?: pulumi.Input<boolean | undefined>;
|
|
207
|
+
/**
|
|
208
|
+
* The database role of the password (i.e. admin). must be one of ["reader", "writer", "admin", "readwriter"]; Requires replacement if changed.
|
|
209
|
+
*/
|
|
210
|
+
role?: pulumi.Input<string | undefined>;
|
|
211
|
+
/**
|
|
212
|
+
* Time to live (in seconds) for the password. The password will be invalid when TTL has passed. Requires replacement if changed.
|
|
213
|
+
*/
|
|
214
|
+
ttl?: pulumi.Input<number | undefined>;
|
|
215
|
+
/**
|
|
216
|
+
* Time to live (in seconds) for the password. The password will be invalid when TTL has passed
|
|
217
|
+
*/
|
|
218
|
+
ttlSeconds?: pulumi.Input<number | undefined>;
|
|
219
|
+
/**
|
|
220
|
+
* The username for the password
|
|
221
|
+
*/
|
|
222
|
+
username?: pulumi.Input<string | undefined>;
|
|
223
|
+
}
|
|
224
|
+
/**
|
|
225
|
+
* The set of arguments for constructing a VitessBranchPassword resource.
|
|
226
|
+
*/
|
|
227
|
+
export interface VitessBranchPasswordArgs {
|
|
228
|
+
/**
|
|
229
|
+
* The name of the branch the password belongs to
|
|
230
|
+
*/
|
|
231
|
+
branch: pulumi.Input<string>;
|
|
232
|
+
/**
|
|
233
|
+
* List of IP addresses or CIDR ranges that can use this password
|
|
234
|
+
*/
|
|
235
|
+
cidrs?: pulumi.Input<pulumi.Input<string>[] | undefined>;
|
|
236
|
+
/**
|
|
237
|
+
* The name of the database the password belongs to
|
|
238
|
+
*/
|
|
239
|
+
database: pulumi.Input<string>;
|
|
240
|
+
/**
|
|
241
|
+
* Whether the password connects directly to a VTGate. Requires replacement if changed.
|
|
242
|
+
*/
|
|
243
|
+
directVtgate?: pulumi.Input<boolean | undefined>;
|
|
244
|
+
/**
|
|
245
|
+
* Optional name of the password
|
|
246
|
+
*/
|
|
247
|
+
name?: pulumi.Input<string | undefined>;
|
|
248
|
+
/**
|
|
249
|
+
* The name of the organization the password belongs to
|
|
250
|
+
*/
|
|
251
|
+
organization: pulumi.Input<string>;
|
|
252
|
+
/**
|
|
253
|
+
* Whether the password is for a read replica. Requires replacement if changed.
|
|
254
|
+
*/
|
|
255
|
+
replica?: pulumi.Input<boolean | undefined>;
|
|
256
|
+
/**
|
|
257
|
+
* The database role of the password (i.e. admin). must be one of ["reader", "writer", "admin", "readwriter"]; Requires replacement if changed.
|
|
258
|
+
*/
|
|
259
|
+
role?: pulumi.Input<string | undefined>;
|
|
260
|
+
/**
|
|
261
|
+
* Time to live (in seconds) for the password. The password will be invalid when TTL has passed. Requires replacement if changed.
|
|
262
|
+
*/
|
|
263
|
+
ttl?: pulumi.Input<number | undefined>;
|
|
264
|
+
}
|
|
265
|
+
//# sourceMappingURL=vitessBranchPassword.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vitessBranchPassword.d.ts","sourceRoot":"","sources":["../vitessBranchPassword.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,oBAAqB,SAAQ,MAAM,CAAC,cAAc;IAC3D;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,yBAAyB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,oBAAoB;IAI1J;;;;;;OAMG;WACW,MAAM,CAAC,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,KAAK,CAAC,EAAE,yBAAyB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC;IAO9I;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAA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