AuthorizationRoleDefinitionData Class

Definition

Role definition.

public class AuthorizationRoleDefinitionData : Azure.ResourceManager.Models.ResourceData, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Authorization.AuthorizationRoleDefinitionData>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Authorization.AuthorizationRoleDefinitionData>
type AuthorizationRoleDefinitionData = class
    inherit ResourceData
    interface IJsonModel<AuthorizationRoleDefinitionData>
    interface IPersistableModel<AuthorizationRoleDefinitionData>
Public Class AuthorizationRoleDefinitionData
Inherits ResourceData
Implements IJsonModel(Of AuthorizationRoleDefinitionData), IPersistableModel(Of AuthorizationRoleDefinitionData)
Inheritance
AuthorizationRoleDefinitionData
Implements

Constructors

Name Description
AuthorizationRoleDefinitionData()

Initializes a new instance of AuthorizationRoleDefinitionData.

Properties

Name Description
AssignableScopes

Role definition assignable scopes.

CreatedBy

Id of the user who created the assignment.

CreatedOn

Time it was created.

Description

The role definition description.

Id

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

(Inherited from ResourceData)
Name

The name of the resource.

(Inherited from ResourceData)
Permissions

Role definition permissions.

ResourceType

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

(Inherited from ResourceData)
RoleName

The role name.

RoleType

The role type.

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)
UpdatedBy

Id of the user who updated the assignment.

UpdatedOn

Time it was updated.

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<AuthorizationRoleDefinitionData>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<AuthorizationRoleDefinitionData>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<AuthorizationRoleDefinitionData>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<AuthorizationRoleDefinitionData>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<AuthorizationRoleDefinitionData>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to