class Azure::Web::Mgmt::V2016_08_01::Models::AzureBlobStorageHttpLogsConfig

Http logs to azure blob storage 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 blobs older than X days. 0 or lower means no retention.

sas_url[RW]

@return [String] SAS url to a azure blob container with read/write/list/delete permissions.

Private Class Methods

mapper() click to toggle source

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

# File lib/2016-08-01/generated/azure_mgmt_web/models/azure_blob_storage_http_logs_config.rb, line 33
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'AzureBlobStorageHttpLogsConfig',
    type: {
      name: 'Composite',
      class_name: 'AzureBlobStorageHttpLogsConfig',
      model_properties: {
        sas_url: {
          client_side_validation: true,
          required: false,
          serialized_name: 'sasUrl',
          type: {
            name: 'String'
          }
        },
        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