import * as pulumi from "@pulumi/pulumi"; /** * This resource allows you to create and manage a GitHub enterprise organization. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as github from "@pulumi/github"; * * const org = new github.EnterpriseOrganization("org", { * enterpriseId: enterprise.id, * name: "some-awesome-org", * displayName: "Some Awesome Org", * description: "Organization created with terraform", * billingEmail: "jon@winteriscoming.com", * adminLogins: ["jon-snow"], * }); * ``` * * ## Import * * GitHub Enterprise Organization can be imported using the `slug` of the enterprise, combined with the `orgname` of the organization, separated by a `/` character. * * ```sh * $ pulumi import github:index/enterpriseOrganization:EnterpriseOrganization org enterp/some-awesome-org * ``` */ export declare class EnterpriseOrganization extends pulumi.CustomResource { /** * Get an existing EnterpriseOrganization 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?: EnterpriseOrganizationState, opts?: pulumi.CustomResourceOptions): EnterpriseOrganization; /** * Returns true if the given object is an instance of EnterpriseOrganization. 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 EnterpriseOrganization; /** * List of organization owner usernames. */ readonly adminLogins: pulumi.Output; /** * The billing email address. */ readonly billingEmail: pulumi.Output; /** * The ID of the organization. */ readonly databaseId: pulumi.Output; /** * The description of the organization. */ readonly description: pulumi.Output; /** * The display name of the organization. */ readonly displayName: pulumi.Output; /** * The ID of the enterprise. */ readonly enterpriseId: pulumi.Output; /** * The name of the organization. */ readonly name: pulumi.Output; /** * Create a EnterpriseOrganization 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: EnterpriseOrganizationArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering EnterpriseOrganization resources. */ export interface EnterpriseOrganizationState { /** * List of organization owner usernames. */ adminLogins?: pulumi.Input[]>; /** * The billing email address. */ billingEmail?: pulumi.Input; /** * The ID of the organization. */ databaseId?: pulumi.Input; /** * The description of the organization. */ description?: pulumi.Input; /** * The display name of the organization. */ displayName?: pulumi.Input; /** * The ID of the enterprise. */ enterpriseId?: pulumi.Input; /** * The name of the organization. */ name?: pulumi.Input; } /** * The set of arguments for constructing a EnterpriseOrganization resource. */ export interface EnterpriseOrganizationArgs { /** * List of organization owner usernames. */ adminLogins: pulumi.Input[]>; /** * The billing email address. */ billingEmail: pulumi.Input; /** * The description of the organization. */ description?: pulumi.Input; /** * The display name of the organization. */ displayName?: pulumi.Input; /** * The ID of the enterprise. */ enterpriseId: pulumi.Input; /** * The name of the organization. */ name?: pulumi.Input; }