Share via


RoleAssignment(String, String) Constructor

Definition

Creates a new RoleAssignment.

public RoleAssignment (string bicepIdentifier, string? resourceVersion = default);
public RoleAssignment (string identifierName, string? resourceVersion = default);
new Azure.Provisioning.Authorization.RoleAssignment : string * string -> Azure.Provisioning.Authorization.RoleAssignment
new Azure.Provisioning.Authorization.RoleAssignment : string * string -> Azure.Provisioning.Authorization.RoleAssignment
Public Sub New (bicepIdentifier As String, Optional resourceVersion As String = Nothing)
Public Sub New (identifierName As String, Optional resourceVersion As String = Nothing)

Parameters

bicepIdentifieridentifierName
String

The the Bicep identifier name of the RoleAssignment resource. This can be used to refer to the resource in expressions, but is not the Azure name of the resource. This value can contain letters, numbers, and underscores.

resourceVersion
String

Version of the RoleAssignment.

Applies to