Pulumi Cloud v0.27.1 published on Thursday, Nov 14, 2024 by Pulumi
pulumiservice.TeamStackPermission
Explore with Pulumi AI
Grants a team permissions to the specified stack.
Create TeamStackPermission Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new TeamStackPermission(name: string, args: TeamStackPermissionArgs, opts?: CustomResourceOptions);
@overload
def TeamStackPermission(resource_name: str,
args: TeamStackPermissionArgs,
opts: Optional[ResourceOptions] = None)
@overload
def TeamStackPermission(resource_name: str,
opts: Optional[ResourceOptions] = None,
organization: Optional[str] = None,
permission: Optional[TeamStackPermissionScope] = None,
project: Optional[str] = None,
stack: Optional[str] = None,
team: Optional[str] = None)
func NewTeamStackPermission(ctx *Context, name string, args TeamStackPermissionArgs, opts ...ResourceOption) (*TeamStackPermission, error)
public TeamStackPermission(string name, TeamStackPermissionArgs args, CustomResourceOptions? opts = null)
public TeamStackPermission(String name, TeamStackPermissionArgs args)
public TeamStackPermission(String name, TeamStackPermissionArgs args, CustomResourceOptions options)
type: pulumiservice:TeamStackPermission
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 TeamStackPermissionArgs
- 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 TeamStackPermissionArgs
- 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 TeamStackPermissionArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args TeamStackPermissionArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args TeamStackPermissionArgs
- 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 teamStackPermissionResource = new PulumiService.TeamStackPermission("teamStackPermissionResource", new()
{
Organization = "string",
Permission = PulumiService.TeamStackPermissionScope.Read,
Project = "string",
Stack = "string",
Team = "string",
});
example, err := pulumiservice.NewTeamStackPermission(ctx, "teamStackPermissionResource", &pulumiservice.TeamStackPermissionArgs{
Organization: pulumi.String("string"),
Permission: pulumiservice.TeamStackPermissionScopeRead,
Project: pulumi.String("string"),
Stack: pulumi.String("string"),
Team: pulumi.String("string"),
})
var teamStackPermissionResource = new TeamStackPermission("teamStackPermissionResource", TeamStackPermissionArgs.builder()
.organization("string")
.permission(101)
.project("string")
.stack("string")
.team("string")
.build());
team_stack_permission_resource = pulumiservice.TeamStackPermission("teamStackPermissionResource",
organization="string",
permission=pulumiservice.TeamStackPermissionScope.READ,
project="string",
stack="string",
team="string")
const teamStackPermissionResource = new pulumiservice.TeamStackPermission("teamStackPermissionResource", {
organization: "string",
permission: pulumiservice.TeamStackPermissionScope.Read,
project: "string",
stack: "string",
team: "string",
});
type: pulumiservice:TeamStackPermission
properties:
organization: string
permission: 101
project: string
stack: string
team: string
TeamStackPermission 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 TeamStackPermission resource accepts the following input properties:
- Organization string
- The organization or the personal account name of the stack.
- Permission
Pulumi.
Pulumi Service. Team Stack Permission Scope - Sets the permission level that this team will be granted to the stack.
- Project string
- The project name for this stack.
- Stack string
- The name of the stack that the team will be granted permissions to.
- Team string
- The name of the team to grant this stack permissions to. This is not the display name.
- Organization string
- The organization or the personal account name of the stack.
- Permission
Team
Stack Permission Scope - Sets the permission level that this team will be granted to the stack.
- Project string
- The project name for this stack.
- Stack string
- The name of the stack that the team will be granted permissions to.
- Team string
- The name of the team to grant this stack permissions to. This is not the display name.
- organization String
- The organization or the personal account name of the stack.
- permission
Team
Stack Permission Scope - Sets the permission level that this team will be granted to the stack.
- project String
- The project name for this stack.
- stack String
- The name of the stack that the team will be granted permissions to.
- team String
- The name of the team to grant this stack permissions to. This is not the display name.
- organization string
- The organization or the personal account name of the stack.
- permission
Team
Stack Permission Scope - Sets the permission level that this team will be granted to the stack.
- project string
- The project name for this stack.
- stack string
- The name of the stack that the team will be granted permissions to.
- team string
- The name of the team to grant this stack permissions to. This is not the display name.
- organization str
- The organization or the personal account name of the stack.
- permission
Team
Stack Permission Scope - Sets the permission level that this team will be granted to the stack.
- project str
- The project name for this stack.
- stack str
- The name of the stack that the team will be granted permissions to.
- team str
- The name of the team to grant this stack permissions to. This is not the display name.
- organization String
- The organization or the personal account name of the stack.
- permission 101 | 102 | 103
- Sets the permission level that this team will be granted to the stack.
- project String
- The project name for this stack.
- stack String
- The name of the stack that the team will be granted permissions to.
- team String
- The name of the team to grant this stack permissions to. This is not the display name.
Outputs
All input properties are implicitly available as output properties. Additionally, the TeamStackPermission 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
TeamStackPermissionScope, TeamStackPermissionScopeArgs
- Read
- 101Grants read permissions to stack.
- Edit
- 102Grants edit permissions to stack.
- Admin
- 103Grants admin permissions to stack.
- Team
Stack Permission Scope Read - 101Grants read permissions to stack.
- Team
Stack Permission Scope Edit - 102Grants edit permissions to stack.
- Team
Stack Permission Scope Admin - 103Grants admin permissions to stack.
- Read
- 101Grants read permissions to stack.
- Edit
- 102Grants edit permissions to stack.
- Admin
- 103Grants admin permissions to stack.
- Read
- 101Grants read permissions to stack.
- Edit
- 102Grants edit permissions to stack.
- Admin
- 103Grants admin permissions to stack.
- READ
- 101Grants read permissions to stack.
- EDIT
- 102Grants edit permissions to stack.
- ADMIN
- 103Grants admin permissions to stack.
- %!q(float64=101)
- 101Grants read permissions to stack.
- %!q(float64=102)
- 102Grants edit permissions to stack.
- %!q(float64=103)
- 103Grants admin permissions to stack.
Package Details
- Repository
- pulumiservice pulumi/pulumi-pulumiservice
- License
- Apache-2.0