ManagedHardwareSecurityModuleRoleAssignmentArgs

data class ManagedHardwareSecurityModuleRoleAssignmentArgs(val managedHsmId: Output<String>? = null, val name: Output<String>? = null, val principalId: Output<String>? = null, val roleDefinitionId: Output<String>? = null, val scope: Output<String>? = null) : ConvertibleToJava<ManagedHardwareSecurityModuleRoleAssignmentArgs>

Manages a Managed Hardware Security Module Role Assignment.

Import

Managed Hardware Security Modules can be imported using the resource id, e.g.

$ pulumi import azure:keyvault/managedHardwareSecurityModuleRoleAssignment:ManagedHardwareSecurityModuleRoleAssignment example https://0000.managedhsm.azure.net///RoleAssignment/00000000-0000-0000-0000-000000000000

Constructors

constructor(managedHsmId: Output<String>? = null, name: Output<String>? = null, principalId: Output<String>? = null, roleDefinitionId: Output<String>? = null, scope: Output<String>? = null)

Properties

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

The ID of a Managed Hardware Security Module resource. Changing this forces a new Managed Hardware Security Module to be created.

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

The name in GUID notation which should be used for this Managed Hardware Security Module Role Assignment. Changing this forces a new Managed Hardware Security Module to be created.

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

The principal ID to be assigned to this role. It can point to a user, service principal, or security group. Changing this forces a new Managed Hardware Security Module to be created.

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

The resource ID of the role definition to assign. Changing this forces a new Managed Hardware Security Module to be created.

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

Specifies the scope to create the role assignment. Changing this forces a new Managed Hardware Security Module to be created.

Functions

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