Class SenderAuthorization
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'
Namespace: System.Dynamic.ExpandoObject
Assembly: Microsoft.Azure.Management.Monitor.dll
Syntax
public class SenderAuthorization
Constructors
SenderAuthorization()
Initializes a new instance of the SenderAuthorization class.
Declaration
public SenderAuthorization ();
SenderAuthorization(String, String, String)
Initializes a new instance of the SenderAuthorization class.
Declaration
public SenderAuthorization (string action = null, string role = null, string scope = null);
Parameters
|
String
action
the permissible actions. For instance: microsoft.support/supporttickets/write |
|
String
role
the role of the user. For instance: Subscription Admin |
|
String
scope
the scope. |
Properties
Action
Gets or sets the permissible actions. For instance: microsoft.support/supporttickets/write
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="action")]
public string Action { get; set; }
Property Value
|
String
|
Role
Gets or sets the role of the user. For instance: Subscription Admin
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="role")]
public string Role { get; set; }
Property Value
|
String
|
Scope
Gets or sets the scope.
Declaration
[Newtonsoft.Json.JsonProperty(PropertyName="scope")]
public string Scope { get; set; }
Property Value
|
String
|