Class: Azure::Storage::Mgmt::V2021_01_01::Models::ManagementPolicyBaseBlob
- Inherits:
-
Object
- Object
- Azure::Storage::Mgmt::V2021_01_01::Models::ManagementPolicyBaseBlob
- Includes:
- MsRestAzure
- Defined in:
- lib/2021-01-01/generated/azure_mgmt_storage/models/management_policy_base_blob.rb
Overview
Management policy action for base blob.
Instance Attribute Summary collapse
-
#delete ⇒ DateAfterModification
The function to delete the blob.
-
#enable_auto_tier_to_hot_from_cool ⇒ Boolean
cool to hot on a blob access.
-
#tier_to_archive ⇒ DateAfterModification
storage.
-
#tier_to_cool ⇒ DateAfterModification
storage.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ManagementPolicyBaseBlob class as Ruby Hash.
Instance Attribute Details
#delete ⇒ DateAfterModification
Returns The function to delete the blob.
24 25 26 |
# File 'lib/2021-01-01/generated/azure_mgmt_storage/models/management_policy_base_blob.rb', line 24 def delete @delete end |
#enable_auto_tier_to_hot_from_cool ⇒ Boolean
cool to hot on a blob access. This property requires tierToCool.daysAfterLastAccessTimeGreaterThan.
29 30 31 |
# File 'lib/2021-01-01/generated/azure_mgmt_storage/models/management_policy_base_blob.rb', line 29 def enable_auto_tier_to_hot_from_cool @enable_auto_tier_to_hot_from_cool end |
#tier_to_archive ⇒ DateAfterModification
storage. Support blobs currently at Hot or Cool tier
21 22 23 |
# File 'lib/2021-01-01/generated/azure_mgmt_storage/models/management_policy_base_blob.rb', line 21 def tier_to_archive @tier_to_archive end |
#tier_to_cool ⇒ DateAfterModification
storage. Support blobs currently at Hot tier
17 18 19 |
# File 'lib/2021-01-01/generated/azure_mgmt_storage/models/management_policy_base_blob.rb', line 17 def tier_to_cool @tier_to_cool end |
Class Method Details
.mapper ⇒ Object
Mapper for ManagementPolicyBaseBlob class as Ruby Hash. This will be used for serialization/deserialization.
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 71 72 73 74 75 76 77 78 79 80 81 82 83 |
# File 'lib/2021-01-01/generated/azure_mgmt_storage/models/management_policy_base_blob.rb', line 36 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ManagementPolicyBaseBlob', type: { name: 'Composite', class_name: 'ManagementPolicyBaseBlob', model_properties: { tier_to_cool: { client_side_validation: true, required: false, serialized_name: 'tierToCool', type: { name: 'Composite', class_name: 'DateAfterModification' } }, tier_to_archive: { client_side_validation: true, required: false, serialized_name: 'tierToArchive', type: { name: 'Composite', class_name: 'DateAfterModification' } }, delete: { client_side_validation: true, required: false, serialized_name: 'delete', type: { name: 'Composite', class_name: 'DateAfterModification' } }, enable_auto_tier_to_hot_from_cool: { client_side_validation: true, required: false, serialized_name: 'enableAutoTierToHotFromCool', type: { name: 'Boolean' } } } } } end |