import * as pulumi from "@pulumi/pulumi"; import * as inputs from "./types/input"; import * as outputs from "./types/output"; /** * The Organizations feature represents a broad update to the Auth0 platform that allows our business-to-business (B2B) customers to better manage their partners and customers, and to customize the ways that end-users access their applications. Auth0 customers can use Organizations to: * * - Represent their business customers and partners in Auth0 and manage their * membership. * - Configure branded, federated login flows for each business. * - Build administration capabilities into their products, using Organizations * APIs, so that those businesses can manage their own organizations. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as auth0 from "@pulumi/auth0"; * * const myOrganization = new auth0.Organization("my_organization", { * name: "auth0-inc", * displayName: "Auth0 Inc.", * branding: { * logoUrl: "https://example.com/assets/icons/icon.png", * colors: { * primary: "#f2f2f2", * page_background: "#e1e1e1", * }, * }, * }); * ``` * * ## Import * * This resource can be imported by specifying the organization ID. * * Example: * * ```sh * $ pulumi import auth0:index/organization:Organization my_organization "org_XXXXXXXXXXXXXX" * ``` */ export declare class Organization extends pulumi.CustomResource { /** * Get an existing Organization resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: OrganizationState, opts?: pulumi.CustomResourceOptions): Organization; /** * Returns true if the given object is an instance of Organization. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is Organization; /** * Defines how to style the login pages. */ readonly branding: pulumi.Output; /** * Friendly name of this organization. */ readonly displayName: pulumi.Output; /** * Metadata associated with the organization. Maximum of 10 metadata properties allowed. */ readonly metadata: pulumi.Output<{ [key: string]: string; } | undefined>; /** * The name of this organization. */ readonly name: pulumi.Output; /** * The token quota configuration. */ readonly tokenQuota: pulumi.Output; /** * Create a Organization resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args?: OrganizationArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering Organization resources. */ export interface OrganizationState { /** * Defines how to style the login pages. */ branding?: pulumi.Input; /** * Friendly name of this organization. */ displayName?: pulumi.Input; /** * Metadata associated with the organization. Maximum of 10 metadata properties allowed. */ metadata?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * The name of this organization. */ name?: pulumi.Input; /** * The token quota configuration. */ tokenQuota?: pulumi.Input; } /** * The set of arguments for constructing a Organization resource. */ export interface OrganizationArgs { /** * Defines how to style the login pages. */ branding?: pulumi.Input; /** * Friendly name of this organization. */ displayName?: pulumi.Input; /** * Metadata associated with the organization. Maximum of 10 metadata properties allowed. */ metadata?: pulumi.Input<{ [key: string]: pulumi.Input; }>; /** * The name of this organization. */ name?: pulumi.Input; /** * The token quota configuration. */ tokenQuota?: pulumi.Input; }