Sha256: 0f5353054d716afac8dd989b64357310ba728bd61d1f011cf9cb9245deb34356

Contents?: true

Size: 1.56 KB

Versions: 2

Compression:

Stored size: 1.56 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::Storage::Mgmt::V2016_12_01
  module Models
    #
    # The encryption settings on the storage account.
    #
    class Encryption

      include MsRestAzure

      # @return [EncryptionServices] List of services which support encryption.
      attr_accessor :services

      # @return [String] The encryption keySource (provider). Possible values
      # (case-insensitive):  Microsoft.Storage. Default value:
      # 'Microsoft.Storage' .
      attr_accessor :key_source


      #
      # Mapper for Encryption class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          required: false,
          serialized_name: 'Encryption',
          type: {
            name: 'Composite',
            class_name: 'Encryption',
            model_properties: {
              services: {
                required: false,
                serialized_name: 'services',
                type: {
                  name: 'Composite',
                  class_name: 'EncryptionServices'
                }
              },
              key_source: {
                required: true,
                is_constant: true,
                serialized_name: 'keySource',
                default_value: 'Microsoft.Storage',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
azure_mgmt_storage-0.15.1 lib/2016-12-01/generated/azure_mgmt_storage/models/encryption.rb
azure_mgmt_storage-0.15.0 lib/2016-12-01/generated/azure_mgmt_storage/models/encryption.rb