Skip to main content

UserRoleAssignment

Resource UserRoleAssignment in pulumi-teamcity.
2 min read

Resource UserRoleAssignment in pulumi-teamcity.

Pulumi type: teamcity:index/userRoleAssignment:UserRoleAssignment.

name is the Pulumi resource name. Nested object fields are documented under that object. They are not arguments of this resource.

Example#

Only required arguments are set. A string in angle brackets stands in for that argument. Any other value is an option or example written in the SDK description.

Arguments#

PropertyTypeRequiredDescription
roleIdstringyesThe ID of the role to assign.
scopestringnoThe scope of the role assignment. Use 'g' for global scope or 'p:PROJECT_ID' for project-specific scope. Defaults to global if not specified.
userIdstringnoThe ID of the user to assign the role to. Either userId or username must be specified.
usernamestringnoThe username of the user to assign the role to. Either userId or username must be specified.

Outputs#

Computed outputs are produced by the provider. They are not constructor arguments.

PropertyTypeComputedDescription
roleIdstringnoThe ID of the role to assign.
scopestringnoThe scope of the role assignment. Use 'g' for global scope or 'p:PROJECT_ID' for project-specific scope. Defaults to global if not specified.
userIdstringnoThe ID of the user to assign the role to. Either userId or username must be specified.
usernamestringnoThe username of the user to assign the role to. Either userId or username must be specified.