Class: Azure::ARM::Web::Models::AzureBlobStorageApplicationLogsConfig

Inherits:
Object
  • Object
show all
Includes:
MsRest::JSONable, MsRestAzure
Defined in:
lib/generated/azure_mgmt_web/models/azure_blob_storage_application_logs_config.rb

Overview

Application logs azure blob storage configuration.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#levelLogLevel

‘Verbose’, ‘Information’, ‘Warning’, ‘Error’

Returns:

  • (LogLevel)

    Log level. Possible values include: ‘Off’,



18
19
20
# File 'lib/generated/azure_mgmt_web/models/azure_blob_storage_application_logs_config.rb', line 18

def level
  @level
end

#retention_in_daysInteger

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

Returns:

  • (Integer)

    Retention in days.



27
28
29
# File 'lib/generated/azure_mgmt_web/models/azure_blob_storage_application_logs_config.rb', line 27

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



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

def sas_url
  @sas_url
end

Class Method Details

.mapperObject

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



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
65
66
67
# File 'lib/generated/azure_mgmt_web/models/azure_blob_storage_application_logs_config.rb', line 34

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