Sha256: 62c4a5dc840b56c6c30e4093133dadc07b0e21d0f795e4840391f8c5c979fe1b

Contents?: true

Size: 1.63 KB

Versions: 4

Compression:

Stored size: 1.63 KB

Contents

# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

module Azure::KeyVault::V7_2_preview
  module Models
    #
    # Role assignment properties.
    #
    class RoleAssignmentProperties

      include MsRestAzure

      # @return [String] The role definition ID used in the role assignment.
      attr_accessor :role_definition_id

      # @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.
      attr_accessor :principal_id


      #
      # Mapper for RoleAssignmentProperties class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      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
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
azure_key_vault-0.19.1 lib/7.2-preview/generated/azure_key_vault/models/role_assignment_properties.rb
azure_key_vault-0.19.0 lib/7.2-preview/generated/azure_key_vault/models/role_assignment_properties.rb
azure_key_vault-0.18.1 lib/7.2-preview/generated/azure_key_vault/models/role_assignment_properties.rb
azure_key_vault-0.18.0 lib/7.2-preview/generated/azure_key_vault/models/role_assignment_properties.rb