1. Packages
  2. Pulumi Cloud (Pulumi Service provider)
  3. API Docs
  4. TeamEnvironmentPermission
Pulumi Cloud v0.26.1 published on Wednesday, Sep 25, 2024 by Pulumi

pulumiservice.TeamEnvironmentPermission

Explore with Pulumi AI

pulumiservice logo
Pulumi Cloud v0.26.1 published on Wednesday, Sep 25, 2024 by Pulumi

    A permission for a team to use an environment.

    Create TeamEnvironmentPermission Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new TeamEnvironmentPermission(name: string, args: TeamEnvironmentPermissionArgs, opts?: CustomResourceOptions);
    @overload
    def TeamEnvironmentPermission(resource_name: str,
                                  args: TeamEnvironmentPermissionArgs,
                                  opts: Optional[ResourceOptions] = None)
    
    @overload
    def TeamEnvironmentPermission(resource_name: str,
                                  opts: Optional[ResourceOptions] = None,
                                  environment: Optional[str] = None,
                                  organization: Optional[str] = None,
                                  permission: Optional[EnvironmentPermission] = None,
                                  team: Optional[str] = None,
                                  project: Optional[str] = None)
    func NewTeamEnvironmentPermission(ctx *Context, name string, args TeamEnvironmentPermissionArgs, opts ...ResourceOption) (*TeamEnvironmentPermission, error)
    public TeamEnvironmentPermission(string name, TeamEnvironmentPermissionArgs args, CustomResourceOptions? opts = null)
    public TeamEnvironmentPermission(String name, TeamEnvironmentPermissionArgs args)
    public TeamEnvironmentPermission(String name, TeamEnvironmentPermissionArgs args, CustomResourceOptions options)
    
    type: pulumiservice:TeamEnvironmentPermission
    properties: # The arguments to resource properties.
    options: # Bag of options to control resource's behavior.
    
    

    Parameters

    name string
    The unique name of the resource.
    args TeamEnvironmentPermissionArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    resource_name str
    The unique name of the resource.
    args TeamEnvironmentPermissionArgs
    The arguments to resource properties.
    opts ResourceOptions
    Bag of options to control resource's behavior.
    ctx Context
    Context object for the current deployment.
    name string
    The unique name of the resource.
    args TeamEnvironmentPermissionArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args TeamEnvironmentPermissionArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args TeamEnvironmentPermissionArgs
    The arguments to resource properties.
    options CustomResourceOptions
    Bag of options to control resource's behavior.

    Constructor example

    The following reference example uses placeholder values for all input properties.

    var teamEnvironmentPermissionResource = new PulumiService.TeamEnvironmentPermission("teamEnvironmentPermissionResource", new()
    {
        Environment = "string",
        Organization = "string",
        Permission = PulumiService.EnvironmentPermission.None,
        Team = "string",
        Project = "string",
    });
    
    example, err := pulumiservice.NewTeamEnvironmentPermission(ctx, "teamEnvironmentPermissionResource", &pulumiservice.TeamEnvironmentPermissionArgs{
    	Environment:  pulumi.String("string"),
    	Organization: pulumi.String("string"),
    	Permission:   pulumiservice.EnvironmentPermissionNone,
    	Team:         pulumi.String("string"),
    	Project:      pulumi.String("string"),
    })
    
    var teamEnvironmentPermissionResource = new TeamEnvironmentPermission("teamEnvironmentPermissionResource", TeamEnvironmentPermissionArgs.builder()
        .environment("string")
        .organization("string")
        .permission("none")
        .team("string")
        .project("string")
        .build());
    
    team_environment_permission_resource = pulumiservice.TeamEnvironmentPermission("teamEnvironmentPermissionResource",
        environment="string",
        organization="string",
        permission=pulumiservice.EnvironmentPermission.NONE,
        team="string",
        project="string")
    
    const teamEnvironmentPermissionResource = new pulumiservice.TeamEnvironmentPermission("teamEnvironmentPermissionResource", {
        environment: "string",
        organization: "string",
        permission: pulumiservice.EnvironmentPermission.None,
        team: "string",
        project: "string",
    });
    
    type: pulumiservice:TeamEnvironmentPermission
    properties:
        environment: string
        organization: string
        permission: none
        project: string
        team: string
    

    TeamEnvironmentPermission Resource Properties

    To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

    Inputs

    The TeamEnvironmentPermission resource accepts the following input properties:

    Environment string
    Environment name.
    Organization string
    Organization name.
    Permission Pulumi.PulumiService.EnvironmentPermission
    Which permission level to grant to the specified team.
    Team string
    Team name.
    Project string
    Project name.
    Environment string
    Environment name.
    Organization string
    Organization name.
    Permission EnvironmentPermission
    Which permission level to grant to the specified team.
    Team string
    Team name.
    Project string
    Project name.
    environment String
    Environment name.
    organization String
    Organization name.
    permission EnvironmentPermission
    Which permission level to grant to the specified team.
    team String
    Team name.
    project String
    Project name.
    environment string
    Environment name.
    organization string
    Organization name.
    permission EnvironmentPermission
    Which permission level to grant to the specified team.
    team string
    Team name.
    project string
    Project name.
    environment str
    Environment name.
    organization str
    Organization name.
    permission EnvironmentPermission
    Which permission level to grant to the specified team.
    team str
    Team name.
    project str
    Project name.
    environment String
    Environment name.
    organization String
    Organization name.
    permission "none" | "read" | "open" | "write" | "admin"
    Which permission level to grant to the specified team.
    team String
    Team name.
    project String
    Project name.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the TeamEnvironmentPermission resource produces the following output properties:

    Id string
    The provider-assigned unique ID for this managed resource.
    Id string
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.
    id string
    The provider-assigned unique ID for this managed resource.
    id str
    The provider-assigned unique ID for this managed resource.
    id String
    The provider-assigned unique ID for this managed resource.

    Supporting Types

    EnvironmentPermission, EnvironmentPermissionArgs

    None
    noneNo permissions.
    Read
    readPermission to read environment definition only.
    Open
    openPermission to open and read the environment.
    Write
    writePermission to open, read and update the environment.
    Admin
    adminPermission for all operations on the environment.
    EnvironmentPermissionNone
    noneNo permissions.
    EnvironmentPermissionRead
    readPermission to read environment definition only.
    EnvironmentPermissionOpen
    openPermission to open and read the environment.
    EnvironmentPermissionWrite
    writePermission to open, read and update the environment.
    EnvironmentPermissionAdmin
    adminPermission for all operations on the environment.
    None
    noneNo permissions.
    Read
    readPermission to read environment definition only.
    Open
    openPermission to open and read the environment.
    Write
    writePermission to open, read and update the environment.
    Admin
    adminPermission for all operations on the environment.
    None
    noneNo permissions.
    Read
    readPermission to read environment definition only.
    Open
    openPermission to open and read the environment.
    Write
    writePermission to open, read and update the environment.
    Admin
    adminPermission for all operations on the environment.
    NONE
    noneNo permissions.
    READ
    readPermission to read environment definition only.
    OPEN
    openPermission to open and read the environment.
    WRITE
    writePermission to open, read and update the environment.
    ADMIN
    adminPermission for all operations on the environment.
    "none"
    noneNo permissions.
    "read"
    readPermission to read environment definition only.
    "open"
    openPermission to open and read the environment.
    "write"
    writePermission to open, read and update the environment.
    "admin"
    adminPermission for all operations on the environment.

    Package Details

    Repository
    pulumiservice pulumi/pulumi-pulumiservice
    License
    Apache-2.0
    pulumiservice logo
    Pulumi Cloud v0.26.1 published on Wednesday, Sep 25, 2024 by Pulumi