Class: Azure::Storage::Mgmt::V2019_04_01::Models::ManagementPolicyBaseBlob
- Inherits:
-
Object
- Object
- Azure::Storage::Mgmt::V2019_04_01::Models::ManagementPolicyBaseBlob
- Includes:
- MsRestAzure
- Defined in:
- lib/2019-04-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.
-
#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/2019-04-01/generated/azure_mgmt_storage/models/management_policy_base_blob.rb', line 24 def delete @delete end |
#tier_to_archive ⇒ DateAfterModification
storage. Support blobs currently at Hot or Cool tier
21 22 23 |
# File 'lib/2019-04-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/2019-04-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.
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 63 64 65 66 67 68 69 70 |
# File 'lib/2019-04-01/generated/azure_mgmt_storage/models/management_policy_base_blob.rb', line 31 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' } } } } } end |