RoleAssignment interface

Role Assignments

Properties

condition

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

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

createdBy

Id of the user who created the assignment NOTE: This property will not be serialized. It can only be populated by the server.

createdOn

Time it was created NOTE: This property will not be serialized. It can only be populated by the server.

delegatedManagedIdentityResourceId

Id of the delegated managed identity resource

description

Description of role assignment

id

The role assignment ID. NOTE: This property will not be serialized. It can only be populated by the server.

name

The role assignment name. NOTE: This property will not be serialized. It can only be populated by the server.

principalId

The principal ID.

principalType

The principal type of the assigned principal ID.

roleDefinitionId

The role definition ID.

scope

The role assignment scope. NOTE: This property will not be serialized. It can only be populated by the server.

type

The role assignment type. NOTE: This property will not be serialized. It can only be populated by the server.

updatedBy

Id of the user who updated the assignment NOTE: This property will not be serialized. It can only be populated by the server.

updatedOn

Time it was updated NOTE: This property will not be serialized. It can only be populated by the server.

Property Details

condition

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'

condition?: string

Property Value

string

conditionVersion

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

conditionVersion?: string

Property Value

string

createdBy

Id of the user who created the assignment NOTE: This property will not be serialized. It can only be populated by the server.

createdBy?: string

Property Value

string

createdOn

Time it was created NOTE: This property will not be serialized. It can only be populated by the server.

createdOn?: Date

Property Value

Date

delegatedManagedIdentityResourceId

Id of the delegated managed identity resource

delegatedManagedIdentityResourceId?: string

Property Value

string

description

Description of role assignment

description?: string

Property Value

string

id

The role assignment ID. NOTE: This property will not be serialized. It can only be populated by the server.

id?: string

Property Value

string

name

The role assignment name. NOTE: This property will not be serialized. It can only be populated by the server.

name?: string

Property Value

string

principalId

The principal ID.

principalId?: string

Property Value

string

principalType

The principal type of the assigned principal ID.

principalType?: string

Property Value

string

roleDefinitionId

The role definition ID.

roleDefinitionId?: string

Property Value

string

scope

The role assignment scope. NOTE: This property will not be serialized. It can only be populated by the server.

scope?: string

Property Value

string

type

The role assignment type. NOTE: This property will not be serialized. It can only be populated by the server.

type?: string

Property Value

string

updatedBy

Id of the user who updated the assignment NOTE: This property will not be serialized. It can only be populated by the server.

updatedBy?: string

Property Value

string

updatedOn

Time it was updated NOTE: This property will not be serialized. It can only be populated by the server.

updatedOn?: Date

Property Value

Date