Viewing docs for planetscale 1.0.0
published on Monday, Mar 2, 2026 by planetscale
published on Monday, Mar 2, 2026 by planetscale
Viewing docs for planetscale 1.0.0
published on Monday, Mar 2, 2026 by planetscale
published on Monday, Mar 2, 2026 by planetscale
Organization DataSource
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as planetscale from "@pulumi/planetscale";
const myOrganization = planetscale.getOrganization({
organization: "...my_organization...",
});
import pulumi
import pulumi_planetscale as planetscale
my_organization = planetscale.get_organization(organization="...my_organization...")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/planetscale/planetscale"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := planetscale.GetOrganization(ctx, &planetscale.GetOrganizationArgs{
Organization: "...my_organization...",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Planetscale = Pulumi.Planetscale;
return await Deployment.RunAsync(() =>
{
var myOrganization = Planetscale.GetOrganization.Invoke(new()
{
Organization = "...my_organization...",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.planetscale.PlanetscaleFunctions;
import com.pulumi.planetscale.inputs.GetOrganizationArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var myOrganization = PlanetscaleFunctions.getOrganization(GetOrganizationArgs.builder()
.organization("...my_organization...")
.build());
}
}
variables:
myOrganization:
fn::invoke:
function: planetscale:getOrganization
arguments:
organization: '...my_organization...'
Using getOrganization
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getOrganization(args: GetOrganizationArgs, opts?: InvokeOptions): Promise<GetOrganizationResult>
function getOrganizationOutput(args: GetOrganizationOutputArgs, opts?: InvokeOptions): Output<GetOrganizationResult>def get_organization(organization: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetOrganizationResult
def get_organization_output(organization: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetOrganizationResult]func GetOrganization(ctx *Context, args *GetOrganizationArgs, opts ...InvokeOption) (*GetOrganizationResult, error)
func GetOrganizationOutput(ctx *Context, args *GetOrganizationOutputArgs, opts ...InvokeOption) GetOrganizationResultOutput> Note: This function is named GetOrganization in the Go SDK.
public static class GetOrganization
{
public static Task<GetOrganizationResult> InvokeAsync(GetOrganizationArgs args, InvokeOptions? opts = null)
public static Output<GetOrganizationResult> Invoke(GetOrganizationInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<GetOrganizationResult> getOrganization(GetOrganizationArgs args, InvokeOptions options)
public static Output<GetOrganizationResult> getOrganization(GetOrganizationArgs args, InvokeOptions options)
fn::invoke:
function: planetscale:index/getOrganization:getOrganization
arguments:
# arguments dictionaryThe following arguments are supported:
- Organization string
- Organization name slug from
list_organizations. Example:acme.
- Organization string
- Organization name slug from
list_organizations. Example:acme.
- organization String
- Organization name slug from
list_organizations. Example:acme.
- organization string
- Organization name slug from
list_organizations. Example:acme.
- organization str
- Organization name slug from
list_organizations. Example:acme.
- organization String
- Organization name slug from
list_organizations. Example:acme.
getOrganization Result
The following output properties are available:
- Billing
Email string - The billing email of the organization
- Created
At string - When the organization was created
- Database
Count double - The number of databases in the organization
- Features Dictionary<string, string>
- Features that can be enabled on the organization
- Has
Card bool - Whether or not the organization has a payment method on file
- Has
Past boolDue Invoices - Whether or not the organization has past due billing invoices
- Id string
- The ID for the organization
- Idp
Managed boolRoles - Whether or not the IdP provider is be responsible for managing roles in PlanetScale
- Invoice
Budget stringAmount - The expected monthly budget for the organization
- Keyspace
Shard doubleLimit - The keyspace shard limit for the organization
- Managed
Tenancy bool - Whether or not the organization has managed tenancy enabled
- Name string
- The name of the organization
- Organization string
- Organization name slug from
list_organizations. Example:acme. - Payment
Info boolRequired - Whether or not the organization requires payment information
- Plan string
- The billing plan of the organization
- Single
Tenancy bool - Whether or not the organization has single tenancy enabled
- Sso bool
- Whether or not SSO is enabled on the organization
- Sso
Directory bool - Whether or not the organization uses an SSO directory
- Sso
Portal stringUrl - The URL of the organization's SSO portal
- Updated
At string - When the organization was last updated
- Valid
Billing boolInfo - Whether or not the organization's billing information is valid
- Billing
Email string - The billing email of the organization
- Created
At string - When the organization was created
- Database
Count float64 - The number of databases in the organization
- Features map[string]string
- Features that can be enabled on the organization
- Has
Card bool - Whether or not the organization has a payment method on file
- Has
Past boolDue Invoices - Whether or not the organization has past due billing invoices
- Id string
- The ID for the organization
- Idp
Managed boolRoles - Whether or not the IdP provider is be responsible for managing roles in PlanetScale
- Invoice
Budget stringAmount - The expected monthly budget for the organization
- Keyspace
Shard float64Limit - The keyspace shard limit for the organization
- Managed
Tenancy bool - Whether or not the organization has managed tenancy enabled
- Name string
- The name of the organization
- Organization string
- Organization name slug from
list_organizations. Example:acme. - Payment
Info boolRequired - Whether or not the organization requires payment information
- Plan string
- The billing plan of the organization
- Single
Tenancy bool - Whether or not the organization has single tenancy enabled
- Sso bool
- Whether or not SSO is enabled on the organization
- Sso
Directory bool - Whether or not the organization uses an SSO directory
- Sso
Portal stringUrl - The URL of the organization's SSO portal
- Updated
At string - When the organization was last updated
- Valid
Billing boolInfo - Whether or not the organization's billing information is valid
- billing
Email String - The billing email of the organization
- created
At String - When the organization was created
- database
Count Double - The number of databases in the organization
- features Map<String,String>
- Features that can be enabled on the organization
- has
Card Boolean - Whether or not the organization has a payment method on file
- has
Past BooleanDue Invoices - Whether or not the organization has past due billing invoices
- id String
- The ID for the organization
- idp
Managed BooleanRoles - Whether or not the IdP provider is be responsible for managing roles in PlanetScale
- invoice
Budget StringAmount - The expected monthly budget for the organization
- keyspace
Shard DoubleLimit - The keyspace shard limit for the organization
- managed
Tenancy Boolean - Whether or not the organization has managed tenancy enabled
- name String
- The name of the organization
- organization String
- Organization name slug from
list_organizations. Example:acme. - payment
Info BooleanRequired - Whether or not the organization requires payment information
- plan String
- The billing plan of the organization
- single
Tenancy Boolean - Whether or not the organization has single tenancy enabled
- sso Boolean
- Whether or not SSO is enabled on the organization
- sso
Directory Boolean - Whether or not the organization uses an SSO directory
- sso
Portal StringUrl - The URL of the organization's SSO portal
- updated
At String - When the organization was last updated
- valid
Billing BooleanInfo - Whether or not the organization's billing information is valid
- billing
Email string - The billing email of the organization
- created
At string - When the organization was created
- database
Count number - The number of databases in the organization
- features {[key: string]: string}
- Features that can be enabled on the organization
- has
Card boolean - Whether or not the organization has a payment method on file
- has
Past booleanDue Invoices - Whether or not the organization has past due billing invoices
- id string
- The ID for the organization
- idp
Managed booleanRoles - Whether or not the IdP provider is be responsible for managing roles in PlanetScale
- invoice
Budget stringAmount - The expected monthly budget for the organization
- keyspace
Shard numberLimit - The keyspace shard limit for the organization
- managed
Tenancy boolean - Whether or not the organization has managed tenancy enabled
- name string
- The name of the organization
- organization string
- Organization name slug from
list_organizations. Example:acme. - payment
Info booleanRequired - Whether or not the organization requires payment information
- plan string
- The billing plan of the organization
- single
Tenancy boolean - Whether or not the organization has single tenancy enabled
- sso boolean
- Whether or not SSO is enabled on the organization
- sso
Directory boolean - Whether or not the organization uses an SSO directory
- sso
Portal stringUrl - The URL of the organization's SSO portal
- updated
At string - When the organization was last updated
- valid
Billing booleanInfo - Whether or not the organization's billing information is valid
- billing_
email str - The billing email of the organization
- created_
at str - When the organization was created
- database_
count float - The number of databases in the organization
- features Mapping[str, str]
- Features that can be enabled on the organization
- has_
card bool - Whether or not the organization has a payment method on file
- has_
past_ booldue_ invoices - Whether or not the organization has past due billing invoices
- id str
- The ID for the organization
- idp_
managed_ boolroles - Whether or not the IdP provider is be responsible for managing roles in PlanetScale
- invoice_
budget_ stramount - The expected monthly budget for the organization
- keyspace_
shard_ floatlimit - The keyspace shard limit for the organization
- managed_
tenancy bool - Whether or not the organization has managed tenancy enabled
- name str
- The name of the organization
- organization str
- Organization name slug from
list_organizations. Example:acme. - payment_
info_ boolrequired - Whether or not the organization requires payment information
- plan str
- The billing plan of the organization
- single_
tenancy bool - Whether or not the organization has single tenancy enabled
- sso bool
- Whether or not SSO is enabled on the organization
- sso_
directory bool - Whether or not the organization uses an SSO directory
- sso_
portal_ strurl - The URL of the organization's SSO portal
- updated_
at str - When the organization was last updated
- valid_
billing_ boolinfo - Whether or not the organization's billing information is valid
- billing
Email String - The billing email of the organization
- created
At String - When the organization was created
- database
Count Number - The number of databases in the organization
- features Map<String>
- Features that can be enabled on the organization
- has
Card Boolean - Whether or not the organization has a payment method on file
- has
Past BooleanDue Invoices - Whether or not the organization has past due billing invoices
- id String
- The ID for the organization
- idp
Managed BooleanRoles - Whether or not the IdP provider is be responsible for managing roles in PlanetScale
- invoice
Budget StringAmount - The expected monthly budget for the organization
- keyspace
Shard NumberLimit - The keyspace shard limit for the organization
- managed
Tenancy Boolean - Whether or not the organization has managed tenancy enabled
- name String
- The name of the organization
- organization String
- Organization name slug from
list_organizations. Example:acme. - payment
Info BooleanRequired - Whether or not the organization requires payment information
- plan String
- The billing plan of the organization
- single
Tenancy Boolean - Whether or not the organization has single tenancy enabled
- sso Boolean
- Whether or not SSO is enabled on the organization
- sso
Directory Boolean - Whether or not the organization uses an SSO directory
- sso
Portal StringUrl - The URL of the organization's SSO portal
- updated
At String - When the organization was last updated
- valid
Billing BooleanInfo - Whether or not the organization's billing information is valid
Package Details
- Repository
- planetscale planetscale/terraform-provider-planetscale
- License
- Notes
- This Pulumi package is based on the
planetscaleTerraform Provider.
Viewing docs for planetscale 1.0.0
published on Monday, Mar 2, 2026 by planetscale
published on Monday, Mar 2, 2026 by planetscale
