Sha256: d42aca902ac5d54a2d7838ba939383a07e9b8c42f58fa331dc3a9d8a729aa145

Contents?: true

Size: 1.88 KB

Versions: 1

Compression:

Stored size: 1.88 KB

Contents

# 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::ARM::Web
  module Models
    #
    # Application logs azure blob storage configuration.
    #
    class AzureBlobStorageApplicationLogsConfig

      include MsRestAzure

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

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

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


      #
      # Mapper for AzureBlobStorageApplicationLogsConfig class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          required: false,
          serialized_name: 'AzureBlobStorageApplicationLogsConfig',
          type: {
            name: 'Composite',
            class_name: 'AzureBlobStorageApplicationLogsConfig',
            model_properties: {
              level: {
                required: false,
                serialized_name: 'level',
                type: {
                  name: 'Enum',
                  module: 'LogLevel'
                }
              },
              sas_url: {
                required: false,
                serialized_name: 'sasUrl',
                type: {
                  name: 'String'
                }
              },
              retention_in_days: {
                required: false,
                serialized_name: 'retentionInDays',
                type: {
                  name: 'Number'
                }
              }
            }
          }
        }
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
azure_mgmt_web-0.14.0 lib/generated/azure_mgmt_web/models/azure_blob_storage_application_logs_config.rb