Class: Azure::Storage::Mgmt::V2021_01_01::Models::LastAccessTimeTrackingPolicy
- Inherits:
-
Object
- Object
- Azure::Storage::Mgmt::V2021_01_01::Models::LastAccessTimeTrackingPolicy
- Includes:
- MsRestAzure
- Defined in:
- lib/2021-01-01/generated/azure_mgmt_storage/models/last_access_time_tracking_policy.rb
Overview
The blob service properties for Last access time based tracking policy.
Instance Attribute Summary collapse
-
#blob_type ⇒ Array<String>
Only blockBlob is the supported value.
-
#enable ⇒ Boolean
enabled.
-
#name ⇒ Name
AccessTimeTracking.
-
#tracking_granularity_in_days ⇒ Integer
in days, typically how often the blob object should be tracked.This field is currently read only with value as 1.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for LastAccessTimeTrackingPolicy class as Ruby Hash.
Instance Attribute Details
#blob_type ⇒ Array<String>
Only blockBlob is the supported value. This field is currently read only
32 33 34 |
# File 'lib/2021-01-01/generated/azure_mgmt_storage/models/last_access_time_tracking_policy.rb', line 32 def blob_type @blob_type end |
#enable ⇒ Boolean
enabled.
17 18 19 |
# File 'lib/2021-01-01/generated/azure_mgmt_storage/models/last_access_time_tracking_policy.rb', line 17 def enable @enable end |
#name ⇒ Name
AccessTimeTracking. This field is currently read only. Possible values include: ‘AccessTimeTracking’
22 23 24 |
# File 'lib/2021-01-01/generated/azure_mgmt_storage/models/last_access_time_tracking_policy.rb', line 22 def name @name end |
#tracking_granularity_in_days ⇒ Integer
in days, typically how often the blob object should be tracked.This field is currently read only with value as 1
27 28 29 |
# File 'lib/2021-01-01/generated/azure_mgmt_storage/models/last_access_time_tracking_policy.rb', line 27 def tracking_granularity_in_days @tracking_granularity_in_days end |
Class Method Details
.mapper ⇒ Object
Mapper for LastAccessTimeTrackingPolicy class as Ruby Hash. This will be used for serialization/deserialization.
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 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 |
# File 'lib/2021-01-01/generated/azure_mgmt_storage/models/last_access_time_tracking_policy.rb', line 39 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'LastAccessTimeTrackingPolicy', type: { name: 'Composite', class_name: 'LastAccessTimeTrackingPolicy', model_properties: { enable: { client_side_validation: true, required: true, serialized_name: 'enable', type: { name: 'Boolean' } }, name: { client_side_validation: true, required: false, serialized_name: 'name', type: { name: 'String' } }, tracking_granularity_in_days: { client_side_validation: true, required: false, serialized_name: 'trackingGranularityInDays', type: { name: 'Number' } }, blob_type: { client_side_validation: true, required: false, serialized_name: 'blobType', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } } } } } end |