RoleDefinition interface

Role definition.

Extends

Properties

assignableScopes

Role definition assignable scopes.

createdBy

Id of the user who created the assignment

createdOn

Time it was created

description

The role definition description.

permissions

Role definition permissions.

roleName

The role name.

roleType

The role type.

updatedBy

Id of the user who updated the assignment

updatedOn

Time it was updated

Inherited Properties

id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

name

The name of the resource

systemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

type

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

Property Details

assignableScopes

Role definition assignable scopes.

assignableScopes?: string[]

Property Value

string[]

createdBy

Id of the user who created the assignment

createdBy?: string

Property Value

string

createdOn

Time it was created

createdOn?: Date

Property Value

Date

description

The role definition description.

description?: string

Property Value

string

permissions

Role definition permissions.

permissions?: Permission[]

Property Value

roleName

The role name.

roleName?: string

Property Value

string

roleType

The role type.

roleType?: string

Property Value

string

updatedBy

Id of the user who updated the assignment

updatedBy?: string

Property Value

string

updatedOn

Time it was updated

updatedOn?: Date

Property Value

Date

Inherited Property Details

id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}

id?: string

Property Value

string

Inherited From ProxyResource.id

name

The name of the resource

name?: string

Property Value

string

Inherited From ProxyResource.name

systemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

systemData?: SystemData

Property Value

Inherited From ProxyResource.systemData

type

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"

type?: string

Property Value

string

Inherited From ProxyResource.type