Class SenderAuthorization
java.lang.Object
com.microsoft.azure.management.monitor.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'.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionaction()
Get the permissible actions.role()
Get the role of the user.scope()
Get the scope.withAction
(String action) Set the permissible actions.Set the role of the user.Set the scope.
-
Constructor Details
-
SenderAuthorization
public SenderAuthorization()
-
-
Method Details
-
action
Get the permissible actions. For instance: microsoft.support/supporttickets/write.- Returns:
- the action value
-
withAction
Set the permissible actions. For instance: microsoft.support/supporttickets/write.- Parameters:
action
- the action value to set- Returns:
- the SenderAuthorization object itself.
-
role
Get the role of the user. For instance: Subscription Admin.- Returns:
- the role value
-
withRole
Set the role of the user. For instance: Subscription Admin.- Parameters:
role
- the role value to set- Returns:
- the SenderAuthorization object itself.
-
scope
Get the scope.- Returns:
- the scope value
-
withScope
Set the scope.- Parameters:
scope
- the scope value to set- Returns:
- the SenderAuthorization object itself.
-