Class: Azure::ARM::Web::Models::AzureBlobStorageHttpLogsConfig

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/generated/azure_mgmt_web/models/azure_blob_storage_http_logs_config.rb

Overview

Http logs to azure blob storage configuration

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#enabledBoolean

Returns Enabled.

Returns:

  • (Boolean)

    Enabled



25
26
27
# File 'lib/generated/azure_mgmt_web/models/azure_blob_storage_http_logs_config.rb', line 25

def enabled
  @enabled
end

#retention_in_daysInteger

Remove blobs older than X days. 0 or lower means no retention.

Returns:

  • (Integer)

    Retention in days.



22
23
24
# File 'lib/generated/azure_mgmt_web/models/azure_blob_storage_http_logs_config.rb', line 22

def retention_in_days
  @retention_in_days
end

#sas_urlString

read/write/list/delete permissions

Returns:

  • (String)

    SAS url to a azure blob container with



17
18
19
# File 'lib/generated/azure_mgmt_web/models/azure_blob_storage_http_logs_config.rb', line 17

def sas_url
  @sas_url
end

Class Method Details

.mapperObject

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



32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
# File 'lib/generated/azure_mgmt_web/models/azure_blob_storage_http_logs_config.rb', line 32

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