Share via


RoleAssignmentCreateParameters Class

Definition

Role assignment create parameters.

public class RoleAssignmentCreateParameters
[Microsoft.Rest.Serialization.JsonTransformation]
public class RoleAssignmentCreateParameters
type RoleAssignmentCreateParameters = class
[<Microsoft.Rest.Serialization.JsonTransformation>]
type RoleAssignmentCreateParameters = class
Public Class RoleAssignmentCreateParameters
Inheritance
RoleAssignmentCreateParameters
Attributes

Constructors

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.

Properties

Condition

Gets or sets 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

Gets or sets version of the condition. Currently accepted value is '2.0'

CreatedBy

Gets id of the user who created the assignment

CreatedOn

Gets time it was created

DelegatedManagedIdentityResourceId

Gets or sets id of the delegated managed identity resource

Description

Gets or sets description of role assignment

PrincipalId

Gets or sets the principal ID.

PrincipalType

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

Properties

Optional. Gets or sets role assignment properties.

RoleDefinitionId

Gets or sets the role definition ID.

Scope

Gets the role assignment scope.

UpdatedBy

Gets id of the user who updated the assignment

UpdatedOn

Gets time it was updated

Methods

Validate()

Validate the object.

Applies to