{"attribution":"This Pulumi package is based on the [`planetscale` Terraform Provider](https://github.com/planetscale/terraform-provider-planetscale).","config":{"variables":{"serverUrl":{"description":"Server URL (defaults to https://api.planetscale.com/v1)","type":"string"},"serviceToken":{"description":"PlanetScale Service Token. Configurable via environment variable `PLANETSCALE_SERVICE_TOKEN`.","secret":true,"type":"string"},"serviceTokenId":{"description":"PlanetScale Service Token ID. Configurable via environment variable `PLANETSCALE_SERVICE_TOKEN_ID`.","secret":true,"type":"string"}}},"description":"A Pulumi provider dynamically bridged from planetscale.","functions":{"planetscale:index/getDatabasePostgres:getDatabasePostgres":{"description":"DatabasePostgres DataSource\n\n## Example Usage\n\n<!--Start PulumiCodeChooser -->\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as planetscale from \"@pulumi/planetscale\";\n\nconst myDatabasepostgres = planetscale.getDatabasePostgres({\n    id: \"...my_id...\",\n    organization: \"...my_organization...\",\n});\n```\n```python\nimport pulumi\nimport pulumi_planetscale as planetscale\n\nmy_databasepostgres = planetscale.get_database_postgres(id=\"...my_id...\",\n    organization=\"...my_organization...\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Planetscale = Pulumi.Planetscale;\n\nreturn await Deployment.RunAsync(() => \n{\n    var myDatabasepostgres = Planetscale.GetDatabasePostgres.Invoke(new()\n    {\n        Id = \"...my_id...\",\n        Organization = \"...my_organization...\",\n    });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-terraform-provider/sdks/go/planetscale/planetscale\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := planetscale.GetDatabasePostgres(ctx, &planetscale.GetDatabasePostgresArgs{\n\t\t\tId:           \"...my_id...\",\n\t\t\tOrganization: \"...my_organization...\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.planetscale.PlanetscaleFunctions;\nimport com.pulumi.planetscale.inputs.GetDatabasePostgresArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n    public static void main(String[] args) {\n        Pulumi.run(App::stack);\n    }\n\n    public static void stack(Context ctx) {\n        final var myDatabasepostgres = PlanetscaleFunctions.getDatabasePostgres(GetDatabasePostgresArgs.builder()\n            .id(\"...my_id...\")\n            .organization(\"...my_organization...\")\n            .build());\n\n    }\n}\n```\n```yaml\nvariables:\n  myDatabasepostgres:\n    fn::invoke:\n      function: planetscale:getDatabasePostgres\n      arguments:\n        id: '...my_id...'\n        organization: '...my_organization...'\n```\n<!--End PulumiCodeChooser -->\n","inputs":{"description":"A collection of arguments for invoking getDatabasePostgres.\n","properties":{"id":{"description":"The ID of the database\n","type":"string"},"organization":{"description":"Organization name slug from <span pulumi-lang-nodejs=\"`listOrganizations`\" pulumi-lang-dotnet=\"`ListOrganizations`\" pulumi-lang-go=\"`listOrganizations`\" pulumi-lang-python=\"`list_organizations`\" pulumi-lang-yaml=\"`listOrganizations`\" pulumi-lang-java=\"`listOrganizations`\">`list_organizations`</span>. Example: <span pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\">`acme`</span>.\n","type":"string"}},"required":["id","organization"],"type":"object"},"outputs":{"description":"A collection of values returned by getDatabasePostgres.\n","properties":{"atBackupRestoreBranchesLimit":{"description":"If the database has reached its backup restored branch limit\n","type":"boolean"},"atDevelopmentBranchUsageLimit":{"description":"If the database has reached its development branch limit\n","type":"boolean"},"branchesCount":{"description":"The total number of database branches\n","type":"number"},"branchesUrl":{"description":"The URL to retrieve this database's branches via the API\n","type":"string"},"createdAt":{"description":"When the database was created\n","type":"string"},"defaultBranch":{"description":"The default branch for the database\n","type":"string"},"defaultBranchReadOnlyRegionsCount":{"description":"Number of read only regions in the default branch\n","type":"number"},"defaultBranchShardCount":{"description":"Number of shards in the default branch\n","type":"number"},"defaultBranchTableCount":{"description":"Number of tables in the default branch schema\n","type":"number"},"developmentBranchesCount":{"description":"The total number of database development branches\n","type":"number"},"htmlUrl":{"description":"The URL to see this database's branches in the web UI\n","type":"string"},"id":{"description":"The ID of the database\n","type":"string"},"insightsEnabled":{"description":"True if query insights is enabled for the database\n","type":"boolean"},"insightsRawQueries":{"description":"Whether raw SQL queries are collected\n","type":"boolean"},"issuesCount":{"description":"The total number of ongoing issues within a database\n","type":"number"},"multipleAdminsRequiredForDeletion":{"description":"If the database requires multiple admins for deletion\n","type":"boolean"},"name":{"description":"Name of the database\n","type":"string"},"openSchemaRecommendationsCount":{"description":"The total number of schema recommendations\n","type":"number"},"organization":{"description":"Organization name slug from <span pulumi-lang-nodejs=\"`listOrganizations`\" pulumi-lang-dotnet=\"`ListOrganizations`\" pulumi-lang-go=\"`listOrganizations`\" pulumi-lang-python=\"`list_organizations`\" pulumi-lang-yaml=\"`listOrganizations`\" pulumi-lang-java=\"`listOrganizations`\">`list_organizations`</span>. Example: <span pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\">`acme`</span>.\n","type":"string"},"plan":{"description":"The database plan\n","type":"string"},"productionBranchWebConsole":{"description":"Whether web console is enabled for production branches\n","type":"boolean"},"productionBranchesCount":{"description":"The total number of database production branches\n","type":"number"},"ready":{"description":"If the database is ready to be used\n","type":"boolean"},"regionData":{"$ref":"#/types/planetscale:index%2FgetDatabasePostgresRegionData:getDatabasePostgresRegionData"},"requireApprovalForDeploy":{"description":"Whether an approval is required to deploy schema changes to this database\n","type":"boolean"},"resizeQueued":{"description":"True if a branch has a queued resize request\n","type":"boolean"},"resizing":{"description":"True if a branch is currently resizing\n","type":"boolean"},"restrictBranchRegion":{"description":"Whether to restrict branch creation to one region\n","type":"boolean"},"schemaLastUpdatedAt":{"description":"When the default branch schema was last changed.\n","type":"string"},"state":{"description":"State of the database\n","type":"string"},"updatedAt":{"description":"When the database was last updated\n","type":"string"},"url":{"description":"The URL to the database API endpoint\n","type":"string"}},"required":["atBackupRestoreBranchesLimit","atDevelopmentBranchUsageLimit","branchesCount","branchesUrl","createdAt","defaultBranch","defaultBranchReadOnlyRegionsCount","defaultBranchShardCount","defaultBranchTableCount","developmentBranchesCount","htmlUrl","id","insightsEnabled","insightsRawQueries","issuesCount","multipleAdminsRequiredForDeletion","name","openSchemaRecommendationsCount","organization","plan","productionBranchWebConsole","productionBranchesCount","ready","regionData","requireApprovalForDeploy","resizeQueued","resizing","restrictBranchRegion","schemaLastUpdatedAt","state","updatedAt","url"],"type":"object"}},"planetscale:index/getDatabaseVitess:getDatabaseVitess":{"description":"DatabaseVitess DataSource\n\n## Example Usage\n\n<!--Start PulumiCodeChooser -->\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as planetscale from \"@pulumi/planetscale\";\n\nconst myDatabasevitess = planetscale.getDatabaseVitess({\n    id: \"...my_id...\",\n    organization: \"...my_organization...\",\n});\n```\n```python\nimport pulumi\nimport pulumi_planetscale as planetscale\n\nmy_databasevitess = planetscale.get_database_vitess(id=\"...my_id...\",\n    organization=\"...my_organization...\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Planetscale = Pulumi.Planetscale;\n\nreturn await Deployment.RunAsync(() => \n{\n    var myDatabasevitess = Planetscale.GetDatabaseVitess.Invoke(new()\n    {\n        Id = \"...my_id...\",\n        Organization = \"...my_organization...\",\n    });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-terraform-provider/sdks/go/planetscale/planetscale\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := planetscale.GetDatabaseVitess(ctx, &planetscale.GetDatabaseVitessArgs{\n\t\t\tId:           \"...my_id...\",\n\t\t\tOrganization: \"...my_organization...\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.planetscale.PlanetscaleFunctions;\nimport com.pulumi.planetscale.inputs.GetDatabaseVitessArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n    public static void main(String[] args) {\n        Pulumi.run(App::stack);\n    }\n\n    public static void stack(Context ctx) {\n        final var myDatabasevitess = PlanetscaleFunctions.getDatabaseVitess(GetDatabaseVitessArgs.builder()\n            .id(\"...my_id...\")\n            .organization(\"...my_organization...\")\n            .build());\n\n    }\n}\n```\n```yaml\nvariables:\n  myDatabasevitess:\n    fn::invoke:\n      function: planetscale:getDatabaseVitess\n      arguments:\n        id: '...my_id...'\n        organization: '...my_organization...'\n```\n<!--End PulumiCodeChooser -->\n","inputs":{"description":"A collection of arguments for invoking getDatabaseVitess.\n","properties":{"id":{"description":"The ID of the database\n","type":"string"},"organization":{"description":"Organization name slug from <span pulumi-lang-nodejs=\"`listOrganizations`\" pulumi-lang-dotnet=\"`ListOrganizations`\" pulumi-lang-go=\"`listOrganizations`\" pulumi-lang-python=\"`list_organizations`\" pulumi-lang-yaml=\"`listOrganizations`\" pulumi-lang-java=\"`listOrganizations`\">`list_organizations`</span>. Example: <span pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\">`acme`</span>.\n","type":"string"}},"required":["id","organization"],"type":"object"},"outputs":{"description":"A collection of values returned by getDatabaseVitess.\n","properties":{"allowDataBranching":{"description":"Whether seeding branches with data is enabled for all branches\n","type":"boolean"},"atBackupRestoreBranchesLimit":{"description":"If the database has reached its backup restored branch limit\n","type":"boolean"},"atDevelopmentBranchUsageLimit":{"description":"If the database has reached its development branch limit\n","type":"boolean"},"automaticMigrations":{"description":"Whether to automatically manage Rails migrations during deploy requests.\n","type":"boolean"},"branchesCount":{"description":"The total number of database branches\n","type":"number"},"branchesUrl":{"description":"The URL to retrieve this database's branches via the API\n","type":"string"},"createdAt":{"description":"When the database was created\n","type":"string"},"defaultBranch":{"description":"The default branch for the database\n","type":"string"},"defaultBranchReadOnlyRegionsCount":{"description":"Number of read only regions in the default branch\n","type":"number"},"defaultBranchShardCount":{"description":"Number of shards in the default branch\n","type":"number"},"defaultBranchTableCount":{"description":"Number of tables in the default branch schema\n","type":"number"},"developmentBranchesCount":{"description":"The total number of database development branches\n","type":"number"},"foreignKeysEnabled":{"description":"Whether foreign key constraints are enabled\n","type":"boolean"},"htmlUrl":{"description":"The URL to see this database's branches in the web UI\n","type":"string"},"id":{"description":"The ID of the database\n","type":"string"},"insightsEnabled":{"description":"True if query insights is enabled for the database\n","type":"boolean"},"insightsRawQueries":{"description":"Whether raw SQL queries are collected\n","type":"boolean"},"issuesCount":{"description":"The total number of ongoing issues within a database\n","type":"number"},"migrationFramework":{"description":"Framework used for applying migrations.\n","type":"string"},"migrationTableName":{"description":"Table name to use for copying schema migration data.\n","type":"string"},"multipleAdminsRequiredForDeletion":{"description":"If the database requires multiple admins for deletion\n","type":"boolean"},"name":{"description":"Name of the database\n","type":"string"},"openSchemaRecommendationsCount":{"description":"The total number of schema recommendations\n","type":"number"},"organization":{"description":"Organization name slug from <span pulumi-lang-nodejs=\"`listOrganizations`\" pulumi-lang-dotnet=\"`ListOrganizations`\" pulumi-lang-go=\"`listOrganizations`\" pulumi-lang-python=\"`list_organizations`\" pulumi-lang-yaml=\"`listOrganizations`\" pulumi-lang-java=\"`listOrganizations`\">`list_organizations`</span>. Example: <span pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\">`acme`</span>.\n","type":"string"},"plan":{"description":"The database plan\n","type":"string"},"productionBranchWebConsole":{"description":"Whether web console is enabled for production branches\n","type":"boolean"},"productionBranchesCount":{"description":"The total number of database production branches\n","type":"number"},"ready":{"description":"If the database is ready to be used\n","type":"boolean"},"regionData":{"$ref":"#/types/planetscale:index%2FgetDatabaseVitessRegionData:getDatabaseVitessRegionData"},"requireApprovalForDeploy":{"description":"Whether an approval is required to deploy schema changes to this database\n","type":"boolean"},"resizeQueued":{"description":"True if a branch has a queued resize request\n","type":"boolean"},"resizing":{"description":"True if a branch is currently resizing\n","type":"boolean"},"restrictBranchRegion":{"description":"Whether to restrict branch creation to one region\n","type":"boolean"},"schemaLastUpdatedAt":{"description":"When the default branch schema was last changed.\n","type":"string"},"sharded":{"description":"If the database is sharded\n","type":"boolean"},"state":{"description":"State of the database\n","type":"string"},"updatedAt":{"description":"When the database was last updated\n","type":"string"},"url":{"description":"The URL to the database API endpoint\n","type":"string"}},"required":["allowDataBranching","atBackupRestoreBranchesLimit","atDevelopmentBranchUsageLimit","automaticMigrations","branchesCount","branchesUrl","createdAt","defaultBranch","defaultBranchReadOnlyRegionsCount","defaultBranchShardCount","defaultBranchTableCount","developmentBranchesCount","foreignKeysEnabled","htmlUrl","id","insightsEnabled","insightsRawQueries","issuesCount","migrationFramework","migrationTableName","multipleAdminsRequiredForDeletion","name","openSchemaRecommendationsCount","organization","plan","productionBranchWebConsole","productionBranchesCount","ready","regionData","requireApprovalForDeploy","resizeQueued","resizing","restrictBranchRegion","schemaLastUpdatedAt","sharded","state","updatedAt","url"],"type":"object"}},"planetscale:index/getDatabases:getDatabases":{"description":"Databases DataSource\n\n## Example Usage\n\n<!--Start PulumiCodeChooser -->\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as planetscale from \"@pulumi/planetscale\";\n\nconst myDatabases = planetscale.getDatabases({\n    kind: \"neki\",\n    organization: \"...my_organization...\",\n    q: \"...my_q...\",\n});\n```\n```python\nimport pulumi\nimport pulumi_planetscale as planetscale\n\nmy_databases = planetscale.get_databases(kind=\"neki\",\n    organization=\"...my_organization...\",\n    q=\"...my_q...\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Planetscale = Pulumi.Planetscale;\n\nreturn await Deployment.RunAsync(() => \n{\n    var myDatabases = Planetscale.GetDatabases.Invoke(new()\n    {\n        Kind = \"neki\",\n        Organization = \"...my_organization...\",\n        Q = \"...my_q...\",\n    });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-terraform-provider/sdks/go/planetscale/planetscale\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := planetscale.GetDatabases(ctx, &planetscale.GetDatabasesArgs{\n\t\t\tKind:         pulumi.StringRef(\"neki\"),\n\t\t\tOrganization: \"...my_organization...\",\n\t\t\tQ:            pulumi.StringRef(\"...my_q...\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.planetscale.PlanetscaleFunctions;\nimport com.pulumi.planetscale.inputs.GetDatabasesArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n    public static void main(String[] args) {\n        Pulumi.run(App::stack);\n    }\n\n    public static void stack(Context ctx) {\n        final var myDatabases = PlanetscaleFunctions.getDatabases(GetDatabasesArgs.builder()\n            .kind(\"neki\")\n            .organization(\"...my_organization...\")\n            .q(\"...my_q...\")\n            .build());\n\n    }\n}\n```\n```yaml\nvariables:\n  myDatabases:\n    fn::invoke:\n      function: planetscale:getDatabases\n      arguments:\n        kind: neki\n        organization: '...my_organization...'\n        q: '...my_q...'\n```\n<!--End PulumiCodeChooser -->\n","inputs":{"description":"A collection of arguments for invoking getDatabases.\n","properties":{"kind":{"description":"Filter databases by kind. must be one of [\"mysql\", \"postgresql\", \"neki\"]\n","type":"string"},"organization":{"description":"Organization name slug from <span pulumi-lang-nodejs=\"`listOrganizations`\" pulumi-lang-dotnet=\"`ListOrganizations`\" pulumi-lang-go=\"`listOrganizations`\" pulumi-lang-python=\"`list_organizations`\" pulumi-lang-yaml=\"`listOrganizations`\" pulumi-lang-java=\"`listOrganizations`\">`list_organizations`</span>. Example: <span pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\">`acme`</span>.\n","type":"string"},"q":{"description":"Search term to filter databases by name\n","type":"string"}},"required":["organization"],"type":"object"},"outputs":{"description":"A collection of values returned by getDatabases.\n","properties":{"datas":{"items":{"$ref":"#/types/planetscale:index%2FgetDatabasesData:getDatabasesData"},"type":"array"},"id":{"description":"The provider-assigned unique ID for this managed resource.","type":"string"},"kind":{"description":"Filter databases by kind. must be one of [\"mysql\", \"postgresql\", \"neki\"]\n","type":"string"},"organization":{"description":"Organization name slug from <span pulumi-lang-nodejs=\"`listOrganizations`\" pulumi-lang-dotnet=\"`ListOrganizations`\" pulumi-lang-go=\"`listOrganizations`\" pulumi-lang-python=\"`list_organizations`\" pulumi-lang-yaml=\"`listOrganizations`\" pulumi-lang-java=\"`listOrganizations`\">`list_organizations`</span>. Example: <span pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\">`acme`</span>.\n","type":"string"},"q":{"description":"Search term to filter databases by name\n","type":"string"},"type":{"description":"The response type. Always \"list\" for paginated responses.\n","type":"string"}},"required":["datas","id","organization","type"],"type":"object"}},"planetscale:index/getNekiAdmin:getNekiAdmin":{"description":"NekiAdmin DataSource\n\n## Example Usage\n\n<!--Start PulumiCodeChooser -->\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as planetscale from \"@pulumi/planetscale\";\n\nconst myNekiadmin = planetscale.getNekiAdmin({\n    branch: \"...my_branch...\",\n    database: \"...my_database...\",\n    organization: \"...my_organization...\",\n    parameters: {\n        key: {},\n    },\n});\n```\n```python\nimport pulumi\nimport pulumi_planetscale as planetscale\n\nmy_nekiadmin = planetscale.get_neki_admin(branch=\"...my_branch...\",\n    database=\"...my_database...\",\n    organization=\"...my_organization...\",\n    parameters={\n        \"key\": {},\n    })\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Planetscale = Pulumi.Planetscale;\n\nreturn await Deployment.RunAsync(() => \n{\n    var myNekiadmin = Planetscale.GetNekiAdmin.Invoke(new()\n    {\n        Branch = \"...my_branch...\",\n        Database = \"...my_database...\",\n        Organization = \"...my_organization...\",\n        Parameters = \n        {\n            { \"key\", null },\n        },\n    });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-terraform-provider/sdks/go/planetscale/planetscale\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := planetscale.LookupNekiAdmin(ctx, &planetscale.LookupNekiAdminArgs{\n\t\t\tBranch:       \"...my_branch...\",\n\t\t\tDatabase:     \"...my_database...\",\n\t\t\tOrganization: \"...my_organization...\",\n\t\t\tParameters: map[string]interface{}{\n\t\t\t\t\"key\": map[string]interface{}{},\n\t\t\t},\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.planetscale.PlanetscaleFunctions;\nimport com.pulumi.planetscale.inputs.GetNekiAdminArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n    public static void main(String[] args) {\n        Pulumi.run(App::stack);\n    }\n\n    public static void stack(Context ctx) {\n        final var myNekiadmin = PlanetscaleFunctions.getNekiAdmin(GetNekiAdminArgs.builder()\n            .branch(\"...my_branch...\")\n            .database(\"...my_database...\")\n            .organization(\"...my_organization...\")\n            .parameters(Map.of(\"key\", Map.ofEntries(\n            )))\n            .build());\n\n    }\n}\n```\n```yaml\nvariables:\n  myNekiadmin:\n    fn::invoke:\n      function: planetscale:getNekiAdmin\n      arguments:\n        branch: '...my_branch...'\n        database: '...my_database...'\n        organization: '...my_organization...'\n        parameters:\n          key: {}\n```\n<!--End PulumiCodeChooser -->\n","inputs":{"description":"A collection of arguments for invoking getNekiAdmin.\n","properties":{"branch":{"description":"Branch name from <span pulumi-lang-nodejs=\"`listBranches`\" pulumi-lang-dotnet=\"`ListBranches`\" pulumi-lang-go=\"`listBranches`\" pulumi-lang-python=\"`list_branches`\" pulumi-lang-yaml=\"`listBranches`\" pulumi-lang-java=\"`listBranches`\">`list_branches`</span>. Example: <span pulumi-lang-nodejs=\"`main`\" pulumi-lang-dotnet=\"`Main`\" pulumi-lang-go=\"`main`\" pulumi-lang-python=\"`main`\" pulumi-lang-yaml=\"`main`\" pulumi-lang-java=\"`main`\">`main`</span>.\n","type":"string"},"database":{"description":"Database name slug from <span pulumi-lang-nodejs=\"`listDatabases`\" pulumi-lang-dotnet=\"`ListDatabases`\" pulumi-lang-go=\"`listDatabases`\" pulumi-lang-python=\"`list_databases`\" pulumi-lang-yaml=\"`listDatabases`\" pulumi-lang-java=\"`listDatabases`\">`list_databases`</span>. Example: `app-db`.\n","type":"string"},"organization":{"description":"Organization name slug from <span pulumi-lang-nodejs=\"`listOrganizations`\" pulumi-lang-dotnet=\"`ListOrganizations`\" pulumi-lang-go=\"`listOrganizations`\" pulumi-lang-python=\"`list_organizations`\" pulumi-lang-yaml=\"`listOrganizations`\" pulumi-lang-java=\"`listOrganizations`\">`list_organizations`</span>. Example: <span pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\">`acme`</span>.\n","type":"string"},"parameters":{"additionalProperties":{"additionalProperties":{"type":"string"},"type":"object"},"description":"Managed effective admin parameter values nested by namespace. Remote non-default values are adopted during reads.\n","type":"object"}},"required":["branch","database","organization"],"type":"object"},"outputs":{"description":"A collection of values returned by getNekiAdmin.\n","properties":{"adminSize":{"description":"The admin size SKU name\n","type":"string"},"branch":{"description":"Branch name from <span pulumi-lang-nodejs=\"`listBranches`\" pulumi-lang-dotnet=\"`ListBranches`\" pulumi-lang-go=\"`listBranches`\" pulumi-lang-python=\"`list_branches`\" pulumi-lang-yaml=\"`listBranches`\" pulumi-lang-java=\"`listBranches`\">`list_branches`</span>. Example: <span pulumi-lang-nodejs=\"`main`\" pulumi-lang-dotnet=\"`Main`\" pulumi-lang-go=\"`main`\" pulumi-lang-python=\"`main`\" pulumi-lang-yaml=\"`main`\" pulumi-lang-java=\"`main`\">`main`</span>.\n","type":"string"},"database":{"description":"Database name slug from <span pulumi-lang-nodejs=\"`listDatabases`\" pulumi-lang-dotnet=\"`ListDatabases`\" pulumi-lang-go=\"`listDatabases`\" pulumi-lang-python=\"`list_databases`\" pulumi-lang-yaml=\"`listDatabases`\" pulumi-lang-java=\"`listDatabases`\">`list_databases`</span>. Example: `app-db`.\n","type":"string"},"id":{"description":"The ID of the admin\n","type":"string"},"organization":{"description":"Organization name slug from <span pulumi-lang-nodejs=\"`listOrganizations`\" pulumi-lang-dotnet=\"`ListOrganizations`\" pulumi-lang-go=\"`listOrganizations`\" pulumi-lang-python=\"`list_organizations`\" pulumi-lang-yaml=\"`listOrganizations`\" pulumi-lang-java=\"`listOrganizations`\">`list_organizations`</span>. Example: <span pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\">`acme`</span>.\n","type":"string"},"parameters":{"additionalProperties":{"additionalProperties":{"type":"string"},"type":"object"},"description":"Managed effective admin parameter values nested by namespace. Remote non-default values are adopted during reads.\n","type":"object"},"state":{"description":"The current state of the admin\n","type":"string"}},"required":["adminSize","branch","database","id","organization","parameters","state"],"type":"object"}},"planetscale:index/getNekiBackupPolicies:getNekiBackupPolicies":{"description":"NekiBackupPolicies DataSource\n\n## Example Usage\n\n<!--Start PulumiCodeChooser -->\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as planetscale from \"@pulumi/planetscale\";\n\nconst myNekibackuppolicies = planetscale.getNekiBackupPolicies({\n    database: \"...my_database...\",\n    organization: \"...my_organization...\",\n});\n```\n```python\nimport pulumi\nimport pulumi_planetscale as planetscale\n\nmy_nekibackuppolicies = planetscale.get_neki_backup_policies(database=\"...my_database...\",\n    organization=\"...my_organization...\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Planetscale = Pulumi.Planetscale;\n\nreturn await Deployment.RunAsync(() => \n{\n    var myNekibackuppolicies = Planetscale.GetNekiBackupPolicies.Invoke(new()\n    {\n        Database = \"...my_database...\",\n        Organization = \"...my_organization...\",\n    });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-terraform-provider/sdks/go/planetscale/planetscale\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := planetscale.GetNekiBackupPolicies(ctx, &planetscale.GetNekiBackupPoliciesArgs{\n\t\t\tDatabase:     \"...my_database...\",\n\t\t\tOrganization: \"...my_organization...\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.planetscale.PlanetscaleFunctions;\nimport com.pulumi.planetscale.inputs.GetNekiBackupPoliciesArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n    public static void main(String[] args) {\n        Pulumi.run(App::stack);\n    }\n\n    public static void stack(Context ctx) {\n        final var myNekibackuppolicies = PlanetscaleFunctions.getNekiBackupPolicies(GetNekiBackupPoliciesArgs.builder()\n            .database(\"...my_database...\")\n            .organization(\"...my_organization...\")\n            .build());\n\n    }\n}\n```\n```yaml\nvariables:\n  myNekibackuppolicies:\n    fn::invoke:\n      function: planetscale:getNekiBackupPolicies\n      arguments:\n        database: '...my_database...'\n        organization: '...my_organization...'\n```\n<!--End PulumiCodeChooser -->\n","inputs":{"description":"A collection of arguments for invoking getNekiBackupPolicies.\n","properties":{"database":{"description":"Database name slug from <span pulumi-lang-nodejs=\"`listDatabases`\" pulumi-lang-dotnet=\"`ListDatabases`\" pulumi-lang-go=\"`listDatabases`\" pulumi-lang-python=\"`list_databases`\" pulumi-lang-yaml=\"`listDatabases`\" pulumi-lang-java=\"`listDatabases`\">`list_databases`</span>. Example: `app-db`.\n","type":"string"},"organization":{"description":"Organization name slug from <span pulumi-lang-nodejs=\"`listOrganizations`\" pulumi-lang-dotnet=\"`ListOrganizations`\" pulumi-lang-go=\"`listOrganizations`\" pulumi-lang-python=\"`list_organizations`\" pulumi-lang-yaml=\"`listOrganizations`\" pulumi-lang-java=\"`listOrganizations`\">`list_organizations`</span>. Example: <span pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\">`acme`</span>.\n","type":"string"}},"required":["database","organization"],"type":"object"},"outputs":{"description":"A collection of values returned by getNekiBackupPolicies.\n","properties":{"database":{"description":"Database name slug from <span pulumi-lang-nodejs=\"`listDatabases`\" pulumi-lang-dotnet=\"`ListDatabases`\" pulumi-lang-go=\"`listDatabases`\" pulumi-lang-python=\"`list_databases`\" pulumi-lang-yaml=\"`listDatabases`\" pulumi-lang-java=\"`listDatabases`\">`list_databases`</span>. Example: `app-db`.\n","type":"string"},"datas":{"items":{"$ref":"#/types/planetscale:index%2FgetNekiBackupPoliciesData:getNekiBackupPoliciesData"},"type":"array"},"id":{"description":"The provider-assigned unique ID for this managed resource.","type":"string"},"organization":{"description":"Organization name slug from <span pulumi-lang-nodejs=\"`listOrganizations`\" pulumi-lang-dotnet=\"`ListOrganizations`\" pulumi-lang-go=\"`listOrganizations`\" pulumi-lang-python=\"`list_organizations`\" pulumi-lang-yaml=\"`listOrganizations`\" pulumi-lang-java=\"`listOrganizations`\">`list_organizations`</span>. Example: <span pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\">`acme`</span>.\n","type":"string"}},"required":["database","datas","id","organization"],"type":"object"}},"planetscale:index/getNekiBackupPolicy:getNekiBackupPolicy":{"description":"NekiBackupPolicy DataSource\n\n## Example Usage\n\n<!--Start PulumiCodeChooser -->\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as planetscale from \"@pulumi/planetscale\";\n\nconst myNekibackuppolicy = planetscale.getNekiBackupPolicy({\n    database: \"...my_database...\",\n    id: \"...my_id...\",\n    organization: \"...my_organization...\",\n});\n```\n```python\nimport pulumi\nimport pulumi_planetscale as planetscale\n\nmy_nekibackuppolicy = planetscale.get_neki_backup_policy(database=\"...my_database...\",\n    id=\"...my_id...\",\n    organization=\"...my_organization...\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Planetscale = Pulumi.Planetscale;\n\nreturn await Deployment.RunAsync(() => \n{\n    var myNekibackuppolicy = Planetscale.GetNekiBackupPolicy.Invoke(new()\n    {\n        Database = \"...my_database...\",\n        Id = \"...my_id...\",\n        Organization = \"...my_organization...\",\n    });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-terraform-provider/sdks/go/planetscale/planetscale\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := planetscale.LookupNekiBackupPolicy(ctx, &planetscale.LookupNekiBackupPolicyArgs{\n\t\t\tDatabase:     \"...my_database...\",\n\t\t\tId:           \"...my_id...\",\n\t\t\tOrganization: \"...my_organization...\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.planetscale.PlanetscaleFunctions;\nimport com.pulumi.planetscale.inputs.GetNekiBackupPolicyArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n    public static void main(String[] args) {\n        Pulumi.run(App::stack);\n    }\n\n    public static void stack(Context ctx) {\n        final var myNekibackuppolicy = PlanetscaleFunctions.getNekiBackupPolicy(GetNekiBackupPolicyArgs.builder()\n            .database(\"...my_database...\")\n            .id(\"...my_id...\")\n            .organization(\"...my_organization...\")\n            .build());\n\n    }\n}\n```\n```yaml\nvariables:\n  myNekibackuppolicy:\n    fn::invoke:\n      function: planetscale:getNekiBackupPolicy\n      arguments:\n        database: '...my_database...'\n        id: '...my_id...'\n        organization: '...my_organization...'\n```\n<!--End PulumiCodeChooser -->\n","inputs":{"description":"A collection of arguments for invoking getNekiBackupPolicy.\n","properties":{"database":{"description":"Database name slug from <span pulumi-lang-nodejs=\"`listDatabases`\" pulumi-lang-dotnet=\"`ListDatabases`\" pulumi-lang-go=\"`listDatabases`\" pulumi-lang-python=\"`list_databases`\" pulumi-lang-yaml=\"`listDatabases`\" pulumi-lang-java=\"`listDatabases`\">`list_databases`</span>. Example: `app-db`.\n","type":"string"},"id":{"description":"The ID of the backup policy\n","type":"string"},"organization":{"description":"Organization name slug from <span pulumi-lang-nodejs=\"`listOrganizations`\" pulumi-lang-dotnet=\"`ListOrganizations`\" pulumi-lang-go=\"`listOrganizations`\" pulumi-lang-python=\"`list_organizations`\" pulumi-lang-yaml=\"`listOrganizations`\" pulumi-lang-java=\"`listOrganizations`\">`list_organizations`</span>. Example: <span pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\">`acme`</span>.\n","type":"string"}},"required":["database","id","organization"],"type":"object"},"outputs":{"description":"A collection of values returned by getNekiBackupPolicy.\n","properties":{"database":{"description":"Database name slug from <span pulumi-lang-nodejs=\"`listDatabases`\" pulumi-lang-dotnet=\"`ListDatabases`\" pulumi-lang-go=\"`listDatabases`\" pulumi-lang-python=\"`list_databases`\" pulumi-lang-yaml=\"`listDatabases`\" pulumi-lang-java=\"`listDatabases`\">`list_databases`</span>. Example: `app-db`.\n","type":"string"},"frequencyUnit":{"description":"The unit for the frequency of the backup policy\n","type":"string"},"frequencyValue":{"description":"A number value for the frequency of the backup policy\n","type":"number"},"id":{"description":"The ID of the backup policy\n","type":"string"},"name":{"description":"The name of the backup policy\n","type":"string"},"organization":{"description":"Organization name slug from <span pulumi-lang-nodejs=\"`listOrganizations`\" pulumi-lang-dotnet=\"`ListOrganizations`\" pulumi-lang-go=\"`listOrganizations`\" pulumi-lang-python=\"`list_organizations`\" pulumi-lang-yaml=\"`listOrganizations`\" pulumi-lang-java=\"`listOrganizations`\">`list_organizations`</span>. Example: <span pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\">`acme`</span>.\n","type":"string"},"required":{"description":"Whether the policy is a required system backup that cannot be updated or deleted.\n","type":"boolean"},"retentionUnit":{"description":"The unit for the retention period of the backup policy\n","type":"string"},"retentionValue":{"description":"A number value for the retention period of the backup policy\n","type":"number"},"scheduleDay":{"description":"Day of the week that the backup is scheduled. 0 is Sunday, 6 is Saturday\n","type":"number"},"scheduleTime":{"description":"The time of day that the backup is scheduled, in HH:MM format\n","type":"string"},"scheduleWeek":{"description":"Week of the month that the backup is scheduled. 0 is the first week, 3 is the fourth week\n","type":"number"},"target":{"description":"Whether the policy is for production or development branches\n","type":"string"}},"required":["database","frequencyUnit","frequencyValue","id","name","organization","required","retentionUnit","retentionValue","scheduleDay","scheduleTime","scheduleWeek","target"],"type":"object"}},"planetscale:index/getNekiBranch:getNekiBranch":{"description":"NekiBranch DataSource\n\n## Example Usage\n\n<!--Start PulumiCodeChooser -->\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as planetscale from \"@pulumi/planetscale\";\n\nconst myNekibranch = planetscale.getNekiBranch({\n    database: \"...my_database...\",\n    id: \"...my_id...\",\n    organization: \"...my_organization...\",\n});\n```\n```python\nimport pulumi\nimport pulumi_planetscale as planetscale\n\nmy_nekibranch = planetscale.get_neki_branch(database=\"...my_database...\",\n    id=\"...my_id...\",\n    organization=\"...my_organization...\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Planetscale = Pulumi.Planetscale;\n\nreturn await Deployment.RunAsync(() => \n{\n    var myNekibranch = Planetscale.GetNekiBranch.Invoke(new()\n    {\n        Database = \"...my_database...\",\n        Id = \"...my_id...\",\n        Organization = \"...my_organization...\",\n    });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-terraform-provider/sdks/go/planetscale/planetscale\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := planetscale.LookupNekiBranch(ctx, &planetscale.LookupNekiBranchArgs{\n\t\t\tDatabase:     \"...my_database...\",\n\t\t\tId:           \"...my_id...\",\n\t\t\tOrganization: \"...my_organization...\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.planetscale.PlanetscaleFunctions;\nimport com.pulumi.planetscale.inputs.GetNekiBranchArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n    public static void main(String[] args) {\n        Pulumi.run(App::stack);\n    }\n\n    public static void stack(Context ctx) {\n        final var myNekibranch = PlanetscaleFunctions.getNekiBranch(GetNekiBranchArgs.builder()\n            .database(\"...my_database...\")\n            .id(\"...my_id...\")\n            .organization(\"...my_organization...\")\n            .build());\n\n    }\n}\n```\n```yaml\nvariables:\n  myNekibranch:\n    fn::invoke:\n      function: planetscale:getNekiBranch\n      arguments:\n        database: '...my_database...'\n        id: '...my_id...'\n        organization: '...my_organization...'\n```\n<!--End PulumiCodeChooser -->\n","inputs":{"description":"A collection of arguments for invoking getNekiBranch.\n","properties":{"database":{"description":"Database name slug from <span pulumi-lang-nodejs=\"`listDatabases`\" pulumi-lang-dotnet=\"`ListDatabases`\" pulumi-lang-go=\"`listDatabases`\" pulumi-lang-python=\"`list_databases`\" pulumi-lang-yaml=\"`listDatabases`\" pulumi-lang-java=\"`listDatabases`\">`list_databases`</span>. Example: `app-db`.\n","type":"string"},"id":{"description":"The ID of the branch\n","type":"string"},"organization":{"description":"Organization name slug from <span pulumi-lang-nodejs=\"`listOrganizations`\" pulumi-lang-dotnet=\"`ListOrganizations`\" pulumi-lang-go=\"`listOrganizations`\" pulumi-lang-python=\"`list_organizations`\" pulumi-lang-yaml=\"`listOrganizations`\" pulumi-lang-java=\"`listOrganizations`\">`list_organizations`</span>. Example: <span pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\">`acme`</span>.\n","type":"string"}},"required":["database","id","organization"],"type":"object"},"outputs":{"description":"A collection of values returned by getNekiBranch.\n","properties":{"database":{"description":"Database name slug from <span pulumi-lang-nodejs=\"`listDatabases`\" pulumi-lang-dotnet=\"`ListDatabases`\" pulumi-lang-go=\"`listDatabases`\" pulumi-lang-python=\"`list_databases`\" pulumi-lang-yaml=\"`listDatabases`\" pulumi-lang-java=\"`listDatabases`\">`list_databases`</span>. Example: `app-db`.\n","type":"string"},"deletionProtected":{"description":"Whether deletion protection is enabled for the branch\n","type":"boolean"},"id":{"description":"The ID of the branch\n","type":"string"},"name":{"description":"The name of the branch\n","type":"string"},"organization":{"description":"Organization name slug from <span pulumi-lang-nodejs=\"`listOrganizations`\" pulumi-lang-dotnet=\"`ListOrganizations`\" pulumi-lang-go=\"`listOrganizations`\" pulumi-lang-python=\"`list_organizations`\" pulumi-lang-yaml=\"`listOrganizations`\" pulumi-lang-java=\"`listOrganizations`\">`list_organizations`</span>. Example: <span pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\">`acme`</span>.\n","type":"string"},"parentBranch":{"description":"The name of the parent branch from which the branch was created\n","type":"string"},"region":{"description":"The region slug where the branch is hosted.\n","type":"string"},"state":{"description":"The current state of the branch\n","type":"string"}},"required":["database","deletionProtected","id","name","organization","parentBranch","region","state"],"type":"object"}},"planetscale:index/getNekiConfigurationProfile:getNekiConfigurationProfile":{"description":"NekiConfigurationProfile DataSource\n\n## Example Usage\n\n<!--Start PulumiCodeChooser -->\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as planetscale from \"@pulumi/planetscale\";\n\nconst myNekiconfigurationprofile = planetscale.getNekiConfigurationProfile({\n    organization: \"acme\",\n    database: \"app\",\n    branch: \"main\",\n    name: \"default\",\n});\nexport const enabledExtensions = myNekiconfigurationprofile.then(myNekiconfigurationprofile => myNekiconfigurationprofile.extensions);\n```\n```python\nimport pulumi\nimport pulumi_planetscale as planetscale\n\nmy_nekiconfigurationprofile = planetscale.get_neki_configuration_profile(organization=\"acme\",\n    database=\"app\",\n    branch=\"main\",\n    name=\"default\")\npulumi.export(\"enabledExtensions\", my_nekiconfigurationprofile.extensions)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Planetscale = Pulumi.Planetscale;\n\nreturn await Deployment.RunAsync(() => \n{\n    var myNekiconfigurationprofile = Planetscale.GetNekiConfigurationProfile.Invoke(new()\n    {\n        Organization = \"acme\",\n        Database = \"app\",\n        Branch = \"main\",\n        Name = \"default\",\n    });\n\n    return new Dictionary<string, object?>\n    {\n        [\"enabledExtensions\"] = myNekiconfigurationprofile.Apply(getNekiConfigurationProfileResult => getNekiConfigurationProfileResult.Extensions),\n    };\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-terraform-provider/sdks/go/planetscale/planetscale\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\tmyNekiconfigurationprofile, err := planetscale.LookupNekiConfigurationProfile(ctx, &planetscale.LookupNekiConfigurationProfileArgs{\n\t\t\tOrganization: \"acme\",\n\t\t\tDatabase:     \"app\",\n\t\t\tBranch:       \"main\",\n\t\t\tName:         \"default\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\tctx.Export(\"enabledExtensions\", myNekiconfigurationprofile.Extensions)\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.planetscale.PlanetscaleFunctions;\nimport com.pulumi.planetscale.inputs.GetNekiConfigurationProfileArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n    public static void main(String[] args) {\n        Pulumi.run(App::stack);\n    }\n\n    public static void stack(Context ctx) {\n        final var myNekiconfigurationprofile = PlanetscaleFunctions.getNekiConfigurationProfile(GetNekiConfigurationProfileArgs.builder()\n            .organization(\"acme\")\n            .database(\"app\")\n            .branch(\"main\")\n            .name(\"default\")\n            .build());\n\n        ctx.export(\"enabledExtensions\", myNekiconfigurationprofile.extensions());\n    }\n}\n```\n```yaml\nvariables:\n  myNekiconfigurationprofile:\n    fn::invoke:\n      function: planetscale:getNekiConfigurationProfile\n      arguments:\n        organization: acme\n        database: app\n        branch: main\n        name: default\noutputs:\n  enabledExtensions: ${myNekiconfigurationprofile.extensions}\n```\n<!--End PulumiCodeChooser -->\n","inputs":{"description":"A collection of arguments for invoking getNekiConfigurationProfile.\n","properties":{"branch":{"description":"Branch name from <span pulumi-lang-nodejs=\"`listBranches`\" pulumi-lang-dotnet=\"`ListBranches`\" pulumi-lang-go=\"`listBranches`\" pulumi-lang-python=\"`list_branches`\" pulumi-lang-yaml=\"`listBranches`\" pulumi-lang-java=\"`listBranches`\">`list_branches`</span>. Example: <span pulumi-lang-nodejs=\"`main`\" pulumi-lang-dotnet=\"`Main`\" pulumi-lang-go=\"`main`\" pulumi-lang-python=\"`main`\" pulumi-lang-yaml=\"`main`\" pulumi-lang-java=\"`main`\">`main`</span>.\n","type":"string"},"database":{"description":"Database name slug from <span pulumi-lang-nodejs=\"`listDatabases`\" pulumi-lang-dotnet=\"`ListDatabases`\" pulumi-lang-go=\"`listDatabases`\" pulumi-lang-python=\"`list_databases`\" pulumi-lang-yaml=\"`listDatabases`\" pulumi-lang-java=\"`listDatabases`\">`list_databases`</span>. Example: `app-db`.\n","type":"string"},"extensions":{"description":"Enabled extensions, excluding those required by PlanetScale.\n","items":{"type":"string"},"type":"array"},"name":{"description":"The name of the configuration profile\n","type":"string"},"organization":{"description":"Organization name slug from <span pulumi-lang-nodejs=\"`listOrganizations`\" pulumi-lang-dotnet=\"`ListOrganizations`\" pulumi-lang-go=\"`listOrganizations`\" pulumi-lang-python=\"`list_organizations`\" pulumi-lang-yaml=\"`listOrganizations`\" pulumi-lang-java=\"`listOrganizations`\">`list_organizations`</span>. Example: <span pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\">`acme`</span>.\n","type":"string"},"parameters":{"additionalProperties":{"additionalProperties":{"type":"string"},"type":"object"},"description":"Managed effective parameter values nested by namespace. Remote non-default values are adopted during reads. Preload library parameters are only included when managed directly.\n","type":"object"}},"required":["branch","database","name","organization"],"type":"object"},"outputs":{"description":"A collection of values returned by getNekiConfigurationProfile.\n","properties":{"branch":{"description":"Branch name from <span pulumi-lang-nodejs=\"`listBranches`\" pulumi-lang-dotnet=\"`ListBranches`\" pulumi-lang-go=\"`listBranches`\" pulumi-lang-python=\"`list_branches`\" pulumi-lang-yaml=\"`listBranches`\" pulumi-lang-java=\"`listBranches`\">`list_branches`</span>. Example: <span pulumi-lang-nodejs=\"`main`\" pulumi-lang-dotnet=\"`Main`\" pulumi-lang-go=\"`main`\" pulumi-lang-python=\"`main`\" pulumi-lang-yaml=\"`main`\" pulumi-lang-java=\"`main`\">`main`</span>.\n","type":"string"},"clusterSize":{"description":"The name of the cluster size SKU\n","type":"string"},"database":{"description":"Database name slug from <span pulumi-lang-nodejs=\"`listDatabases`\" pulumi-lang-dotnet=\"`ListDatabases`\" pulumi-lang-go=\"`listDatabases`\" pulumi-lang-python=\"`list_databases`\" pulumi-lang-yaml=\"`listDatabases`\" pulumi-lang-java=\"`listDatabases`\">`list_databases`</span>. Example: `app-db`.\n","type":"string"},"extensions":{"description":"Enabled extensions, excluding those required by PlanetScale.\n","items":{"type":"string"},"type":"array"},"id":{"description":"The ID of the configuration profile\n","type":"string"},"isDefault":{"description":"Whether this is the default configuration profile\n","type":"boolean"},"name":{"description":"The name of the configuration profile\n","type":"string"},"organization":{"description":"Organization name slug from <span pulumi-lang-nodejs=\"`listOrganizations`\" pulumi-lang-dotnet=\"`ListOrganizations`\" pulumi-lang-go=\"`listOrganizations`\" pulumi-lang-python=\"`list_organizations`\" pulumi-lang-yaml=\"`listOrganizations`\" pulumi-lang-java=\"`listOrganizations`\">`list_organizations`</span>. Example: <span pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\">`acme`</span>.\n","type":"string"},"parameters":{"additionalProperties":{"additionalProperties":{"type":"string"},"type":"object"},"description":"Managed effective parameter values nested by namespace. Remote non-default values are adopted during reads. Preload library parameters are only included when managed directly.\n","type":"object"},"postgresMajorVersion":{"description":"The PostgreSQL major version used by the configuration profile\n","type":"number"},"postgresMinorVersion":{"description":"The PostgreSQL minor version used by the configuration profile\n","type":"number"},"readOnlyReplicas":{"description":"The number of read-only replicas for shards using this configuration profile\n","type":"number"},"replicas":{"description":"The number of replicas for shards using this configuration profile\n","type":"number"},"shardCount":{"description":"The number of shards using this configuration profile\n","type":"number"},"state":{"description":"The current state of the configuration profile\n","type":"string"},"storage":{"$ref":"#/types/planetscale:index%2FgetNekiConfigurationProfileStorage:getNekiConfigurationProfileStorage"}},"required":["branch","clusterSize","database","extensions","id","isDefault","name","organization","parameters","postgresMajorVersion","postgresMinorVersion","readOnlyReplicas","replicas","shardCount","state","storage"],"type":"object"}},"planetscale:index/getNekiConfigurationProfiles:getNekiConfigurationProfiles":{"description":"List shard configuration profiles for a PlanetScale Neki branch.\n\n## Example Usage\n\n<!--Start PulumiCodeChooser -->\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as planetscale from \"@pulumi/planetscale\";\n\nconst myNekiconfigurationprofiles = planetscale.getNekiConfigurationProfiles({\n    branch: \"...my_branch...\",\n    database: \"...my_database...\",\n    organization: \"...my_organization...\",\n});\n```\n```python\nimport pulumi\nimport pulumi_planetscale as planetscale\n\nmy_nekiconfigurationprofiles = planetscale.get_neki_configuration_profiles(branch=\"...my_branch...\",\n    database=\"...my_database...\",\n    organization=\"...my_organization...\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Planetscale = Pulumi.Planetscale;\n\nreturn await Deployment.RunAsync(() => \n{\n    var myNekiconfigurationprofiles = Planetscale.GetNekiConfigurationProfiles.Invoke(new()\n    {\n        Branch = \"...my_branch...\",\n        Database = \"...my_database...\",\n        Organization = \"...my_organization...\",\n    });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-terraform-provider/sdks/go/planetscale/planetscale\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := planetscale.GetNekiConfigurationProfiles(ctx, &planetscale.GetNekiConfigurationProfilesArgs{\n\t\t\tBranch:       \"...my_branch...\",\n\t\t\tDatabase:     \"...my_database...\",\n\t\t\tOrganization: \"...my_organization...\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.planetscale.PlanetscaleFunctions;\nimport com.pulumi.planetscale.inputs.GetNekiConfigurationProfilesArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n    public static void main(String[] args) {\n        Pulumi.run(App::stack);\n    }\n\n    public static void stack(Context ctx) {\n        final var myNekiconfigurationprofiles = PlanetscaleFunctions.getNekiConfigurationProfiles(GetNekiConfigurationProfilesArgs.builder()\n            .branch(\"...my_branch...\")\n            .database(\"...my_database...\")\n            .organization(\"...my_organization...\")\n            .build());\n\n    }\n}\n```\n```yaml\nvariables:\n  myNekiconfigurationprofiles:\n    fn::invoke:\n      function: planetscale:getNekiConfigurationProfiles\n      arguments:\n        branch: '...my_branch...'\n        database: '...my_database...'\n        organization: '...my_organization...'\n```\n<!--End PulumiCodeChooser -->\n","inputs":{"description":"A collection of arguments for invoking getNekiConfigurationProfiles.\n","properties":{"branch":{"description":"Branch name from <span pulumi-lang-nodejs=\"`listBranches`\" pulumi-lang-dotnet=\"`ListBranches`\" pulumi-lang-go=\"`listBranches`\" pulumi-lang-python=\"`list_branches`\" pulumi-lang-yaml=\"`listBranches`\" pulumi-lang-java=\"`listBranches`\">`list_branches`</span>. Example: <span pulumi-lang-nodejs=\"`main`\" pulumi-lang-dotnet=\"`Main`\" pulumi-lang-go=\"`main`\" pulumi-lang-python=\"`main`\" pulumi-lang-yaml=\"`main`\" pulumi-lang-java=\"`main`\">`main`</span>.\n","type":"string"},"database":{"description":"Database name slug from <span pulumi-lang-nodejs=\"`listDatabases`\" pulumi-lang-dotnet=\"`ListDatabases`\" pulumi-lang-go=\"`listDatabases`\" pulumi-lang-python=\"`list_databases`\" pulumi-lang-yaml=\"`listDatabases`\" pulumi-lang-java=\"`listDatabases`\">`list_databases`</span>. Example: `app-db`.\n","type":"string"},"organization":{"description":"Organization name slug from <span pulumi-lang-nodejs=\"`listOrganizations`\" pulumi-lang-dotnet=\"`ListOrganizations`\" pulumi-lang-go=\"`listOrganizations`\" pulumi-lang-python=\"`list_organizations`\" pulumi-lang-yaml=\"`listOrganizations`\" pulumi-lang-java=\"`listOrganizations`\">`list_organizations`</span>. Example: <span pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\">`acme`</span>.\n","type":"string"}},"required":["branch","database","organization"],"type":"object"},"outputs":{"description":"A collection of values returned by getNekiConfigurationProfiles.\n","properties":{"branch":{"description":"Branch name from <span pulumi-lang-nodejs=\"`listBranches`\" pulumi-lang-dotnet=\"`ListBranches`\" pulumi-lang-go=\"`listBranches`\" pulumi-lang-python=\"`list_branches`\" pulumi-lang-yaml=\"`listBranches`\" pulumi-lang-java=\"`listBranches`\">`list_branches`</span>. Example: <span pulumi-lang-nodejs=\"`main`\" pulumi-lang-dotnet=\"`Main`\" pulumi-lang-go=\"`main`\" pulumi-lang-python=\"`main`\" pulumi-lang-yaml=\"`main`\" pulumi-lang-java=\"`main`\">`main`</span>.\n","type":"string"},"database":{"description":"Database name slug from <span pulumi-lang-nodejs=\"`listDatabases`\" pulumi-lang-dotnet=\"`ListDatabases`\" pulumi-lang-go=\"`listDatabases`\" pulumi-lang-python=\"`list_databases`\" pulumi-lang-yaml=\"`listDatabases`\" pulumi-lang-java=\"`listDatabases`\">`list_databases`</span>. Example: `app-db`.\n","type":"string"},"datas":{"description":"Returns configuration profiles for the branch\n","items":{"$ref":"#/types/planetscale:index%2FgetNekiConfigurationProfilesData:getNekiConfigurationProfilesData"},"type":"array"},"id":{"description":"The provider-assigned unique ID for this managed resource.","type":"string"},"organization":{"description":"Organization name slug from <span pulumi-lang-nodejs=\"`listOrganizations`\" pulumi-lang-dotnet=\"`ListOrganizations`\" pulumi-lang-go=\"`listOrganizations`\" pulumi-lang-python=\"`list_organizations`\" pulumi-lang-yaml=\"`listOrganizations`\" pulumi-lang-java=\"`listOrganizations`\">`list_organizations`</span>. Example: <span pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\">`acme`</span>.\n","type":"string"}},"required":["branch","database","datas","id","organization"],"type":"object"}},"planetscale:index/getNekiRole:getNekiRole":{"description":"NekiRole DataSource\n\n## Example Usage\n\n<!--Start PulumiCodeChooser -->\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as planetscale from \"@pulumi/planetscale\";\n\nconst myNekirole = planetscale.getNekiRole({\n    branch: \"...my_branch...\",\n    database: \"...my_database...\",\n    id: \"...my_id...\",\n    organization: \"...my_organization...\",\n});\n```\n```python\nimport pulumi\nimport pulumi_planetscale as planetscale\n\nmy_nekirole = planetscale.get_neki_role(branch=\"...my_branch...\",\n    database=\"...my_database...\",\n    id=\"...my_id...\",\n    organization=\"...my_organization...\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Planetscale = Pulumi.Planetscale;\n\nreturn await Deployment.RunAsync(() => \n{\n    var myNekirole = Planetscale.GetNekiRole.Invoke(new()\n    {\n        Branch = \"...my_branch...\",\n        Database = \"...my_database...\",\n        Id = \"...my_id...\",\n        Organization = \"...my_organization...\",\n    });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-terraform-provider/sdks/go/planetscale/planetscale\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := planetscale.LookupNekiRole(ctx, &planetscale.LookupNekiRoleArgs{\n\t\t\tBranch:       \"...my_branch...\",\n\t\t\tDatabase:     \"...my_database...\",\n\t\t\tId:           \"...my_id...\",\n\t\t\tOrganization: \"...my_organization...\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.planetscale.PlanetscaleFunctions;\nimport com.pulumi.planetscale.inputs.GetNekiRoleArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n    public static void main(String[] args) {\n        Pulumi.run(App::stack);\n    }\n\n    public static void stack(Context ctx) {\n        final var myNekirole = PlanetscaleFunctions.getNekiRole(GetNekiRoleArgs.builder()\n            .branch(\"...my_branch...\")\n            .database(\"...my_database...\")\n            .id(\"...my_id...\")\n            .organization(\"...my_organization...\")\n            .build());\n\n    }\n}\n```\n```yaml\nvariables:\n  myNekirole:\n    fn::invoke:\n      function: planetscale:getNekiRole\n      arguments:\n        branch: '...my_branch...'\n        database: '...my_database...'\n        id: '...my_id...'\n        organization: '...my_organization...'\n```\n<!--End PulumiCodeChooser -->\n","inputs":{"description":"A collection of arguments for invoking getNekiRole.\n","properties":{"branch":{"description":"Branch name from <span pulumi-lang-nodejs=\"`listBranches`\" pulumi-lang-dotnet=\"`ListBranches`\" pulumi-lang-go=\"`listBranches`\" pulumi-lang-python=\"`list_branches`\" pulumi-lang-yaml=\"`listBranches`\" pulumi-lang-java=\"`listBranches`\">`list_branches`</span>. Example: <span pulumi-lang-nodejs=\"`main`\" pulumi-lang-dotnet=\"`Main`\" pulumi-lang-go=\"`main`\" pulumi-lang-python=\"`main`\" pulumi-lang-yaml=\"`main`\" pulumi-lang-java=\"`main`\">`main`</span>.\n","type":"string"},"database":{"description":"Database name slug from <span pulumi-lang-nodejs=\"`listDatabases`\" pulumi-lang-dotnet=\"`ListDatabases`\" pulumi-lang-go=\"`listDatabases`\" pulumi-lang-python=\"`list_databases`\" pulumi-lang-yaml=\"`listDatabases`\" pulumi-lang-java=\"`listDatabases`\">`list_databases`</span>. Example: `app-db`.\n","type":"string"},"id":{"description":"The ID of the role\n","type":"string"},"organization":{"description":"Organization name slug from <span pulumi-lang-nodejs=\"`listOrganizations`\" pulumi-lang-dotnet=\"`ListOrganizations`\" pulumi-lang-go=\"`listOrganizations`\" pulumi-lang-python=\"`list_organizations`\" pulumi-lang-yaml=\"`listOrganizations`\" pulumi-lang-java=\"`listOrganizations`\">`list_organizations`</span>. Example: <span pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\">`acme`</span>.\n","type":"string"}},"required":["branch","database","id","organization"],"type":"object"},"outputs":{"description":"A collection of values returned by getNekiRole.\n","properties":{"accessHostUrl":{"description":"The database connection string\n","type":"string"},"branch":{"description":"Branch name from <span pulumi-lang-nodejs=\"`listBranches`\" pulumi-lang-dotnet=\"`ListBranches`\" pulumi-lang-go=\"`listBranches`\" pulumi-lang-python=\"`list_branches`\" pulumi-lang-yaml=\"`listBranches`\" pulumi-lang-java=\"`listBranches`\">`list_branches`</span>. Example: <span pulumi-lang-nodejs=\"`main`\" pulumi-lang-dotnet=\"`Main`\" pulumi-lang-go=\"`main`\" pulumi-lang-python=\"`main`\" pulumi-lang-yaml=\"`main`\" pulumi-lang-java=\"`main`\">`main`</span>.\n","type":"string"},"database":{"description":"Database name slug from <span pulumi-lang-nodejs=\"`listDatabases`\" pulumi-lang-dotnet=\"`ListDatabases`\" pulumi-lang-go=\"`listDatabases`\" pulumi-lang-python=\"`list_databases`\" pulumi-lang-yaml=\"`listDatabases`\" pulumi-lang-java=\"`listDatabases`\">`list_databases`</span>. Example: `app-db`.\n","type":"string"},"expiresAt":{"description":"When the role expires\n","type":"string"},"id":{"description":"The ID of the role\n","type":"string"},"inheritedRoles":{"description":"Database roles these credentials inherit\n","items":{"type":"string"},"type":"array"},"name":{"description":"The name of the role\n","type":"string"},"organization":{"description":"Organization name slug from <span pulumi-lang-nodejs=\"`listOrganizations`\" pulumi-lang-dotnet=\"`ListOrganizations`\" pulumi-lang-go=\"`listOrganizations`\" pulumi-lang-python=\"`list_organizations`\" pulumi-lang-yaml=\"`listOrganizations`\" pulumi-lang-java=\"`listOrganizations`\">`list_organizations`</span>. Example: <span pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\">`acme`</span>.\n","type":"string"},"privateAccessHostUrl":{"description":"The database connection string for private connections\n","type":"string"},"privateConnectionServiceName":{"description":"The service name to set up private connectivity\n","type":"string"},"ttl":{"description":"Number of seconds before the credentials expire\n","type":"number"},"username":{"description":"The database user name\n","type":"string"},"withReplication":{"description":"Whether the role has the REPLICATION attribute\n","type":"boolean"}},"required":["accessHostUrl","branch","database","expiresAt","id","inheritedRoles","name","organization","privateAccessHostUrl","privateConnectionServiceName","ttl","username","withReplication"],"type":"object"}},"planetscale:index/getNekiRoles:getNekiRoles":{"description":"NekiRoles DataSource\n\n## Example Usage\n\n<!--Start PulumiCodeChooser -->\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as planetscale from \"@pulumi/planetscale\";\n\nconst myNekiroles = planetscale.getNekiRoles({\n    branch: \"...my_branch...\",\n    database: \"...my_database...\",\n    organization: \"...my_organization...\",\n    q: \"...my_q...\",\n    status: \"...my_status...\",\n});\n```\n```python\nimport pulumi\nimport pulumi_planetscale as planetscale\n\nmy_nekiroles = planetscale.get_neki_roles(branch=\"...my_branch...\",\n    database=\"...my_database...\",\n    organization=\"...my_organization...\",\n    q=\"...my_q...\",\n    status=\"...my_status...\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Planetscale = Pulumi.Planetscale;\n\nreturn await Deployment.RunAsync(() => \n{\n    var myNekiroles = Planetscale.GetNekiRoles.Invoke(new()\n    {\n        Branch = \"...my_branch...\",\n        Database = \"...my_database...\",\n        Organization = \"...my_organization...\",\n        Q = \"...my_q...\",\n        Status = \"...my_status...\",\n    });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-terraform-provider/sdks/go/planetscale/planetscale\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := planetscale.GetNekiRoles(ctx, &planetscale.GetNekiRolesArgs{\n\t\t\tBranch:       \"...my_branch...\",\n\t\t\tDatabase:     \"...my_database...\",\n\t\t\tOrganization: \"...my_organization...\",\n\t\t\tQ:            pulumi.StringRef(\"...my_q...\"),\n\t\t\tStatus:       pulumi.StringRef(\"...my_status...\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.planetscale.PlanetscaleFunctions;\nimport com.pulumi.planetscale.inputs.GetNekiRolesArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n    public static void main(String[] args) {\n        Pulumi.run(App::stack);\n    }\n\n    public static void stack(Context ctx) {\n        final var myNekiroles = PlanetscaleFunctions.getNekiRoles(GetNekiRolesArgs.builder()\n            .branch(\"...my_branch...\")\n            .database(\"...my_database...\")\n            .organization(\"...my_organization...\")\n            .q(\"...my_q...\")\n            .status(\"...my_status...\")\n            .build());\n\n    }\n}\n```\n```yaml\nvariables:\n  myNekiroles:\n    fn::invoke:\n      function: planetscale:getNekiRoles\n      arguments:\n        branch: '...my_branch...'\n        database: '...my_database...'\n        organization: '...my_organization...'\n        q: '...my_q...'\n        status: '...my_status...'\n```\n<!--End PulumiCodeChooser -->\n","inputs":{"description":"A collection of arguments for invoking getNekiRoles.\n","properties":{"branch":{"description":"Branch name from <span pulumi-lang-nodejs=\"`listBranches`\" pulumi-lang-dotnet=\"`ListBranches`\" pulumi-lang-go=\"`listBranches`\" pulumi-lang-python=\"`list_branches`\" pulumi-lang-yaml=\"`listBranches`\" pulumi-lang-java=\"`listBranches`\">`list_branches`</span>. Example: <span pulumi-lang-nodejs=\"`main`\" pulumi-lang-dotnet=\"`Main`\" pulumi-lang-go=\"`main`\" pulumi-lang-python=\"`main`\" pulumi-lang-yaml=\"`main`\" pulumi-lang-java=\"`main`\">`main`</span>.\n","type":"string"},"database":{"description":"Database name slug from <span pulumi-lang-nodejs=\"`listDatabases`\" pulumi-lang-dotnet=\"`ListDatabases`\" pulumi-lang-go=\"`listDatabases`\" pulumi-lang-python=\"`list_databases`\" pulumi-lang-yaml=\"`listDatabases`\" pulumi-lang-java=\"`listDatabases`\">`list_databases`</span>. Example: `app-db`.\n","type":"string"},"organization":{"description":"Organization name slug from <span pulumi-lang-nodejs=\"`listOrganizations`\" pulumi-lang-dotnet=\"`ListOrganizations`\" pulumi-lang-go=\"`listOrganizations`\" pulumi-lang-python=\"`list_organizations`\" pulumi-lang-yaml=\"`listOrganizations`\" pulumi-lang-java=\"`listOrganizations`\">`list_organizations`</span>. Example: <span pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\">`acme`</span>.\n","type":"string"},"q":{"description":"Search roles by name or username\n","type":"string"},"status":{"description":"Filter roles by status\n","type":"string"}},"required":["branch","database","organization"],"type":"object"},"outputs":{"description":"A collection of values returned by getNekiRoles.\n","properties":{"branch":{"description":"Branch name from <span pulumi-lang-nodejs=\"`listBranches`\" pulumi-lang-dotnet=\"`ListBranches`\" pulumi-lang-go=\"`listBranches`\" pulumi-lang-python=\"`list_branches`\" pulumi-lang-yaml=\"`listBranches`\" pulumi-lang-java=\"`listBranches`\">`list_branches`</span>. Example: <span pulumi-lang-nodejs=\"`main`\" pulumi-lang-dotnet=\"`Main`\" pulumi-lang-go=\"`main`\" pulumi-lang-python=\"`main`\" pulumi-lang-yaml=\"`main`\" pulumi-lang-java=\"`main`\">`main`</span>.\n","type":"string"},"database":{"description":"Database name slug from <span pulumi-lang-nodejs=\"`listDatabases`\" pulumi-lang-dotnet=\"`ListDatabases`\" pulumi-lang-go=\"`listDatabases`\" pulumi-lang-python=\"`list_databases`\" pulumi-lang-yaml=\"`listDatabases`\" pulumi-lang-java=\"`listDatabases`\">`list_databases`</span>. Example: `app-db`.\n","type":"string"},"datas":{"items":{"$ref":"#/types/planetscale:index%2FgetNekiRolesData:getNekiRolesData"},"type":"array"},"id":{"description":"The provider-assigned unique ID for this managed resource.","type":"string"},"organization":{"description":"Organization name slug from <span pulumi-lang-nodejs=\"`listOrganizations`\" pulumi-lang-dotnet=\"`ListOrganizations`\" pulumi-lang-go=\"`listOrganizations`\" pulumi-lang-python=\"`list_organizations`\" pulumi-lang-yaml=\"`listOrganizations`\" pulumi-lang-java=\"`listOrganizations`\">`list_organizations`</span>. Example: <span pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\">`acme`</span>.\n","type":"string"},"q":{"description":"Search roles by name or username\n","type":"string"},"status":{"description":"Filter roles by status\n","type":"string"},"type":{"description":"The response type. Always \"list\" for paginated responses.\n","type":"string"}},"required":["branch","database","datas","id","organization","type"],"type":"object"}},"planetscale:index/getNekiRouter:getNekiRouter":{"description":"NekiRouter DataSource\n\n## Example Usage\n\n<!--Start PulumiCodeChooser -->\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as planetscale from \"@pulumi/planetscale\";\n\nconst myNekirouter = planetscale.getNekiRouter({\n    branch: \"...my_branch...\",\n    database: \"...my_database...\",\n    name: \"...my_name...\",\n    organization: \"...my_organization...\",\n    parameters: {\n        key: {},\n    },\n});\n```\n```python\nimport pulumi\nimport pulumi_planetscale as planetscale\n\nmy_nekirouter = planetscale.get_neki_router(branch=\"...my_branch...\",\n    database=\"...my_database...\",\n    name=\"...my_name...\",\n    organization=\"...my_organization...\",\n    parameters={\n        \"key\": {},\n    })\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Planetscale = Pulumi.Planetscale;\n\nreturn await Deployment.RunAsync(() => \n{\n    var myNekirouter = Planetscale.GetNekiRouter.Invoke(new()\n    {\n        Branch = \"...my_branch...\",\n        Database = \"...my_database...\",\n        Name = \"...my_name...\",\n        Organization = \"...my_organization...\",\n        Parameters = \n        {\n            { \"key\", null },\n        },\n    });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-terraform-provider/sdks/go/planetscale/planetscale\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := planetscale.LookupNekiRouter(ctx, &planetscale.LookupNekiRouterArgs{\n\t\t\tBranch:       \"...my_branch...\",\n\t\t\tDatabase:     \"...my_database...\",\n\t\t\tName:         \"...my_name...\",\n\t\t\tOrganization: \"...my_organization...\",\n\t\t\tParameters: map[string]interface{}{\n\t\t\t\t\"key\": map[string]interface{}{},\n\t\t\t},\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.planetscale.PlanetscaleFunctions;\nimport com.pulumi.planetscale.inputs.GetNekiRouterArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n    public static void main(String[] args) {\n        Pulumi.run(App::stack);\n    }\n\n    public static void stack(Context ctx) {\n        final var myNekirouter = PlanetscaleFunctions.getNekiRouter(GetNekiRouterArgs.builder()\n            .branch(\"...my_branch...\")\n            .database(\"...my_database...\")\n            .name(\"...my_name...\")\n            .organization(\"...my_organization...\")\n            .parameters(Map.of(\"key\", Map.ofEntries(\n            )))\n            .build());\n\n    }\n}\n```\n```yaml\nvariables:\n  myNekirouter:\n    fn::invoke:\n      function: planetscale:getNekiRouter\n      arguments:\n        branch: '...my_branch...'\n        database: '...my_database...'\n        name: '...my_name...'\n        organization: '...my_organization...'\n        parameters:\n          key: {}\n```\n<!--End PulumiCodeChooser -->\n","inputs":{"description":"A collection of arguments for invoking getNekiRouter.\n","properties":{"branch":{"description":"Branch name from <span pulumi-lang-nodejs=\"`listBranches`\" pulumi-lang-dotnet=\"`ListBranches`\" pulumi-lang-go=\"`listBranches`\" pulumi-lang-python=\"`list_branches`\" pulumi-lang-yaml=\"`listBranches`\" pulumi-lang-java=\"`listBranches`\">`list_branches`</span>. Example: <span pulumi-lang-nodejs=\"`main`\" pulumi-lang-dotnet=\"`Main`\" pulumi-lang-go=\"`main`\" pulumi-lang-python=\"`main`\" pulumi-lang-yaml=\"`main`\" pulumi-lang-java=\"`main`\">`main`</span>.\n","type":"string"},"database":{"description":"Database name slug from <span pulumi-lang-nodejs=\"`listDatabases`\" pulumi-lang-dotnet=\"`ListDatabases`\" pulumi-lang-go=\"`listDatabases`\" pulumi-lang-python=\"`list_databases`\" pulumi-lang-yaml=\"`listDatabases`\" pulumi-lang-java=\"`listDatabases`\">`list_databases`</span>. Example: `app-db`.\n","type":"string"},"name":{"description":"The name of the router\n","type":"string"},"organization":{"description":"Organization name slug from <span pulumi-lang-nodejs=\"`listOrganizations`\" pulumi-lang-dotnet=\"`ListOrganizations`\" pulumi-lang-go=\"`listOrganizations`\" pulumi-lang-python=\"`list_organizations`\" pulumi-lang-yaml=\"`listOrganizations`\" pulumi-lang-java=\"`listOrganizations`\">`list_organizations`</span>. Example: <span pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\">`acme`</span>.\n","type":"string"},"parameters":{"additionalProperties":{"additionalProperties":{"type":"string"},"type":"object"},"description":"Managed effective router parameter values nested by namespace. Remote non-default values are adopted during reads.\n","type":"object"}},"required":["branch","database","name","organization"],"type":"object"},"outputs":{"description":"A collection of values returned by getNekiRouter.\n","properties":{"autoscaling":{"description":"Whether the router scales horizontally within each cell\n","type":"boolean"},"branch":{"description":"Branch name from <span pulumi-lang-nodejs=\"`listBranches`\" pulumi-lang-dotnet=\"`ListBranches`\" pulumi-lang-go=\"`listBranches`\" pulumi-lang-python=\"`list_branches`\" pulumi-lang-yaml=\"`listBranches`\" pulumi-lang-java=\"`listBranches`\">`list_branches`</span>. Example: <span pulumi-lang-nodejs=\"`main`\" pulumi-lang-dotnet=\"`Main`\" pulumi-lang-go=\"`main`\" pulumi-lang-python=\"`main`\" pulumi-lang-yaml=\"`main`\" pulumi-lang-java=\"`main`\">`main`</span>.\n","type":"string"},"database":{"description":"Database name slug from <span pulumi-lang-nodejs=\"`listDatabases`\" pulumi-lang-dotnet=\"`ListDatabases`\" pulumi-lang-go=\"`listDatabases`\" pulumi-lang-python=\"`list_databases`\" pulumi-lang-yaml=\"`listDatabases`\" pulumi-lang-java=\"`listDatabases`\">`list_databases`</span>. Example: `app-db`.\n","type":"string"},"default":{"description":"Whether this is the default router\n","type":"boolean"},"id":{"description":"The ID of the router\n","type":"string"},"maxReplicasPerCell":{"description":"The maximum count of replicas in each cell when autoscaling\n","type":"number"},"name":{"description":"The name of the router\n","type":"string"},"organization":{"description":"Organization name slug from <span pulumi-lang-nodejs=\"`listOrganizations`\" pulumi-lang-dotnet=\"`ListOrganizations`\" pulumi-lang-go=\"`listOrganizations`\" pulumi-lang-python=\"`list_organizations`\" pulumi-lang-yaml=\"`listOrganizations`\" pulumi-lang-java=\"`listOrganizations`\">`list_organizations`</span>. Example: <span pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\">`acme`</span>.\n","type":"string"},"parameters":{"additionalProperties":{"additionalProperties":{"type":"string"},"type":"object"},"description":"Managed effective router parameter values nested by namespace. Remote non-default values are adopted during reads.\n","type":"object"},"replicasPerCell":{"description":"The count of replicas in each cell\n","type":"number"},"routerSize":{"description":"The router size SKU name\n","type":"string"},"state":{"description":"The current state of the router\n","type":"string"},"targetCpuUtilization":{"description":"The target average CPU utilization percentage when autoscaling, one of 40, 50, 60 or 70\n","type":"number"}},"required":["autoscaling","branch","database","default","id","maxReplicasPerCell","name","organization","parameters","replicasPerCell","routerSize","state","targetCpuUtilization"],"type":"object"}},"planetscale:index/getNekiRouters:getNekiRouters":{"description":"NekiRouters DataSource\n\n## Example Usage\n\n<!--Start PulumiCodeChooser -->\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as planetscale from \"@pulumi/planetscale\";\n\nconst myNekirouters = planetscale.getNekiRouters({\n    branch: \"...my_branch...\",\n    database: \"...my_database...\",\n    organization: \"...my_organization...\",\n});\n```\n```python\nimport pulumi\nimport pulumi_planetscale as planetscale\n\nmy_nekirouters = planetscale.get_neki_routers(branch=\"...my_branch...\",\n    database=\"...my_database...\",\n    organization=\"...my_organization...\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Planetscale = Pulumi.Planetscale;\n\nreturn await Deployment.RunAsync(() => \n{\n    var myNekirouters = Planetscale.GetNekiRouters.Invoke(new()\n    {\n        Branch = \"...my_branch...\",\n        Database = \"...my_database...\",\n        Organization = \"...my_organization...\",\n    });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-terraform-provider/sdks/go/planetscale/planetscale\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := planetscale.GetNekiRouters(ctx, &planetscale.GetNekiRoutersArgs{\n\t\t\tBranch:       \"...my_branch...\",\n\t\t\tDatabase:     \"...my_database...\",\n\t\t\tOrganization: \"...my_organization...\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.planetscale.PlanetscaleFunctions;\nimport com.pulumi.planetscale.inputs.GetNekiRoutersArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n    public static void main(String[] args) {\n        Pulumi.run(App::stack);\n    }\n\n    public static void stack(Context ctx) {\n        final var myNekirouters = PlanetscaleFunctions.getNekiRouters(GetNekiRoutersArgs.builder()\n            .branch(\"...my_branch...\")\n            .database(\"...my_database...\")\n            .organization(\"...my_organization...\")\n            .build());\n\n    }\n}\n```\n```yaml\nvariables:\n  myNekirouters:\n    fn::invoke:\n      function: planetscale:getNekiRouters\n      arguments:\n        branch: '...my_branch...'\n        database: '...my_database...'\n        organization: '...my_organization...'\n```\n<!--End PulumiCodeChooser -->\n","inputs":{"description":"A collection of arguments for invoking getNekiRouters.\n","properties":{"branch":{"description":"Branch name from <span pulumi-lang-nodejs=\"`listBranches`\" pulumi-lang-dotnet=\"`ListBranches`\" pulumi-lang-go=\"`listBranches`\" pulumi-lang-python=\"`list_branches`\" pulumi-lang-yaml=\"`listBranches`\" pulumi-lang-java=\"`listBranches`\">`list_branches`</span>. Example: <span pulumi-lang-nodejs=\"`main`\" pulumi-lang-dotnet=\"`Main`\" pulumi-lang-go=\"`main`\" pulumi-lang-python=\"`main`\" pulumi-lang-yaml=\"`main`\" pulumi-lang-java=\"`main`\">`main`</span>.\n","type":"string"},"database":{"description":"Database name slug from <span pulumi-lang-nodejs=\"`listDatabases`\" pulumi-lang-dotnet=\"`ListDatabases`\" pulumi-lang-go=\"`listDatabases`\" pulumi-lang-python=\"`list_databases`\" pulumi-lang-yaml=\"`listDatabases`\" pulumi-lang-java=\"`listDatabases`\">`list_databases`</span>. Example: `app-db`.\n","type":"string"},"organization":{"description":"Organization name slug from <span pulumi-lang-nodejs=\"`listOrganizations`\" pulumi-lang-dotnet=\"`ListOrganizations`\" pulumi-lang-go=\"`listOrganizations`\" pulumi-lang-python=\"`list_organizations`\" pulumi-lang-yaml=\"`listOrganizations`\" pulumi-lang-java=\"`listOrganizations`\">`list_organizations`</span>. Example: <span pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\">`acme`</span>.\n","type":"string"}},"required":["branch","database","organization"],"type":"object"},"outputs":{"description":"A collection of values returned by getNekiRouters.\n","properties":{"branch":{"description":"Branch name from <span pulumi-lang-nodejs=\"`listBranches`\" pulumi-lang-dotnet=\"`ListBranches`\" pulumi-lang-go=\"`listBranches`\" pulumi-lang-python=\"`list_branches`\" pulumi-lang-yaml=\"`listBranches`\" pulumi-lang-java=\"`listBranches`\">`list_branches`</span>. Example: <span pulumi-lang-nodejs=\"`main`\" pulumi-lang-dotnet=\"`Main`\" pulumi-lang-go=\"`main`\" pulumi-lang-python=\"`main`\" pulumi-lang-yaml=\"`main`\" pulumi-lang-java=\"`main`\">`main`</span>.\n","type":"string"},"database":{"description":"Database name slug from <span pulumi-lang-nodejs=\"`listDatabases`\" pulumi-lang-dotnet=\"`ListDatabases`\" pulumi-lang-go=\"`listDatabases`\" pulumi-lang-python=\"`list_databases`\" pulumi-lang-yaml=\"`listDatabases`\" pulumi-lang-java=\"`listDatabases`\">`list_databases`</span>. Example: `app-db`.\n","type":"string"},"datas":{"description":"Returns routers for the branch\n","items":{"$ref":"#/types/planetscale:index%2FgetNekiRoutersData:getNekiRoutersData"},"type":"array"},"id":{"description":"The provider-assigned unique ID for this managed resource.","type":"string"},"organization":{"description":"Organization name slug from <span pulumi-lang-nodejs=\"`listOrganizations`\" pulumi-lang-dotnet=\"`ListOrganizations`\" pulumi-lang-go=\"`listOrganizations`\" pulumi-lang-python=\"`list_organizations`\" pulumi-lang-yaml=\"`listOrganizations`\" pulumi-lang-java=\"`listOrganizations`\">`list_organizations`</span>. Example: <span pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\">`acme`</span>.\n","type":"string"}},"required":["branch","database","datas","id","organization"],"type":"object"}},"planetscale:index/getNekiShard:getNekiShard":{"description":"## Example Usage\n\n<!--Start PulumiCodeChooser -->\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as planetscale from \"@pulumi/planetscale\";\n\nconst myNekishard = planetscale.getNekiShard({\n    branch: \"...my_branch...\",\n    database: \"...my_database...\",\n    id: \"...my_id...\",\n    organization: \"...my_organization...\",\n});\n```\n```python\nimport pulumi\nimport pulumi_planetscale as planetscale\n\nmy_nekishard = planetscale.get_neki_shard(branch=\"...my_branch...\",\n    database=\"...my_database...\",\n    id=\"...my_id...\",\n    organization=\"...my_organization...\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Planetscale = Pulumi.Planetscale;\n\nreturn await Deployment.RunAsync(() => \n{\n    var myNekishard = Planetscale.GetNekiShard.Invoke(new()\n    {\n        Branch = \"...my_branch...\",\n        Database = \"...my_database...\",\n        Id = \"...my_id...\",\n        Organization = \"...my_organization...\",\n    });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-terraform-provider/sdks/go/planetscale/planetscale\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := planetscale.LookupNekiShard(ctx, &planetscale.LookupNekiShardArgs{\n\t\t\tBranch:       \"...my_branch...\",\n\t\t\tDatabase:     \"...my_database...\",\n\t\t\tId:           \"...my_id...\",\n\t\t\tOrganization: \"...my_organization...\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.planetscale.PlanetscaleFunctions;\nimport com.pulumi.planetscale.inputs.GetNekiShardArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n    public static void main(String[] args) {\n        Pulumi.run(App::stack);\n    }\n\n    public static void stack(Context ctx) {\n        final var myNekishard = PlanetscaleFunctions.getNekiShard(GetNekiShardArgs.builder()\n            .branch(\"...my_branch...\")\n            .database(\"...my_database...\")\n            .id(\"...my_id...\")\n            .organization(\"...my_organization...\")\n            .build());\n\n    }\n}\n```\n```yaml\nvariables:\n  myNekishard:\n    fn::invoke:\n      function: planetscale:getNekiShard\n      arguments:\n        branch: '...my_branch...'\n        database: '...my_database...'\n        id: '...my_id...'\n        organization: '...my_organization...'\n```\n<!--End PulumiCodeChooser -->\n","inputs":{"description":"A collection of arguments for invoking getNekiShard.\n","properties":{"branch":{"description":"Branch name from <span pulumi-lang-nodejs=\"`listBranches`\" pulumi-lang-dotnet=\"`ListBranches`\" pulumi-lang-go=\"`listBranches`\" pulumi-lang-python=\"`list_branches`\" pulumi-lang-yaml=\"`listBranches`\" pulumi-lang-java=\"`listBranches`\">`list_branches`</span>. Example: <span pulumi-lang-nodejs=\"`main`\" pulumi-lang-dotnet=\"`Main`\" pulumi-lang-go=\"`main`\" pulumi-lang-python=\"`main`\" pulumi-lang-yaml=\"`main`\" pulumi-lang-java=\"`main`\">`main`</span>.\n","type":"string"},"database":{"description":"Database name slug from <span pulumi-lang-nodejs=\"`listDatabases`\" pulumi-lang-dotnet=\"`ListDatabases`\" pulumi-lang-go=\"`listDatabases`\" pulumi-lang-python=\"`list_databases`\" pulumi-lang-yaml=\"`listDatabases`\" pulumi-lang-java=\"`listDatabases`\">`list_databases`</span>. Example: `app-db`.\n","type":"string"},"id":{"description":"The ID of the shard\n","type":"string"},"organization":{"description":"Organization name slug from <span pulumi-lang-nodejs=\"`listOrganizations`\" pulumi-lang-dotnet=\"`ListOrganizations`\" pulumi-lang-go=\"`listOrganizations`\" pulumi-lang-python=\"`list_organizations`\" pulumi-lang-yaml=\"`listOrganizations`\" pulumi-lang-java=\"`listOrganizations`\">`list_organizations`</span>. Example: <span pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\">`acme`</span>.\n","type":"string"}},"required":["branch","database","id","organization"],"type":"object"},"outputs":{"description":"A collection of values returned by getNekiShard.\n","properties":{"authoritative":{"description":"Whether the shard is the authoritative shard of the cluster\n","type":"boolean"},"branch":{"description":"Branch name from <span pulumi-lang-nodejs=\"`listBranches`\" pulumi-lang-dotnet=\"`ListBranches`\" pulumi-lang-go=\"`listBranches`\" pulumi-lang-python=\"`list_branches`\" pulumi-lang-yaml=\"`listBranches`\" pulumi-lang-java=\"`listBranches`\">`list_branches`</span>. Example: <span pulumi-lang-nodejs=\"`main`\" pulumi-lang-dotnet=\"`Main`\" pulumi-lang-go=\"`main`\" pulumi-lang-python=\"`main`\" pulumi-lang-yaml=\"`main`\" pulumi-lang-java=\"`main`\">`main`</span>.\n","type":"string"},"configurationProfile":{"description":"The name of the configuration profile\n","type":"string"},"database":{"description":"Database name slug from <span pulumi-lang-nodejs=\"`listDatabases`\" pulumi-lang-dotnet=\"`ListDatabases`\" pulumi-lang-go=\"`listDatabases`\" pulumi-lang-python=\"`list_databases`\" pulumi-lang-yaml=\"`listDatabases`\" pulumi-lang-java=\"`listDatabases`\">`list_databases`</span>. Example: `app-db`.\n","type":"string"},"displayName":{"description":"The display name of the shard\n","type":"string"},"id":{"description":"The ID of the shard\n","type":"string"},"organization":{"description":"Organization name slug from <span pulumi-lang-nodejs=\"`listOrganizations`\" pulumi-lang-dotnet=\"`ListOrganizations`\" pulumi-lang-go=\"`listOrganizations`\" pulumi-lang-python=\"`list_organizations`\" pulumi-lang-yaml=\"`listOrganizations`\" pulumi-lang-java=\"`listOrganizations`\">`list_organizations`</span>. Example: <span pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\">`acme`</span>.\n","type":"string"},"ready":{"description":"Whether the shard has been created on the cluster\n","type":"boolean"}},"required":["authoritative","branch","configurationProfile","database","displayName","id","organization","ready"],"type":"object"}},"planetscale:index/getNekiShards:getNekiShards":{"description":"List shards on a PlanetScale Neki branch.\n\n## Example Usage\n\n<!--Start PulumiCodeChooser -->\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as planetscale from \"@pulumi/planetscale\";\n\nconst myNekishards = planetscale.getNekiShards({\n    branch: \"...my_branch...\",\n    database: \"...my_database...\",\n    organization: \"...my_organization...\",\n});\n```\n```python\nimport pulumi\nimport pulumi_planetscale as planetscale\n\nmy_nekishards = planetscale.get_neki_shards(branch=\"...my_branch...\",\n    database=\"...my_database...\",\n    organization=\"...my_organization...\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Planetscale = Pulumi.Planetscale;\n\nreturn await Deployment.RunAsync(() => \n{\n    var myNekishards = Planetscale.GetNekiShards.Invoke(new()\n    {\n        Branch = \"...my_branch...\",\n        Database = \"...my_database...\",\n        Organization = \"...my_organization...\",\n    });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-terraform-provider/sdks/go/planetscale/planetscale\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := planetscale.GetNekiShards(ctx, &planetscale.GetNekiShardsArgs{\n\t\t\tBranch:       \"...my_branch...\",\n\t\t\tDatabase:     \"...my_database...\",\n\t\t\tOrganization: \"...my_organization...\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.planetscale.PlanetscaleFunctions;\nimport com.pulumi.planetscale.inputs.GetNekiShardsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n    public static void main(String[] args) {\n        Pulumi.run(App::stack);\n    }\n\n    public static void stack(Context ctx) {\n        final var myNekishards = PlanetscaleFunctions.getNekiShards(GetNekiShardsArgs.builder()\n            .branch(\"...my_branch...\")\n            .database(\"...my_database...\")\n            .organization(\"...my_organization...\")\n            .build());\n\n    }\n}\n```\n```yaml\nvariables:\n  myNekishards:\n    fn::invoke:\n      function: planetscale:getNekiShards\n      arguments:\n        branch: '...my_branch...'\n        database: '...my_database...'\n        organization: '...my_organization...'\n```\n<!--End PulumiCodeChooser -->\n","inputs":{"description":"A collection of arguments for invoking getNekiShards.\n","properties":{"branch":{"description":"Branch name from <span pulumi-lang-nodejs=\"`listBranches`\" pulumi-lang-dotnet=\"`ListBranches`\" pulumi-lang-go=\"`listBranches`\" pulumi-lang-python=\"`list_branches`\" pulumi-lang-yaml=\"`listBranches`\" pulumi-lang-java=\"`listBranches`\">`list_branches`</span>. Example: <span pulumi-lang-nodejs=\"`main`\" pulumi-lang-dotnet=\"`Main`\" pulumi-lang-go=\"`main`\" pulumi-lang-python=\"`main`\" pulumi-lang-yaml=\"`main`\" pulumi-lang-java=\"`main`\">`main`</span>.\n","type":"string"},"database":{"description":"Database name slug from <span pulumi-lang-nodejs=\"`listDatabases`\" pulumi-lang-dotnet=\"`ListDatabases`\" pulumi-lang-go=\"`listDatabases`\" pulumi-lang-python=\"`list_databases`\" pulumi-lang-yaml=\"`listDatabases`\" pulumi-lang-java=\"`listDatabases`\">`list_databases`</span>. Example: `app-db`.\n","type":"string"},"organization":{"description":"Organization name slug from <span pulumi-lang-nodejs=\"`listOrganizations`\" pulumi-lang-dotnet=\"`ListOrganizations`\" pulumi-lang-go=\"`listOrganizations`\" pulumi-lang-python=\"`list_organizations`\" pulumi-lang-yaml=\"`listOrganizations`\" pulumi-lang-java=\"`listOrganizations`\">`list_organizations`</span>. Example: <span pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\">`acme`</span>.\n","type":"string"}},"required":["branch","database","organization"],"type":"object"},"outputs":{"description":"A collection of values returned by getNekiShards.\n","properties":{"branch":{"description":"Branch name from <span pulumi-lang-nodejs=\"`listBranches`\" pulumi-lang-dotnet=\"`ListBranches`\" pulumi-lang-go=\"`listBranches`\" pulumi-lang-python=\"`list_branches`\" pulumi-lang-yaml=\"`listBranches`\" pulumi-lang-java=\"`listBranches`\">`list_branches`</span>. Example: <span pulumi-lang-nodejs=\"`main`\" pulumi-lang-dotnet=\"`Main`\" pulumi-lang-go=\"`main`\" pulumi-lang-python=\"`main`\" pulumi-lang-yaml=\"`main`\" pulumi-lang-java=\"`main`\">`main`</span>.\n","type":"string"},"database":{"description":"Database name slug from <span pulumi-lang-nodejs=\"`listDatabases`\" pulumi-lang-dotnet=\"`ListDatabases`\" pulumi-lang-go=\"`listDatabases`\" pulumi-lang-python=\"`list_databases`\" pulumi-lang-yaml=\"`listDatabases`\" pulumi-lang-java=\"`listDatabases`\">`list_databases`</span>. Example: `app-db`.\n","type":"string"},"datas":{"items":{"$ref":"#/types/planetscale:index%2FgetNekiShardsData:getNekiShardsData"},"type":"array"},"id":{"description":"The provider-assigned unique ID for this managed resource.","type":"string"},"organization":{"description":"Organization name slug from <span pulumi-lang-nodejs=\"`listOrganizations`\" pulumi-lang-dotnet=\"`ListOrganizations`\" pulumi-lang-go=\"`listOrganizations`\" pulumi-lang-python=\"`list_organizations`\" pulumi-lang-yaml=\"`listOrganizations`\" pulumi-lang-java=\"`listOrganizations`\">`list_organizations`</span>. Example: <span pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\">`acme`</span>.\n","type":"string"},"type":{"description":"The response type. Always \"list\" for paginated responses.\n","type":"string"}},"required":["branch","database","datas","id","organization","type"],"type":"object"}},"planetscale:index/getOrganization:getOrganization":{"description":"Organization DataSource\n\n## Example Usage\n\n<!--Start PulumiCodeChooser -->\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as planetscale from \"@pulumi/planetscale\";\n\nconst myOrganization = planetscale.getOrganization({\n    organization: \"...my_organization...\",\n});\n```\n```python\nimport pulumi\nimport pulumi_planetscale as planetscale\n\nmy_organization = planetscale.get_organization(organization=\"...my_organization...\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Planetscale = Pulumi.Planetscale;\n\nreturn await Deployment.RunAsync(() => \n{\n    var myOrganization = Planetscale.GetOrganization.Invoke(new()\n    {\n        Organization = \"...my_organization...\",\n    });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-terraform-provider/sdks/go/planetscale/planetscale\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := planetscale.GetOrganization(ctx, &planetscale.GetOrganizationArgs{\n\t\t\tOrganization: \"...my_organization...\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.planetscale.PlanetscaleFunctions;\nimport com.pulumi.planetscale.inputs.GetOrganizationArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n    public static void main(String[] args) {\n        Pulumi.run(App::stack);\n    }\n\n    public static void stack(Context ctx) {\n        final var myOrganization = PlanetscaleFunctions.getOrganization(GetOrganizationArgs.builder()\n            .organization(\"...my_organization...\")\n            .build());\n\n    }\n}\n```\n```yaml\nvariables:\n  myOrganization:\n    fn::invoke:\n      function: planetscale:getOrganization\n      arguments:\n        organization: '...my_organization...'\n```\n<!--End PulumiCodeChooser -->\n","inputs":{"description":"A collection of arguments for invoking getOrganization.\n","properties":{"organization":{"description":"Organization name slug from <span pulumi-lang-nodejs=\"`listOrganizations`\" pulumi-lang-dotnet=\"`ListOrganizations`\" pulumi-lang-go=\"`listOrganizations`\" pulumi-lang-python=\"`list_organizations`\" pulumi-lang-yaml=\"`listOrganizations`\" pulumi-lang-java=\"`listOrganizations`\">`list_organizations`</span>. Example: <span pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\">`acme`</span>.\n","type":"string"}},"required":["organization"],"type":"object"},"outputs":{"description":"A collection of values returned by getOrganization.\n","properties":{"allowLlmUsage":{"description":"Whether or not LLM-powered features are enabled for the organization\n","type":"boolean"},"billingEmail":{"description":"The billing email of the organization\n","type":"string"},"createdAt":{"description":"When the organization was created\n","type":"string"},"databaseCount":{"description":"The number of databases in the organization\n","type":"number"},"features":{"additionalProperties":{"type":"string"},"description":"Features that can be enabled on the organization\n","type":"object"},"hasCard":{"description":"Whether or not the organization has a payment method on file\n","type":"boolean"},"hasPastDueInvoices":{"description":"Whether or not the organization has past due billing invoices.\n","type":"boolean"},"id":{"description":"The ID for the organization\n","type":"string"},"idpManagedRoles":{"description":"Whether or not the IdP provider is be responsible for managing roles in PlanetScale\n","type":"boolean"},"invoiceBudgetAmount":{"description":"The expected monthly budget for the organization\n","type":"string"},"keyspaceShardLimit":{"description":"The keyspace shard limit for the organization\n","type":"number"},"llmUsageBlocked":{"description":"Whether or not LLM usage is blocked for the organization. When true, LLM-powered features are disabled and can't be enabled\n","type":"boolean"},"managedTenancy":{"description":"Whether or not the organization has managed tenancy enabled\n","type":"boolean"},"mcpAccessLevel":{"description":"The query access level MCP clients can be granted for the organization (none, read*only, or read*write)\n","type":"string"},"name":{"description":"The name of the organization\n","type":"string"},"nekiRouterReplicasPerCellLimit":{"description":"The Neki router replica limit per cell for the organization\n","type":"number"},"organization":{"description":"Organization name slug from <span pulumi-lang-nodejs=\"`listOrganizations`\" pulumi-lang-dotnet=\"`ListOrganizations`\" pulumi-lang-go=\"`listOrganizations`\" pulumi-lang-python=\"`list_organizations`\" pulumi-lang-yaml=\"`listOrganizations`\" pulumi-lang-java=\"`listOrganizations`\">`list_organizations`</span>. Example: <span pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\">`acme`</span>.\n","type":"string"},"paymentInfoRequired":{"description":"Whether or not the organization requires payment information\n","type":"boolean"},"plan":{"description":"The billing plan of the organization\n","type":"string"},"singleTenancy":{"description":"Whether or not the organization has single tenancy enabled\n","type":"boolean"},"sso":{"description":"Whether or not SSO is enabled on the organization\n","type":"boolean"},"ssoDirectory":{"description":"Whether or not the organization uses an SSO directory\n","type":"boolean"},"ssoPortalUrl":{"description":"The URL of the organization's SSO portal.\n","type":"string"},"updatedAt":{"description":"When the organization was last updated\n","type":"string"},"validBillingInfo":{"description":"Whether or not the organization's billing information is valid\n","type":"boolean"}},"required":["allowLlmUsage","billingEmail","createdAt","databaseCount","features","hasCard","hasPastDueInvoices","id","idpManagedRoles","invoiceBudgetAmount","keyspaceShardLimit","llmUsageBlocked","managedTenancy","mcpAccessLevel","name","nekiRouterReplicasPerCellLimit","organization","paymentInfoRequired","plan","singleTenancy","sso","ssoDirectory","ssoPortalUrl","updatedAt","validBillingInfo"],"type":"object"}},"planetscale:index/getOrganizations:getOrganizations":{"description":"Organizations DataSource\n\n## Example Usage\n\n<!--Start PulumiCodeChooser -->\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as planetscale from \"@pulumi/planetscale\";\n\nconst myOrganizations = planetscale.getOrganizations({});\n```\n```python\nimport pulumi\nimport pulumi_planetscale as planetscale\n\nmy_organizations = planetscale.get_organizations()\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Planetscale = Pulumi.Planetscale;\n\nreturn await Deployment.RunAsync(() => \n{\n    var myOrganizations = Planetscale.GetOrganizations.Invoke();\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-terraform-provider/sdks/go/planetscale/planetscale\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := planetscale.GetOrganizations(ctx, map[string]interface{}{}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.planetscale.PlanetscaleFunctions;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n    public static void main(String[] args) {\n        Pulumi.run(App::stack);\n    }\n\n    public static void stack(Context ctx) {\n        final var myOrganizations = PlanetscaleFunctions.getOrganizations(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference);\n\n    }\n}\n```\n```yaml\nvariables:\n  myOrganizations:\n    fn::invoke:\n      function: planetscale:getOrganizations\n      arguments: {}\n```\n<!--End PulumiCodeChooser -->\n","outputs":{"description":"A collection of values returned by getOrganizations.\n","properties":{"datas":{"items":{"$ref":"#/types/planetscale:index%2FgetOrganizationsData:getOrganizationsData"},"type":"array"},"id":{"description":"The provider-assigned unique ID for this managed resource.","type":"string"},"type":{"description":"The response type. Always \"list\" for paginated responses.\n","type":"string"}},"required":["datas","id","type"],"type":"object"}},"planetscale:index/getPostgresBackupPolicies:getPostgresBackupPolicies":{"description":"PostgresBackupPolicies DataSource\n\n## Example Usage\n\n<!--Start PulumiCodeChooser -->\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as planetscale from \"@pulumi/planetscale\";\n\nconst myPostgresbackuppolicies = planetscale.getPostgresBackupPolicies({\n    database: \"...my_database...\",\n    organization: \"...my_organization...\",\n});\n```\n```python\nimport pulumi\nimport pulumi_planetscale as planetscale\n\nmy_postgresbackuppolicies = planetscale.get_postgres_backup_policies(database=\"...my_database...\",\n    organization=\"...my_organization...\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Planetscale = Pulumi.Planetscale;\n\nreturn await Deployment.RunAsync(() => \n{\n    var myPostgresbackuppolicies = Planetscale.GetPostgresBackupPolicies.Invoke(new()\n    {\n        Database = \"...my_database...\",\n        Organization = \"...my_organization...\",\n    });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-terraform-provider/sdks/go/planetscale/planetscale\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := planetscale.GetPostgresBackupPolicies(ctx, &planetscale.GetPostgresBackupPoliciesArgs{\n\t\t\tDatabase:     \"...my_database...\",\n\t\t\tOrganization: \"...my_organization...\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.planetscale.PlanetscaleFunctions;\nimport com.pulumi.planetscale.inputs.GetPostgresBackupPoliciesArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n    public static void main(String[] args) {\n        Pulumi.run(App::stack);\n    }\n\n    public static void stack(Context ctx) {\n        final var myPostgresbackuppolicies = PlanetscaleFunctions.getPostgresBackupPolicies(GetPostgresBackupPoliciesArgs.builder()\n            .database(\"...my_database...\")\n            .organization(\"...my_organization...\")\n            .build());\n\n    }\n}\n```\n```yaml\nvariables:\n  myPostgresbackuppolicies:\n    fn::invoke:\n      function: planetscale:getPostgresBackupPolicies\n      arguments:\n        database: '...my_database...'\n        organization: '...my_organization...'\n```\n<!--End PulumiCodeChooser -->\n","inputs":{"description":"A collection of arguments for invoking getPostgresBackupPolicies.\n","properties":{"database":{"description":"Database name slug from <span pulumi-lang-nodejs=\"`listDatabases`\" pulumi-lang-dotnet=\"`ListDatabases`\" pulumi-lang-go=\"`listDatabases`\" pulumi-lang-python=\"`list_databases`\" pulumi-lang-yaml=\"`listDatabases`\" pulumi-lang-java=\"`listDatabases`\">`list_databases`</span>. Example: `app-db`.\n","type":"string"},"organization":{"description":"Organization name slug from <span pulumi-lang-nodejs=\"`listOrganizations`\" pulumi-lang-dotnet=\"`ListOrganizations`\" pulumi-lang-go=\"`listOrganizations`\" pulumi-lang-python=\"`list_organizations`\" pulumi-lang-yaml=\"`listOrganizations`\" pulumi-lang-java=\"`listOrganizations`\">`list_organizations`</span>. Example: <span pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\">`acme`</span>.\n","type":"string"}},"required":["database","organization"],"type":"object"},"outputs":{"description":"A collection of values returned by getPostgresBackupPolicies.\n","properties":{"database":{"description":"Database name slug from <span pulumi-lang-nodejs=\"`listDatabases`\" pulumi-lang-dotnet=\"`ListDatabases`\" pulumi-lang-go=\"`listDatabases`\" pulumi-lang-python=\"`list_databases`\" pulumi-lang-yaml=\"`listDatabases`\" pulumi-lang-java=\"`listDatabases`\">`list_databases`</span>. Example: `app-db`.\n","type":"string"},"datas":{"items":{"$ref":"#/types/planetscale:index%2FgetPostgresBackupPoliciesData:getPostgresBackupPoliciesData"},"type":"array"},"id":{"description":"The provider-assigned unique ID for this managed resource.","type":"string"},"organization":{"description":"Organization name slug from <span pulumi-lang-nodejs=\"`listOrganizations`\" pulumi-lang-dotnet=\"`ListOrganizations`\" pulumi-lang-go=\"`listOrganizations`\" pulumi-lang-python=\"`list_organizations`\" pulumi-lang-yaml=\"`listOrganizations`\" pulumi-lang-java=\"`listOrganizations`\">`list_organizations`</span>. Example: <span pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\">`acme`</span>.\n","type":"string"}},"required":["database","datas","id","organization"],"type":"object"}},"planetscale:index/getPostgresBackupPolicy:getPostgresBackupPolicy":{"description":"PostgresBackupPolicy DataSource\n\n## Example Usage\n\n<!--Start PulumiCodeChooser -->\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as planetscale from \"@pulumi/planetscale\";\n\nconst myPostgresbackuppolicy = planetscale.getPostgresBackupPolicy({\n    database: \"...my_database...\",\n    id: \"...my_id...\",\n    organization: \"...my_organization...\",\n});\n```\n```python\nimport pulumi\nimport pulumi_planetscale as planetscale\n\nmy_postgresbackuppolicy = planetscale.get_postgres_backup_policy(database=\"...my_database...\",\n    id=\"...my_id...\",\n    organization=\"...my_organization...\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Planetscale = Pulumi.Planetscale;\n\nreturn await Deployment.RunAsync(() => \n{\n    var myPostgresbackuppolicy = Planetscale.GetPostgresBackupPolicy.Invoke(new()\n    {\n        Database = \"...my_database...\",\n        Id = \"...my_id...\",\n        Organization = \"...my_organization...\",\n    });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-terraform-provider/sdks/go/planetscale/planetscale\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := planetscale.LookupPostgresBackupPolicy(ctx, &planetscale.LookupPostgresBackupPolicyArgs{\n\t\t\tDatabase:     \"...my_database...\",\n\t\t\tId:           \"...my_id...\",\n\t\t\tOrganization: \"...my_organization...\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.planetscale.PlanetscaleFunctions;\nimport com.pulumi.planetscale.inputs.GetPostgresBackupPolicyArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n    public static void main(String[] args) {\n        Pulumi.run(App::stack);\n    }\n\n    public static void stack(Context ctx) {\n        final var myPostgresbackuppolicy = PlanetscaleFunctions.getPostgresBackupPolicy(GetPostgresBackupPolicyArgs.builder()\n            .database(\"...my_database...\")\n            .id(\"...my_id...\")\n            .organization(\"...my_organization...\")\n            .build());\n\n    }\n}\n```\n```yaml\nvariables:\n  myPostgresbackuppolicy:\n    fn::invoke:\n      function: planetscale:getPostgresBackupPolicy\n      arguments:\n        database: '...my_database...'\n        id: '...my_id...'\n        organization: '...my_organization...'\n```\n<!--End PulumiCodeChooser -->\n","inputs":{"description":"A collection of arguments for invoking getPostgresBackupPolicy.\n","properties":{"database":{"description":"Database name slug from <span pulumi-lang-nodejs=\"`listDatabases`\" pulumi-lang-dotnet=\"`ListDatabases`\" pulumi-lang-go=\"`listDatabases`\" pulumi-lang-python=\"`list_databases`\" pulumi-lang-yaml=\"`listDatabases`\" pulumi-lang-java=\"`listDatabases`\">`list_databases`</span>. Example: `app-db`.\n","type":"string"},"id":{"description":"The ID of the backup policy\n","type":"string"},"organization":{"description":"Organization name slug from <span pulumi-lang-nodejs=\"`listOrganizations`\" pulumi-lang-dotnet=\"`ListOrganizations`\" pulumi-lang-go=\"`listOrganizations`\" pulumi-lang-python=\"`list_organizations`\" pulumi-lang-yaml=\"`listOrganizations`\" pulumi-lang-java=\"`listOrganizations`\">`list_organizations`</span>. Example: <span pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\">`acme`</span>.\n","type":"string"}},"required":["database","id","organization"],"type":"object"},"outputs":{"description":"A collection of values returned by getPostgresBackupPolicy.\n","properties":{"database":{"description":"Database name slug from <span pulumi-lang-nodejs=\"`listDatabases`\" pulumi-lang-dotnet=\"`ListDatabases`\" pulumi-lang-go=\"`listDatabases`\" pulumi-lang-python=\"`list_databases`\" pulumi-lang-yaml=\"`listDatabases`\" pulumi-lang-java=\"`listDatabases`\">`list_databases`</span>. Example: `app-db`.\n","type":"string"},"displayName":{"description":"The display name of the backup policy\n","type":"string"},"frequencyUnit":{"description":"The unit for the frequency of the backup policy\n","type":"string"},"frequencyValue":{"description":"A number value for the frequency of the backup policy\n","type":"number"},"id":{"description":"The ID of the backup policy\n","type":"string"},"name":{"description":"The name of the backup policy\n","type":"string"},"organization":{"description":"Organization name slug from <span pulumi-lang-nodejs=\"`listOrganizations`\" pulumi-lang-dotnet=\"`ListOrganizations`\" pulumi-lang-go=\"`listOrganizations`\" pulumi-lang-python=\"`list_organizations`\" pulumi-lang-yaml=\"`listOrganizations`\" pulumi-lang-java=\"`listOrganizations`\">`list_organizations`</span>. Example: <span pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\">`acme`</span>.\n","type":"string"},"retentionUnit":{"description":"The unit for the retention period of the backup policy\n","type":"string"},"retentionValue":{"description":"A number value for the retention period of the backup policy\n","type":"number"},"scheduleDay":{"description":"Day of the week that the backup is scheduled. 0 is Sunday, 6 is Saturday\n","type":"number"},"scheduleTime":{"description":"The time of day that the backup is scheduled, in HH:MM format\n","type":"string"},"scheduleWeek":{"description":"Week of the month that the backup is scheduled. 0 is the first week, 3 is the fourth week\n","type":"number"},"target":{"description":"Whether the policy is for production or development branches\n","type":"string"}},"required":["database","displayName","frequencyUnit","frequencyValue","id","name","organization","retentionUnit","retentionValue","scheduleDay","scheduleTime","scheduleWeek","target"],"type":"object"}},"planetscale:index/getPostgresBouncer:getPostgresBouncer":{"description":"PostgresBouncer DataSource\n\n## Example Usage\n\n<!--Start PulumiCodeChooser -->\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as planetscale from \"@pulumi/planetscale\";\n\nconst myPostgresbouncer = planetscale.getPostgresBouncer({\n    branch: \"...my_branch...\",\n    database: \"...my_database...\",\n    name: \"...my_name...\",\n    organization: \"...my_organization...\",\n});\n```\n```python\nimport pulumi\nimport pulumi_planetscale as planetscale\n\nmy_postgresbouncer = planetscale.get_postgres_bouncer(branch=\"...my_branch...\",\n    database=\"...my_database...\",\n    name=\"...my_name...\",\n    organization=\"...my_organization...\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Planetscale = Pulumi.Planetscale;\n\nreturn await Deployment.RunAsync(() => \n{\n    var myPostgresbouncer = Planetscale.GetPostgresBouncer.Invoke(new()\n    {\n        Branch = \"...my_branch...\",\n        Database = \"...my_database...\",\n        Name = \"...my_name...\",\n        Organization = \"...my_organization...\",\n    });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-terraform-provider/sdks/go/planetscale/planetscale\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := planetscale.LookupPostgresBouncer(ctx, &planetscale.LookupPostgresBouncerArgs{\n\t\t\tBranch:       \"...my_branch...\",\n\t\t\tDatabase:     \"...my_database...\",\n\t\t\tName:         \"...my_name...\",\n\t\t\tOrganization: \"...my_organization...\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.planetscale.PlanetscaleFunctions;\nimport com.pulumi.planetscale.inputs.GetPostgresBouncerArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n    public static void main(String[] args) {\n        Pulumi.run(App::stack);\n    }\n\n    public static void stack(Context ctx) {\n        final var myPostgresbouncer = PlanetscaleFunctions.getPostgresBouncer(GetPostgresBouncerArgs.builder()\n            .branch(\"...my_branch...\")\n            .database(\"...my_database...\")\n            .name(\"...my_name...\")\n            .organization(\"...my_organization...\")\n            .build());\n\n    }\n}\n```\n```yaml\nvariables:\n  myPostgresbouncer:\n    fn::invoke:\n      function: planetscale:getPostgresBouncer\n      arguments:\n        branch: '...my_branch...'\n        database: '...my_database...'\n        name: '...my_name...'\n        organization: '...my_organization...'\n```\n<!--End PulumiCodeChooser -->\n","inputs":{"description":"A collection of arguments for invoking getPostgresBouncer.\n","properties":{"branch":{"description":"Branch name from <span pulumi-lang-nodejs=\"`listBranches`\" pulumi-lang-dotnet=\"`ListBranches`\" pulumi-lang-go=\"`listBranches`\" pulumi-lang-python=\"`list_branches`\" pulumi-lang-yaml=\"`listBranches`\" pulumi-lang-java=\"`listBranches`\">`list_branches`</span>. Example: <span pulumi-lang-nodejs=\"`main`\" pulumi-lang-dotnet=\"`Main`\" pulumi-lang-go=\"`main`\" pulumi-lang-python=\"`main`\" pulumi-lang-yaml=\"`main`\" pulumi-lang-java=\"`main`\">`main`</span>.\n","type":"string"},"database":{"description":"Database name slug from <span pulumi-lang-nodejs=\"`listDatabases`\" pulumi-lang-dotnet=\"`ListDatabases`\" pulumi-lang-go=\"`listDatabases`\" pulumi-lang-python=\"`list_databases`\" pulumi-lang-yaml=\"`listDatabases`\" pulumi-lang-java=\"`listDatabases`\">`list_databases`</span>. Example: `app-db`.\n","type":"string"},"name":{"description":"The name of the bouncer\n","type":"string"},"organization":{"description":"Organization name slug from <span pulumi-lang-nodejs=\"`listOrganizations`\" pulumi-lang-dotnet=\"`ListOrganizations`\" pulumi-lang-go=\"`listOrganizations`\" pulumi-lang-python=\"`list_organizations`\" pulumi-lang-yaml=\"`listOrganizations`\" pulumi-lang-java=\"`listOrganizations`\">`list_organizations`</span>. Example: <span pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\">`acme`</span>.\n","type":"string"}},"required":["branch","database","name","organization"],"type":"object"},"outputs":{"description":"A collection of values returned by getPostgresBouncer.\n","properties":{"actor":{"$ref":"#/types/planetscale:index%2FgetPostgresBouncerActor:getPostgresBouncerActor"},"bouncerSize":{"description":"The bouncer size, e.g. `PGB_5`, `PGB_10`, `PGB_20`, `PGB_40`, `PGB_80`, or `PGB_160`. Defaults to `PGB_5`.\n","type":"string"},"branch":{"description":"Branch name from <span pulumi-lang-nodejs=\"`listBranches`\" pulumi-lang-dotnet=\"`ListBranches`\" pulumi-lang-go=\"`listBranches`\" pulumi-lang-python=\"`list_branches`\" pulumi-lang-yaml=\"`listBranches`\" pulumi-lang-java=\"`listBranches`\">`list_branches`</span>. Example: <span pulumi-lang-nodejs=\"`main`\" pulumi-lang-dotnet=\"`Main`\" pulumi-lang-go=\"`main`\" pulumi-lang-python=\"`main`\" pulumi-lang-yaml=\"`main`\" pulumi-lang-java=\"`main`\">`main`</span>.\n","type":"string"},"database":{"description":"Database name slug from <span pulumi-lang-nodejs=\"`listDatabases`\" pulumi-lang-dotnet=\"`ListDatabases`\" pulumi-lang-go=\"`listDatabases`\" pulumi-lang-python=\"`list_databases`\" pulumi-lang-yaml=\"`listDatabases`\" pulumi-lang-java=\"`listDatabases`\">`list_databases`</span>. Example: `app-db`.\n","type":"string"},"id":{"description":"The ID of the bouncer\n","type":"string"},"name":{"description":"The name of the bouncer\n","type":"string"},"organization":{"description":"Organization name slug from <span pulumi-lang-nodejs=\"`listOrganizations`\" pulumi-lang-dotnet=\"`ListOrganizations`\" pulumi-lang-go=\"`listOrganizations`\" pulumi-lang-python=\"`list_organizations`\" pulumi-lang-yaml=\"`listOrganizations`\" pulumi-lang-java=\"`listOrganizations`\">`list_organizations`</span>. Example: <span pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\">`acme`</span>.\n","type":"string"},"parameters":{"additionalProperties":{"additionalProperties":{"type":"string"},"type":"object"},"description":"PgBouncer parameter overrides, nested by namespace, e.g. { pgbouncer = { default*pool*size = \"100\" } }. Omitted parameters are reset to their defaults.\n","type":"object"},"replicasPerCell":{"description":"The number of PgBouncer instances per availability zone. Defaults to 1.\n","type":"number"},"target":{"description":"The servers the bouncer routes connections to: <span pulumi-lang-nodejs=\"`primary`\" pulumi-lang-dotnet=\"`Primary`\" pulumi-lang-go=\"`primary`\" pulumi-lang-python=\"`primary`\" pulumi-lang-yaml=\"`primary`\" pulumi-lang-java=\"`primary`\">`primary`</span>, <span pulumi-lang-nodejs=\"`replica`\" pulumi-lang-dotnet=\"`Replica`\" pulumi-lang-go=\"`replica`\" pulumi-lang-python=\"`replica`\" pulumi-lang-yaml=\"`replica`\" pulumi-lang-java=\"`replica`\">`replica`</span>, or <span pulumi-lang-nodejs=\"`replicaAzAffinity`\" pulumi-lang-dotnet=\"`ReplicaAzAffinity`\" pulumi-lang-go=\"`replicaAzAffinity`\" pulumi-lang-python=\"`replica_az_affinity`\" pulumi-lang-yaml=\"`replicaAzAffinity`\" pulumi-lang-java=\"`replicaAzAffinity`\">`replica_az_affinity`</span> (replicas in the same availability zone as the bouncer).\n","type":"string"}},"required":["actor","bouncerSize","branch","database","id","name","organization","parameters","replicasPerCell","target"],"type":"object"}},"planetscale:index/getPostgresBouncers:getPostgresBouncers":{"description":"PostgresBouncers DataSource\n\n## Example Usage\n\n<!--Start PulumiCodeChooser -->\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as planetscale from \"@pulumi/planetscale\";\n\nconst myPostgresbouncers = planetscale.getPostgresBouncers({\n    branch: \"...my_branch...\",\n    database: \"...my_database...\",\n    organization: \"...my_organization...\",\n});\n```\n```python\nimport pulumi\nimport pulumi_planetscale as planetscale\n\nmy_postgresbouncers = planetscale.get_postgres_bouncers(branch=\"...my_branch...\",\n    database=\"...my_database...\",\n    organization=\"...my_organization...\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Planetscale = Pulumi.Planetscale;\n\nreturn await Deployment.RunAsync(() => \n{\n    var myPostgresbouncers = Planetscale.GetPostgresBouncers.Invoke(new()\n    {\n        Branch = \"...my_branch...\",\n        Database = \"...my_database...\",\n        Organization = \"...my_organization...\",\n    });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-terraform-provider/sdks/go/planetscale/planetscale\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := planetscale.GetPostgresBouncers(ctx, &planetscale.GetPostgresBouncersArgs{\n\t\t\tBranch:       \"...my_branch...\",\n\t\t\tDatabase:     \"...my_database...\",\n\t\t\tOrganization: \"...my_organization...\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.planetscale.PlanetscaleFunctions;\nimport com.pulumi.planetscale.inputs.GetPostgresBouncersArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n    public static void main(String[] args) {\n        Pulumi.run(App::stack);\n    }\n\n    public static void stack(Context ctx) {\n        final var myPostgresbouncers = PlanetscaleFunctions.getPostgresBouncers(GetPostgresBouncersArgs.builder()\n            .branch(\"...my_branch...\")\n            .database(\"...my_database...\")\n            .organization(\"...my_organization...\")\n            .build());\n\n    }\n}\n```\n```yaml\nvariables:\n  myPostgresbouncers:\n    fn::invoke:\n      function: planetscale:getPostgresBouncers\n      arguments:\n        branch: '...my_branch...'\n        database: '...my_database...'\n        organization: '...my_organization...'\n```\n<!--End PulumiCodeChooser -->\n","inputs":{"description":"A collection of arguments for invoking getPostgresBouncers.\n","properties":{"branch":{"description":"Branch name from <span pulumi-lang-nodejs=\"`listBranches`\" pulumi-lang-dotnet=\"`ListBranches`\" pulumi-lang-go=\"`listBranches`\" pulumi-lang-python=\"`list_branches`\" pulumi-lang-yaml=\"`listBranches`\" pulumi-lang-java=\"`listBranches`\">`list_branches`</span>. Example: <span pulumi-lang-nodejs=\"`main`\" pulumi-lang-dotnet=\"`Main`\" pulumi-lang-go=\"`main`\" pulumi-lang-python=\"`main`\" pulumi-lang-yaml=\"`main`\" pulumi-lang-java=\"`main`\">`main`</span>.\n","type":"string"},"database":{"description":"Database name slug from <span pulumi-lang-nodejs=\"`listDatabases`\" pulumi-lang-dotnet=\"`ListDatabases`\" pulumi-lang-go=\"`listDatabases`\" pulumi-lang-python=\"`list_databases`\" pulumi-lang-yaml=\"`listDatabases`\" pulumi-lang-java=\"`listDatabases`\">`list_databases`</span>. Example: `app-db`.\n","type":"string"},"organization":{"description":"Organization name slug from <span pulumi-lang-nodejs=\"`listOrganizations`\" pulumi-lang-dotnet=\"`ListOrganizations`\" pulumi-lang-go=\"`listOrganizations`\" pulumi-lang-python=\"`list_organizations`\" pulumi-lang-yaml=\"`listOrganizations`\" pulumi-lang-java=\"`listOrganizations`\">`list_organizations`</span>. Example: <span pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\">`acme`</span>.\n","type":"string"}},"required":["branch","database","organization"],"type":"object"},"outputs":{"description":"A collection of values returned by getPostgresBouncers.\n","properties":{"branch":{"description":"Branch name from <span pulumi-lang-nodejs=\"`listBranches`\" pulumi-lang-dotnet=\"`ListBranches`\" pulumi-lang-go=\"`listBranches`\" pulumi-lang-python=\"`list_branches`\" pulumi-lang-yaml=\"`listBranches`\" pulumi-lang-java=\"`listBranches`\">`list_branches`</span>. Example: <span pulumi-lang-nodejs=\"`main`\" pulumi-lang-dotnet=\"`Main`\" pulumi-lang-go=\"`main`\" pulumi-lang-python=\"`main`\" pulumi-lang-yaml=\"`main`\" pulumi-lang-java=\"`main`\">`main`</span>.\n","type":"string"},"database":{"description":"Database name slug from <span pulumi-lang-nodejs=\"`listDatabases`\" pulumi-lang-dotnet=\"`ListDatabases`\" pulumi-lang-go=\"`listDatabases`\" pulumi-lang-python=\"`list_databases`\" pulumi-lang-yaml=\"`listDatabases`\" pulumi-lang-java=\"`listDatabases`\">`list_databases`</span>. Example: `app-db`.\n","type":"string"},"datas":{"items":{"$ref":"#/types/planetscale:index%2FgetPostgresBouncersData:getPostgresBouncersData"},"type":"array"},"id":{"description":"The provider-assigned unique ID for this managed resource.","type":"string"},"organization":{"description":"Organization name slug from <span pulumi-lang-nodejs=\"`listOrganizations`\" pulumi-lang-dotnet=\"`ListOrganizations`\" pulumi-lang-go=\"`listOrganizations`\" pulumi-lang-python=\"`list_organizations`\" pulumi-lang-yaml=\"`listOrganizations`\" pulumi-lang-java=\"`listOrganizations`\">`list_organizations`</span>. Example: <span pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\">`acme`</span>.\n","type":"string"}},"required":["branch","database","datas","id","organization"],"type":"object"}},"planetscale:index/getPostgresBranch:getPostgresBranch":{"description":"PostgresBranch DataSource\n\n## Example Usage\n\n<!--Start PulumiCodeChooser -->\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as planetscale from \"@pulumi/planetscale\";\n\nconst myPostgresbranch = planetscale.getPostgresBranch({\n    database: \"...my_database...\",\n    id: \"...my_id...\",\n    organization: \"...my_organization...\",\n});\n```\n```python\nimport pulumi\nimport pulumi_planetscale as planetscale\n\nmy_postgresbranch = planetscale.get_postgres_branch(database=\"...my_database...\",\n    id=\"...my_id...\",\n    organization=\"...my_organization...\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Planetscale = Pulumi.Planetscale;\n\nreturn await Deployment.RunAsync(() => \n{\n    var myPostgresbranch = Planetscale.GetPostgresBranch.Invoke(new()\n    {\n        Database = \"...my_database...\",\n        Id = \"...my_id...\",\n        Organization = \"...my_organization...\",\n    });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-terraform-provider/sdks/go/planetscale/planetscale\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := planetscale.LookupPostgresBranch(ctx, &planetscale.LookupPostgresBranchArgs{\n\t\t\tDatabase:     \"...my_database...\",\n\t\t\tId:           \"...my_id...\",\n\t\t\tOrganization: \"...my_organization...\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.planetscale.PlanetscaleFunctions;\nimport com.pulumi.planetscale.inputs.GetPostgresBranchArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n    public static void main(String[] args) {\n        Pulumi.run(App::stack);\n    }\n\n    public static void stack(Context ctx) {\n        final var myPostgresbranch = PlanetscaleFunctions.getPostgresBranch(GetPostgresBranchArgs.builder()\n            .database(\"...my_database...\")\n            .id(\"...my_id...\")\n            .organization(\"...my_organization...\")\n            .build());\n\n    }\n}\n```\n```yaml\nvariables:\n  myPostgresbranch:\n    fn::invoke:\n      function: planetscale:getPostgresBranch\n      arguments:\n        database: '...my_database...'\n        id: '...my_id...'\n        organization: '...my_organization...'\n```\n<!--End PulumiCodeChooser -->\n","inputs":{"description":"A collection of arguments for invoking getPostgresBranch.\n","properties":{"database":{"description":"Database name slug from <span pulumi-lang-nodejs=\"`listDatabases`\" pulumi-lang-dotnet=\"`ListDatabases`\" pulumi-lang-go=\"`listDatabases`\" pulumi-lang-python=\"`list_databases`\" pulumi-lang-yaml=\"`listDatabases`\" pulumi-lang-java=\"`listDatabases`\">`list_databases`</span>. Example: `app-db`.\n","type":"string"},"id":{"description":"The ID of the branch\n","type":"string"},"organization":{"description":"Organization name slug from <span pulumi-lang-nodejs=\"`listOrganizations`\" pulumi-lang-dotnet=\"`ListOrganizations`\" pulumi-lang-go=\"`listOrganizations`\" pulumi-lang-python=\"`list_organizations`\" pulumi-lang-yaml=\"`listOrganizations`\" pulumi-lang-java=\"`listOrganizations`\">`list_organizations`</span>. Example: <span pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\">`acme`</span>.\n","type":"string"}},"required":["database","id","organization"],"type":"object"},"outputs":{"description":"A collection of values returned by getPostgresBranch.\n","properties":{"actor":{"$ref":"#/types/planetscale:index%2FgetPostgresBranchActor:getPostgresBranchActor"},"clusterSize":{"description":"The SKU representing the branch's cluster size\n","type":"string"},"database":{"description":"Database name slug from <span pulumi-lang-nodejs=\"`listDatabases`\" pulumi-lang-dotnet=\"`ListDatabases`\" pulumi-lang-go=\"`listDatabases`\" pulumi-lang-python=\"`list_databases`\" pulumi-lang-yaml=\"`listDatabases`\" pulumi-lang-java=\"`listDatabases`\">`list_databases`</span>. Example: `app-db`.\n","type":"string"},"deletionProtected":{"description":"Whether deletion protection is enabled for the branch\n","type":"boolean"},"htmlUrl":{"description":"Planetscale app URL for the branch\n","type":"string"},"id":{"description":"The ID of the branch\n","type":"string"},"name":{"description":"The name of the branch\n","type":"string"},"organization":{"description":"Organization name slug from <span pulumi-lang-nodejs=\"`listOrganizations`\" pulumi-lang-dotnet=\"`ListOrganizations`\" pulumi-lang-go=\"`listOrganizations`\" pulumi-lang-python=\"`list_organizations`\" pulumi-lang-yaml=\"`listOrganizations`\" pulumi-lang-java=\"`listOrganizations`\">`list_organizations`</span>. Example: <span pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\">`acme`</span>.\n","type":"string"},"parameters":{"additionalProperties":{"additionalProperties":{"type":"string"},"type":"object"},"description":"Postgres parameter overrides, nested by namespace (pgconf, pgbouncer, patroni), e.g. { pgconf = {<span pulumi-lang-nodejs=\" maxConnections \" pulumi-lang-dotnet=\" MaxConnections \" pulumi-lang-go=\" maxConnections \" pulumi-lang-python=\" max_connections \" pulumi-lang-yaml=\" maxConnections \" pulumi-lang-java=\" maxConnections \"> max_connections </span>= \"200\" } }. Omitted parameters are reset to their defaults.\n","type":"object"},"parentBranch":{"description":"The name of the parent branch from which the branch was created\n","type":"string"},"ready":{"description":"Whether or not the branch is ready to serve queries\n","type":"boolean"},"region":{"description":"The region slug where the branch is hosted.\n","type":"string"},"regionData":{"$ref":"#/types/planetscale:index%2FgetPostgresBranchRegionData:getPostgresBranchRegionData"},"replicas":{"description":"The number of replicas for the branch\n","type":"number"},"state":{"description":"The current state of the branch\n","type":"string"},"storage":{"$ref":"#/types/planetscale:index%2FgetPostgresBranchStorage:getPostgresBranchStorage","description":"Storage configuration for non-Metal branches. These values are null for Metal cluster sizes.\n"},"url":{"description":"Planetscale API URL for the branch\n","type":"string"}},"required":["actor","clusterSize","database","deletionProtected","htmlUrl","id","name","organization","parameters","parentBranch","ready","region","regionData","replicas","state","storage","url"],"type":"object"}},"planetscale:index/getPostgresBranchBackup:getPostgresBranchBackup":{"description":"PostgresBranchBackup DataSource\n\n## Example Usage\n\n<!--Start PulumiCodeChooser -->\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as planetscale from \"@pulumi/planetscale\";\n\nconst myPostgresbranchbackup = planetscale.getPostgresBranchBackup({\n    branch: \"...my_branch...\",\n    database: \"...my_database...\",\n    id: \"...my_id...\",\n    organization: \"...my_organization...\",\n});\n```\n```python\nimport pulumi\nimport pulumi_planetscale as planetscale\n\nmy_postgresbranchbackup = planetscale.get_postgres_branch_backup(branch=\"...my_branch...\",\n    database=\"...my_database...\",\n    id=\"...my_id...\",\n    organization=\"...my_organization...\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Planetscale = Pulumi.Planetscale;\n\nreturn await Deployment.RunAsync(() => \n{\n    var myPostgresbranchbackup = Planetscale.GetPostgresBranchBackup.Invoke(new()\n    {\n        Branch = \"...my_branch...\",\n        Database = \"...my_database...\",\n        Id = \"...my_id...\",\n        Organization = \"...my_organization...\",\n    });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-terraform-provider/sdks/go/planetscale/planetscale\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := planetscale.LookupPostgresBranchBackup(ctx, &planetscale.LookupPostgresBranchBackupArgs{\n\t\t\tBranch:       \"...my_branch...\",\n\t\t\tDatabase:     \"...my_database...\",\n\t\t\tId:           \"...my_id...\",\n\t\t\tOrganization: \"...my_organization...\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.planetscale.PlanetscaleFunctions;\nimport com.pulumi.planetscale.inputs.GetPostgresBranchBackupArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n    public static void main(String[] args) {\n        Pulumi.run(App::stack);\n    }\n\n    public static void stack(Context ctx) {\n        final var myPostgresbranchbackup = PlanetscaleFunctions.getPostgresBranchBackup(GetPostgresBranchBackupArgs.builder()\n            .branch(\"...my_branch...\")\n            .database(\"...my_database...\")\n            .id(\"...my_id...\")\n            .organization(\"...my_organization...\")\n            .build());\n\n    }\n}\n```\n```yaml\nvariables:\n  myPostgresbranchbackup:\n    fn::invoke:\n      function: planetscale:getPostgresBranchBackup\n      arguments:\n        branch: '...my_branch...'\n        database: '...my_database...'\n        id: '...my_id...'\n        organization: '...my_organization...'\n```\n<!--End PulumiCodeChooser -->\n","inputs":{"description":"A collection of arguments for invoking getPostgresBranchBackup.\n","properties":{"branch":{"description":"The name of the branch\n","type":"string"},"database":{"description":"The name of the database the branch belongs to\n","type":"string"},"id":{"description":"The ID of the backup\n","type":"string"},"organization":{"description":"The name of the organization the branch belongs to\n","type":"string"}},"required":["branch","database","id","organization"],"type":"object"},"outputs":{"description":"A collection of values returned by getPostgresBranchBackup.\n","properties":{"actor":{"$ref":"#/types/planetscale:index%2FgetPostgresBranchBackupActor:getPostgresBranchBackupActor"},"backupPolicy":{"$ref":"#/types/planetscale:index%2FgetPostgresBranchBackupBackupPolicy:getPostgresBranchBackupBackupPolicy"},"branch":{"description":"The name of the branch\n","type":"string"},"completedAt":{"description":"When the backup completed\n","type":"string"},"database":{"description":"The name of the database the branch belongs to\n","type":"string"},"databaseBranch":{"$ref":"#/types/planetscale:index%2FgetPostgresBranchBackupDatabaseBranch:getPostgresBranchBackupDatabaseBranch"},"deletedAt":{"description":"When the backup was deleted\n","type":"string"},"estimatedStorageCost":{"description":"The estimated storage cost of the backup\n","type":"number"},"expiresAt":{"description":"When the backup expires\n","type":"string"},"id":{"description":"The ID of the backup\n","type":"string"},"name":{"description":"The name of the backup\n","type":"string"},"organization":{"description":"The name of the organization the branch belongs to\n","type":"string"},"protected":{"description":"Whether or not the backup is protected from deletion\n","type":"boolean"},"pvcSize":{"description":"Size of the PVC used for the backup\n","type":"number"},"size":{"description":"The size of the backup in bytes\n","type":"number"},"startedAt":{"description":"When the backup started\n","type":"string"},"state":{"description":"The current state of the backup\n","type":"string"},"uncompressedSize":{"description":"The uncompressed (logical) size of the backup in bytes\n","type":"number"}},"required":["actor","backupPolicy","branch","completedAt","database","databaseBranch","deletedAt","estimatedStorageCost","expiresAt","id","name","organization","protected","pvcSize","size","startedAt","state","uncompressedSize"],"type":"object"}},"planetscale:index/getPostgresBranchBackups:getPostgresBranchBackups":{"description":"PostgresBranchBackups DataSource\n\n## Example Usage\n\n<!--Start PulumiCodeChooser -->\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as planetscale from \"@pulumi/planetscale\";\n\nconst myPostgresbranchbackups = planetscale.getPostgresBranchBackups({\n    all: false,\n    branch: \"...my_branch...\",\n    database: \"...my_database...\",\n    from: \"...my_from...\",\n    organization: \"...my_organization...\",\n    policy: \"...my_policy...\",\n    production: true,\n    runningAt: \"...my_running_at...\",\n    state: \"ignored\",\n    to: \"...my_to...\",\n});\n```\n```python\nimport pulumi\nimport pulumi_planetscale as planetscale\n\nmy_postgresbranchbackups = planetscale.get_postgres_branch_backups(all=False,\n    branch=\"...my_branch...\",\n    database=\"...my_database...\",\n    from_=\"...my_from...\",\n    organization=\"...my_organization...\",\n    policy=\"...my_policy...\",\n    production=True,\n    running_at=\"...my_running_at...\",\n    state=\"ignored\",\n    to=\"...my_to...\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Planetscale = Pulumi.Planetscale;\n\nreturn await Deployment.RunAsync(() => \n{\n    var myPostgresbranchbackups = Planetscale.GetPostgresBranchBackups.Invoke(new()\n    {\n        All = false,\n        Branch = \"...my_branch...\",\n        Database = \"...my_database...\",\n        From = \"...my_from...\",\n        Organization = \"...my_organization...\",\n        Policy = \"...my_policy...\",\n        Production = true,\n        RunningAt = \"...my_running_at...\",\n        State = \"ignored\",\n        To = \"...my_to...\",\n    });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-terraform-provider/sdks/go/planetscale/planetscale\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := planetscale.GetPostgresBranchBackups(ctx, &planetscale.GetPostgresBranchBackupsArgs{\n\t\t\tAll:          pulumi.BoolRef(false),\n\t\t\tBranch:       \"...my_branch...\",\n\t\t\tDatabase:     \"...my_database...\",\n\t\t\tFrom:         pulumi.StringRef(\"...my_from...\"),\n\t\t\tOrganization: \"...my_organization...\",\n\t\t\tPolicy:       pulumi.StringRef(\"...my_policy...\"),\n\t\t\tProduction:   pulumi.BoolRef(true),\n\t\t\tRunningAt:    pulumi.StringRef(\"...my_running_at...\"),\n\t\t\tState:        pulumi.StringRef(\"ignored\"),\n\t\t\tTo:           pulumi.StringRef(\"...my_to...\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.planetscale.PlanetscaleFunctions;\nimport com.pulumi.planetscale.inputs.GetPostgresBranchBackupsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n    public static void main(String[] args) {\n        Pulumi.run(App::stack);\n    }\n\n    public static void stack(Context ctx) {\n        final var myPostgresbranchbackups = PlanetscaleFunctions.getPostgresBranchBackups(GetPostgresBranchBackupsArgs.builder()\n            .all(false)\n            .branch(\"...my_branch...\")\n            .database(\"...my_database...\")\n            .from(\"...my_from...\")\n            .organization(\"...my_organization...\")\n            .policy(\"...my_policy...\")\n            .production(true)\n            .runningAt(\"...my_running_at...\")\n            .state(\"ignored\")\n            .to(\"...my_to...\")\n            .build());\n\n    }\n}\n```\n```yaml\nvariables:\n  myPostgresbranchbackups:\n    fn::invoke:\n      function: planetscale:getPostgresBranchBackups\n      arguments:\n        all: false\n        branch: '...my_branch...'\n        database: '...my_database...'\n        from: '...my_from...'\n        organization: '...my_organization...'\n        policy: '...my_policy...'\n        production: true\n        runningAt: '...my_running_at...'\n        state: ignored\n        to: '...my_to...'\n```\n<!--End PulumiCodeChooser -->\n","inputs":{"description":"A collection of arguments for invoking getPostgresBranchBackups.\n","properties":{"all":{"description":"Whether to include all backups, including deleted ones\n","type":"boolean"},"branch":{"description":"The name of the branch\n","type":"string"},"database":{"description":"The name of the database the branch belongs to\n","type":"string"},"from":{"description":"Filter backups started after this date (e.g. 2023-01-01T00:00:00Z)\n","type":"string"},"organization":{"description":"The name of the organization the branch belongs to\n","type":"string"},"policy":{"description":"Filter backups by backup policy ID\n","type":"string"},"production":{"description":"Filter backups by production branch\n","type":"boolean"},"runningAt":{"description":"Filter backups that are running during a specific time (e.g. 2023-01-01T00:00:00Z..2023-01-01T23:59:59Z)\n","type":"string"},"state":{"description":"Filter backups by state. must be one of [\"pending\", \"running\", \"success\", \"failed\", \"canceled\", \"ignored\"]\n","type":"string"},"to":{"description":"Filter backups started before this date (e.g. 2023-01-31T23:59:59Z)\n","type":"string"}},"required":["branch","database","organization"],"type":"object"},"outputs":{"description":"A collection of values returned by getPostgresBranchBackups.\n","properties":{"all":{"description":"Whether to include all backups, including deleted ones\n","type":"boolean"},"branch":{"description":"The name of the branch\n","type":"string"},"database":{"description":"The name of the database the branch belongs to\n","type":"string"},"datas":{"items":{"$ref":"#/types/planetscale:index%2FgetPostgresBranchBackupsData:getPostgresBranchBackupsData"},"type":"array"},"from":{"description":"Filter backups started after this date (e.g. 2023-01-01T00:00:00Z)\n","type":"string"},"id":{"description":"The provider-assigned unique ID for this managed resource.","type":"string"},"organization":{"description":"The name of the organization the branch belongs to\n","type":"string"},"policy":{"description":"Filter backups by backup policy ID\n","type":"string"},"production":{"description":"Filter backups by production branch\n","type":"boolean"},"runningAt":{"description":"Filter backups that are running during a specific time (e.g. 2023-01-01T00:00:00Z..2023-01-01T23:59:59Z)\n","type":"string"},"state":{"description":"Filter backups by state. must be one of [\"pending\", \"running\", \"success\", \"failed\", \"canceled\", \"ignored\"]\n","type":"string"},"to":{"description":"Filter backups started before this date (e.g. 2023-01-31T23:59:59Z)\n","type":"string"}},"required":["branch","database","datas","id","organization"],"type":"object"}},"planetscale:index/getPostgresBranchMaintenanceWindow:getPostgresBranchMaintenanceWindow":{"description":"PostgresBranchMaintenanceWindow DataSource\n\n## Example Usage\n\n<!--Start PulumiCodeChooser -->\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as planetscale from \"@pulumi/planetscale\";\n\nconst myPostgresbranchmaintenancewindow = planetscale.getPostgresBranchMaintenanceWindow({\n    branch: \"...my_branch...\",\n    database: \"...my_database...\",\n    organization: \"...my_organization...\",\n});\n```\n```python\nimport pulumi\nimport pulumi_planetscale as planetscale\n\nmy_postgresbranchmaintenancewindow = planetscale.get_postgres_branch_maintenance_window(branch=\"...my_branch...\",\n    database=\"...my_database...\",\n    organization=\"...my_organization...\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Planetscale = Pulumi.Planetscale;\n\nreturn await Deployment.RunAsync(() => \n{\n    var myPostgresbranchmaintenancewindow = Planetscale.GetPostgresBranchMaintenanceWindow.Invoke(new()\n    {\n        Branch = \"...my_branch...\",\n        Database = \"...my_database...\",\n        Organization = \"...my_organization...\",\n    });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-terraform-provider/sdks/go/planetscale/planetscale\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := planetscale.LookupPostgresBranchMaintenanceWindow(ctx, &planetscale.LookupPostgresBranchMaintenanceWindowArgs{\n\t\t\tBranch:       \"...my_branch...\",\n\t\t\tDatabase:     \"...my_database...\",\n\t\t\tOrganization: \"...my_organization...\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.planetscale.PlanetscaleFunctions;\nimport com.pulumi.planetscale.inputs.GetPostgresBranchMaintenanceWindowArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n    public static void main(String[] args) {\n        Pulumi.run(App::stack);\n    }\n\n    public static void stack(Context ctx) {\n        final var myPostgresbranchmaintenancewindow = PlanetscaleFunctions.getPostgresBranchMaintenanceWindow(GetPostgresBranchMaintenanceWindowArgs.builder()\n            .branch(\"...my_branch...\")\n            .database(\"...my_database...\")\n            .organization(\"...my_organization...\")\n            .build());\n\n    }\n}\n```\n```yaml\nvariables:\n  myPostgresbranchmaintenancewindow:\n    fn::invoke:\n      function: planetscale:getPostgresBranchMaintenanceWindow\n      arguments:\n        branch: '...my_branch...'\n        database: '...my_database...'\n        organization: '...my_organization...'\n```\n<!--End PulumiCodeChooser -->\n","inputs":{"description":"A collection of arguments for invoking getPostgresBranchMaintenanceWindow.\n","properties":{"branch":{"description":"Branch name from <span pulumi-lang-nodejs=\"`listBranches`\" pulumi-lang-dotnet=\"`ListBranches`\" pulumi-lang-go=\"`listBranches`\" pulumi-lang-python=\"`list_branches`\" pulumi-lang-yaml=\"`listBranches`\" pulumi-lang-java=\"`listBranches`\">`list_branches`</span>. Example: <span pulumi-lang-nodejs=\"`main`\" pulumi-lang-dotnet=\"`Main`\" pulumi-lang-go=\"`main`\" pulumi-lang-python=\"`main`\" pulumi-lang-yaml=\"`main`\" pulumi-lang-java=\"`main`\">`main`</span>.\n","type":"string"},"database":{"description":"Database name slug from <span pulumi-lang-nodejs=\"`listDatabases`\" pulumi-lang-dotnet=\"`ListDatabases`\" pulumi-lang-go=\"`listDatabases`\" pulumi-lang-python=\"`list_databases`\" pulumi-lang-yaml=\"`listDatabases`\" pulumi-lang-java=\"`listDatabases`\">`list_databases`</span>. Example: `app-db`.\n","type":"string"},"organization":{"description":"Organization name slug from <span pulumi-lang-nodejs=\"`listOrganizations`\" pulumi-lang-dotnet=\"`ListOrganizations`\" pulumi-lang-go=\"`listOrganizations`\" pulumi-lang-python=\"`list_organizations`\" pulumi-lang-yaml=\"`listOrganizations`\" pulumi-lang-java=\"`listOrganizations`\">`list_organizations`</span>. Example: <span pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\">`acme`</span>.\n","type":"string"}},"required":["branch","database","organization"],"type":"object"},"outputs":{"description":"A collection of values returned by getPostgresBranchMaintenanceWindow.\n","properties":{"branch":{"description":"Branch name from <span pulumi-lang-nodejs=\"`listBranches`\" pulumi-lang-dotnet=\"`ListBranches`\" pulumi-lang-go=\"`listBranches`\" pulumi-lang-python=\"`list_branches`\" pulumi-lang-yaml=\"`listBranches`\" pulumi-lang-java=\"`listBranches`\">`list_branches`</span>. Example: <span pulumi-lang-nodejs=\"`main`\" pulumi-lang-dotnet=\"`Main`\" pulumi-lang-go=\"`main`\" pulumi-lang-python=\"`main`\" pulumi-lang-yaml=\"`main`\" pulumi-lang-java=\"`main`\">`main`</span>.\n","type":"string"},"database":{"description":"Database name slug from <span pulumi-lang-nodejs=\"`listDatabases`\" pulumi-lang-dotnet=\"`ListDatabases`\" pulumi-lang-go=\"`listDatabases`\" pulumi-lang-python=\"`list_databases`\" pulumi-lang-yaml=\"`listDatabases`\" pulumi-lang-java=\"`listDatabases`\">`list_databases`</span>. Example: `app-db`.\n","type":"string"},"day":{"description":"Day of the week (0 = Sunday, 6 = Saturday, 7 = every day)\n","type":"number"},"duration":{"description":"The duration of the maintenance window in hours\n","type":"number"},"hour":{"description":"Hour of the day in UTC (0-23)\n","type":"number"},"id":{"description":"The ID of the maintenance schedule\n","type":"string"},"organization":{"description":"Organization name slug from <span pulumi-lang-nodejs=\"`listOrganizations`\" pulumi-lang-dotnet=\"`ListOrganizations`\" pulumi-lang-go=\"`listOrganizations`\" pulumi-lang-python=\"`list_organizations`\" pulumi-lang-yaml=\"`listOrganizations`\" pulumi-lang-java=\"`listOrganizations`\">`list_organizations`</span>. Example: <span pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\">`acme`</span>.\n","type":"string"}},"required":["branch","database","day","duration","hour","id","organization"],"type":"object"}},"planetscale:index/getPostgresBranchRole:getPostgresBranchRole":{"description":"PostgresBranchRole DataSource\n\n## Example Usage\n\n<!--Start PulumiCodeChooser -->\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as planetscale from \"@pulumi/planetscale\";\n\nconst myPostgresbranchrole = planetscale.getPostgresBranchRole({\n    branch: \"...my_branch...\",\n    database: \"...my_database...\",\n    id: \"...my_id...\",\n    organization: \"...my_organization...\",\n});\n```\n```python\nimport pulumi\nimport pulumi_planetscale as planetscale\n\nmy_postgresbranchrole = planetscale.get_postgres_branch_role(branch=\"...my_branch...\",\n    database=\"...my_database...\",\n    id=\"...my_id...\",\n    organization=\"...my_organization...\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Planetscale = Pulumi.Planetscale;\n\nreturn await Deployment.RunAsync(() => \n{\n    var myPostgresbranchrole = Planetscale.GetPostgresBranchRole.Invoke(new()\n    {\n        Branch = \"...my_branch...\",\n        Database = \"...my_database...\",\n        Id = \"...my_id...\",\n        Organization = \"...my_organization...\",\n    });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-terraform-provider/sdks/go/planetscale/planetscale\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := planetscale.LookupPostgresBranchRole(ctx, &planetscale.LookupPostgresBranchRoleArgs{\n\t\t\tBranch:       \"...my_branch...\",\n\t\t\tDatabase:     \"...my_database...\",\n\t\t\tId:           \"...my_id...\",\n\t\t\tOrganization: \"...my_organization...\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.planetscale.PlanetscaleFunctions;\nimport com.pulumi.planetscale.inputs.GetPostgresBranchRoleArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n    public static void main(String[] args) {\n        Pulumi.run(App::stack);\n    }\n\n    public static void stack(Context ctx) {\n        final var myPostgresbranchrole = PlanetscaleFunctions.getPostgresBranchRole(GetPostgresBranchRoleArgs.builder()\n            .branch(\"...my_branch...\")\n            .database(\"...my_database...\")\n            .id(\"...my_id...\")\n            .organization(\"...my_organization...\")\n            .build());\n\n    }\n}\n```\n```yaml\nvariables:\n  myPostgresbranchrole:\n    fn::invoke:\n      function: planetscale:getPostgresBranchRole\n      arguments:\n        branch: '...my_branch...'\n        database: '...my_database...'\n        id: '...my_id...'\n        organization: '...my_organization...'\n```\n<!--End PulumiCodeChooser -->\n","inputs":{"description":"A collection of arguments for invoking getPostgresBranchRole.\n","properties":{"branch":{"description":"Branch name from <span pulumi-lang-nodejs=\"`listBranches`\" pulumi-lang-dotnet=\"`ListBranches`\" pulumi-lang-go=\"`listBranches`\" pulumi-lang-python=\"`list_branches`\" pulumi-lang-yaml=\"`listBranches`\" pulumi-lang-java=\"`listBranches`\">`list_branches`</span>. Example: <span pulumi-lang-nodejs=\"`main`\" pulumi-lang-dotnet=\"`Main`\" pulumi-lang-go=\"`main`\" pulumi-lang-python=\"`main`\" pulumi-lang-yaml=\"`main`\" pulumi-lang-java=\"`main`\">`main`</span>.\n","type":"string"},"database":{"description":"Database name slug from <span pulumi-lang-nodejs=\"`listDatabases`\" pulumi-lang-dotnet=\"`ListDatabases`\" pulumi-lang-go=\"`listDatabases`\" pulumi-lang-python=\"`list_databases`\" pulumi-lang-yaml=\"`listDatabases`\" pulumi-lang-java=\"`listDatabases`\">`list_databases`</span>. Example: `app-db`.\n","type":"string"},"id":{"description":"The ID of the role\n","type":"string"},"organization":{"description":"Organization name slug from <span pulumi-lang-nodejs=\"`listOrganizations`\" pulumi-lang-dotnet=\"`ListOrganizations`\" pulumi-lang-go=\"`listOrganizations`\" pulumi-lang-python=\"`list_organizations`\" pulumi-lang-yaml=\"`listOrganizations`\" pulumi-lang-java=\"`listOrganizations`\">`list_organizations`</span>. Example: <span pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\">`acme`</span>.\n","type":"string"}},"required":["branch","database","id","organization"],"type":"object"},"outputs":{"description":"A collection of values returned by getPostgresBranchRole.\n","properties":{"accessHostUrl":{"description":"The database connection string\n","type":"string"},"actorData":{"$ref":"#/types/planetscale:index%2FgetPostgresBranchRoleActorData:getPostgresBranchRoleActorData"},"baseUsername":{"description":"The base username without branch routing suffix\n","type":"string"},"branch":{"description":"Branch name from <span pulumi-lang-nodejs=\"`listBranches`\" pulumi-lang-dotnet=\"`ListBranches`\" pulumi-lang-go=\"`listBranches`\" pulumi-lang-python=\"`list_branches`\" pulumi-lang-yaml=\"`listBranches`\" pulumi-lang-java=\"`listBranches`\">`list_branches`</span>. Example: <span pulumi-lang-nodejs=\"`main`\" pulumi-lang-dotnet=\"`Main`\" pulumi-lang-go=\"`main`\" pulumi-lang-python=\"`main`\" pulumi-lang-yaml=\"`main`\" pulumi-lang-java=\"`main`\">`main`</span>.\n","type":"string"},"branchData":{"$ref":"#/types/planetscale:index%2FgetPostgresBranchRoleBranchData:getPostgresBranchRoleBranchData"},"createdAt":{"description":"When the role was created\n","type":"string"},"database":{"description":"Database name slug from <span pulumi-lang-nodejs=\"`listDatabases`\" pulumi-lang-dotnet=\"`ListDatabases`\" pulumi-lang-go=\"`listDatabases`\" pulumi-lang-python=\"`list_databases`\" pulumi-lang-yaml=\"`listDatabases`\" pulumi-lang-java=\"`listDatabases`\">`list_databases`</span>. Example: `app-db`.\n","type":"string"},"databaseName":{"description":"The database name\n","type":"string"},"default":{"description":"Whether the role is the default postgres user\n","type":"boolean"},"deletedAt":{"description":"When the role was deleted\n","type":"string"},"disabledAt":{"description":"When the role was disabled\n","type":"string"},"dropFailed":{"description":"Error message available when dropping the role fails\n","type":"string"},"droppedAt":{"description":"When the role was dropped\n","type":"string"},"expired":{"description":"True if the credentials are expired\n","type":"boolean"},"expiresAt":{"description":"When the role expires\n","type":"string"},"id":{"description":"The ID of the role\n","type":"string"},"inheritedRoles":{"description":"Database roles these credentials inherit\n","items":{"type":"string"},"type":"array"},"name":{"description":"The name of the role\n","type":"string"},"organization":{"description":"Organization name slug from <span pulumi-lang-nodejs=\"`listOrganizations`\" pulumi-lang-dotnet=\"`ListOrganizations`\" pulumi-lang-go=\"`listOrganizations`\" pulumi-lang-python=\"`list_organizations`\" pulumi-lang-yaml=\"`listOrganizations`\" pulumi-lang-java=\"`listOrganizations`\">`list_organizations`</span>. Example: <span pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\">`acme`</span>.\n","type":"string"},"privateAccessHostUrl":{"description":"The database connection string for private connections\n","type":"string"},"privateConnectionServiceName":{"description":"The service name to set up private connectivity\n","type":"string"},"querySafetySettings":{"$ref":"#/types/planetscale:index%2FgetPostgresBranchRoleQuerySafetySettings:getPostgresBranchRoleQuerySafetySettings"},"ttl":{"description":"Number of seconds before the credentials expire\n","type":"number"},"updatedAt":{"description":"When the role was updated\n","type":"string"},"username":{"description":"The database user name\n","type":"string"},"withReplication":{"description":"Whether the role has the REPLICATION attribute\n","type":"boolean"}},"required":["accessHostUrl","actorData","baseUsername","branch","branchData","createdAt","database","databaseName","default","deletedAt","disabledAt","dropFailed","droppedAt","expired","expiresAt","id","inheritedRoles","name","organization","privateAccessHostUrl","privateConnectionServiceName","querySafetySettings","ttl","updatedAt","username","withReplication"],"type":"object"}},"planetscale:index/getPostgresBranchRoles:getPostgresBranchRoles":{"description":"PostgresBranchRoles DataSource\n\n## Example Usage\n\n<!--Start PulumiCodeChooser -->\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as planetscale from \"@pulumi/planetscale\";\n\nconst myPostgresbranchroles = planetscale.getPostgresBranchRoles({\n    branch: \"...my_branch...\",\n    database: \"...my_database...\",\n    organization: \"...my_organization...\",\n    q: \"...my_q...\",\n    status: \"...my_status...\",\n});\n```\n```python\nimport pulumi\nimport pulumi_planetscale as planetscale\n\nmy_postgresbranchroles = planetscale.get_postgres_branch_roles(branch=\"...my_branch...\",\n    database=\"...my_database...\",\n    organization=\"...my_organization...\",\n    q=\"...my_q...\",\n    status=\"...my_status...\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Planetscale = Pulumi.Planetscale;\n\nreturn await Deployment.RunAsync(() => \n{\n    var myPostgresbranchroles = Planetscale.GetPostgresBranchRoles.Invoke(new()\n    {\n        Branch = \"...my_branch...\",\n        Database = \"...my_database...\",\n        Organization = \"...my_organization...\",\n        Q = \"...my_q...\",\n        Status = \"...my_status...\",\n    });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-terraform-provider/sdks/go/planetscale/planetscale\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := planetscale.GetPostgresBranchRoles(ctx, &planetscale.GetPostgresBranchRolesArgs{\n\t\t\tBranch:       \"...my_branch...\",\n\t\t\tDatabase:     \"...my_database...\",\n\t\t\tOrganization: \"...my_organization...\",\n\t\t\tQ:            pulumi.StringRef(\"...my_q...\"),\n\t\t\tStatus:       pulumi.StringRef(\"...my_status...\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.planetscale.PlanetscaleFunctions;\nimport com.pulumi.planetscale.inputs.GetPostgresBranchRolesArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n    public static void main(String[] args) {\n        Pulumi.run(App::stack);\n    }\n\n    public static void stack(Context ctx) {\n        final var myPostgresbranchroles = PlanetscaleFunctions.getPostgresBranchRoles(GetPostgresBranchRolesArgs.builder()\n            .branch(\"...my_branch...\")\n            .database(\"...my_database...\")\n            .organization(\"...my_organization...\")\n            .q(\"...my_q...\")\n            .status(\"...my_status...\")\n            .build());\n\n    }\n}\n```\n```yaml\nvariables:\n  myPostgresbranchroles:\n    fn::invoke:\n      function: planetscale:getPostgresBranchRoles\n      arguments:\n        branch: '...my_branch...'\n        database: '...my_database...'\n        organization: '...my_organization...'\n        q: '...my_q...'\n        status: '...my_status...'\n```\n<!--End PulumiCodeChooser -->\n","inputs":{"description":"A collection of arguments for invoking getPostgresBranchRoles.\n","properties":{"branch":{"description":"Branch name from <span pulumi-lang-nodejs=\"`listBranches`\" pulumi-lang-dotnet=\"`ListBranches`\" pulumi-lang-go=\"`listBranches`\" pulumi-lang-python=\"`list_branches`\" pulumi-lang-yaml=\"`listBranches`\" pulumi-lang-java=\"`listBranches`\">`list_branches`</span>. Example: <span pulumi-lang-nodejs=\"`main`\" pulumi-lang-dotnet=\"`Main`\" pulumi-lang-go=\"`main`\" pulumi-lang-python=\"`main`\" pulumi-lang-yaml=\"`main`\" pulumi-lang-java=\"`main`\">`main`</span>.\n","type":"string"},"database":{"description":"Database name slug from <span pulumi-lang-nodejs=\"`listDatabases`\" pulumi-lang-dotnet=\"`ListDatabases`\" pulumi-lang-go=\"`listDatabases`\" pulumi-lang-python=\"`list_databases`\" pulumi-lang-yaml=\"`listDatabases`\" pulumi-lang-java=\"`listDatabases`\">`list_databases`</span>. Example: `app-db`.\n","type":"string"},"organization":{"description":"Organization name slug from <span pulumi-lang-nodejs=\"`listOrganizations`\" pulumi-lang-dotnet=\"`ListOrganizations`\" pulumi-lang-go=\"`listOrganizations`\" pulumi-lang-python=\"`list_organizations`\" pulumi-lang-yaml=\"`listOrganizations`\" pulumi-lang-java=\"`listOrganizations`\">`list_organizations`</span>. Example: <span pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\">`acme`</span>.\n","type":"string"},"q":{"description":"Search roles by name or username\n","type":"string"},"status":{"description":"Filter roles by status\n","type":"string"}},"required":["branch","database","organization"],"type":"object"},"outputs":{"description":"A collection of values returned by getPostgresBranchRoles.\n","properties":{"branch":{"description":"Branch name from <span pulumi-lang-nodejs=\"`listBranches`\" pulumi-lang-dotnet=\"`ListBranches`\" pulumi-lang-go=\"`listBranches`\" pulumi-lang-python=\"`list_branches`\" pulumi-lang-yaml=\"`listBranches`\" pulumi-lang-java=\"`listBranches`\">`list_branches`</span>. Example: <span pulumi-lang-nodejs=\"`main`\" pulumi-lang-dotnet=\"`Main`\" pulumi-lang-go=\"`main`\" pulumi-lang-python=\"`main`\" pulumi-lang-yaml=\"`main`\" pulumi-lang-java=\"`main`\">`main`</span>.\n","type":"string"},"database":{"description":"Database name slug from <span pulumi-lang-nodejs=\"`listDatabases`\" pulumi-lang-dotnet=\"`ListDatabases`\" pulumi-lang-go=\"`listDatabases`\" pulumi-lang-python=\"`list_databases`\" pulumi-lang-yaml=\"`listDatabases`\" pulumi-lang-java=\"`listDatabases`\">`list_databases`</span>. Example: `app-db`.\n","type":"string"},"datas":{"items":{"$ref":"#/types/planetscale:index%2FgetPostgresBranchRolesData:getPostgresBranchRolesData"},"type":"array"},"id":{"description":"The provider-assigned unique ID for this managed resource.","type":"string"},"organization":{"description":"Organization name slug from <span pulumi-lang-nodejs=\"`listOrganizations`\" pulumi-lang-dotnet=\"`ListOrganizations`\" pulumi-lang-go=\"`listOrganizations`\" pulumi-lang-python=\"`list_organizations`\" pulumi-lang-yaml=\"`listOrganizations`\" pulumi-lang-java=\"`listOrganizations`\">`list_organizations`</span>. Example: <span pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\">`acme`</span>.\n","type":"string"},"q":{"description":"Search roles by name or username\n","type":"string"},"status":{"description":"Filter roles by status\n","type":"string"},"type":{"description":"The response type. Always \"list\" for paginated responses.\n","type":"string"}},"required":["branch","database","datas","id","organization","type"],"type":"object"}},"planetscale:index/getPostgresDedicatedReadReplica:getPostgresDedicatedReadReplica":{"description":"PostgresDedicatedReadReplica DataSource\n\n## Example Usage\n\n<!--Start PulumiCodeChooser -->\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as planetscale from \"@pulumi/planetscale\";\n\nconst myPostgresdedicatedreadreplica = planetscale.getPostgresDedicatedReadReplica({\n    branch: \"...my_branch...\",\n    database: \"...my_database...\",\n    name: \"...my_name...\",\n    organization: \"...my_organization...\",\n});\n```\n```python\nimport pulumi\nimport pulumi_planetscale as planetscale\n\nmy_postgresdedicatedreadreplica = planetscale.get_postgres_dedicated_read_replica(branch=\"...my_branch...\",\n    database=\"...my_database...\",\n    name=\"...my_name...\",\n    organization=\"...my_organization...\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Planetscale = Pulumi.Planetscale;\n\nreturn await Deployment.RunAsync(() => \n{\n    var myPostgresdedicatedreadreplica = Planetscale.GetPostgresDedicatedReadReplica.Invoke(new()\n    {\n        Branch = \"...my_branch...\",\n        Database = \"...my_database...\",\n        Name = \"...my_name...\",\n        Organization = \"...my_organization...\",\n    });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-terraform-provider/sdks/go/planetscale/planetscale\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := planetscale.LookupPostgresDedicatedReadReplica(ctx, &planetscale.LookupPostgresDedicatedReadReplicaArgs{\n\t\t\tBranch:       \"...my_branch...\",\n\t\t\tDatabase:     \"...my_database...\",\n\t\t\tName:         \"...my_name...\",\n\t\t\tOrganization: \"...my_organization...\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.planetscale.PlanetscaleFunctions;\nimport com.pulumi.planetscale.inputs.GetPostgresDedicatedReadReplicaArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n    public static void main(String[] args) {\n        Pulumi.run(App::stack);\n    }\n\n    public static void stack(Context ctx) {\n        final var myPostgresdedicatedreadreplica = PlanetscaleFunctions.getPostgresDedicatedReadReplica(GetPostgresDedicatedReadReplicaArgs.builder()\n            .branch(\"...my_branch...\")\n            .database(\"...my_database...\")\n            .name(\"...my_name...\")\n            .organization(\"...my_organization...\")\n            .build());\n\n    }\n}\n```\n```yaml\nvariables:\n  myPostgresdedicatedreadreplica:\n    fn::invoke:\n      function: planetscale:getPostgresDedicatedReadReplica\n      arguments:\n        branch: '...my_branch...'\n        database: '...my_database...'\n        name: '...my_name...'\n        organization: '...my_organization...'\n```\n<!--End PulumiCodeChooser -->\n","inputs":{"description":"A collection of arguments for invoking getPostgresDedicatedReadReplica.\n","properties":{"branch":{"description":"Branch name from <span pulumi-lang-nodejs=\"`listBranches`\" pulumi-lang-dotnet=\"`ListBranches`\" pulumi-lang-go=\"`listBranches`\" pulumi-lang-python=\"`list_branches`\" pulumi-lang-yaml=\"`listBranches`\" pulumi-lang-java=\"`listBranches`\">`list_branches`</span>. Example: <span pulumi-lang-nodejs=\"`main`\" pulumi-lang-dotnet=\"`Main`\" pulumi-lang-go=\"`main`\" pulumi-lang-python=\"`main`\" pulumi-lang-yaml=\"`main`\" pulumi-lang-java=\"`main`\">`main`</span>.\n","type":"string"},"database":{"description":"Database name slug from <span pulumi-lang-nodejs=\"`listDatabases`\" pulumi-lang-dotnet=\"`ListDatabases`\" pulumi-lang-go=\"`listDatabases`\" pulumi-lang-python=\"`list_databases`\" pulumi-lang-yaml=\"`listDatabases`\" pulumi-lang-java=\"`listDatabases`\">`list_databases`</span>. Example: `app-db`.\n","type":"string"},"name":{"description":"The name of the dedicated read replica.\n","type":"string"},"organization":{"description":"Organization name slug from <span pulumi-lang-nodejs=\"`listOrganizations`\" pulumi-lang-dotnet=\"`ListOrganizations`\" pulumi-lang-go=\"`listOrganizations`\" pulumi-lang-python=\"`list_organizations`\" pulumi-lang-yaml=\"`listOrganizations`\" pulumi-lang-java=\"`listOrganizations`\">`list_organizations`</span>. Example: <span pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\">`acme`</span>.\n","type":"string"}},"required":["branch","database","name","organization"],"type":"object"},"outputs":{"description":"A collection of values returned by getPostgresDedicatedReadReplica.\n","properties":{"accessHostUrl":{"description":"The database connection host for the dedicated read replica.\n","type":"string"},"branch":{"description":"Branch name from <span pulumi-lang-nodejs=\"`listBranches`\" pulumi-lang-dotnet=\"`ListBranches`\" pulumi-lang-go=\"`listBranches`\" pulumi-lang-python=\"`list_branches`\" pulumi-lang-yaml=\"`listBranches`\" pulumi-lang-java=\"`listBranches`\">`list_branches`</span>. Example: <span pulumi-lang-nodejs=\"`main`\" pulumi-lang-dotnet=\"`Main`\" pulumi-lang-go=\"`main`\" pulumi-lang-python=\"`main`\" pulumi-lang-yaml=\"`main`\" pulumi-lang-java=\"`main`\">`main`</span>.\n","type":"string"},"clusterSize":{"description":"The cluster size SKU, e.g. `PS_10_AWS_ARM`. Defaults to the primary's cluster size.\n","type":"string"},"database":{"description":"Database name slug from <span pulumi-lang-nodejs=\"`listDatabases`\" pulumi-lang-dotnet=\"`ListDatabases`\" pulumi-lang-go=\"`listDatabases`\" pulumi-lang-python=\"`list_databases`\" pulumi-lang-yaml=\"`listDatabases`\" pulumi-lang-java=\"`listDatabases`\">`list_databases`</span>. Example: `app-db`.\n","type":"string"},"id":{"description":"The provider-assigned unique ID for this managed resource.","type":"string"},"name":{"description":"The name of the dedicated read replica.\n","type":"string"},"organization":{"description":"Organization name slug from <span pulumi-lang-nodejs=\"`listOrganizations`\" pulumi-lang-dotnet=\"`ListOrganizations`\" pulumi-lang-go=\"`listOrganizations`\" pulumi-lang-python=\"`list_organizations`\" pulumi-lang-yaml=\"`listOrganizations`\" pulumi-lang-java=\"`listOrganizations`\">`list_organizations`</span>. Example: <span pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\">`acme`</span>.\n","type":"string"},"privateAccessHostUrl":{"description":"The private database connection host for the dedicated read replica.\n","type":"string"},"privateConnectionServiceName":{"description":"The service name to set up private connectivity for the dedicated read replica.\n","type":"string"},"region":{"description":"The region slug for the dedicated read replica, e.g. `us-east`. The dedicated read replica can run in a different region than the primary.\n","type":"string"},"replicas":{"description":"The number of instances serving reads in this dedicated read replica.\n","type":"number"}},"required":["accessHostUrl","branch","clusterSize","database","id","name","organization","privateAccessHostUrl","privateConnectionServiceName","region","replicas"],"type":"object"}},"planetscale:index/getPostgresDedicatedReadReplicas:getPostgresDedicatedReadReplicas":{"description":"PostgresDedicatedReadReplicas DataSource\n\n## Example Usage\n\n<!--Start PulumiCodeChooser -->\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as planetscale from \"@pulumi/planetscale\";\n\nconst myPostgresdedicatedreadreplicas = planetscale.getPostgresDedicatedReadReplicas({\n    branch: \"...my_branch...\",\n    database: \"...my_database...\",\n    organization: \"...my_organization...\",\n});\n```\n```python\nimport pulumi\nimport pulumi_planetscale as planetscale\n\nmy_postgresdedicatedreadreplicas = planetscale.get_postgres_dedicated_read_replicas(branch=\"...my_branch...\",\n    database=\"...my_database...\",\n    organization=\"...my_organization...\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Planetscale = Pulumi.Planetscale;\n\nreturn await Deployment.RunAsync(() => \n{\n    var myPostgresdedicatedreadreplicas = Planetscale.GetPostgresDedicatedReadReplicas.Invoke(new()\n    {\n        Branch = \"...my_branch...\",\n        Database = \"...my_database...\",\n        Organization = \"...my_organization...\",\n    });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-terraform-provider/sdks/go/planetscale/planetscale\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := planetscale.GetPostgresDedicatedReadReplicas(ctx, &planetscale.GetPostgresDedicatedReadReplicasArgs{\n\t\t\tBranch:       \"...my_branch...\",\n\t\t\tDatabase:     \"...my_database...\",\n\t\t\tOrganization: \"...my_organization...\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.planetscale.PlanetscaleFunctions;\nimport com.pulumi.planetscale.inputs.GetPostgresDedicatedReadReplicasArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n    public static void main(String[] args) {\n        Pulumi.run(App::stack);\n    }\n\n    public static void stack(Context ctx) {\n        final var myPostgresdedicatedreadreplicas = PlanetscaleFunctions.getPostgresDedicatedReadReplicas(GetPostgresDedicatedReadReplicasArgs.builder()\n            .branch(\"...my_branch...\")\n            .database(\"...my_database...\")\n            .organization(\"...my_organization...\")\n            .build());\n\n    }\n}\n```\n```yaml\nvariables:\n  myPostgresdedicatedreadreplicas:\n    fn::invoke:\n      function: planetscale:getPostgresDedicatedReadReplicas\n      arguments:\n        branch: '...my_branch...'\n        database: '...my_database...'\n        organization: '...my_organization...'\n```\n<!--End PulumiCodeChooser -->\n","inputs":{"description":"A collection of arguments for invoking getPostgresDedicatedReadReplicas.\n","properties":{"branch":{"description":"Branch name from <span pulumi-lang-nodejs=\"`listBranches`\" pulumi-lang-dotnet=\"`ListBranches`\" pulumi-lang-go=\"`listBranches`\" pulumi-lang-python=\"`list_branches`\" pulumi-lang-yaml=\"`listBranches`\" pulumi-lang-java=\"`listBranches`\">`list_branches`</span>. Example: <span pulumi-lang-nodejs=\"`main`\" pulumi-lang-dotnet=\"`Main`\" pulumi-lang-go=\"`main`\" pulumi-lang-python=\"`main`\" pulumi-lang-yaml=\"`main`\" pulumi-lang-java=\"`main`\">`main`</span>.\n","type":"string"},"database":{"description":"Database name slug from <span pulumi-lang-nodejs=\"`listDatabases`\" pulumi-lang-dotnet=\"`ListDatabases`\" pulumi-lang-go=\"`listDatabases`\" pulumi-lang-python=\"`list_databases`\" pulumi-lang-yaml=\"`listDatabases`\" pulumi-lang-java=\"`listDatabases`\">`list_databases`</span>. Example: `app-db`.\n","type":"string"},"organization":{"description":"Organization name slug from <span pulumi-lang-nodejs=\"`listOrganizations`\" pulumi-lang-dotnet=\"`ListOrganizations`\" pulumi-lang-go=\"`listOrganizations`\" pulumi-lang-python=\"`list_organizations`\" pulumi-lang-yaml=\"`listOrganizations`\" pulumi-lang-java=\"`listOrganizations`\">`list_organizations`</span>. Example: <span pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\">`acme`</span>.\n","type":"string"}},"required":["branch","database","organization"],"type":"object"},"outputs":{"description":"A collection of values returned by getPostgresDedicatedReadReplicas.\n","properties":{"branch":{"description":"Branch name from <span pulumi-lang-nodejs=\"`listBranches`\" pulumi-lang-dotnet=\"`ListBranches`\" pulumi-lang-go=\"`listBranches`\" pulumi-lang-python=\"`list_branches`\" pulumi-lang-yaml=\"`listBranches`\" pulumi-lang-java=\"`listBranches`\">`list_branches`</span>. Example: <span pulumi-lang-nodejs=\"`main`\" pulumi-lang-dotnet=\"`Main`\" pulumi-lang-go=\"`main`\" pulumi-lang-python=\"`main`\" pulumi-lang-yaml=\"`main`\" pulumi-lang-java=\"`main`\">`main`</span>.\n","type":"string"},"database":{"description":"Database name slug from <span pulumi-lang-nodejs=\"`listDatabases`\" pulumi-lang-dotnet=\"`ListDatabases`\" pulumi-lang-go=\"`listDatabases`\" pulumi-lang-python=\"`list_databases`\" pulumi-lang-yaml=\"`listDatabases`\" pulumi-lang-java=\"`listDatabases`\">`list_databases`</span>. Example: `app-db`.\n","type":"string"},"datas":{"description":"Returns dedicated read replicas.\n","items":{"$ref":"#/types/planetscale:index%2FgetPostgresDedicatedReadReplicasData:getPostgresDedicatedReadReplicasData"},"type":"array"},"id":{"description":"The provider-assigned unique ID for this managed resource.","type":"string"},"organization":{"description":"Organization name slug from <span pulumi-lang-nodejs=\"`listOrganizations`\" pulumi-lang-dotnet=\"`ListOrganizations`\" pulumi-lang-go=\"`listOrganizations`\" pulumi-lang-python=\"`list_organizations`\" pulumi-lang-yaml=\"`listOrganizations`\" pulumi-lang-java=\"`listOrganizations`\">`list_organizations`</span>. Example: <span pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\">`acme`</span>.\n","type":"string"}},"required":["branch","database","datas","id","organization"],"type":"object"}},"planetscale:index/getPostgresIpRestriction:getPostgresIpRestriction":{"description":"PostgresIPRestriction DataSource\n\n## Example Usage\n\n<!--Start PulumiCodeChooser -->\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as planetscale from \"@pulumi/planetscale\";\n\nconst myPostgresiprestriction = planetscale.getPostgresIpRestriction({\n    database: \"...my_database...\",\n    id: \"...my_id...\",\n    organization: \"...my_organization...\",\n});\n```\n```python\nimport pulumi\nimport pulumi_planetscale as planetscale\n\nmy_postgresiprestriction = planetscale.get_postgres_ip_restriction(database=\"...my_database...\",\n    id=\"...my_id...\",\n    organization=\"...my_organization...\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Planetscale = Pulumi.Planetscale;\n\nreturn await Deployment.RunAsync(() => \n{\n    var myPostgresiprestriction = Planetscale.GetPostgresIpRestriction.Invoke(new()\n    {\n        Database = \"...my_database...\",\n        Id = \"...my_id...\",\n        Organization = \"...my_organization...\",\n    });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-terraform-provider/sdks/go/planetscale/planetscale\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := planetscale.LookupPostgresIpRestriction(ctx, &planetscale.LookupPostgresIpRestrictionArgs{\n\t\t\tDatabase:     \"...my_database...\",\n\t\t\tId:           \"...my_id...\",\n\t\t\tOrganization: \"...my_organization...\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.planetscale.PlanetscaleFunctions;\nimport com.pulumi.planetscale.inputs.GetPostgresIpRestrictionArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n    public static void main(String[] args) {\n        Pulumi.run(App::stack);\n    }\n\n    public static void stack(Context ctx) {\n        final var myPostgresiprestriction = PlanetscaleFunctions.getPostgresIpRestriction(GetPostgresIpRestrictionArgs.builder()\n            .database(\"...my_database...\")\n            .id(\"...my_id...\")\n            .organization(\"...my_organization...\")\n            .build());\n\n    }\n}\n```\n```yaml\nvariables:\n  myPostgresiprestriction:\n    fn::invoke:\n      function: planetscale:getPostgresIpRestriction\n      arguments:\n        database: '...my_database...'\n        id: '...my_id...'\n        organization: '...my_organization...'\n```\n<!--End PulumiCodeChooser -->\n","inputs":{"description":"A collection of arguments for invoking getPostgresIpRestriction.\n","properties":{"database":{"description":"The name of the database\n","type":"string"},"id":{"description":"The ID of the IP restriction entry\n","type":"string"},"organization":{"description":"The name of the organization the database belongs to\n","type":"string"}},"required":["database","id","organization"],"type":"object"},"outputs":{"description":"A collection of values returned by getPostgresIpRestriction.\n","properties":{"actor":{"$ref":"#/types/planetscale:index%2FgetPostgresIpRestrictionActor:getPostgresIpRestrictionActor"},"cidrs":{"description":"List of CIDR ranges\n","items":{"type":"string"},"type":"array"},"database":{"description":"The name of the database\n","type":"string"},"description":{"description":"An optional description for the IP restriction rule\n","type":"string"},"id":{"description":"The ID of the IP restriction entry\n","type":"string"},"organization":{"description":"The name of the organization the database belongs to\n","type":"string"},"role":{"description":"The Postgres role the entry applies to. Empty when it applies to all roles.\n","type":"string"},"schema":{"description":"The Postgres schema the entry applies to. Empty when it applies to all schemas.\n","type":"string"}},"required":["actor","cidrs","database","description","id","organization","role","schema"],"type":"object"}},"planetscale:index/getPostgresIpRestrictions:getPostgresIpRestrictions":{"description":"PostgresIPRestrictions DataSource\n\n## Example Usage\n\n<!--Start PulumiCodeChooser -->\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as planetscale from \"@pulumi/planetscale\";\n\nconst myPostgresiprestrictions = planetscale.getPostgresIpRestrictions({\n    database: \"...my_database...\",\n    organization: \"...my_organization...\",\n});\n```\n```python\nimport pulumi\nimport pulumi_planetscale as planetscale\n\nmy_postgresiprestrictions = planetscale.get_postgres_ip_restrictions(database=\"...my_database...\",\n    organization=\"...my_organization...\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Planetscale = Pulumi.Planetscale;\n\nreturn await Deployment.RunAsync(() => \n{\n    var myPostgresiprestrictions = Planetscale.GetPostgresIpRestrictions.Invoke(new()\n    {\n        Database = \"...my_database...\",\n        Organization = \"...my_organization...\",\n    });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-terraform-provider/sdks/go/planetscale/planetscale\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := planetscale.GetPostgresIpRestrictions(ctx, &planetscale.GetPostgresIpRestrictionsArgs{\n\t\t\tDatabase:     \"...my_database...\",\n\t\t\tOrganization: \"...my_organization...\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.planetscale.PlanetscaleFunctions;\nimport com.pulumi.planetscale.inputs.GetPostgresIpRestrictionsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n    public static void main(String[] args) {\n        Pulumi.run(App::stack);\n    }\n\n    public static void stack(Context ctx) {\n        final var myPostgresiprestrictions = PlanetscaleFunctions.getPostgresIpRestrictions(GetPostgresIpRestrictionsArgs.builder()\n            .database(\"...my_database...\")\n            .organization(\"...my_organization...\")\n            .build());\n\n    }\n}\n```\n```yaml\nvariables:\n  myPostgresiprestrictions:\n    fn::invoke:\n      function: planetscale:getPostgresIpRestrictions\n      arguments:\n        database: '...my_database...'\n        organization: '...my_organization...'\n```\n<!--End PulumiCodeChooser -->\n","inputs":{"description":"A collection of arguments for invoking getPostgresIpRestrictions.\n","properties":{"database":{"description":"The name of the database\n","type":"string"},"organization":{"description":"The name of the organization the database belongs to\n","type":"string"}},"required":["database","organization"],"type":"object"},"outputs":{"description":"A collection of values returned by getPostgresIpRestrictions.\n","properties":{"database":{"description":"The name of the database\n","type":"string"},"datas":{"items":{"$ref":"#/types/planetscale:index%2FgetPostgresIpRestrictionsData:getPostgresIpRestrictionsData"},"type":"array"},"id":{"description":"The provider-assigned unique ID for this managed resource.","type":"string"},"organization":{"description":"The name of the organization the database belongs to\n","type":"string"}},"required":["database","datas","id","organization"],"type":"object"}},"planetscale:index/getPostgresReadOnlyReplica:getPostgresReadOnlyReplica":{"description":"**Deprecated.** Use <span pulumi-lang-nodejs=\"`planetscale.PostgresDedicatedReadReplica`\" pulumi-lang-dotnet=\"`planetscale.PostgresDedicatedReadReplica`\" pulumi-lang-go=\"`PostgresDedicatedReadReplica`\" pulumi-lang-python=\"`PostgresDedicatedReadReplica`\" pulumi-lang-yaml=\"`planetscale.PostgresDedicatedReadReplica`\" pulumi-lang-java=\"`planetscale.PostgresDedicatedReadReplica`\">`planetscale.PostgresDedicatedReadReplica`</span> instead.\n","inputs":{"description":"A collection of arguments for invoking getPostgresReadOnlyReplica.\n","properties":{"branch":{"description":"Branch name from <span pulumi-lang-nodejs=\"`listBranches`\" pulumi-lang-dotnet=\"`ListBranches`\" pulumi-lang-go=\"`listBranches`\" pulumi-lang-python=\"`list_branches`\" pulumi-lang-yaml=\"`listBranches`\" pulumi-lang-java=\"`listBranches`\">`list_branches`</span>. Example: <span pulumi-lang-nodejs=\"`main`\" pulumi-lang-dotnet=\"`Main`\" pulumi-lang-go=\"`main`\" pulumi-lang-python=\"`main`\" pulumi-lang-yaml=\"`main`\" pulumi-lang-java=\"`main`\">`main`</span>.\n","type":"string"},"database":{"description":"Database name slug from <span pulumi-lang-nodejs=\"`listDatabases`\" pulumi-lang-dotnet=\"`ListDatabases`\" pulumi-lang-go=\"`listDatabases`\" pulumi-lang-python=\"`list_databases`\" pulumi-lang-yaml=\"`listDatabases`\" pulumi-lang-java=\"`listDatabases`\">`list_databases`</span>. Example: `app-db`.\n","type":"string"},"name":{"description":"The name of the dedicated read replica.\n","type":"string"},"organization":{"description":"Organization name slug from <span pulumi-lang-nodejs=\"`listOrganizations`\" pulumi-lang-dotnet=\"`ListOrganizations`\" pulumi-lang-go=\"`listOrganizations`\" pulumi-lang-python=\"`list_organizations`\" pulumi-lang-yaml=\"`listOrganizations`\" pulumi-lang-java=\"`listOrganizations`\">`list_organizations`</span>. Example: <span pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\">`acme`</span>.\n","type":"string"}},"required":["branch","database","name","organization"],"type":"object"},"outputs":{"description":"A collection of values returned by getPostgresReadOnlyReplica.\n","properties":{"accessHostUrl":{"description":"The database connection host for the dedicated read replica.\n","type":"string"},"branch":{"description":"Branch name from <span pulumi-lang-nodejs=\"`listBranches`\" pulumi-lang-dotnet=\"`ListBranches`\" pulumi-lang-go=\"`listBranches`\" pulumi-lang-python=\"`list_branches`\" pulumi-lang-yaml=\"`listBranches`\" pulumi-lang-java=\"`listBranches`\">`list_branches`</span>. Example: <span pulumi-lang-nodejs=\"`main`\" pulumi-lang-dotnet=\"`Main`\" pulumi-lang-go=\"`main`\" pulumi-lang-python=\"`main`\" pulumi-lang-yaml=\"`main`\" pulumi-lang-java=\"`main`\">`main`</span>.\n","type":"string"},"clusterSize":{"description":"The cluster size SKU, e.g. `PS_10_AWS_ARM`. Defaults to the primary's cluster size.\n","type":"string"},"database":{"description":"Database name slug from <span pulumi-lang-nodejs=\"`listDatabases`\" pulumi-lang-dotnet=\"`ListDatabases`\" pulumi-lang-go=\"`listDatabases`\" pulumi-lang-python=\"`list_databases`\" pulumi-lang-yaml=\"`listDatabases`\" pulumi-lang-java=\"`listDatabases`\">`list_databases`</span>. Example: `app-db`.\n","type":"string"},"id":{"description":"The provider-assigned unique ID for this managed resource.","type":"string"},"name":{"description":"The name of the dedicated read replica.\n","type":"string"},"organization":{"description":"Organization name slug from <span pulumi-lang-nodejs=\"`listOrganizations`\" pulumi-lang-dotnet=\"`ListOrganizations`\" pulumi-lang-go=\"`listOrganizations`\" pulumi-lang-python=\"`list_organizations`\" pulumi-lang-yaml=\"`listOrganizations`\" pulumi-lang-java=\"`listOrganizations`\">`list_organizations`</span>. Example: <span pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\">`acme`</span>.\n","type":"string"},"privateAccessHostUrl":{"description":"The private database connection host for the dedicated read replica.\n","type":"string"},"privateConnectionServiceName":{"description":"The service name to set up private connectivity for the dedicated read replica.\n","type":"string"},"region":{"description":"The region slug for the dedicated read replica, e.g. `us-east`. The dedicated read replica can run in a different region than the primary.\n","type":"string"},"replicas":{"description":"The number of instances serving reads in this dedicated read replica.\n","type":"number"}},"required":["accessHostUrl","branch","clusterSize","database","id","name","organization","privateAccessHostUrl","privateConnectionServiceName","region","replicas"],"type":"object"}},"planetscale:index/getPostgresReadOnlyReplicas:getPostgresReadOnlyReplicas":{"description":"**Deprecated.** Use <span pulumi-lang-nodejs=\"`planetscale.getPostgresDedicatedReadReplicas`\" pulumi-lang-dotnet=\"`planetscale.getPostgresDedicatedReadReplicas`\" pulumi-lang-go=\"`getPostgresDedicatedReadReplicas`\" pulumi-lang-python=\"`get_postgres_dedicated_read_replicas`\" pulumi-lang-yaml=\"`planetscale.getPostgresDedicatedReadReplicas`\" pulumi-lang-java=\"`planetscale.getPostgresDedicatedReadReplicas`\">`planetscale.getPostgresDedicatedReadReplicas`</span> instead.\n","inputs":{"description":"A collection of arguments for invoking getPostgresReadOnlyReplicas.\n","properties":{"branch":{"description":"Branch name from <span pulumi-lang-nodejs=\"`listBranches`\" pulumi-lang-dotnet=\"`ListBranches`\" pulumi-lang-go=\"`listBranches`\" pulumi-lang-python=\"`list_branches`\" pulumi-lang-yaml=\"`listBranches`\" pulumi-lang-java=\"`listBranches`\">`list_branches`</span>. Example: <span pulumi-lang-nodejs=\"`main`\" pulumi-lang-dotnet=\"`Main`\" pulumi-lang-go=\"`main`\" pulumi-lang-python=\"`main`\" pulumi-lang-yaml=\"`main`\" pulumi-lang-java=\"`main`\">`main`</span>.\n","type":"string"},"database":{"description":"Database name slug from <span pulumi-lang-nodejs=\"`listDatabases`\" pulumi-lang-dotnet=\"`ListDatabases`\" pulumi-lang-go=\"`listDatabases`\" pulumi-lang-python=\"`list_databases`\" pulumi-lang-yaml=\"`listDatabases`\" pulumi-lang-java=\"`listDatabases`\">`list_databases`</span>. Example: `app-db`.\n","type":"string"},"organization":{"description":"Organization name slug from <span pulumi-lang-nodejs=\"`listOrganizations`\" pulumi-lang-dotnet=\"`ListOrganizations`\" pulumi-lang-go=\"`listOrganizations`\" pulumi-lang-python=\"`list_organizations`\" pulumi-lang-yaml=\"`listOrganizations`\" pulumi-lang-java=\"`listOrganizations`\">`list_organizations`</span>. Example: <span pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\">`acme`</span>.\n","type":"string"}},"required":["branch","database","organization"],"type":"object"},"outputs":{"description":"A collection of values returned by getPostgresReadOnlyReplicas.\n","properties":{"branch":{"description":"Branch name from <span pulumi-lang-nodejs=\"`listBranches`\" pulumi-lang-dotnet=\"`ListBranches`\" pulumi-lang-go=\"`listBranches`\" pulumi-lang-python=\"`list_branches`\" pulumi-lang-yaml=\"`listBranches`\" pulumi-lang-java=\"`listBranches`\">`list_branches`</span>. Example: <span pulumi-lang-nodejs=\"`main`\" pulumi-lang-dotnet=\"`Main`\" pulumi-lang-go=\"`main`\" pulumi-lang-python=\"`main`\" pulumi-lang-yaml=\"`main`\" pulumi-lang-java=\"`main`\">`main`</span>.\n","type":"string"},"database":{"description":"Database name slug from <span pulumi-lang-nodejs=\"`listDatabases`\" pulumi-lang-dotnet=\"`ListDatabases`\" pulumi-lang-go=\"`listDatabases`\" pulumi-lang-python=\"`list_databases`\" pulumi-lang-yaml=\"`listDatabases`\" pulumi-lang-java=\"`listDatabases`\">`list_databases`</span>. Example: `app-db`.\n","type":"string"},"datas":{"description":"Returns dedicated read replicas.\n","items":{"$ref":"#/types/planetscale:index%2FgetPostgresReadOnlyReplicasData:getPostgresReadOnlyReplicasData"},"type":"array"},"id":{"description":"The provider-assigned unique ID for this managed resource.","type":"string"},"organization":{"description":"Organization name slug from <span pulumi-lang-nodejs=\"`listOrganizations`\" pulumi-lang-dotnet=\"`ListOrganizations`\" pulumi-lang-go=\"`listOrganizations`\" pulumi-lang-python=\"`list_organizations`\" pulumi-lang-yaml=\"`listOrganizations`\" pulumi-lang-java=\"`listOrganizations`\">`list_organizations`</span>. Example: <span pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\">`acme`</span>.\n","type":"string"}},"required":["branch","database","datas","id","organization"],"type":"object"}},"planetscale:index/getPostgresRedactedBranchRole:getPostgresRedactedBranchRole":{"description":"PostgresRedactedBranchRole DataSource\n\n## Example Usage\n\n<!--Start PulumiCodeChooser -->\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as planetscale from \"@pulumi/planetscale\";\n\nconst myPostgresredactedbranchrole = planetscale.getPostgresRedactedBranchRole({\n    branch: \"...my_branch...\",\n    database: \"...my_database...\",\n    id: \"...my_id...\",\n    organization: \"...my_organization...\",\n});\n```\n```python\nimport pulumi\nimport pulumi_planetscale as planetscale\n\nmy_postgresredactedbranchrole = planetscale.get_postgres_redacted_branch_role(branch=\"...my_branch...\",\n    database=\"...my_database...\",\n    id=\"...my_id...\",\n    organization=\"...my_organization...\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Planetscale = Pulumi.Planetscale;\n\nreturn await Deployment.RunAsync(() => \n{\n    var myPostgresredactedbranchrole = Planetscale.GetPostgresRedactedBranchRole.Invoke(new()\n    {\n        Branch = \"...my_branch...\",\n        Database = \"...my_database...\",\n        Id = \"...my_id...\",\n        Organization = \"...my_organization...\",\n    });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-terraform-provider/sdks/go/planetscale/planetscale\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := planetscale.LookupPostgresRedactedBranchRole(ctx, &planetscale.LookupPostgresRedactedBranchRoleArgs{\n\t\t\tBranch:       \"...my_branch...\",\n\t\t\tDatabase:     \"...my_database...\",\n\t\t\tId:           \"...my_id...\",\n\t\t\tOrganization: \"...my_organization...\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.planetscale.PlanetscaleFunctions;\nimport com.pulumi.planetscale.inputs.GetPostgresRedactedBranchRoleArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n    public static void main(String[] args) {\n        Pulumi.run(App::stack);\n    }\n\n    public static void stack(Context ctx) {\n        final var myPostgresredactedbranchrole = PlanetscaleFunctions.getPostgresRedactedBranchRole(GetPostgresRedactedBranchRoleArgs.builder()\n            .branch(\"...my_branch...\")\n            .database(\"...my_database...\")\n            .id(\"...my_id...\")\n            .organization(\"...my_organization...\")\n            .build());\n\n    }\n}\n```\n```yaml\nvariables:\n  myPostgresredactedbranchrole:\n    fn::invoke:\n      function: planetscale:getPostgresRedactedBranchRole\n      arguments:\n        branch: '...my_branch...'\n        database: '...my_database...'\n        id: '...my_id...'\n        organization: '...my_organization...'\n```\n<!--End PulumiCodeChooser -->\n","inputs":{"description":"A collection of arguments for invoking getPostgresRedactedBranchRole.\n","properties":{"branch":{"description":"Branch name from <span pulumi-lang-nodejs=\"`listBranches`\" pulumi-lang-dotnet=\"`ListBranches`\" pulumi-lang-go=\"`listBranches`\" pulumi-lang-python=\"`list_branches`\" pulumi-lang-yaml=\"`listBranches`\" pulumi-lang-java=\"`listBranches`\">`list_branches`</span>. Example: <span pulumi-lang-nodejs=\"`main`\" pulumi-lang-dotnet=\"`Main`\" pulumi-lang-go=\"`main`\" pulumi-lang-python=\"`main`\" pulumi-lang-yaml=\"`main`\" pulumi-lang-java=\"`main`\">`main`</span>.\n","type":"string"},"database":{"description":"Database name slug from <span pulumi-lang-nodejs=\"`listDatabases`\" pulumi-lang-dotnet=\"`ListDatabases`\" pulumi-lang-go=\"`listDatabases`\" pulumi-lang-python=\"`list_databases`\" pulumi-lang-yaml=\"`listDatabases`\" pulumi-lang-java=\"`listDatabases`\">`list_databases`</span>. Example: `app-db`.\n","type":"string"},"id":{"description":"The ID of the role\n","type":"string"},"organization":{"description":"Organization name slug from <span pulumi-lang-nodejs=\"`listOrganizations`\" pulumi-lang-dotnet=\"`ListOrganizations`\" pulumi-lang-go=\"`listOrganizations`\" pulumi-lang-python=\"`list_organizations`\" pulumi-lang-yaml=\"`listOrganizations`\" pulumi-lang-java=\"`listOrganizations`\">`list_organizations`</span>. Example: <span pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\">`acme`</span>.\n","type":"string"}},"required":["branch","database","id","organization"],"type":"object"},"outputs":{"description":"A collection of values returned by getPostgresRedactedBranchRole.\n","properties":{"accessHostUrl":{"description":"The database connection string\n","type":"string"},"actorData":{"$ref":"#/types/planetscale:index%2FgetPostgresRedactedBranchRoleActorData:getPostgresRedactedBranchRoleActorData"},"baseUsername":{"description":"The base username without branch routing suffix\n","type":"string"},"branch":{"description":"Branch name from <span pulumi-lang-nodejs=\"`listBranches`\" pulumi-lang-dotnet=\"`ListBranches`\" pulumi-lang-go=\"`listBranches`\" pulumi-lang-python=\"`list_branches`\" pulumi-lang-yaml=\"`listBranches`\" pulumi-lang-java=\"`listBranches`\">`list_branches`</span>. Example: <span pulumi-lang-nodejs=\"`main`\" pulumi-lang-dotnet=\"`Main`\" pulumi-lang-go=\"`main`\" pulumi-lang-python=\"`main`\" pulumi-lang-yaml=\"`main`\" pulumi-lang-java=\"`main`\">`main`</span>.\n","type":"string"},"branchData":{"$ref":"#/types/planetscale:index%2FgetPostgresRedactedBranchRoleBranchData:getPostgresRedactedBranchRoleBranchData"},"createdAt":{"description":"When the role was created\n","type":"string"},"database":{"description":"Database name slug from <span pulumi-lang-nodejs=\"`listDatabases`\" pulumi-lang-dotnet=\"`ListDatabases`\" pulumi-lang-go=\"`listDatabases`\" pulumi-lang-python=\"`list_databases`\" pulumi-lang-yaml=\"`listDatabases`\" pulumi-lang-java=\"`listDatabases`\">`list_databases`</span>. Example: `app-db`.\n","type":"string"},"databaseName":{"description":"The database name\n","type":"string"},"default":{"description":"Whether the role is the default postgres user\n","type":"boolean"},"deletedAt":{"description":"When the role was deleted\n","type":"string"},"disabledAt":{"description":"When the role was disabled\n","type":"string"},"dropFailed":{"description":"Error message available when dropping the role fails\n","type":"string"},"droppedAt":{"description":"When the role was dropped\n","type":"string"},"expired":{"description":"True if the credentials are expired\n","type":"boolean"},"expiresAt":{"description":"When the role expires\n","type":"string"},"id":{"description":"The ID of the role\n","type":"string"},"inheritedRoles":{"description":"Database roles these credentials inherit\n","items":{"type":"string"},"type":"array"},"name":{"description":"The name of the role\n","type":"string"},"organization":{"description":"Organization name slug from <span pulumi-lang-nodejs=\"`listOrganizations`\" pulumi-lang-dotnet=\"`ListOrganizations`\" pulumi-lang-go=\"`listOrganizations`\" pulumi-lang-python=\"`list_organizations`\" pulumi-lang-yaml=\"`listOrganizations`\" pulumi-lang-java=\"`listOrganizations`\">`list_organizations`</span>. Example: <span pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\">`acme`</span>.\n","type":"string"},"privateAccessHostUrl":{"description":"The database connection string for private connections\n","type":"string"},"privateConnectionServiceName":{"description":"The service name to set up private connectivity\n","type":"string"},"querySafetySettings":{"$ref":"#/types/planetscale:index%2FgetPostgresRedactedBranchRoleQuerySafetySettings:getPostgresRedactedBranchRoleQuerySafetySettings"},"ttl":{"description":"Number of seconds before the credentials expire\n","type":"number"},"updatedAt":{"description":"When the role was updated\n","type":"string"},"username":{"description":"The database user name\n","type":"string"},"withReplication":{"description":"Whether the role has the REPLICATION attribute\n","type":"boolean"}},"required":["accessHostUrl","actorData","baseUsername","branch","branchData","createdAt","database","databaseName","default","deletedAt","disabledAt","dropFailed","droppedAt","expired","expiresAt","id","inheritedRoles","name","organization","privateAccessHostUrl","privateConnectionServiceName","querySafetySettings","ttl","updatedAt","username","withReplication"],"type":"object"}},"planetscale:index/getVitessBackupPolicies:getVitessBackupPolicies":{"description":"VitessBackupPolicies DataSource\n\n## Example Usage\n\n<!--Start PulumiCodeChooser -->\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as planetscale from \"@pulumi/planetscale\";\n\nconst myVitessbackuppolicies = planetscale.getVitessBackupPolicies({\n    database: \"...my_database...\",\n    organization: \"...my_organization...\",\n});\n```\n```python\nimport pulumi\nimport pulumi_planetscale as planetscale\n\nmy_vitessbackuppolicies = planetscale.get_vitess_backup_policies(database=\"...my_database...\",\n    organization=\"...my_organization...\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Planetscale = Pulumi.Planetscale;\n\nreturn await Deployment.RunAsync(() => \n{\n    var myVitessbackuppolicies = Planetscale.GetVitessBackupPolicies.Invoke(new()\n    {\n        Database = \"...my_database...\",\n        Organization = \"...my_organization...\",\n    });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-terraform-provider/sdks/go/planetscale/planetscale\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := planetscale.GetVitessBackupPolicies(ctx, &planetscale.GetVitessBackupPoliciesArgs{\n\t\t\tDatabase:     \"...my_database...\",\n\t\t\tOrganization: \"...my_organization...\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.planetscale.PlanetscaleFunctions;\nimport com.pulumi.planetscale.inputs.GetVitessBackupPoliciesArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n    public static void main(String[] args) {\n        Pulumi.run(App::stack);\n    }\n\n    public static void stack(Context ctx) {\n        final var myVitessbackuppolicies = PlanetscaleFunctions.getVitessBackupPolicies(GetVitessBackupPoliciesArgs.builder()\n            .database(\"...my_database...\")\n            .organization(\"...my_organization...\")\n            .build());\n\n    }\n}\n```\n```yaml\nvariables:\n  myVitessbackuppolicies:\n    fn::invoke:\n      function: planetscale:getVitessBackupPolicies\n      arguments:\n        database: '...my_database...'\n        organization: '...my_organization...'\n```\n<!--End PulumiCodeChooser -->\n","inputs":{"description":"A collection of arguments for invoking getVitessBackupPolicies.\n","properties":{"database":{"description":"Database name slug from <span pulumi-lang-nodejs=\"`listDatabases`\" pulumi-lang-dotnet=\"`ListDatabases`\" pulumi-lang-go=\"`listDatabases`\" pulumi-lang-python=\"`list_databases`\" pulumi-lang-yaml=\"`listDatabases`\" pulumi-lang-java=\"`listDatabases`\">`list_databases`</span>. Example: `app-db`.\n","type":"string"},"organization":{"description":"Organization name slug from <span pulumi-lang-nodejs=\"`listOrganizations`\" pulumi-lang-dotnet=\"`ListOrganizations`\" pulumi-lang-go=\"`listOrganizations`\" pulumi-lang-python=\"`list_organizations`\" pulumi-lang-yaml=\"`listOrganizations`\" pulumi-lang-java=\"`listOrganizations`\">`list_organizations`</span>. Example: <span pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\">`acme`</span>.\n","type":"string"}},"required":["database","organization"],"type":"object"},"outputs":{"description":"A collection of values returned by getVitessBackupPolicies.\n","properties":{"database":{"description":"Database name slug from <span pulumi-lang-nodejs=\"`listDatabases`\" pulumi-lang-dotnet=\"`ListDatabases`\" pulumi-lang-go=\"`listDatabases`\" pulumi-lang-python=\"`list_databases`\" pulumi-lang-yaml=\"`listDatabases`\" pulumi-lang-java=\"`listDatabases`\">`list_databases`</span>. Example: `app-db`.\n","type":"string"},"datas":{"items":{"$ref":"#/types/planetscale:index%2FgetVitessBackupPoliciesData:getVitessBackupPoliciesData"},"type":"array"},"id":{"description":"The provider-assigned unique ID for this managed resource.","type":"string"},"organization":{"description":"Organization name slug from <span pulumi-lang-nodejs=\"`listOrganizations`\" pulumi-lang-dotnet=\"`ListOrganizations`\" pulumi-lang-go=\"`listOrganizations`\" pulumi-lang-python=\"`list_organizations`\" pulumi-lang-yaml=\"`listOrganizations`\" pulumi-lang-java=\"`listOrganizations`\">`list_organizations`</span>. Example: <span pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\">`acme`</span>.\n","type":"string"}},"required":["database","datas","id","organization"],"type":"object"}},"planetscale:index/getVitessBackupPolicy:getVitessBackupPolicy":{"description":"VitessBackupPolicy DataSource\n\n## Example Usage\n\n<!--Start PulumiCodeChooser -->\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as planetscale from \"@pulumi/planetscale\";\n\nconst myVitessbackuppolicy = planetscale.getVitessBackupPolicy({\n    database: \"...my_database...\",\n    id: \"...my_id...\",\n    organization: \"...my_organization...\",\n});\n```\n```python\nimport pulumi\nimport pulumi_planetscale as planetscale\n\nmy_vitessbackuppolicy = planetscale.get_vitess_backup_policy(database=\"...my_database...\",\n    id=\"...my_id...\",\n    organization=\"...my_organization...\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Planetscale = Pulumi.Planetscale;\n\nreturn await Deployment.RunAsync(() => \n{\n    var myVitessbackuppolicy = Planetscale.GetVitessBackupPolicy.Invoke(new()\n    {\n        Database = \"...my_database...\",\n        Id = \"...my_id...\",\n        Organization = \"...my_organization...\",\n    });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-terraform-provider/sdks/go/planetscale/planetscale\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := planetscale.LookupVitessBackupPolicy(ctx, &planetscale.LookupVitessBackupPolicyArgs{\n\t\t\tDatabase:     \"...my_database...\",\n\t\t\tId:           \"...my_id...\",\n\t\t\tOrganization: \"...my_organization...\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.planetscale.PlanetscaleFunctions;\nimport com.pulumi.planetscale.inputs.GetVitessBackupPolicyArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n    public static void main(String[] args) {\n        Pulumi.run(App::stack);\n    }\n\n    public static void stack(Context ctx) {\n        final var myVitessbackuppolicy = PlanetscaleFunctions.getVitessBackupPolicy(GetVitessBackupPolicyArgs.builder()\n            .database(\"...my_database...\")\n            .id(\"...my_id...\")\n            .organization(\"...my_organization...\")\n            .build());\n\n    }\n}\n```\n```yaml\nvariables:\n  myVitessbackuppolicy:\n    fn::invoke:\n      function: planetscale:getVitessBackupPolicy\n      arguments:\n        database: '...my_database...'\n        id: '...my_id...'\n        organization: '...my_organization...'\n```\n<!--End PulumiCodeChooser -->\n","inputs":{"description":"A collection of arguments for invoking getVitessBackupPolicy.\n","properties":{"database":{"description":"Database name slug from <span pulumi-lang-nodejs=\"`listDatabases`\" pulumi-lang-dotnet=\"`ListDatabases`\" pulumi-lang-go=\"`listDatabases`\" pulumi-lang-python=\"`list_databases`\" pulumi-lang-yaml=\"`listDatabases`\" pulumi-lang-java=\"`listDatabases`\">`list_databases`</span>. Example: `app-db`.\n","type":"string"},"id":{"description":"The ID of the backup policy\n","type":"string"},"organization":{"description":"Organization name slug from <span pulumi-lang-nodejs=\"`listOrganizations`\" pulumi-lang-dotnet=\"`ListOrganizations`\" pulumi-lang-go=\"`listOrganizations`\" pulumi-lang-python=\"`list_organizations`\" pulumi-lang-yaml=\"`listOrganizations`\" pulumi-lang-java=\"`listOrganizations`\">`list_organizations`</span>. Example: <span pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\">`acme`</span>.\n","type":"string"}},"required":["database","id","organization"],"type":"object"},"outputs":{"description":"A collection of values returned by getVitessBackupPolicy.\n","properties":{"database":{"description":"Database name slug from <span pulumi-lang-nodejs=\"`listDatabases`\" pulumi-lang-dotnet=\"`ListDatabases`\" pulumi-lang-go=\"`listDatabases`\" pulumi-lang-python=\"`list_databases`\" pulumi-lang-yaml=\"`listDatabases`\" pulumi-lang-java=\"`listDatabases`\">`list_databases`</span>. Example: `app-db`.\n","type":"string"},"displayName":{"description":"The display name of the backup policy\n","type":"string"},"frequencyUnit":{"description":"The unit for the frequency of the backup policy\n","type":"string"},"frequencyValue":{"description":"A number value for the frequency of the backup policy\n","type":"number"},"id":{"description":"The ID of the backup policy\n","type":"string"},"name":{"description":"The name of the backup policy\n","type":"string"},"organization":{"description":"Organization name slug from <span pulumi-lang-nodejs=\"`listOrganizations`\" pulumi-lang-dotnet=\"`ListOrganizations`\" pulumi-lang-go=\"`listOrganizations`\" pulumi-lang-python=\"`list_organizations`\" pulumi-lang-yaml=\"`listOrganizations`\" pulumi-lang-java=\"`listOrganizations`\">`list_organizations`</span>. Example: <span pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\">`acme`</span>.\n","type":"string"},"retentionUnit":{"description":"The unit for the retention period of the backup policy\n","type":"string"},"retentionValue":{"description":"A number value for the retention period of the backup policy\n","type":"number"},"scheduleDay":{"description":"Day of the week that the backup is scheduled. 0 is Sunday, 6 is Saturday\n","type":"number"},"scheduleTime":{"description":"The time of day that the backup is scheduled, in HH:MM format\n","type":"string"},"scheduleWeek":{"description":"Week of the month that the backup is scheduled. 0 is the first week, 3 is the fourth week\n","type":"number"},"target":{"description":"Whether the policy is for production or development branches\n","type":"string"}},"required":["database","displayName","frequencyUnit","frequencyValue","id","name","organization","retentionUnit","retentionValue","scheduleDay","scheduleTime","scheduleWeek","target"],"type":"object"}},"planetscale:index/getVitessBranch:getVitessBranch":{"description":"VitessBranch DataSource\n\n## Example Usage\n\n<!--Start PulumiCodeChooser -->\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as planetscale from \"@pulumi/planetscale\";\n\nconst myVitessbranch = planetscale.getVitessBranch({\n    database: \"...my_database...\",\n    id: \"...my_id...\",\n    organization: \"...my_organization...\",\n});\n```\n```python\nimport pulumi\nimport pulumi_planetscale as planetscale\n\nmy_vitessbranch = planetscale.get_vitess_branch(database=\"...my_database...\",\n    id=\"...my_id...\",\n    organization=\"...my_organization...\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Planetscale = Pulumi.Planetscale;\n\nreturn await Deployment.RunAsync(() => \n{\n    var myVitessbranch = Planetscale.GetVitessBranch.Invoke(new()\n    {\n        Database = \"...my_database...\",\n        Id = \"...my_id...\",\n        Organization = \"...my_organization...\",\n    });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-terraform-provider/sdks/go/planetscale/planetscale\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := planetscale.LookupVitessBranch(ctx, &planetscale.LookupVitessBranchArgs{\n\t\t\tDatabase:     \"...my_database...\",\n\t\t\tId:           \"...my_id...\",\n\t\t\tOrganization: \"...my_organization...\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.planetscale.PlanetscaleFunctions;\nimport com.pulumi.planetscale.inputs.GetVitessBranchArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n    public static void main(String[] args) {\n        Pulumi.run(App::stack);\n    }\n\n    public static void stack(Context ctx) {\n        final var myVitessbranch = PlanetscaleFunctions.getVitessBranch(GetVitessBranchArgs.builder()\n            .database(\"...my_database...\")\n            .id(\"...my_id...\")\n            .organization(\"...my_organization...\")\n            .build());\n\n    }\n}\n```\n```yaml\nvariables:\n  myVitessbranch:\n    fn::invoke:\n      function: planetscale:getVitessBranch\n      arguments:\n        database: '...my_database...'\n        id: '...my_id...'\n        organization: '...my_organization...'\n```\n<!--End PulumiCodeChooser -->\n","inputs":{"description":"A collection of arguments for invoking getVitessBranch.\n","properties":{"database":{"description":"Database name slug from <span pulumi-lang-nodejs=\"`listDatabases`\" pulumi-lang-dotnet=\"`ListDatabases`\" pulumi-lang-go=\"`listDatabases`\" pulumi-lang-python=\"`list_databases`\" pulumi-lang-yaml=\"`listDatabases`\" pulumi-lang-java=\"`listDatabases`\">`list_databases`</span>. Example: `app-db`.\n","type":"string"},"id":{"description":"The ID of the branch\n","type":"string"},"organization":{"description":"Organization name slug from <span pulumi-lang-nodejs=\"`listOrganizations`\" pulumi-lang-dotnet=\"`ListOrganizations`\" pulumi-lang-go=\"`listOrganizations`\" pulumi-lang-python=\"`list_organizations`\" pulumi-lang-yaml=\"`listOrganizations`\" pulumi-lang-java=\"`listOrganizations`\">`list_organizations`</span>. Example: <span pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\">`acme`</span>.\n","type":"string"}},"required":["database","id","organization"],"type":"object"},"outputs":{"description":"A collection of values returned by getVitessBranch.\n","properties":{"actor":{"$ref":"#/types/planetscale:index%2FgetVitessBranchActor:getVitessBranchActor"},"clusterSize":{"description":"The SKU representing the branch's cluster size\n","type":"string"},"database":{"description":"Database name slug from <span pulumi-lang-nodejs=\"`listDatabases`\" pulumi-lang-dotnet=\"`ListDatabases`\" pulumi-lang-go=\"`listDatabases`\" pulumi-lang-python=\"`list_databases`\" pulumi-lang-yaml=\"`listDatabases`\" pulumi-lang-java=\"`listDatabases`\">`list_databases`</span>. Example: `app-db`.\n","type":"string"},"deletionProtected":{"description":"Whether deletion protection is enabled for the branch\n","type":"boolean"},"htmlUrl":{"description":"Planetscale app URL for the branch\n","type":"string"},"id":{"description":"The ID of the branch\n","type":"string"},"keyspaceCount":{"description":"The number of keyspaces in the branch\n","type":"number"},"mysqlAddress":{"description":"The MySQL address for the branch\n","type":"string"},"mysqlEdgeAddress":{"description":"The address of the MySQL provider for the branch\n","type":"string"},"name":{"description":"The name of the branch\n","type":"string"},"organization":{"description":"Organization name slug from <span pulumi-lang-nodejs=\"`listOrganizations`\" pulumi-lang-dotnet=\"`ListOrganizations`\" pulumi-lang-go=\"`listOrganizations`\" pulumi-lang-python=\"`list_organizations`\" pulumi-lang-yaml=\"`listOrganizations`\" pulumi-lang-java=\"`listOrganizations`\">`list_organizations`</span>. Example: <span pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\">`acme`</span>.\n","type":"string"},"parameters":{"additionalProperties":{"additionalProperties":{"type":"string"},"type":"object"},"description":"VTGate parameter overrides, nested under the <span pulumi-lang-nodejs=\"`vtgate`\" pulumi-lang-dotnet=\"`Vtgate`\" pulumi-lang-go=\"`vtgate`\" pulumi-lang-python=\"`vtgate`\" pulumi-lang-yaml=\"`vtgate`\" pulumi-lang-java=\"`vtgate`\">`vtgate`</span> namespace. Values are strings in the API's format: byte sizes as plain integers and durations such as <span pulumi-lang-nodejs=\"`30s`\" pulumi-lang-dotnet=\"`30s`\" pulumi-lang-go=\"`30s`\" pulumi-lang-python=\"`30s`\" pulumi-lang-yaml=\"`30s`\" pulumi-lang-java=\"`30s`\">`30s`</span>.\n","type":"object"},"parentBranch":{"description":"The name of the parent branch from which the branch was created\n","type":"string"},"ready":{"description":"Whether or not the branch is ready to serve queries\n","type":"boolean"},"regionData":{"$ref":"#/types/planetscale:index%2FgetVitessBranchRegionData:getVitessBranchRegionData"},"safeMigrations":{"description":"Whether or not the branch has safe migrations enabled\n","type":"boolean"},"state":{"description":"The current state of the branch\n","type":"string"},"url":{"description":"Planetscale API URL for the branch\n","type":"string"},"vtgateAutoscaling":{"description":"Whether VTGate autoscaling is enabled\n","type":"boolean"},"vtgateCount":{"description":"The number of vtgate instances in the branch\n","type":"number"},"vtgateMaxCount":{"description":"The maximum number of VTGate instances when autoscaling is enabled\n","type":"number"},"vtgateSize":{"description":"The public SKU representing the VTGate size\n","type":"string"},"vtgateTargetCpuUtilization":{"description":"The target CPU utilization for VTGate autoscaling\n","type":"number"}},"required":["actor","clusterSize","database","deletionProtected","htmlUrl","id","keyspaceCount","mysqlAddress","mysqlEdgeAddress","name","organization","parameters","parentBranch","ready","regionData","safeMigrations","state","url","vtgateAutoscaling","vtgateCount","vtgateMaxCount","vtgateSize","vtgateTargetCpuUtilization"],"type":"object"}},"planetscale:index/getVitessBranchBackup:getVitessBranchBackup":{"description":"VitessBranchBackup DataSource\n\n## Example Usage\n\n<!--Start PulumiCodeChooser -->\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as planetscale from \"@pulumi/planetscale\";\n\nconst myVitessbranchbackup = planetscale.getVitessBranchBackup({\n    branch: \"...my_branch...\",\n    database: \"...my_database...\",\n    id: \"...my_id...\",\n    organization: \"...my_organization...\",\n});\n```\n```python\nimport pulumi\nimport pulumi_planetscale as planetscale\n\nmy_vitessbranchbackup = planetscale.get_vitess_branch_backup(branch=\"...my_branch...\",\n    database=\"...my_database...\",\n    id=\"...my_id...\",\n    organization=\"...my_organization...\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Planetscale = Pulumi.Planetscale;\n\nreturn await Deployment.RunAsync(() => \n{\n    var myVitessbranchbackup = Planetscale.GetVitessBranchBackup.Invoke(new()\n    {\n        Branch = \"...my_branch...\",\n        Database = \"...my_database...\",\n        Id = \"...my_id...\",\n        Organization = \"...my_organization...\",\n    });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-terraform-provider/sdks/go/planetscale/planetscale\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := planetscale.LookupVitessBranchBackup(ctx, &planetscale.LookupVitessBranchBackupArgs{\n\t\t\tBranch:       \"...my_branch...\",\n\t\t\tDatabase:     \"...my_database...\",\n\t\t\tId:           \"...my_id...\",\n\t\t\tOrganization: \"...my_organization...\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.planetscale.PlanetscaleFunctions;\nimport com.pulumi.planetscale.inputs.GetVitessBranchBackupArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n    public static void main(String[] args) {\n        Pulumi.run(App::stack);\n    }\n\n    public static void stack(Context ctx) {\n        final var myVitessbranchbackup = PlanetscaleFunctions.getVitessBranchBackup(GetVitessBranchBackupArgs.builder()\n            .branch(\"...my_branch...\")\n            .database(\"...my_database...\")\n            .id(\"...my_id...\")\n            .organization(\"...my_organization...\")\n            .build());\n\n    }\n}\n```\n```yaml\nvariables:\n  myVitessbranchbackup:\n    fn::invoke:\n      function: planetscale:getVitessBranchBackup\n      arguments:\n        branch: '...my_branch...'\n        database: '...my_database...'\n        id: '...my_id...'\n        organization: '...my_organization...'\n```\n<!--End PulumiCodeChooser -->\n","inputs":{"description":"A collection of arguments for invoking getVitessBranchBackup.\n","properties":{"branch":{"description":"The name of the branch\n","type":"string"},"database":{"description":"The name of the database the branch belongs to\n","type":"string"},"id":{"description":"The ID of the backup\n","type":"string"},"organization":{"description":"The name of the organization the branch belongs to\n","type":"string"}},"required":["branch","database","id","organization"],"type":"object"},"outputs":{"description":"A collection of values returned by getVitessBranchBackup.\n","properties":{"actor":{"$ref":"#/types/planetscale:index%2FgetVitessBranchBackupActor:getVitessBranchBackupActor"},"backupPolicy":{"$ref":"#/types/planetscale:index%2FgetVitessBranchBackupBackupPolicy:getVitessBranchBackupBackupPolicy"},"branch":{"description":"The name of the branch\n","type":"string"},"completedAt":{"description":"When the backup completed\n","type":"string"},"database":{"description":"The name of the database the branch belongs to\n","type":"string"},"databaseBranch":{"$ref":"#/types/planetscale:index%2FgetVitessBranchBackupDatabaseBranch:getVitessBranchBackupDatabaseBranch"},"deletedAt":{"description":"When the backup was deleted\n","type":"string"},"estimatedStorageCost":{"description":"The estimated storage cost of the backup\n","type":"number"},"expiresAt":{"description":"When the backup expires\n","type":"string"},"id":{"description":"The ID of the backup\n","type":"string"},"name":{"description":"The name of the backup\n","type":"string"},"organization":{"description":"The name of the organization the branch belongs to\n","type":"string"},"protected":{"description":"Whether or not the backup is protected from deletion\n","type":"boolean"},"pvcSize":{"description":"Size of the PVC used for the backup\n","type":"number"},"size":{"description":"The size of the backup in bytes\n","type":"number"},"startedAt":{"description":"When the backup started\n","type":"string"},"state":{"description":"The current state of the backup\n","type":"string"},"uncompressedSize":{"description":"The uncompressed (logical) size of the backup in bytes\n","type":"number"}},"required":["actor","backupPolicy","branch","completedAt","database","databaseBranch","deletedAt","estimatedStorageCost","expiresAt","id","name","organization","protected","pvcSize","size","startedAt","state","uncompressedSize"],"type":"object"}},"planetscale:index/getVitessBranchBackups:getVitessBranchBackups":{"description":"VitessBranchBackups DataSource\n\n## Example Usage\n\n<!--Start PulumiCodeChooser -->\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as planetscale from \"@pulumi/planetscale\";\n\nconst myVitessbranchbackups = planetscale.getVitessBranchBackups({\n    all: true,\n    branch: \"...my_branch...\",\n    database: \"...my_database...\",\n    from: \"...my_from...\",\n    organization: \"...my_organization...\",\n    policy: \"...my_policy...\",\n    production: true,\n    runningAt: \"...my_running_at...\",\n    state: \"ignored\",\n    to: \"...my_to...\",\n});\n```\n```python\nimport pulumi\nimport pulumi_planetscale as planetscale\n\nmy_vitessbranchbackups = planetscale.get_vitess_branch_backups(all=True,\n    branch=\"...my_branch...\",\n    database=\"...my_database...\",\n    from_=\"...my_from...\",\n    organization=\"...my_organization...\",\n    policy=\"...my_policy...\",\n    production=True,\n    running_at=\"...my_running_at...\",\n    state=\"ignored\",\n    to=\"...my_to...\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Planetscale = Pulumi.Planetscale;\n\nreturn await Deployment.RunAsync(() => \n{\n    var myVitessbranchbackups = Planetscale.GetVitessBranchBackups.Invoke(new()\n    {\n        All = true,\n        Branch = \"...my_branch...\",\n        Database = \"...my_database...\",\n        From = \"...my_from...\",\n        Organization = \"...my_organization...\",\n        Policy = \"...my_policy...\",\n        Production = true,\n        RunningAt = \"...my_running_at...\",\n        State = \"ignored\",\n        To = \"...my_to...\",\n    });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-terraform-provider/sdks/go/planetscale/planetscale\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := planetscale.GetVitessBranchBackups(ctx, &planetscale.GetVitessBranchBackupsArgs{\n\t\t\tAll:          pulumi.BoolRef(true),\n\t\t\tBranch:       \"...my_branch...\",\n\t\t\tDatabase:     \"...my_database...\",\n\t\t\tFrom:         pulumi.StringRef(\"...my_from...\"),\n\t\t\tOrganization: \"...my_organization...\",\n\t\t\tPolicy:       pulumi.StringRef(\"...my_policy...\"),\n\t\t\tProduction:   pulumi.BoolRef(true),\n\t\t\tRunningAt:    pulumi.StringRef(\"...my_running_at...\"),\n\t\t\tState:        pulumi.StringRef(\"ignored\"),\n\t\t\tTo:           pulumi.StringRef(\"...my_to...\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.planetscale.PlanetscaleFunctions;\nimport com.pulumi.planetscale.inputs.GetVitessBranchBackupsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n    public static void main(String[] args) {\n        Pulumi.run(App::stack);\n    }\n\n    public static void stack(Context ctx) {\n        final var myVitessbranchbackups = PlanetscaleFunctions.getVitessBranchBackups(GetVitessBranchBackupsArgs.builder()\n            .all(true)\n            .branch(\"...my_branch...\")\n            .database(\"...my_database...\")\n            .from(\"...my_from...\")\n            .organization(\"...my_organization...\")\n            .policy(\"...my_policy...\")\n            .production(true)\n            .runningAt(\"...my_running_at...\")\n            .state(\"ignored\")\n            .to(\"...my_to...\")\n            .build());\n\n    }\n}\n```\n```yaml\nvariables:\n  myVitessbranchbackups:\n    fn::invoke:\n      function: planetscale:getVitessBranchBackups\n      arguments:\n        all: true\n        branch: '...my_branch...'\n        database: '...my_database...'\n        from: '...my_from...'\n        organization: '...my_organization...'\n        policy: '...my_policy...'\n        production: true\n        runningAt: '...my_running_at...'\n        state: ignored\n        to: '...my_to...'\n```\n<!--End PulumiCodeChooser -->\n","inputs":{"description":"A collection of arguments for invoking getVitessBranchBackups.\n","properties":{"all":{"description":"Whether to include all backups, including deleted ones\n","type":"boolean"},"branch":{"description":"The name of the branch\n","type":"string"},"database":{"description":"The name of the database the branch belongs to\n","type":"string"},"from":{"description":"Filter backups started after this date (e.g. 2023-01-01T00:00:00Z)\n","type":"string"},"organization":{"description":"The name of the organization the branch belongs to\n","type":"string"},"policy":{"description":"Filter backups by backup policy ID\n","type":"string"},"production":{"description":"Filter backups by production branch\n","type":"boolean"},"runningAt":{"description":"Filter backups that are running during a specific time (e.g. 2023-01-01T00:00:00Z..2023-01-01T23:59:59Z)\n","type":"string"},"state":{"description":"Filter backups by state. must be one of [\"pending\", \"running\", \"success\", \"failed\", \"canceled\", \"ignored\"]\n","type":"string"},"to":{"description":"Filter backups started before this date (e.g. 2023-01-31T23:59:59Z)\n","type":"string"}},"required":["branch","database","organization"],"type":"object"},"outputs":{"description":"A collection of values returned by getVitessBranchBackups.\n","properties":{"all":{"description":"Whether to include all backups, including deleted ones\n","type":"boolean"},"branch":{"description":"The name of the branch\n","type":"string"},"database":{"description":"The name of the database the branch belongs to\n","type":"string"},"datas":{"items":{"$ref":"#/types/planetscale:index%2FgetVitessBranchBackupsData:getVitessBranchBackupsData"},"type":"array"},"from":{"description":"Filter backups started after this date (e.g. 2023-01-01T00:00:00Z)\n","type":"string"},"id":{"description":"The provider-assigned unique ID for this managed resource.","type":"string"},"organization":{"description":"The name of the organization the branch belongs to\n","type":"string"},"policy":{"description":"Filter backups by backup policy ID\n","type":"string"},"production":{"description":"Filter backups by production branch\n","type":"boolean"},"runningAt":{"description":"Filter backups that are running during a specific time (e.g. 2023-01-01T00:00:00Z..2023-01-01T23:59:59Z)\n","type":"string"},"state":{"description":"Filter backups by state. must be one of [\"pending\", \"running\", \"success\", \"failed\", \"canceled\", \"ignored\"]\n","type":"string"},"to":{"description":"Filter backups started before this date (e.g. 2023-01-31T23:59:59Z)\n","type":"string"}},"required":["branch","database","datas","id","organization"],"type":"object"}},"planetscale:index/getVitessBranchPassword:getVitessBranchPassword":{"description":"VitessBranchPassword DataSource\n\n## Example Usage\n\n<!--Start PulumiCodeChooser -->\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as planetscale from \"@pulumi/planetscale\";\n\nconst myVitessbranchpassword = planetscale.getVitessBranchPassword({\n    branch: \"...my_branch...\",\n    database: \"...my_database...\",\n    id: \"...my_id...\",\n    organization: \"...my_organization...\",\n});\n```\n```python\nimport pulumi\nimport pulumi_planetscale as planetscale\n\nmy_vitessbranchpassword = planetscale.get_vitess_branch_password(branch=\"...my_branch...\",\n    database=\"...my_database...\",\n    id=\"...my_id...\",\n    organization=\"...my_organization...\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Planetscale = Pulumi.Planetscale;\n\nreturn await Deployment.RunAsync(() => \n{\n    var myVitessbranchpassword = Planetscale.GetVitessBranchPassword.Invoke(new()\n    {\n        Branch = \"...my_branch...\",\n        Database = \"...my_database...\",\n        Id = \"...my_id...\",\n        Organization = \"...my_organization...\",\n    });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-terraform-provider/sdks/go/planetscale/planetscale\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := planetscale.LookupVitessBranchPassword(ctx, &planetscale.LookupVitessBranchPasswordArgs{\n\t\t\tBranch:       \"...my_branch...\",\n\t\t\tDatabase:     \"...my_database...\",\n\t\t\tId:           \"...my_id...\",\n\t\t\tOrganization: \"...my_organization...\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.planetscale.PlanetscaleFunctions;\nimport com.pulumi.planetscale.inputs.GetVitessBranchPasswordArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n    public static void main(String[] args) {\n        Pulumi.run(App::stack);\n    }\n\n    public static void stack(Context ctx) {\n        final var myVitessbranchpassword = PlanetscaleFunctions.getVitessBranchPassword(GetVitessBranchPasswordArgs.builder()\n            .branch(\"...my_branch...\")\n            .database(\"...my_database...\")\n            .id(\"...my_id...\")\n            .organization(\"...my_organization...\")\n            .build());\n\n    }\n}\n```\n```yaml\nvariables:\n  myVitessbranchpassword:\n    fn::invoke:\n      function: planetscale:getVitessBranchPassword\n      arguments:\n        branch: '...my_branch...'\n        database: '...my_database...'\n        id: '...my_id...'\n        organization: '...my_organization...'\n```\n<!--End PulumiCodeChooser -->\n","inputs":{"description":"A collection of arguments for invoking getVitessBranchPassword.\n","properties":{"branch":{"description":"The name of the branch the password belongs to\n","type":"string"},"database":{"description":"The name of the database the password belongs to\n","type":"string"},"id":{"description":"The ID for the password\n","type":"string"},"organization":{"description":"The name of the organization the password belongs to\n","type":"string"}},"required":["branch","database","id","organization"],"type":"object"},"outputs":{"description":"A collection of values returned by getVitessBranchPassword.\n","properties":{"accessHostRegionalUrl":{"description":"The regional host URL\n","type":"string"},"accessHostRegionalUrls":{"description":"The read-only replica host URLs\n","items":{"type":"string"},"type":"array"},"accessHostUrl":{"description":"The host URL for the password\n","type":"string"},"actor":{"$ref":"#/types/planetscale:index%2FgetVitessBranchPasswordActor:getVitessBranchPasswordActor"},"branch":{"description":"The name of the branch the password belongs to\n","type":"string"},"cidrs":{"description":"List of IP addresses or CIDR ranges that can use this password\n","items":{"type":"string"},"type":"array"},"createdAt":{"description":"When the password was created\n","type":"string"},"database":{"description":"The name of the database the password belongs to\n","type":"string"},"databaseBranch":{"$ref":"#/types/planetscale:index%2FgetVitessBranchPasswordDatabaseBranch:getVitessBranchPasswordDatabaseBranch"},"deletedAt":{"description":"When the password was deleted\n","type":"string"},"directVtgate":{"description":"True if the credentials connect directly to a vtgate, bypassing load balancers\n","type":"boolean"},"directVtgateAddresses":{"description":"The list of hosts in each availability zone providing direct access to a vtgate\n","items":{"type":"string"},"type":"array"},"expired":{"description":"True if the credentials are expired\n","type":"boolean"},"expiresAt":{"description":"When the password will expire\n","type":"string"},"id":{"description":"The ID for the password\n","type":"string"},"lastUsedAt":{"description":"When the password was last used to execute a query\n","type":"string"},"name":{"description":"The display name for the password\n","type":"string"},"organization":{"description":"The name of the organization the password belongs to\n","type":"string"},"region":{"$ref":"#/types/planetscale:index%2FgetVitessBranchPasswordRegion:getVitessBranchPasswordRegion"},"renewable":{"description":"Whether or not the password can be renewed\n","type":"boolean"},"replica":{"description":"Whether or not the password is for a read replica\n","type":"boolean"},"role":{"description":"The role for the password\n","type":"string"},"ttlSeconds":{"description":"Time to live (in seconds) for the password. The password will be invalid when TTL has passed\n","type":"number"},"username":{"description":"The username for the password\n","type":"string"}},"required":["accessHostRegionalUrl","accessHostRegionalUrls","accessHostUrl","actor","branch","cidrs","createdAt","database","databaseBranch","deletedAt","directVtgate","directVtgateAddresses","expired","expiresAt","id","lastUsedAt","name","organization","region","renewable","replica","role","ttlSeconds","username"],"type":"object"}},"planetscale:index/getVitessBranchPasswords:getVitessBranchPasswords":{"description":"VitessBranchPasswords DataSource\n\n## Example Usage\n\n<!--Start PulumiCodeChooser -->\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as planetscale from \"@pulumi/planetscale\";\n\nconst myVitessbranchpasswords = planetscale.getVitessBranchPasswords({\n    branch: \"...my_branch...\",\n    database: \"...my_database...\",\n    organization: \"...my_organization...\",\n    q: \"...my_q...\",\n    readOnlyRegionId: \"...my_read_only_region_id...\",\n    status: \"...my_status...\",\n});\n```\n```python\nimport pulumi\nimport pulumi_planetscale as planetscale\n\nmy_vitessbranchpasswords = planetscale.get_vitess_branch_passwords(branch=\"...my_branch...\",\n    database=\"...my_database...\",\n    organization=\"...my_organization...\",\n    q=\"...my_q...\",\n    read_only_region_id=\"...my_read_only_region_id...\",\n    status=\"...my_status...\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Planetscale = Pulumi.Planetscale;\n\nreturn await Deployment.RunAsync(() => \n{\n    var myVitessbranchpasswords = Planetscale.GetVitessBranchPasswords.Invoke(new()\n    {\n        Branch = \"...my_branch...\",\n        Database = \"...my_database...\",\n        Organization = \"...my_organization...\",\n        Q = \"...my_q...\",\n        ReadOnlyRegionId = \"...my_read_only_region_id...\",\n        Status = \"...my_status...\",\n    });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-terraform-provider/sdks/go/planetscale/planetscale\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := planetscale.GetVitessBranchPasswords(ctx, &planetscale.GetVitessBranchPasswordsArgs{\n\t\t\tBranch:           \"...my_branch...\",\n\t\t\tDatabase:         \"...my_database...\",\n\t\t\tOrganization:     \"...my_organization...\",\n\t\t\tQ:                pulumi.StringRef(\"...my_q...\"),\n\t\t\tReadOnlyRegionId: pulumi.StringRef(\"...my_read_only_region_id...\"),\n\t\t\tStatus:           pulumi.StringRef(\"...my_status...\"),\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.planetscale.PlanetscaleFunctions;\nimport com.pulumi.planetscale.inputs.GetVitessBranchPasswordsArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n    public static void main(String[] args) {\n        Pulumi.run(App::stack);\n    }\n\n    public static void stack(Context ctx) {\n        final var myVitessbranchpasswords = PlanetscaleFunctions.getVitessBranchPasswords(GetVitessBranchPasswordsArgs.builder()\n            .branch(\"...my_branch...\")\n            .database(\"...my_database...\")\n            .organization(\"...my_organization...\")\n            .q(\"...my_q...\")\n            .readOnlyRegionId(\"...my_read_only_region_id...\")\n            .status(\"...my_status...\")\n            .build());\n\n    }\n}\n```\n```yaml\nvariables:\n  myVitessbranchpasswords:\n    fn::invoke:\n      function: planetscale:getVitessBranchPasswords\n      arguments:\n        branch: '...my_branch...'\n        database: '...my_database...'\n        organization: '...my_organization...'\n        q: '...my_q...'\n        readOnlyRegionId: '...my_read_only_region_id...'\n        status: '...my_status...'\n```\n<!--End PulumiCodeChooser -->\n","inputs":{"description":"A collection of arguments for invoking getVitessBranchPasswords.\n","properties":{"branch":{"description":"The name of the branch the password belongs to\n","type":"string"},"database":{"description":"The name of the database the password belongs to\n","type":"string"},"organization":{"description":"The name of the organization the password belongs to\n","type":"string"},"q":{"description":"Search passwords by name\n","type":"string"},"readOnlyRegionId":{"description":"A read-only region of the database branch. If present, the password results will be filtered to only those in the region\n","type":"string"},"status":{"description":"Filter passwords by status\n","type":"string"}},"required":["branch","database","organization"],"type":"object"},"outputs":{"description":"A collection of values returned by getVitessBranchPasswords.\n","properties":{"branch":{"description":"The name of the branch the password belongs to\n","type":"string"},"database":{"description":"The name of the database the password belongs to\n","type":"string"},"datas":{"items":{"$ref":"#/types/planetscale:index%2FgetVitessBranchPasswordsData:getVitessBranchPasswordsData"},"type":"array"},"id":{"description":"The provider-assigned unique ID for this managed resource.","type":"string"},"organization":{"description":"The name of the organization the password belongs to\n","type":"string"},"q":{"description":"Search passwords by name\n","type":"string"},"readOnlyRegionId":{"description":"A read-only region of the database branch. If present, the password results will be filtered to only those in the region\n","type":"string"},"status":{"description":"Filter passwords by status\n","type":"string"},"type":{"description":"The response type. Always \"list\" for paginated responses.\n","type":"string"}},"required":["branch","database","datas","id","organization","type"],"type":"object"}},"planetscale:index/getVitessKeyspace:getVitessKeyspace":{"description":"VitessKeyspace DataSource\n\n## Example Usage\n\n<!--Start PulumiCodeChooser -->\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as planetscale from \"@pulumi/planetscale\";\n\nconst myVitesskeyspace = planetscale.getVitessKeyspace({\n    branch: \"...my_branch...\",\n    database: \"...my_database...\",\n    name: \"...my_name...\",\n    organization: \"...my_organization...\",\n});\n```\n```python\nimport pulumi\nimport pulumi_planetscale as planetscale\n\nmy_vitesskeyspace = planetscale.get_vitess_keyspace(branch=\"...my_branch...\",\n    database=\"...my_database...\",\n    name=\"...my_name...\",\n    organization=\"...my_organization...\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Planetscale = Pulumi.Planetscale;\n\nreturn await Deployment.RunAsync(() => \n{\n    var myVitesskeyspace = Planetscale.GetVitessKeyspace.Invoke(new()\n    {\n        Branch = \"...my_branch...\",\n        Database = \"...my_database...\",\n        Name = \"...my_name...\",\n        Organization = \"...my_organization...\",\n    });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-terraform-provider/sdks/go/planetscale/planetscale\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := planetscale.LookupVitessKeyspace(ctx, &planetscale.LookupVitessKeyspaceArgs{\n\t\t\tBranch:       \"...my_branch...\",\n\t\t\tDatabase:     \"...my_database...\",\n\t\t\tName:         \"...my_name...\",\n\t\t\tOrganization: \"...my_organization...\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.planetscale.PlanetscaleFunctions;\nimport com.pulumi.planetscale.inputs.GetVitessKeyspaceArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n    public static void main(String[] args) {\n        Pulumi.run(App::stack);\n    }\n\n    public static void stack(Context ctx) {\n        final var myVitesskeyspace = PlanetscaleFunctions.getVitessKeyspace(GetVitessKeyspaceArgs.builder()\n            .branch(\"...my_branch...\")\n            .database(\"...my_database...\")\n            .name(\"...my_name...\")\n            .organization(\"...my_organization...\")\n            .build());\n\n    }\n}\n```\n```yaml\nvariables:\n  myVitesskeyspace:\n    fn::invoke:\n      function: planetscale:getVitessKeyspace\n      arguments:\n        branch: '...my_branch...'\n        database: '...my_database...'\n        name: '...my_name...'\n        organization: '...my_organization...'\n```\n<!--End PulumiCodeChooser -->\n","inputs":{"description":"A collection of arguments for invoking getVitessKeyspace.\n","properties":{"branch":{"description":"The name of the branch\n","type":"string"},"database":{"description":"The name of the database the branch belongs to\n","type":"string"},"name":{"description":"Name of the keyspace\n","type":"string"},"organization":{"description":"The name of the organization the branch belongs to\n","type":"string"}},"required":["branch","database","name","organization"],"type":"object"},"outputs":{"description":"A collection of values returned by getVitessKeyspace.\n","properties":{"branch":{"description":"The name of the branch\n","type":"string"},"clusterDisplayName":{"description":"The SKU representing the keyspace cluster size for display\n","type":"string"},"clusterSize":{"description":"The database cluster size name (e.g., `PS_10`, `PS_80`). Updates in place via a keyspace resize.\n","type":"string"},"configChangeInProgress":{"description":"Is the keyspace undergoing a config change\n","type":"boolean"},"createdAt":{"description":"When the keyspace was created\n","type":"string"},"database":{"description":"The name of the database the branch belongs to\n","type":"string"},"extraReplicas":{"description":"The number of additional replicas beyond the included default. Updates in place via a keyspace resize.\n","type":"number"},"id":{"description":"The ID of the keyspace\n","type":"string"},"imported":{"description":"Is this keyspace used in an import\n","type":"boolean"},"isDefault":{"description":"True when this is the branch's default keyspace (usually created with the branch). Import that keyspace to manage its size, replicas, or parameters; do not try to create it with this resource.\n","type":"boolean"},"metal":{"description":"Is the keyspace running on metal instances\n","type":"boolean"},"name":{"description":"Name of the keyspace\n","type":"string"},"nodeTtlStrategy":{"description":"Controls when node TTL drains are allowed\n","type":"string"},"organization":{"description":"The name of the organization the branch belongs to\n","type":"string"},"parameters":{"additionalProperties":{"additionalProperties":{"type":"string"},"type":"object"},"description":"VTTablet and MySQL parameter overrides, nested under the <span pulumi-lang-nodejs=\"`vttablet`\" pulumi-lang-dotnet=\"`Vttablet`\" pulumi-lang-go=\"`vttablet`\" pulumi-lang-python=\"`vttablet`\" pulumi-lang-yaml=\"`vttablet`\" pulumi-lang-java=\"`vttablet`\">`vttablet`</span> and <span pulumi-lang-nodejs=\"`mysqld`\" pulumi-lang-dotnet=\"`Mysqld`\" pulumi-lang-go=\"`mysqld`\" pulumi-lang-python=\"`mysqld`\" pulumi-lang-yaml=\"`mysqld`\" pulumi-lang-java=\"`mysqld`\">`mysqld`</span> namespaces. Values are strings in the API's format: byte sizes as plain integers and durations such as <span pulumi-lang-nodejs=\"`30s`\" pulumi-lang-dotnet=\"`30s`\" pulumi-lang-go=\"`30s`\" pulumi-lang-python=\"`30s`\" pulumi-lang-yaml=\"`30s`\" pulumi-lang-java=\"`30s`\">`30s`</span>.\n","type":"object"},"ready":{"description":"Is the keyspace provisioned and serving traffic\n","type":"boolean"},"replicas":{"description":"Total number of replicas in the keyspace\n","type":"number"},"replicationDurabilityConstraints":{"$ref":"#/types/planetscale:index%2FgetVitessKeyspaceReplicationDurabilityConstraints:getVitessKeyspaceReplicationDurabilityConstraints"},"resizeInProgress":{"description":"True while any unfinished resize request exists for the keyspace. Computed for observability; apply waits on ready, resizing, resize*pending, and config*change*in*progress instead, because this flag can lag after the resize has already applied.\n","type":"boolean"},"resizePending":{"description":"True while a resize request is queued. The provider waits for this to become false after create and update.\n","type":"boolean"},"resizing":{"description":"True while the keyspace is actively resizing. The provider waits for this to become false after create and update.\n","type":"boolean"},"sharded":{"description":"If the keyspace is sharded\n","type":"boolean"},"shards":{"description":"The number of shards. Set only at create time; changing this value requires replacement.\n","type":"number"},"throttler":{"$ref":"#/types/planetscale:index%2FgetVitessKeyspaceThrottler:getVitessKeyspaceThrottler"},"updatedAt":{"description":"When the keyspace was last updated\n","type":"string"},"vectorPoolAllocation":{"description":"Percentage of buffer pool memory allocated to vector indexes\n","type":"number"},"vreplicationFlags":{"$ref":"#/types/planetscale:index%2FgetVitessKeyspaceVreplicationFlags:getVitessKeyspaceVreplicationFlags"}},"required":["branch","clusterDisplayName","clusterSize","configChangeInProgress","createdAt","database","extraReplicas","id","imported","isDefault","metal","name","nodeTtlStrategy","organization","parameters","ready","replicas","replicationDurabilityConstraints","resizeInProgress","resizePending","resizing","sharded","shards","throttler","updatedAt","vectorPoolAllocation","vreplicationFlags"],"type":"object"}},"planetscale:index/getVitessKeyspaces:getVitessKeyspaces":{"description":"List PlanetScale Vitess keyspaces on a branch. See <span pulumi-lang-nodejs=\"`planetscale.VitessKeyspace`\" pulumi-lang-dotnet=\"`planetscale.VitessKeyspace`\" pulumi-lang-go=\"`VitessKeyspace`\" pulumi-lang-python=\"`VitessKeyspace`\" pulumi-lang-yaml=\"`planetscale.VitessKeyspace`\" pulumi-lang-java=\"`planetscale.VitessKeyspace`\">`planetscale.VitessKeyspace`</span> for create, resize, and default-keyspace guidance.\n\n## Example Usage\n\n<!--Start PulumiCodeChooser -->\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as planetscale from \"@pulumi/planetscale\";\n\nconst myVitesskeyspaces = planetscale.getVitessKeyspaces({\n    branch: \"...my_branch...\",\n    database: \"...my_database...\",\n    organization: \"...my_organization...\",\n});\n```\n```python\nimport pulumi\nimport pulumi_planetscale as planetscale\n\nmy_vitesskeyspaces = planetscale.get_vitess_keyspaces(branch=\"...my_branch...\",\n    database=\"...my_database...\",\n    organization=\"...my_organization...\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Planetscale = Pulumi.Planetscale;\n\nreturn await Deployment.RunAsync(() => \n{\n    var myVitesskeyspaces = Planetscale.GetVitessKeyspaces.Invoke(new()\n    {\n        Branch = \"...my_branch...\",\n        Database = \"...my_database...\",\n        Organization = \"...my_organization...\",\n    });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-terraform-provider/sdks/go/planetscale/planetscale\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := planetscale.GetVitessKeyspaces(ctx, &planetscale.GetVitessKeyspacesArgs{\n\t\t\tBranch:       \"...my_branch...\",\n\t\t\tDatabase:     \"...my_database...\",\n\t\t\tOrganization: \"...my_organization...\",\n\t\t}, nil)\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.planetscale.PlanetscaleFunctions;\nimport com.pulumi.planetscale.inputs.GetVitessKeyspacesArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n    public static void main(String[] args) {\n        Pulumi.run(App::stack);\n    }\n\n    public static void stack(Context ctx) {\n        final var myVitesskeyspaces = PlanetscaleFunctions.getVitessKeyspaces(GetVitessKeyspacesArgs.builder()\n            .branch(\"...my_branch...\")\n            .database(\"...my_database...\")\n            .organization(\"...my_organization...\")\n            .build());\n\n    }\n}\n```\n```yaml\nvariables:\n  myVitesskeyspaces:\n    fn::invoke:\n      function: planetscale:getVitessKeyspaces\n      arguments:\n        branch: '...my_branch...'\n        database: '...my_database...'\n        organization: '...my_organization...'\n```\n<!--End PulumiCodeChooser -->\n","inputs":{"description":"A collection of arguments for invoking getVitessKeyspaces.\n","properties":{"branch":{"description":"The name of the branch\n","type":"string"},"database":{"description":"The name of the database the branch belongs to\n","type":"string"},"organization":{"description":"The name of the organization the branch belongs to\n","type":"string"}},"required":["branch","database","organization"],"type":"object"},"outputs":{"description":"A collection of values returned by getVitessKeyspaces.\n","properties":{"branch":{"description":"The name of the branch\n","type":"string"},"database":{"description":"The name of the database the branch belongs to\n","type":"string"},"datas":{"items":{"$ref":"#/types/planetscale:index%2FgetVitessKeyspacesData:getVitessKeyspacesData"},"type":"array"},"id":{"description":"The provider-assigned unique ID for this managed resource.","type":"string"},"organization":{"description":"The name of the organization the branch belongs to\n","type":"string"},"type":{"description":"The response type. Always \"list\" for paginated responses.\n","type":"string"}},"required":["branch","database","datas","id","organization","type"],"type":"object"}},"pulumi:providers:planetscale/terraformConfig":{"description":"This function returns a Terraform config object with terraform-namecased keys,to be used with the Terraform Module Provider.","inputs":{"properties":{"__self__":{"$ref":"#/resources/pulumi:providers:planetscale"}},"required":["__self__"],"type":"object"},"outputs":{"properties":{"result":{"additionalProperties":{"$ref":"pulumi.json#/Any"},"type":"object"}},"required":["result"],"type":"object"}}},"language":{"csharp":{"compatibility":"tfbridge20","liftSingleValueMethodReturns":true,"respectSchemaVersion":true},"go":{"generateExtraInputTypes":true,"importBasePath":"github.com/pulumi/pulumi-terraform-provider/sdks/go/planetscale/planetscale","liftSingleValueMethodReturns":true,"respectSchemaVersion":true,"rootPackageName":"planetscale"},"java":{"basePackage":"","buildFiles":"","gradleNexusPublishPluginVersion":"","gradleTest":""},"nodejs":{"compatibility":"tfbridge20","disableUnionOutputTypes":true,"liftSingleValueMethodReturns":true,"packageDescription":"A Pulumi provider dynamically bridged from planetscale.","readme":"> This provider is a derived work of the [Terraform Provider](https://github.com/planetscale/terraform-provider-planetscale)\n> distributed under [MPL 2.0](https://www.mozilla.org/en-US/MPL/2.0/). If you encounter a bug or missing feature,\n> please consult the source [`terraform-provider-planetscale` repo](https://github.com/planetscale/terraform-provider-planetscale/issues).","respectSchemaVersion":true},"python":{"compatibility":"tfbridge20","pyproject":{"enabled":true},"readme":"> This provider is a derived work of the [Terraform Provider](https://github.com/planetscale/terraform-provider-planetscale)\n> distributed under [MPL 2.0](https://www.mozilla.org/en-US/MPL/2.0/). If you encounter a bug or missing feature,\n> please consult the source [`terraform-provider-planetscale` repo](https://github.com/planetscale/terraform-provider-planetscale/issues).","respectSchemaVersion":true}},"meta":{"moduleFormat":"(.*)(?:/[^/]*)"},"name":"planetscale","parameterization":{"baseProvider":{"name":"terraform-provider","version":"1.0.1"},"parameter":"eyJyZW1vdGUiOnsidXJsIjoicmVnaXN0cnkub3BlbnRvZnUub3JnL3BsYW5ldHNjYWxlL3BsYW5ldHNjYWxlIiwidmVyc2lvbiI6IjEuMjAuMCJ9fQ=="},"provider":{"description":"The provider type for the planetscale package. By default, resources use package-wide configuration\nsettings, however an explicit `Provider` instance may be created and passed during resource\nconstruction to achieve fine-grained programmatic control over provider settings. See the\n[documentation](https://www.pulumi.com/docs/reference/programming-model/#providers) for more information.\n","inputProperties":{"serverUrl":{"description":"Server URL (defaults to https://api.planetscale.com/v1)","type":"string"},"serviceToken":{"description":"PlanetScale Service Token. Configurable via environment variable `PLANETSCALE_SERVICE_TOKEN`.","secret":true,"type":"string"},"serviceTokenId":{"description":"PlanetScale Service Token ID. Configurable via environment variable `PLANETSCALE_SERVICE_TOKEN_ID`.","secret":true,"type":"string"}},"methods":{"terraformConfig":"pulumi:providers:planetscale/terraformConfig"},"properties":{"serverUrl":{"description":"Server URL (defaults to https://api.planetscale.com/v1)","type":"string"},"serviceToken":{"description":"PlanetScale Service Token. Configurable via environment variable `PLANETSCALE_SERVICE_TOKEN`.","secret":true,"type":"string"},"serviceTokenId":{"description":"PlanetScale Service Token ID. Configurable via environment variable `PLANETSCALE_SERVICE_TOKEN_ID`.","secret":true,"type":"string"}},"type":"object"},"publisher":"planetscale","repository":"https://github.com/planetscale/terraform-provider-planetscale","resources":{"planetscale:index/nekiAdmin:NekiAdmin":{"description":"NekiAdmin Resource\n\n## Import\n\nIn Terraform v1.5.0 and later, the `import` block can be used with the `id` attribute, for example:\n\nterraform\n\nimport {\n\n  to = planetscale_neki_admin.my_planetscale_neki_admin\n\n  id = jsonencode({\n\n    branch       = \"...\"\n\n    database     = \"...\"\n\n    organization = \"...\"\n\n  })\n\n}\n\nThe `pulumi import` command can be used, for example:\n\n```sh\n$ pulumi import planetscale:index/nekiAdmin:NekiAdmin my_planetscale_neki_admin '{\"branch\": \"...\", \"database\": \"...\", \"organization\": \"...\"}'\n```\n\n","inputProperties":{"adminSize":{"description":"The admin size SKU, e.g. `NKA_0`.\n","type":"string"},"branch":{"description":"Branch name from <span pulumi-lang-nodejs=\"`listBranches`\" pulumi-lang-dotnet=\"`ListBranches`\" pulumi-lang-go=\"`listBranches`\" pulumi-lang-python=\"`list_branches`\" pulumi-lang-yaml=\"`listBranches`\" pulumi-lang-java=\"`listBranches`\">`list_branches`</span>. Example: <span pulumi-lang-nodejs=\"`main`\" pulumi-lang-dotnet=\"`Main`\" pulumi-lang-go=\"`main`\" pulumi-lang-python=\"`main`\" pulumi-lang-yaml=\"`main`\" pulumi-lang-java=\"`main`\">`main`</span>. Requires replacement if changed.\n","type":"string"},"database":{"description":"Database name slug from <span pulumi-lang-nodejs=\"`listDatabases`\" pulumi-lang-dotnet=\"`ListDatabases`\" pulumi-lang-go=\"`listDatabases`\" pulumi-lang-python=\"`list_databases`\" pulumi-lang-yaml=\"`listDatabases`\" pulumi-lang-java=\"`listDatabases`\">`list_databases`</span>. Example: `app-db`. Requires replacement if changed.\n","type":"string"},"organization":{"description":"Organization name slug from <span pulumi-lang-nodejs=\"`listOrganizations`\" pulumi-lang-dotnet=\"`ListOrganizations`\" pulumi-lang-go=\"`listOrganizations`\" pulumi-lang-python=\"`list_organizations`\" pulumi-lang-yaml=\"`listOrganizations`\" pulumi-lang-java=\"`listOrganizations`\">`list_organizations`</span>. Example: <span pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\">`acme`</span>. Requires replacement if changed.\n","type":"string"},"parameters":{"additionalProperties":{"additionalProperties":{"type":"string"},"type":"object"},"type":"object"}},"properties":{"adminSize":{"description":"The admin size SKU, e.g. `NKA_0`.\n","type":"string"},"branch":{"description":"Branch name from <span pulumi-lang-nodejs=\"`listBranches`\" pulumi-lang-dotnet=\"`ListBranches`\" pulumi-lang-go=\"`listBranches`\" pulumi-lang-python=\"`list_branches`\" pulumi-lang-yaml=\"`listBranches`\" pulumi-lang-java=\"`listBranches`\">`list_branches`</span>. Example: <span pulumi-lang-nodejs=\"`main`\" pulumi-lang-dotnet=\"`Main`\" pulumi-lang-go=\"`main`\" pulumi-lang-python=\"`main`\" pulumi-lang-yaml=\"`main`\" pulumi-lang-java=\"`main`\">`main`</span>. Requires replacement if changed.\n","type":"string"},"database":{"description":"Database name slug from <span pulumi-lang-nodejs=\"`listDatabases`\" pulumi-lang-dotnet=\"`ListDatabases`\" pulumi-lang-go=\"`listDatabases`\" pulumi-lang-python=\"`list_databases`\" pulumi-lang-yaml=\"`listDatabases`\" pulumi-lang-java=\"`listDatabases`\">`list_databases`</span>. Example: `app-db`. Requires replacement if changed.\n","type":"string"},"organization":{"description":"Organization name slug from <span pulumi-lang-nodejs=\"`listOrganizations`\" pulumi-lang-dotnet=\"`ListOrganizations`\" pulumi-lang-go=\"`listOrganizations`\" pulumi-lang-python=\"`list_organizations`\" pulumi-lang-yaml=\"`listOrganizations`\" pulumi-lang-java=\"`listOrganizations`\">`list_organizations`</span>. Example: <span pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\">`acme`</span>. Requires replacement if changed.\n","type":"string"},"parameters":{"additionalProperties":{"additionalProperties":{"type":"string"},"type":"object"},"type":"object"},"state":{"description":"The current state of the admin\n","type":"string"}},"required":["adminSize","branch","database","organization","parameters","state"],"requiredInputs":["branch","database","organization"],"stateInputs":{"description":"Input properties used for looking up and filtering NekiAdmin resources.\n","properties":{"adminSize":{"description":"The admin size SKU, e.g. `NKA_0`.\n","type":"string"},"branch":{"description":"Branch name from <span pulumi-lang-nodejs=\"`listBranches`\" pulumi-lang-dotnet=\"`ListBranches`\" pulumi-lang-go=\"`listBranches`\" pulumi-lang-python=\"`list_branches`\" pulumi-lang-yaml=\"`listBranches`\" pulumi-lang-java=\"`listBranches`\">`list_branches`</span>. Example: <span pulumi-lang-nodejs=\"`main`\" pulumi-lang-dotnet=\"`Main`\" pulumi-lang-go=\"`main`\" pulumi-lang-python=\"`main`\" pulumi-lang-yaml=\"`main`\" pulumi-lang-java=\"`main`\">`main`</span>. Requires replacement if changed.\n","type":"string"},"database":{"description":"Database name slug from <span pulumi-lang-nodejs=\"`listDatabases`\" pulumi-lang-dotnet=\"`ListDatabases`\" pulumi-lang-go=\"`listDatabases`\" pulumi-lang-python=\"`list_databases`\" pulumi-lang-yaml=\"`listDatabases`\" pulumi-lang-java=\"`listDatabases`\">`list_databases`</span>. Example: `app-db`. Requires replacement if changed.\n","type":"string"},"organization":{"description":"Organization name slug from <span pulumi-lang-nodejs=\"`listOrganizations`\" pulumi-lang-dotnet=\"`ListOrganizations`\" pulumi-lang-go=\"`listOrganizations`\" pulumi-lang-python=\"`list_organizations`\" pulumi-lang-yaml=\"`listOrganizations`\" pulumi-lang-java=\"`listOrganizations`\">`list_organizations`</span>. Example: <span pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\">`acme`</span>. Requires replacement if changed.\n","type":"string"},"parameters":{"additionalProperties":{"additionalProperties":{"type":"string"},"type":"object"},"type":"object"},"state":{"description":"The current state of the admin\n","type":"string"}},"type":"object"},"type":"object"},"planetscale:index/nekiBackupPolicy:NekiBackupPolicy":{"description":"NekiBackupPolicy Resource\n\n## Import\n\nIn Terraform v1.5.0 and later, the `import` block can be used with the `id` attribute, for example:\n\nterraform\n\nimport {\n\n  to = planetscale_neki_backup_policy.my_planetscale_neki_backup_policy\n\n  id = jsonencode({\n\n    database     = \"...\"\n\n    id           = \"...\"\n\n    organization = \"...\"\n\n  })\n\n}\n\nThe `pulumi import` command can be used, for example:\n\n```sh\n$ pulumi import planetscale:index/nekiBackupPolicy:NekiBackupPolicy my_planetscale_neki_backup_policy '{\"database\": \"...\", \"id\": \"...\", \"organization\": \"...\"}'\n```\n\n","inputProperties":{"database":{"description":"Database name slug from <span pulumi-lang-nodejs=\"`listDatabases`\" pulumi-lang-dotnet=\"`ListDatabases`\" pulumi-lang-go=\"`listDatabases`\" pulumi-lang-python=\"`list_databases`\" pulumi-lang-yaml=\"`listDatabases`\" pulumi-lang-java=\"`listDatabases`\">`list_databases`</span>. Example: `app-db`. Requires replacement if changed.\n","type":"string"},"frequencyUnit":{"description":"The unit for the frequency of the backup policy. must be one of [\"hour\", \"day\", \"week\", \"month\"]\n","type":"string"},"frequencyValue":{"description":"A number value for the frequency of the backup policy\n","type":"number"},"name":{"description":"The name of the backup policy\n","type":"string"},"organization":{"description":"Organization name slug from <span pulumi-lang-nodejs=\"`listOrganizations`\" pulumi-lang-dotnet=\"`ListOrganizations`\" pulumi-lang-go=\"`listOrganizations`\" pulumi-lang-python=\"`list_organizations`\" pulumi-lang-yaml=\"`listOrganizations`\" pulumi-lang-java=\"`listOrganizations`\">`list_organizations`</span>. Example: <span pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\">`acme`</span>. Requires replacement if changed.\n","type":"string"},"retentionUnit":{"description":"The unit for the retention period of the backup policy. must be one of [\"hour\", \"day\", \"week\", \"month\", \"year\"]\n","type":"string"},"retentionValue":{"description":"A number value for the retention period of the backup policy\n","type":"number"},"scheduleDay":{"description":"Day of the week that the backup is scheduled. Required for weekly and monthly schedules. 0 is Sunday, 6 is Saturday.\n","type":"number"},"scheduleTime":{"description":"The time of day that the backup is scheduled, in HH:MM format\n","type":"string"},"scheduleWeek":{"description":"Week of the month that the backup is scheduled. Required for monthly schedules. 0 is the first week, 3 is the fourth week.\n","type":"number"},"target":{"description":"Whether the policy is for production or development branches. must be one of [\"production\", \"development\"]\n","type":"string"}},"properties":{"database":{"description":"Database name slug from <span pulumi-lang-nodejs=\"`listDatabases`\" pulumi-lang-dotnet=\"`ListDatabases`\" pulumi-lang-go=\"`listDatabases`\" pulumi-lang-python=\"`list_databases`\" pulumi-lang-yaml=\"`listDatabases`\" pulumi-lang-java=\"`listDatabases`\">`list_databases`</span>. Example: `app-db`. Requires replacement if changed.\n","type":"string"},"frequencyUnit":{"description":"The unit for the frequency of the backup policy. must be one of [\"hour\", \"day\", \"week\", \"month\"]\n","type":"string"},"frequencyValue":{"description":"A number value for the frequency of the backup policy\n","type":"number"},"name":{"description":"The name of the backup policy\n","type":"string"},"organization":{"description":"Organization name slug from <span pulumi-lang-nodejs=\"`listOrganizations`\" pulumi-lang-dotnet=\"`ListOrganizations`\" pulumi-lang-go=\"`listOrganizations`\" pulumi-lang-python=\"`list_organizations`\" pulumi-lang-yaml=\"`listOrganizations`\" pulumi-lang-java=\"`listOrganizations`\">`list_organizations`</span>. Example: <span pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\">`acme`</span>. Requires replacement if changed.\n","type":"string"},"required":{"description":"Whether the policy is a required system backup that cannot be updated or deleted.\n","type":"boolean"},"retentionUnit":{"description":"The unit for the retention period of the backup policy. must be one of [\"hour\", \"day\", \"week\", \"month\", \"year\"]\n","type":"string"},"retentionValue":{"description":"A number value for the retention period of the backup policy\n","type":"number"},"scheduleDay":{"description":"Day of the week that the backup is scheduled. Required for weekly and monthly schedules. 0 is Sunday, 6 is Saturday.\n","type":"number"},"scheduleTime":{"description":"The time of day that the backup is scheduled, in HH:MM format\n","type":"string"},"scheduleWeek":{"description":"Week of the month that the backup is scheduled. Required for monthly schedules. 0 is the first week, 3 is the fourth week.\n","type":"number"},"target":{"description":"Whether the policy is for production or development branches. must be one of [\"production\", \"development\"]\n","type":"string"}},"required":["database","frequencyUnit","frequencyValue","name","organization","required","retentionUnit","retentionValue","scheduleDay","scheduleTime","scheduleWeek","target"],"requiredInputs":["database","frequencyUnit","frequencyValue","organization","retentionUnit","retentionValue","scheduleTime","target"],"stateInputs":{"description":"Input properties used for looking up and filtering NekiBackupPolicy resources.\n","properties":{"database":{"description":"Database name slug from <span pulumi-lang-nodejs=\"`listDatabases`\" pulumi-lang-dotnet=\"`ListDatabases`\" pulumi-lang-go=\"`listDatabases`\" pulumi-lang-python=\"`list_databases`\" pulumi-lang-yaml=\"`listDatabases`\" pulumi-lang-java=\"`listDatabases`\">`list_databases`</span>. Example: `app-db`. Requires replacement if changed.\n","type":"string"},"frequencyUnit":{"description":"The unit for the frequency of the backup policy. must be one of [\"hour\", \"day\", \"week\", \"month\"]\n","type":"string"},"frequencyValue":{"description":"A number value for the frequency of the backup policy\n","type":"number"},"name":{"description":"The name of the backup policy\n","type":"string"},"organization":{"description":"Organization name slug from <span pulumi-lang-nodejs=\"`listOrganizations`\" pulumi-lang-dotnet=\"`ListOrganizations`\" pulumi-lang-go=\"`listOrganizations`\" pulumi-lang-python=\"`list_organizations`\" pulumi-lang-yaml=\"`listOrganizations`\" pulumi-lang-java=\"`listOrganizations`\">`list_organizations`</span>. Example: <span pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\">`acme`</span>. Requires replacement if changed.\n","type":"string"},"required":{"description":"Whether the policy is a required system backup that cannot be updated or deleted.\n","type":"boolean"},"retentionUnit":{"description":"The unit for the retention period of the backup policy. must be one of [\"hour\", \"day\", \"week\", \"month\", \"year\"]\n","type":"string"},"retentionValue":{"description":"A number value for the retention period of the backup policy\n","type":"number"},"scheduleDay":{"description":"Day of the week that the backup is scheduled. Required for weekly and monthly schedules. 0 is Sunday, 6 is Saturday.\n","type":"number"},"scheduleTime":{"description":"The time of day that the backup is scheduled, in HH:MM format\n","type":"string"},"scheduleWeek":{"description":"Week of the month that the backup is scheduled. Required for monthly schedules. 0 is the first week, 3 is the fourth week.\n","type":"number"},"target":{"description":"Whether the policy is for production or development branches. must be one of [\"production\", \"development\"]\n","type":"string"}},"type":"object"},"type":"object"},"planetscale:index/nekiBranch:NekiBranch":{"description":"NekiBranch Resource\n\n## Example Usage\n\n<!--Start PulumiCodeChooser -->\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as planetscale from \"@pulumi/planetscale\";\n\nconst myNekiBranch = new planetscale.NekiBranch(\"my_neki_branch\", {\n    organization: \"my-organization\",\n    database: \"my-neki-database\",\n    name: \"main\",\n    deletionProtected: true,\n});\n```\n```python\nimport pulumi\nimport pulumi_planetscale as planetscale\n\nmy_neki_branch = planetscale.NekiBranch(\"my_neki_branch\",\n    organization=\"my-organization\",\n    database=\"my-neki-database\",\n    name=\"main\",\n    deletion_protected=True)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Planetscale = Pulumi.Planetscale;\n\nreturn await Deployment.RunAsync(() => \n{\n    var myNekiBranch = new Planetscale.NekiBranch(\"my_neki_branch\", new()\n    {\n        Organization = \"my-organization\",\n        Database = \"my-neki-database\",\n        Name = \"main\",\n        DeletionProtected = true,\n    });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-terraform-provider/sdks/go/planetscale/planetscale\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := planetscale.NewNekiBranch(ctx, \"my_neki_branch\", &planetscale.NekiBranchArgs{\n\t\t\tOrganization:      pulumi.String(\"my-organization\"),\n\t\t\tDatabase:          pulumi.String(\"my-neki-database\"),\n\t\t\tName:              pulumi.String(\"main\"),\n\t\t\tDeletionProtected: pulumi.Bool(true),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.planetscale.NekiBranch;\nimport com.pulumi.planetscale.NekiBranchArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n    public static void main(String[] args) {\n        Pulumi.run(App::stack);\n    }\n\n    public static void stack(Context ctx) {\n        var myNekiBranch = new NekiBranch(\"myNekiBranch\", NekiBranchArgs.builder()\n            .organization(\"my-organization\")\n            .database(\"my-neki-database\")\n            .name(\"main\")\n            .deletionProtected(true)\n            .build());\n\n    }\n}\n```\n```yaml\nresources:\n  myNekiBranch:\n    type: planetscale:NekiBranch\n    name: my_neki_branch\n    properties:\n      organization: my-organization\n      database: my-neki-database\n      name: main\n      deletionProtected: true\n```\n<!--End PulumiCodeChooser -->\n\n## Import\n\nIn Terraform v1.5.0 and later, the `import` block can be used with the `id` attribute, for example:\n\nterraform\n\nimport {\n\n  to = planetscale_neki_branch.my_planetscale_neki_branch\n\n  id = jsonencode({\n\n    database     = \"...\"\n\n    id           = \"...\"\n\n    organization = \"...\"\n\n  })\n\n}\n\nThe `pulumi import` command can be used, for example:\n\n```sh\n$ pulumi import planetscale:index/nekiBranch:NekiBranch my_planetscale_neki_branch '{\"database\": \"...\", \"id\": \"...\", \"organization\": \"...\"}'\n```\n\n","inputProperties":{"backupId":{"description":"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.","type":"string"},"database":{"description":"Database name slug from <span pulumi-lang-nodejs=\"`listDatabases`\" pulumi-lang-dotnet=\"`ListDatabases`\" pulumi-lang-go=\"`listDatabases`\" pulumi-lang-python=\"`list_databases`\" pulumi-lang-yaml=\"`listDatabases`\" pulumi-lang-java=\"`listDatabases`\">`list_databases`</span>. Example: `app-db`. Requires replacement if changed.\n","type":"string"},"deleteDescendants":{"description":"If true, recursively delete all descendant branches along with this branch","type":"boolean"},"deletionProtected":{"description":"Whether deletion protection is enabled for the branch","type":"boolean"},"name":{"description":"The name of the branch to create\n","type":"string"},"organization":{"description":"Organization name slug from <span pulumi-lang-nodejs=\"`listOrganizations`\" pulumi-lang-dotnet=\"`ListOrganizations`\" pulumi-lang-go=\"`listOrganizations`\" pulumi-lang-python=\"`list_organizations`\" pulumi-lang-yaml=\"`listOrganizations`\" pulumi-lang-java=\"`listOrganizations`\">`list_organizations`</span>. Example: <span pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\">`acme`</span>. Requires replacement if changed.\n","type":"string"},"parentBranch":{"description":"The name of the parent branch. Defaults to the database's default branch if not provided. Requires replacement if changed.","type":"string"},"region":{"description":"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.","type":"string"},"restorePoint":{"description":"Restore the Neki branch from a point-in-time recovery timestamp, for example 2026-01-01T00:00:00Z. Requires replacement if changed.","type":"string"}},"properties":{"backupId":{"description":"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.","type":"string"},"database":{"description":"Database name slug from <span pulumi-lang-nodejs=\"`listDatabases`\" pulumi-lang-dotnet=\"`ListDatabases`\" pulumi-lang-go=\"`listDatabases`\" pulumi-lang-python=\"`list_databases`\" pulumi-lang-yaml=\"`listDatabases`\" pulumi-lang-java=\"`listDatabases`\">`list_databases`</span>. Example: `app-db`. Requires replacement if changed.\n","type":"string"},"deleteDescendants":{"description":"If true, recursively delete all descendant branches along with this branch","type":"boolean"},"deletionProtected":{"description":"Whether deletion protection is enabled for the branch","type":"boolean"},"name":{"description":"The name of the branch to create\n","type":"string"},"organization":{"description":"Organization name slug from <span pulumi-lang-nodejs=\"`listOrganizations`\" pulumi-lang-dotnet=\"`ListOrganizations`\" pulumi-lang-go=\"`listOrganizations`\" pulumi-lang-python=\"`list_organizations`\" pulumi-lang-yaml=\"`listOrganizations`\" pulumi-lang-java=\"`listOrganizations`\">`list_organizations`</span>. Example: <span pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\">`acme`</span>. Requires replacement if changed.\n","type":"string"},"parentBranch":{"description":"The name of the parent branch. Defaults to the database's default branch if not provided. Requires replacement if changed.","type":"string"},"region":{"description":"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.","type":"string"},"restorePoint":{"description":"Restore the Neki branch from a point-in-time recovery timestamp, for example 2026-01-01T00:00:00Z. Requires replacement if changed.","type":"string"},"state":{"description":"The current state of the branch","type":"string"}},"required":["database","deletionProtected","name","organization","parentBranch","region","state"],"requiredInputs":["database","organization"],"stateInputs":{"description":"Input properties used for looking up and filtering NekiBranch resources.\n","properties":{"backupId":{"description":"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.","type":"string"},"database":{"description":"Database name slug from <span pulumi-lang-nodejs=\"`listDatabases`\" pulumi-lang-dotnet=\"`ListDatabases`\" pulumi-lang-go=\"`listDatabases`\" pulumi-lang-python=\"`list_databases`\" pulumi-lang-yaml=\"`listDatabases`\" pulumi-lang-java=\"`listDatabases`\">`list_databases`</span>. Example: `app-db`. Requires replacement if changed.\n","type":"string"},"deleteDescendants":{"description":"If true, recursively delete all descendant branches along with this branch","type":"boolean"},"deletionProtected":{"description":"Whether deletion protection is enabled for the branch","type":"boolean"},"name":{"description":"The name of the branch to create\n","type":"string"},"organization":{"description":"Organization name slug from <span pulumi-lang-nodejs=\"`listOrganizations`\" pulumi-lang-dotnet=\"`ListOrganizations`\" pulumi-lang-go=\"`listOrganizations`\" pulumi-lang-python=\"`list_organizations`\" pulumi-lang-yaml=\"`listOrganizations`\" pulumi-lang-java=\"`listOrganizations`\">`list_organizations`</span>. Example: <span pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\">`acme`</span>. Requires replacement if changed.\n","type":"string"},"parentBranch":{"description":"The name of the parent branch. Defaults to the database's default branch if not provided. Requires replacement if changed.","type":"string"},"region":{"description":"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.","type":"string"},"restorePoint":{"description":"Restore the Neki branch from a point-in-time recovery timestamp, for example 2026-01-01T00:00:00Z. Requires replacement if changed.","type":"string"},"state":{"description":"The current state of the branch","type":"string"}},"type":"object"},"type":"object"},"planetscale:index/nekiConfigurationProfile:NekiConfigurationProfile":{"description":"\n\n## Import\n\nIn Terraform v1.5.0 and later, the `import` block can be used with the `id` attribute, for example:\n\nterraform\n\nimport {\n\n  to = planetscale_neki_configuration_profile.my_planetscale_neki_configuration_profile\n\n  id = jsonencode({\n\n    branch       = \"...\"\n\n    database     = \"...\"\n\n    name         = \"...\"\n\n    organization = \"...\"\n\n  })\n\n}\n\nThe `pulumi import` command can be used, for example:\n\n```sh\n$ pulumi import planetscale:index/nekiConfigurationProfile:NekiConfigurationProfile my_planetscale_neki_configuration_profile '{\"branch\": \"...\", \"database\": \"...\", \"name\": \"...\", \"organization\": \"...\"}'\n```\n\n","inputProperties":{"branch":{"description":"Branch name from <span pulumi-lang-nodejs=\"`listBranches`\" pulumi-lang-dotnet=\"`ListBranches`\" pulumi-lang-go=\"`listBranches`\" pulumi-lang-python=\"`list_branches`\" pulumi-lang-yaml=\"`listBranches`\" pulumi-lang-java=\"`listBranches`\">`list_branches`</span>. Example: <span pulumi-lang-nodejs=\"`main`\" pulumi-lang-dotnet=\"`Main`\" pulumi-lang-go=\"`main`\" pulumi-lang-python=\"`main`\" pulumi-lang-yaml=\"`main`\" pulumi-lang-java=\"`main`\">`main`</span>. Requires replacement if changed.\n","type":"string"},"clusterSize":{"description":"The database cluster size name for shards assigned to this profile. Updates in place through Neki maintenance.\n","type":"string"},"database":{"description":"Database name slug from <span pulumi-lang-nodejs=\"`listDatabases`\" pulumi-lang-dotnet=\"`ListDatabases`\" pulumi-lang-go=\"`listDatabases`\" pulumi-lang-python=\"`list_databases`\" pulumi-lang-yaml=\"`listDatabases`\" pulumi-lang-java=\"`listDatabases`\">`list_databases`</span>. Example: `app-db`. Requires replacement if changed.\n","type":"string"},"extensions":{"description":"Extensions to enable. This replaces the current set; omit it to leave them unchanged. Use an empty set to disable them. Do not combine this with shared*preload*libraries or session*preload*libraries parameters.\n","items":{"type":"string"},"type":"array"},"name":{"description":"The profile name. The API uses this as the profile identity, so changing it requires replacement. Requires replacement if changed.\n","type":"string"},"organization":{"description":"Organization name slug from <span pulumi-lang-nodejs=\"`listOrganizations`\" pulumi-lang-dotnet=\"`ListOrganizations`\" pulumi-lang-go=\"`listOrganizations`\" pulumi-lang-python=\"`list_organizations`\" pulumi-lang-yaml=\"`listOrganizations`\" pulumi-lang-java=\"`listOrganizations`\">`list_organizations`</span>. Example: <span pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\">`acme`</span>. Requires replacement if changed.\n","type":"string"},"parameters":{"additionalProperties":{"additionalProperties":{"type":"string"},"type":"object"},"description":"Desired effective parameter values nested by namespace, e.g. { pgconf = { max*connections = \"200\" } }. Configure extension settings using their <span pulumi-lang-nodejs=\"`pgconf`\" pulumi-lang-dotnet=\"`Pgconf`\" pulumi-lang-go=\"`pgconf`\" pulumi-lang-python=\"`pgconf`\" pulumi-lang-yaml=\"`pgconf`\" pulumi-lang-java=\"`pgconf`\">`pgconf`</span> keys (for example, `pgconf.auto_explain.log_level`). Omitted parameters reset to their defaults, except shared*preload*libraries and session*preload_libraries, which remain unchanged. To disable extensions, set extensions to an empty list or explicitly update the preload parameters.\n","type":"object"},"postgresMajorVersion":{"description":"The PostgreSQL major version for the configuration profile\n","type":"number"},"postgresMinorVersion":{"description":"The PostgreSQL minor version for the configuration profile. Requires postgres*major*version when specified.\n","type":"number"},"readOnlyReplicas":{"description":"The new number of read-only replicas for the configuration profile\n","type":"number"},"replicas":{"description":"The new number of replicas for the configuration profile\n","type":"number"},"storage":{"$ref":"#/types/planetscale:index%2FNekiConfigurationProfileStorage:NekiConfigurationProfileStorage"}},"properties":{"branch":{"description":"Branch name from <span pulumi-lang-nodejs=\"`listBranches`\" pulumi-lang-dotnet=\"`ListBranches`\" pulumi-lang-go=\"`listBranches`\" pulumi-lang-python=\"`list_branches`\" pulumi-lang-yaml=\"`listBranches`\" pulumi-lang-java=\"`listBranches`\">`list_branches`</span>. Example: <span pulumi-lang-nodejs=\"`main`\" pulumi-lang-dotnet=\"`Main`\" pulumi-lang-go=\"`main`\" pulumi-lang-python=\"`main`\" pulumi-lang-yaml=\"`main`\" pulumi-lang-java=\"`main`\">`main`</span>. Requires replacement if changed.\n","type":"string"},"clusterSize":{"description":"The database cluster size name for shards assigned to this profile. Updates in place through Neki maintenance.\n","type":"string"},"database":{"description":"Database name slug from <span pulumi-lang-nodejs=\"`listDatabases`\" pulumi-lang-dotnet=\"`ListDatabases`\" pulumi-lang-go=\"`listDatabases`\" pulumi-lang-python=\"`list_databases`\" pulumi-lang-yaml=\"`listDatabases`\" pulumi-lang-java=\"`listDatabases`\">`list_databases`</span>. Example: `app-db`. Requires replacement if changed.\n","type":"string"},"extensions":{"description":"Extensions to enable. This replaces the current set; omit it to leave them unchanged. Use an empty set to disable them. Do not combine this with shared*preload*libraries or session*preload*libraries parameters.\n","items":{"type":"string"},"type":"array"},"isDefault":{"description":"Whether this is the default configuration profile\n","type":"boolean"},"name":{"description":"The profile name. The API uses this as the profile identity, so changing it requires replacement. Requires replacement if changed.\n","type":"string"},"organization":{"description":"Organization name slug from <span pulumi-lang-nodejs=\"`listOrganizations`\" pulumi-lang-dotnet=\"`ListOrganizations`\" pulumi-lang-go=\"`listOrganizations`\" pulumi-lang-python=\"`list_organizations`\" pulumi-lang-yaml=\"`listOrganizations`\" pulumi-lang-java=\"`listOrganizations`\">`list_organizations`</span>. Example: <span pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\">`acme`</span>. Requires replacement if changed.\n","type":"string"},"parameters":{"additionalProperties":{"additionalProperties":{"type":"string"},"type":"object"},"description":"Desired effective parameter values nested by namespace, e.g. { pgconf = { max*connections = \"200\" } }. Configure extension settings using their <span pulumi-lang-nodejs=\"`pgconf`\" pulumi-lang-dotnet=\"`Pgconf`\" pulumi-lang-go=\"`pgconf`\" pulumi-lang-python=\"`pgconf`\" pulumi-lang-yaml=\"`pgconf`\" pulumi-lang-java=\"`pgconf`\">`pgconf`</span> keys (for example, `pgconf.auto_explain.log_level`). Omitted parameters reset to their defaults, except shared*preload*libraries and session*preload_libraries, which remain unchanged. To disable extensions, set extensions to an empty list or explicitly update the preload parameters.\n","type":"object"},"postgresMajorVersion":{"description":"The PostgreSQL major version for the configuration profile\n","type":"number"},"postgresMinorVersion":{"description":"The PostgreSQL minor version for the configuration profile. Requires postgres*major*version when specified.\n","type":"number"},"readOnlyReplicas":{"description":"The new number of read-only replicas for the configuration profile\n","type":"number"},"replicas":{"description":"The new number of replicas for the configuration profile\n","type":"number"},"shardCount":{"description":"The number of shards using this configuration profile\n","type":"number"},"state":{"description":"The current state of the configuration profile\n","type":"string"},"storage":{"$ref":"#/types/planetscale:index%2FNekiConfigurationProfileStorage:NekiConfigurationProfileStorage"}},"required":["branch","clusterSize","database","isDefault","name","organization","parameters","postgresMajorVersion","postgresMinorVersion","readOnlyReplicas","replicas","shardCount","state","storage"],"requiredInputs":["branch","database","organization"],"stateInputs":{"description":"Input properties used for looking up and filtering NekiConfigurationProfile resources.\n","properties":{"branch":{"description":"Branch name from <span pulumi-lang-nodejs=\"`listBranches`\" pulumi-lang-dotnet=\"`ListBranches`\" pulumi-lang-go=\"`listBranches`\" pulumi-lang-python=\"`list_branches`\" pulumi-lang-yaml=\"`listBranches`\" pulumi-lang-java=\"`listBranches`\">`list_branches`</span>. Example: <span pulumi-lang-nodejs=\"`main`\" pulumi-lang-dotnet=\"`Main`\" pulumi-lang-go=\"`main`\" pulumi-lang-python=\"`main`\" pulumi-lang-yaml=\"`main`\" pulumi-lang-java=\"`main`\">`main`</span>. Requires replacement if changed.\n","type":"string"},"clusterSize":{"description":"The database cluster size name for shards assigned to this profile. Updates in place through Neki maintenance.\n","type":"string"},"database":{"description":"Database name slug from <span pulumi-lang-nodejs=\"`listDatabases`\" pulumi-lang-dotnet=\"`ListDatabases`\" pulumi-lang-go=\"`listDatabases`\" pulumi-lang-python=\"`list_databases`\" pulumi-lang-yaml=\"`listDatabases`\" pulumi-lang-java=\"`listDatabases`\">`list_databases`</span>. Example: `app-db`. Requires replacement if changed.\n","type":"string"},"extensions":{"description":"Extensions to enable. This replaces the current set; omit it to leave them unchanged. Use an empty set to disable them. Do not combine this with shared*preload*libraries or session*preload*libraries parameters.\n","items":{"type":"string"},"type":"array"},"isDefault":{"description":"Whether this is the default configuration profile\n","type":"boolean"},"name":{"description":"The profile name. The API uses this as the profile identity, so changing it requires replacement. Requires replacement if changed.\n","type":"string"},"organization":{"description":"Organization name slug from <span pulumi-lang-nodejs=\"`listOrganizations`\" pulumi-lang-dotnet=\"`ListOrganizations`\" pulumi-lang-go=\"`listOrganizations`\" pulumi-lang-python=\"`list_organizations`\" pulumi-lang-yaml=\"`listOrganizations`\" pulumi-lang-java=\"`listOrganizations`\">`list_organizations`</span>. Example: <span pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\">`acme`</span>. Requires replacement if changed.\n","type":"string"},"parameters":{"additionalProperties":{"additionalProperties":{"type":"string"},"type":"object"},"description":"Desired effective parameter values nested by namespace, e.g. { pgconf = { max*connections = \"200\" } }. Configure extension settings using their <span pulumi-lang-nodejs=\"`pgconf`\" pulumi-lang-dotnet=\"`Pgconf`\" pulumi-lang-go=\"`pgconf`\" pulumi-lang-python=\"`pgconf`\" pulumi-lang-yaml=\"`pgconf`\" pulumi-lang-java=\"`pgconf`\">`pgconf`</span> keys (for example, `pgconf.auto_explain.log_level`). Omitted parameters reset to their defaults, except shared*preload*libraries and session*preload_libraries, which remain unchanged. To disable extensions, set extensions to an empty list or explicitly update the preload parameters.\n","type":"object"},"postgresMajorVersion":{"description":"The PostgreSQL major version for the configuration profile\n","type":"number"},"postgresMinorVersion":{"description":"The PostgreSQL minor version for the configuration profile. Requires postgres*major*version when specified.\n","type":"number"},"readOnlyReplicas":{"description":"The new number of read-only replicas for the configuration profile\n","type":"number"},"replicas":{"description":"The new number of replicas for the configuration profile\n","type":"number"},"shardCount":{"description":"The number of shards using this configuration profile\n","type":"number"},"state":{"description":"The current state of the configuration profile\n","type":"string"},"storage":{"$ref":"#/types/planetscale:index%2FNekiConfigurationProfileStorage:NekiConfigurationProfileStorage"}},"type":"object"},"type":"object"},"planetscale:index/nekiRole:NekiRole":{"description":"NekiRole Resource\n\n## Import\n\nIn Terraform v1.5.0 and later, the `import` block can be used with the `id` attribute, for example:\n\nterraform\n\nimport {\n\n  to = planetscale_neki_role.my_planetscale_neki_role\n\n  id = jsonencode({\n\n    branch       = \"...\"\n\n    database     = \"...\"\n\n    id           = \"...\"\n\n    organization = \"...\"\n\n  })\n\n}\n\nThe `pulumi import` command can be used, for example:\n\n```sh\n$ pulumi import planetscale:index/nekiRole:NekiRole my_planetscale_neki_role '{\"branch\": \"...\", \"database\": \"...\", \"id\": \"...\", \"organization\": \"...\"}'\n```\n\n","inputProperties":{"branch":{"description":"Branch name from <span pulumi-lang-nodejs=\"`listBranches`\" pulumi-lang-dotnet=\"`ListBranches`\" pulumi-lang-go=\"`listBranches`\" pulumi-lang-python=\"`list_branches`\" pulumi-lang-yaml=\"`listBranches`\" pulumi-lang-java=\"`listBranches`\">`list_branches`</span>. Example: <span pulumi-lang-nodejs=\"`main`\" pulumi-lang-dotnet=\"`Main`\" pulumi-lang-go=\"`main`\" pulumi-lang-python=\"`main`\" pulumi-lang-yaml=\"`main`\" pulumi-lang-java=\"`main`\">`main`</span>. Requires replacement if changed.\n","type":"string"},"database":{"description":"Database name slug from <span pulumi-lang-nodejs=\"`listDatabases`\" pulumi-lang-dotnet=\"`ListDatabases`\" pulumi-lang-go=\"`listDatabases`\" pulumi-lang-python=\"`list_databases`\" pulumi-lang-yaml=\"`listDatabases`\" pulumi-lang-java=\"`listDatabases`\">`list_databases`</span>. Example: `app-db`. Requires replacement if changed.\n","type":"string"},"inheritedRoles":{"description":"Roles to inherit from. Requires replacement if changed.\n","items":{"type":"string"},"type":"array"},"name":{"description":"The name of the role\n","type":"string"},"organization":{"description":"Organization name slug from <span pulumi-lang-nodejs=\"`listOrganizations`\" pulumi-lang-dotnet=\"`ListOrganizations`\" pulumi-lang-go=\"`listOrganizations`\" pulumi-lang-python=\"`list_organizations`\" pulumi-lang-yaml=\"`listOrganizations`\" pulumi-lang-java=\"`listOrganizations`\">`list_organizations`</span>. Example: <span pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\">`acme`</span>. Requires replacement if changed.\n","type":"string"},"successor":{"description":"The optional role to reassign ownership to before dropping. Accepts the role's ID, or its username with or without the branch ID suffix.\n","type":"string"},"ttl":{"description":"Time to live in seconds. Requires replacement if changed.\n","type":"number"},"withReplication":{"description":"Whether the role should have the REPLICATION attribute. Requires replacement if changed.\n","type":"boolean"}},"properties":{"accessHostUrl":{"description":"The database connection string\n","type":"string"},"branch":{"description":"Branch name from <span pulumi-lang-nodejs=\"`listBranches`\" pulumi-lang-dotnet=\"`ListBranches`\" pulumi-lang-go=\"`listBranches`\" pulumi-lang-python=\"`list_branches`\" pulumi-lang-yaml=\"`listBranches`\" pulumi-lang-java=\"`listBranches`\">`list_branches`</span>. Example: <span pulumi-lang-nodejs=\"`main`\" pulumi-lang-dotnet=\"`Main`\" pulumi-lang-go=\"`main`\" pulumi-lang-python=\"`main`\" pulumi-lang-yaml=\"`main`\" pulumi-lang-java=\"`main`\">`main`</span>. Requires replacement if changed.\n","type":"string"},"database":{"description":"Database name slug from <span pulumi-lang-nodejs=\"`listDatabases`\" pulumi-lang-dotnet=\"`ListDatabases`\" pulumi-lang-go=\"`listDatabases`\" pulumi-lang-python=\"`list_databases`\" pulumi-lang-yaml=\"`listDatabases`\" pulumi-lang-java=\"`listDatabases`\">`list_databases`</span>. Example: `app-db`. Requires replacement if changed.\n","type":"string"},"expiresAt":{"description":"When the role expires\n","type":"string"},"inheritedRoles":{"description":"Roles to inherit from. Requires replacement if changed.\n","items":{"type":"string"},"type":"array"},"name":{"description":"The name of the role\n","type":"string"},"organization":{"description":"Organization name slug from <span pulumi-lang-nodejs=\"`listOrganizations`\" pulumi-lang-dotnet=\"`ListOrganizations`\" pulumi-lang-go=\"`listOrganizations`\" pulumi-lang-python=\"`list_organizations`\" pulumi-lang-yaml=\"`listOrganizations`\" pulumi-lang-java=\"`listOrganizations`\">`list_organizations`</span>. Example: <span pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\">`acme`</span>. Requires replacement if changed.\n","type":"string"},"password":{"description":"The plaintext password, available only after create\n","secret":true,"type":"string"},"privateAccessHostUrl":{"description":"The database connection string for private connections\n","type":"string"},"privateConnectionServiceName":{"description":"The service name to set up private connectivity\n","type":"string"},"successor":{"description":"The optional role to reassign ownership to before dropping. Accepts the role's ID, or its username with or without the branch ID suffix.\n","type":"string"},"ttl":{"description":"Time to live in seconds. Requires replacement if changed.\n","type":"number"},"username":{"description":"The database user name\n","type":"string"},"withReplication":{"description":"Whether the role should have the REPLICATION attribute. Requires replacement if changed.\n","type":"boolean"}},"required":["accessHostUrl","branch","database","expiresAt","inheritedRoles","name","organization","password","privateAccessHostUrl","privateConnectionServiceName","ttl","username","withReplication"],"requiredInputs":["branch","database","organization"],"stateInputs":{"description":"Input properties used for looking up and filtering NekiRole resources.\n","properties":{"accessHostUrl":{"description":"The database connection string\n","type":"string"},"branch":{"description":"Branch name from <span pulumi-lang-nodejs=\"`listBranches`\" pulumi-lang-dotnet=\"`ListBranches`\" pulumi-lang-go=\"`listBranches`\" pulumi-lang-python=\"`list_branches`\" pulumi-lang-yaml=\"`listBranches`\" pulumi-lang-java=\"`listBranches`\">`list_branches`</span>. Example: <span pulumi-lang-nodejs=\"`main`\" pulumi-lang-dotnet=\"`Main`\" pulumi-lang-go=\"`main`\" pulumi-lang-python=\"`main`\" pulumi-lang-yaml=\"`main`\" pulumi-lang-java=\"`main`\">`main`</span>. Requires replacement if changed.\n","type":"string"},"database":{"description":"Database name slug from <span pulumi-lang-nodejs=\"`listDatabases`\" pulumi-lang-dotnet=\"`ListDatabases`\" pulumi-lang-go=\"`listDatabases`\" pulumi-lang-python=\"`list_databases`\" pulumi-lang-yaml=\"`listDatabases`\" pulumi-lang-java=\"`listDatabases`\">`list_databases`</span>. Example: `app-db`. Requires replacement if changed.\n","type":"string"},"expiresAt":{"description":"When the role expires\n","type":"string"},"inheritedRoles":{"description":"Roles to inherit from. Requires replacement if changed.\n","items":{"type":"string"},"type":"array"},"name":{"description":"The name of the role\n","type":"string"},"organization":{"description":"Organization name slug from <span pulumi-lang-nodejs=\"`listOrganizations`\" pulumi-lang-dotnet=\"`ListOrganizations`\" pulumi-lang-go=\"`listOrganizations`\" pulumi-lang-python=\"`list_organizations`\" pulumi-lang-yaml=\"`listOrganizations`\" pulumi-lang-java=\"`listOrganizations`\">`list_organizations`</span>. Example: <span pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\">`acme`</span>. Requires replacement if changed.\n","type":"string"},"password":{"description":"The plaintext password, available only after create\n","secret":true,"type":"string"},"privateAccessHostUrl":{"description":"The database connection string for private connections\n","type":"string"},"privateConnectionServiceName":{"description":"The service name to set up private connectivity\n","type":"string"},"successor":{"description":"The optional role to reassign ownership to before dropping. Accepts the role's ID, or its username with or without the branch ID suffix.\n","type":"string"},"ttl":{"description":"Time to live in seconds. Requires replacement if changed.\n","type":"number"},"username":{"description":"The database user name\n","type":"string"},"withReplication":{"description":"Whether the role should have the REPLICATION attribute. Requires replacement if changed.\n","type":"boolean"}},"type":"object"},"type":"object"},"planetscale:index/nekiRouter:NekiRouter":{"description":"NekiRouter Resource\n\n## Import\n\nIn Terraform v1.5.0 and later, the `import` block can be used with the `id` attribute, for example:\n\nterraform\n\nimport {\n\n  to = planetscale_neki_router.my_planetscale_neki_router\n\n  id = jsonencode({\n\n    branch       = \"...\"\n\n    database     = \"...\"\n\n    name         = \"...\"\n\n    organization = \"...\"\n\n  })\n\n}\n\nThe `pulumi import` command can be used, for example:\n\n```sh\n$ pulumi import planetscale:index/nekiRouter:NekiRouter my_planetscale_neki_router '{\"branch\": \"...\", \"database\": \"...\", \"name\": \"...\", \"organization\": \"...\"}'\n```\n\n","inputProperties":{"autoscaling":{"description":"Whether the router scales horizontally within each cell\n","type":"boolean"},"branch":{"description":"Branch name from <span pulumi-lang-nodejs=\"`listBranches`\" pulumi-lang-dotnet=\"`ListBranches`\" pulumi-lang-go=\"`listBranches`\" pulumi-lang-python=\"`list_branches`\" pulumi-lang-yaml=\"`listBranches`\" pulumi-lang-java=\"`listBranches`\">`list_branches`</span>. Example: <span pulumi-lang-nodejs=\"`main`\" pulumi-lang-dotnet=\"`Main`\" pulumi-lang-go=\"`main`\" pulumi-lang-python=\"`main`\" pulumi-lang-yaml=\"`main`\" pulumi-lang-java=\"`main`\">`main`</span>. Requires replacement if changed.\n","type":"string"},"database":{"description":"Database name slug from <span pulumi-lang-nodejs=\"`listDatabases`\" pulumi-lang-dotnet=\"`ListDatabases`\" pulumi-lang-go=\"`listDatabases`\" pulumi-lang-python=\"`list_databases`\" pulumi-lang-yaml=\"`listDatabases`\" pulumi-lang-java=\"`listDatabases`\">`list_databases`</span>. Example: `app-db`. Requires replacement if changed.\n","type":"string"},"maxReplicasPerCell":{"description":"The maximum number of replicas in each cell when autoscaling\n","type":"number"},"name":{"description":"The name of the router group. Lowercase letters, digits, and dashes (an RFC 1123 DNS label); 1-16 characters; cannot start or end with a dash. <span pulumi-lang-nodejs=\"`new`\" pulumi-lang-dotnet=\"`New`\" pulumi-lang-go=\"`new`\" pulumi-lang-python=\"`new`\" pulumi-lang-yaml=\"`new`\" pulumi-lang-java=\"`new`\">`new`</span>, <span pulumi-lang-nodejs=\"`primary`\" pulumi-lang-dotnet=\"`Primary`\" pulumi-lang-go=\"`primary`\" pulumi-lang-python=\"`primary`\" pulumi-lang-yaml=\"`primary`\" pulumi-lang-java=\"`primary`\">`primary`</span>, and <span pulumi-lang-nodejs=\"`replica`\" pulumi-lang-dotnet=\"`Replica`\" pulumi-lang-go=\"`replica`\" pulumi-lang-python=\"`replica`\" pulumi-lang-yaml=\"`replica`\" pulumi-lang-java=\"`replica`\">`replica`</span> are reserved. Clients connect through the group by appending it to the username, e.g. `user|my-router`. Requires replacement if changed.\n","type":"string"},"organization":{"description":"Organization name slug from <span pulumi-lang-nodejs=\"`listOrganizations`\" pulumi-lang-dotnet=\"`ListOrganizations`\" pulumi-lang-go=\"`listOrganizations`\" pulumi-lang-python=\"`list_organizations`\" pulumi-lang-yaml=\"`listOrganizations`\" pulumi-lang-java=\"`listOrganizations`\">`list_organizations`</span>. Example: <span pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\">`acme`</span>. Requires replacement if changed.\n","type":"string"},"parameters":{"additionalProperties":{"additionalProperties":{"type":"string"},"type":"object"},"type":"object"},"replicasPerCell":{"description":"The new number of replicas in each cell\n","type":"number"},"routerSize":{"description":"The new router size for the router\n","type":"string"},"targetCpuUtilization":{"description":"The target average CPU utilization percentage when autoscaling\n","type":"number"}},"properties":{"autoscaling":{"description":"Whether the router scales horizontally within each cell\n","type":"boolean"},"branch":{"description":"Branch name from <span pulumi-lang-nodejs=\"`listBranches`\" pulumi-lang-dotnet=\"`ListBranches`\" pulumi-lang-go=\"`listBranches`\" pulumi-lang-python=\"`list_branches`\" pulumi-lang-yaml=\"`listBranches`\" pulumi-lang-java=\"`listBranches`\">`list_branches`</span>. Example: <span pulumi-lang-nodejs=\"`main`\" pulumi-lang-dotnet=\"`Main`\" pulumi-lang-go=\"`main`\" pulumi-lang-python=\"`main`\" pulumi-lang-yaml=\"`main`\" pulumi-lang-java=\"`main`\">`main`</span>. Requires replacement if changed.\n","type":"string"},"database":{"description":"Database name slug from <span pulumi-lang-nodejs=\"`listDatabases`\" pulumi-lang-dotnet=\"`ListDatabases`\" pulumi-lang-go=\"`listDatabases`\" pulumi-lang-python=\"`list_databases`\" pulumi-lang-yaml=\"`listDatabases`\" pulumi-lang-java=\"`listDatabases`\">`list_databases`</span>. Example: `app-db`. Requires replacement if changed.\n","type":"string"},"default":{"description":"Whether this is the default router\n","type":"boolean"},"maxReplicasPerCell":{"description":"The maximum number of replicas in each cell when autoscaling\n","type":"number"},"name":{"description":"The name of the router group. Lowercase letters, digits, and dashes (an RFC 1123 DNS label); 1-16 characters; cannot start or end with a dash. <span pulumi-lang-nodejs=\"`new`\" pulumi-lang-dotnet=\"`New`\" pulumi-lang-go=\"`new`\" pulumi-lang-python=\"`new`\" pulumi-lang-yaml=\"`new`\" pulumi-lang-java=\"`new`\">`new`</span>, <span pulumi-lang-nodejs=\"`primary`\" pulumi-lang-dotnet=\"`Primary`\" pulumi-lang-go=\"`primary`\" pulumi-lang-python=\"`primary`\" pulumi-lang-yaml=\"`primary`\" pulumi-lang-java=\"`primary`\">`primary`</span>, and <span pulumi-lang-nodejs=\"`replica`\" pulumi-lang-dotnet=\"`Replica`\" pulumi-lang-go=\"`replica`\" pulumi-lang-python=\"`replica`\" pulumi-lang-yaml=\"`replica`\" pulumi-lang-java=\"`replica`\">`replica`</span> are reserved. Clients connect through the group by appending it to the username, e.g. `user|my-router`. Requires replacement if changed.\n","type":"string"},"organization":{"description":"Organization name slug from <span pulumi-lang-nodejs=\"`listOrganizations`\" pulumi-lang-dotnet=\"`ListOrganizations`\" pulumi-lang-go=\"`listOrganizations`\" pulumi-lang-python=\"`list_organizations`\" pulumi-lang-yaml=\"`listOrganizations`\" pulumi-lang-java=\"`listOrganizations`\">`list_organizations`</span>. Example: <span pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\">`acme`</span>. Requires replacement if changed.\n","type":"string"},"parameters":{"additionalProperties":{"additionalProperties":{"type":"string"},"type":"object"},"type":"object"},"replicasPerCell":{"description":"The new number of replicas in each cell\n","type":"number"},"routerSize":{"description":"The new router size for the router\n","type":"string"},"state":{"description":"The current state of the router\n","type":"string"},"targetCpuUtilization":{"description":"The target average CPU utilization percentage when autoscaling\n","type":"number"}},"required":["autoscaling","branch","database","default","maxReplicasPerCell","name","organization","parameters","replicasPerCell","routerSize","state","targetCpuUtilization"],"requiredInputs":["branch","database","organization"],"stateInputs":{"description":"Input properties used for looking up and filtering NekiRouter resources.\n","properties":{"autoscaling":{"description":"Whether the router scales horizontally within each cell\n","type":"boolean"},"branch":{"description":"Branch name from <span pulumi-lang-nodejs=\"`listBranches`\" pulumi-lang-dotnet=\"`ListBranches`\" pulumi-lang-go=\"`listBranches`\" pulumi-lang-python=\"`list_branches`\" pulumi-lang-yaml=\"`listBranches`\" pulumi-lang-java=\"`listBranches`\">`list_branches`</span>. Example: <span pulumi-lang-nodejs=\"`main`\" pulumi-lang-dotnet=\"`Main`\" pulumi-lang-go=\"`main`\" pulumi-lang-python=\"`main`\" pulumi-lang-yaml=\"`main`\" pulumi-lang-java=\"`main`\">`main`</span>. Requires replacement if changed.\n","type":"string"},"database":{"description":"Database name slug from <span pulumi-lang-nodejs=\"`listDatabases`\" pulumi-lang-dotnet=\"`ListDatabases`\" pulumi-lang-go=\"`listDatabases`\" pulumi-lang-python=\"`list_databases`\" pulumi-lang-yaml=\"`listDatabases`\" pulumi-lang-java=\"`listDatabases`\">`list_databases`</span>. Example: `app-db`. Requires replacement if changed.\n","type":"string"},"default":{"description":"Whether this is the default router\n","type":"boolean"},"maxReplicasPerCell":{"description":"The maximum number of replicas in each cell when autoscaling\n","type":"number"},"name":{"description":"The name of the router group. Lowercase letters, digits, and dashes (an RFC 1123 DNS label); 1-16 characters; cannot start or end with a dash. <span pulumi-lang-nodejs=\"`new`\" pulumi-lang-dotnet=\"`New`\" pulumi-lang-go=\"`new`\" pulumi-lang-python=\"`new`\" pulumi-lang-yaml=\"`new`\" pulumi-lang-java=\"`new`\">`new`</span>, <span pulumi-lang-nodejs=\"`primary`\" pulumi-lang-dotnet=\"`Primary`\" pulumi-lang-go=\"`primary`\" pulumi-lang-python=\"`primary`\" pulumi-lang-yaml=\"`primary`\" pulumi-lang-java=\"`primary`\">`primary`</span>, and <span pulumi-lang-nodejs=\"`replica`\" pulumi-lang-dotnet=\"`Replica`\" pulumi-lang-go=\"`replica`\" pulumi-lang-python=\"`replica`\" pulumi-lang-yaml=\"`replica`\" pulumi-lang-java=\"`replica`\">`replica`</span> are reserved. Clients connect through the group by appending it to the username, e.g. `user|my-router`. Requires replacement if changed.\n","type":"string"},"organization":{"description":"Organization name slug from <span pulumi-lang-nodejs=\"`listOrganizations`\" pulumi-lang-dotnet=\"`ListOrganizations`\" pulumi-lang-go=\"`listOrganizations`\" pulumi-lang-python=\"`list_organizations`\" pulumi-lang-yaml=\"`listOrganizations`\" pulumi-lang-java=\"`listOrganizations`\">`list_organizations`</span>. Example: <span pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\">`acme`</span>. Requires replacement if changed.\n","type":"string"},"parameters":{"additionalProperties":{"additionalProperties":{"type":"string"},"type":"object"},"type":"object"},"replicasPerCell":{"description":"The new number of replicas in each cell\n","type":"number"},"routerSize":{"description":"The new router size for the router\n","type":"string"},"state":{"description":"The current state of the router\n","type":"string"},"targetCpuUtilization":{"description":"The target average CPU utilization percentage when autoscaling\n","type":"number"}},"type":"object"},"type":"object"},"planetscale:index/nekiShard:NekiShard":{"description":"\n\n## Import\n\nIn Terraform v1.5.0 and later, the `import` block can be used with the `id` attribute, for example:\n\nterraform\n\nimport {\n\n  to = planetscale_neki_shard.my_planetscale_neki_shard\n\n  id = jsonencode({\n\n    branch       = \"...\"\n\n    database     = \"...\"\n\n    id           = \"...\"\n\n    organization = \"...\"\n\n  })\n\n}\n\nThe `pulumi import` command can be used, for example:\n\n```sh\n$ pulumi import planetscale:index/nekiShard:NekiShard my_planetscale_neki_shard '{\"branch\": \"...\", \"database\": \"...\", \"id\": \"...\", \"organization\": \"...\"}'\n```\n\n","inputProperties":{"branch":{"description":"Branch name from <span pulumi-lang-nodejs=\"`listBranches`\" pulumi-lang-dotnet=\"`ListBranches`\" pulumi-lang-go=\"`listBranches`\" pulumi-lang-python=\"`list_branches`\" pulumi-lang-yaml=\"`listBranches`\" pulumi-lang-java=\"`listBranches`\">`list_branches`</span>. Example: <span pulumi-lang-nodejs=\"`main`\" pulumi-lang-dotnet=\"`Main`\" pulumi-lang-go=\"`main`\" pulumi-lang-python=\"`main`\" pulumi-lang-yaml=\"`main`\" pulumi-lang-java=\"`main`\">`main`</span>. Requires replacement if changed.\n","type":"string"},"configurationProfile":{"description":"Configuration profile that owns the shard. Changing this value reassigns the shard in place and waits for the asynchronous configuration change to complete.\n","type":"string"},"database":{"description":"Database name slug from <span pulumi-lang-nodejs=\"`listDatabases`\" pulumi-lang-dotnet=\"`ListDatabases`\" pulumi-lang-go=\"`listDatabases`\" pulumi-lang-python=\"`list_databases`\" pulumi-lang-yaml=\"`listDatabases`\" pulumi-lang-java=\"`listDatabases`\">`list_databases`</span>. Example: `app-db`. Requires replacement if changed.\n","type":"string"},"displayName":{"description":"Optional human-readable display name for the shard.\n","type":"string"},"organization":{"description":"Organization name slug from <span pulumi-lang-nodejs=\"`listOrganizations`\" pulumi-lang-dotnet=\"`ListOrganizations`\" pulumi-lang-go=\"`listOrganizations`\" pulumi-lang-python=\"`list_organizations`\" pulumi-lang-yaml=\"`listOrganizations`\" pulumi-lang-java=\"`listOrganizations`\">`list_organizations`</span>. Example: <span pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\">`acme`</span>. Requires replacement if changed.\n","type":"string"}},"properties":{"authoritative":{"description":"Whether the shard is the authoritative shard of the cluster\n","type":"boolean"},"branch":{"description":"Branch name from <span pulumi-lang-nodejs=\"`listBranches`\" pulumi-lang-dotnet=\"`ListBranches`\" pulumi-lang-go=\"`listBranches`\" pulumi-lang-python=\"`list_branches`\" pulumi-lang-yaml=\"`listBranches`\" pulumi-lang-java=\"`listBranches`\">`list_branches`</span>. Example: <span pulumi-lang-nodejs=\"`main`\" pulumi-lang-dotnet=\"`Main`\" pulumi-lang-go=\"`main`\" pulumi-lang-python=\"`main`\" pulumi-lang-yaml=\"`main`\" pulumi-lang-java=\"`main`\">`main`</span>. Requires replacement if changed.\n","type":"string"},"configurationProfile":{"description":"Configuration profile that owns the shard. Changing this value reassigns the shard in place and waits for the asynchronous configuration change to complete.\n","type":"string"},"database":{"description":"Database name slug from <span pulumi-lang-nodejs=\"`listDatabases`\" pulumi-lang-dotnet=\"`ListDatabases`\" pulumi-lang-go=\"`listDatabases`\" pulumi-lang-python=\"`list_databases`\" pulumi-lang-yaml=\"`listDatabases`\" pulumi-lang-java=\"`listDatabases`\">`list_databases`</span>. Example: `app-db`. Requires replacement if changed.\n","type":"string"},"displayName":{"description":"Optional human-readable display name for the shard.\n","type":"string"},"organization":{"description":"Organization name slug from <span pulumi-lang-nodejs=\"`listOrganizations`\" pulumi-lang-dotnet=\"`ListOrganizations`\" pulumi-lang-go=\"`listOrganizations`\" pulumi-lang-python=\"`list_organizations`\" pulumi-lang-yaml=\"`listOrganizations`\" pulumi-lang-java=\"`listOrganizations`\">`list_organizations`</span>. Example: <span pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\">`acme`</span>. Requires replacement if changed.\n","type":"string"},"ready":{"description":"Whether the shard has been created on the cluster\n","type":"boolean"}},"required":["authoritative","branch","configurationProfile","database","displayName","organization","ready"],"requiredInputs":["branch","configurationProfile","database","organization"],"stateInputs":{"description":"Input properties used for looking up and filtering NekiShard resources.\n","properties":{"authoritative":{"description":"Whether the shard is the authoritative shard of the cluster\n","type":"boolean"},"branch":{"description":"Branch name from <span pulumi-lang-nodejs=\"`listBranches`\" pulumi-lang-dotnet=\"`ListBranches`\" pulumi-lang-go=\"`listBranches`\" pulumi-lang-python=\"`list_branches`\" pulumi-lang-yaml=\"`listBranches`\" pulumi-lang-java=\"`listBranches`\">`list_branches`</span>. Example: <span pulumi-lang-nodejs=\"`main`\" pulumi-lang-dotnet=\"`Main`\" pulumi-lang-go=\"`main`\" pulumi-lang-python=\"`main`\" pulumi-lang-yaml=\"`main`\" pulumi-lang-java=\"`main`\">`main`</span>. Requires replacement if changed.\n","type":"string"},"configurationProfile":{"description":"Configuration profile that owns the shard. Changing this value reassigns the shard in place and waits for the asynchronous configuration change to complete.\n","type":"string"},"database":{"description":"Database name slug from <span pulumi-lang-nodejs=\"`listDatabases`\" pulumi-lang-dotnet=\"`ListDatabases`\" pulumi-lang-go=\"`listDatabases`\" pulumi-lang-python=\"`list_databases`\" pulumi-lang-yaml=\"`listDatabases`\" pulumi-lang-java=\"`listDatabases`\">`list_databases`</span>. Example: `app-db`. Requires replacement if changed.\n","type":"string"},"displayName":{"description":"Optional human-readable display name for the shard.\n","type":"string"},"organization":{"description":"Organization name slug from <span pulumi-lang-nodejs=\"`listOrganizations`\" pulumi-lang-dotnet=\"`ListOrganizations`\" pulumi-lang-go=\"`listOrganizations`\" pulumi-lang-python=\"`list_organizations`\" pulumi-lang-yaml=\"`listOrganizations`\" pulumi-lang-java=\"`listOrganizations`\">`list_organizations`</span>. Example: <span pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\">`acme`</span>. Requires replacement if changed.\n","type":"string"},"ready":{"description":"Whether the shard has been created on the cluster\n","type":"boolean"}},"type":"object"},"type":"object"},"planetscale:index/postgresBackupPolicy:PostgresBackupPolicy":{"description":"PostgresBackupPolicy Resource\n\n## Import\n\nIn Terraform v1.5.0 and later, the `import` block can be used with the `id` attribute, for example:\n\nterraform\n\nimport {\n\n  to = planetscale_postgres_backup_policy.my_planetscale_postgres_backup_policy\n\n  id = jsonencode({\n\n    database     = \"...\"\n\n    id           = \"...\"\n\n    organization = \"...\"\n\n  })\n\n}\n\nThe `pulumi import` command can be used, for example:\n\n```sh\n$ pulumi import planetscale:index/postgresBackupPolicy:PostgresBackupPolicy my_planetscale_postgres_backup_policy '{\"database\": \"...\", \"id\": \"...\", \"organization\": \"...\"}'\n```\n\n","inputProperties":{"database":{"description":"Database name slug from <span pulumi-lang-nodejs=\"`listDatabases`\" pulumi-lang-dotnet=\"`ListDatabases`\" pulumi-lang-go=\"`listDatabases`\" pulumi-lang-python=\"`list_databases`\" pulumi-lang-yaml=\"`listDatabases`\" pulumi-lang-java=\"`listDatabases`\">`list_databases`</span>. Example: `app-db`.\n","type":"string"},"frequencyUnit":{"description":"The unit for the frequency of the backup policy. must be one of [\"hour\", \"day\", \"week\", \"month\"]\n","type":"string"},"frequencyValue":{"description":"A number value for the frequency of the backup policy\n","type":"number"},"name":{"description":"The name of the backup policy\n","type":"string"},"organization":{"description":"Organization name slug from <span pulumi-lang-nodejs=\"`listOrganizations`\" pulumi-lang-dotnet=\"`ListOrganizations`\" pulumi-lang-go=\"`listOrganizations`\" pulumi-lang-python=\"`list_organizations`\" pulumi-lang-yaml=\"`listOrganizations`\" pulumi-lang-java=\"`listOrganizations`\">`list_organizations`</span>. Example: <span pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\">`acme`</span>.\n","type":"string"},"retentionUnit":{"description":"The unit for the retention period of the backup policy. must be one of [\"hour\", \"day\", \"week\", \"month\", \"year\"]\n","type":"string"},"retentionValue":{"description":"A number value for the retention period of the backup policy\n","type":"number"},"scheduleDay":{"description":"Day of the week that the backup is scheduled. 0 is Sunday, 6 is Saturday\n","type":"number"},"scheduleTime":{"description":"The time of day that the backup is scheduled, in HH:MM format\n","type":"string"},"scheduleWeek":{"description":"Week of the month that the backup is scheduled. 0 is the first week, 3 is the fourth week\n","type":"number"},"target":{"description":"Whether the policy is for production or development branches. must be one of [\"production\", \"development\"]\n","type":"string"}},"properties":{"database":{"description":"Database name slug from <span pulumi-lang-nodejs=\"`listDatabases`\" pulumi-lang-dotnet=\"`ListDatabases`\" pulumi-lang-go=\"`listDatabases`\" pulumi-lang-python=\"`list_databases`\" pulumi-lang-yaml=\"`listDatabases`\" pulumi-lang-java=\"`listDatabases`\">`list_databases`</span>. Example: `app-db`.\n","type":"string"},"displayName":{"description":"The display name of the backup policy\n","type":"string"},"frequencyUnit":{"description":"The unit for the frequency of the backup policy. must be one of [\"hour\", \"day\", \"week\", \"month\"]\n","type":"string"},"frequencyValue":{"description":"A number value for the frequency of the backup policy\n","type":"number"},"name":{"description":"The name of the backup policy\n","type":"string"},"organization":{"description":"Organization name slug from <span pulumi-lang-nodejs=\"`listOrganizations`\" pulumi-lang-dotnet=\"`ListOrganizations`\" pulumi-lang-go=\"`listOrganizations`\" pulumi-lang-python=\"`list_organizations`\" pulumi-lang-yaml=\"`listOrganizations`\" pulumi-lang-java=\"`listOrganizations`\">`list_organizations`</span>. Example: <span pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\">`acme`</span>.\n","type":"string"},"retentionUnit":{"description":"The unit for the retention period of the backup policy. must be one of [\"hour\", \"day\", \"week\", \"month\", \"year\"]\n","type":"string"},"retentionValue":{"description":"A number value for the retention period of the backup policy\n","type":"number"},"scheduleDay":{"description":"Day of the week that the backup is scheduled. 0 is Sunday, 6 is Saturday\n","type":"number"},"scheduleTime":{"description":"The time of day that the backup is scheduled, in HH:MM format\n","type":"string"},"scheduleWeek":{"description":"Week of the month that the backup is scheduled. 0 is the first week, 3 is the fourth week\n","type":"number"},"target":{"description":"Whether the policy is for production or development branches. must be one of [\"production\", \"development\"]\n","type":"string"}},"required":["database","displayName","frequencyUnit","frequencyValue","name","organization","retentionUnit","retentionValue","scheduleDay","scheduleTime","scheduleWeek","target"],"requiredInputs":["database","organization"],"stateInputs":{"description":"Input properties used for looking up and filtering PostgresBackupPolicy resources.\n","properties":{"database":{"description":"Database name slug from <span pulumi-lang-nodejs=\"`listDatabases`\" pulumi-lang-dotnet=\"`ListDatabases`\" pulumi-lang-go=\"`listDatabases`\" pulumi-lang-python=\"`list_databases`\" pulumi-lang-yaml=\"`listDatabases`\" pulumi-lang-java=\"`listDatabases`\">`list_databases`</span>. Example: `app-db`.\n","type":"string"},"displayName":{"description":"The display name of the backup policy\n","type":"string"},"frequencyUnit":{"description":"The unit for the frequency of the backup policy. must be one of [\"hour\", \"day\", \"week\", \"month\"]\n","type":"string"},"frequencyValue":{"description":"A number value for the frequency of the backup policy\n","type":"number"},"name":{"description":"The name of the backup policy\n","type":"string"},"organization":{"description":"Organization name slug from <span pulumi-lang-nodejs=\"`listOrganizations`\" pulumi-lang-dotnet=\"`ListOrganizations`\" pulumi-lang-go=\"`listOrganizations`\" pulumi-lang-python=\"`list_organizations`\" pulumi-lang-yaml=\"`listOrganizations`\" pulumi-lang-java=\"`listOrganizations`\">`list_organizations`</span>. Example: <span pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\">`acme`</span>.\n","type":"string"},"retentionUnit":{"description":"The unit for the retention period of the backup policy. must be one of [\"hour\", \"day\", \"week\", \"month\", \"year\"]\n","type":"string"},"retentionValue":{"description":"A number value for the retention period of the backup policy\n","type":"number"},"scheduleDay":{"description":"Day of the week that the backup is scheduled. 0 is Sunday, 6 is Saturday\n","type":"number"},"scheduleTime":{"description":"The time of day that the backup is scheduled, in HH:MM format\n","type":"string"},"scheduleWeek":{"description":"Week of the month that the backup is scheduled. 0 is the first week, 3 is the fourth week\n","type":"number"},"target":{"description":"Whether the policy is for production or development branches. must be one of [\"production\", \"development\"]\n","type":"string"}},"type":"object"},"type":"object"},"planetscale:index/postgresBouncer:PostgresBouncer":{"description":"PostgresBouncer Resource\n\n## Example Usage\n\n<!--Start PulumiCodeChooser -->\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as planetscale from \"@pulumi/planetscale\";\n\nconst myBouncer = new planetscale.PostgresBouncer(\"my_bouncer\", {\n    organization: \"my-organization\",\n    database: \"my-database\",\n    branch: \"main\",\n    name: \"my-bouncer\",\n    target: \"primary\",\n    bouncerSize: \"PGB_5\",\n    replicasPerCell: 1,\n    parameters: {\n        pgbouncer: {\n            defaultPoolSize: \"100\",\n        },\n    },\n});\n```\n```python\nimport pulumi\nimport pulumi_planetscale as planetscale\n\nmy_bouncer = planetscale.PostgresBouncer(\"my_bouncer\",\n    organization=\"my-organization\",\n    database=\"my-database\",\n    branch=\"main\",\n    name=\"my-bouncer\",\n    target=\"primary\",\n    bouncer_size=\"PGB_5\",\n    replicas_per_cell=1,\n    parameters={\n        \"pgbouncer\": {\n            \"defaultPoolSize\": \"100\",\n        },\n    })\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Planetscale = Pulumi.Planetscale;\n\nreturn await Deployment.RunAsync(() => \n{\n    var myBouncer = new Planetscale.PostgresBouncer(\"my_bouncer\", new()\n    {\n        Organization = \"my-organization\",\n        Database = \"my-database\",\n        Branch = \"main\",\n        Name = \"my-bouncer\",\n        Target = \"primary\",\n        BouncerSize = \"PGB_5\",\n        ReplicasPerCell = 1,\n        Parameters = \n        {\n            { \"pgbouncer\", \n            {\n                { \"defaultPoolSize\", \"100\" },\n            } },\n        },\n    });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-terraform-provider/sdks/go/planetscale/planetscale\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := planetscale.NewPostgresBouncer(ctx, \"my_bouncer\", &planetscale.PostgresBouncerArgs{\n\t\t\tOrganization:    pulumi.String(\"my-organization\"),\n\t\t\tDatabase:        pulumi.String(\"my-database\"),\n\t\t\tBranch:          pulumi.String(\"main\"),\n\t\t\tName:            pulumi.String(\"my-bouncer\"),\n\t\t\tTarget:          pulumi.String(\"primary\"),\n\t\t\tBouncerSize:     pulumi.String(\"PGB_5\"),\n\t\t\tReplicasPerCell: pulumi.Float64(1),\n\t\t\tParameters: pulumi.StringMapMap{\n\t\t\t\t\"pgbouncer\": pulumi.StringMap{\n\t\t\t\t\t\"defaultPoolSize\": pulumi.String(\"100\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.planetscale.PostgresBouncer;\nimport com.pulumi.planetscale.PostgresBouncerArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n    public static void main(String[] args) {\n        Pulumi.run(App::stack);\n    }\n\n    public static void stack(Context ctx) {\n        var myBouncer = new PostgresBouncer(\"myBouncer\", PostgresBouncerArgs.builder()\n            .organization(\"my-organization\")\n            .database(\"my-database\")\n            .branch(\"main\")\n            .name(\"my-bouncer\")\n            .target(\"primary\")\n            .bouncerSize(\"PGB_5\")\n            .replicasPerCell(1.0)\n            .parameters(Map.of(\"pgbouncer\", Map.of(\"defaultPoolSize\", \"100\")))\n            .build());\n\n    }\n}\n```\n```yaml\nresources:\n  myBouncer:\n    type: planetscale:PostgresBouncer\n    name: my_bouncer\n    properties:\n      organization: my-organization\n      database: my-database\n      branch: main\n      name: my-bouncer\n      target: primary\n      bouncerSize: PGB_5\n      replicasPerCell: 1\n      parameters:\n        pgbouncer:\n          defaultPoolSize: '100'\n```\n<!--End PulumiCodeChooser -->\n\n## Import\n\nIn Terraform v1.5.0 and later, the `import` block can be used with the `id` attribute, for example:\n\nterraform\n\nimport {\n\n  to = planetscale_postgres_bouncer.my_planetscale_postgres_bouncer\n\n  id = jsonencode({\n\n    branch       = \"...\"\n\n    database     = \"...\"\n\n    name         = \"...\"\n\n    organization = \"...\"\n\n  })\n\n}\n\nThe `pulumi import` command can be used, for example:\n\n```sh\n$ pulumi import planetscale:index/postgresBouncer:PostgresBouncer my_planetscale_postgres_bouncer '{\"branch\": \"...\", \"database\": \"...\", \"name\": \"...\", \"organization\": \"...\"}'\n```\n\n","inputProperties":{"bouncerSize":{"description":"The bouncer size, e.g. `PGB_5`, `PGB_10`, `PGB_20`, `PGB_40`, `PGB_80`, or `PGB_160`. Defaults to `PGB_5`.\n","type":"string"},"branch":{"description":"Branch name from <span pulumi-lang-nodejs=\"`listBranches`\" pulumi-lang-dotnet=\"`ListBranches`\" pulumi-lang-go=\"`listBranches`\" pulumi-lang-python=\"`list_branches`\" pulumi-lang-yaml=\"`listBranches`\" pulumi-lang-java=\"`listBranches`\">`list_branches`</span>. Example: <span pulumi-lang-nodejs=\"`main`\" pulumi-lang-dotnet=\"`Main`\" pulumi-lang-go=\"`main`\" pulumi-lang-python=\"`main`\" pulumi-lang-yaml=\"`main`\" pulumi-lang-java=\"`main`\">`main`</span>.\n","type":"string"},"database":{"description":"Database name slug from <span pulumi-lang-nodejs=\"`listDatabases`\" pulumi-lang-dotnet=\"`ListDatabases`\" pulumi-lang-go=\"`listDatabases`\" pulumi-lang-python=\"`list_databases`\" pulumi-lang-yaml=\"`listDatabases`\" pulumi-lang-java=\"`listDatabases`\">`list_databases`</span>. Example: `app-db`.\n","type":"string"},"name":{"description":"The name of the bouncer, at most 12 characters. Clients connect through the bouncer by appending it to the username, e.g. `postgres.abc123|my-bouncer`. Requires replacement if changed.\n","type":"string"},"organization":{"description":"Organization name slug from <span pulumi-lang-nodejs=\"`listOrganizations`\" pulumi-lang-dotnet=\"`ListOrganizations`\" pulumi-lang-go=\"`listOrganizations`\" pulumi-lang-python=\"`list_organizations`\" pulumi-lang-yaml=\"`listOrganizations`\" pulumi-lang-java=\"`listOrganizations`\">`list_organizations`</span>. Example: <span pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\">`acme`</span>.\n","type":"string"},"parameters":{"additionalProperties":{"additionalProperties":{"type":"string"},"type":"object"},"description":"PgBouncer parameter overrides, nested by namespace, e.g. { pgbouncer = { default*pool*size = \"100\" } }. Omitted parameters are reset to their defaults.\n","type":"object"},"replicasPerCell":{"description":"The number of PgBouncer instances per availability zone. Defaults to 1.\n","type":"number"},"target":{"description":"The servers the bouncer routes connections to: <span pulumi-lang-nodejs=\"`primary`\" pulumi-lang-dotnet=\"`Primary`\" pulumi-lang-go=\"`primary`\" pulumi-lang-python=\"`primary`\" pulumi-lang-yaml=\"`primary`\" pulumi-lang-java=\"`primary`\">`primary`</span>, <span pulumi-lang-nodejs=\"`replica`\" pulumi-lang-dotnet=\"`Replica`\" pulumi-lang-go=\"`replica`\" pulumi-lang-python=\"`replica`\" pulumi-lang-yaml=\"`replica`\" pulumi-lang-java=\"`replica`\">`replica`</span>, or <span pulumi-lang-nodejs=\"`replicaAzAffinity`\" pulumi-lang-dotnet=\"`ReplicaAzAffinity`\" pulumi-lang-go=\"`replicaAzAffinity`\" pulumi-lang-python=\"`replica_az_affinity`\" pulumi-lang-yaml=\"`replicaAzAffinity`\" pulumi-lang-java=\"`replicaAzAffinity`\">`replica_az_affinity`</span> (replicas in the same availability zone as the bouncer). must be one of [\"primary\", \"replica\", \"replica*az*affinity\"]; Requires replacement if changed.\n","type":"string"}},"properties":{"actor":{"$ref":"#/types/planetscale:index%2FPostgresBouncerActor:PostgresBouncerActor"},"bouncerSize":{"description":"The bouncer size, e.g. `PGB_5`, `PGB_10`, `PGB_20`, `PGB_40`, `PGB_80`, or `PGB_160`. Defaults to `PGB_5`.\n","type":"string"},"branch":{"description":"Branch name from <span pulumi-lang-nodejs=\"`listBranches`\" pulumi-lang-dotnet=\"`ListBranches`\" pulumi-lang-go=\"`listBranches`\" pulumi-lang-python=\"`list_branches`\" pulumi-lang-yaml=\"`listBranches`\" pulumi-lang-java=\"`listBranches`\">`list_branches`</span>. Example: <span pulumi-lang-nodejs=\"`main`\" pulumi-lang-dotnet=\"`Main`\" pulumi-lang-go=\"`main`\" pulumi-lang-python=\"`main`\" pulumi-lang-yaml=\"`main`\" pulumi-lang-java=\"`main`\">`main`</span>.\n","type":"string"},"database":{"description":"Database name slug from <span pulumi-lang-nodejs=\"`listDatabases`\" pulumi-lang-dotnet=\"`ListDatabases`\" pulumi-lang-go=\"`listDatabases`\" pulumi-lang-python=\"`list_databases`\" pulumi-lang-yaml=\"`listDatabases`\" pulumi-lang-java=\"`listDatabases`\">`list_databases`</span>. Example: `app-db`.\n","type":"string"},"name":{"description":"The name of the bouncer, at most 12 characters. Clients connect through the bouncer by appending it to the username, e.g. `postgres.abc123|my-bouncer`. Requires replacement if changed.\n","type":"string"},"organization":{"description":"Organization name slug from <span pulumi-lang-nodejs=\"`listOrganizations`\" pulumi-lang-dotnet=\"`ListOrganizations`\" pulumi-lang-go=\"`listOrganizations`\" pulumi-lang-python=\"`list_organizations`\" pulumi-lang-yaml=\"`listOrganizations`\" pulumi-lang-java=\"`listOrganizations`\">`list_organizations`</span>. Example: <span pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\">`acme`</span>.\n","type":"string"},"parameters":{"additionalProperties":{"additionalProperties":{"type":"string"},"type":"object"},"description":"PgBouncer parameter overrides, nested by namespace, e.g. { pgbouncer = { default*pool*size = \"100\" } }. Omitted parameters are reset to their defaults.\n","type":"object"},"replicasPerCell":{"description":"The number of PgBouncer instances per availability zone. Defaults to 1.\n","type":"number"},"target":{"description":"The servers the bouncer routes connections to: <span pulumi-lang-nodejs=\"`primary`\" pulumi-lang-dotnet=\"`Primary`\" pulumi-lang-go=\"`primary`\" pulumi-lang-python=\"`primary`\" pulumi-lang-yaml=\"`primary`\" pulumi-lang-java=\"`primary`\">`primary`</span>, <span pulumi-lang-nodejs=\"`replica`\" pulumi-lang-dotnet=\"`Replica`\" pulumi-lang-go=\"`replica`\" pulumi-lang-python=\"`replica`\" pulumi-lang-yaml=\"`replica`\" pulumi-lang-java=\"`replica`\">`replica`</span>, or <span pulumi-lang-nodejs=\"`replicaAzAffinity`\" pulumi-lang-dotnet=\"`ReplicaAzAffinity`\" pulumi-lang-go=\"`replicaAzAffinity`\" pulumi-lang-python=\"`replica_az_affinity`\" pulumi-lang-yaml=\"`replicaAzAffinity`\" pulumi-lang-java=\"`replicaAzAffinity`\">`replica_az_affinity`</span> (replicas in the same availability zone as the bouncer). must be one of [\"primary\", \"replica\", \"replica*az*affinity\"]; Requires replacement if changed.\n","type":"string"}},"required":["actor","bouncerSize","branch","database","name","organization","parameters","replicasPerCell","target"],"requiredInputs":["branch","database","organization"],"stateInputs":{"description":"Input properties used for looking up and filtering PostgresBouncer resources.\n","properties":{"actor":{"$ref":"#/types/planetscale:index%2FPostgresBouncerActor:PostgresBouncerActor"},"bouncerSize":{"description":"The bouncer size, e.g. `PGB_5`, `PGB_10`, `PGB_20`, `PGB_40`, `PGB_80`, or `PGB_160`. Defaults to `PGB_5`.\n","type":"string"},"branch":{"description":"Branch name from <span pulumi-lang-nodejs=\"`listBranches`\" pulumi-lang-dotnet=\"`ListBranches`\" pulumi-lang-go=\"`listBranches`\" pulumi-lang-python=\"`list_branches`\" pulumi-lang-yaml=\"`listBranches`\" pulumi-lang-java=\"`listBranches`\">`list_branches`</span>. Example: <span pulumi-lang-nodejs=\"`main`\" pulumi-lang-dotnet=\"`Main`\" pulumi-lang-go=\"`main`\" pulumi-lang-python=\"`main`\" pulumi-lang-yaml=\"`main`\" pulumi-lang-java=\"`main`\">`main`</span>.\n","type":"string"},"database":{"description":"Database name slug from <span pulumi-lang-nodejs=\"`listDatabases`\" pulumi-lang-dotnet=\"`ListDatabases`\" pulumi-lang-go=\"`listDatabases`\" pulumi-lang-python=\"`list_databases`\" pulumi-lang-yaml=\"`listDatabases`\" pulumi-lang-java=\"`listDatabases`\">`list_databases`</span>. Example: `app-db`.\n","type":"string"},"name":{"description":"The name of the bouncer, at most 12 characters. Clients connect through the bouncer by appending it to the username, e.g. `postgres.abc123|my-bouncer`. Requires replacement if changed.\n","type":"string"},"organization":{"description":"Organization name slug from <span pulumi-lang-nodejs=\"`listOrganizations`\" pulumi-lang-dotnet=\"`ListOrganizations`\" pulumi-lang-go=\"`listOrganizations`\" pulumi-lang-python=\"`list_organizations`\" pulumi-lang-yaml=\"`listOrganizations`\" pulumi-lang-java=\"`listOrganizations`\">`list_organizations`</span>. Example: <span pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\">`acme`</span>.\n","type":"string"},"parameters":{"additionalProperties":{"additionalProperties":{"type":"string"},"type":"object"},"description":"PgBouncer parameter overrides, nested by namespace, e.g. { pgbouncer = { default*pool*size = \"100\" } }. Omitted parameters are reset to their defaults.\n","type":"object"},"replicasPerCell":{"description":"The number of PgBouncer instances per availability zone. Defaults to 1.\n","type":"number"},"target":{"description":"The servers the bouncer routes connections to: <span pulumi-lang-nodejs=\"`primary`\" pulumi-lang-dotnet=\"`Primary`\" pulumi-lang-go=\"`primary`\" pulumi-lang-python=\"`primary`\" pulumi-lang-yaml=\"`primary`\" pulumi-lang-java=\"`primary`\">`primary`</span>, <span pulumi-lang-nodejs=\"`replica`\" pulumi-lang-dotnet=\"`Replica`\" pulumi-lang-go=\"`replica`\" pulumi-lang-python=\"`replica`\" pulumi-lang-yaml=\"`replica`\" pulumi-lang-java=\"`replica`\">`replica`</span>, or <span pulumi-lang-nodejs=\"`replicaAzAffinity`\" pulumi-lang-dotnet=\"`ReplicaAzAffinity`\" pulumi-lang-go=\"`replicaAzAffinity`\" pulumi-lang-python=\"`replica_az_affinity`\" pulumi-lang-yaml=\"`replicaAzAffinity`\" pulumi-lang-java=\"`replicaAzAffinity`\">`replica_az_affinity`</span> (replicas in the same availability zone as the bouncer). must be one of [\"primary\", \"replica\", \"replica*az*affinity\"]; Requires replacement if changed.\n","type":"string"}},"type":"object"},"type":"object"},"planetscale:index/postgresBranch:PostgresBranch":{"description":"PostgresBranch Resource\n\n## Example Usage\n\n<!--Start PulumiCodeChooser -->\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as planetscale from \"@pulumi/planetscale\";\n\nconst myPostgresbranch = new planetscale.PostgresBranch(\"my_postgresbranch\", {\n    organization: \"my-organization\",\n    database: \"ru00w3vqvfr9\",\n    name: \"my-branch\",\n    clusterSize: \"PS_10_AWS_ARM\",\n    deletionProtected: true,\n    parameters: {\n        pgconf: {\n            maxConnections: \"200\",\n        },\n    },\n});\n```\n```python\nimport pulumi\nimport pulumi_planetscale as planetscale\n\nmy_postgresbranch = planetscale.PostgresBranch(\"my_postgresbranch\",\n    organization=\"my-organization\",\n    database=\"ru00w3vqvfr9\",\n    name=\"my-branch\",\n    cluster_size=\"PS_10_AWS_ARM\",\n    deletion_protected=True,\n    parameters={\n        \"pgconf\": {\n            \"maxConnections\": \"200\",\n        },\n    })\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Planetscale = Pulumi.Planetscale;\n\nreturn await Deployment.RunAsync(() => \n{\n    var myPostgresbranch = new Planetscale.PostgresBranch(\"my_postgresbranch\", new()\n    {\n        Organization = \"my-organization\",\n        Database = \"ru00w3vqvfr9\",\n        Name = \"my-branch\",\n        ClusterSize = \"PS_10_AWS_ARM\",\n        DeletionProtected = true,\n        Parameters = \n        {\n            { \"pgconf\", \n            {\n                { \"maxConnections\", \"200\" },\n            } },\n        },\n    });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-terraform-provider/sdks/go/planetscale/planetscale\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := planetscale.NewPostgresBranch(ctx, \"my_postgresbranch\", &planetscale.PostgresBranchArgs{\n\t\t\tOrganization:      pulumi.String(\"my-organization\"),\n\t\t\tDatabase:          pulumi.String(\"ru00w3vqvfr9\"),\n\t\t\tName:              pulumi.String(\"my-branch\"),\n\t\t\tClusterSize:       pulumi.String(\"PS_10_AWS_ARM\"),\n\t\t\tDeletionProtected: pulumi.Bool(true),\n\t\t\tParameters: pulumi.StringMapMap{\n\t\t\t\t\"pgconf\": pulumi.StringMap{\n\t\t\t\t\t\"maxConnections\": pulumi.String(\"200\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.planetscale.PostgresBranch;\nimport com.pulumi.planetscale.PostgresBranchArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n    public static void main(String[] args) {\n        Pulumi.run(App::stack);\n    }\n\n    public static void stack(Context ctx) {\n        var myPostgresbranch = new PostgresBranch(\"myPostgresbranch\", PostgresBranchArgs.builder()\n            .organization(\"my-organization\")\n            .database(\"ru00w3vqvfr9\")\n            .name(\"my-branch\")\n            .clusterSize(\"PS_10_AWS_ARM\")\n            .deletionProtected(true)\n            .parameters(Map.of(\"pgconf\", Map.of(\"maxConnections\", \"200\")))\n            .build());\n\n    }\n}\n```\n```yaml\nresources:\n  myPostgresbranch:\n    type: planetscale:PostgresBranch\n    name: my_postgresbranch\n    properties:\n      organization: my-organization\n      database: ru00w3vqvfr9\n      name: my-branch\n      clusterSize: PS_10_AWS_ARM\n      deletionProtected: true # Postgres parameter overrides, nested by namespace (pgconf, pgbouncer,\n      #   # patroni). Omitted parameters are reset to their defaults.\n      parameters:\n        pgconf:\n          maxConnections: '200'\n```\n<!--End PulumiCodeChooser -->\n\n## Import\n\nIn Terraform v1.5.0 and later, the `import` block can be used with the `id` attribute, for example:\n\nterraform\n\nimport {\n\n  to = planetscale_postgres_branch.my_planetscale_postgres_branch\n\n  id = jsonencode({\n\n    database     = \"...\"\n\n    id           = \"...\"\n\n    organization = \"...\"\n\n  })\n\n}\n\nThe `pulumi import` command can be used, for example:\n\n```sh\n$ pulumi import planetscale:index/postgresBranch:PostgresBranch my_planetscale_postgres_branch '{\"database\": \"...\", \"id\": \"...\", \"organization\": \"...\"}'\n```\n\n","inputProperties":{"backupId":{"description":"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.","type":"string"},"clusterSize":{"description":"The size of the cluster. Available sizes can be found using the 'List cluster sizes' endpoint. Changing a production branch to a PS-DEV size demotes it and also requires <span pulumi-lang-nodejs=\"`connectProductionBranch`\" pulumi-lang-dotnet=\"`ConnectProductionBranch`\" pulumi-lang-go=\"`connectProductionBranch`\" pulumi-lang-python=\"`connect_production_branch`\" pulumi-lang-yaml=\"`connectProductionBranch`\" pulumi-lang-java=\"`connectProductionBranch`\">`connect_production_branch`</span> or <span pulumi-lang-nodejs=\"`demoteBranches`\" pulumi-lang-dotnet=\"`DemoteBranches`\" pulumi-lang-go=\"`demoteBranches`\" pulumi-lang-python=\"`demote_branches`\" pulumi-lang-yaml=\"`demoteBranches`\" pulumi-lang-java=\"`demoteBranches`\">`demote_branches`</span> access, or the <span pulumi-lang-nodejs=\"`demoteBranches`\" pulumi-lang-dotnet=\"`DemoteBranches`\" pulumi-lang-go=\"`demoteBranches`\" pulumi-lang-python=\"`demote_branches`\" pulumi-lang-yaml=\"`demoteBranches`\" pulumi-lang-java=\"`demoteBranches`\">`demote_branches`</span> OAuth scope.","type":"string"},"database":{"description":"Database name slug from <span pulumi-lang-nodejs=\"`listDatabases`\" pulumi-lang-dotnet=\"`ListDatabases`\" pulumi-lang-go=\"`listDatabases`\" pulumi-lang-python=\"`list_databases`\" pulumi-lang-yaml=\"`listDatabases`\" pulumi-lang-java=\"`listDatabases`\">`list_databases`</span>. Example: `app-db`.\n","type":"string"},"deleteDescendants":{"description":"If true, recursively delete all descendant branches along with this branch","type":"boolean"},"deletionProtected":{"description":"Whether deletion protection is enabled for the branch","type":"boolean"},"majorVersion":{"description":"The PostgreSQL major version to use for the branch. Defaults to the major version of the parent branch if it exists or the database's default branch major version. Ignored for branches restored from backups. Requires replacement if changed.","type":"string"},"name":{"description":"The name of the branch to create\n","type":"string"},"organization":{"description":"Organization name slug from <span pulumi-lang-nodejs=\"`listOrganizations`\" pulumi-lang-dotnet=\"`ListOrganizations`\" pulumi-lang-go=\"`listOrganizations`\" pulumi-lang-python=\"`list_organizations`\" pulumi-lang-yaml=\"`listOrganizations`\" pulumi-lang-java=\"`listOrganizations`\">`list_organizations`</span>. Example: <span pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\">`acme`</span>.\n","type":"string"},"parameters":{"additionalProperties":{"additionalProperties":{"type":"string"},"type":"object"},"description":"Postgres parameter overrides, nested by namespace (pgconf, pgbouncer, patroni), e.g. { pgconf = {<span pulumi-lang-nodejs=\" maxConnections \" pulumi-lang-dotnet=\" MaxConnections \" pulumi-lang-go=\" maxConnections \" pulumi-lang-python=\" max_connections \" pulumi-lang-yaml=\" maxConnections \" pulumi-lang-java=\" maxConnections \"> max_connections </span>= \"200\" } }. Omitted parameters are reset to their defaults.","type":"object"},"parentBranch":{"description":"The name of the parent branch. Defaults to the database's default branch if not provided. Requires replacement if changed.","type":"string"},"region":{"description":"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.","type":"string"},"restorePoint":{"description":"Restore from a point-in-time recovery timestamp (e.g. 2023-01-01T00:00:00Z). Available only for PostgreSQL databases. Requires replacement if changed.","type":"string"},"storage":{"$ref":"#/types/planetscale:index%2FPostgresBranchStorage:PostgresBranchStorage","description":"Storage configuration for non-Metal branches. PlanetScale clears these settings for Metal cluster sizes."}},"properties":{"actor":{"$ref":"#/types/planetscale:index%2FPostgresBranchActor:PostgresBranchActor"},"backupId":{"description":"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.","type":"string"},"clusterSize":{"description":"The size of the cluster. Available sizes can be found using the 'List cluster sizes' endpoint. Changing a production branch to a PS-DEV size demotes it and also requires <span pulumi-lang-nodejs=\"`connectProductionBranch`\" pulumi-lang-dotnet=\"`ConnectProductionBranch`\" pulumi-lang-go=\"`connectProductionBranch`\" pulumi-lang-python=\"`connect_production_branch`\" pulumi-lang-yaml=\"`connectProductionBranch`\" pulumi-lang-java=\"`connectProductionBranch`\">`connect_production_branch`</span> or <span pulumi-lang-nodejs=\"`demoteBranches`\" pulumi-lang-dotnet=\"`DemoteBranches`\" pulumi-lang-go=\"`demoteBranches`\" pulumi-lang-python=\"`demote_branches`\" pulumi-lang-yaml=\"`demoteBranches`\" pulumi-lang-java=\"`demoteBranches`\">`demote_branches`</span> access, or the <span pulumi-lang-nodejs=\"`demoteBranches`\" pulumi-lang-dotnet=\"`DemoteBranches`\" pulumi-lang-go=\"`demoteBranches`\" pulumi-lang-python=\"`demote_branches`\" pulumi-lang-yaml=\"`demoteBranches`\" pulumi-lang-java=\"`demoteBranches`\">`demote_branches`</span> OAuth scope.","type":"string"},"database":{"description":"Database name slug from <span pulumi-lang-nodejs=\"`listDatabases`\" pulumi-lang-dotnet=\"`ListDatabases`\" pulumi-lang-go=\"`listDatabases`\" pulumi-lang-python=\"`list_databases`\" pulumi-lang-yaml=\"`listDatabases`\" pulumi-lang-java=\"`listDatabases`\">`list_databases`</span>. Example: `app-db`.\n","type":"string"},"deleteDescendants":{"description":"If true, recursively delete all descendant branches along with this branch","type":"boolean"},"deletionProtected":{"description":"Whether deletion protection is enabled for the branch","type":"boolean"},"htmlUrl":{"description":"Planetscale app URL for the branch","type":"string"},"majorVersion":{"description":"The PostgreSQL major version to use for the branch. Defaults to the major version of the parent branch if it exists or the database's default branch major version. Ignored for branches restored from backups. Requires replacement if changed.","type":"string"},"name":{"description":"The name of the branch to create\n","type":"string"},"organization":{"description":"Organization name slug from <span pulumi-lang-nodejs=\"`listOrganizations`\" pulumi-lang-dotnet=\"`ListOrganizations`\" pulumi-lang-go=\"`listOrganizations`\" pulumi-lang-python=\"`list_organizations`\" pulumi-lang-yaml=\"`listOrganizations`\" pulumi-lang-java=\"`listOrganizations`\">`list_organizations`</span>. Example: <span pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\">`acme`</span>.\n","type":"string"},"parameters":{"additionalProperties":{"additionalProperties":{"type":"string"},"type":"object"},"description":"Postgres parameter overrides, nested by namespace (pgconf, pgbouncer, patroni), e.g. { pgconf = {<span pulumi-lang-nodejs=\" maxConnections \" pulumi-lang-dotnet=\" MaxConnections \" pulumi-lang-go=\" maxConnections \" pulumi-lang-python=\" max_connections \" pulumi-lang-yaml=\" maxConnections \" pulumi-lang-java=\" maxConnections \"> max_connections </span>= \"200\" } }. Omitted parameters are reset to their defaults.","type":"object"},"parentBranch":{"description":"The name of the parent branch. Defaults to the database's default branch if not provided. Requires replacement if changed.","type":"string"},"ready":{"description":"Whether or not the branch is ready to serve queries","type":"boolean"},"region":{"description":"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.","type":"string"},"regionData":{"$ref":"#/types/planetscale:index%2FPostgresBranchRegionData:PostgresBranchRegionData"},"replicas":{"description":"The number of replicas for the branch","type":"number"},"restorePoint":{"description":"Restore from a point-in-time recovery timestamp (e.g. 2023-01-01T00:00:00Z). Available only for PostgreSQL databases. Requires replacement if changed.","type":"string"},"state":{"description":"The current state of the branch","type":"string"},"storage":{"$ref":"#/types/planetscale:index%2FPostgresBranchStorage:PostgresBranchStorage","description":"Storage configuration for non-Metal branches. PlanetScale clears these settings for Metal cluster sizes."},"url":{"description":"Planetscale API URL for the branch","type":"string"}},"required":["actor","clusterSize","database","deletionProtected","htmlUrl","name","organization","parameters","parentBranch","ready","region","regionData","replicas","state","storage","url"],"requiredInputs":["database","organization"],"stateInputs":{"description":"Input properties used for looking up and filtering PostgresBranch resources.\n","properties":{"actor":{"$ref":"#/types/planetscale:index%2FPostgresBranchActor:PostgresBranchActor"},"backupId":{"description":"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.","type":"string"},"clusterSize":{"description":"The size of the cluster. Available sizes can be found using the 'List cluster sizes' endpoint. Changing a production branch to a PS-DEV size demotes it and also requires <span pulumi-lang-nodejs=\"`connectProductionBranch`\" pulumi-lang-dotnet=\"`ConnectProductionBranch`\" pulumi-lang-go=\"`connectProductionBranch`\" pulumi-lang-python=\"`connect_production_branch`\" pulumi-lang-yaml=\"`connectProductionBranch`\" pulumi-lang-java=\"`connectProductionBranch`\">`connect_production_branch`</span> or <span pulumi-lang-nodejs=\"`demoteBranches`\" pulumi-lang-dotnet=\"`DemoteBranches`\" pulumi-lang-go=\"`demoteBranches`\" pulumi-lang-python=\"`demote_branches`\" pulumi-lang-yaml=\"`demoteBranches`\" pulumi-lang-java=\"`demoteBranches`\">`demote_branches`</span> access, or the <span pulumi-lang-nodejs=\"`demoteBranches`\" pulumi-lang-dotnet=\"`DemoteBranches`\" pulumi-lang-go=\"`demoteBranches`\" pulumi-lang-python=\"`demote_branches`\" pulumi-lang-yaml=\"`demoteBranches`\" pulumi-lang-java=\"`demoteBranches`\">`demote_branches`</span> OAuth scope.","type":"string"},"database":{"description":"Database name slug from <span pulumi-lang-nodejs=\"`listDatabases`\" pulumi-lang-dotnet=\"`ListDatabases`\" pulumi-lang-go=\"`listDatabases`\" pulumi-lang-python=\"`list_databases`\" pulumi-lang-yaml=\"`listDatabases`\" pulumi-lang-java=\"`listDatabases`\">`list_databases`</span>. Example: `app-db`.\n","type":"string"},"deleteDescendants":{"description":"If true, recursively delete all descendant branches along with this branch","type":"boolean"},"deletionProtected":{"description":"Whether deletion protection is enabled for the branch","type":"boolean"},"htmlUrl":{"description":"Planetscale app URL for the branch","type":"string"},"majorVersion":{"description":"The PostgreSQL major version to use for the branch. Defaults to the major version of the parent branch if it exists or the database's default branch major version. Ignored for branches restored from backups. Requires replacement if changed.","type":"string"},"name":{"description":"The name of the branch to create\n","type":"string"},"organization":{"description":"Organization name slug from <span pulumi-lang-nodejs=\"`listOrganizations`\" pulumi-lang-dotnet=\"`ListOrganizations`\" pulumi-lang-go=\"`listOrganizations`\" pulumi-lang-python=\"`list_organizations`\" pulumi-lang-yaml=\"`listOrganizations`\" pulumi-lang-java=\"`listOrganizations`\">`list_organizations`</span>. Example: <span pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\">`acme`</span>.\n","type":"string"},"parameters":{"additionalProperties":{"additionalProperties":{"type":"string"},"type":"object"},"description":"Postgres parameter overrides, nested by namespace (pgconf, pgbouncer, patroni), e.g. { pgconf = {<span pulumi-lang-nodejs=\" maxConnections \" pulumi-lang-dotnet=\" MaxConnections \" pulumi-lang-go=\" maxConnections \" pulumi-lang-python=\" max_connections \" pulumi-lang-yaml=\" maxConnections \" pulumi-lang-java=\" maxConnections \"> max_connections </span>= \"200\" } }. Omitted parameters are reset to their defaults.","type":"object"},"parentBranch":{"description":"The name of the parent branch. Defaults to the database's default branch if not provided. Requires replacement if changed.","type":"string"},"ready":{"description":"Whether or not the branch is ready to serve queries","type":"boolean"},"region":{"description":"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.","type":"string"},"regionData":{"$ref":"#/types/planetscale:index%2FPostgresBranchRegionData:PostgresBranchRegionData"},"replicas":{"description":"The number of replicas for the branch","type":"number"},"restorePoint":{"description":"Restore from a point-in-time recovery timestamp (e.g. 2023-01-01T00:00:00Z). Available only for PostgreSQL databases. Requires replacement if changed.","type":"string"},"state":{"description":"The current state of the branch","type":"string"},"storage":{"$ref":"#/types/planetscale:index%2FPostgresBranchStorage:PostgresBranchStorage","description":"Storage configuration for non-Metal branches. PlanetScale clears these settings for Metal cluster sizes."},"url":{"description":"Planetscale API URL for the branch","type":"string"}},"type":"object"},"type":"object"},"planetscale:index/postgresBranchBackup:PostgresBranchBackup":{"description":"PostgresBranchBackup Resource\n\n## Import\n\nIn Terraform v1.5.0 and later, the `import` block can be used with the `id` attribute, for example:\n\nterraform\n\nimport {\n\n  to = planetscale_postgres_branch_backup.my_planetscale_postgres_branch_backup\n\n  id = jsonencode({\n\n    branch       = \"...\"\n\n    database     = \"...\"\n\n    id           = \"...\"\n\n    organization = \"...\"\n\n  })\n\n}\n\nThe `pulumi import` command can be used, for example:\n\n```sh\n$ pulumi import planetscale:index/postgresBranchBackup:PostgresBranchBackup my_planetscale_postgres_branch_backup '{\"branch\": \"...\", \"database\": \"...\", \"id\": \"...\", \"organization\": \"...\"}'\n```\n\n","inputProperties":{"branch":{"description":"The name of the branch. Requires replacement if changed.\n","type":"string"},"database":{"description":"The name of the database the branch belongs to. Requires replacement if changed.\n","type":"string"},"emergency":{"description":"Whether the backup is an immediate backup that may affect database performance. Emergency backups are only supported for PostgreSQL databases. Requires replacement if changed.\n","type":"boolean"},"name":{"description":"Name for the backup. Requires replacement if changed.\n","type":"string"},"organization":{"description":"The name of the organization the branch belongs to. Requires replacement if changed.\n","type":"string"},"retentionUnit":{"description":"Unit for the retention period of the backup. must be one of [\"hour\", \"day\", \"week\", \"month\", \"year\"]; Requires replacement if changed.\n","type":"string"},"retentionValue":{"description":"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`\">`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`\">`1000`</span> for the retention period of the backup (i.e retention*value <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`\">`6`</span> and retention*unit <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`\">`hour`</span> means 6 hours). Requires replacement if changed.\n","type":"number"}},"properties":{"actor":{"$ref":"#/types/planetscale:index%2FPostgresBranchBackupActor:PostgresBranchBackupActor"},"backupPolicy":{"$ref":"#/types/planetscale:index%2FPostgresBranchBackupBackupPolicy:PostgresBranchBackupBackupPolicy"},"branch":{"description":"The name of the branch. Requires replacement if changed.\n","type":"string"},"completedAt":{"description":"When the backup completed\n","type":"string"},"database":{"description":"The name of the database the branch belongs to. Requires replacement if changed.\n","type":"string"},"databaseBranch":{"$ref":"#/types/planetscale:index%2FPostgresBranchBackupDatabaseBranch:PostgresBranchBackupDatabaseBranch"},"deletedAt":{"description":"When the backup was deleted\n","type":"string"},"emergency":{"description":"Whether the backup is an immediate backup that may affect database performance. Emergency backups are only supported for PostgreSQL databases. Requires replacement if changed.\n","type":"boolean"},"estimatedStorageCost":{"description":"The estimated storage cost of the backup\n","type":"number"},"expiresAt":{"description":"When the backup expires\n","type":"string"},"name":{"description":"Name for the backup. Requires replacement if changed.\n","type":"string"},"organization":{"description":"The name of the organization the branch belongs to. Requires replacement if changed.\n","type":"string"},"protected":{"description":"Whether or not the backup is protected from deletion\n","type":"boolean"},"pvcSize":{"description":"Size of the PVC used for the backup\n","type":"number"},"retentionUnit":{"description":"Unit for the retention period of the backup. must be one of [\"hour\", \"day\", \"week\", \"month\", \"year\"]; Requires replacement if changed.\n","type":"string"},"retentionValue":{"description":"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`\">`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`\">`1000`</span> for the retention period of the backup (i.e retention*value <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`\">`6`</span> and retention*unit <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`\">`hour`</span> means 6 hours). Requires replacement if changed.\n","type":"number"},"size":{"description":"The size of the backup in bytes\n","type":"number"},"startedAt":{"description":"When the backup started\n","type":"string"},"state":{"description":"The current state of the backup\n","type":"string"},"uncompressedSize":{"description":"The uncompressed (logical) size of the backup in bytes\n","type":"number"}},"required":["actor","backupPolicy","branch","completedAt","database","databaseBranch","deletedAt","estimatedStorageCost","expiresAt","name","organization","protected","pvcSize","size","startedAt","state","uncompressedSize"],"requiredInputs":["branch","database","organization"],"stateInputs":{"description":"Input properties used for looking up and filtering PostgresBranchBackup resources.\n","properties":{"actor":{"$ref":"#/types/planetscale:index%2FPostgresBranchBackupActor:PostgresBranchBackupActor"},"backupPolicy":{"$ref":"#/types/planetscale:index%2FPostgresBranchBackupBackupPolicy:PostgresBranchBackupBackupPolicy"},"branch":{"description":"The name of the branch. Requires replacement if changed.\n","type":"string"},"completedAt":{"description":"When the backup completed\n","type":"string"},"database":{"description":"The name of the database the branch belongs to. Requires replacement if changed.\n","type":"string"},"databaseBranch":{"$ref":"#/types/planetscale:index%2FPostgresBranchBackupDatabaseBranch:PostgresBranchBackupDatabaseBranch"},"deletedAt":{"description":"When the backup was deleted\n","type":"string"},"emergency":{"description":"Whether the backup is an immediate backup that may affect database performance. Emergency backups are only supported for PostgreSQL databases. Requires replacement if changed.\n","type":"boolean"},"estimatedStorageCost":{"description":"The estimated storage cost of the backup\n","type":"number"},"expiresAt":{"description":"When the backup expires\n","type":"string"},"name":{"description":"Name for the backup. Requires replacement if changed.\n","type":"string"},"organization":{"description":"The name of the organization the branch belongs to. Requires replacement if changed.\n","type":"string"},"protected":{"description":"Whether or not the backup is protected from deletion\n","type":"boolean"},"pvcSize":{"description":"Size of the PVC used for the backup\n","type":"number"},"retentionUnit":{"description":"Unit for the retention period of the backup. must be one of [\"hour\", \"day\", \"week\", \"month\", \"year\"]; Requires replacement if changed.\n","type":"string"},"retentionValue":{"description":"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`\">`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`\">`1000`</span> for the retention period of the backup (i.e retention*value <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`\">`6`</span> and retention*unit <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`\">`hour`</span> means 6 hours). Requires replacement if changed.\n","type":"number"},"size":{"description":"The size of the backup in bytes\n","type":"number"},"startedAt":{"description":"When the backup started\n","type":"string"},"state":{"description":"The current state of the backup\n","type":"string"},"uncompressedSize":{"description":"The uncompressed (logical) size of the backup in bytes\n","type":"number"}},"type":"object"},"type":"object"},"planetscale:index/postgresBranchMaintenanceWindow:PostgresBranchMaintenanceWindow":{"description":"PostgresBranchMaintenanceWindow Resource\n\n## Example Usage\n\n<!--Start PulumiCodeChooser -->\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as planetscale from \"@pulumi/planetscale\";\n\nconst myPostgresbranchmaintenancewindow = new planetscale.PostgresBranchMaintenanceWindow(\"my_postgresbranchmaintenancewindow\", {\n    organization: \"my-organization\",\n    database: \"my-database\",\n    branch: \"main\",\n    day: 0,\n    hour: 3,\n});\n```\n```python\nimport pulumi\nimport pulumi_planetscale as planetscale\n\nmy_postgresbranchmaintenancewindow = planetscale.PostgresBranchMaintenanceWindow(\"my_postgresbranchmaintenancewindow\",\n    organization=\"my-organization\",\n    database=\"my-database\",\n    branch=\"main\",\n    day=0,\n    hour=3)\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Planetscale = Pulumi.Planetscale;\n\nreturn await Deployment.RunAsync(() => \n{\n    var myPostgresbranchmaintenancewindow = new Planetscale.PostgresBranchMaintenanceWindow(\"my_postgresbranchmaintenancewindow\", new()\n    {\n        Organization = \"my-organization\",\n        Database = \"my-database\",\n        Branch = \"main\",\n        Day = 0,\n        Hour = 3,\n    });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-terraform-provider/sdks/go/planetscale/planetscale\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := planetscale.NewPostgresBranchMaintenanceWindow(ctx, \"my_postgresbranchmaintenancewindow\", &planetscale.PostgresBranchMaintenanceWindowArgs{\n\t\t\tOrganization: pulumi.String(\"my-organization\"),\n\t\t\tDatabase:     pulumi.String(\"my-database\"),\n\t\t\tBranch:       pulumi.String(\"main\"),\n\t\t\tDay:          pulumi.Float64(0),\n\t\t\tHour:         pulumi.Float64(3),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.planetscale.PostgresBranchMaintenanceWindow;\nimport com.pulumi.planetscale.PostgresBranchMaintenanceWindowArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n    public static void main(String[] args) {\n        Pulumi.run(App::stack);\n    }\n\n    public static void stack(Context ctx) {\n        var myPostgresbranchmaintenancewindow = new PostgresBranchMaintenanceWindow(\"myPostgresbranchmaintenancewindow\", PostgresBranchMaintenanceWindowArgs.builder()\n            .organization(\"my-organization\")\n            .database(\"my-database\")\n            .branch(\"main\")\n            .day(0.0)\n            .hour(3.0)\n            .build());\n\n    }\n}\n```\n```yaml\nresources:\n  myPostgresbranchmaintenancewindow:\n    type: planetscale:PostgresBranchMaintenanceWindow\n    name: my_postgresbranchmaintenancewindow\n    properties:\n      organization: my-organization\n      database: my-database\n      branch: main\n      day: 0\n      hour: 3\n```\n<!--End PulumiCodeChooser -->\n\n## Import\n\nIn Terraform v1.5.0 and later, the `import` block can be used with the `id` attribute, for example:\n\nterraform\n\nimport {\n\n  to = planetscale_postgres_branch_maintenance_window.my_planetscale_postgres_branch_maintenance_window\n\n  id = jsonencode({\n\n    branch       = \"...\"\n\n    database     = \"...\"\n\n    organization = \"...\"\n\n  })\n\n}\n\nThe `pulumi import` command can be used, for example:\n\n```sh\n$ pulumi import planetscale:index/postgresBranchMaintenanceWindow:PostgresBranchMaintenanceWindow my_planetscale_postgres_branch_maintenance_window '{\"branch\": \"...\", \"database\": \"...\", \"organization\": \"...\"}'\n```\n\n","inputProperties":{"branch":{"description":"Branch name from <span pulumi-lang-nodejs=\"`listBranches`\" pulumi-lang-dotnet=\"`ListBranches`\" pulumi-lang-go=\"`listBranches`\" pulumi-lang-python=\"`list_branches`\" pulumi-lang-yaml=\"`listBranches`\" pulumi-lang-java=\"`listBranches`\">`list_branches`</span>. Example: <span pulumi-lang-nodejs=\"`main`\" pulumi-lang-dotnet=\"`Main`\" pulumi-lang-go=\"`main`\" pulumi-lang-python=\"`main`\" pulumi-lang-yaml=\"`main`\" pulumi-lang-java=\"`main`\">`main`</span>. Requires replacement if changed.\n","type":"string"},"database":{"description":"Database name slug from <span pulumi-lang-nodejs=\"`listDatabases`\" pulumi-lang-dotnet=\"`ListDatabases`\" pulumi-lang-go=\"`listDatabases`\" pulumi-lang-python=\"`list_databases`\" pulumi-lang-yaml=\"`listDatabases`\" pulumi-lang-java=\"`listDatabases`\">`list_databases`</span>. Example: `app-db`. Requires replacement if changed.\n","type":"string"},"day":{"description":"Day of the week the window opens, in UTC, from 0 (Sunday) to 6 (Saturday).\n","type":"number"},"hour":{"description":"Hour of the day the window opens, in UTC, from 0 to 23.\n","type":"number"},"organization":{"description":"Organization name slug from <span pulumi-lang-nodejs=\"`listOrganizations`\" pulumi-lang-dotnet=\"`ListOrganizations`\" pulumi-lang-go=\"`listOrganizations`\" pulumi-lang-python=\"`list_organizations`\" pulumi-lang-yaml=\"`listOrganizations`\" pulumi-lang-java=\"`listOrganizations`\">`list_organizations`</span>. Example: <span pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\">`acme`</span>. Requires replacement if changed.\n","type":"string"}},"properties":{"branch":{"description":"Branch name from <span pulumi-lang-nodejs=\"`listBranches`\" pulumi-lang-dotnet=\"`ListBranches`\" pulumi-lang-go=\"`listBranches`\" pulumi-lang-python=\"`list_branches`\" pulumi-lang-yaml=\"`listBranches`\" pulumi-lang-java=\"`listBranches`\">`list_branches`</span>. Example: <span pulumi-lang-nodejs=\"`main`\" pulumi-lang-dotnet=\"`Main`\" pulumi-lang-go=\"`main`\" pulumi-lang-python=\"`main`\" pulumi-lang-yaml=\"`main`\" pulumi-lang-java=\"`main`\">`main`</span>. Requires replacement if changed.\n","type":"string"},"database":{"description":"Database name slug from <span pulumi-lang-nodejs=\"`listDatabases`\" pulumi-lang-dotnet=\"`ListDatabases`\" pulumi-lang-go=\"`listDatabases`\" pulumi-lang-python=\"`list_databases`\" pulumi-lang-yaml=\"`listDatabases`\" pulumi-lang-java=\"`listDatabases`\">`list_databases`</span>. Example: `app-db`. Requires replacement if changed.\n","type":"string"},"day":{"description":"Day of the week the window opens, in UTC, from 0 (Sunday) to 6 (Saturday).\n","type":"number"},"duration":{"description":"The duration of the maintenance window in hours\n","type":"number"},"hour":{"description":"Hour of the day the window opens, in UTC, from 0 to 23.\n","type":"number"},"organization":{"description":"Organization name slug from <span pulumi-lang-nodejs=\"`listOrganizations`\" pulumi-lang-dotnet=\"`ListOrganizations`\" pulumi-lang-go=\"`listOrganizations`\" pulumi-lang-python=\"`list_organizations`\" pulumi-lang-yaml=\"`listOrganizations`\" pulumi-lang-java=\"`listOrganizations`\">`list_organizations`</span>. Example: <span pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\">`acme`</span>. Requires replacement if changed.\n","type":"string"}},"required":["branch","database","day","duration","hour","organization"],"requiredInputs":["branch","database","day","hour","organization"],"stateInputs":{"description":"Input properties used for looking up and filtering PostgresBranchMaintenanceWindow resources.\n","properties":{"branch":{"description":"Branch name from <span pulumi-lang-nodejs=\"`listBranches`\" pulumi-lang-dotnet=\"`ListBranches`\" pulumi-lang-go=\"`listBranches`\" pulumi-lang-python=\"`list_branches`\" pulumi-lang-yaml=\"`listBranches`\" pulumi-lang-java=\"`listBranches`\">`list_branches`</span>. Example: <span pulumi-lang-nodejs=\"`main`\" pulumi-lang-dotnet=\"`Main`\" pulumi-lang-go=\"`main`\" pulumi-lang-python=\"`main`\" pulumi-lang-yaml=\"`main`\" pulumi-lang-java=\"`main`\">`main`</span>. Requires replacement if changed.\n","type":"string"},"database":{"description":"Database name slug from <span pulumi-lang-nodejs=\"`listDatabases`\" pulumi-lang-dotnet=\"`ListDatabases`\" pulumi-lang-go=\"`listDatabases`\" pulumi-lang-python=\"`list_databases`\" pulumi-lang-yaml=\"`listDatabases`\" pulumi-lang-java=\"`listDatabases`\">`list_databases`</span>. Example: `app-db`. Requires replacement if changed.\n","type":"string"},"day":{"description":"Day of the week the window opens, in UTC, from 0 (Sunday) to 6 (Saturday).\n","type":"number"},"duration":{"description":"The duration of the maintenance window in hours\n","type":"number"},"hour":{"description":"Hour of the day the window opens, in UTC, from 0 to 23.\n","type":"number"},"organization":{"description":"Organization name slug from <span pulumi-lang-nodejs=\"`listOrganizations`\" pulumi-lang-dotnet=\"`ListOrganizations`\" pulumi-lang-go=\"`listOrganizations`\" pulumi-lang-python=\"`list_organizations`\" pulumi-lang-yaml=\"`listOrganizations`\" pulumi-lang-java=\"`listOrganizations`\">`list_organizations`</span>. Example: <span pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\">`acme`</span>. Requires replacement if changed.\n","type":"string"}},"type":"object"},"type":"object"},"planetscale:index/postgresBranchRole:PostgresBranchRole":{"description":"PostgresBranchRole Resource\n\n## Example Usage\n\n<!--Start PulumiCodeChooser -->\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as planetscale from \"@pulumi/planetscale\";\n\nconst myPostgresbranchrole = new planetscale.PostgresBranchRole(\"my_postgresbranchrole\", {\n    organization: \"my-organization\",\n    database: \"ru00w3vqvfr9\",\n    branch: \"2474dzfubrf3\",\n    name: \"application-role\",\n    inheritedRoles: [\n        \"pg_read_all_data\",\n        \"pg_write_all_data\",\n    ],\n});\n```\n```python\nimport pulumi\nimport pulumi_planetscale as planetscale\n\nmy_postgresbranchrole = planetscale.PostgresBranchRole(\"my_postgresbranchrole\",\n    organization=\"my-organization\",\n    database=\"ru00w3vqvfr9\",\n    branch=\"2474dzfubrf3\",\n    name=\"application-role\",\n    inherited_roles=[\n        \"pg_read_all_data\",\n        \"pg_write_all_data\",\n    ])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Planetscale = Pulumi.Planetscale;\n\nreturn await Deployment.RunAsync(() => \n{\n    var myPostgresbranchrole = new Planetscale.PostgresBranchRole(\"my_postgresbranchrole\", new()\n    {\n        Organization = \"my-organization\",\n        Database = \"ru00w3vqvfr9\",\n        Branch = \"2474dzfubrf3\",\n        Name = \"application-role\",\n        InheritedRoles = new[]\n        {\n            \"pg_read_all_data\",\n            \"pg_write_all_data\",\n        },\n    });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-terraform-provider/sdks/go/planetscale/planetscale\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := planetscale.NewPostgresBranchRole(ctx, \"my_postgresbranchrole\", &planetscale.PostgresBranchRoleArgs{\n\t\t\tOrganization: pulumi.String(\"my-organization\"),\n\t\t\tDatabase:     pulumi.String(\"ru00w3vqvfr9\"),\n\t\t\tBranch:       pulumi.String(\"2474dzfubrf3\"),\n\t\t\tName:         pulumi.String(\"application-role\"),\n\t\t\tInheritedRoles: pulumi.StringArray{\n\t\t\t\tpulumi.String(\"pg_read_all_data\"),\n\t\t\t\tpulumi.String(\"pg_write_all_data\"),\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.planetscale.PostgresBranchRole;\nimport com.pulumi.planetscale.PostgresBranchRoleArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n    public static void main(String[] args) {\n        Pulumi.run(App::stack);\n    }\n\n    public static void stack(Context ctx) {\n        var myPostgresbranchrole = new PostgresBranchRole(\"myPostgresbranchrole\", PostgresBranchRoleArgs.builder()\n            .organization(\"my-organization\")\n            .database(\"ru00w3vqvfr9\")\n            .branch(\"2474dzfubrf3\")\n            .name(\"application-role\")\n            .inheritedRoles(            \n                \"pg_read_all_data\",\n                \"pg_write_all_data\")\n            .build());\n\n    }\n}\n```\n```yaml\nresources:\n  myPostgresbranchrole:\n    type: planetscale:PostgresBranchRole\n    name: my_postgresbranchrole\n    properties:\n      organization: my-organization\n      database: ru00w3vqvfr9\n      branch: 2474dzfubrf3\n      name: application-role\n      inheritedRoles:\n        - pg_read_all_data\n        - pg_write_all_data\n```\n<!--End PulumiCodeChooser -->\n\n## Import\n\nIn Terraform v1.5.0 and later, the `import` block can be used with the `id` attribute, for example:\n\nterraform\n\nimport {\n\n  to = planetscale_postgres_branch_role.my_planetscale_postgres_branch_role\n\n  id = jsonencode({\n\n    branch       = \"...\"\n\n    database     = \"...\"\n\n    id           = \"...\"\n\n    organization = \"...\"\n\n  })\n\n}\n\nThe `pulumi import` command can be used, for example:\n\n```sh\n$ pulumi import planetscale:index/postgresBranchRole:PostgresBranchRole my_planetscale_postgres_branch_role '{\"branch\": \"...\", \"database\": \"...\", \"id\": \"...\", \"organization\": \"...\"}'\n```\n\n","inputProperties":{"branch":{"description":"Branch name from <span pulumi-lang-nodejs=\"`listBranches`\" pulumi-lang-dotnet=\"`ListBranches`\" pulumi-lang-go=\"`listBranches`\" pulumi-lang-python=\"`list_branches`\" pulumi-lang-yaml=\"`listBranches`\" pulumi-lang-java=\"`listBranches`\">`list_branches`</span>. Example: <span pulumi-lang-nodejs=\"`main`\" pulumi-lang-dotnet=\"`Main`\" pulumi-lang-go=\"`main`\" pulumi-lang-python=\"`main`\" pulumi-lang-yaml=\"`main`\" pulumi-lang-java=\"`main`\">`main`</span>.\n","type":"string"},"database":{"description":"Database name slug from <span pulumi-lang-nodejs=\"`listDatabases`\" pulumi-lang-dotnet=\"`ListDatabases`\" pulumi-lang-go=\"`listDatabases`\" pulumi-lang-python=\"`list_databases`\" pulumi-lang-yaml=\"`listDatabases`\" pulumi-lang-java=\"`listDatabases`\">`list_databases`</span>. Example: `app-db`.\n","type":"string"},"inheritedRoles":{"description":"Roles to inherit from. Requires replacement if changed.\n","items":{"type":"string"},"type":"array"},"name":{"description":"The name of the role\n","type":"string"},"organization":{"description":"Organization name slug from <span pulumi-lang-nodejs=\"`listOrganizations`\" pulumi-lang-dotnet=\"`ListOrganizations`\" pulumi-lang-go=\"`listOrganizations`\" pulumi-lang-python=\"`list_organizations`\" pulumi-lang-yaml=\"`listOrganizations`\" pulumi-lang-java=\"`listOrganizations`\">`list_organizations`</span>. Example: <span pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\">`acme`</span>.\n","type":"string"},"successor":{"description":"The optional role to reassign ownership to before dropping. Accepts the role's ID, or its username with or without the branch ID suffix.\n","type":"string"},"ttl":{"description":"Time to live in seconds. Requires replacement if changed.\n","type":"number"},"withReplication":{"description":"Whether the role should have the REPLICATION attribute. Requires replacement if changed.\n","type":"boolean"}},"properties":{"accessHostUrl":{"description":"The database connection string\n","type":"string"},"actorData":{"$ref":"#/types/planetscale:index%2FPostgresBranchRoleActorData:PostgresBranchRoleActorData"},"baseUsername":{"description":"The base username without branch routing suffix\n","type":"string"},"branch":{"description":"Branch name from <span pulumi-lang-nodejs=\"`listBranches`\" pulumi-lang-dotnet=\"`ListBranches`\" pulumi-lang-go=\"`listBranches`\" pulumi-lang-python=\"`list_branches`\" pulumi-lang-yaml=\"`listBranches`\" pulumi-lang-java=\"`listBranches`\">`list_branches`</span>. Example: <span pulumi-lang-nodejs=\"`main`\" pulumi-lang-dotnet=\"`Main`\" pulumi-lang-go=\"`main`\" pulumi-lang-python=\"`main`\" pulumi-lang-yaml=\"`main`\" pulumi-lang-java=\"`main`\">`main`</span>.\n","type":"string"},"branchData":{"$ref":"#/types/planetscale:index%2FPostgresBranchRoleBranchData:PostgresBranchRoleBranchData"},"createdAt":{"description":"When the role was created\n","type":"string"},"database":{"description":"Database name slug from <span pulumi-lang-nodejs=\"`listDatabases`\" pulumi-lang-dotnet=\"`ListDatabases`\" pulumi-lang-go=\"`listDatabases`\" pulumi-lang-python=\"`list_databases`\" pulumi-lang-yaml=\"`listDatabases`\" pulumi-lang-java=\"`listDatabases`\">`list_databases`</span>. Example: `app-db`.\n","type":"string"},"databaseName":{"description":"The database name\n","type":"string"},"default":{"description":"Whether the role is the default postgres user\n","type":"boolean"},"deletedAt":{"description":"When the role was deleted\n","type":"string"},"disabledAt":{"description":"When the role was disabled\n","type":"string"},"dropFailed":{"description":"Error message available when dropping the role fails\n","type":"string"},"droppedAt":{"description":"When the role was dropped\n","type":"string"},"expired":{"description":"True if the credentials are expired\n","type":"boolean"},"expiresAt":{"description":"When the role expires\n","type":"string"},"inheritedRoles":{"description":"Roles to inherit from. Requires replacement if changed.\n","items":{"type":"string"},"type":"array"},"name":{"description":"The name of the role\n","type":"string"},"organization":{"description":"Organization name slug from <span pulumi-lang-nodejs=\"`listOrganizations`\" pulumi-lang-dotnet=\"`ListOrganizations`\" pulumi-lang-go=\"`listOrganizations`\" pulumi-lang-python=\"`list_organizations`\" pulumi-lang-yaml=\"`listOrganizations`\" pulumi-lang-java=\"`listOrganizations`\">`list_organizations`</span>. Example: <span pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\">`acme`</span>.\n","type":"string"},"password":{"description":"The plaintext password, available only after create\n","secret":true,"type":"string"},"privateAccessHostUrl":{"description":"The database connection string for private connections\n","type":"string"},"privateConnectionServiceName":{"description":"The service name to set up private connectivity\n","type":"string"},"querySafetySettings":{"$ref":"#/types/planetscale:index%2FPostgresBranchRoleQuerySafetySettings:PostgresBranchRoleQuerySafetySettings"},"successor":{"description":"The optional role to reassign ownership to before dropping. Accepts the role's ID, or its username with or without the branch ID suffix.\n","type":"string"},"ttl":{"description":"Time to live in seconds. Requires replacement if changed.\n","type":"number"},"updatedAt":{"description":"When the role was updated\n","type":"string"},"username":{"description":"The database user name\n","type":"string"},"withReplication":{"description":"Whether the role should have the REPLICATION attribute. Requires replacement if changed.\n","type":"boolean"}},"required":["accessHostUrl","actorData","baseUsername","branch","branchData","createdAt","database","databaseName","default","deletedAt","disabledAt","dropFailed","droppedAt","expired","expiresAt","inheritedRoles","name","organization","password","privateAccessHostUrl","privateConnectionServiceName","querySafetySettings","ttl","updatedAt","username","withReplication"],"requiredInputs":["branch","database","organization"],"stateInputs":{"description":"Input properties used for looking up and filtering PostgresBranchRole resources.\n","properties":{"accessHostUrl":{"description":"The database connection string\n","type":"string"},"actorData":{"$ref":"#/types/planetscale:index%2FPostgresBranchRoleActorData:PostgresBranchRoleActorData"},"baseUsername":{"description":"The base username without branch routing suffix\n","type":"string"},"branch":{"description":"Branch name from <span pulumi-lang-nodejs=\"`listBranches`\" pulumi-lang-dotnet=\"`ListBranches`\" pulumi-lang-go=\"`listBranches`\" pulumi-lang-python=\"`list_branches`\" pulumi-lang-yaml=\"`listBranches`\" pulumi-lang-java=\"`listBranches`\">`list_branches`</span>. Example: <span pulumi-lang-nodejs=\"`main`\" pulumi-lang-dotnet=\"`Main`\" pulumi-lang-go=\"`main`\" pulumi-lang-python=\"`main`\" pulumi-lang-yaml=\"`main`\" pulumi-lang-java=\"`main`\">`main`</span>.\n","type":"string"},"branchData":{"$ref":"#/types/planetscale:index%2FPostgresBranchRoleBranchData:PostgresBranchRoleBranchData"},"createdAt":{"description":"When the role was created\n","type":"string"},"database":{"description":"Database name slug from <span pulumi-lang-nodejs=\"`listDatabases`\" pulumi-lang-dotnet=\"`ListDatabases`\" pulumi-lang-go=\"`listDatabases`\" pulumi-lang-python=\"`list_databases`\" pulumi-lang-yaml=\"`listDatabases`\" pulumi-lang-java=\"`listDatabases`\">`list_databases`</span>. Example: `app-db`.\n","type":"string"},"databaseName":{"description":"The database name\n","type":"string"},"default":{"description":"Whether the role is the default postgres user\n","type":"boolean"},"deletedAt":{"description":"When the role was deleted\n","type":"string"},"disabledAt":{"description":"When the role was disabled\n","type":"string"},"dropFailed":{"description":"Error message available when dropping the role fails\n","type":"string"},"droppedAt":{"description":"When the role was dropped\n","type":"string"},"expired":{"description":"True if the credentials are expired\n","type":"boolean"},"expiresAt":{"description":"When the role expires\n","type":"string"},"inheritedRoles":{"description":"Roles to inherit from. Requires replacement if changed.\n","items":{"type":"string"},"type":"array"},"name":{"description":"The name of the role\n","type":"string"},"organization":{"description":"Organization name slug from <span pulumi-lang-nodejs=\"`listOrganizations`\" pulumi-lang-dotnet=\"`ListOrganizations`\" pulumi-lang-go=\"`listOrganizations`\" pulumi-lang-python=\"`list_organizations`\" pulumi-lang-yaml=\"`listOrganizations`\" pulumi-lang-java=\"`listOrganizations`\">`list_organizations`</span>. Example: <span pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\">`acme`</span>.\n","type":"string"},"password":{"description":"The plaintext password, available only after create\n","secret":true,"type":"string"},"privateAccessHostUrl":{"description":"The database connection string for private connections\n","type":"string"},"privateConnectionServiceName":{"description":"The service name to set up private connectivity\n","type":"string"},"querySafetySettings":{"$ref":"#/types/planetscale:index%2FPostgresBranchRoleQuerySafetySettings:PostgresBranchRoleQuerySafetySettings"},"successor":{"description":"The optional role to reassign ownership to before dropping. Accepts the role's ID, or its username with or without the branch ID suffix.\n","type":"string"},"ttl":{"description":"Time to live in seconds. Requires replacement if changed.\n","type":"number"},"updatedAt":{"description":"When the role was updated\n","type":"string"},"username":{"description":"The database user name\n","type":"string"},"withReplication":{"description":"Whether the role should have the REPLICATION attribute. Requires replacement if changed.\n","type":"boolean"}},"type":"object"},"type":"object"},"planetscale:index/postgresDedicatedReadReplica:PostgresDedicatedReadReplica":{"description":"PostgresDedicatedReadReplica Resource\n\n## Import\n\nIn Terraform v1.5.0 and later, the `import` block can be used with the `id` attribute, for example:\n\nterraform\n\nimport {\n\n  to = planetscale_postgres_dedicated_read_replica.my_planetscale_postgres_dedicated_read_replica\n\n  id = jsonencode({\n\n    branch       = \"...\"\n\n    database     = \"...\"\n\n    name         = \"...\"\n\n    organization = \"...\"\n\n  })\n\n}\n\nThe `pulumi import` command can be used, for example:\n\n```sh\n$ pulumi import planetscale:index/postgresDedicatedReadReplica:PostgresDedicatedReadReplica my_planetscale_postgres_dedicated_read_replica '{\"branch\": \"...\", \"database\": \"...\", \"name\": \"...\", \"organization\": \"...\"}'\n```\n\n","inputProperties":{"branch":{"description":"Branch name from <span pulumi-lang-nodejs=\"`listBranches`\" pulumi-lang-dotnet=\"`ListBranches`\" pulumi-lang-go=\"`listBranches`\" pulumi-lang-python=\"`list_branches`\" pulumi-lang-yaml=\"`listBranches`\" pulumi-lang-java=\"`listBranches`\">`list_branches`</span>. Example: <span pulumi-lang-nodejs=\"`main`\" pulumi-lang-dotnet=\"`Main`\" pulumi-lang-go=\"`main`\" pulumi-lang-python=\"`main`\" pulumi-lang-yaml=\"`main`\" pulumi-lang-java=\"`main`\">`main`</span>.\n","type":"string"},"clusterSize":{"description":"The cluster size SKU, e.g. `PS_10_AWS_ARM`. Defaults to the primary's cluster size.\n","type":"string"},"database":{"description":"Database name slug from <span pulumi-lang-nodejs=\"`listDatabases`\" pulumi-lang-dotnet=\"`ListDatabases`\" pulumi-lang-go=\"`listDatabases`\" pulumi-lang-python=\"`list_databases`\" pulumi-lang-yaml=\"`listDatabases`\" pulumi-lang-java=\"`listDatabases`\">`list_databases`</span>. Example: `app-db`.\n","type":"string"},"name":{"description":"The name of the dedicated read replica. Requires replacement if changed.\n","type":"string"},"organization":{"description":"Organization name slug from <span pulumi-lang-nodejs=\"`listOrganizations`\" pulumi-lang-dotnet=\"`ListOrganizations`\" pulumi-lang-go=\"`listOrganizations`\" pulumi-lang-python=\"`list_organizations`\" pulumi-lang-yaml=\"`listOrganizations`\" pulumi-lang-java=\"`listOrganizations`\">`list_organizations`</span>. Example: <span pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\">`acme`</span>.\n","type":"string"},"region":{"description":"The region slug for the dedicated read replica, e.g. `us-east`. The dedicated read replica can run in a different region than the primary. Requires replacement if changed.\n","type":"string"},"replicas":{"description":"The number of instances serving reads. Defaults to 1.\n","type":"number"}},"properties":{"accessHostUrl":{"description":"The database connection host for the dedicated read replica.\n","type":"string"},"branch":{"description":"Branch name from <span pulumi-lang-nodejs=\"`listBranches`\" pulumi-lang-dotnet=\"`ListBranches`\" pulumi-lang-go=\"`listBranches`\" pulumi-lang-python=\"`list_branches`\" pulumi-lang-yaml=\"`listBranches`\" pulumi-lang-java=\"`listBranches`\">`list_branches`</span>. Example: <span pulumi-lang-nodejs=\"`main`\" pulumi-lang-dotnet=\"`Main`\" pulumi-lang-go=\"`main`\" pulumi-lang-python=\"`main`\" pulumi-lang-yaml=\"`main`\" pulumi-lang-java=\"`main`\">`main`</span>.\n","type":"string"},"clusterSize":{"description":"The cluster size SKU, e.g. `PS_10_AWS_ARM`. Defaults to the primary's cluster size.\n","type":"string"},"database":{"description":"Database name slug from <span pulumi-lang-nodejs=\"`listDatabases`\" pulumi-lang-dotnet=\"`ListDatabases`\" pulumi-lang-go=\"`listDatabases`\" pulumi-lang-python=\"`list_databases`\" pulumi-lang-yaml=\"`listDatabases`\" pulumi-lang-java=\"`listDatabases`\">`list_databases`</span>. Example: `app-db`.\n","type":"string"},"name":{"description":"The name of the dedicated read replica. Requires replacement if changed.\n","type":"string"},"organization":{"description":"Organization name slug from <span pulumi-lang-nodejs=\"`listOrganizations`\" pulumi-lang-dotnet=\"`ListOrganizations`\" pulumi-lang-go=\"`listOrganizations`\" pulumi-lang-python=\"`list_organizations`\" pulumi-lang-yaml=\"`listOrganizations`\" pulumi-lang-java=\"`listOrganizations`\">`list_organizations`</span>. Example: <span pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\">`acme`</span>.\n","type":"string"},"privateAccessHostUrl":{"description":"The private database connection host for the dedicated read replica.\n","type":"string"},"privateConnectionServiceName":{"description":"The service name to set up private connectivity for the dedicated read replica.\n","type":"string"},"region":{"description":"The region slug for the dedicated read replica, e.g. `us-east`. The dedicated read replica can run in a different region than the primary. Requires replacement if changed.\n","type":"string"},"replicas":{"description":"The number of instances serving reads. Defaults to 1.\n","type":"number"}},"required":["accessHostUrl","branch","clusterSize","database","name","organization","privateAccessHostUrl","privateConnectionServiceName","region","replicas"],"requiredInputs":["branch","database","organization","region"],"stateInputs":{"description":"Input properties used for looking up and filtering PostgresDedicatedReadReplica resources.\n","properties":{"accessHostUrl":{"description":"The database connection host for the dedicated read replica.\n","type":"string"},"branch":{"description":"Branch name from <span pulumi-lang-nodejs=\"`listBranches`\" pulumi-lang-dotnet=\"`ListBranches`\" pulumi-lang-go=\"`listBranches`\" pulumi-lang-python=\"`list_branches`\" pulumi-lang-yaml=\"`listBranches`\" pulumi-lang-java=\"`listBranches`\">`list_branches`</span>. Example: <span pulumi-lang-nodejs=\"`main`\" pulumi-lang-dotnet=\"`Main`\" pulumi-lang-go=\"`main`\" pulumi-lang-python=\"`main`\" pulumi-lang-yaml=\"`main`\" pulumi-lang-java=\"`main`\">`main`</span>.\n","type":"string"},"clusterSize":{"description":"The cluster size SKU, e.g. `PS_10_AWS_ARM`. Defaults to the primary's cluster size.\n","type":"string"},"database":{"description":"Database name slug from <span pulumi-lang-nodejs=\"`listDatabases`\" pulumi-lang-dotnet=\"`ListDatabases`\" pulumi-lang-go=\"`listDatabases`\" pulumi-lang-python=\"`list_databases`\" pulumi-lang-yaml=\"`listDatabases`\" pulumi-lang-java=\"`listDatabases`\">`list_databases`</span>. Example: `app-db`.\n","type":"string"},"name":{"description":"The name of the dedicated read replica. Requires replacement if changed.\n","type":"string"},"organization":{"description":"Organization name slug from <span pulumi-lang-nodejs=\"`listOrganizations`\" pulumi-lang-dotnet=\"`ListOrganizations`\" pulumi-lang-go=\"`listOrganizations`\" pulumi-lang-python=\"`list_organizations`\" pulumi-lang-yaml=\"`listOrganizations`\" pulumi-lang-java=\"`listOrganizations`\">`list_organizations`</span>. Example: <span pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\">`acme`</span>.\n","type":"string"},"privateAccessHostUrl":{"description":"The private database connection host for the dedicated read replica.\n","type":"string"},"privateConnectionServiceName":{"description":"The service name to set up private connectivity for the dedicated read replica.\n","type":"string"},"region":{"description":"The region slug for the dedicated read replica, e.g. `us-east`. The dedicated read replica can run in a different region than the primary. Requires replacement if changed.\n","type":"string"},"replicas":{"description":"The number of instances serving reads. Defaults to 1.\n","type":"number"}},"type":"object"},"type":"object"},"planetscale:index/postgresIpRestriction:PostgresIpRestriction":{"description":"PostgresIPRestriction Resource\n\n## Example Usage\n\n<!--Start PulumiCodeChooser -->\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as planetscale from \"@pulumi/planetscale\";\n\n// Allow connections to every schema, as any role, from these ranges.\nconst office = new planetscale.PostgresIpRestriction(\"office\", {\n    organization: \"my-organization\",\n    database: \"my-database\",\n    cidrs: [\n        \"203.0.113.0/24\",\n        \"198.51.100.7/32\",\n    ],\n    description: \"Office network and VPN gateway\",\n});\n// Limit one role to the addresses of the hosts that use it.\nconst reporting = new planetscale.PostgresIpRestriction(\"reporting\", {\n    organization: \"my-organization\",\n    database: \"my-database\",\n    role: \"reporting\",\n    cidrs: [\n        \"192.0.2.10\",\n        \"192.0.2.11\",\n    ].map(ip => (`${ip}/32`)),\n});\n```\n```python\nimport pulumi\nimport pulumi_planetscale as planetscale\n\n# Allow connections to every schema, as any role, from these ranges.\noffice = planetscale.PostgresIpRestriction(\"office\",\n    organization=\"my-organization\",\n    database=\"my-database\",\n    cidrs=[\n        \"203.0.113.0/24\",\n        \"198.51.100.7/32\",\n    ],\n    description=\"Office network and VPN gateway\")\n# Limit one role to the addresses of the hosts that use it.\nreporting = planetscale.PostgresIpRestriction(\"reporting\",\n    organization=\"my-organization\",\n    database=\"my-database\",\n    role=\"reporting\",\n    cidrs=[f\"{ip}/32\" for ip in [\n        \"192.0.2.10\",\n        \"192.0.2.11\",\n    ]])\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Planetscale = Pulumi.Planetscale;\n\nreturn await Deployment.RunAsync(() => \n{\n    // Allow connections to every schema, as any role, from these ranges.\n    var office = new Planetscale.PostgresIpRestriction(\"office\", new()\n    {\n        Organization = \"my-organization\",\n        Database = \"my-database\",\n        Cidrs = new[]\n        {\n            \"203.0.113.0/24\",\n            \"198.51.100.7/32\",\n        },\n        Description = \"Office network and VPN gateway\",\n    });\n\n    // Limit one role to the addresses of the hosts that use it.\n    var reporting = new Planetscale.PostgresIpRestriction(\"reporting\", new()\n    {\n        Organization = \"my-organization\",\n        Database = \"my-database\",\n        Role = \"reporting\",\n        Cidrs = new[]\n        {\n            \"192.0.2.10\",\n            \"192.0.2.11\",\n        }.Select(ip => \n        {\n            return $\"{ip}/32\";\n        }).ToList(),\n    });\n\n});\n```\n<!--End PulumiCodeChooser -->\n\n## Import\n\nIn Terraform v1.5.0 and later, the `import` block can be used with the `id` attribute, for example:\n\nterraform\n\nimport {\n\n  to = planetscale_postgres_ip_restriction.my_planetscale_postgres_ip_restriction\n\n  id = jsonencode({\n\n    database     = \"...\"\n\n    id           = \"...\"\n\n    organization = \"...\"\n\n  })\n\n}\n\nThe `pulumi import` command can be used, for example:\n\n```sh\n$ pulumi import planetscale:index/postgresIpRestriction:PostgresIpRestriction my_planetscale_postgres_ip_restriction '{\"database\": \"...\", \"id\": \"...\", \"organization\": \"...\"}'\n```\n\n","inputProperties":{"cidrs":{"description":"The IPv4 ranges allowed to connect, in CIDR notation, e.g. `[\"203.0.113.0/24\", \"198.51.100.7/32\"]`. Use `/32` for a single address.\n","items":{"type":"string"},"type":"array"},"database":{"description":"The name of the database. Requires replacement if changed.\n","type":"string"},"description":{"description":"A description of the entry, at most 255 characters. Default: \"\"\n","type":"string"},"organization":{"description":"The name of the organization the database belongs to. Requires replacement if changed.\n","type":"string"},"role":{"description":"The Postgres role the entry applies to. Leave unset to apply to all roles. Default: \"\"\n","type":"string"},"schema":{"description":"The Postgres schema the entry applies to. Leave unset to apply to all schemas. Default: \"\"\n","type":"string"}},"properties":{"actor":{"$ref":"#/types/planetscale:index%2FPostgresIpRestrictionActor:PostgresIpRestrictionActor"},"cidrs":{"description":"The IPv4 ranges allowed to connect, in CIDR notation, e.g. `[\"203.0.113.0/24\", \"198.51.100.7/32\"]`. Use `/32` for a single address.\n","items":{"type":"string"},"type":"array"},"database":{"description":"The name of the database. Requires replacement if changed.\n","type":"string"},"description":{"description":"A description of the entry, at most 255 characters. Default: \"\"\n","type":"string"},"organization":{"description":"The name of the organization the database belongs to. Requires replacement if changed.\n","type":"string"},"role":{"description":"The Postgres role the entry applies to. Leave unset to apply to all roles. Default: \"\"\n","type":"string"},"schema":{"description":"The Postgres schema the entry applies to. Leave unset to apply to all schemas. Default: \"\"\n","type":"string"}},"required":["actor","cidrs","database","description","organization","role","schema"],"requiredInputs":["cidrs","database","organization"],"stateInputs":{"description":"Input properties used for looking up and filtering PostgresIpRestriction resources.\n","properties":{"actor":{"$ref":"#/types/planetscale:index%2FPostgresIpRestrictionActor:PostgresIpRestrictionActor"},"cidrs":{"description":"The IPv4 ranges allowed to connect, in CIDR notation, e.g. `[\"203.0.113.0/24\", \"198.51.100.7/32\"]`. Use `/32` for a single address.\n","items":{"type":"string"},"type":"array"},"database":{"description":"The name of the database. Requires replacement if changed.\n","type":"string"},"description":{"description":"A description of the entry, at most 255 characters. Default: \"\"\n","type":"string"},"organization":{"description":"The name of the organization the database belongs to. Requires replacement if changed.\n","type":"string"},"role":{"description":"The Postgres role the entry applies to. Leave unset to apply to all roles. Default: \"\"\n","type":"string"},"schema":{"description":"The Postgres schema the entry applies to. Leave unset to apply to all schemas. Default: \"\"\n","type":"string"}},"type":"object"},"type":"object"},"planetscale:index/postgresReadOnlyReplica:PostgresReadOnlyReplica":{"inputProperties":{"branch":{"description":"Branch name from <span pulumi-lang-nodejs=\"`listBranches`\" pulumi-lang-dotnet=\"`ListBranches`\" pulumi-lang-go=\"`listBranches`\" pulumi-lang-python=\"`list_branches`\" pulumi-lang-yaml=\"`listBranches`\" pulumi-lang-java=\"`listBranches`\">`list_branches`</span>. Example: <span pulumi-lang-nodejs=\"`main`\" pulumi-lang-dotnet=\"`Main`\" pulumi-lang-go=\"`main`\" pulumi-lang-python=\"`main`\" pulumi-lang-yaml=\"`main`\" pulumi-lang-java=\"`main`\">`main`</span>.\n","type":"string"},"clusterSize":{"description":"The cluster size SKU, e.g. `PS_10_AWS_ARM`. Defaults to the primary's cluster size.\n","type":"string"},"database":{"description":"Database name slug from <span pulumi-lang-nodejs=\"`listDatabases`\" pulumi-lang-dotnet=\"`ListDatabases`\" pulumi-lang-go=\"`listDatabases`\" pulumi-lang-python=\"`list_databases`\" pulumi-lang-yaml=\"`listDatabases`\" pulumi-lang-java=\"`listDatabases`\">`list_databases`</span>. Example: `app-db`.\n","type":"string"},"name":{"description":"The name of the dedicated read replica. Requires replacement if changed.\n","type":"string"},"organization":{"description":"Organization name slug from <span pulumi-lang-nodejs=\"`listOrganizations`\" pulumi-lang-dotnet=\"`ListOrganizations`\" pulumi-lang-go=\"`listOrganizations`\" pulumi-lang-python=\"`list_organizations`\" pulumi-lang-yaml=\"`listOrganizations`\" pulumi-lang-java=\"`listOrganizations`\">`list_organizations`</span>. Example: <span pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\">`acme`</span>.\n","type":"string"},"region":{"description":"The region slug for the dedicated read replica, e.g. `us-east`. The dedicated read replica can run in a different region than the primary. Requires replacement if changed.\n","type":"string"},"replicas":{"description":"The number of instances serving reads. Defaults to 1.\n","type":"number"}},"properties":{"accessHostUrl":{"description":"The database connection host for the dedicated read replica.\n","type":"string"},"branch":{"description":"Branch name from <span pulumi-lang-nodejs=\"`listBranches`\" pulumi-lang-dotnet=\"`ListBranches`\" pulumi-lang-go=\"`listBranches`\" pulumi-lang-python=\"`list_branches`\" pulumi-lang-yaml=\"`listBranches`\" pulumi-lang-java=\"`listBranches`\">`list_branches`</span>. Example: <span pulumi-lang-nodejs=\"`main`\" pulumi-lang-dotnet=\"`Main`\" pulumi-lang-go=\"`main`\" pulumi-lang-python=\"`main`\" pulumi-lang-yaml=\"`main`\" pulumi-lang-java=\"`main`\">`main`</span>.\n","type":"string"},"clusterSize":{"description":"The cluster size SKU, e.g. `PS_10_AWS_ARM`. Defaults to the primary's cluster size.\n","type":"string"},"database":{"description":"Database name slug from <span pulumi-lang-nodejs=\"`listDatabases`\" pulumi-lang-dotnet=\"`ListDatabases`\" pulumi-lang-go=\"`listDatabases`\" pulumi-lang-python=\"`list_databases`\" pulumi-lang-yaml=\"`listDatabases`\" pulumi-lang-java=\"`listDatabases`\">`list_databases`</span>. Example: `app-db`.\n","type":"string"},"name":{"description":"The name of the dedicated read replica. Requires replacement if changed.\n","type":"string"},"organization":{"description":"Organization name slug from <span pulumi-lang-nodejs=\"`listOrganizations`\" pulumi-lang-dotnet=\"`ListOrganizations`\" pulumi-lang-go=\"`listOrganizations`\" pulumi-lang-python=\"`list_organizations`\" pulumi-lang-yaml=\"`listOrganizations`\" pulumi-lang-java=\"`listOrganizations`\">`list_organizations`</span>. Example: <span pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\">`acme`</span>.\n","type":"string"},"privateAccessHostUrl":{"description":"The private database connection host for the dedicated read replica.\n","type":"string"},"privateConnectionServiceName":{"description":"The service name to set up private connectivity for the dedicated read replica.\n","type":"string"},"region":{"description":"The region slug for the dedicated read replica, e.g. `us-east`. The dedicated read replica can run in a different region than the primary. Requires replacement if changed.\n","type":"string"},"replicas":{"description":"The number of instances serving reads. Defaults to 1.\n","type":"number"}},"required":["accessHostUrl","branch","clusterSize","database","name","organization","privateAccessHostUrl","privateConnectionServiceName","region","replicas"],"requiredInputs":["branch","database","organization","region"],"stateInputs":{"description":"Input properties used for looking up and filtering PostgresReadOnlyReplica resources.\n","properties":{"accessHostUrl":{"description":"The database connection host for the dedicated read replica.\n","type":"string"},"branch":{"description":"Branch name from <span pulumi-lang-nodejs=\"`listBranches`\" pulumi-lang-dotnet=\"`ListBranches`\" pulumi-lang-go=\"`listBranches`\" pulumi-lang-python=\"`list_branches`\" pulumi-lang-yaml=\"`listBranches`\" pulumi-lang-java=\"`listBranches`\">`list_branches`</span>. Example: <span pulumi-lang-nodejs=\"`main`\" pulumi-lang-dotnet=\"`Main`\" pulumi-lang-go=\"`main`\" pulumi-lang-python=\"`main`\" pulumi-lang-yaml=\"`main`\" pulumi-lang-java=\"`main`\">`main`</span>.\n","type":"string"},"clusterSize":{"description":"The cluster size SKU, e.g. `PS_10_AWS_ARM`. Defaults to the primary's cluster size.\n","type":"string"},"database":{"description":"Database name slug from <span pulumi-lang-nodejs=\"`listDatabases`\" pulumi-lang-dotnet=\"`ListDatabases`\" pulumi-lang-go=\"`listDatabases`\" pulumi-lang-python=\"`list_databases`\" pulumi-lang-yaml=\"`listDatabases`\" pulumi-lang-java=\"`listDatabases`\">`list_databases`</span>. Example: `app-db`.\n","type":"string"},"name":{"description":"The name of the dedicated read replica. Requires replacement if changed.\n","type":"string"},"organization":{"description":"Organization name slug from <span pulumi-lang-nodejs=\"`listOrganizations`\" pulumi-lang-dotnet=\"`ListOrganizations`\" pulumi-lang-go=\"`listOrganizations`\" pulumi-lang-python=\"`list_organizations`\" pulumi-lang-yaml=\"`listOrganizations`\" pulumi-lang-java=\"`listOrganizations`\">`list_organizations`</span>. Example: <span pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\">`acme`</span>.\n","type":"string"},"privateAccessHostUrl":{"description":"The private database connection host for the dedicated read replica.\n","type":"string"},"privateConnectionServiceName":{"description":"The service name to set up private connectivity for the dedicated read replica.\n","type":"string"},"region":{"description":"The region slug for the dedicated read replica, e.g. `us-east`. The dedicated read replica can run in a different region than the primary. Requires replacement if changed.\n","type":"string"},"replicas":{"description":"The number of instances serving reads. Defaults to 1.\n","type":"number"}},"type":"object"},"type":"object"},"planetscale:index/postgresRedactedBranchRole:PostgresRedactedBranchRole":{"description":"PostgresRedactedBranchRole Resource\n\n## Import\n\nIn Terraform v1.5.0 and later, the `import` block can be used with the `id` attribute, for example:\n\nterraform\n\nimport {\n\n  to = planetscale_postgres_redacted_branch_role.my_planetscale_postgres_redacted_branch_role\n\n  id = jsonencode({\n\n    branch       = \"...\"\n\n    database     = \"...\"\n\n    id           = \"...\"\n\n    organization = \"...\"\n\n  })\n\n}\n\nThe `pulumi import` command can be used, for example:\n\n```sh\n$ pulumi import planetscale:index/postgresRedactedBranchRole:PostgresRedactedBranchRole my_planetscale_postgres_redacted_branch_role '{\"branch\": \"...\", \"database\": \"...\", \"id\": \"...\", \"organization\": \"...\"}'\n```\n\n","inputProperties":{"branch":{"description":"Branch name from <span pulumi-lang-nodejs=\"`listBranches`\" pulumi-lang-dotnet=\"`ListBranches`\" pulumi-lang-go=\"`listBranches`\" pulumi-lang-python=\"`list_branches`\" pulumi-lang-yaml=\"`listBranches`\" pulumi-lang-java=\"`listBranches`\">`list_branches`</span>. Example: <span pulumi-lang-nodejs=\"`main`\" pulumi-lang-dotnet=\"`Main`\" pulumi-lang-go=\"`main`\" pulumi-lang-python=\"`main`\" pulumi-lang-yaml=\"`main`\" pulumi-lang-java=\"`main`\">`main`</span>.\n","type":"string"},"database":{"description":"Database name slug from <span pulumi-lang-nodejs=\"`listDatabases`\" pulumi-lang-dotnet=\"`ListDatabases`\" pulumi-lang-go=\"`listDatabases`\" pulumi-lang-python=\"`list_databases`\" pulumi-lang-yaml=\"`listDatabases`\" pulumi-lang-java=\"`listDatabases`\">`list_databases`</span>. Example: `app-db`.\n","type":"string"},"inheritedRoles":{"description":"Roles to inherit from. Requires replacement if changed.\n","items":{"type":"string"},"type":"array"},"name":{"description":"The name of the role\n","type":"string"},"organization":{"description":"Organization name slug from <span pulumi-lang-nodejs=\"`listOrganizations`\" pulumi-lang-dotnet=\"`ListOrganizations`\" pulumi-lang-go=\"`listOrganizations`\" pulumi-lang-python=\"`list_organizations`\" pulumi-lang-yaml=\"`listOrganizations`\" pulumi-lang-java=\"`listOrganizations`\">`list_organizations`</span>. Example: <span pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\">`acme`</span>.\n","type":"string"},"successor":{"description":"The optional role to reassign ownership to before dropping. Accepts the role's ID, or its username with or without the branch ID suffix.\n","type":"string"},"ttl":{"description":"Time to live in seconds. Requires replacement if changed.\n","type":"number"},"withReplication":{"description":"Whether the role should have the REPLICATION attribute. Requires replacement if changed.\n","type":"boolean"}},"properties":{"accessHostUrl":{"description":"The database connection string\n","type":"string"},"actorData":{"$ref":"#/types/planetscale:index%2FPostgresRedactedBranchRoleActorData:PostgresRedactedBranchRoleActorData"},"baseUsername":{"description":"The base username without branch routing suffix\n","type":"string"},"branch":{"description":"Branch name from <span pulumi-lang-nodejs=\"`listBranches`\" pulumi-lang-dotnet=\"`ListBranches`\" pulumi-lang-go=\"`listBranches`\" pulumi-lang-python=\"`list_branches`\" pulumi-lang-yaml=\"`listBranches`\" pulumi-lang-java=\"`listBranches`\">`list_branches`</span>. Example: <span pulumi-lang-nodejs=\"`main`\" pulumi-lang-dotnet=\"`Main`\" pulumi-lang-go=\"`main`\" pulumi-lang-python=\"`main`\" pulumi-lang-yaml=\"`main`\" pulumi-lang-java=\"`main`\">`main`</span>.\n","type":"string"},"branchData":{"$ref":"#/types/planetscale:index%2FPostgresRedactedBranchRoleBranchData:PostgresRedactedBranchRoleBranchData"},"createdAt":{"description":"When the role was created\n","type":"string"},"database":{"description":"Database name slug from <span pulumi-lang-nodejs=\"`listDatabases`\" pulumi-lang-dotnet=\"`ListDatabases`\" pulumi-lang-go=\"`listDatabases`\" pulumi-lang-python=\"`list_databases`\" pulumi-lang-yaml=\"`listDatabases`\" pulumi-lang-java=\"`listDatabases`\">`list_databases`</span>. Example: `app-db`.\n","type":"string"},"databaseName":{"description":"The database name\n","type":"string"},"default":{"description":"Whether the role is the default postgres user\n","type":"boolean"},"deletedAt":{"description":"When the role was deleted\n","type":"string"},"disabledAt":{"description":"When the role was disabled\n","type":"string"},"dropFailed":{"description":"Error message available when dropping the role fails\n","type":"string"},"droppedAt":{"description":"When the role was dropped\n","type":"string"},"expired":{"description":"True if the credentials are expired\n","type":"boolean"},"expiresAt":{"description":"When the role expires\n","type":"string"},"inheritedRoles":{"description":"Roles to inherit from. Requires replacement if changed.\n","items":{"type":"string"},"type":"array"},"name":{"description":"The name of the role\n","type":"string"},"organization":{"description":"Organization name slug from <span pulumi-lang-nodejs=\"`listOrganizations`\" pulumi-lang-dotnet=\"`ListOrganizations`\" pulumi-lang-go=\"`listOrganizations`\" pulumi-lang-python=\"`list_organizations`\" pulumi-lang-yaml=\"`listOrganizations`\" pulumi-lang-java=\"`listOrganizations`\">`list_organizations`</span>. Example: <span pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\">`acme`</span>.\n","type":"string"},"privateAccessHostUrl":{"description":"The database connection string for private connections\n","type":"string"},"privateConnectionServiceName":{"description":"The service name to set up private connectivity\n","type":"string"},"querySafetySettings":{"$ref":"#/types/planetscale:index%2FPostgresRedactedBranchRoleQuerySafetySettings:PostgresRedactedBranchRoleQuerySafetySettings"},"successor":{"description":"The optional role to reassign ownership to before dropping. Accepts the role's ID, or its username with or without the branch ID suffix.\n","type":"string"},"ttl":{"description":"Time to live in seconds. Requires replacement if changed.\n","type":"number"},"updatedAt":{"description":"When the role was updated\n","type":"string"},"username":{"description":"The database user name\n","type":"string"},"withReplication":{"description":"Whether the role should have the REPLICATION attribute. Requires replacement if changed.\n","type":"boolean"}},"required":["accessHostUrl","actorData","baseUsername","branch","branchData","createdAt","database","databaseName","default","deletedAt","disabledAt","dropFailed","droppedAt","expired","expiresAt","inheritedRoles","name","organization","privateAccessHostUrl","privateConnectionServiceName","querySafetySettings","ttl","updatedAt","username","withReplication"],"requiredInputs":["branch","database","organization"],"stateInputs":{"description":"Input properties used for looking up and filtering PostgresRedactedBranchRole resources.\n","properties":{"accessHostUrl":{"description":"The database connection string\n","type":"string"},"actorData":{"$ref":"#/types/planetscale:index%2FPostgresRedactedBranchRoleActorData:PostgresRedactedBranchRoleActorData"},"baseUsername":{"description":"The base username without branch routing suffix\n","type":"string"},"branch":{"description":"Branch name from <span pulumi-lang-nodejs=\"`listBranches`\" pulumi-lang-dotnet=\"`ListBranches`\" pulumi-lang-go=\"`listBranches`\" pulumi-lang-python=\"`list_branches`\" pulumi-lang-yaml=\"`listBranches`\" pulumi-lang-java=\"`listBranches`\">`list_branches`</span>. Example: <span pulumi-lang-nodejs=\"`main`\" pulumi-lang-dotnet=\"`Main`\" pulumi-lang-go=\"`main`\" pulumi-lang-python=\"`main`\" pulumi-lang-yaml=\"`main`\" pulumi-lang-java=\"`main`\">`main`</span>.\n","type":"string"},"branchData":{"$ref":"#/types/planetscale:index%2FPostgresRedactedBranchRoleBranchData:PostgresRedactedBranchRoleBranchData"},"createdAt":{"description":"When the role was created\n","type":"string"},"database":{"description":"Database name slug from <span pulumi-lang-nodejs=\"`listDatabases`\" pulumi-lang-dotnet=\"`ListDatabases`\" pulumi-lang-go=\"`listDatabases`\" pulumi-lang-python=\"`list_databases`\" pulumi-lang-yaml=\"`listDatabases`\" pulumi-lang-java=\"`listDatabases`\">`list_databases`</span>. Example: `app-db`.\n","type":"string"},"databaseName":{"description":"The database name\n","type":"string"},"default":{"description":"Whether the role is the default postgres user\n","type":"boolean"},"deletedAt":{"description":"When the role was deleted\n","type":"string"},"disabledAt":{"description":"When the role was disabled\n","type":"string"},"dropFailed":{"description":"Error message available when dropping the role fails\n","type":"string"},"droppedAt":{"description":"When the role was dropped\n","type":"string"},"expired":{"description":"True if the credentials are expired\n","type":"boolean"},"expiresAt":{"description":"When the role expires\n","type":"string"},"inheritedRoles":{"description":"Roles to inherit from. Requires replacement if changed.\n","items":{"type":"string"},"type":"array"},"name":{"description":"The name of the role\n","type":"string"},"organization":{"description":"Organization name slug from <span pulumi-lang-nodejs=\"`listOrganizations`\" pulumi-lang-dotnet=\"`ListOrganizations`\" pulumi-lang-go=\"`listOrganizations`\" pulumi-lang-python=\"`list_organizations`\" pulumi-lang-yaml=\"`listOrganizations`\" pulumi-lang-java=\"`listOrganizations`\">`list_organizations`</span>. Example: <span pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\">`acme`</span>.\n","type":"string"},"privateAccessHostUrl":{"description":"The database connection string for private connections\n","type":"string"},"privateConnectionServiceName":{"description":"The service name to set up private connectivity\n","type":"string"},"querySafetySettings":{"$ref":"#/types/planetscale:index%2FPostgresRedactedBranchRoleQuerySafetySettings:PostgresRedactedBranchRoleQuerySafetySettings"},"successor":{"description":"The optional role to reassign ownership to before dropping. Accepts the role's ID, or its username with or without the branch ID suffix.\n","type":"string"},"ttl":{"description":"Time to live in seconds. Requires replacement if changed.\n","type":"number"},"updatedAt":{"description":"When the role was updated\n","type":"string"},"username":{"description":"The database user name\n","type":"string"},"withReplication":{"description":"Whether the role should have the REPLICATION attribute. Requires replacement if changed.\n","type":"boolean"}},"type":"object"},"type":"object"},"planetscale:index/vitessBackupPolicy:VitessBackupPolicy":{"description":"VitessBackupPolicy Resource\n\n## Import\n\nIn Terraform v1.5.0 and later, the `import` block can be used with the `id` attribute, for example:\n\nterraform\n\nimport {\n\n  to = planetscale_vitess_backup_policy.my_planetscale_vitess_backup_policy\n\n  id = jsonencode({\n\n    database     = \"...\"\n\n    id           = \"...\"\n\n    organization = \"...\"\n\n  })\n\n}\n\nThe `pulumi import` command can be used, for example:\n\n```sh\n$ pulumi import planetscale:index/vitessBackupPolicy:VitessBackupPolicy my_planetscale_vitess_backup_policy '{\"database\": \"...\", \"id\": \"...\", \"organization\": \"...\"}'\n```\n\n","inputProperties":{"database":{"description":"Database name slug from <span pulumi-lang-nodejs=\"`listDatabases`\" pulumi-lang-dotnet=\"`ListDatabases`\" pulumi-lang-go=\"`listDatabases`\" pulumi-lang-python=\"`list_databases`\" pulumi-lang-yaml=\"`listDatabases`\" pulumi-lang-java=\"`listDatabases`\">`list_databases`</span>. Example: `app-db`.\n","type":"string"},"frequencyUnit":{"description":"The unit for the frequency of the backup policy. must be one of [\"hour\", \"day\", \"week\", \"month\"]\n","type":"string"},"frequencyValue":{"description":"A number value for the frequency of the backup policy\n","type":"number"},"name":{"description":"The name of the backup policy\n","type":"string"},"organization":{"description":"Organization name slug from <span pulumi-lang-nodejs=\"`listOrganizations`\" pulumi-lang-dotnet=\"`ListOrganizations`\" pulumi-lang-go=\"`listOrganizations`\" pulumi-lang-python=\"`list_organizations`\" pulumi-lang-yaml=\"`listOrganizations`\" pulumi-lang-java=\"`listOrganizations`\">`list_organizations`</span>. Example: <span pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\">`acme`</span>.\n","type":"string"},"retentionUnit":{"description":"The unit for the retention period of the backup policy. must be one of [\"hour\", \"day\", \"week\", \"month\", \"year\"]\n","type":"string"},"retentionValue":{"description":"A number value for the retention period of the backup policy\n","type":"number"},"scheduleDay":{"description":"Day of the week that the backup is scheduled. 0 is Sunday, 6 is Saturday\n","type":"number"},"scheduleTime":{"description":"The time of day that the backup is scheduled, in HH:MM format\n","type":"string"},"scheduleWeek":{"description":"Week of the month that the backup is scheduled. 0 is the first week, 3 is the fourth week\n","type":"number"},"target":{"description":"Whether the policy is for production or development branches. must be one of [\"production\", \"development\"]\n","type":"string"}},"properties":{"database":{"description":"Database name slug from <span pulumi-lang-nodejs=\"`listDatabases`\" pulumi-lang-dotnet=\"`ListDatabases`\" pulumi-lang-go=\"`listDatabases`\" pulumi-lang-python=\"`list_databases`\" pulumi-lang-yaml=\"`listDatabases`\" pulumi-lang-java=\"`listDatabases`\">`list_databases`</span>. Example: `app-db`.\n","type":"string"},"displayName":{"description":"The display name of the backup policy\n","type":"string"},"frequencyUnit":{"description":"The unit for the frequency of the backup policy. must be one of [\"hour\", \"day\", \"week\", \"month\"]\n","type":"string"},"frequencyValue":{"description":"A number value for the frequency of the backup policy\n","type":"number"},"name":{"description":"The name of the backup policy\n","type":"string"},"organization":{"description":"Organization name slug from <span pulumi-lang-nodejs=\"`listOrganizations`\" pulumi-lang-dotnet=\"`ListOrganizations`\" pulumi-lang-go=\"`listOrganizations`\" pulumi-lang-python=\"`list_organizations`\" pulumi-lang-yaml=\"`listOrganizations`\" pulumi-lang-java=\"`listOrganizations`\">`list_organizations`</span>. Example: <span pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\">`acme`</span>.\n","type":"string"},"retentionUnit":{"description":"The unit for the retention period of the backup policy. must be one of [\"hour\", \"day\", \"week\", \"month\", \"year\"]\n","type":"string"},"retentionValue":{"description":"A number value for the retention period of the backup policy\n","type":"number"},"scheduleDay":{"description":"Day of the week that the backup is scheduled. 0 is Sunday, 6 is Saturday\n","type":"number"},"scheduleTime":{"description":"The time of day that the backup is scheduled, in HH:MM format\n","type":"string"},"scheduleWeek":{"description":"Week of the month that the backup is scheduled. 0 is the first week, 3 is the fourth week\n","type":"number"},"target":{"description":"Whether the policy is for production or development branches. must be one of [\"production\", \"development\"]\n","type":"string"}},"required":["database","displayName","frequencyUnit","frequencyValue","name","organization","retentionUnit","retentionValue","scheduleDay","scheduleTime","scheduleWeek","target"],"requiredInputs":["database","organization"],"stateInputs":{"description":"Input properties used for looking up and filtering VitessBackupPolicy resources.\n","properties":{"database":{"description":"Database name slug from <span pulumi-lang-nodejs=\"`listDatabases`\" pulumi-lang-dotnet=\"`ListDatabases`\" pulumi-lang-go=\"`listDatabases`\" pulumi-lang-python=\"`list_databases`\" pulumi-lang-yaml=\"`listDatabases`\" pulumi-lang-java=\"`listDatabases`\">`list_databases`</span>. Example: `app-db`.\n","type":"string"},"displayName":{"description":"The display name of the backup policy\n","type":"string"},"frequencyUnit":{"description":"The unit for the frequency of the backup policy. must be one of [\"hour\", \"day\", \"week\", \"month\"]\n","type":"string"},"frequencyValue":{"description":"A number value for the frequency of the backup policy\n","type":"number"},"name":{"description":"The name of the backup policy\n","type":"string"},"organization":{"description":"Organization name slug from <span pulumi-lang-nodejs=\"`listOrganizations`\" pulumi-lang-dotnet=\"`ListOrganizations`\" pulumi-lang-go=\"`listOrganizations`\" pulumi-lang-python=\"`list_organizations`\" pulumi-lang-yaml=\"`listOrganizations`\" pulumi-lang-java=\"`listOrganizations`\">`list_organizations`</span>. Example: <span pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\">`acme`</span>.\n","type":"string"},"retentionUnit":{"description":"The unit for the retention period of the backup policy. must be one of [\"hour\", \"day\", \"week\", \"month\", \"year\"]\n","type":"string"},"retentionValue":{"description":"A number value for the retention period of the backup policy\n","type":"number"},"scheduleDay":{"description":"Day of the week that the backup is scheduled. 0 is Sunday, 6 is Saturday\n","type":"number"},"scheduleTime":{"description":"The time of day that the backup is scheduled, in HH:MM format\n","type":"string"},"scheduleWeek":{"description":"Week of the month that the backup is scheduled. 0 is the first week, 3 is the fourth week\n","type":"number"},"target":{"description":"Whether the policy is for production or development branches. must be one of [\"production\", \"development\"]\n","type":"string"}},"type":"object"},"type":"object"},"planetscale:index/vitessBranch:VitessBranch":{"description":"VitessBranch Resource\n\n## Example Usage\n\n<!--Start PulumiCodeChooser -->\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as planetscale from \"@pulumi/planetscale\";\n\nconst myVitessbranch = new planetscale.VitessBranch(\"my_vitessbranch\", {\n    organization: \"my-organization\",\n    database: \"ru00w3vqvfr9\",\n    name: \"my-branch\",\n    deletionProtected: true,\n    safeMigrations: true,\n    vtgateAutoscaling: true,\n    vtgateCount: 1,\n    vtgateMaxCount: 2,\n    vtgateSize: \"VTG_320\",\n    vtgateTargetCpuUtilization: 50,\n    parameters: {\n        vtgate: {\n            \"query-timeout\": \"30000\",\n            maxMemoryRows: \"500000\",\n        },\n    },\n});\n```\n```python\nimport pulumi\nimport pulumi_planetscale as planetscale\n\nmy_vitessbranch = planetscale.VitessBranch(\"my_vitessbranch\",\n    organization=\"my-organization\",\n    database=\"ru00w3vqvfr9\",\n    name=\"my-branch\",\n    deletion_protected=True,\n    safe_migrations=True,\n    vtgate_autoscaling=True,\n    vtgate_count=1,\n    vtgate_max_count=2,\n    vtgate_size=\"VTG_320\",\n    vtgate_target_cpu_utilization=50,\n    parameters={\n        \"vtgate\": {\n            \"query-timeout\": \"30000\",\n            \"maxMemoryRows\": \"500000\",\n        },\n    })\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Planetscale = Pulumi.Planetscale;\n\nreturn await Deployment.RunAsync(() => \n{\n    var myVitessbranch = new Planetscale.VitessBranch(\"my_vitessbranch\", new()\n    {\n        Organization = \"my-organization\",\n        Database = \"ru00w3vqvfr9\",\n        Name = \"my-branch\",\n        DeletionProtected = true,\n        SafeMigrations = true,\n        VtgateAutoscaling = true,\n        VtgateCount = 1,\n        VtgateMaxCount = 2,\n        VtgateSize = \"VTG_320\",\n        VtgateTargetCpuUtilization = 50,\n        Parameters = \n        {\n            { \"vtgate\", \n            {\n                { \"query-timeout\", \"30000\" },\n                { \"maxMemoryRows\", \"500000\" },\n            } },\n        },\n    });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-terraform-provider/sdks/go/planetscale/planetscale\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := planetscale.NewVitessBranch(ctx, \"my_vitessbranch\", &planetscale.VitessBranchArgs{\n\t\t\tOrganization:               pulumi.String(\"my-organization\"),\n\t\t\tDatabase:                   pulumi.String(\"ru00w3vqvfr9\"),\n\t\t\tName:                       pulumi.String(\"my-branch\"),\n\t\t\tDeletionProtected:          pulumi.Bool(true),\n\t\t\tSafeMigrations:             pulumi.Bool(true),\n\t\t\tVtgateAutoscaling:          pulumi.Bool(true),\n\t\t\tVtgateCount:                pulumi.Float64(1),\n\t\t\tVtgateMaxCount:             pulumi.Float64(2),\n\t\t\tVtgateSize:                 pulumi.String(\"VTG_320\"),\n\t\t\tVtgateTargetCpuUtilization: pulumi.Float64(50),\n\t\t\tParameters: pulumi.StringMapMap{\n\t\t\t\t\"vtgate\": pulumi.StringMap{\n\t\t\t\t\t\"query-timeout\": pulumi.String(\"30000\"),\n\t\t\t\t\t\"maxMemoryRows\": pulumi.String(\"500000\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.planetscale.VitessBranch;\nimport com.pulumi.planetscale.VitessBranchArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n    public static void main(String[] args) {\n        Pulumi.run(App::stack);\n    }\n\n    public static void stack(Context ctx) {\n        var myVitessbranch = new VitessBranch(\"myVitessbranch\", VitessBranchArgs.builder()\n            .organization(\"my-organization\")\n            .database(\"ru00w3vqvfr9\")\n            .name(\"my-branch\")\n            .deletionProtected(true)\n            .safeMigrations(true)\n            .vtgateAutoscaling(true)\n            .vtgateCount(1.0)\n            .vtgateMaxCount(2.0)\n            .vtgateSize(\"VTG_320\")\n            .vtgateTargetCpuUtilization(50.0)\n            .parameters(Map.of(\"vtgate\", Map.ofEntries(\n                Map.entry(\"query-timeout\", \"30000\"),\n                Map.entry(\"maxMemoryRows\", \"500000\")\n            )))\n            .build());\n\n    }\n}\n```\n```yaml\nresources:\n  myVitessbranch:\n    type: planetscale:VitessBranch\n    name: my_vitessbranch\n    properties:\n      organization: my-organization\n      database: ru00w3vqvfr9\n      name: my-branch\n      deletionProtected: true\n      safeMigrations: true\n      vtgateAutoscaling: true\n      vtgateCount: 1\n      vtgateMaxCount: 2\n      vtgateSize: VTG_320\n      vtgateTargetCpuUtilization: 50 # VTGate parameter overrides. Once set, overrides missing from this map are\n      #   # reset to their defaults; leave it unset to leave parameters unchanged.\n      parameters:\n        vtgate:\n          query-timeout: '30000'\n          maxMemoryRows: '500000'\n```\n<!--End PulumiCodeChooser -->\n\n## Import\n\nIn Terraform v1.5.0 and later, the `import` block can be used with the `id` attribute, for example:\n\nterraform\n\nimport {\n\n  to = planetscale_vitess_branch.my_planetscale_vitess_branch\n\n  id = jsonencode({\n\n    database     = \"...\"\n\n    id           = \"...\"\n\n    organization = \"...\"\n\n  })\n\n}\n\nThe `pulumi import` command can be used, for example:\n\n```sh\n$ pulumi import planetscale:index/vitessBranch:VitessBranch my_planetscale_vitess_branch '{\"database\": \"...\", \"id\": \"...\", \"organization\": \"...\"}'\n```\n\n","inputProperties":{"backupId":{"description":"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.\n","type":"string"},"clusterSize":{"description":"The database cluster size. Required if a backup*id is provided (unless keyspace*cluster*sizes covers every keyspace), optional otherwise. Options: PS*10, PS*20, PS*40, ..., PS_2800. Requires replacement if changed.\n","type":"string"},"database":{"description":"The name of the database the branch belongs to\n","type":"string"},"deleteDescendants":{"description":"If true, recursively delete all descendant branches along with this branch\n","type":"boolean"},"deletionProtected":{"description":"Whether deletion protection is enabled for the branch\n","type":"boolean"},"name":{"description":"The name of the branch to create\n","type":"string"},"organization":{"description":"The name of the organization the branch belongs to\n","type":"string"},"parameters":{"additionalProperties":{"additionalProperties":{"type":"string"},"type":"object"},"type":"object"},"parentBranch":{"description":"The name of the parent branch. Defaults to the database's default branch if not provided. Requires replacement if changed.\n","type":"string"},"region":{"description":"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.\n","type":"string"},"safeMigrations":{"description":"Whether safe migrations are enabled\n","type":"boolean"},"seedData":{"description":"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 \"last*successful*backup\"; Requires replacement if changed.\n","type":"string"},"vtgateAutoscaling":{"description":"If autoscaling is enabled for the vtgate cluster\n","type":"boolean"},"vtgateCount":{"description":"The number of vtgates in an availability zone\n","type":"number"},"vtgateMaxCount":{"description":"The maximum number of vtgates in an availability zone when autoscaling is enabled\n","type":"number"},"vtgateSize":{"description":"The size of the vtgate cluster: VTG*5, VTG*10,…\n","type":"string"},"vtgateTargetCpuUtilization":{"description":"The target CPU utilization for the vtgate cluster when autoscaling is enabled\n","type":"number"}},"properties":{"actor":{"$ref":"#/types/planetscale:index%2FVitessBranchActor:VitessBranchActor"},"backupId":{"description":"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.\n","type":"string"},"clusterSize":{"description":"The database cluster size. Required if a backup*id is provided (unless keyspace*cluster*sizes covers every keyspace), optional otherwise. Options: PS*10, PS*20, PS*40, ..., PS_2800. Requires replacement if changed.\n","type":"string"},"database":{"description":"The name of the database the branch belongs to\n","type":"string"},"deleteDescendants":{"description":"If true, recursively delete all descendant branches along with this branch\n","type":"boolean"},"deletionProtected":{"description":"Whether deletion protection is enabled for the branch\n","type":"boolean"},"htmlUrl":{"description":"Planetscale app URL for the branch\n","type":"string"},"keyspaceCount":{"description":"The number of keyspaces in the branch\n","type":"number"},"mysqlAddress":{"description":"The MySQL address for the branch\n","type":"string"},"mysqlEdgeAddress":{"description":"The address of the MySQL provider for the branch\n","type":"string"},"name":{"description":"The name of the branch to create\n","type":"string"},"organization":{"description":"The name of the organization the branch belongs to\n","type":"string"},"parameters":{"additionalProperties":{"additionalProperties":{"type":"string"},"type":"object"},"type":"object"},"parentBranch":{"description":"The name of the parent branch. Defaults to the database's default branch if not provided. Requires replacement if changed.\n","type":"string"},"ready":{"description":"Whether or not the branch is ready to serve queries\n","type":"boolean"},"region":{"description":"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.\n","type":"string"},"regionData":{"$ref":"#/types/planetscale:index%2FVitessBranchRegionData:VitessBranchRegionData"},"safeMigrations":{"description":"Whether safe migrations are enabled\n","type":"boolean"},"seedData":{"description":"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 \"last*successful*backup\"; Requires replacement if changed.\n","type":"string"},"state":{"description":"The current state of the branch\n","type":"string"},"url":{"description":"Planetscale API URL for the branch\n","type":"string"},"vtgateAutoscaling":{"description":"If autoscaling is enabled for the vtgate cluster\n","type":"boolean"},"vtgateCount":{"description":"The number of vtgates in an availability zone\n","type":"number"},"vtgateMaxCount":{"description":"The maximum number of vtgates in an availability zone when autoscaling is enabled\n","type":"number"},"vtgateSize":{"description":"The size of the vtgate cluster: VTG*5, VTG*10,…\n","type":"string"},"vtgateTargetCpuUtilization":{"description":"The target CPU utilization for the vtgate cluster when autoscaling is enabled\n","type":"number"}},"required":["actor","clusterSize","database","deletionProtected","htmlUrl","keyspaceCount","mysqlAddress","mysqlEdgeAddress","name","organization","parameters","parentBranch","ready","regionData","safeMigrations","state","url","vtgateAutoscaling","vtgateCount","vtgateMaxCount","vtgateSize","vtgateTargetCpuUtilization"],"requiredInputs":["database","organization"],"stateInputs":{"description":"Input properties used for looking up and filtering VitessBranch resources.\n","properties":{"actor":{"$ref":"#/types/planetscale:index%2FVitessBranchActor:VitessBranchActor"},"backupId":{"description":"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.\n","type":"string"},"clusterSize":{"description":"The database cluster size. Required if a backup*id is provided (unless keyspace*cluster*sizes covers every keyspace), optional otherwise. Options: PS*10, PS*20, PS*40, ..., PS_2800. Requires replacement if changed.\n","type":"string"},"database":{"description":"The name of the database the branch belongs to\n","type":"string"},"deleteDescendants":{"description":"If true, recursively delete all descendant branches along with this branch\n","type":"boolean"},"deletionProtected":{"description":"Whether deletion protection is enabled for the branch\n","type":"boolean"},"htmlUrl":{"description":"Planetscale app URL for the branch\n","type":"string"},"keyspaceCount":{"description":"The number of keyspaces in the branch\n","type":"number"},"mysqlAddress":{"description":"The MySQL address for the branch\n","type":"string"},"mysqlEdgeAddress":{"description":"The address of the MySQL provider for the branch\n","type":"string"},"name":{"description":"The name of the branch to create\n","type":"string"},"organization":{"description":"The name of the organization the branch belongs to\n","type":"string"},"parameters":{"additionalProperties":{"additionalProperties":{"type":"string"},"type":"object"},"type":"object"},"parentBranch":{"description":"The name of the parent branch. Defaults to the database's default branch if not provided. Requires replacement if changed.\n","type":"string"},"ready":{"description":"Whether or not the branch is ready to serve queries\n","type":"boolean"},"region":{"description":"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.\n","type":"string"},"regionData":{"$ref":"#/types/planetscale:index%2FVitessBranchRegionData:VitessBranchRegionData"},"safeMigrations":{"description":"Whether safe migrations are enabled\n","type":"boolean"},"seedData":{"description":"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 \"last*successful*backup\"; Requires replacement if changed.\n","type":"string"},"state":{"description":"The current state of the branch\n","type":"string"},"url":{"description":"Planetscale API URL for the branch\n","type":"string"},"vtgateAutoscaling":{"description":"If autoscaling is enabled for the vtgate cluster\n","type":"boolean"},"vtgateCount":{"description":"The number of vtgates in an availability zone\n","type":"number"},"vtgateMaxCount":{"description":"The maximum number of vtgates in an availability zone when autoscaling is enabled\n","type":"number"},"vtgateSize":{"description":"The size of the vtgate cluster: VTG*5, VTG*10,…\n","type":"string"},"vtgateTargetCpuUtilization":{"description":"The target CPU utilization for the vtgate cluster when autoscaling is enabled\n","type":"number"}},"type":"object"},"type":"object"},"planetscale:index/vitessBranchBackup:VitessBranchBackup":{"description":"VitessBranchBackup Resource\n\n## Import\n\nIn Terraform v1.5.0 and later, the `import` block can be used with the `id` attribute, for example:\n\nterraform\n\nimport {\n\n  to = planetscale_vitess_branch_backup.my_planetscale_vitess_branch_backup\n\n  id = jsonencode({\n\n    branch       = \"...\"\n\n    database     = \"...\"\n\n    id           = \"...\"\n\n    organization = \"...\"\n\n  })\n\n}\n\nThe `pulumi import` command can be used, for example:\n\n```sh\n$ pulumi import planetscale:index/vitessBranchBackup:VitessBranchBackup my_planetscale_vitess_branch_backup '{\"branch\": \"...\", \"database\": \"...\", \"id\": \"...\", \"organization\": \"...\"}'\n```\n\n","inputProperties":{"branch":{"description":"The name of the branch. Requires replacement if changed.\n","type":"string"},"database":{"description":"The name of the database the branch belongs to. Requires replacement if changed.\n","type":"string"},"name":{"description":"Name for the backup. Requires replacement if changed.\n","type":"string"},"organization":{"description":"The name of the organization the branch belongs to. Requires replacement if changed.\n","type":"string"},"retentionUnit":{"description":"Unit for the retention period of the backup. must be one of [\"hour\", \"day\", \"week\", \"month\", \"year\"]; Requires replacement if changed.\n","type":"string"},"retentionValue":{"description":"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`\">`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`\">`1000`</span> for the retention period of the backup (i.e retention*value <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`\">`6`</span> and retention*unit <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`\">`hour`</span> means 6 hours). Requires replacement if changed.\n","type":"number"}},"properties":{"actor":{"$ref":"#/types/planetscale:index%2FVitessBranchBackupActor:VitessBranchBackupActor"},"backupPolicy":{"$ref":"#/types/planetscale:index%2FVitessBranchBackupBackupPolicy:VitessBranchBackupBackupPolicy"},"branch":{"description":"The name of the branch. Requires replacement if changed.\n","type":"string"},"completedAt":{"description":"When the backup completed\n","type":"string"},"database":{"description":"The name of the database the branch belongs to. Requires replacement if changed.\n","type":"string"},"databaseBranch":{"$ref":"#/types/planetscale:index%2FVitessBranchBackupDatabaseBranch:VitessBranchBackupDatabaseBranch"},"deletedAt":{"description":"When the backup was deleted\n","type":"string"},"estimatedStorageCost":{"description":"The estimated storage cost of the backup\n","type":"number"},"expiresAt":{"description":"When the backup expires\n","type":"string"},"name":{"description":"Name for the backup. Requires replacement if changed.\n","type":"string"},"organization":{"description":"The name of the organization the branch belongs to. Requires replacement if changed.\n","type":"string"},"protected":{"description":"Whether or not the backup is protected from deletion\n","type":"boolean"},"pvcSize":{"description":"Size of the PVC used for the backup\n","type":"number"},"retentionUnit":{"description":"Unit for the retention period of the backup. must be one of [\"hour\", \"day\", \"week\", \"month\", \"year\"]; Requires replacement if changed.\n","type":"string"},"retentionValue":{"description":"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`\">`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`\">`1000`</span> for the retention period of the backup (i.e retention*value <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`\">`6`</span> and retention*unit <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`\">`hour`</span> means 6 hours). Requires replacement if changed.\n","type":"number"},"size":{"description":"The size of the backup in bytes\n","type":"number"},"startedAt":{"description":"When the backup started\n","type":"string"},"state":{"description":"The current state of the backup\n","type":"string"},"uncompressedSize":{"description":"The uncompressed (logical) size of the backup in bytes\n","type":"number"}},"required":["actor","backupPolicy","branch","completedAt","database","databaseBranch","deletedAt","estimatedStorageCost","expiresAt","name","organization","protected","pvcSize","size","startedAt","state","uncompressedSize"],"requiredInputs":["branch","database","organization"],"stateInputs":{"description":"Input properties used for looking up and filtering VitessBranchBackup resources.\n","properties":{"actor":{"$ref":"#/types/planetscale:index%2FVitessBranchBackupActor:VitessBranchBackupActor"},"backupPolicy":{"$ref":"#/types/planetscale:index%2FVitessBranchBackupBackupPolicy:VitessBranchBackupBackupPolicy"},"branch":{"description":"The name of the branch. Requires replacement if changed.\n","type":"string"},"completedAt":{"description":"When the backup completed\n","type":"string"},"database":{"description":"The name of the database the branch belongs to. Requires replacement if changed.\n","type":"string"},"databaseBranch":{"$ref":"#/types/planetscale:index%2FVitessBranchBackupDatabaseBranch:VitessBranchBackupDatabaseBranch"},"deletedAt":{"description":"When the backup was deleted\n","type":"string"},"estimatedStorageCost":{"description":"The estimated storage cost of the backup\n","type":"number"},"expiresAt":{"description":"When the backup expires\n","type":"string"},"name":{"description":"Name for the backup. Requires replacement if changed.\n","type":"string"},"organization":{"description":"The name of the organization the branch belongs to. Requires replacement if changed.\n","type":"string"},"protected":{"description":"Whether or not the backup is protected from deletion\n","type":"boolean"},"pvcSize":{"description":"Size of the PVC used for the backup\n","type":"number"},"retentionUnit":{"description":"Unit for the retention period of the backup. must be one of [\"hour\", \"day\", \"week\", \"month\", \"year\"]; Requires replacement if changed.\n","type":"string"},"retentionValue":{"description":"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`\">`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`\">`1000`</span> for the retention period of the backup (i.e retention*value <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`\">`6`</span> and retention*unit <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`\">`hour`</span> means 6 hours). Requires replacement if changed.\n","type":"number"},"size":{"description":"The size of the backup in bytes\n","type":"number"},"startedAt":{"description":"When the backup started\n","type":"string"},"state":{"description":"The current state of the backup\n","type":"string"},"uncompressedSize":{"description":"The uncompressed (logical) size of the backup in bytes\n","type":"number"}},"type":"object"},"type":"object"},"planetscale:index/vitessBranchPassword:VitessBranchPassword":{"description":"VitessBranchPassword Resource\n\n## Example Usage\n\n<!--Start PulumiCodeChooser -->\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as planetscale from \"@pulumi/planetscale\";\n\nconst myVitessbranchpassword = new planetscale.VitessBranchPassword(\"my_vitessbranchpassword\", {\n    organization: \"my-organization\",\n    database: \"ru00w3vqvfr9\",\n    branch: \"2474dzfubrf3\",\n    role: \"admin\",\n});\n```\n```python\nimport pulumi\nimport pulumi_planetscale as planetscale\n\nmy_vitessbranchpassword = planetscale.VitessBranchPassword(\"my_vitessbranchpassword\",\n    organization=\"my-organization\",\n    database=\"ru00w3vqvfr9\",\n    branch=\"2474dzfubrf3\",\n    role=\"admin\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Planetscale = Pulumi.Planetscale;\n\nreturn await Deployment.RunAsync(() => \n{\n    var myVitessbranchpassword = new Planetscale.VitessBranchPassword(\"my_vitessbranchpassword\", new()\n    {\n        Organization = \"my-organization\",\n        Database = \"ru00w3vqvfr9\",\n        Branch = \"2474dzfubrf3\",\n        Role = \"admin\",\n    });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-terraform-provider/sdks/go/planetscale/planetscale\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t_, err := planetscale.NewVitessBranchPassword(ctx, \"my_vitessbranchpassword\", &planetscale.VitessBranchPasswordArgs{\n\t\t\tOrganization: pulumi.String(\"my-organization\"),\n\t\t\tDatabase:     pulumi.String(\"ru00w3vqvfr9\"),\n\t\t\tBranch:       pulumi.String(\"2474dzfubrf3\"),\n\t\t\tRole:         pulumi.String(\"admin\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.planetscale.VitessBranchPassword;\nimport com.pulumi.planetscale.VitessBranchPasswordArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n    public static void main(String[] args) {\n        Pulumi.run(App::stack);\n    }\n\n    public static void stack(Context ctx) {\n        var myVitessbranchpassword = new VitessBranchPassword(\"myVitessbranchpassword\", VitessBranchPasswordArgs.builder()\n            .organization(\"my-organization\")\n            .database(\"ru00w3vqvfr9\")\n            .branch(\"2474dzfubrf3\")\n            .role(\"admin\")\n            .build());\n\n    }\n}\n```\n```yaml\nresources:\n  myVitessbranchpassword:\n    type: planetscale:VitessBranchPassword\n    name: my_vitessbranchpassword\n    properties:\n      organization: my-organization\n      database: ru00w3vqvfr9\n      branch: 2474dzfubrf3\n      role: admin\n```\n<!--End PulumiCodeChooser -->\n\n## Import\n\nIn Terraform v1.5.0 and later, the `import` block can be used with the `id` attribute, for example:\n\nterraform\n\nimport {\n\n  to = planetscale_vitess_branch_password.my_planetscale_vitess_branch_password\n\n  id = jsonencode({\n\n    branch       = \"...\"\n\n    database     = \"...\"\n\n    id           = \"...\"\n\n    organization = \"...\"\n\n  })\n\n}\n\nThe `pulumi import` command can be used, for example:\n\n```sh\n$ pulumi import planetscale:index/vitessBranchPassword:VitessBranchPassword my_planetscale_vitess_branch_password '{\"branch\": \"...\", \"database\": \"...\", \"id\": \"...\", \"organization\": \"...\"}'\n```\n\n","inputProperties":{"branch":{"description":"The name of the branch the password belongs to\n","type":"string"},"cidrs":{"description":"List of IP addresses or CIDR ranges that can use this password\n","items":{"type":"string"},"type":"array"},"database":{"description":"The name of the database the password belongs to\n","type":"string"},"directVtgate":{"description":"Whether the password connects directly to a VTGate. Requires replacement if changed.\n","type":"boolean"},"name":{"description":"Optional name of the password\n","type":"string"},"organization":{"description":"The name of the organization the password belongs to\n","type":"string"},"replica":{"description":"Whether the password is for a read replica. Requires replacement if changed.\n","type":"boolean"},"role":{"description":"The database role of the password (i.e. admin). must be one of [\"reader\", \"writer\", \"admin\", \"readwriter\"]; Requires replacement if changed.\n","type":"string"},"ttl":{"description":"Time to live (in seconds) for the password. The password will be invalid when TTL has passed. Requires replacement if changed.\n","type":"number"}},"properties":{"accessHostRegionalUrl":{"description":"The regional host URL\n","type":"string"},"accessHostRegionalUrls":{"description":"The read-only replica host URLs\n","items":{"type":"string"},"type":"array"},"accessHostUrl":{"description":"The host URL for the password\n","type":"string"},"actor":{"$ref":"#/types/planetscale:index%2FVitessBranchPasswordActor:VitessBranchPasswordActor"},"branch":{"description":"The name of the branch the password belongs to\n","type":"string"},"cidrs":{"description":"List of IP addresses or CIDR ranges that can use this password\n","items":{"type":"string"},"type":"array"},"createdAt":{"description":"When the password was created\n","type":"string"},"database":{"description":"The name of the database the password belongs to\n","type":"string"},"databaseBranch":{"$ref":"#/types/planetscale:index%2FVitessBranchPasswordDatabaseBranch:VitessBranchPasswordDatabaseBranch"},"deletedAt":{"description":"When the password was deleted\n","type":"string"},"directVtgate":{"description":"Whether the password connects directly to a VTGate. Requires replacement if changed.\n","type":"boolean"},"directVtgateAddresses":{"description":"The list of hosts in each availability zone providing direct access to a vtgate\n","items":{"type":"string"},"type":"array"},"expired":{"description":"True if the credentials are expired\n","type":"boolean"},"expiresAt":{"description":"When the password will expire\n","type":"string"},"lastUsedAt":{"description":"When the password was last used to execute a query\n","type":"string"},"name":{"description":"Optional name of the password\n","type":"string"},"organization":{"description":"The name of the organization the password belongs to\n","type":"string"},"plainText":{"description":"The plaintext password. Null except in the response from the create endpoint.\n","secret":true,"type":"string"},"region":{"$ref":"#/types/planetscale:index%2FVitessBranchPasswordRegion:VitessBranchPasswordRegion"},"renewable":{"description":"Whether or not the password can be renewed\n","type":"boolean"},"replica":{"description":"Whether the password is for a read replica. Requires replacement if changed.\n","type":"boolean"},"role":{"description":"The database role of the password (i.e. admin). must be one of [\"reader\", \"writer\", \"admin\", \"readwriter\"]; Requires replacement if changed.\n","type":"string"},"ttl":{"description":"Time to live (in seconds) for the password. The password will be invalid when TTL has passed. Requires replacement if changed.\n","type":"number"},"ttlSeconds":{"description":"Time to live (in seconds) for the password. The password will be invalid when TTL has passed\n","type":"number"},"username":{"description":"The username for the password\n","type":"string"}},"required":["accessHostRegionalUrl","accessHostRegionalUrls","accessHostUrl","actor","branch","cidrs","createdAt","database","databaseBranch","deletedAt","directVtgate","directVtgateAddresses","expired","expiresAt","lastUsedAt","name","organization","plainText","region","renewable","replica","role","ttlSeconds","username"],"requiredInputs":["branch","database","organization"],"stateInputs":{"description":"Input properties used for looking up and filtering VitessBranchPassword resources.\n","properties":{"accessHostRegionalUrl":{"description":"The regional host URL\n","type":"string"},"accessHostRegionalUrls":{"description":"The read-only replica host URLs\n","items":{"type":"string"},"type":"array"},"accessHostUrl":{"description":"The host URL for the password\n","type":"string"},"actor":{"$ref":"#/types/planetscale:index%2FVitessBranchPasswordActor:VitessBranchPasswordActor"},"branch":{"description":"The name of the branch the password belongs to\n","type":"string"},"cidrs":{"description":"List of IP addresses or CIDR ranges that can use this password\n","items":{"type":"string"},"type":"array"},"createdAt":{"description":"When the password was created\n","type":"string"},"database":{"description":"The name of the database the password belongs to\n","type":"string"},"databaseBranch":{"$ref":"#/types/planetscale:index%2FVitessBranchPasswordDatabaseBranch:VitessBranchPasswordDatabaseBranch"},"deletedAt":{"description":"When the password was deleted\n","type":"string"},"directVtgate":{"description":"Whether the password connects directly to a VTGate. Requires replacement if changed.\n","type":"boolean"},"directVtgateAddresses":{"description":"The list of hosts in each availability zone providing direct access to a vtgate\n","items":{"type":"string"},"type":"array"},"expired":{"description":"True if the credentials are expired\n","type":"boolean"},"expiresAt":{"description":"When the password will expire\n","type":"string"},"lastUsedAt":{"description":"When the password was last used to execute a query\n","type":"string"},"name":{"description":"Optional name of the password\n","type":"string"},"organization":{"description":"The name of the organization the password belongs to\n","type":"string"},"plainText":{"description":"The plaintext password. Null except in the response from the create endpoint.\n","secret":true,"type":"string"},"region":{"$ref":"#/types/planetscale:index%2FVitessBranchPasswordRegion:VitessBranchPasswordRegion"},"renewable":{"description":"Whether or not the password can be renewed\n","type":"boolean"},"replica":{"description":"Whether the password is for a read replica. Requires replacement if changed.\n","type":"boolean"},"role":{"description":"The database role of the password (i.e. admin). must be one of [\"reader\", \"writer\", \"admin\", \"readwriter\"]; Requires replacement if changed.\n","type":"string"},"ttl":{"description":"Time to live (in seconds) for the password. The password will be invalid when TTL has passed. Requires replacement if changed.\n","type":"number"},"ttlSeconds":{"description":"Time to live (in seconds) for the password. The password will be invalid when TTL has passed\n","type":"number"},"username":{"description":"The username for the password\n","type":"string"}},"type":"object"},"type":"object"},"planetscale:index/vitessKeyspace:VitessKeyspace":{"description":"## Example Usage\n\n<!--Start PulumiCodeChooser -->\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as planetscale from \"@pulumi/planetscale\";\n\n// Creating a planetscale_vitess_branch already provisions the branch's default\n// keyspace. Use this resource for additional keyspaces, or import the default\n// keyspace if you need to manage its size, replicas, or parameters in\n// Terraform.\n//\n// cluster_size and extra_replicas update in place (resize), and parameters\n// update in place through config changes. Apply can take several minutes while\n// provisioning, resizing, or a parameter rollout finishes.\nconst example = new planetscale.VitessBranch(\"example\", {\n    organization: \"example\",\n    database: \"example\",\n    name: \"main\",\n    clusterSize: \"PS_10\",\n});\nconst exampleVitessKeyspace = new planetscale.VitessKeyspace(\"example\", {\n    organization: example.organization,\n    database: example.database,\n    branch: example.name,\n    name: \"metrics\",\n    clusterSize: \"PS_10\",\n    extraReplicas: 0,\n    parameters: {\n        vttablet: {\n            \"vreplication-parallel-insert-workers\": \"4\",\n        },\n        mysqld: {\n            waitTimeout: \"600\",\n        },\n    },\n});\n```\n```python\nimport pulumi\nimport pulumi_planetscale as planetscale\n\n# Creating a planetscale_vitess_branch already provisions the branch's default\n# keyspace. Use this resource for additional keyspaces, or import the default\n# keyspace if you need to manage its size, replicas, or parameters in\n# Terraform.\n#\n# cluster_size and extra_replicas update in place (resize), and parameters\n# update in place through config changes. Apply can take several minutes while\n# provisioning, resizing, or a parameter rollout finishes.\nexample = planetscale.VitessBranch(\"example\",\n    organization=\"example\",\n    database=\"example\",\n    name=\"main\",\n    cluster_size=\"PS_10\")\nexample_vitess_keyspace = planetscale.VitessKeyspace(\"example\",\n    organization=example.organization,\n    database=example.database,\n    branch=example.name,\n    name=\"metrics\",\n    cluster_size=\"PS_10\",\n    extra_replicas=0,\n    parameters={\n        \"vttablet\": {\n            \"vreplication-parallel-insert-workers\": \"4\",\n        },\n        \"mysqld\": {\n            \"waitTimeout\": \"600\",\n        },\n    })\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Planetscale = Pulumi.Planetscale;\n\nreturn await Deployment.RunAsync(() => \n{\n    // Creating a planetscale_vitess_branch already provisions the branch's default\n    // keyspace. Use this resource for additional keyspaces, or import the default\n    // keyspace if you need to manage its size, replicas, or parameters in\n    // Terraform.\n    //\n    // cluster_size and extra_replicas update in place (resize), and parameters\n    // update in place through config changes. Apply can take several minutes while\n    // provisioning, resizing, or a parameter rollout finishes.\n    var example = new Planetscale.VitessBranch(\"example\", new()\n    {\n        Organization = \"example\",\n        Database = \"example\",\n        Name = \"main\",\n        ClusterSize = \"PS_10\",\n    });\n\n    var exampleVitessKeyspace = new Planetscale.VitessKeyspace(\"example\", new()\n    {\n        Organization = example.Organization,\n        Database = example.Database,\n        Branch = example.Name,\n        Name = \"metrics\",\n        ClusterSize = \"PS_10\",\n        ExtraReplicas = 0,\n        Parameters = \n        {\n            { \"vttablet\", \n            {\n                { \"vreplication-parallel-insert-workers\", \"4\" },\n            } },\n            { \"mysqld\", \n            {\n                { \"waitTimeout\", \"600\" },\n            } },\n        },\n    });\n\n});\n```\n```go\npackage main\n\nimport (\n\t\"github.com/pulumi/pulumi-terraform-provider/sdks/go/planetscale/planetscale\"\n\t\"github.com/pulumi/pulumi/sdk/v3/go/pulumi\"\n)\n\nfunc main() {\n\tpulumi.Run(func(ctx *pulumi.Context) error {\n\t\t// Creating a planetscale_vitess_branch already provisions the branch's default\n\t\t// keyspace. Use this resource for additional keyspaces, or import the default\n\t\t// keyspace if you need to manage its size, replicas, or parameters in\n\t\t// Terraform.\n\t\t//\n\t\t// cluster_size and extra_replicas update in place (resize), and parameters\n\t\t// update in place through config changes. Apply can take several minutes while\n\t\t// provisioning, resizing, or a parameter rollout finishes.\n\t\texample, err := planetscale.NewVitessBranch(ctx, \"example\", &planetscale.VitessBranchArgs{\n\t\t\tOrganization: pulumi.String(\"example\"),\n\t\t\tDatabase:     pulumi.String(\"example\"),\n\t\t\tName:         pulumi.String(\"main\"),\n\t\t\tClusterSize:  pulumi.String(\"PS_10\"),\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\t_, err = planetscale.NewVitessKeyspace(ctx, \"example\", &planetscale.VitessKeyspaceArgs{\n\t\t\tOrganization:  example.Organization,\n\t\t\tDatabase:      example.Database,\n\t\t\tBranch:        example.Name,\n\t\t\tName:          pulumi.String(\"metrics\"),\n\t\t\tClusterSize:   pulumi.String(\"PS_10\"),\n\t\t\tExtraReplicas: pulumi.Float64(0),\n\t\t\tParameters: pulumi.StringMapMap{\n\t\t\t\t\"vttablet\": pulumi.StringMap{\n\t\t\t\t\t\"vreplication-parallel-insert-workers\": pulumi.String(\"4\"),\n\t\t\t\t},\n\t\t\t\t\"mysqld\": pulumi.StringMap{\n\t\t\t\t\t\"waitTimeout\": pulumi.String(\"600\"),\n\t\t\t\t},\n\t\t\t},\n\t\t})\n\t\tif err != nil {\n\t\t\treturn err\n\t\t}\n\t\treturn nil\n\t})\n}\n```\n```java\npackage generated_program;\n\nimport com.pulumi.Context;\nimport com.pulumi.Pulumi;\nimport com.pulumi.core.Output;\nimport com.pulumi.planetscale.VitessBranch;\nimport com.pulumi.planetscale.VitessBranchArgs;\nimport com.pulumi.planetscale.VitessKeyspace;\nimport com.pulumi.planetscale.VitessKeyspaceArgs;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.io.File;\nimport java.nio.file.Files;\nimport java.nio.file.Paths;\n\npublic class App {\n    public static void main(String[] args) {\n        Pulumi.run(App::stack);\n    }\n\n    public static void stack(Context ctx) {\n        // Creating a planetscale_vitess_branch already provisions the branch's default\n        // keyspace. Use this resource for additional keyspaces, or import the default\n        // keyspace if you need to manage its size, replicas, or parameters in\n        // Terraform.\n        //\n        // cluster_size and extra_replicas update in place (resize), and parameters\n        // update in place through config changes. Apply can take several minutes while\n        // provisioning, resizing, or a parameter rollout finishes.\n        var example = new VitessBranch(\"example\", VitessBranchArgs.builder()\n            .organization(\"example\")\n            .database(\"example\")\n            .name(\"main\")\n            .clusterSize(\"PS_10\")\n            .build());\n\n        var exampleVitessKeyspace = new VitessKeyspace(\"exampleVitessKeyspace\", VitessKeyspaceArgs.builder()\n            .organization(example.organization())\n            .database(example.database())\n            .branch(example.name())\n            .name(\"metrics\")\n            .clusterSize(\"PS_10\")\n            .extraReplicas(0.0)\n            .parameters(Map.ofEntries(\n                Map.entry(\"vttablet\", Map.of(\"vreplication-parallel-insert-workers\", \"4\")),\n                Map.entry(\"mysqld\", Map.of(\"waitTimeout\", \"600\"))\n            ))\n            .build());\n\n    }\n}\n```\n```yaml\nresources:\n  # Creating a planetscale_vitess_branch already provisions the branch's default\n  # keyspace. Use this resource for additional keyspaces, or import the default\n  # keyspace if you need to manage its size, replicas, or parameters in\n  # Terraform.\n  #\n  # cluster_size and extra_replicas update in place (resize), and parameters\n  # update in place through config changes. Apply can take several minutes while\n  # provisioning, resizing, or a parameter rollout finishes.\n  example:\n    type: planetscale:VitessBranch\n    properties:\n      organization: example\n      database: example\n      name: main\n      clusterSize: PS_10\n  exampleVitessKeyspace:\n    type: planetscale:VitessKeyspace\n    name: example\n    properties:\n      organization: ${example.organization}\n      database: ${example.database}\n      branch: ${example.name}\n      name: metrics\n      clusterSize: PS_10\n      extraReplicas: 0 # VTTablet and MySQL parameter overrides. Once set, overrides missing from\n      #   # this map are reset to their defaults; leave it unset to leave parameters\n      #   # unchanged.\n      parameters:\n        vttablet:\n          vreplication-parallel-insert-workers: '4'\n        mysqld:\n          waitTimeout: '600'\n```\n<!--End PulumiCodeChooser -->\n\n## Import\n\nIn Terraform v1.5.0 and later, the `import` block can be used with the `id` attribute, for example:\n\nterraform\n\nimport {\n\n  to = planetscale_vitess_keyspace.my_planetscale_vitess_keyspace\n\n  id = jsonencode({\n\n    branch       = \"...\"\n\n    database     = \"...\"\n\n    name         = \"...\"\n\n    organization = \"...\"\n\n  })\n\n}\n\nThe `pulumi import` command can be used, for example:\n\n```sh\n$ pulumi import planetscale:index/vitessKeyspace:VitessKeyspace my_planetscale_vitess_keyspace '{\"branch\": \"...\", \"database\": \"...\", \"name\": \"...\", \"organization\": \"...\"}'\n```\n\n","inputProperties":{"branch":{"description":"The name of the branch. Requires replacement if changed.\n","type":"string"},"clusterSize":{"description":"The database cluster size name (e.g., `PS_10`, `PS_80`). Updates in place via a keyspace resize. Use the List available cluster sizes endpoint for options for your organization.\n","type":"string"},"database":{"description":"The name of the database the branch belongs to. Requires replacement if changed.\n","type":"string"},"extraReplicas":{"description":"The number of additional replicas beyond the included default. Updates in place via a keyspace resize.\n","type":"number"},"name":{"description":"The name of the keyspace. Requires replacement if changed.\n","type":"string"},"organization":{"description":"The name of the organization the branch belongs to. Requires replacement if changed.\n","type":"string"},"parameters":{"additionalProperties":{"additionalProperties":{"type":"string"},"type":"object"},"type":"object"},"shards":{"description":"The number of shards. Default: 1. Set only at create time; changing this value requires replacement. Requires replacement if changed.\n","type":"number"}},"properties":{"branch":{"description":"The name of the branch. Requires replacement if changed.\n","type":"string"},"clusterDisplayName":{"description":"The SKU representing the keyspace cluster size for display\n","type":"string"},"clusterSize":{"description":"The database cluster size name (e.g., `PS_10`, `PS_80`). Updates in place via a keyspace resize. Use the List available cluster sizes endpoint for options for your organization.\n","type":"string"},"configChangeInProgress":{"description":"Is the keyspace undergoing a config change\n","type":"boolean"},"createdAt":{"description":"When the keyspace was created\n","type":"string"},"database":{"description":"The name of the database the branch belongs to. Requires replacement if changed.\n","type":"string"},"extraReplicas":{"description":"The number of additional replicas beyond the included default. Updates in place via a keyspace resize.\n","type":"number"},"imported":{"description":"Is this keyspace used in an import\n","type":"boolean"},"isDefault":{"description":"True when this is the branch's default keyspace (usually created with the branch). Import that keyspace to manage its size, replicas, or parameters; do not try to create it with this resource.\n","type":"boolean"},"metal":{"description":"Is the keyspace running on metal instances\n","type":"boolean"},"name":{"description":"The name of the keyspace. Requires replacement if changed.\n","type":"string"},"nodeTtlStrategy":{"description":"Controls when node TTL drains are allowed\n","type":"string"},"organization":{"description":"The name of the organization the branch belongs to. Requires replacement if changed.\n","type":"string"},"parameters":{"additionalProperties":{"additionalProperties":{"type":"string"},"type":"object"},"type":"object"},"ready":{"description":"Is the keyspace provisioned and serving traffic\n","type":"boolean"},"replicas":{"description":"Total number of replicas in the keyspace\n","type":"number"},"replicationDurabilityConstraints":{"$ref":"#/types/planetscale:index%2FVitessKeyspaceReplicationDurabilityConstraints:VitessKeyspaceReplicationDurabilityConstraints"},"resizeInProgress":{"description":"True while any unfinished resize request exists for the keyspace. Computed for observability; apply waits on ready, resizing, resize*pending, and config*change*in*progress instead, because this flag can lag after the resize has already applied.\n","type":"boolean"},"resizePending":{"description":"True while a resize request is queued. The provider waits for this to become false after create and update.\n","type":"boolean"},"resizing":{"description":"True while the keyspace is actively resizing. The provider waits for this to become false after create and update.\n","type":"boolean"},"sharded":{"description":"If the keyspace is sharded\n","type":"boolean"},"shards":{"description":"The number of shards. Default: 1. Set only at create time; changing this value requires replacement. Requires replacement if changed.\n","type":"number"},"throttler":{"$ref":"#/types/planetscale:index%2FVitessKeyspaceThrottler:VitessKeyspaceThrottler"},"updatedAt":{"description":"When the keyspace was last updated\n","type":"string"},"vectorPoolAllocation":{"description":"Percentage of buffer pool memory allocated to vector indexes\n","type":"number"},"vreplicationFlags":{"$ref":"#/types/planetscale:index%2FVitessKeyspaceVreplicationFlags:VitessKeyspaceVreplicationFlags"}},"required":["branch","clusterDisplayName","clusterSize","configChangeInProgress","createdAt","database","extraReplicas","imported","isDefault","metal","name","nodeTtlStrategy","organization","parameters","ready","replicas","replicationDurabilityConstraints","resizeInProgress","resizePending","resizing","sharded","shards","throttler","updatedAt","vectorPoolAllocation","vreplicationFlags"],"requiredInputs":["branch","clusterSize","database","organization"],"stateInputs":{"description":"Input properties used for looking up and filtering VitessKeyspace resources.\n","properties":{"branch":{"description":"The name of the branch. Requires replacement if changed.\n","type":"string"},"clusterDisplayName":{"description":"The SKU representing the keyspace cluster size for display\n","type":"string"},"clusterSize":{"description":"The database cluster size name (e.g., `PS_10`, `PS_80`). Updates in place via a keyspace resize. Use the List available cluster sizes endpoint for options for your organization.\n","type":"string"},"configChangeInProgress":{"description":"Is the keyspace undergoing a config change\n","type":"boolean"},"createdAt":{"description":"When the keyspace was created\n","type":"string"},"database":{"description":"The name of the database the branch belongs to. Requires replacement if changed.\n","type":"string"},"extraReplicas":{"description":"The number of additional replicas beyond the included default. Updates in place via a keyspace resize.\n","type":"number"},"imported":{"description":"Is this keyspace used in an import\n","type":"boolean"},"isDefault":{"description":"True when this is the branch's default keyspace (usually created with the branch). Import that keyspace to manage its size, replicas, or parameters; do not try to create it with this resource.\n","type":"boolean"},"metal":{"description":"Is the keyspace running on metal instances\n","type":"boolean"},"name":{"description":"The name of the keyspace. Requires replacement if changed.\n","type":"string"},"nodeTtlStrategy":{"description":"Controls when node TTL drains are allowed\n","type":"string"},"organization":{"description":"The name of the organization the branch belongs to. Requires replacement if changed.\n","type":"string"},"parameters":{"additionalProperties":{"additionalProperties":{"type":"string"},"type":"object"},"type":"object"},"ready":{"description":"Is the keyspace provisioned and serving traffic\n","type":"boolean"},"replicas":{"description":"Total number of replicas in the keyspace\n","type":"number"},"replicationDurabilityConstraints":{"$ref":"#/types/planetscale:index%2FVitessKeyspaceReplicationDurabilityConstraints:VitessKeyspaceReplicationDurabilityConstraints"},"resizeInProgress":{"description":"True while any unfinished resize request exists for the keyspace. Computed for observability; apply waits on ready, resizing, resize*pending, and config*change*in*progress instead, because this flag can lag after the resize has already applied.\n","type":"boolean"},"resizePending":{"description":"True while a resize request is queued. The provider waits for this to become false after create and update.\n","type":"boolean"},"resizing":{"description":"True while the keyspace is actively resizing. The provider waits for this to become false after create and update.\n","type":"boolean"},"sharded":{"description":"If the keyspace is sharded\n","type":"boolean"},"shards":{"description":"The number of shards. Default: 1. Set only at create time; changing this value requires replacement. Requires replacement if changed.\n","type":"number"},"throttler":{"$ref":"#/types/planetscale:index%2FVitessKeyspaceThrottler:VitessKeyspaceThrottler"},"updatedAt":{"description":"When the keyspace was last updated\n","type":"string"},"vectorPoolAllocation":{"description":"Percentage of buffer pool memory allocated to vector indexes\n","type":"number"},"vreplicationFlags":{"$ref":"#/types/planetscale:index%2FVitessKeyspaceVreplicationFlags:VitessKeyspaceVreplicationFlags"}},"type":"object"},"type":"object"}},"types":{"planetscale:index/NekiConfigurationProfileStorage:NekiConfigurationProfileStorage":{"language":{"nodejs":{"requiredOutputs":["maximumStorageBytes","minimumStorageBytes","storageAutoscaling","storageIops","storageThroughputMibs"]}},"properties":{"maximumStorageBytes":{"description":"The maximum storage size in bytes for autoscaling.\n","type":"number"},"minimumStorageBytes":{"description":"The minimum storage size in bytes.\n","type":"number"},"storageAutoscaling":{"description":"Whether storage autoscaling is enabled.\n","type":"boolean"},"storageIops":{"description":"The storage IOPS.\n","type":"number"},"storageThroughputMibs":{"description":"The storage throughput in MiB/s.\n","type":"number"}},"type":"object"},"planetscale:index/PostgresBouncerActor:PostgresBouncerActor":{"language":{"nodejs":{"requiredOutputs":["id"]}},"properties":{"id":{"description":"The ID of the actor\n","type":"string"}},"type":"object"},"planetscale:index/PostgresBranchActor:PostgresBranchActor":{"language":{"nodejs":{"requiredOutputs":["id"]}},"properties":{"id":{"description":"The ID of the actor\n","type":"string"}},"type":"object"},"planetscale:index/PostgresBranchBackupActor:PostgresBranchBackupActor":{"language":{"nodejs":{"requiredOutputs":["id"]}},"properties":{"id":{"description":"The ID of the actor\n","type":"string"}},"type":"object"},"planetscale:index/PostgresBranchBackupBackupPolicy:PostgresBranchBackupBackupPolicy":{"language":{"nodejs":{"requiredOutputs":["id"]}},"properties":{"id":{"description":"The ID of the backup policy\n","type":"string"}},"type":"object"},"planetscale:index/PostgresBranchBackupDatabaseBranch:PostgresBranchBackupDatabaseBranch":{"language":{"nodejs":{"requiredOutputs":["id","name"]}},"properties":{"id":{"description":"The ID for the resource\n","type":"string"},"name":{"description":"The name for the resource\n","type":"string"}},"type":"object"},"planetscale:index/PostgresBranchRegionData:PostgresBranchRegionData":{"language":{"nodejs":{"requiredOutputs":["id","mysqlSupported","postgresqlSupported"]}},"properties":{"id":{"description":"The ID of the region\n","type":"string"},"mysqlSupported":{"description":"Whether the region supports MySQL/Vitess databases\n","type":"boolean"},"postgresqlSupported":{"description":"Whether the region supports PostgreSQL databases\n","type":"boolean"}},"type":"object"},"planetscale:index/PostgresBranchRoleActorData:PostgresBranchRoleActorData":{"language":{"nodejs":{"requiredOutputs":["avatarUrl","displayName","id"]}},"properties":{"avatarUrl":{"description":"The URL of the actor's avatar\n","type":"string"},"displayName":{"description":"The name of the actor\n","type":"string"},"id":{"description":"The ID of the actor\n","type":"string"}},"type":"object"},"planetscale:index/PostgresBranchRoleBranchData:PostgresBranchRoleBranchData":{"language":{"nodejs":{"requiredOutputs":["deletedAt","id","name"]}},"properties":{"deletedAt":{"description":"When the resource was deleted, if deleted\n","type":"string"},"id":{"description":"The ID for the resource\n","type":"string"},"name":{"description":"The name for the resource\n","type":"string"}},"type":"object"},"planetscale:index/PostgresBranchRoleQuerySafetySettings:PostgresBranchRoleQuerySafetySettings":{"language":{"nodejs":{"requiredOutputs":["requireWhereOnDelete","requireWhereOnUpdate"]}},"properties":{"requireWhereOnDelete":{"description":"Require WHERE clause on DELETE statements\n","type":"string"},"requireWhereOnUpdate":{"description":"Require WHERE clause on UPDATE statements\n","type":"string"}},"type":"object"},"planetscale:index/PostgresBranchStorage:PostgresBranchStorage":{"language":{"nodejs":{"requiredOutputs":["maximumStorageBytes","minimumStorageBytes","storageAutoscaling","storageIops","storageThroughputMibs"]}},"properties":{"maximumStorageBytes":{"description":"The maximum storage size in bytes for autoscaling.\n","type":"number"},"minimumStorageBytes":{"description":"The minimum storage size in bytes.\n","type":"number"},"storageAutoscaling":{"description":"Whether storage autoscaling is enabled.\n","type":"boolean"},"storageIops":{"description":"The storage IOPS.\n","type":"number"},"storageThroughputMibs":{"description":"The storage throughput in MiB/s.\n","type":"number"}},"type":"object"},"planetscale:index/PostgresIpRestrictionActor:PostgresIpRestrictionActor":{"language":{"nodejs":{"requiredOutputs":["id"]}},"properties":{"id":{"description":"The ID of the actor\n","type":"string"}},"type":"object"},"planetscale:index/PostgresRedactedBranchRoleActorData:PostgresRedactedBranchRoleActorData":{"language":{"nodejs":{"requiredOutputs":["avatarUrl","displayName","id"]}},"properties":{"avatarUrl":{"description":"The URL of the actor's avatar\n","type":"string"},"displayName":{"description":"The name of the actor\n","type":"string"},"id":{"description":"The ID of the actor\n","type":"string"}},"type":"object"},"planetscale:index/PostgresRedactedBranchRoleBranchData:PostgresRedactedBranchRoleBranchData":{"language":{"nodejs":{"requiredOutputs":["deletedAt","id","name"]}},"properties":{"deletedAt":{"description":"When the resource was deleted, if deleted\n","type":"string"},"id":{"description":"The ID for the resource\n","type":"string"},"name":{"description":"The name for the resource\n","type":"string"}},"type":"object"},"planetscale:index/PostgresRedactedBranchRoleQuerySafetySettings:PostgresRedactedBranchRoleQuerySafetySettings":{"language":{"nodejs":{"requiredOutputs":["requireWhereOnDelete","requireWhereOnUpdate"]}},"properties":{"requireWhereOnDelete":{"description":"Require WHERE clause on DELETE statements\n","type":"string"},"requireWhereOnUpdate":{"description":"Require WHERE clause on UPDATE statements\n","type":"string"}},"type":"object"},"planetscale:index/VitessBranchActor:VitessBranchActor":{"language":{"nodejs":{"requiredOutputs":["id"]}},"properties":{"id":{"description":"The ID of the actor\n","type":"string"}},"type":"object"},"planetscale:index/VitessBranchBackupActor:VitessBranchBackupActor":{"language":{"nodejs":{"requiredOutputs":["id"]}},"properties":{"id":{"description":"The ID of the actor\n","type":"string"}},"type":"object"},"planetscale:index/VitessBranchBackupBackupPolicy:VitessBranchBackupBackupPolicy":{"language":{"nodejs":{"requiredOutputs":["id"]}},"properties":{"id":{"description":"The ID of the backup policy\n","type":"string"}},"type":"object"},"planetscale:index/VitessBranchBackupDatabaseBranch:VitessBranchBackupDatabaseBranch":{"language":{"nodejs":{"requiredOutputs":["id","name"]}},"properties":{"id":{"description":"The ID for the resource\n","type":"string"},"name":{"description":"The name for the resource\n","type":"string"}},"type":"object"},"planetscale:index/VitessBranchPasswordActor:VitessBranchPasswordActor":{"language":{"nodejs":{"requiredOutputs":["avatarUrl","displayName","id"]}},"properties":{"avatarUrl":{"description":"The URL of the actor's avatar\n","type":"string"},"displayName":{"description":"The name of the actor\n","type":"string"},"id":{"description":"The ID of the actor\n","type":"string"}},"type":"object"},"planetscale:index/VitessBranchPasswordDatabaseBranch:VitessBranchPasswordDatabaseBranch":{"language":{"nodejs":{"requiredOutputs":["id","mysqlEdgeAddress","name","privateEdgeConnectivity","production"]}},"properties":{"id":{"description":"The ID for the branch\n","type":"string"},"mysqlEdgeAddress":{"description":"The address of the MySQL provider for the branch\n","type":"string"},"name":{"description":"The name for the branch\n","type":"string"},"privateEdgeConnectivity":{"description":"True if private connectivity is enabled\n","type":"boolean"},"production":{"description":"Whether or not the branch is a production branch\n","type":"boolean"}},"type":"object"},"planetscale:index/VitessBranchPasswordRegion:VitessBranchPasswordRegion":{"language":{"nodejs":{"requiredOutputs":["currentDefault","displayName","enabled","id","location","mysqlSupported","postgresqlSupported","provider","publicIpAddresses","slug"]}},"properties":{"currentDefault":{"description":"True if the region is the default for new branch creation\n","type":"boolean"},"displayName":{"description":"Name of the region\n","type":"string"},"enabled":{"description":"Whether or not the region is currently active\n","type":"boolean"},"id":{"description":"The ID of the region\n","type":"string"},"location":{"description":"Location of the region\n","type":"string"},"mysqlSupported":{"description":"Whether the region supports MySQL/Vitess databases\n","type":"boolean"},"postgresqlSupported":{"description":"Whether the region supports PostgreSQL databases\n","type":"boolean"},"provider":{"description":"Provider for the region (ex. AWS)\n","type":"string"},"publicIpAddresses":{"description":"Public IP addresses for the region\n","items":{"type":"string"},"type":"array"},"slug":{"description":"The slug of the region\n","type":"string"}},"type":"object"},"planetscale:index/VitessBranchRegionData:VitessBranchRegionData":{"language":{"nodejs":{"requiredOutputs":["id","mysqlSupported","postgresqlSupported"]}},"properties":{"id":{"description":"The ID of the region\n","type":"string"},"mysqlSupported":{"description":"Whether the region supports MySQL/Vitess databases\n","type":"boolean"},"postgresqlSupported":{"description":"Whether the region supports PostgreSQL databases\n","type":"boolean"}},"type":"object"},"planetscale:index/VitessKeyspaceReplicationDurabilityConstraints:VitessKeyspaceReplicationDurabilityConstraints":{"language":{"nodejs":{"requiredOutputs":["strategy"]}},"properties":{"strategy":{"description":"The replication durability strategy\n","type":"string"}},"type":"object"},"planetscale:index/VitessKeyspaceThrottler:VitessKeyspaceThrottler":{"language":{"nodejs":{"requiredOutputs":["enabled","threshold"]}},"properties":{"enabled":{"description":"Whether the keyspace throttler is enabled\n","type":"boolean"},"threshold":{"description":"Replication lag in seconds that trips the throttler\n","type":"number"}},"type":"object"},"planetscale:index/VitessKeyspaceVreplicationFlags:VitessKeyspaceVreplicationFlags":{"language":{"nodejs":{"requiredOutputs":["allowNoBlobBinlogRowImage","optimizeInserts","vplayerBatching"]}},"properties":{"allowNoBlobBinlogRowImage":{"description":"Allow no blob binlog row image\n","type":"boolean"},"optimizeInserts":{"description":"Enable optimized inserts\n","type":"boolean"},"vplayerBatching":{"description":"Enable VPlayer batching\n","type":"boolean"}},"type":"object"},"planetscale:index/getDatabasePostgresRegionData:getDatabasePostgresRegionData":{"language":{"nodejs":{"requiredInputs":[]}},"properties":{"currentDefault":{"description":"True if the region is the default for new branch creation\n","type":"boolean"},"displayName":{"description":"Name of the region\n","type":"string"},"enabled":{"description":"Whether or not the region is currently active\n","type":"boolean"},"id":{"description":"The ID of the region\n","type":"string"},"location":{"description":"Location of the region\n","type":"string"},"mysqlSupported":{"description":"Whether the region supports MySQL/Vitess databases\n","type":"boolean"},"postgresqlSupported":{"description":"Whether the region supports PostgreSQL databases\n","type":"boolean"},"provider":{"description":"Provider for the region (ex. AWS)\n","type":"string"},"publicIpAddresses":{"description":"Public IP addresses for the region\n","items":{"type":"string"},"type":"array"},"slug":{"description":"The slug of the region\n","type":"string"}},"required":["currentDefault","displayName","enabled","id","location","mysqlSupported","postgresqlSupported","provider","publicIpAddresses","slug"],"type":"object"},"planetscale:index/getDatabaseVitessRegionData:getDatabaseVitessRegionData":{"language":{"nodejs":{"requiredInputs":[]}},"properties":{"currentDefault":{"description":"True if the region is the default for new branch creation\n","type":"boolean"},"displayName":{"description":"Name of the region\n","type":"string"},"enabled":{"description":"Whether or not the region is currently active\n","type":"boolean"},"id":{"description":"The ID of the region\n","type":"string"},"location":{"description":"Location of the region\n","type":"string"},"mysqlSupported":{"description":"Whether the region supports MySQL/Vitess databases\n","type":"boolean"},"postgresqlSupported":{"description":"Whether the region supports PostgreSQL databases\n","type":"boolean"},"provider":{"description":"Provider for the region (ex. AWS)\n","type":"string"},"publicIpAddresses":{"description":"Public IP addresses for the region\n","items":{"type":"string"},"type":"array"},"slug":{"description":"The slug of the region\n","type":"string"}},"required":["currentDefault","displayName","enabled","id","location","mysqlSupported","postgresqlSupported","provider","publicIpAddresses","slug"],"type":"object"},"planetscale:index/getDatabasesData:getDatabasesData":{"language":{"nodejs":{"requiredInputs":[]}},"properties":{"allowDataBranching":{"description":"Whether seeding branches with data is enabled for all branches\n","type":"boolean"},"atBackupRestoreBranchesLimit":{"description":"If the database has reached its backup restored branch limit\n","type":"boolean"},"atDevelopmentBranchUsageLimit":{"description":"If the database has reached its development branch limit\n","type":"boolean"},"automaticMigrations":{"description":"Whether to automatically manage Rails migrations during deploy requests.\n","type":"boolean"},"branchesCount":{"description":"The total number of database branches\n","type":"number"},"branchesUrl":{"description":"The URL to retrieve this database's branches via the API\n","type":"string"},"createdAt":{"description":"When the database was created\n","type":"string"},"defaultBranch":{"description":"The default branch for the database\n","type":"string"},"defaultBranchReadOnlyRegionsCount":{"description":"Number of read only regions in the default branch\n","type":"number"},"defaultBranchShardCount":{"description":"Number of shards in the default branch\n","type":"number"},"defaultBranchTableCount":{"description":"Number of tables in the default branch schema\n","type":"number"},"developmentBranchesCount":{"description":"The total number of database development branches\n","type":"number"},"foreignKeysEnabled":{"description":"Whether foreign key constraints are enabled\n","type":"boolean"},"htmlUrl":{"description":"The URL to see this database's branches in the web UI\n","type":"string"},"id":{"description":"The ID of the database\n","type":"string"},"insightsEnabled":{"description":"True if query insights is enabled for the database\n","type":"boolean"},"insightsRawQueries":{"description":"Whether raw SQL queries are collected\n","type":"boolean"},"issuesCount":{"description":"The total number of ongoing issues within a database\n","type":"number"},"kind":{"description":"The kind of database\n","type":"string"},"migrationFramework":{"description":"Framework used for applying migrations.\n","type":"string"},"migrationTableName":{"description":"Table name to use for copying schema migration data.\n","type":"string"},"multipleAdminsRequiredForDeletion":{"description":"If the database requires multiple admins for deletion\n","type":"boolean"},"name":{"description":"Name of the database\n","type":"string"},"openSchemaRecommendationsCount":{"description":"The total number of schema recommendations\n","type":"number"},"plan":{"description":"The database plan\n","type":"string"},"productionBranchWebConsole":{"description":"Whether web console is enabled for production branches\n","type":"boolean"},"productionBranchesCount":{"description":"The total number of database production branches\n","type":"number"},"ready":{"description":"If the database is ready to be used\n","type":"boolean"},"region":{"$ref":"#/types/planetscale:index%2FgetDatabasesDataRegion:getDatabasesDataRegion"},"requireApprovalForDeploy":{"description":"Whether an approval is required to deploy schema changes to this database\n","type":"boolean"},"resizeQueued":{"description":"True if a branch has a queued resize request\n","type":"boolean"},"resizing":{"description":"True if a branch is currently resizing\n","type":"boolean"},"restrictBranchRegion":{"description":"Whether to restrict branch creation to one region\n","type":"boolean"},"schemaLastUpdatedAt":{"description":"When the default branch schema was last changed.\n","type":"string"},"sharded":{"description":"If the database is sharded\n","type":"boolean"},"state":{"description":"State of the database\n","type":"string"},"updatedAt":{"description":"When the database was last updated\n","type":"string"},"url":{"description":"The URL to the database API endpoint\n","type":"string"}},"required":["allowDataBranching","atBackupRestoreBranchesLimit","atDevelopmentBranchUsageLimit","automaticMigrations","branchesCount","branchesUrl","createdAt","defaultBranch","defaultBranchReadOnlyRegionsCount","defaultBranchShardCount","defaultBranchTableCount","developmentBranchesCount","foreignKeysEnabled","htmlUrl","id","insightsEnabled","insightsRawQueries","issuesCount","kind","migrationFramework","migrationTableName","multipleAdminsRequiredForDeletion","name","openSchemaRecommendationsCount","plan","productionBranchWebConsole","productionBranchesCount","ready","region","requireApprovalForDeploy","resizeQueued","resizing","restrictBranchRegion","schemaLastUpdatedAt","sharded","state","updatedAt","url"],"type":"object"},"planetscale:index/getDatabasesDataRegion:getDatabasesDataRegion":{"language":{"nodejs":{"requiredInputs":[]}},"properties":{"currentDefault":{"description":"True if the region is the default for new branch creation\n","type":"boolean"},"displayName":{"description":"Name of the region\n","type":"string"},"enabled":{"description":"Whether or not the region is currently active\n","type":"boolean"},"id":{"description":"The ID of the region\n","type":"string"},"location":{"description":"Location of the region\n","type":"string"},"mysqlSupported":{"description":"Whether the region supports MySQL/Vitess databases\n","type":"boolean"},"postgresqlSupported":{"description":"Whether the region supports PostgreSQL databases\n","type":"boolean"},"provider":{"description":"Provider for the region (ex. AWS)\n","type":"string"},"publicIpAddresses":{"description":"Public IP addresses for the region\n","items":{"type":"string"},"type":"array"},"slug":{"description":"The slug of the region\n","type":"string"}},"required":["currentDefault","displayName","enabled","id","location","mysqlSupported","postgresqlSupported","provider","publicIpAddresses","slug"],"type":"object"},"planetscale:index/getNekiBackupPoliciesData:getNekiBackupPoliciesData":{"language":{"nodejs":{"requiredInputs":[]}},"properties":{"frequencyUnit":{"description":"The unit for the frequency of the backup policy\n","type":"string"},"frequencyValue":{"description":"A number value for the frequency of the backup policy\n","type":"number"},"id":{"description":"The ID of the backup policy\n","type":"string"},"name":{"description":"The name of the backup policy\n","type":"string"},"required":{"description":"Whether the policy is a required system backup that cannot be updated or deleted.\n","type":"boolean"},"retentionUnit":{"description":"The unit for the retention period of the backup policy\n","type":"string"},"retentionValue":{"description":"A number value for the retention period of the backup policy\n","type":"number"},"scheduleDay":{"description":"Day of the week that the backup is scheduled. 0 is Sunday, 6 is Saturday\n","type":"number"},"scheduleTime":{"description":"The time of day that the backup is scheduled, in HH:MM format\n","type":"string"},"scheduleWeek":{"description":"Week of the month that the backup is scheduled. 0 is the first week, 3 is the fourth week\n","type":"number"},"target":{"description":"Whether the policy is for production or development branches\n","type":"string"}},"required":["frequencyUnit","frequencyValue","id","name","required","retentionUnit","retentionValue","scheduleDay","scheduleTime","scheduleWeek","target"],"type":"object"},"planetscale:index/getNekiConfigurationProfileStorage:getNekiConfigurationProfileStorage":{"language":{"nodejs":{"requiredInputs":[]}},"properties":{"maximumStorageBytes":{"description":"The maximum storage size in bytes for autoscaling\n","type":"number"},"minimumStorageBytes":{"description":"The minimum storage size in bytes\n","type":"number"},"storageAutoscaling":{"description":"Whether storage autoscaling is enabled\n","type":"boolean"},"storageIops":{"description":"The storage IOPS\n","type":"number"},"storageThroughputMibs":{"description":"The storage throughput in MiB/s\n","type":"number"}},"required":["maximumStorageBytes","minimumStorageBytes","storageAutoscaling","storageIops","storageThroughputMibs"],"type":"object"},"planetscale:index/getNekiConfigurationProfilesData:getNekiConfigurationProfilesData":{"language":{"nodejs":{"requiredInputs":[]}},"properties":{"clusterSize":{"description":"The name of the cluster size SKU\n","type":"string"},"id":{"description":"The ID of the configuration profile\n","type":"string"},"isDefault":{"description":"Whether this is the default configuration profile\n","type":"boolean"},"name":{"description":"The name of the configuration profile\n","type":"string"},"postgresMajorVersion":{"description":"The PostgreSQL major version used by the configuration profile\n","type":"number"},"postgresMinorVersion":{"description":"The PostgreSQL minor version used by the configuration profile\n","type":"number"},"readOnlyReplicas":{"description":"The number of read-only replicas for shards using this configuration profile\n","type":"number"},"replicas":{"description":"The number of replicas for shards using this configuration profile\n","type":"number"},"shardCount":{"description":"The number of shards using this configuration profile\n","type":"number"},"state":{"description":"The current state of the configuration profile\n","type":"string"},"storage":{"$ref":"#/types/planetscale:index%2FgetNekiConfigurationProfilesDataStorage:getNekiConfigurationProfilesDataStorage"}},"required":["clusterSize","id","isDefault","name","postgresMajorVersion","postgresMinorVersion","readOnlyReplicas","replicas","shardCount","state","storage"],"type":"object"},"planetscale:index/getNekiConfigurationProfilesDataStorage:getNekiConfigurationProfilesDataStorage":{"language":{"nodejs":{"requiredInputs":[]}},"properties":{"maximumStorageBytes":{"description":"The maximum storage size in bytes for autoscaling\n","type":"number"},"minimumStorageBytes":{"description":"The minimum storage size in bytes\n","type":"number"},"storageAutoscaling":{"description":"Whether storage autoscaling is enabled\n","type":"boolean"},"storageIops":{"description":"The storage IOPS\n","type":"number"},"storageThroughputMibs":{"description":"The storage throughput in MiB/s\n","type":"number"}},"required":["maximumStorageBytes","minimumStorageBytes","storageAutoscaling","storageIops","storageThroughputMibs"],"type":"object"},"planetscale:index/getNekiRolesData:getNekiRolesData":{"language":{"nodejs":{"requiredInputs":[]}},"properties":{"accessHostUrl":{"description":"The database connection string\n","type":"string"},"expiresAt":{"description":"When the role expires\n","type":"string"},"id":{"description":"The ID of the role\n","type":"string"},"inheritedRoles":{"description":"Database roles these credentials inherit\n","items":{"type":"string"},"type":"array"},"name":{"description":"The name of the role\n","type":"string"},"privateAccessHostUrl":{"description":"The database connection string for private connections\n","type":"string"},"privateConnectionServiceName":{"description":"The service name to set up private connectivity\n","type":"string"},"ttl":{"description":"Number of seconds before the credentials expire\n","type":"number"},"username":{"description":"The database user name\n","type":"string"},"withReplication":{"description":"Whether the role has the REPLICATION attribute\n","type":"boolean"}},"required":["accessHostUrl","expiresAt","id","inheritedRoles","name","privateAccessHostUrl","privateConnectionServiceName","ttl","username","withReplication"],"type":"object"},"planetscale:index/getNekiRoutersData:getNekiRoutersData":{"language":{"nodejs":{"requiredInputs":[]}},"properties":{"autoscaling":{"description":"Whether the router scales horizontally within each cell\n","type":"boolean"},"default":{"description":"Whether this is the default router\n","type":"boolean"},"id":{"description":"The ID of the router\n","type":"string"},"maxReplicasPerCell":{"description":"The maximum count of replicas in each cell when autoscaling\n","type":"number"},"name":{"description":"The name of the router\n","type":"string"},"replicasPerCell":{"description":"The count of replicas in each cell\n","type":"number"},"routerSize":{"description":"The router size SKU name\n","type":"string"},"state":{"description":"The current state of the router\n","type":"string"},"targetCpuUtilization":{"description":"The target average CPU utilization percentage when autoscaling, one of 40, 50, 60 or 70\n","type":"number"}},"required":["autoscaling","default","id","maxReplicasPerCell","name","replicasPerCell","routerSize","state","targetCpuUtilization"],"type":"object"},"planetscale:index/getNekiShardsData:getNekiShardsData":{"language":{"nodejs":{"requiredInputs":[]}},"properties":{"authoritative":{"description":"Whether the shard is the authoritative shard of the cluster\n","type":"boolean"},"configurationProfile":{"description":"The name of the configuration profile\n","type":"string"},"displayName":{"description":"The display name of the shard\n","type":"string"},"id":{"description":"The ID of the shard\n","type":"string"},"ready":{"description":"Whether the shard has been created on the cluster\n","type":"boolean"}},"required":["authoritative","configurationProfile","displayName","id","ready"],"type":"object"},"planetscale:index/getOrganizationsData:getOrganizationsData":{"language":{"nodejs":{"requiredInputs":[]}},"properties":{"allowLlmUsage":{"description":"Whether or not LLM-powered features are enabled for the organization\n","type":"boolean"},"billingEmail":{"description":"The billing email of the organization\n","type":"string"},"createdAt":{"description":"When the organization was created\n","type":"string"},"databaseCount":{"description":"The number of databases in the organization\n","type":"number"},"features":{"additionalProperties":{"type":"string"},"description":"Features that can be enabled on the organization\n","type":"object"},"hasCard":{"description":"Whether or not the organization has a payment method on file\n","type":"boolean"},"hasPastDueInvoices":{"description":"Whether or not the organization has past due billing invoices.\n","type":"boolean"},"id":{"description":"The ID for the organization\n","type":"string"},"idpManagedRoles":{"description":"Whether or not the IdP provider is be responsible for managing roles in PlanetScale\n","type":"boolean"},"invoiceBudgetAmount":{"description":"The expected monthly budget for the organization\n","type":"string"},"keyspaceShardLimit":{"description":"The keyspace shard limit for the organization\n","type":"number"},"llmUsageBlocked":{"description":"Whether or not LLM usage is blocked for the organization. When true, LLM-powered features are disabled and can't be enabled\n","type":"boolean"},"managedTenancy":{"description":"Whether or not the organization has managed tenancy enabled\n","type":"boolean"},"mcpAccessLevel":{"description":"The query access level MCP clients can be granted for the organization (none, read*only, or read*write)\n","type":"string"},"name":{"description":"The name of the organization\n","type":"string"},"nekiRouterReplicasPerCellLimit":{"description":"The Neki router replica limit per cell for the organization\n","type":"number"},"paymentInfoRequired":{"description":"Whether or not the organization requires payment information\n","type":"boolean"},"plan":{"description":"The billing plan of the organization\n","type":"string"},"singleTenancy":{"description":"Whether or not the organization has single tenancy enabled\n","type":"boolean"},"sso":{"description":"Whether or not SSO is enabled on the organization\n","type":"boolean"},"ssoDirectory":{"description":"Whether or not the organization uses an SSO directory\n","type":"boolean"},"ssoPortalUrl":{"description":"The URL of the organization's SSO portal.\n","type":"string"},"updatedAt":{"description":"When the organization was last updated\n","type":"string"},"validBillingInfo":{"description":"Whether or not the organization's billing information is valid\n","type":"boolean"}},"required":["allowLlmUsage","billingEmail","createdAt","databaseCount","features","hasCard","hasPastDueInvoices","id","idpManagedRoles","invoiceBudgetAmount","keyspaceShardLimit","llmUsageBlocked","managedTenancy","mcpAccessLevel","name","nekiRouterReplicasPerCellLimit","paymentInfoRequired","plan","singleTenancy","sso","ssoDirectory","ssoPortalUrl","updatedAt","validBillingInfo"],"type":"object"},"planetscale:index/getPostgresBackupPoliciesData:getPostgresBackupPoliciesData":{"language":{"nodejs":{"requiredInputs":[]}},"properties":{"displayName":{"description":"The display name of the backup policy\n","type":"string"},"frequencyUnit":{"description":"The unit for the frequency of the backup policy\n","type":"string"},"frequencyValue":{"description":"A number value for the frequency of the backup policy\n","type":"number"},"id":{"description":"The ID of the backup policy\n","type":"string"},"name":{"description":"The name of the backup policy\n","type":"string"},"retentionUnit":{"description":"The unit for the retention period of the backup policy\n","type":"string"},"retentionValue":{"description":"A number value for the retention period of the backup policy\n","type":"number"},"scheduleDay":{"description":"Day of the week that the backup is scheduled. 0 is Sunday, 6 is Saturday\n","type":"number"},"scheduleTime":{"description":"The time of day that the backup is scheduled, in HH:MM format\n","type":"string"},"scheduleWeek":{"description":"Week of the month that the backup is scheduled. 0 is the first week, 3 is the fourth week\n","type":"number"},"target":{"description":"Whether the policy is for production or development branches\n","type":"string"}},"required":["displayName","frequencyUnit","frequencyValue","id","name","retentionUnit","retentionValue","scheduleDay","scheduleTime","scheduleWeek","target"],"type":"object"},"planetscale:index/getPostgresBouncerActor:getPostgresBouncerActor":{"language":{"nodejs":{"requiredInputs":[]}},"properties":{"id":{"description":"The ID of the actor\n","type":"string"}},"required":["id"],"type":"object"},"planetscale:index/getPostgresBouncersData:getPostgresBouncersData":{"language":{"nodejs":{"requiredInputs":[]}},"properties":{"actor":{"$ref":"#/types/planetscale:index%2FgetPostgresBouncersDataActor:getPostgresBouncersDataActor"},"bouncerSize":{"description":"The bouncer size, e.g. `PGB_5`, `PGB_10`, `PGB_20`, `PGB_40`, `PGB_80`, or `PGB_160`. Defaults to `PGB_5`.\n","type":"string"},"id":{"description":"The ID of the bouncer\n","type":"string"},"name":{"description":"The name of the bouncer\n","type":"string"},"parameters":{"additionalProperties":{"additionalProperties":{"type":"string"},"type":"object"},"description":"PgBouncer parameter overrides, nested by namespace, e.g. { pgbouncer = { default*pool*size = \"100\" } }. Omitted parameters are reset to their defaults.\n","type":"object"},"replicasPerCell":{"description":"The count of replicas in each cell\n","type":"number"},"target":{"description":"The instance type the bouncer targets\n","type":"string"}},"required":["actor","bouncerSize","id","name","parameters","replicasPerCell","target"],"type":"object"},"planetscale:index/getPostgresBouncersDataActor:getPostgresBouncersDataActor":{"language":{"nodejs":{"requiredInputs":[]}},"properties":{"id":{"description":"The ID of the actor\n","type":"string"}},"required":["id"],"type":"object"},"planetscale:index/getPostgresBranchActor:getPostgresBranchActor":{"language":{"nodejs":{"requiredInputs":[]}},"properties":{"id":{"description":"The ID of the actor\n","type":"string"}},"required":["id"],"type":"object"},"planetscale:index/getPostgresBranchBackupActor:getPostgresBranchBackupActor":{"language":{"nodejs":{"requiredInputs":[]}},"properties":{"id":{"description":"The ID of the actor\n","type":"string"}},"required":["id"],"type":"object"},"planetscale:index/getPostgresBranchBackupBackupPolicy:getPostgresBranchBackupBackupPolicy":{"language":{"nodejs":{"requiredInputs":[]}},"properties":{"id":{"description":"The ID of the backup policy\n","type":"string"}},"required":["id"],"type":"object"},"planetscale:index/getPostgresBranchBackupDatabaseBranch:getPostgresBranchBackupDatabaseBranch":{"language":{"nodejs":{"requiredInputs":[]}},"properties":{"id":{"description":"The ID for the resource\n","type":"string"},"name":{"description":"The name for the resource\n","type":"string"}},"required":["id","name"],"type":"object"},"planetscale:index/getPostgresBranchBackupsData:getPostgresBranchBackupsData":{"language":{"nodejs":{"requiredInputs":[]}},"properties":{"actor":{"$ref":"#/types/planetscale:index%2FgetPostgresBranchBackupsDataActor:getPostgresBranchBackupsDataActor"},"backupPolicy":{"$ref":"#/types/planetscale:index%2FgetPostgresBranchBackupsDataBackupPolicy:getPostgresBranchBackupsDataBackupPolicy"},"completedAt":{"description":"When the backup completed\n","type":"string"},"databaseBranch":{"$ref":"#/types/planetscale:index%2FgetPostgresBranchBackupsDataDatabaseBranch:getPostgresBranchBackupsDataDatabaseBranch"},"deletedAt":{"description":"When the backup was deleted\n","type":"string"},"estimatedStorageCost":{"description":"The estimated storage cost of the backup\n","type":"number"},"expiresAt":{"description":"When the backup expires\n","type":"string"},"id":{"description":"The ID of the backup\n","type":"string"},"name":{"description":"The name of the backup\n","type":"string"},"protected":{"description":"Whether or not the backup is protected from deletion\n","type":"boolean"},"pvcSize":{"description":"Size of the PVC used for the backup\n","type":"number"},"size":{"description":"The size of the backup in bytes\n","type":"number"},"startedAt":{"description":"When the backup started\n","type":"string"},"state":{"description":"The current state of the backup\n","type":"string"},"uncompressedSize":{"description":"The uncompressed (logical) size of the backup in bytes\n","type":"number"}},"required":["actor","backupPolicy","completedAt","databaseBranch","deletedAt","estimatedStorageCost","expiresAt","id","name","protected","pvcSize","size","startedAt","state","uncompressedSize"],"type":"object"},"planetscale:index/getPostgresBranchBackupsDataActor:getPostgresBranchBackupsDataActor":{"language":{"nodejs":{"requiredInputs":[]}},"properties":{"id":{"description":"The ID of the actor\n","type":"string"}},"required":["id"],"type":"object"},"planetscale:index/getPostgresBranchBackupsDataBackupPolicy:getPostgresBranchBackupsDataBackupPolicy":{"language":{"nodejs":{"requiredInputs":[]}},"properties":{"id":{"description":"The ID of the backup policy\n","type":"string"}},"required":["id"],"type":"object"},"planetscale:index/getPostgresBranchBackupsDataDatabaseBranch:getPostgresBranchBackupsDataDatabaseBranch":{"language":{"nodejs":{"requiredInputs":[]}},"properties":{"id":{"description":"The ID for the resource\n","type":"string"},"name":{"description":"The name for the resource\n","type":"string"}},"required":["id","name"],"type":"object"},"planetscale:index/getPostgresBranchRegionData:getPostgresBranchRegionData":{"language":{"nodejs":{"requiredInputs":[]}},"properties":{"id":{"description":"The ID of the region\n","type":"string"},"mysqlSupported":{"description":"Whether the region supports MySQL/Vitess databases\n","type":"boolean"},"postgresqlSupported":{"description":"Whether the region supports PostgreSQL databases\n","type":"boolean"}},"required":["id","mysqlSupported","postgresqlSupported"],"type":"object"},"planetscale:index/getPostgresBranchRoleActorData:getPostgresBranchRoleActorData":{"language":{"nodejs":{"requiredInputs":[]}},"properties":{"avatarUrl":{"description":"The URL of the actor's avatar\n","type":"string"},"displayName":{"description":"The name of the actor\n","type":"string"},"id":{"description":"The ID of the actor\n","type":"string"}},"required":["avatarUrl","displayName","id"],"type":"object"},"planetscale:index/getPostgresBranchRoleBranchData:getPostgresBranchRoleBranchData":{"language":{"nodejs":{"requiredInputs":[]}},"properties":{"deletedAt":{"description":"When the resource was deleted, if deleted\n","type":"string"},"id":{"description":"The ID for the resource\n","type":"string"},"name":{"description":"The name for the resource\n","type":"string"}},"required":["deletedAt","id","name"],"type":"object"},"planetscale:index/getPostgresBranchRoleQuerySafetySettings:getPostgresBranchRoleQuerySafetySettings":{"language":{"nodejs":{"requiredInputs":[]}},"properties":{"requireWhereOnDelete":{"description":"Require WHERE clause on DELETE statements\n","type":"string"},"requireWhereOnUpdate":{"description":"Require WHERE clause on UPDATE statements\n","type":"string"}},"required":["requireWhereOnDelete","requireWhereOnUpdate"],"type":"object"},"planetscale:index/getPostgresBranchRolesData:getPostgresBranchRolesData":{"language":{"nodejs":{"requiredInputs":[]}},"properties":{"accessHostUrl":{"description":"The database connection string\n","type":"string"},"actor":{"$ref":"#/types/planetscale:index%2FgetPostgresBranchRolesDataActor:getPostgresBranchRolesDataActor"},"baseUsername":{"description":"The base username without branch routing suffix\n","type":"string"},"branch":{"$ref":"#/types/planetscale:index%2FgetPostgresBranchRolesDataBranch:getPostgresBranchRolesDataBranch"},"createdAt":{"description":"When the role was created\n","type":"string"},"databaseName":{"description":"The database name\n","type":"string"},"default":{"description":"Whether the role is the default postgres user\n","type":"boolean"},"deletedAt":{"description":"When the role was deleted\n","type":"string"},"disabledAt":{"description":"When the role was disabled\n","type":"string"},"dropFailed":{"description":"Error message available when dropping the role fails\n","type":"string"},"droppedAt":{"description":"When the role was dropped\n","type":"string"},"expired":{"description":"True if the credentials are expired\n","type":"boolean"},"expiresAt":{"description":"When the role expires\n","type":"string"},"id":{"description":"The ID of the role\n","type":"string"},"inheritedRoles":{"description":"Database roles these credentials inherit\n","items":{"type":"string"},"type":"array"},"name":{"description":"The name of the role\n","type":"string"},"password":{"description":"The plaintext password, available only after create\n","type":"string"},"privateAccessHostUrl":{"description":"The database connection string for private connections\n","type":"string"},"privateConnectionServiceName":{"description":"The service name to set up private connectivity\n","type":"string"},"querySafetySettings":{"$ref":"#/types/planetscale:index%2FgetPostgresBranchRolesDataQuerySafetySettings:getPostgresBranchRolesDataQuerySafetySettings"},"ttl":{"description":"Number of seconds before the credentials expire\n","type":"number"},"updatedAt":{"description":"When the role was updated\n","type":"string"},"username":{"description":"The database user name\n","type":"string"},"withReplication":{"description":"Whether the role has the REPLICATION attribute\n","type":"boolean"}},"required":["accessHostUrl","actor","baseUsername","branch","createdAt","databaseName","default","deletedAt","disabledAt","dropFailed","droppedAt","expired","expiresAt","id","inheritedRoles","name","password","privateAccessHostUrl","privateConnectionServiceName","querySafetySettings","ttl","updatedAt","username","withReplication"],"type":"object"},"planetscale:index/getPostgresBranchRolesDataActor:getPostgresBranchRolesDataActor":{"language":{"nodejs":{"requiredInputs":[]}},"properties":{"avatarUrl":{"description":"The URL of the actor's avatar\n","type":"string"},"displayName":{"description":"The name of the actor\n","type":"string"},"id":{"description":"The ID of the actor\n","type":"string"}},"required":["avatarUrl","displayName","id"],"type":"object"},"planetscale:index/getPostgresBranchRolesDataBranch:getPostgresBranchRolesDataBranch":{"language":{"nodejs":{"requiredInputs":[]}},"properties":{"createdAt":{"description":"When the resource was created\n","type":"string"},"deletedAt":{"description":"When the resource was deleted, if deleted\n","type":"string"},"id":{"description":"The ID for the resource\n","type":"string"},"name":{"description":"The name for the resource\n","type":"string"},"updatedAt":{"description":"When the resource was last updated\n","type":"string"}},"required":["createdAt","deletedAt","id","name","updatedAt"],"type":"object"},"planetscale:index/getPostgresBranchRolesDataQuerySafetySettings:getPostgresBranchRolesDataQuerySafetySettings":{"language":{"nodejs":{"requiredInputs":[]}},"properties":{"requireWhereOnDelete":{"description":"Require WHERE clause on DELETE statements\n","type":"string"},"requireWhereOnUpdate":{"description":"Require WHERE clause on UPDATE statements\n","type":"string"}},"required":["requireWhereOnDelete","requireWhereOnUpdate"],"type":"object"},"planetscale:index/getPostgresBranchStorage:getPostgresBranchStorage":{"language":{"nodejs":{"requiredInputs":[]}},"properties":{"maximumStorageBytes":{"description":"The maximum storage size in bytes for autoscaling.\n","type":"number"},"minimumStorageBytes":{"description":"The minimum storage size in bytes.\n","type":"number"},"storageAutoscaling":{"description":"Whether storage autoscaling is enabled.\n","type":"boolean"},"storageIops":{"description":"The storage IOPS.\n","type":"number"},"storageThroughputMibs":{"description":"The storage throughput in MiB/s.\n","type":"number"}},"required":["maximumStorageBytes","minimumStorageBytes","storageAutoscaling","storageIops","storageThroughputMibs"],"type":"object"},"planetscale:index/getPostgresDedicatedReadReplicasData:getPostgresDedicatedReadReplicasData":{"language":{"nodejs":{"requiredInputs":[]}},"properties":{"accessHostUrl":{"description":"The database connection host for the dedicated read replica.\n","type":"string"},"clusterSize":{"description":"The cluster size SKU, e.g. `PS_10_AWS_ARM`. Defaults to the primary's cluster size.\n","type":"string"},"name":{"description":"The name of the dedicated read replica.\n","type":"string"},"privateAccessHostUrl":{"description":"The private database connection host for the dedicated read replica.\n","type":"string"},"privateConnectionServiceName":{"description":"The service name to set up private connectivity for the dedicated read replica.\n","type":"string"},"replicas":{"description":"The number of instances serving reads in this dedicated read replica.\n","type":"number"}},"required":["accessHostUrl","clusterSize","name","privateAccessHostUrl","privateConnectionServiceName","replicas"],"type":"object"},"planetscale:index/getPostgresIpRestrictionActor:getPostgresIpRestrictionActor":{"language":{"nodejs":{"requiredInputs":[]}},"properties":{"id":{"description":"The ID of the actor\n","type":"string"}},"required":["id"],"type":"object"},"planetscale:index/getPostgresIpRestrictionsData:getPostgresIpRestrictionsData":{"language":{"nodejs":{"requiredInputs":[]}},"properties":{"actor":{"$ref":"#/types/planetscale:index%2FgetPostgresIpRestrictionsDataActor:getPostgresIpRestrictionsDataActor"},"cidrs":{"description":"The IPv4 ranges allowed to connect, in CIDR notation.\n","items":{"type":"string"},"type":"array"},"description":{"description":"A description of the entry.\n","type":"string"},"id":{"description":"The ID of the IP restriction entry\n","type":"string"},"role":{"description":"The Postgres role the entry applies to. Empty when it applies to all roles.\n","type":"string"},"schema":{"description":"The Postgres schema the entry applies to. Empty when it applies to all schemas.\n","type":"string"}},"required":["actor","cidrs","description","id","role","schema"],"type":"object"},"planetscale:index/getPostgresIpRestrictionsDataActor:getPostgresIpRestrictionsDataActor":{"language":{"nodejs":{"requiredInputs":[]}},"properties":{"id":{"description":"The ID of the actor\n","type":"string"}},"required":["id"],"type":"object"},"planetscale:index/getPostgresReadOnlyReplicasData:getPostgresReadOnlyReplicasData":{"language":{"nodejs":{"requiredInputs":[]}},"properties":{"accessHostUrl":{"description":"The database connection host for the dedicated read replica.\n","type":"string"},"clusterSize":{"description":"The cluster size SKU, e.g. `PS_10_AWS_ARM`. Defaults to the primary's cluster size.\n","type":"string"},"name":{"description":"The name of the dedicated read replica.\n","type":"string"},"privateAccessHostUrl":{"description":"The private database connection host for the dedicated read replica.\n","type":"string"},"privateConnectionServiceName":{"description":"The service name to set up private connectivity for the dedicated read replica.\n","type":"string"},"replicas":{"description":"The number of instances serving reads in this dedicated read replica.\n","type":"number"}},"required":["accessHostUrl","clusterSize","name","privateAccessHostUrl","privateConnectionServiceName","replicas"],"type":"object"},"planetscale:index/getPostgresRedactedBranchRoleActorData:getPostgresRedactedBranchRoleActorData":{"language":{"nodejs":{"requiredInputs":[]}},"properties":{"avatarUrl":{"description":"The URL of the actor's avatar\n","type":"string"},"displayName":{"description":"The name of the actor\n","type":"string"},"id":{"description":"The ID of the actor\n","type":"string"}},"required":["avatarUrl","displayName","id"],"type":"object"},"planetscale:index/getPostgresRedactedBranchRoleBranchData:getPostgresRedactedBranchRoleBranchData":{"language":{"nodejs":{"requiredInputs":[]}},"properties":{"deletedAt":{"description":"When the resource was deleted, if deleted\n","type":"string"},"id":{"description":"The ID for the resource\n","type":"string"},"name":{"description":"The name for the resource\n","type":"string"}},"required":["deletedAt","id","name"],"type":"object"},"planetscale:index/getPostgresRedactedBranchRoleQuerySafetySettings:getPostgresRedactedBranchRoleQuerySafetySettings":{"language":{"nodejs":{"requiredInputs":[]}},"properties":{"requireWhereOnDelete":{"description":"Require WHERE clause on DELETE statements\n","type":"string"},"requireWhereOnUpdate":{"description":"Require WHERE clause on UPDATE statements\n","type":"string"}},"required":["requireWhereOnDelete","requireWhereOnUpdate"],"type":"object"},"planetscale:index/getVitessBackupPoliciesData:getVitessBackupPoliciesData":{"language":{"nodejs":{"requiredInputs":[]}},"properties":{"displayName":{"description":"The display name of the backup policy\n","type":"string"},"frequencyUnit":{"description":"The unit for the frequency of the backup policy\n","type":"string"},"frequencyValue":{"description":"A number value for the frequency of the backup policy\n","type":"number"},"id":{"description":"The ID of the backup policy\n","type":"string"},"name":{"description":"The name of the backup policy\n","type":"string"},"retentionUnit":{"description":"The unit for the retention period of the backup policy\n","type":"string"},"retentionValue":{"description":"A number value for the retention period of the backup policy\n","type":"number"},"scheduleDay":{"description":"Day of the week that the backup is scheduled. 0 is Sunday, 6 is Saturday\n","type":"number"},"scheduleTime":{"description":"The time of day that the backup is scheduled, in HH:MM format\n","type":"string"},"scheduleWeek":{"description":"Week of the month that the backup is scheduled. 0 is the first week, 3 is the fourth week\n","type":"number"},"target":{"description":"Whether the policy is for production or development branches\n","type":"string"}},"required":["displayName","frequencyUnit","frequencyValue","id","name","retentionUnit","retentionValue","scheduleDay","scheduleTime","scheduleWeek","target"],"type":"object"},"planetscale:index/getVitessBranchActor:getVitessBranchActor":{"language":{"nodejs":{"requiredInputs":[]}},"properties":{"id":{"description":"The ID of the actor\n","type":"string"}},"required":["id"],"type":"object"},"planetscale:index/getVitessBranchBackupActor:getVitessBranchBackupActor":{"language":{"nodejs":{"requiredInputs":[]}},"properties":{"id":{"description":"The ID of the actor\n","type":"string"}},"required":["id"],"type":"object"},"planetscale:index/getVitessBranchBackupBackupPolicy:getVitessBranchBackupBackupPolicy":{"language":{"nodejs":{"requiredInputs":[]}},"properties":{"id":{"description":"The ID of the backup policy\n","type":"string"}},"required":["id"],"type":"object"},"planetscale:index/getVitessBranchBackupDatabaseBranch:getVitessBranchBackupDatabaseBranch":{"language":{"nodejs":{"requiredInputs":[]}},"properties":{"id":{"description":"The ID for the resource\n","type":"string"},"name":{"description":"The name for the resource\n","type":"string"}},"required":["id","name"],"type":"object"},"planetscale:index/getVitessBranchBackupsData:getVitessBranchBackupsData":{"language":{"nodejs":{"requiredInputs":[]}},"properties":{"actor":{"$ref":"#/types/planetscale:index%2FgetVitessBranchBackupsDataActor:getVitessBranchBackupsDataActor"},"backupPolicy":{"$ref":"#/types/planetscale:index%2FgetVitessBranchBackupsDataBackupPolicy:getVitessBranchBackupsDataBackupPolicy"},"completedAt":{"description":"When the backup completed\n","type":"string"},"databaseBranch":{"$ref":"#/types/planetscale:index%2FgetVitessBranchBackupsDataDatabaseBranch:getVitessBranchBackupsDataDatabaseBranch"},"deletedAt":{"description":"When the backup was deleted\n","type":"string"},"estimatedStorageCost":{"description":"The estimated storage cost of the backup\n","type":"number"},"expiresAt":{"description":"When the backup expires\n","type":"string"},"id":{"description":"The ID of the backup\n","type":"string"},"name":{"description":"The name of the backup\n","type":"string"},"protected":{"description":"Whether or not the backup is protected from deletion\n","type":"boolean"},"pvcSize":{"description":"Size of the PVC used for the backup\n","type":"number"},"size":{"description":"The size of the backup in bytes\n","type":"number"},"startedAt":{"description":"When the backup started\n","type":"string"},"state":{"description":"The current state of the backup\n","type":"string"},"uncompressedSize":{"description":"The uncompressed (logical) size of the backup in bytes\n","type":"number"}},"required":["actor","backupPolicy","completedAt","databaseBranch","deletedAt","estimatedStorageCost","expiresAt","id","name","protected","pvcSize","size","startedAt","state","uncompressedSize"],"type":"object"},"planetscale:index/getVitessBranchBackupsDataActor:getVitessBranchBackupsDataActor":{"language":{"nodejs":{"requiredInputs":[]}},"properties":{"id":{"description":"The ID of the actor\n","type":"string"}},"required":["id"],"type":"object"},"planetscale:index/getVitessBranchBackupsDataBackupPolicy:getVitessBranchBackupsDataBackupPolicy":{"language":{"nodejs":{"requiredInputs":[]}},"properties":{"id":{"description":"The ID of the backup policy\n","type":"string"}},"required":["id"],"type":"object"},"planetscale:index/getVitessBranchBackupsDataDatabaseBranch:getVitessBranchBackupsDataDatabaseBranch":{"language":{"nodejs":{"requiredInputs":[]}},"properties":{"id":{"description":"The ID for the resource\n","type":"string"},"name":{"description":"The name for the resource\n","type":"string"}},"required":["id","name"],"type":"object"},"planetscale:index/getVitessBranchPasswordActor:getVitessBranchPasswordActor":{"language":{"nodejs":{"requiredInputs":[]}},"properties":{"avatarUrl":{"description":"The URL of the actor's avatar\n","type":"string"},"displayName":{"description":"The name of the actor\n","type":"string"},"id":{"description":"The ID of the actor\n","type":"string"}},"required":["avatarUrl","displayName","id"],"type":"object"},"planetscale:index/getVitessBranchPasswordDatabaseBranch:getVitessBranchPasswordDatabaseBranch":{"language":{"nodejs":{"requiredInputs":[]}},"properties":{"id":{"description":"The ID for the branch\n","type":"string"},"mysqlEdgeAddress":{"description":"The address of the MySQL provider for the branch\n","type":"string"},"name":{"description":"The name for the branch\n","type":"string"},"privateEdgeConnectivity":{"description":"True if private connectivity is enabled\n","type":"boolean"},"production":{"description":"Whether or not the branch is a production branch\n","type":"boolean"}},"required":["id","mysqlEdgeAddress","name","privateEdgeConnectivity","production"],"type":"object"},"planetscale:index/getVitessBranchPasswordRegion:getVitessBranchPasswordRegion":{"language":{"nodejs":{"requiredInputs":[]}},"properties":{"currentDefault":{"description":"True if the region is the default for new branch creation\n","type":"boolean"},"displayName":{"description":"Name of the region\n","type":"string"},"enabled":{"description":"Whether or not the region is currently active\n","type":"boolean"},"id":{"description":"The ID of the region\n","type":"string"},"location":{"description":"Location of the region\n","type":"string"},"mysqlSupported":{"description":"Whether the region supports MySQL/Vitess databases\n","type":"boolean"},"postgresqlSupported":{"description":"Whether the region supports PostgreSQL databases\n","type":"boolean"},"provider":{"description":"Provider for the region (ex. AWS)\n","type":"string"},"publicIpAddresses":{"description":"Public IP addresses for the region\n","items":{"type":"string"},"type":"array"},"slug":{"description":"The slug of the region\n","type":"string"}},"required":["currentDefault","displayName","enabled","id","location","mysqlSupported","postgresqlSupported","provider","publicIpAddresses","slug"],"type":"object"},"planetscale:index/getVitessBranchPasswordsData:getVitessBranchPasswordsData":{"language":{"nodejs":{"requiredInputs":[]}},"properties":{"accessHostRegionalUrl":{"description":"The regional host URL\n","type":"string"},"accessHostRegionalUrls":{"description":"The read-only replica host URLs\n","items":{"type":"string"},"type":"array"},"accessHostUrl":{"description":"The host URL for the password\n","type":"string"},"actor":{"$ref":"#/types/planetscale:index%2FgetVitessBranchPasswordsDataActor:getVitessBranchPasswordsDataActor"},"cidrs":{"description":"List of IP addresses or CIDR ranges that can use this password\n","items":{"type":"string"},"type":"array"},"createdAt":{"description":"When the password was created\n","type":"string"},"databaseBranch":{"$ref":"#/types/planetscale:index%2FgetVitessBranchPasswordsDataDatabaseBranch:getVitessBranchPasswordsDataDatabaseBranch"},"deletedAt":{"description":"When the password was deleted\n","type":"string"},"directVtgate":{"description":"True if the credentials connect directly to a vtgate, bypassing load balancers\n","type":"boolean"},"directVtgateAddresses":{"description":"The list of hosts in each availability zone providing direct access to a vtgate\n","items":{"type":"string"},"type":"array"},"expired":{"description":"True if the credentials are expired\n","type":"boolean"},"expiresAt":{"description":"When the password will expire\n","type":"string"},"id":{"description":"The ID for the password\n","type":"string"},"lastUsedAt":{"description":"When the password was last used to execute a query\n","type":"string"},"name":{"description":"The display name for the password\n","type":"string"},"plainText":{"description":"The plaintext password. Null except in the response from the create endpoint.\n","type":"string"},"region":{"$ref":"#/types/planetscale:index%2FgetVitessBranchPasswordsDataRegion:getVitessBranchPasswordsDataRegion"},"renewable":{"description":"Whether or not the password can be renewed\n","type":"boolean"},"replica":{"description":"Whether or not the password is for a read replica\n","type":"boolean"},"role":{"description":"The role for the password\n","type":"string"},"ttlSeconds":{"description":"Time to live (in seconds) for the password. The password will be invalid when TTL has passed\n","type":"number"},"username":{"description":"The username for the password\n","type":"string"}},"required":["accessHostRegionalUrl","accessHostRegionalUrls","accessHostUrl","actor","cidrs","createdAt","databaseBranch","deletedAt","directVtgate","directVtgateAddresses","expired","expiresAt","id","lastUsedAt","name","plainText","region","renewable","replica","role","ttlSeconds","username"],"type":"object"},"planetscale:index/getVitessBranchPasswordsDataActor:getVitessBranchPasswordsDataActor":{"language":{"nodejs":{"requiredInputs":[]}},"properties":{"avatarUrl":{"description":"The URL of the actor's avatar\n","type":"string"},"displayName":{"description":"The name of the actor\n","type":"string"},"id":{"description":"The ID of the actor\n","type":"string"}},"required":["avatarUrl","displayName","id"],"type":"object"},"planetscale:index/getVitessBranchPasswordsDataDatabaseBranch:getVitessBranchPasswordsDataDatabaseBranch":{"language":{"nodejs":{"requiredInputs":[]}},"properties":{"id":{"description":"The ID for the branch\n","type":"string"},"mysqlEdgeAddress":{"description":"The address of the MySQL provider for the branch\n","type":"string"},"name":{"description":"The name for the branch\n","type":"string"},"privateEdgeConnectivity":{"description":"True if private connectivity is enabled\n","type":"boolean"},"production":{"description":"Whether or not the branch is a production branch\n","type":"boolean"}},"required":["id","mysqlEdgeAddress","name","privateEdgeConnectivity","production"],"type":"object"},"planetscale:index/getVitessBranchPasswordsDataRegion:getVitessBranchPasswordsDataRegion":{"language":{"nodejs":{"requiredInputs":[]}},"properties":{"currentDefault":{"description":"True if the region is the default for new branch creation\n","type":"boolean"},"displayName":{"description":"Name of the region\n","type":"string"},"enabled":{"description":"Whether or not the region is currently active\n","type":"boolean"},"id":{"description":"The ID of the region\n","type":"string"},"location":{"description":"Location of the region\n","type":"string"},"mysqlSupported":{"description":"Whether the region supports MySQL/Vitess databases\n","type":"boolean"},"postgresqlSupported":{"description":"Whether the region supports PostgreSQL databases\n","type":"boolean"},"provider":{"description":"Provider for the region (ex. AWS)\n","type":"string"},"publicIpAddresses":{"description":"Public IP addresses for the region\n","items":{"type":"string"},"type":"array"},"slug":{"description":"The slug of the region\n","type":"string"}},"required":["currentDefault","displayName","enabled","id","location","mysqlSupported","postgresqlSupported","provider","publicIpAddresses","slug"],"type":"object"},"planetscale:index/getVitessBranchRegionData:getVitessBranchRegionData":{"language":{"nodejs":{"requiredInputs":[]}},"properties":{"id":{"description":"The ID of the region\n","type":"string"},"mysqlSupported":{"description":"Whether the region supports MySQL/Vitess databases\n","type":"boolean"},"postgresqlSupported":{"description":"Whether the region supports PostgreSQL databases\n","type":"boolean"}},"required":["id","mysqlSupported","postgresqlSupported"],"type":"object"},"planetscale:index/getVitessKeyspaceReplicationDurabilityConstraints:getVitessKeyspaceReplicationDurabilityConstraints":{"language":{"nodejs":{"requiredInputs":[]}},"properties":{"strategy":{"description":"The replication durability strategy\n","type":"string"}},"required":["strategy"],"type":"object"},"planetscale:index/getVitessKeyspaceThrottler:getVitessKeyspaceThrottler":{"language":{"nodejs":{"requiredInputs":[]}},"properties":{"enabled":{"description":"Whether the keyspace throttler is enabled\n","type":"boolean"},"threshold":{"description":"Replication lag in seconds that trips the throttler\n","type":"number"}},"required":["enabled","threshold"],"type":"object"},"planetscale:index/getVitessKeyspaceVreplicationFlags:getVitessKeyspaceVreplicationFlags":{"language":{"nodejs":{"requiredInputs":[]}},"properties":{"allowNoBlobBinlogRowImage":{"description":"Allow no blob binlog row image\n","type":"boolean"},"optimizeInserts":{"description":"Enable optimized inserts\n","type":"boolean"},"vplayerBatching":{"description":"Enable VPlayer batching\n","type":"boolean"}},"required":["allowNoBlobBinlogRowImage","optimizeInserts","vplayerBatching"],"type":"object"},"planetscale:index/getVitessKeyspacesData:getVitessKeyspacesData":{"language":{"nodejs":{"requiredInputs":[]}},"properties":{"clusterDisplayName":{"description":"The SKU representing the keyspace cluster size for display\n","type":"string"},"clusterSize":{"description":"The database cluster size name (e.g., `PS_10`, `PS_80`). Updates in place via a keyspace resize.\n","type":"string"},"configChangeInProgress":{"description":"Is the keyspace undergoing a config change\n","type":"boolean"},"createdAt":{"description":"When the keyspace was created\n","type":"string"},"extraReplicas":{"description":"The number of additional replicas beyond the included default. Updates in place via a keyspace resize.\n","type":"number"},"id":{"description":"The ID of the keyspace\n","type":"string"},"imported":{"description":"Is this keyspace used in an import\n","type":"boolean"},"isDefault":{"description":"True when this is the branch's default keyspace (usually created with the branch). Import that keyspace to manage its size or replicas.\n","type":"boolean"},"metal":{"description":"Is the keyspace running on metal instances\n","type":"boolean"},"name":{"description":"Name of the keyspace\n","type":"string"},"nodeTtlStrategy":{"description":"Controls when node TTL drains are allowed\n","type":"string"},"ready":{"description":"Is the keyspace provisioned and serving traffic\n","type":"boolean"},"replicas":{"description":"Total number of replicas in the keyspace\n","type":"number"},"replicationDurabilityConstraints":{"$ref":"#/types/planetscale:index%2FgetVitessKeyspacesDataReplicationDurabilityConstraints:getVitessKeyspacesDataReplicationDurabilityConstraints"},"resizeInProgress":{"description":"True while any unfinished resize request exists for the keyspace.\n","type":"boolean"},"resizePending":{"description":"True while a resize request is queued.\n","type":"boolean"},"resizing":{"description":"True while the keyspace is actively resizing.\n","type":"boolean"},"sharded":{"description":"If the keyspace is sharded\n","type":"boolean"},"shards":{"description":"The number of keyspace shards\n","type":"number"},"throttler":{"$ref":"#/types/planetscale:index%2FgetVitessKeyspacesDataThrottler:getVitessKeyspacesDataThrottler"},"updatedAt":{"description":"When the keyspace was last updated\n","type":"string"},"vectorPoolAllocation":{"description":"Percentage of buffer pool memory allocated to vector indexes\n","type":"number"},"vreplicationFlags":{"$ref":"#/types/planetscale:index%2FgetVitessKeyspacesDataVreplicationFlags:getVitessKeyspacesDataVreplicationFlags"}},"required":["clusterDisplayName","clusterSize","configChangeInProgress","createdAt","extraReplicas","id","imported","isDefault","metal","name","nodeTtlStrategy","ready","replicas","replicationDurabilityConstraints","resizeInProgress","resizePending","resizing","sharded","shards","throttler","updatedAt","vectorPoolAllocation","vreplicationFlags"],"type":"object"},"planetscale:index/getVitessKeyspacesDataReplicationDurabilityConstraints:getVitessKeyspacesDataReplicationDurabilityConstraints":{"language":{"nodejs":{"requiredInputs":[]}},"properties":{"strategy":{"description":"The replication durability strategy\n","type":"string"}},"required":["strategy"],"type":"object"},"planetscale:index/getVitessKeyspacesDataThrottler:getVitessKeyspacesDataThrottler":{"language":{"nodejs":{"requiredInputs":[]}},"properties":{"enabled":{"description":"Whether the keyspace throttler is enabled\n","type":"boolean"},"threshold":{"description":"Replication lag in seconds that trips the throttler\n","type":"number"}},"required":["enabled","threshold"],"type":"object"},"planetscale:index/getVitessKeyspacesDataVreplicationFlags:getVitessKeyspacesDataVreplicationFlags":{"language":{"nodejs":{"requiredInputs":[]}},"properties":{"allowNoBlobBinlogRowImage":{"description":"Allow no blob binlog row image\n","type":"boolean"},"optimizeInserts":{"description":"Enable optimized inserts\n","type":"boolean"},"vplayerBatching":{"description":"Enable VPlayer batching\n","type":"boolean"}},"required":["allowNoBlobBinlogRowImage","optimizeInserts","vplayerBatching"],"type":"object"}},"version":"1.20.0"}
