Język

ArmMonitorModelFactory.SenderAuthorization(String, String, String) Method

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 static Azure.ResourceManager.Monitor.Models.SenderAuthorization SenderAuthorization(string action = default, string role = default, string scope = default);
static member SenderAuthorization : string * string * string -> Azure.ResourceManager.Monitor.Models.SenderAuthorization
Public Shared Function SenderAuthorization (Optional action As String = Nothing, Optional role As String = Nothing, Optional scope As String = Nothing) As SenderAuthorization

Parameters

action
String

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

role
String

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

scope
String

the scope.

Returns

A new SenderAuthorization instance for mocking.

Applies to