Sha256: ad9b2303958c7f909ec10c0f725fa25ec387b91b0d25f95de7b4a8fd9ef930cb
Contents?: true
Size: 1.7 KB
Versions: 2
Compression:
Stored size: 1.7 KB
Contents
# 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::V2020_08_01_preview module Models # # An object that defines the Lifecycle rule. Each definition is made up # with a filters set and an actions set. # class ManagementPolicyDefinition include MsRestAzure # @return [ManagementPolicyAction] An object that defines the action set. attr_accessor :actions # @return [ManagementPolicyFilter] An object that defines the filter set. attr_accessor :filters # # Mapper for ManagementPolicyDefinition class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ManagementPolicyDefinition', type: { name: 'Composite', class_name: 'ManagementPolicyDefinition', model_properties: { actions: { client_side_validation: true, required: true, serialized_name: 'actions', type: { name: 'Composite', class_name: 'ManagementPolicyAction' } }, filters: { client_side_validation: true, required: false, serialized_name: 'filters', type: { name: 'Composite', class_name: 'ManagementPolicyFilter' } } } } } end end end end
Version data entries
2 entries across 2 versions & 1 rubygems