Class: Azure::Storage::Mgmt::V2018_11_01::Models::ManagementPolicyFilter
- Inherits:
-
Object
- Object
- Azure::Storage::Mgmt::V2018_11_01::Models::ManagementPolicyFilter
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-11-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_types ⇒ Array<String>
blockBlob is supported.
-
#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_types ⇒ Array<String>
blockBlob is supported.
22 23 24 |
# File 'lib/2018-11-01/generated/azure_mgmt_storage/models/management_policy_filter.rb', line 22 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/2018-11-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.
29 30 31 32 33 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 |
# File 'lib/2018-11-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 |