# encoding: utf-8 # Code generated by Microsoft (R) AutoRest Code Generator. # Changes may cause incorrect behavior and will be lost if the code is # regenerated. module Azure::Storage::Mgmt::V2021_01_01 module Models # # Management policy action for snapshot. # class ManagementPolicySnapShot include MsRestAzure # @return [DateAfterCreation] The function to tier blob snapshot to cool # storage. Support blob snapshot currently at Hot tier attr_accessor :tier_to_cool # @return [DateAfterCreation] The function to tier blob snapshot to # archive storage. Support blob snapshot currently at Hot or Cool tier attr_accessor :tier_to_archive # @return [DateAfterCreation] The function to delete the blob snapshot attr_accessor :delete # # Mapper for ManagementPolicySnapShot class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ManagementPolicySnapShot', type: { name: 'Composite', class_name: 'ManagementPolicySnapShot', model_properties: { tier_to_cool: { client_side_validation: true, required: false, serialized_name: 'tierToCool', type: { name: 'Composite', class_name: 'DateAfterCreation' } }, tier_to_archive: { client_side_validation: true, required: false, serialized_name: 'tierToArchive', type: { name: 'Composite', class_name: 'DateAfterCreation' } }, delete: { client_side_validation: true, required: false, serialized_name: 'delete', type: { name: 'Composite', class_name: 'DateAfterCreation' } } } } } end end end end