AuthorizationArgs

data class AuthorizationArgs(val delegatedRoleDefinitionIds: Output<List<String>>? = null, val principalId: Output<String>, val principalIdDisplayName: Output<String>? = null, val roleDefinitionId: Output<String>) : ConvertibleToJava<AuthorizationArgs>

Authorization tuple containing principal Id (of user/service principal/security group) and role definition id.

Constructors

Link copied to clipboard
constructor(delegatedRoleDefinitionIds: Output<List<String>>? = null, principalId: Output<String>, principalIdDisplayName: Output<String>? = null, roleDefinitionId: Output<String>)

Properties

Link copied to clipboard
val delegatedRoleDefinitionIds: Output<List<String>>? = null

The delegatedRoleDefinitionIds field is required when the roleDefinitionId refers to the User Access Administrator Role. It is the list of role definition ids which define all the permissions that the user in the authorization can assign to other security groups/service principals/users.

Link copied to clipboard
val principalId: Output<String>

Principal Id of the security group/service principal/user that would be assigned permissions to the projected subscription

Link copied to clipboard
val principalIdDisplayName: Output<String>? = null

Display name of the principal Id.

Link copied to clipboard

The role definition identifier. This role will define all the permissions that the security group/service principal/user must have on the projected subscription. This role cannot be an owner role.

Functions

Link copied to clipboard
open override fun toJava(): AuthorizationArgs