Sha256: ab074fd605b27bb9c26a53034673cf3bf28c03cadd1a000fe9e25ab551db6b65

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_01_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-01-01/generated/azure_mgmt_storage/models/encryption.rb
azure_mgmt_storage-0.15.0 lib/2016-01-01/generated/azure_mgmt_storage/models/encryption.rb