class Azure::Authorization::Mgmt::V2015_07_01::Models::RoleAssignmentPropertiesWithScope

Role assignment properties with scope.

Attributes

principal_id[RW]

@return [String] The principal ID.

role_definition_id[RW]

@return [String] The role definition ID.

scope[RW]

@return [String] The role assignment scope.

Private Class Methods

mapper() click to toggle source

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

# File lib/2015-07-01/generated/azure_mgmt_authorization/models/role_assignment_properties_with_scope.rb, line 29
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'RoleAssignmentPropertiesWithScope',
    type: {
      name: 'Composite',
      class_name: 'RoleAssignmentPropertiesWithScope',
      model_properties: {
        scope: {
          client_side_validation: true,
          required: false,
          serialized_name: 'scope',
          type: {
            name: 'String'
          }
        },
        role_definition_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'roleDefinitionId',
          type: {
            name: 'String'
          }
        },
        principal_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'principalId',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end