Class: Azure::ARM::Web::Models::AzureBlobStorageApplicationLogsConfig
- Inherits:
-
Object
- Object
- Azure::ARM::Web::Models::AzureBlobStorageApplicationLogsConfig
- Includes:
- 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
-
#level ⇒ LogLevel
‘Verbose’, ‘Information’, ‘Warning’, ‘Error’.
-
#retention_in_days ⇒ Integer
Remove blobs older than X days.
-
#sas_url ⇒ String
read/write/list/delete permissions.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for AzureBlobStorageApplicationLogsConfig class as Ruby Hash.
Instance Attribute Details
#level ⇒ LogLevel
‘Verbose’, ‘Information’, ‘Warning’, ‘Error’
17 18 19 |
# File 'lib/generated/azure_mgmt_web/models/azure_blob_storage_application_logs_config.rb', line 17 def level @level end |
#retention_in_days ⇒ Integer
Remove blobs older than X days. 0 or lower means no retention.
26 27 28 |
# File 'lib/generated/azure_mgmt_web/models/azure_blob_storage_application_logs_config.rb', line 26 def retention_in_days @retention_in_days end |
#sas_url ⇒ String
read/write/list/delete permissions
21 22 23 |
# File 'lib/generated/azure_mgmt_web/models/azure_blob_storage_application_logs_config.rb', line 21 def sas_url @sas_url end |
Class Method Details
.mapper ⇒ Object
Mapper for AzureBlobStorageApplicationLogsConfig class as Ruby Hash. This will be used for serialization/deserialization.
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 65 66 |
# File 'lib/generated/azure_mgmt_web/models/azure_blob_storage_application_logs_config.rb', line 33 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 |