EnterpriseOrganization

class EnterpriseOrganization : KotlinCustomResource

This resource allows you to create and manage a GitHub enterprise organization.

Example Usage

package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.github.EnterpriseOrganization;
import com.pulumi.github.EnterpriseOrganizationArgs;
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) {
var org = new EnterpriseOrganization("org", EnterpriseOrganizationArgs.builder()
.enterpriseId(data.github_enterprise().enterprise().id())
.displayName("Some Awesome Org")
.description("Organization created with terraform")
.billingEmail("jon@winteriscoming.com")
.adminLogins("jon-snow")
.build());
}
}

Import

GitHub Enterprise Organization can be imported using the slug of the enterprise, combined with the orgname of the organization, separated by a / character.

$ pulumi import github:index/enterpriseOrganization:EnterpriseOrganization org enterp/some-awesome-org

Properties

Link copied to clipboard
val adminLogins: Output<List<String>>

List of organization owner usernames.

Link copied to clipboard
val billingEmail: Output<String>

The billing email address.

Link copied to clipboard
val description: Output<String>?

The description of the organization.

Link copied to clipboard
val displayName: Output<String>?

The display name of the organization.

Link copied to clipboard
val enterpriseId: Output<String>

The ID of the enterprise.

Link copied to clipboard
val id: Output<String>
Link copied to clipboard
val name: Output<String>

The name of the organization.

Link copied to clipboard
val pulumiChildResources: Set<KotlinResource>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val urn: Output<String>