class Azure::Web::Mgmt::V2020_09_01::Models::AzureBlobStorageApplicationLogsConfig

Application logs azure blob storage configuration.

Attributes

level[RW]

@return [LogLevel] Log level. Possible values include: 'Off', 'Verbose', 'Information', 'Warning', 'Error'

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 AzureBlobStorageApplicationLogsConfig class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2020-09-01/generated/azure_mgmt_web/models/azure_blob_storage_application_logs_config.rb, line 33
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'AzureBlobStorageApplicationLogsConfig',
    type: {
      name: 'Composite',
      class_name: 'AzureBlobStorageApplicationLogsConfig',
      model_properties: {
        level: {
          client_side_validation: true,
          required: false,
          serialized_name: 'level',
          type: {
            name: 'Enum',
            module: 'LogLevel'
          }
        },
        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'
          }
        }
      }
    }
  }
end