Share via


AzureRoleDefinition Class

Definition

Role definition properties.

public class AzureRoleDefinition : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Resources.Models.AzureRoleDefinition>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Resources.Models.AzureRoleDefinition>
type AzureRoleDefinition = class
    interface IJsonModel<AzureRoleDefinition>
    interface IPersistableModel<AzureRoleDefinition>
Public Class AzureRoleDefinition
Implements IJsonModel(Of AzureRoleDefinition), IPersistableModel(Of AzureRoleDefinition)
Inheritance
AzureRoleDefinition
Implements

Properties

Id

The role definition ID.

IsServiceRole

If this is a service role.

Name

The role definition name.

Permissions

Role definition permissions.

Scopes

Role definition assignable scopes.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<AzureRoleDefinition>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<AzureRoleDefinition>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<AzureRoleDefinition>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<AzureRoleDefinition>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<AzureRoleDefinition>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to