class Azure::Monitor::Mgmt::V2015_04_01::Models::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'

Attributes

action[RW]

@return [String] the permissible actions. For instance: microsoft.support/supporttickets/write

role[RW]

@return [String] the role of the user. For instance: Subscription Admin

scope[RW]

@return [String] the scope.

Private Class Methods

mapper() click to toggle source

Mapper for SenderAuthorization class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2015-04-01/generated/azure_mgmt_monitor/models/sender_authorization.rb, line 32
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'SenderAuthorization',
    type: {
      name: 'Composite',
      class_name: 'SenderAuthorization',
      model_properties: {
        action: {
          client_side_validation: true,
          required: false,
          serialized_name: 'action',
          type: {
            name: 'String'
          }
        },
        role: {
          client_side_validation: true,
          required: false,
          serialized_name: 'role',
          type: {
            name: 'String'
          }
        },
        scope: {
          client_side_validation: true,
          required: false,
          serialized_name: 'scope',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end