Sha256: 408d01a67566dd78991f4e574480d656045e96e772e9cd260de84ebba4d6feea

Contents?: true

Size: 1.83 KB

Versions: 2

Compression:

Stored size: 1.83 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 with scope.
    #
    class RoleAssignmentPropertiesWithScope

      include MsRestAzure

      # @return [RoleScope] Possible values include: 'Global', 'Keys'
      attr_accessor :scope

      # @return [String] The role definition ID.
      attr_accessor :role_definition_id

      # @return [String] The principal ID.
      attr_accessor :principal_id


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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
azure_key_vault-0.19.1 lib/7.2-preview/generated/azure_key_vault/models/role_assignment_properties_with_scope.rb
azure_key_vault-0.19.0 lib/7.2-preview/generated/azure_key_vault/models/role_assignment_properties_with_scope.rb