Class: Azure::Storage::Mgmt::V2021_01_01::Models::ManagementPolicyFilter
- Inherits:
-
Object
- Object
- Azure::Storage::Mgmt::V2021_01_01::Models::ManagementPolicyFilter
- Includes:
- MsRestAzure
- Defined in:
- lib/2021-01-01/generated/azure_mgmt_storage/models/management_policy_filter.rb
Overview
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.
Instance Attribute Summary collapse
-
#blob_index_match ⇒ Array<TagFilter>
there can be at most 10 tag filters.
-
#blob_types ⇒ Array<String>
blockBlob supports all tiering and delete actions.
-
#prefix_match ⇒ Array<String>
An array of strings for prefixes to be match.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for ManagementPolicyFilter class as Ruby Hash.
Instance Attribute Details
#blob_index_match ⇒ Array<TagFilter>
there can be at most 10 tag filters
27 28 29 |
# File 'lib/2021-01-01/generated/azure_mgmt_storage/models/management_policy_filter.rb', line 27 def blob_index_match @blob_index_match end |
#blob_types ⇒ Array<String>
blockBlob supports all tiering and delete actions. Only delete actions are supported for appendBlob.
23 24 25 |
# File 'lib/2021-01-01/generated/azure_mgmt_storage/models/management_policy_filter.rb', line 23 def blob_types @blob_types end |
#prefix_match ⇒ Array<String>
Returns An array of strings for prefixes to be match.
18 19 20 |
# File 'lib/2021-01-01/generated/azure_mgmt_storage/models/management_policy_filter.rb', line 18 def prefix_match @prefix_match end |
Class Method Details
.mapper ⇒ Object
Mapper for ManagementPolicyFilter class as Ruby Hash. This will be used for serialization/deserialization.
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 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 |
# File 'lib/2021-01-01/generated/azure_mgmt_storage/models/management_policy_filter.rb', line 34 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' } } } }, blob_index_match: { client_side_validation: true, required: false, serialized_name: 'blobIndexMatch', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'TagFilterElementType', type: { name: 'Composite', class_name: 'TagFilter' } } } } } } } end |