class Azure::KeyVault::V7_2_preview::Models::RoleAssignmentProperties

Role assignment properties.

Attributes

principal_id[RW]

@return [String] The principal ID assigned to the role. This maps to the ID inside the Active Directory. It can point to a user, service principal, or security group.

role_definition_id[RW]

@return [String] The role definition ID used in the role assignment.

Private Class Methods

mapper() click to toggle source

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

# File lib/7.2-preview/generated/azure_key_vault/models/role_assignment_properties.rb, line 28
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'RoleAssignmentProperties',
    type: {
      name: 'Composite',
      class_name: 'RoleAssignmentProperties',
      model_properties: {
        role_definition_id: {
          client_side_validation: true,
          required: true,
          serialized_name: 'roleDefinitionId',
          type: {
            name: 'String'
          }
        },
        principal_id: {
          client_side_validation: true,
          required: true,
          serialized_name: 'principalId',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end