class Azure::Storage::Mgmt::V2019_04_01::Models::ManagementPolicyFilter
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.
Attributes
blob_types[RW]
@return [Array<String>] An array of predefined enum values. Only blockBlob is supported.
prefix_match[RW]
@return [Array<String>] An array of strings for prefixes to be match.
Public Class Methods
mapper()
click to toggle source
Mapper for ManagementPolicyFilter
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2019-04-01/generated/azure_mgmt_storage/models/management_policy_filter.rb, line 29 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