ArmMonitorModelFactory.SenderAuthorization(String, String, String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.