# 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::V2018_11_01 module Models # # Filters limit rule actions to a subset of blobs within the storage # account. If multiple filters are defined, a logical AND is performed on # all filters. # class ManagementPolicyFilter include MsRestAzure # @return [Array] An array of strings for prefixes to be match. attr_accessor :prefix_match # @return [Array] An array of predefined enum values. Only # blockBlob is supported. attr_accessor :blob_types # # Mapper for ManagementPolicyFilter class as Ruby Hash. # This will be used for serialization/deserialization. # def self.mapper() { client_side_validation: true, required: false, serialized_name: 'ManagementPolicyFilter', type: { name: 'Composite', class_name: 'ManagementPolicyFilter', model_properties: { prefix_match: { client_side_validation: true, required: false, serialized_name: 'prefixMatch', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } }, blob_types: { client_side_validation: true, required: true, serialized_name: 'blobTypes', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'StringElementType', type: { name: 'String' } } } } } } } end end end end