Share via


RoleAssignmentCreateParameters Constructors

Definition

Overloads

RoleAssignmentCreateParameters()

Initializes a new instance of the RoleAssignmentCreateParameters class.

RoleAssignmentCreateParameters(String, String, String, String, String, String, String, Nullable<DateTime>, Nullable<DateTime>, String, String, String)

Initializes a new instance of the RoleAssignmentCreateParameters class.

RoleAssignmentCreateParameters()

Initializes a new instance of the RoleAssignmentCreateParameters class.

public RoleAssignmentCreateParameters ();
Public Sub New ()

Applies to

RoleAssignmentCreateParameters(String, String, String, String, String, String, String, Nullable<DateTime>, Nullable<DateTime>, String, String, String)

Initializes a new instance of the RoleAssignmentCreateParameters class.

public RoleAssignmentCreateParameters (string roleDefinitionId, string principalId, string scope = default, string principalType = default, string description = default, string condition = default, string conditionVersion = default, DateTime? createdOn = default, DateTime? updatedOn = default, string createdBy = default, string updatedBy = default, string delegatedManagedIdentityResourceId = default);
new Microsoft.Azure.Management.Authorization.Models.RoleAssignmentCreateParameters : string * string * string * string * string * string * string * Nullable<DateTime> * Nullable<DateTime> * string * string * string -> Microsoft.Azure.Management.Authorization.Models.RoleAssignmentCreateParameters
Public Sub New (roleDefinitionId As String, principalId As String, Optional scope As String = Nothing, Optional principalType As String = Nothing, Optional description As String = Nothing, Optional condition As String = Nothing, Optional conditionVersion As String = Nothing, Optional createdOn As Nullable(Of DateTime) = Nothing, Optional updatedOn As Nullable(Of DateTime) = Nothing, Optional createdBy As String = Nothing, Optional updatedBy As String = Nothing, Optional delegatedManagedIdentityResourceId As String = Nothing)

Parameters

roleDefinitionId
String

The role definition ID.

principalId
String

The principal ID.

scope
String

The role assignment scope.

principalType
String

The principal type of the assigned principal ID. Possible values include: 'User', 'Group', 'ServicePrincipal', 'Unknown', 'DirectoryRoleTemplate', 'ForeignGroup', 'Application', 'MSI', 'DirectoryObjectOrGroup', 'Everyone'

description
String

Description of role assignment

condition
String

The conditions on the role assignment. This limits the resources it can be assigned to. e.g.: @Resource[Microsoft.Storage/storageAccounts/blobServices/containers:ContainerName] StringEqualsIgnoreCase 'foo_storage_container'

conditionVersion
String

Version of the condition. Currently accepted value is '2.0'

createdOn
Nullable<DateTime>

Time it was created

updatedOn
Nullable<DateTime>

Time it was updated

createdBy
String

Id of the user who created the assignment

updatedBy
String

Id of the user who updated the assignment

delegatedManagedIdentityResourceId
String

Id of the delegated managed identity resource

Applies to