Sha256: 9b850c2807c9da82a456740596206acc1458298937a670bb1a3b6f63436e89dd

Contents?: true

Size: 1.83 KB

Versions: 1

Compression:

Stored size: 1.83 KB

Contents

# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator 1.0.0.0
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

module Azure::ARM::Web
  module Models
    #
    # Http logs to file system configuration
    #
    class FileSystemHttpLogsConfig

      include MsRestAzure

      # @return [Integer] Maximum size in megabytes that http log files can
      # use.
      # When reached old log files will be removed to make space for new ones.
      # Value can range between 25 and 100.
      attr_accessor :retention_in_mb

      # @return [Integer] Retention in days.
      # Remove files older than X days.
      # 0 or lower means no retention.
      attr_accessor :retention_in_days

      # @return [Boolean] Enabled
      attr_accessor :enabled


      #
      # Mapper for FileSystemHttpLogsConfig class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          required: false,
          serialized_name: 'FileSystemHttpLogsConfig',
          type: {
            name: 'Composite',
            class_name: 'FileSystemHttpLogsConfig',
            model_properties: {
              retention_in_mb: {
                required: false,
                serialized_name: 'retentionInMb',
                type: {
                  name: 'Number'
                }
              },
              retention_in_days: {
                required: false,
                serialized_name: 'retentionInDays',
                type: {
                  name: 'Number'
                }
              },
              enabled: {
                required: false,
                serialized_name: 'enabled',
                type: {
                  name: 'Boolean'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
azure_mgmt_web-0.8.0 lib/generated/azure_mgmt_web/models/file_system_http_logs_config.rb