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

98 lines 3.45 kB
import * as pulumi from "@pulumi/pulumi"; /** * CreatePulumiTeam creates a "Pulumi" team, i.e. one whose membership is managed by Pulumi. * (As opposed to a GitHub or GitLab-based team.) */ export declare class Team extends pulumi.CustomResource { /** * Get an existing Team 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): Team; /** * Returns true if the given object is an instance of Team. 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 Team; /** * The list of account permissions granted to the team. */ readonly accounts: pulumi.Output<any[] | undefined>; /** * A free-form text description of the team's purpose. */ readonly description: pulumi.Output<string>; /** * The human-readable display name shown in the UI. */ readonly displayName: pulumi.Output<string>; /** * The list of environment settings for the team. */ readonly environments: pulumi.Output<any[] | undefined>; /** * The kind of team (e.g., pulumi or GitHub-backed). */ readonly kind: pulumi.Output<string>; /** * ListMembersError is the error message if an error was encountered whilst trying to * contact the team's backend (eg. GitHub). The UI will only show this error if it is non-nil * and if Members itself is an empty slice. */ readonly listMembersError: pulumi.Output<string | undefined>; /** * The list of team members. */ readonly members: pulumi.Output<any[] | undefined>; /** * The unique identifier name of the team within the organization. */ readonly name: pulumi.Output<string>; /** * RoleIDs are the IDs of the FGA roles assigned to the team, if any. * Currently only one role per team is supported. */ readonly roleIds: pulumi.Output<string[] | undefined>; /** * The list of stack permissions granted to the team. */ readonly stacks: pulumi.Output<any[] | undefined>; /** * UserRole is the calling user's role on the given team. */ readonly userRole: pulumi.Output<string | undefined>; /** * Create a Team 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: TeamArgs, opts?: pulumi.CustomResourceOptions); } /** * The set of arguments for constructing a Team resource. */ export interface TeamArgs { /** * The description */ description: pulumi.Input<string>; /** * The display name */ displayName: pulumi.Input<string>; /** * The name */ name: pulumi.Input<string>; /** * The organization name */ orgName: pulumi.Input<string>; } //# sourceMappingURL=team.d.ts.map