Class SenderAuthorization

java.lang.Object
com.microsoft.azure.management.monitor.SenderAuthorization

public class SenderAuthorization extends Object
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 Details

    • SenderAuthorization

      public SenderAuthorization()
  • Method Details

    • action

      public String action()
      Get the permissible actions. For instance: microsoft.support/supporttickets/write.
      Returns:
      the action value
    • withAction

      public SenderAuthorization withAction(String action)
      Set the permissible actions. For instance: microsoft.support/supporttickets/write.
      Parameters:
      action - the action value to set
      Returns:
      the SenderAuthorization object itself.
    • role

      public String role()
      Get the role of the user. For instance: Subscription Admin.
      Returns:
      the role value
    • withRole

      public SenderAuthorization withRole(String role)
      Set the role of the user. For instance: Subscription Admin.
      Parameters:
      role - the role value to set
      Returns:
      the SenderAuthorization object itself.
    • scope

      public String scope()
      Get the scope.
      Returns:
      the scope value
    • withScope

      public SenderAuthorization withScope(String scope)
      Set the scope.
      Parameters:
      scope - the scope value to set
      Returns:
      the SenderAuthorization object itself.