Pulumi Cloud v0.27.1 published on Thursday, Nov 14, 2024 by Pulumi
pulumiservice.TeamEnvironmentPermission
Explore with Pulumi AI
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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The TeamEnvironmentPermission resource accepts the following input properties:
- Environment string
- Environment name.
- Organization string
- Organization name.
- Permission
Pulumi.
Pulumi Service. Environment Permission - 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
Environment
Permission - 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
Environment
Permission - 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
Environment
Permission - 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
Environment
Permission - 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.
- Environment
Permission None - noneNo permissions.
- Environment
Permission Read - readPermission to read environment definition only.
- Environment
Permission Open - openPermission to open and read the environment.
- Environment
Permission Write - writePermission to open, read and update the environment.
- Environment
Permission 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.
- "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