Sha256: a1c2a0d0aa9dc977429dcb24400ec5326286cec9f84d52ce6dd144287184c289

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.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

module Azure::ARM::Web
  module Models
    #
    # Http logs to azure blob storage configuration.
    #
    class AzureBlobStorageHttpLogsConfig

      include MsRestAzure

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

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


      #
      # Mapper for AzureBlobStorageHttpLogsConfig class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          required: false,
          serialized_name: 'AzureBlobStorageHttpLogsConfig',
          type: {
            name: 'Composite',
            class_name: 'AzureBlobStorageHttpLogsConfig',
            model_properties: {
              sas_url: {
                required: false,
                serialized_name: 'sasUrl',
                type: {
                  name: 'String'
                }
              },
              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.14.0 lib/generated/azure_mgmt_web/models/azure_blob_storage_http_logs_config.rb