Sha256: e287a2d7ba42c2547d52bb9337d5f658fa9b1069dc71af585990aaf447bd57f9

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 0.17.0.0
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

module Azure::ARM::DataLakeStore
  module Models
    #
    # Model object.
    #
    class EncryptionIdentity

      include MsRestAzure

      # @return [EncryptionIdentityType] The type of encryption being used.
      # Currently the only supported type is 'SystemAssigned'. Possible
      # values include: '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: false,
                serialized_name: 'type',
                type: {
                  name: 'Enum',
                  module: 'EncryptionIdentityType'
                }
              },
              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

2 entries across 2 versions & 1 rubygems

Version Path
azure_mgmt_datalake_store-0.7.0 lib/generated/azure_mgmt_datalake_store/models/encryption_identity.rb
azure_mgmt_datalake_store-0.6.0 lib/generated/azure_mgmt_datalake_store/models/encryption_identity.rb