# 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::TimeSeriesInsights::Mgmt::V2018_08_15_preview
  module Models
    #
    # The storage configuration provides the connection details that allows the
    # Time Series Insights service to connect to the customer storage account
    # that is used to store the environment's data.
    #
    class LongTermStorageConfigurationMutableProperties

      include MsRestAzure

      # @return [String] The value of the management key that grants the Time
      # Series Insights service write access to the storage account. This
      # property is not shown in environment responses.
      attr_accessor :management_key


      #
      # Mapper for LongTermStorageConfigurationMutableProperties class as Ruby
      # Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'LongTermStorageConfigurationMutableProperties',
          type: {
            name: 'Composite',
            class_name: 'LongTermStorageConfigurationMutableProperties',
            model_properties: {
              management_key: {
                client_side_validation: true,
                required: true,
                serialized_name: 'managementKey',
                type: {
                  name: 'String'
                }
              }
            }
          }
        }
      end
    end
  end
end
