Sha256: 123d119d85affadd096df174e411bc886eafe8ca4392a8656727a8c36934e32a

Contents?: true

Size: 1.85 KB

Versions: 1

Compression:

Stored size: 1.85 KB

Contents

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

module Azure::ARM::DataLakeStore
  module Models
    #
    # The encryption identity properties.
    #
    class EncryptionIdentity

      include MsRestAzure

      # @return [String] The type of encryption being used. Currently the only
      # supported type is 'SystemAssigned'. Default value: 'SystemAssigned' .
      attr_accessor :type

      # @return The principal identifier associated with the encryption.
      attr_accessor :principal_id

      # @return The tenant identifier associated with the encryption.
      attr_accessor :tenant_id


      #
      # Mapper for EncryptionIdentity class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          required: false,
          serialized_name: 'EncryptionIdentity',
          type: {
            name: 'Composite',
            class_name: 'EncryptionIdentity',
            model_properties: {
              type: {
                required: true,
                is_constant: true,
                serialized_name: 'type',
                default_value: 'SystemAssigned',
                type: {
                  name: 'String'
                }
              },
              principal_id: {
                required: false,
                read_only: true,
                serialized_name: 'principalId',
                type: {
                  name: 'String'
                }
              },
              tenant_id: {
                required: false,
                read_only: true,
                serialized_name: 'tenantId',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
azure_mgmt_datalake_store-0.10.0 lib/generated/azure_mgmt_datalake_store/models/encryption_identity.rb