UNPKG

@pulumi/pulumiservice

Version:

[![Slack](http://www.pulumi.com/images/docs/badges/slack.svg)](https://slack.pulumi.com) [![NPM version](https://badge.fury.io/js/%40pulumi%2Fpulumiservice.svg)](https://www.npmjs.com/package/@pulumi/pulumiservice) [![Python version](https://badge.fury.io

50 lines 2.26 kB
import * as pulumi from "@pulumi/pulumi"; /** * UpdateDefaultOrganization sets the default organization for the current user. */ export declare class DefaultOrganization extends pulumi.CustomResource { /** * Get an existing DefaultOrganization 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 opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input<pulumi.ID>, opts?: pulumi.CustomResourceOptions): DefaultOrganization; /** * Returns true if the given object is an instance of DefaultOrganization. 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 DefaultOrganization; /** * Returns the organization name. Can be an empty string, if the user is a member of no organizations */ readonly GitHubLogin: pulumi.Output<string>; /** * Messages is a list of messages that should be displayed to the user that contextualize * the default org; for example: warning new users if their default org as returned by the * service is on an expiring trial and not free tier, with possible recommendations * on how to configure their default org locally. * Can be possibly empty. */ readonly Messages: pulumi.Output<any[]>; /** * Create a DefaultOrganization 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: DefaultOrganizationArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a DefaultOrganization resource. */ export interface DefaultOrganizationArgs { /** * The organization name */ orgName: pulumi.Input<string>; } //# sourceMappingURL=defaultOrganization.d.ts.map