Class: Azure::Storage::Mgmt::V2021_01_01::Models::ChangeFeed
- Inherits:
-
Object
- Object
- Azure::Storage::Mgmt::V2021_01_01::Models::ChangeFeed
- Includes:
- MsRestAzure
- Defined in:
- lib/2021-01-01/generated/azure_mgmt_storage/models/change_feed.rb
Overview
The blob service properties for change feed events.
Instance Attribute Summary collapse
-
#enabled ⇒ Boolean
enabled for the Blob service.
-
#retention_in_days ⇒ Integer
days.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ChangeFeed class as Ruby Hash.
Instance Attribute Details
#enabled ⇒ Boolean
enabled for the Blob service.
17 18 19 |
# File 'lib/2021-01-01/generated/azure_mgmt_storage/models/change_feed.rb', line 17 def enabled @enabled end |
#retention_in_days ⇒ Integer
days. Minimum value is 1 day and maximum value is 146000 days (400 years). A null value indicates an infinite retention of the change feed.
23 24 25 |
# File 'lib/2021-01-01/generated/azure_mgmt_storage/models/change_feed.rb', line 23 def retention_in_days @retention_in_days end |
Class Method Details
.mapper ⇒ Object
Mapper for ChangeFeed class as Ruby Hash. This will be used for serialization/deserialization.
30 31 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 |
# File 'lib/2021-01-01/generated/azure_mgmt_storage/models/change_feed.rb', line 30 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ChangeFeed', type: { name: 'Composite', class_name: 'ChangeFeed', model_properties: { enabled: { client_side_validation: true, required: false, serialized_name: 'enabled', type: { name: 'Boolean' } }, retention_in_days: { client_side_validation: true, required: false, serialized_name: 'retentionInDays', constraints: { InclusiveMaximum: 146000, InclusiveMinimum: 1 }, type: { name: 'Number' } } } } } end |