Condividi tramite


SenderAuthorization Class

Definition

the authorization used by the user who has performed the operation that led to this event. This captures the RBAC properties of the event. These usually include the 'action', 'role' and the 'scope'.

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

Properties

Action

the permissible actions. For instance: microsoft.support/supporttickets/write.

Role

the role of the user. For instance: Subscription Admin.

Scope

the scope.

Explicit Interface Implementations

IJsonModel<SenderAuthorization>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<SenderAuthorization>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<SenderAuthorization>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<SenderAuthorization>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<SenderAuthorization>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to