class Azure::Web::Mgmt::V2018_02_01::Models::FileSystemHttpLogsConfig

Http logs to file system configuration.

Attributes

enabled[RW]

@return [Boolean] True if configuration is enabled, false if it is disabled and null if configuration is not set.

retention_in_days[RW]

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

retention_in_mb[RW]

@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.

Private Class Methods

mapper() click to toggle source

Mapper for FileSystemHttpLogsConfig class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2018-02-01/generated/azure_mgmt_web/models/file_system_http_logs_config.rb, line 35
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'FileSystemHttpLogsConfig',
    type: {
      name: 'Composite',
      class_name: 'FileSystemHttpLogsConfig',
      model_properties: {
        retention_in_mb: {
          client_side_validation: true,
          required: false,
          serialized_name: 'retentionInMb',
          constraints: {
            InclusiveMaximum: 100,
            InclusiveMinimum: 25
          },
          type: {
            name: 'Number'
          }
        },
        retention_in_days: {
          client_side_validation: true,
          required: false,
          serialized_name: 'retentionInDays',
          type: {
            name: 'Number'
          }
        },
        enabled: {
          client_side_validation: true,
          required: false,
          serialized_name: 'enabled',
          type: {
            name: 'Boolean'
          }
        }
      }
    }
  }
end