{"name":"planetscale","version":"1.0.0","description":"A Pulumi provider dynamically bridged from planetscale.","attribution":"This Pulumi package is based on the [`planetscale` Terraform Provider](https://github.com/planetscale/terraform-provider-planetscale).","repository":"https://github.com/planetscale/terraform-provider-planetscale","publisher":"planetscale","meta":{"moduleFormat":"(.*)(?:/[^/]*)"},"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":"\u003e This provider is a derived work of the [Terraform Provider](https://github.com/planetscale/terraform-provider-planetscale)\n\u003e distributed under [MPL 2.0](https://www.mozilla.org/en-US/MPL/2.0/). If you encounter a bug or missing feature,\n\u003e 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":"\u003e This provider is a derived work of the [Terraform Provider](https://github.com/planetscale/terraform-provider-planetscale)\n\u003e distributed under [MPL 2.0](https://www.mozilla.org/en-US/MPL/2.0/). If you encounter a bug or missing feature,\n\u003e please consult the source [`terraform-provider-planetscale` repo](https://github.com/planetscale/terraform-provider-planetscale/issues).","respectSchemaVersion":true}},"config":{"variables":{"serverUrl":{"type":"string","description":"Server URL (defaults to https://api.planetscale.com/v1)"},"serviceToken":{"type":"string","description":"PlanetScale Service Token. Configurable via environment variable `PLANETSCALE_SERVICE_TOKEN`.","secret":true},"serviceTokenId":{"type":"string","description":"PlanetScale Service Token ID. Configurable via environment variable `PLANETSCALE_SERVICE_TOKEN_ID`.","secret":true}}},"types":{"planetscale:index/PostgresBranchActor:PostgresBranchActor":{"properties":{"id":{"type":"string","description":"The ID of the actor\n"}},"type":"object","language":{"nodejs":{"requiredOutputs":["id"]}}},"planetscale:index/PostgresBranchRegionData:PostgresBranchRegionData":{"properties":{"id":{"type":"string","description":"The ID of the region\n"}},"type":"object","language":{"nodejs":{"requiredOutputs":["id"]}}},"planetscale:index/PostgresBranchRoleActorData:PostgresBranchRoleActorData":{"properties":{"avatarUrl":{"type":"string","description":"The URL of the actor's avatar\n"},"displayName":{"type":"string","description":"The name of the actor\n"},"id":{"type":"string","description":"The ID of the actor\n"}},"type":"object","language":{"nodejs":{"requiredOutputs":["avatarUrl","displayName","id"]}}},"planetscale:index/PostgresBranchRoleBranchData:PostgresBranchRoleBranchData":{"properties":{"deletedAt":{"type":"string","description":"When the resource was deleted, if deleted\n"},"id":{"type":"string","description":"The ID for the resource\n"},"name":{"type":"string","description":"The name for the resource\n"}},"type":"object","language":{"nodejs":{"requiredOutputs":["deletedAt","id","name"]}}},"planetscale:index/PostgresBranchRoleQuerySafetySettings:PostgresBranchRoleQuerySafetySettings":{"properties":{"requireWhereOnDelete":{"type":"string","description":"Require WHERE clause on DELETE statements\n"},"requireWhereOnUpdate":{"type":"string","description":"Require WHERE clause on UPDATE statements\n"}},"type":"object","language":{"nodejs":{"requiredOutputs":["requireWhereOnDelete","requireWhereOnUpdate"]}}},"planetscale:index/VitessBranchActor:VitessBranchActor":{"properties":{"id":{"type":"string","description":"The ID of the actor\n"}},"type":"object","language":{"nodejs":{"requiredOutputs":["id"]}}},"planetscale:index/VitessBranchPasswordActor:VitessBranchPasswordActor":{"properties":{"avatarUrl":{"type":"string","description":"The URL of the actor's avatar\n"},"displayName":{"type":"string","description":"The name of the actor\n"},"id":{"type":"string","description":"The ID of the actor\n"}},"type":"object","language":{"nodejs":{"requiredOutputs":["avatarUrl","displayName","id"]}}},"planetscale:index/VitessBranchPasswordDatabaseBranch:VitessBranchPasswordDatabaseBranch":{"properties":{"id":{"type":"string","description":"The ID for the branch\n"},"mysqlEdgeAddress":{"type":"string","description":"The address of the MySQL provider for the branch\n"},"name":{"type":"string","description":"The name for the branch\n"},"privateEdgeConnectivity":{"type":"boolean","description":"True if private connectivity is enabled\n"},"production":{"type":"boolean","description":"Whether or not the branch is a production branch\n"}},"type":"object","language":{"nodejs":{"requiredOutputs":["id","mysqlEdgeAddress","name","privateEdgeConnectivity","production"]}}},"planetscale:index/VitessBranchPasswordRegion:VitessBranchPasswordRegion":{"properties":{"currentDefault":{"type":"boolean","description":"True if the region is the default for new branch creation\n"},"displayName":{"type":"string","description":"Name of the region\n"},"enabled":{"type":"boolean","description":"Whether or not the region is currently active\n"},"id":{"type":"string","description":"The ID of the region\n"},"location":{"type":"string","description":"Location of the region\n"},"provider":{"type":"string","description":"Provider for the region (ex. AWS)\n"},"publicIpAddresses":{"type":"array","items":{"type":"string"},"description":"Public IP addresses for the region\n"},"slug":{"type":"string","description":"The slug of the region\n"}},"type":"object","language":{"nodejs":{"requiredOutputs":["currentDefault","displayName","enabled","id","location","provider","publicIpAddresses","slug"]}}},"planetscale:index/VitessBranchRegionData:VitessBranchRegionData":{"properties":{"id":{"type":"string","description":"The ID of the region\n"}},"type":"object","language":{"nodejs":{"requiredOutputs":["id"]}}},"planetscale:index/getDatabasePostgresDataImport:getDatabasePostgresDataImport":{"properties":{"dataSource":{"$ref":"#/types/planetscale:index%2FgetDatabasePostgresDataImportDataSource:getDatabasePostgresDataImportDataSource"},"finishedAt":{"type":"string","description":"When the import finished\n"},"importCheckErrors":{"type":"string","description":"Errors encountered during the import check\n"},"startedAt":{"type":"string","description":"When the import started\n"},"state":{"type":"string","description":"State of the data import\n"}},"type":"object","required":["dataSource","finishedAt","importCheckErrors","startedAt","state"],"language":{"nodejs":{"requiredInputs":[]}}},"planetscale:index/getDatabasePostgresDataImportDataSource:getDatabasePostgresDataImportDataSource":{"properties":{"database":{"type":"string","description":"Database name of the data source\n"},"hostname":{"type":"string","description":"Hostname of the data source\n"},"port":{"type":"number","description":"Port of the data source\n"}},"type":"object","required":["database","hostname","port"],"language":{"nodejs":{"requiredInputs":[]}}},"planetscale:index/getDatabasePostgresRegionData:getDatabasePostgresRegionData":{"properties":{"currentDefault":{"type":"boolean","description":"True if the region is the default for new branch creation\n"},"displayName":{"type":"string","description":"Name of the region\n"},"enabled":{"type":"boolean","description":"Whether or not the region is currently active\n"},"id":{"type":"string","description":"The ID of the region\n"},"location":{"type":"string","description":"Location of the region\n"},"provider":{"type":"string","description":"Provider for the region (ex. AWS)\n"},"publicIpAddresses":{"type":"array","items":{"type":"string"},"description":"Public IP addresses for the region\n"},"slug":{"type":"string","description":"The slug of the region\n"}},"type":"object","required":["currentDefault","displayName","enabled","id","location","provider","publicIpAddresses","slug"],"language":{"nodejs":{"requiredInputs":[]}}},"planetscale:index/getDatabaseVitessDataImport:getDatabaseVitessDataImport":{"properties":{"dataSource":{"$ref":"#/types/planetscale:index%2FgetDatabaseVitessDataImportDataSource:getDatabaseVitessDataImportDataSource"},"finishedAt":{"type":"string","description":"When the import finished\n"},"importCheckErrors":{"type":"string","description":"Errors encountered during the import check\n"},"startedAt":{"type":"string","description":"When the import started\n"},"state":{"type":"string","description":"State of the data import\n"}},"type":"object","required":["dataSource","finishedAt","importCheckErrors","startedAt","state"],"language":{"nodejs":{"requiredInputs":[]}}},"planetscale:index/getDatabaseVitessDataImportDataSource:getDatabaseVitessDataImportDataSource":{"properties":{"database":{"type":"string","description":"Database name of the data source\n"},"hostname":{"type":"string","description":"Hostname of the data source\n"},"port":{"type":"number","description":"Port of the data source\n"}},"type":"object","required":["database","hostname","port"],"language":{"nodejs":{"requiredInputs":[]}}},"planetscale:index/getDatabaseVitessRegionData:getDatabaseVitessRegionData":{"properties":{"currentDefault":{"type":"boolean","description":"True if the region is the default for new branch creation\n"},"displayName":{"type":"string","description":"Name of the region\n"},"enabled":{"type":"boolean","description":"Whether or not the region is currently active\n"},"id":{"type":"string","description":"The ID of the region\n"},"location":{"type":"string","description":"Location of the region\n"},"provider":{"type":"string","description":"Provider for the region (ex. AWS)\n"},"publicIpAddresses":{"type":"array","items":{"type":"string"},"description":"Public IP addresses for the region\n"},"slug":{"type":"string","description":"The slug of the region\n"}},"type":"object","required":["currentDefault","displayName","enabled","id","location","provider","publicIpAddresses","slug"],"language":{"nodejs":{"requiredInputs":[]}}},"planetscale:index/getDatabasesData:getDatabasesData":{"properties":{"allowDataBranching":{"type":"boolean","description":"Whether seeding branches with data is enabled for all branches\n"},"atBackupRestoreBranchesLimit":{"type":"boolean","description":"If the database has reached its backup restored branch limit\n"},"atDevelopmentBranchUsageLimit":{"type":"boolean","description":"If the database has reached its development branch limit\n"},"automaticMigrations":{"type":"boolean","description":"Whether to automatically manage Rails migrations during deploy requests\n"},"branchesCount":{"type":"number","description":"The total number of database branches\n"},"branchesUrl":{"type":"string","description":"The URL to retrieve this database's branches via the API\n"},"createdAt":{"type":"string","description":"When the database was created\n"},"dataImport":{"$ref":"#/types/planetscale:index%2FgetDatabasesDataDataImport:getDatabasesDataDataImport"},"defaultBranch":{"type":"string","description":"The default branch for the database\n"},"defaultBranchReadOnlyRegionsCount":{"type":"number","description":"Number of read only regions in the default branch\n"},"defaultBranchShardCount":{"type":"number","description":"Number of shards in the default branch\n"},"defaultBranchTableCount":{"type":"number","description":"Number of tables in the default branch schema\n"},"developmentBranchesCount":{"type":"number","description":"The total number of database development branches\n"},"foreignKeysEnabled":{"type":"boolean","description":"Whether foreign key constraints are enabled\n"},"htmlUrl":{"type":"string","description":"The URL to see this database's branches in the web UI\n"},"id":{"type":"string","description":"The ID of the database\n"},"insightsEnabled":{"type":"boolean","description":"True if query insights is enabled for the database\n"},"insightsRawQueries":{"type":"boolean","description":"Whether raw SQL queries are collected\n"},"issuesCount":{"type":"number","description":"The total number of ongoing issues within a database\n"},"kind":{"type":"string","description":"The kind of database\n"},"migrationFramework":{"type":"string","description":"Framework used for applying migrations\n"},"migrationTableName":{"type":"string","description":"Table name to use for copying schema migration data\n"},"multipleAdminsRequiredForDeletion":{"type":"boolean","description":"If the database requires multiple admins for deletion\n"},"name":{"type":"string","description":"Name of the database\n"},"openSchemaRecommendationsCount":{"type":"number","description":"The total number of schema recommendations\n"},"plan":{"type":"string","description":"The database plan\n"},"productionBranchWebConsole":{"type":"boolean","description":"Whether web console is enabled for production branches\n"},"productionBranchesCount":{"type":"number","description":"The total number of database production branches\n"},"ready":{"type":"boolean","description":"If the database is ready to be used\n"},"region":{"$ref":"#/types/planetscale:index%2FgetDatabasesDataRegion:getDatabasesDataRegion"},"requireApprovalForDeploy":{"type":"boolean","description":"Whether an approval is required to deploy schema changes to this database\n"},"resizeQueued":{"type":"boolean","description":"True if a branch has a queued resize request\n"},"resizing":{"type":"boolean","description":"True if a branch is currently resizing\n"},"restrictBranchRegion":{"type":"boolean","description":"Whether to restrict branch creation to one region\n"},"schemaLastUpdatedAt":{"type":"string","description":"When the default branch schema was last changed.\n"},"sharded":{"type":"boolean","description":"If the database is sharded\n"},"state":{"type":"string","description":"State of the database\n"},"updatedAt":{"type":"string","description":"When the database was last updated\n"},"url":{"type":"string","description":"The URL to the database API endpoint\n"}},"type":"object","required":["allowDataBranching","atBackupRestoreBranchesLimit","atDevelopmentBranchUsageLimit","automaticMigrations","branchesCount","branchesUrl","createdAt","dataImport","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"],"language":{"nodejs":{"requiredInputs":[]}}},"planetscale:index/getDatabasesDataDataImport:getDatabasesDataDataImport":{"properties":{"dataSource":{"$ref":"#/types/planetscale:index%2FgetDatabasesDataDataImportDataSource:getDatabasesDataDataImportDataSource"},"finishedAt":{"type":"string","description":"When the import finished\n"},"importCheckErrors":{"type":"string","description":"Errors encountered during the import check\n"},"startedAt":{"type":"string","description":"When the import started\n"},"state":{"type":"string","description":"State of the data import\n"}},"type":"object","required":["dataSource","finishedAt","importCheckErrors","startedAt","state"],"language":{"nodejs":{"requiredInputs":[]}}},"planetscale:index/getDatabasesDataDataImportDataSource:getDatabasesDataDataImportDataSource":{"properties":{"database":{"type":"string","description":"Database name of the data source\n"},"hostname":{"type":"string","description":"Hostname of the data source\n"},"port":{"type":"number","description":"Port of the data source\n"}},"type":"object","required":["database","hostname","port"],"language":{"nodejs":{"requiredInputs":[]}}},"planetscale:index/getDatabasesDataRegion:getDatabasesDataRegion":{"properties":{"currentDefault":{"type":"boolean","description":"True if the region is the default for new branch creation\n"},"displayName":{"type":"string","description":"Name of the region\n"},"enabled":{"type":"boolean","description":"Whether or not the region is currently active\n"},"id":{"type":"string","description":"The ID of the region\n"},"location":{"type":"string","description":"Location of the region\n"},"provider":{"type":"string","description":"Provider for the region (ex. AWS)\n"},"publicIpAddresses":{"type":"array","items":{"type":"string"},"description":"Public IP addresses for the region\n"},"slug":{"type":"string","description":"The slug of the region\n"}},"type":"object","required":["currentDefault","displayName","enabled","id","location","provider","publicIpAddresses","slug"],"language":{"nodejs":{"requiredInputs":[]}}},"planetscale:index/getOrganizationsData:getOrganizationsData":{"properties":{"billingEmail":{"type":"string","description":"The billing email of the organization\n"},"createdAt":{"type":"string","description":"When the organization was created\n"},"databaseCount":{"type":"number","description":"The number of databases in the organization\n"},"features":{"type":"object","additionalProperties":{"type":"string"},"description":"Features that can be enabled on the organization\n"},"hasCard":{"type":"boolean","description":"Whether or not the organization has a payment method on file\n"},"hasPastDueInvoices":{"type":"boolean","description":"Whether or not the organization has past due billing invoices\n"},"id":{"type":"string","description":"The ID for the organization\n"},"idpManagedRoles":{"type":"boolean","description":"Whether or not the IdP provider is be responsible for managing roles in PlanetScale\n"},"invoiceBudgetAmount":{"type":"string","description":"The expected monthly budget for the organization\n"},"keyspaceShardLimit":{"type":"number","description":"The keyspace shard limit for the organization\n"},"managedTenancy":{"type":"boolean","description":"Whether or not the organization has managed tenancy enabled\n"},"name":{"type":"string","description":"The name of the organization\n"},"paymentInfoRequired":{"type":"boolean","description":"Whether or not the organization requires payment information\n"},"plan":{"type":"string","description":"The billing plan of the organization\n"},"singleTenancy":{"type":"boolean","description":"Whether or not the organization has single tenancy enabled\n"},"sso":{"type":"boolean","description":"Whether or not SSO is enabled on the organization\n"},"ssoDirectory":{"type":"boolean","description":"Whether or not the organization uses an SSO directory\n"},"ssoPortalUrl":{"type":"string","description":"The URL of the organization's SSO portal\n"},"updatedAt":{"type":"string","description":"When the organization was last updated\n"},"validBillingInfo":{"type":"boolean","description":"Whether or not the organization's billing information is valid\n"}},"type":"object","required":["billingEmail","createdAt","databaseCount","features","hasCard","hasPastDueInvoices","id","idpManagedRoles","invoiceBudgetAmount","keyspaceShardLimit","managedTenancy","name","paymentInfoRequired","plan","singleTenancy","sso","ssoDirectory","ssoPortalUrl","updatedAt","validBillingInfo"],"language":{"nodejs":{"requiredInputs":[]}}},"planetscale:index/getPostgresBranchActor:getPostgresBranchActor":{"properties":{"id":{"type":"string","description":"The ID of the actor\n"}},"type":"object","required":["id"],"language":{"nodejs":{"requiredInputs":[]}}},"planetscale:index/getPostgresBranchRegionData:getPostgresBranchRegionData":{"properties":{"id":{"type":"string","description":"The ID of the region\n"}},"type":"object","required":["id"],"language":{"nodejs":{"requiredInputs":[]}}},"planetscale:index/getPostgresBranchRoleActorData:getPostgresBranchRoleActorData":{"properties":{"avatarUrl":{"type":"string","description":"The URL of the actor's avatar\n"},"displayName":{"type":"string","description":"The name of the actor\n"},"id":{"type":"string","description":"The ID of the actor\n"}},"type":"object","required":["avatarUrl","displayName","id"],"language":{"nodejs":{"requiredInputs":[]}}},"planetscale:index/getPostgresBranchRoleBranchData:getPostgresBranchRoleBranchData":{"properties":{"deletedAt":{"type":"string","description":"When the resource was deleted, if deleted\n"},"id":{"type":"string","description":"The ID for the resource\n"},"name":{"type":"string","description":"The name for the resource\n"}},"type":"object","required":["deletedAt","id","name"],"language":{"nodejs":{"requiredInputs":[]}}},"planetscale:index/getPostgresBranchRoleQuerySafetySettings:getPostgresBranchRoleQuerySafetySettings":{"properties":{"requireWhereOnDelete":{"type":"string","description":"Require WHERE clause on DELETE statements\n"},"requireWhereOnUpdate":{"type":"string","description":"Require WHERE clause on UPDATE statements\n"}},"type":"object","required":["requireWhereOnDelete","requireWhereOnUpdate"],"language":{"nodejs":{"requiredInputs":[]}}},"planetscale:index/getPostgresBranchRolesData:getPostgresBranchRolesData":{"properties":{"accessHostUrl":{"type":"string","description":"The database connection string\n"},"actor":{"$ref":"#/types/planetscale:index%2FgetPostgresBranchRolesDataActor:getPostgresBranchRolesDataActor"},"branch":{"$ref":"#/types/planetscale:index%2FgetPostgresBranchRolesDataBranch:getPostgresBranchRolesDataBranch"},"createdAt":{"type":"string","description":"When the role was created\n"},"databaseName":{"type":"string","description":"The database name\n"},"default":{"type":"boolean","description":"Whether the role is the default postgres user\n"},"deletedAt":{"type":"string","description":"When the role was deleted\n"},"disabledAt":{"type":"string","description":"When the role was disabled\n"},"dropFailed":{"type":"string","description":"Error message available when dropping the role fails\n"},"droppedAt":{"type":"string","description":"When the role was dropped\n"},"expired":{"type":"boolean","description":"True if the credentials are expired\n"},"expiresAt":{"type":"string","description":"When the role expires\n"},"id":{"type":"string","description":"The ID of the role\n"},"inheritedRoles":{"type":"array","items":{"type":"string"},"description":"Database roles these credentials inherit\n"},"name":{"type":"string","description":"The name of the role\n"},"password":{"type":"string","description":"The plain text password, available only after create\n"},"privateAccessHostUrl":{"type":"string","description":"The database connection string for private connections\n"},"privateConnectionServiceName":{"type":"string","description":"The service name to set up private connectivity\n"},"querySafetySettings":{"$ref":"#/types/planetscale:index%2FgetPostgresBranchRolesDataQuerySafetySettings:getPostgresBranchRolesDataQuerySafetySettings"},"ttl":{"type":"number","description":"Number of seconds before the credentials expire\n"},"updatedAt":{"type":"string","description":"When the role was updated\n"},"username":{"type":"string","description":"The database user name\n"}},"type":"object","required":["accessHostUrl","actor","branch","createdAt","databaseName","default","deletedAt","disabledAt","dropFailed","droppedAt","expired","expiresAt","id","inheritedRoles","name","password","privateAccessHostUrl","privateConnectionServiceName","querySafetySettings","ttl","updatedAt","username"],"language":{"nodejs":{"requiredInputs":[]}}},"planetscale:index/getPostgresBranchRolesDataActor:getPostgresBranchRolesDataActor":{"properties":{"avatarUrl":{"type":"string","description":"The URL of the actor's avatar\n"},"displayName":{"type":"string","description":"The name of the actor\n"},"id":{"type":"string","description":"The ID of the actor\n"}},"type":"object","required":["avatarUrl","displayName","id"],"language":{"nodejs":{"requiredInputs":[]}}},"planetscale:index/getPostgresBranchRolesDataBranch:getPostgresBranchRolesDataBranch":{"properties":{"createdAt":{"type":"string","description":"When the resource was created\n"},"deletedAt":{"type":"string","description":"When the resource was deleted, if deleted\n"},"id":{"type":"string","description":"The ID for the resource\n"},"name":{"type":"string","description":"The name for the resource\n"},"updatedAt":{"type":"string","description":"When the resource was last updated\n"}},"type":"object","required":["createdAt","deletedAt","id","name","updatedAt"],"language":{"nodejs":{"requiredInputs":[]}}},"planetscale:index/getPostgresBranchRolesDataQuerySafetySettings:getPostgresBranchRolesDataQuerySafetySettings":{"properties":{"requireWhereOnDelete":{"type":"string","description":"Require WHERE clause on DELETE statements\n"},"requireWhereOnUpdate":{"type":"string","description":"Require WHERE clause on UPDATE statements\n"}},"type":"object","required":["requireWhereOnDelete","requireWhereOnUpdate"],"language":{"nodejs":{"requiredInputs":[]}}},"planetscale:index/getVitessBranchActor:getVitessBranchActor":{"properties":{"id":{"type":"string","description":"The ID of the actor\n"}},"type":"object","required":["id"],"language":{"nodejs":{"requiredInputs":[]}}},"planetscale:index/getVitessBranchPasswordActor:getVitessBranchPasswordActor":{"properties":{"avatarUrl":{"type":"string","description":"The URL of the actor's avatar\n"},"displayName":{"type":"string","description":"The name of the actor\n"},"id":{"type":"string","description":"The ID of the actor\n"}},"type":"object","required":["avatarUrl","displayName","id"],"language":{"nodejs":{"requiredInputs":[]}}},"planetscale:index/getVitessBranchPasswordDatabaseBranch:getVitessBranchPasswordDatabaseBranch":{"properties":{"id":{"type":"string","description":"The ID for the branch\n"},"mysqlEdgeAddress":{"type":"string","description":"The address of the MySQL provider for the branch\n"},"name":{"type":"string","description":"The name for the branch\n"},"privateEdgeConnectivity":{"type":"boolean","description":"True if private connectivity is enabled\n"},"production":{"type":"boolean","description":"Whether or not the branch is a production branch\n"}},"type":"object","required":["id","mysqlEdgeAddress","name","privateEdgeConnectivity","production"],"language":{"nodejs":{"requiredInputs":[]}}},"planetscale:index/getVitessBranchPasswordRegion:getVitessBranchPasswordRegion":{"properties":{"currentDefault":{"type":"boolean","description":"True if the region is the default for new branch creation\n"},"displayName":{"type":"string","description":"Name of the region\n"},"enabled":{"type":"boolean","description":"Whether or not the region is currently active\n"},"id":{"type":"string","description":"The ID of the region\n"},"location":{"type":"string","description":"Location of the region\n"},"provider":{"type":"string","description":"Provider for the region (ex. AWS)\n"},"publicIpAddresses":{"type":"array","items":{"type":"string"},"description":"Public IP addresses for the region\n"},"slug":{"type":"string","description":"The slug of the region\n"}},"type":"object","required":["currentDefault","displayName","enabled","id","location","provider","publicIpAddresses","slug"],"language":{"nodejs":{"requiredInputs":[]}}},"planetscale:index/getVitessBranchPasswordsData:getVitessBranchPasswordsData":{"properties":{"accessHostRegionalUrl":{"type":"string","description":"The regional host URL\n"},"accessHostRegionalUrls":{"type":"array","items":{"type":"string"},"description":"The read-only replica host URLs\n"},"accessHostUrl":{"type":"string","description":"The host URL for the password\n"},"actor":{"$ref":"#/types/planetscale:index%2FgetVitessBranchPasswordsDataActor:getVitessBranchPasswordsDataActor"},"cidrs":{"type":"array","items":{"type":"string"},"description":"List of IP addresses or CIDR ranges that can use this password\n"},"createdAt":{"type":"string","description":"When the password was created\n"},"databaseBranch":{"$ref":"#/types/planetscale:index%2FgetVitessBranchPasswordsDataDatabaseBranch:getVitessBranchPasswordsDataDatabaseBranch"},"deletedAt":{"type":"string","description":"When the password was deleted\n"},"directVtgate":{"type":"boolean","description":"True if the credentials connect directly to a vtgate, bypassing load balancers\n"},"directVtgateAddresses":{"type":"array","items":{"type":"string"},"description":"The list of hosts in each availability zone providing direct access to a vtgate\n"},"expired":{"type":"boolean","description":"True if the credentials are expired\n"},"expiresAt":{"type":"string","description":"When the password will expire\n"},"id":{"type":"string","description":"The ID for the password\n"},"lastUsedAt":{"type":"string","description":"When the password was last used to execute a query\n"},"name":{"type":"string","description":"The display name for the password\n"},"plainText":{"type":"string","description":"The plain text password, available only after create\n"},"region":{"$ref":"#/types/planetscale:index%2FgetVitessBranchPasswordsDataRegion:getVitessBranchPasswordsDataRegion"},"renewable":{"type":"boolean","description":"Whether or not the password can be renewed\n"},"replica":{"type":"boolean","description":"Whether or not the password is for a read replica\n"},"role":{"type":"string","description":"The role for the password\n"},"ttlSeconds":{"type":"number","description":"Time to live (in seconds) for the password. The password will be invalid when TTL has passed\n"},"username":{"type":"string","description":"The username for the password\n"}},"type":"object","required":["accessHostRegionalUrl","accessHostRegionalUrls","accessHostUrl","actor","cidrs","createdAt","databaseBranch","deletedAt","directVtgate","directVtgateAddresses","expired","expiresAt","id","lastUsedAt","name","plainText","region","renewable","replica","role","ttlSeconds","username"],"language":{"nodejs":{"requiredInputs":[]}}},"planetscale:index/getVitessBranchPasswordsDataActor:getVitessBranchPasswordsDataActor":{"properties":{"avatarUrl":{"type":"string","description":"The URL of the actor's avatar\n"},"displayName":{"type":"string","description":"The name of the actor\n"},"id":{"type":"string","description":"The ID of the actor\n"}},"type":"object","required":["avatarUrl","displayName","id"],"language":{"nodejs":{"requiredInputs":[]}}},"planetscale:index/getVitessBranchPasswordsDataDatabaseBranch:getVitessBranchPasswordsDataDatabaseBranch":{"properties":{"id":{"type":"string","description":"The ID for the branch\n"},"mysqlEdgeAddress":{"type":"string","description":"The address of the MySQL provider for the branch\n"},"name":{"type":"string","description":"The name for the branch\n"},"privateEdgeConnectivity":{"type":"boolean","description":"True if private connectivity is enabled\n"},"production":{"type":"boolean","description":"Whether or not the branch is a production branch\n"}},"type":"object","required":["id","mysqlEdgeAddress","name","privateEdgeConnectivity","production"],"language":{"nodejs":{"requiredInputs":[]}}},"planetscale:index/getVitessBranchPasswordsDataRegion:getVitessBranchPasswordsDataRegion":{"properties":{"currentDefault":{"type":"boolean","description":"True if the region is the default for new branch creation\n"},"displayName":{"type":"string","description":"Name of the region\n"},"enabled":{"type":"boolean","description":"Whether or not the region is currently active\n"},"id":{"type":"string","description":"The ID of the region\n"},"location":{"type":"string","description":"Location of the region\n"},"provider":{"type":"string","description":"Provider for the region (ex. AWS)\n"},"publicIpAddresses":{"type":"array","items":{"type":"string"},"description":"Public IP addresses for the region\n"},"slug":{"type":"string","description":"The slug of the region\n"}},"type":"object","required":["currentDefault","displayName","enabled","id","location","provider","publicIpAddresses","slug"],"language":{"nodejs":{"requiredInputs":[]}}},"planetscale:index/getVitessBranchRegionData:getVitessBranchRegionData":{"properties":{"id":{"type":"string","description":"The ID of the region\n"}},"type":"object","required":["id"],"language":{"nodejs":{"requiredInputs":[]}}}},"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","properties":{"serverUrl":{"type":"string","description":"Server URL (defaults to https://api.planetscale.com/v1)"},"serviceToken":{"type":"string","description":"PlanetScale Service Token. Configurable via environment variable `PLANETSCALE_SERVICE_TOKEN`.","secret":true},"serviceTokenId":{"type":"string","description":"PlanetScale Service Token ID. Configurable via environment variable `PLANETSCALE_SERVICE_TOKEN_ID`.","secret":true}},"type":"object","inputProperties":{"serverUrl":{"type":"string","description":"Server URL (defaults to https://api.planetscale.com/v1)"},"serviceToken":{"type":"string","description":"PlanetScale Service Token. Configurable via environment variable `PLANETSCALE_SERVICE_TOKEN`.","secret":true},"serviceTokenId":{"type":"string","description":"PlanetScale Service Token ID. Configurable via environment variable `PLANETSCALE_SERVICE_TOKEN_ID`.","secret":true}},"methods":{"terraformConfig":"pulumi:providers:planetscale/terraformConfig"}},"resources":{"planetscale:index/postgresBranch:PostgresBranch":{"description":"PostgresBranch Resource\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\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});\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```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Planetscale = Pulumi.Planetscale;\n\nreturn await Deployment.RunAsync(() =\u003e \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    });\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\", \u0026planetscale.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})\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            .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```\n\u003c!--End PulumiCodeChooser --\u003e\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","properties":{"actor":{"$ref":"#/types/planetscale:index%2FPostgresBranchActor:PostgresBranchActor"},"backupId":{"type":"string","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"},"clusterSize":{"type":"string","description":"The size of the cluster. Available sizes can be found using the 'List cluster sizes' endpoint.\n"},"database":{"type":"string","description":"Database name slug from \u003cspan 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`\"\u003e`list_databases`\u003c/span\u003e. Example: `app-db`.\n"},"htmlUrl":{"type":"string","description":"Planetscale app URL for the branch\n"},"majorVersion":{"type":"string","description":"For PostgreSQL databases, 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.\n"},"name":{"type":"string","description":"The name of the branch to create\n"},"organization":{"type":"string","description":"Organization name slug from \u003cspan 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`\"\u003e`list_organizations`\u003c/span\u003e. Example: \u003cspan pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\"\u003e`acme`\u003c/span\u003e.\n"},"parentBranch":{"type":"string","description":"The name of the parent branch. Defaults to the database's default branch if not provided. Requires replacement if changed.\n"},"ready":{"type":"boolean","description":"Whether or not the branch is ready to serve queries\n"},"region":{"type":"string","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"},"regionData":{"$ref":"#/types/planetscale:index%2FPostgresBranchRegionData:PostgresBranchRegionData"},"replicas":{"type":"number","description":"The number of replicas for the branch\n"},"restorePoint":{"type":"string","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.\n"},"state":{"type":"string","description":"The current state of the branch\n"},"url":{"type":"string","description":"Planetscale API URL for the branch\n"}},"type":"object","required":["actor","clusterSize","database","htmlUrl","name","organization","parentBranch","ready","regionData","replicas","state","url"],"inputProperties":{"backupId":{"type":"string","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"},"clusterSize":{"type":"string","description":"The size of the cluster. Available sizes can be found using the 'List cluster sizes' endpoint.\n"},"database":{"type":"string","description":"Database name slug from \u003cspan 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`\"\u003e`list_databases`\u003c/span\u003e. Example: `app-db`.\n"},"majorVersion":{"type":"string","description":"For PostgreSQL databases, 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.\n"},"name":{"type":"string","description":"The name of the branch to create\n"},"organization":{"type":"string","description":"Organization name slug from \u003cspan 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`\"\u003e`list_organizations`\u003c/span\u003e. Example: \u003cspan pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\"\u003e`acme`\u003c/span\u003e.\n"},"parentBranch":{"type":"string","description":"The name of the parent branch. Defaults to the database's default branch if not provided. Requires replacement if changed.\n"},"region":{"type":"string","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"},"restorePoint":{"type":"string","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.\n"}},"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":{"type":"string","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"},"clusterSize":{"type":"string","description":"The size of the cluster. Available sizes can be found using the 'List cluster sizes' endpoint.\n"},"database":{"type":"string","description":"Database name slug from \u003cspan 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`\"\u003e`list_databases`\u003c/span\u003e. Example: `app-db`.\n"},"htmlUrl":{"type":"string","description":"Planetscale app URL for the branch\n"},"majorVersion":{"type":"string","description":"For PostgreSQL databases, 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.\n"},"name":{"type":"string","description":"The name of the branch to create\n"},"organization":{"type":"string","description":"Organization name slug from \u003cspan 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`\"\u003e`list_organizations`\u003c/span\u003e. Example: \u003cspan pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\"\u003e`acme`\u003c/span\u003e.\n"},"parentBranch":{"type":"string","description":"The name of the parent branch. Defaults to the database's default branch if not provided. Requires replacement if changed.\n"},"ready":{"type":"boolean","description":"Whether or not the branch is ready to serve queries\n"},"region":{"type":"string","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"},"regionData":{"$ref":"#/types/planetscale:index%2FPostgresBranchRegionData:PostgresBranchRegionData"},"replicas":{"type":"number","description":"The number of replicas for the branch\n"},"restorePoint":{"type":"string","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.\n"},"state":{"type":"string","description":"The current state of the branch\n"},"url":{"type":"string","description":"Planetscale API URL for the branch\n"}},"type":"object"}},"planetscale:index/postgresBranchRole:PostgresBranchRole":{"description":"PostgresBranchRole Resource\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\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(() =\u003e \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\", \u0026planetscale.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\u003c!--End PulumiCodeChooser --\u003e\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","properties":{"accessHostUrl":{"type":"string","description":"The database connection string\n"},"actorData":{"$ref":"#/types/planetscale:index%2FPostgresBranchRoleActorData:PostgresBranchRoleActorData"},"branch":{"type":"string","description":"Branch name from \u003cspan 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`\"\u003e`list_branches`\u003c/span\u003e. Example: \u003cspan pulumi-lang-nodejs=\"`main`\" pulumi-lang-dotnet=\"`Main`\" pulumi-lang-go=\"`main`\" pulumi-lang-python=\"`main`\" pulumi-lang-yaml=\"`main`\" pulumi-lang-java=\"`main`\"\u003e`main`\u003c/span\u003e.\n"},"branchData":{"$ref":"#/types/planetscale:index%2FPostgresBranchRoleBranchData:PostgresBranchRoleBranchData"},"createdAt":{"type":"string","description":"When the role was created\n"},"database":{"type":"string","description":"Database name slug from \u003cspan 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`\"\u003e`list_databases`\u003c/span\u003e. Example: `app-db`.\n"},"databaseName":{"type":"string","description":"The database name\n"},"default":{"type":"boolean","description":"Whether the role is the default postgres user\n"},"deletedAt":{"type":"string","description":"When the role was deleted\n"},"disabledAt":{"type":"string","description":"When the role was disabled\n"},"dropFailed":{"type":"string","description":"Error message available when dropping the role fails\n"},"droppedAt":{"type":"string","description":"When the role was dropped\n"},"expired":{"type":"boolean","description":"True if the credentials are expired\n"},"expiresAt":{"type":"string","description":"When the role expires\n"},"inheritedRoles":{"type":"array","items":{"type":"string"},"description":"Roles to inherit from. Requires replacement if changed.\n"},"name":{"type":"string","description":"The name of the role\n"},"organization":{"type":"string","description":"Organization name slug from \u003cspan 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`\"\u003e`list_organizations`\u003c/span\u003e. Example: \u003cspan pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\"\u003e`acme`\u003c/span\u003e.\n"},"password":{"type":"string","description":"The plain text password, available only after create\n","secret":true},"privateAccessHostUrl":{"type":"string","description":"The database connection string for private connections\n"},"privateConnectionServiceName":{"type":"string","description":"The service name to set up private connectivity\n"},"querySafetySettings":{"$ref":"#/types/planetscale:index%2FPostgresBranchRoleQuerySafetySettings:PostgresBranchRoleQuerySafetySettings"},"successor":{"type":"string","description":"The optional role to reassign ownership to before dropping\n"},"ttl":{"type":"number","description":"Time to live in seconds. Requires replacement if changed.\n"},"updatedAt":{"type":"string","description":"When the role was updated\n"},"username":{"type":"string","description":"The database user name\n"}},"type":"object","required":["accessHostUrl","actorData","branch","branchData","createdAt","database","databaseName","default","deletedAt","disabledAt","dropFailed","droppedAt","expired","expiresAt","inheritedRoles","name","organization","password","privateAccessHostUrl","privateConnectionServiceName","querySafetySettings","ttl","updatedAt","username"],"inputProperties":{"branch":{"type":"string","description":"Branch name from \u003cspan 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`\"\u003e`list_branches`\u003c/span\u003e. Example: \u003cspan pulumi-lang-nodejs=\"`main`\" pulumi-lang-dotnet=\"`Main`\" pulumi-lang-go=\"`main`\" pulumi-lang-python=\"`main`\" pulumi-lang-yaml=\"`main`\" pulumi-lang-java=\"`main`\"\u003e`main`\u003c/span\u003e.\n"},"database":{"type":"string","description":"Database name slug from \u003cspan 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`\"\u003e`list_databases`\u003c/span\u003e. Example: `app-db`.\n"},"inheritedRoles":{"type":"array","items":{"type":"string"},"description":"Roles to inherit from. Requires replacement if changed.\n"},"name":{"type":"string","description":"The name of the role\n"},"organization":{"type":"string","description":"Organization name slug from \u003cspan 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`\"\u003e`list_organizations`\u003c/span\u003e. Example: \u003cspan pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\"\u003e`acme`\u003c/span\u003e.\n"},"successor":{"type":"string","description":"The optional role to reassign ownership to before dropping\n"},"ttl":{"type":"number","description":"Time to live in seconds. Requires replacement if changed.\n"}},"requiredInputs":["branch","database","organization"],"stateInputs":{"description":"Input properties used for looking up and filtering PostgresBranchRole resources.\n","properties":{"accessHostUrl":{"type":"string","description":"The database connection string\n"},"actorData":{"$ref":"#/types/planetscale:index%2FPostgresBranchRoleActorData:PostgresBranchRoleActorData"},"branch":{"type":"string","description":"Branch name from \u003cspan 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`\"\u003e`list_branches`\u003c/span\u003e. Example: \u003cspan pulumi-lang-nodejs=\"`main`\" pulumi-lang-dotnet=\"`Main`\" pulumi-lang-go=\"`main`\" pulumi-lang-python=\"`main`\" pulumi-lang-yaml=\"`main`\" pulumi-lang-java=\"`main`\"\u003e`main`\u003c/span\u003e.\n"},"branchData":{"$ref":"#/types/planetscale:index%2FPostgresBranchRoleBranchData:PostgresBranchRoleBranchData"},"createdAt":{"type":"string","description":"When the role was created\n"},"database":{"type":"string","description":"Database name slug from \u003cspan 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`\"\u003e`list_databases`\u003c/span\u003e. Example: `app-db`.\n"},"databaseName":{"type":"string","description":"The database name\n"},"default":{"type":"boolean","description":"Whether the role is the default postgres user\n"},"deletedAt":{"type":"string","description":"When the role was deleted\n"},"disabledAt":{"type":"string","description":"When the role was disabled\n"},"dropFailed":{"type":"string","description":"Error message available when dropping the role fails\n"},"droppedAt":{"type":"string","description":"When the role was dropped\n"},"expired":{"type":"boolean","description":"True if the credentials are expired\n"},"expiresAt":{"type":"string","description":"When the role expires\n"},"inheritedRoles":{"type":"array","items":{"type":"string"},"description":"Roles to inherit from. Requires replacement if changed.\n"},"name":{"type":"string","description":"The name of the role\n"},"organization":{"type":"string","description":"Organization name slug from \u003cspan 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`\"\u003e`list_organizations`\u003c/span\u003e. Example: \u003cspan pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\"\u003e`acme`\u003c/span\u003e.\n"},"password":{"type":"string","description":"The plain text password, available only after create\n","secret":true},"privateAccessHostUrl":{"type":"string","description":"The database connection string for private connections\n"},"privateConnectionServiceName":{"type":"string","description":"The service name to set up private connectivity\n"},"querySafetySettings":{"$ref":"#/types/planetscale:index%2FPostgresBranchRoleQuerySafetySettings:PostgresBranchRoleQuerySafetySettings"},"successor":{"type":"string","description":"The optional role to reassign ownership to before dropping\n"},"ttl":{"type":"number","description":"Time to live in seconds. Requires replacement if changed.\n"},"updatedAt":{"type":"string","description":"When the role was updated\n"},"username":{"type":"string","description":"The database user name\n"}},"type":"object"}},"planetscale:index/vitessBranch:VitessBranch":{"description":"VitessBranch Resource\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\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});\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```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Planetscale = Pulumi.Planetscale;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n    var myVitessbranch = new Planetscale.VitessBranch(\"my_vitessbranch\", new()\n    {\n        Organization = \"my-organization\",\n        Database = \"ru00w3vqvfr9\",\n        Name = \"my-branch\",\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\", \u0026planetscale.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})\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            .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```\n\u003c!--End PulumiCodeChooser --\u003e\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","properties":{"actor":{"$ref":"#/types/planetscale:index%2FVitessBranchActor:VitessBranchActor"},"backupId":{"type":"string","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"},"clusterSize":{"type":"string","description":"The SKU representing the branch's cluster size\n"},"database":{"type":"string","description":"Database name slug from \u003cspan 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`\"\u003e`list_databases`\u003c/span\u003e. Example: `app-db`.\n"},"htmlUrl":{"type":"string","description":"Planetscale app URL for the branch\n"},"mysqlAddress":{"type":"string","description":"The MySQL address for the branch\n"},"mysqlEdgeAddress":{"type":"string","description":"The address of the MySQL provider for the branch\n"},"name":{"type":"string","description":"The name of the branch to create\n"},"organization":{"type":"string","description":"Organization name slug from \u003cspan 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`\"\u003e`list_organizations`\u003c/span\u003e. Example: \u003cspan pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\"\u003e`acme`\u003c/span\u003e.\n"},"parentBranch":{"type":"string","description":"The name of the parent branch. Defaults to the database's default branch if not provided. Requires replacement if changed.\n"},"ready":{"type":"boolean","description":"Whether or not the branch is ready to serve queries\n"},"region":{"type":"string","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"},"regionData":{"$ref":"#/types/planetscale:index%2FVitessBranchRegionData:VitessBranchRegionData"},"seedData":{"type":"string","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"},"state":{"type":"string","description":"The current state of the branch\n"},"url":{"type":"string","description":"Planetscale API URL for the branch\n"}},"type":"object","required":["actor","clusterSize","database","htmlUrl","mysqlAddress","mysqlEdgeAddress","name","organization","parentBranch","ready","regionData","state","url"],"inputProperties":{"backupId":{"type":"string","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"},"database":{"type":"string","description":"Database name slug from \u003cspan 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`\"\u003e`list_databases`\u003c/span\u003e. Example: `app-db`.\n"},"name":{"type":"string","description":"The name of the branch to create\n"},"organization":{"type":"string","description":"Organization name slug from \u003cspan 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`\"\u003e`list_organizations`\u003c/span\u003e. Example: \u003cspan pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\"\u003e`acme`\u003c/span\u003e.\n"},"parentBranch":{"type":"string","description":"The name of the parent branch. Defaults to the database's default branch if not provided. Requires replacement if changed.\n"},"region":{"type":"string","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"},"seedData":{"type":"string","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"}},"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":{"type":"string","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"},"clusterSize":{"type":"string","description":"The SKU representing the branch's cluster size\n"},"database":{"type":"string","description":"Database name slug from \u003cspan 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`\"\u003e`list_databases`\u003c/span\u003e. Example: `app-db`.\n"},"htmlUrl":{"type":"string","description":"Planetscale app URL for the branch\n"},"mysqlAddress":{"type":"string","description":"The MySQL address for the branch\n"},"mysqlEdgeAddress":{"type":"string","description":"The address of the MySQL provider for the branch\n"},"name":{"type":"string","description":"The name of the branch to create\n"},"organization":{"type":"string","description":"Organization name slug from \u003cspan 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`\"\u003e`list_organizations`\u003c/span\u003e. Example: \u003cspan pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\"\u003e`acme`\u003c/span\u003e.\n"},"parentBranch":{"type":"string","description":"The name of the parent branch. Defaults to the database's default branch if not provided. Requires replacement if changed.\n"},"ready":{"type":"boolean","description":"Whether or not the branch is ready to serve queries\n"},"region":{"type":"string","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"},"regionData":{"$ref":"#/types/planetscale:index%2FVitessBranchRegionData:VitessBranchRegionData"},"seedData":{"type":"string","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"},"state":{"type":"string","description":"The current state of the branch\n"},"url":{"type":"string","description":"Planetscale API URL for the branch\n"}},"type":"object"}},"planetscale:index/vitessBranchPassword:VitessBranchPassword":{"description":"VitessBranchPassword Resource\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\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(() =\u003e \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\", \u0026planetscale.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\u003c!--End PulumiCodeChooser --\u003e\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","properties":{"accessHostRegionalUrl":{"type":"string","description":"The regional host URL\n"},"accessHostRegionalUrls":{"type":"array","items":{"type":"string"},"description":"The read-only replica host URLs\n"},"accessHostUrl":{"type":"string","description":"The host URL for the password\n"},"actor":{"$ref":"#/types/planetscale:index%2FVitessBranchPasswordActor:VitessBranchPasswordActor"},"branch":{"type":"string","description":"The name of the branch the password belongs to\n"},"cidrs":{"type":"array","items":{"type":"string"},"description":"List of IP addresses or CIDR ranges that can use this password\n"},"createdAt":{"type":"string","description":"When the password was created\n"},"database":{"type":"string","description":"The name of the database the password belongs to\n"},"databaseBranch":{"$ref":"#/types/planetscale:index%2FVitessBranchPasswordDatabaseBranch:VitessBranchPasswordDatabaseBranch"},"deletedAt":{"type":"string","description":"When the password was deleted\n"},"directVtgate":{"type":"boolean","description":"Whether the password connects directly to a VTGate. Requires replacement if changed.\n"},"directVtgateAddresses":{"type":"array","items":{"type":"string"},"description":"The list of hosts in each availability zone providing direct access to a vtgate\n"},"expired":{"type":"boolean","description":"True if the credentials are expired\n"},"expiresAt":{"type":"string","description":"When the password will expire\n"},"lastUsedAt":{"type":"string","description":"When the password was last used to execute a query\n"},"name":{"type":"string","description":"Optional name of the password\n"},"organization":{"type":"string","description":"The name of the organization the password belongs to\n"},"plainText":{"type":"string","description":"The plain text password, available only after create\n","secret":true},"region":{"$ref":"#/types/planetscale:index%2FVitessBranchPasswordRegion:VitessBranchPasswordRegion"},"renewable":{"type":"boolean","description":"Whether or not the password can be renewed\n"},"replica":{"type":"boolean","description":"Whether the password is for a read replica. Requires replacement if changed.\n"},"role":{"type":"string","description":"The database role of the password (i.e. admin). must be one of [\"reader\", \"writer\", \"admin\", \"readwriter\"]; Requires replacement if changed.\n"},"ttl":{"type":"number","description":"Time to live (in seconds) for the password. The password will be invalid when TTL has passed. Requires replacement if changed.\n"},"ttlSeconds":{"type":"number","description":"Time to live (in seconds) for the password. The password will be invalid when TTL has passed\n"},"username":{"type":"string","description":"The username for the password\n"}},"type":"object","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"],"inputProperties":{"branch":{"type":"string","description":"The name of the branch the password belongs to\n"},"cidrs":{"type":"array","items":{"type":"string"},"description":"List of IP addresses or CIDR ranges that can use this password\n"},"database":{"type":"string","description":"The name of the database the password belongs to\n"},"directVtgate":{"type":"boolean","description":"Whether the password connects directly to a VTGate. Requires replacement if changed.\n"},"name":{"type":"string","description":"Optional name of the password\n"},"organization":{"type":"string","description":"The name of the organization the password belongs to\n"},"replica":{"type":"boolean","description":"Whether the password is for a read replica. Requires replacement if changed.\n"},"role":{"type":"string","description":"The database role of the password (i.e. admin). must be one of [\"reader\", \"writer\", \"admin\", \"readwriter\"]; Requires replacement if changed.\n"},"ttl":{"type":"number","description":"Time to live (in seconds) for the password. The password will be invalid when TTL has passed. Requires replacement if changed.\n"}},"requiredInputs":["branch","database","organization"],"stateInputs":{"description":"Input properties used for looking up and filtering VitessBranchPassword resources.\n","properties":{"accessHostRegionalUrl":{"type":"string","description":"The regional host URL\n"},"accessHostRegionalUrls":{"type":"array","items":{"type":"string"},"description":"The read-only replica host URLs\n"},"accessHostUrl":{"type":"string","description":"The host URL for the password\n"},"actor":{"$ref":"#/types/planetscale:index%2FVitessBranchPasswordActor:VitessBranchPasswordActor"},"branch":{"type":"string","description":"The name of the branch the password belongs to\n"},"cidrs":{"type":"array","items":{"type":"string"},"description":"List of IP addresses or CIDR ranges that can use this password\n"},"createdAt":{"type":"string","description":"When the password was created\n"},"database":{"type":"string","description":"The name of the database the password belongs to\n"},"databaseBranch":{"$ref":"#/types/planetscale:index%2FVitessBranchPasswordDatabaseBranch:VitessBranchPasswordDatabaseBranch"},"deletedAt":{"type":"string","description":"When the password was deleted\n"},"directVtgate":{"type":"boolean","description":"Whether the password connects directly to a VTGate. Requires replacement if changed.\n"},"directVtgateAddresses":{"type":"array","items":{"type":"string"},"description":"The list of hosts in each availability zone providing direct access to a vtgate\n"},"expired":{"type":"boolean","description":"True if the credentials are expired\n"},"expiresAt":{"type":"string","description":"When the password will expire\n"},"lastUsedAt":{"type":"string","description":"When the password was last used to execute a query\n"},"name":{"type":"string","description":"Optional name of the password\n"},"organization":{"type":"string","description":"The name of the organization the password belongs to\n"},"plainText":{"type":"string","description":"The plain text password, available only after create\n","secret":true},"region":{"$ref":"#/types/planetscale:index%2FVitessBranchPasswordRegion:VitessBranchPasswordRegion"},"renewable":{"type":"boolean","description":"Whether or not the password can be renewed\n"},"replica":{"type":"boolean","description":"Whether the password is for a read replica. Requires replacement if changed.\n"},"role":{"type":"string","description":"The database role of the password (i.e. admin). must be one of [\"reader\", \"writer\", \"admin\", \"readwriter\"]; Requires replacement if changed.\n"},"ttl":{"type":"number","description":"Time to live (in seconds) for the password. The password will be invalid when TTL has passed. Requires replacement if changed.\n"},"ttlSeconds":{"type":"number","description":"Time to live (in seconds) for the password. The password will be invalid when TTL has passed\n"},"username":{"type":"string","description":"The username for the password\n"}},"type":"object"}}},"functions":{"planetscale:index/getDatabasePostgres:getDatabasePostgres":{"description":"DatabasePostgres DataSource\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\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(() =\u003e \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, \u0026planetscale.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\u003c!--End PulumiCodeChooser --\u003e\n","inputs":{"description":"A collection of arguments for invoking getDatabasePostgres.\n","properties":{"id":{"type":"string","description":"The ID of the database\n"},"organization":{"type":"string","description":"Organization name slug from \u003cspan 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`\"\u003e`list_organizations`\u003c/span\u003e. Example: \u003cspan pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\"\u003e`acme`\u003c/span\u003e.\n"}},"type":"object","required":["id","organization"]},"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"},"dataImport":{"$ref":"#/types/planetscale:index%2FgetDatabasePostgresDataImport:getDatabasePostgresDataImport"},"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 \u003cspan 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`\"\u003e`list_organizations`\u003c/span\u003e. Example: \u003cspan pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\"\u003e`acme`\u003c/span\u003e.\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","dataImport","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\u003c!--Start PulumiCodeChooser --\u003e\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(() =\u003e \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, \u0026planetscale.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\u003c!--End PulumiCodeChooser --\u003e\n","inputs":{"description":"A collection of arguments for invoking getDatabaseVitess.\n","properties":{"id":{"type":"string","description":"The ID of the database\n"},"organization":{"type":"string","description":"Organization name slug from \u003cspan 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`\"\u003e`list_organizations`\u003c/span\u003e. Example: \u003cspan pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\"\u003e`acme`\u003c/span\u003e.\n"}},"type":"object","required":["id","organization"]},"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"},"dataImport":{"$ref":"#/types/planetscale:index%2FgetDatabaseVitessDataImport:getDatabaseVitessDataImport"},"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 \u003cspan 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`\"\u003e`list_organizations`\u003c/span\u003e. Example: \u003cspan pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\"\u003e`acme`\u003c/span\u003e.\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","dataImport","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\u003c!--Start PulumiCodeChooser --\u003e\n```typescript\nimport * as pulumi from \"@pulumi/pulumi\";\nimport * as planetscale from \"@pulumi/planetscale\";\n\nconst myDatabases = planetscale.getDatabases({\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(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(() =\u003e \n{\n    var myDatabases = Planetscale.GetDatabases.Invoke(new()\n    {\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, \u0026planetscale.GetDatabasesArgs{\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            .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        organization: '...my_organization...'\n        q: '...my_q...'\n```\n\u003c!--End PulumiCodeChooser --\u003e\n","inputs":{"description":"A collection of arguments for invoking getDatabases.\n","properties":{"organization":{"type":"string","description":"Organization name slug from \u003cspan 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`\"\u003e`list_organizations`\u003c/span\u003e. Example: \u003cspan pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\"\u003e`acme`\u003c/span\u003e.\n"},"q":{"type":"string","description":"Search term to filter databases by name\n"}},"type":"object","required":["organization"]},"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"},"organization":{"description":"Organization name slug from \u003cspan 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`\"\u003e`list_organizations`\u003c/span\u003e. Example: \u003cspan pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\"\u003e`acme`\u003c/span\u003e.\n","type":"string"},"q":{"description":"Search term to filter databases by name\n","type":"string"}},"required":["datas","id","organization"],"type":"object"}},"planetscale:index/getOrganization:getOrganization":{"description":"Organization DataSource\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\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(() =\u003e \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, \u0026planetscale.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\u003c!--End PulumiCodeChooser --\u003e\n","inputs":{"description":"A collection of arguments for invoking getOrganization.\n","properties":{"organization":{"type":"string","description":"Organization name slug from \u003cspan 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`\"\u003e`list_organizations`\u003c/span\u003e. Example: \u003cspan pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\"\u003e`acme`\u003c/span\u003e.\n"}},"type":"object","required":["organization"]},"outputs":{"description":"A collection of values returned by getOrganization.\n","properties":{"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"},"managedTenancy":{"description":"Whether or not the organization has managed tenancy enabled\n","type":"boolean"},"name":{"description":"The name of the organization\n","type":"string"},"organization":{"description":"Organization name slug from \u003cspan 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`\"\u003e`list_organizations`\u003c/span\u003e. Example: \u003cspan pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\"\u003e`acme`\u003c/span\u003e.\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":["billingEmail","createdAt","databaseCount","features","hasCard","hasPastDueInvoices","id","idpManagedRoles","invoiceBudgetAmount","keyspaceShardLimit","managedTenancy","name","organization","paymentInfoRequired","plan","singleTenancy","sso","ssoDirectory","ssoPortalUrl","updatedAt","validBillingInfo"],"type":"object"}},"planetscale:index/getOrganizations:getOrganizations":{"description":"Organizations DataSource\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\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(() =\u003e \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\u003c!--End PulumiCodeChooser --\u003e\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"}},"required":["datas","id"],"type":"object"}},"planetscale:index/getPostgresBranch:getPostgresBranch":{"description":"PostgresBranch DataSource\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\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(() =\u003e \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, \u0026planetscale.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\u003c!--End PulumiCodeChooser --\u003e\n","inputs":{"description":"A collection of arguments for invoking getPostgresBranch.\n","properties":{"database":{"type":"string","description":"Database name slug from \u003cspan 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`\"\u003e`list_databases`\u003c/span\u003e. Example: `app-db`.\n"},"id":{"type":"string","description":"The ID of the branch\n"},"organization":{"type":"string","description":"Organization name slug from \u003cspan 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`\"\u003e`list_organizations`\u003c/span\u003e. Example: \u003cspan pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\"\u003e`acme`\u003c/span\u003e.\n"}},"type":"object","required":["database","id","organization"]},"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 \u003cspan 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`\"\u003e`list_databases`\u003c/span\u003e. Example: `app-db`.\n","type":"string"},"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 \u003cspan 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`\"\u003e`list_organizations`\u003c/span\u003e. Example: \u003cspan pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\"\u003e`acme`\u003c/span\u003e.\n","type":"string"},"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%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"},"url":{"description":"Planetscale API URL for the branch\n","type":"string"}},"required":["actor","clusterSize","database","htmlUrl","id","name","organization","parentBranch","ready","regionData","replicas","state","url"],"type":"object"}},"planetscale:index/getPostgresBranchRole:getPostgresBranchRole":{"description":"PostgresBranchRole DataSource\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\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(() =\u003e \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, \u0026planetscale.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\u003c!--End PulumiCodeChooser --\u003e\n","inputs":{"description":"A collection of arguments for invoking getPostgresBranchRole.\n","properties":{"branch":{"type":"string","description":"Branch name from \u003cspan 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`\"\u003e`list_branches`\u003c/span\u003e. Example: \u003cspan pulumi-lang-nodejs=\"`main`\" pulumi-lang-dotnet=\"`Main`\" pulumi-lang-go=\"`main`\" pulumi-lang-python=\"`main`\" pulumi-lang-yaml=\"`main`\" pulumi-lang-java=\"`main`\"\u003e`main`\u003c/span\u003e.\n"},"database":{"type":"string","description":"Database name slug from \u003cspan 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`\"\u003e`list_databases`\u003c/span\u003e. Example: `app-db`.\n"},"id":{"type":"string","description":"The ID of the role\n"},"organization":{"type":"string","description":"Organization name slug from \u003cspan 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`\"\u003e`list_organizations`\u003c/span\u003e. Example: \u003cspan pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\"\u003e`acme`\u003c/span\u003e.\n"}},"type":"object","required":["branch","database","id","organization"]},"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"},"branch":{"description":"Branch name from \u003cspan 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`\"\u003e`list_branches`\u003c/span\u003e. Example: \u003cspan pulumi-lang-nodejs=\"`main`\" pulumi-lang-dotnet=\"`Main`\" pulumi-lang-go=\"`main`\" pulumi-lang-python=\"`main`\" pulumi-lang-yaml=\"`main`\" pulumi-lang-java=\"`main`\"\u003e`main`\u003c/span\u003e.\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 \u003cspan 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`\"\u003e`list_databases`\u003c/span\u003e. 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 \u003cspan 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`\"\u003e`list_organizations`\u003c/span\u003e. Example: \u003cspan pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\"\u003e`acme`\u003c/span\u003e.\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"}},"required":["accessHostUrl","actorData","branch","branchData","createdAt","database","databaseName","default","deletedAt","disabledAt","dropFailed","droppedAt","expired","expiresAt","id","inheritedRoles","name","organization","privateAccessHostUrl","privateConnectionServiceName","querySafetySettings","ttl","updatedAt","username"],"type":"object"}},"planetscale:index/getPostgresBranchRoles:getPostgresBranchRoles":{"description":"PostgresBranchRoles DataSource\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\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});\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```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Planetscale = Pulumi.Planetscale;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n    var myPostgresbranchroles = Planetscale.GetPostgresBranchRoles.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.GetPostgresBranchRoles(ctx, \u0026planetscale.GetPostgresBranchRolesArgs{\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.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            .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```\n\u003c!--End PulumiCodeChooser --\u003e\n","inputs":{"description":"A collection of arguments for invoking getPostgresBranchRoles.\n","properties":{"branch":{"type":"string","description":"Branch name from \u003cspan 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`\"\u003e`list_branches`\u003c/span\u003e. Example: \u003cspan pulumi-lang-nodejs=\"`main`\" pulumi-lang-dotnet=\"`Main`\" pulumi-lang-go=\"`main`\" pulumi-lang-python=\"`main`\" pulumi-lang-yaml=\"`main`\" pulumi-lang-java=\"`main`\"\u003e`main`\u003c/span\u003e.\n"},"database":{"type":"string","description":"Database name slug from \u003cspan 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`\"\u003e`list_databases`\u003c/span\u003e. Example: `app-db`.\n"},"organization":{"type":"string","description":"Organization name slug from \u003cspan 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`\"\u003e`list_organizations`\u003c/span\u003e. Example: \u003cspan pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\"\u003e`acme`\u003c/span\u003e.\n"}},"type":"object","required":["branch","database","organization"]},"outputs":{"description":"A collection of values returned by getPostgresBranchRoles.\n","properties":{"branch":{"description":"Branch name from \u003cspan 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`\"\u003e`list_branches`\u003c/span\u003e. Example: \u003cspan pulumi-lang-nodejs=\"`main`\" pulumi-lang-dotnet=\"`Main`\" pulumi-lang-go=\"`main`\" pulumi-lang-python=\"`main`\" pulumi-lang-yaml=\"`main`\" pulumi-lang-java=\"`main`\"\u003e`main`\u003c/span\u003e.\n","type":"string"},"database":{"description":"Database name slug from \u003cspan 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`\"\u003e`list_databases`\u003c/span\u003e. 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 \u003cspan 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`\"\u003e`list_organizations`\u003c/span\u003e. Example: \u003cspan pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\"\u003e`acme`\u003c/span\u003e.\n","type":"string"}},"required":["branch","database","datas","id","organization"],"type":"object"}},"planetscale:index/getVitessBranch:getVitessBranch":{"description":"VitessBranch DataSource\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\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(() =\u003e \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, \u0026planetscale.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\u003c!--End PulumiCodeChooser --\u003e\n","inputs":{"description":"A collection of arguments for invoking getVitessBranch.\n","properties":{"database":{"type":"string","description":"Database name slug from \u003cspan 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`\"\u003e`list_databases`\u003c/span\u003e. Example: `app-db`.\n"},"id":{"type":"string","description":"The ID of the branch\n"},"organization":{"type":"string","description":"Organization name slug from \u003cspan 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`\"\u003e`list_organizations`\u003c/span\u003e. Example: \u003cspan pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\"\u003e`acme`\u003c/span\u003e.\n"}},"type":"object","required":["database","id","organization"]},"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 \u003cspan 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`\"\u003e`list_databases`\u003c/span\u003e. Example: `app-db`.\n","type":"string"},"htmlUrl":{"description":"Planetscale app URL for the branch\n","type":"string"},"id":{"description":"The ID of the branch\n","type":"string"},"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 \u003cspan 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`\"\u003e`list_organizations`\u003c/span\u003e. Example: \u003cspan pulumi-lang-nodejs=\"`acme`\" pulumi-lang-dotnet=\"`Acme`\" pulumi-lang-go=\"`acme`\" pulumi-lang-python=\"`acme`\" pulumi-lang-yaml=\"`acme`\" pulumi-lang-java=\"`acme`\"\u003e`acme`\u003c/span\u003e.\n","type":"string"},"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"},"state":{"description":"The current state of the branch\n","type":"string"},"url":{"description":"Planetscale API URL for the branch\n","type":"string"}},"required":["actor","clusterSize","database","htmlUrl","id","mysqlAddress","mysqlEdgeAddress","name","organization","parentBranch","ready","regionData","state","url"],"type":"object"}},"planetscale:index/getVitessBranchPassword:getVitessBranchPassword":{"description":"VitessBranchPassword DataSource\n\n## Example Usage\n\n\u003c!--Start PulumiCodeChooser --\u003e\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(() =\u003e \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, \u0026planetscale.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\u003c!--End PulumiCodeChooser --\u003e\n","inputs":{"description":"A collection of arguments for invoking getVitessBranchPassword.\n","properties":{"branch":{"type":"string","description":"The name of the branch the password belongs to\n"},"database":{"type":"string","description":"The name of the database the password belongs to\n"},"id":{"type":"string","description":"The ID for the password\n"},"organization":{"type":"string","description":"The name of the organization the password belongs to\n"}},"type":"object","required":["branch","database","id","organization"]},"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\u003c!--Start PulumiCodeChooser --\u003e\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    readOnlyRegionId: \"...my_read_only_region_id...\",\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    read_only_region_id=\"...my_read_only_region_id...\")\n```\n```csharp\nusing System.Collections.Generic;\nusing System.Linq;\nusing Pulumi;\nusing Planetscale = Pulumi.Planetscale;\n\nreturn await Deployment.RunAsync(() =\u003e \n{\n    var myVitessbranchpasswords = Planetscale.GetVitessBranchPasswords.Invoke(new()\n    {\n        Branch = \"...my_branch...\",\n        Database = \"...my_database...\",\n        Organization = \"...my_organization...\",\n        ReadOnlyRegionId = \"...my_read_only_region_id...\",\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, \u0026planetscale.GetVitessBranchPasswordsArgs{\n\t\t\tBranch:           \"...my_branch...\",\n\t\t\tDatabase:         \"...my_database...\",\n\t\t\tOrganization:     \"...my_organization...\",\n\t\t\tReadOnlyRegionId: pulumi.StringRef(\"...my_read_only_region_id...\"),\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            .readOnlyRegionId(\"...my_read_only_region_id...\")\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        readOnlyRegionId: '...my_read_only_region_id...'\n```\n\u003c!--End PulumiCodeChooser --\u003e\n","inputs":{"description":"A collection of arguments for invoking getVitessBranchPasswords.\n","properties":{"branch":{"type":"string","description":"The name of the branch the password belongs to\n"},"database":{"type":"string","description":"The name of the database the password belongs to\n"},"organization":{"type":"string","description":"The name of the organization the password belongs to\n"},"readOnlyRegionId":{"type":"string","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":"object","required":["branch","database","organization"]},"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"},"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"}},"required":["branch","database","datas","id","organization"],"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"}},"type":"object","required":["__self__"]},"outputs":{"properties":{"result":{"additionalProperties":{"$ref":"pulumi.json#/Any"},"type":"object"}},"required":["result"],"type":"object"}}},"parameterization":{"baseProvider":{"name":"terraform-provider","version":"1.0.1"},"parameter":"eyJyZW1vdGUiOnsidXJsIjoicmVnaXN0cnkub3BlbnRvZnUub3JnL3BsYW5ldHNjYWxlL3BsYW5ldHNjYWxlIiwidmVyc2lvbiI6IjEuMC4wIn19"}}