Class: Azure::ARM::Web::Models::AzureBlobStorageHttpLogsConfig
- Inherits:
-
Object
- Object
- Azure::ARM::Web::Models::AzureBlobStorageHttpLogsConfig
- 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
-
#enabled ⇒ Boolean
Enabled.
-
#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 AzureBlobStorageHttpLogsConfig class as Ruby Hash.
Instance Attribute Details
#enabled ⇒ Boolean
Returns 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_days ⇒ Integer
Remove blobs older than X days. 0 or lower means no retention.
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_url ⇒ String
read/write/list/delete permissions
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
.mapper ⇒ Object
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 |