Class: Azure::Web::Mgmt::V2016_08_01::Models::AzureBlobStorageApplicationLogsConfig
- Inherits:
-
Object
- Object
- Azure::Web::Mgmt::V2016_08_01::Models::AzureBlobStorageApplicationLogsConfig
- Includes:
- MsRestAzure
- Defined in:
- lib/2016-08-01/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/2016-08-01/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/2016-08-01/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/2016-08-01/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 67 68 69 70 |
# File 'lib/2016-08-01/generated/azure_mgmt_web/models/azure_blob_storage_application_logs_config.rb', line 33 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'AzureBlobStorageApplicationLogsConfig', type: { name: 'Composite', class_name: 'AzureBlobStorageApplicationLogsConfig', model_properties: { level: { client_side_validation: true, required: false, serialized_name: 'level', type: { name: 'Enum', module: 'LogLevel' } }, sas_url: { client_side_validation: true, required: false, serialized_name: 'sasUrl', type: { name: 'String' } }, retention_in_days: { client_side_validation: true, required: false, serialized_name: 'retentionInDays', type: { name: 'Number' } } } } } end |