Sha256: 75b7386a22c9679235c213f8cbf5dace93f12c2aa96eafd489d20b6f1f8fb466

Contents?: true

Size: 1.66 KB

Versions: 4

Compression:

Stored size: 1.66 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::Storage
  module Models
    #
    # An encrypted service.
    #
    class EncryptionService

      include MsRestAzure

      # @return [Boolean] A boolean indicating whether or not the service is
      # encrypted.
      attr_accessor :enabled

      # @return [DateTime] Gets a time value indicating when was the
      # encryption enabled by the user last time. We return this value only
      # when encryption is enabled. There might be some unencrypted blobs
      # which were written after this time. This time is just to give a rough
      # estimate of when encryption was enabled.
      attr_accessor :last_enabled_time


      #
      # Mapper for EncryptionService class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          required: false,
          serialized_name: 'EncryptionService',
          type: {
            name: 'Composite',
            class_name: 'EncryptionService',
            model_properties: {
              enabled: {
                required: false,
                serialized_name: 'enabled',
                type: {
                  name: 'Boolean'
                }
              },
              last_enabled_time: {
                required: false,
                read_only: true,
                serialized_name: 'lastEnabledTime',
                type: {
                  name: 'DateTime'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
azure_mgmt_storage-0.7.0 lib/generated/azure_mgmt_storage/models/encryption_service.rb
azure_mgmt_storage-0.6.0 lib/generated/azure_mgmt_storage/models/encryption_service.rb
azure_mgmt_storage-0.5.0 lib/generated/azure_mgmt_storage/models/encryption_service.rb
azure_mgmt_storage-0.4.0 lib/generated/azure_mgmt_storage/models/encryption_service.rb