Class: Azure::Storage::Mgmt::V2021_01_01::Models::BlobInventoryPolicyFilter
- Inherits:
-
Object
- Object
- Azure::Storage::Mgmt::V2021_01_01::Models::BlobInventoryPolicyFilter
- Includes:
- MsRestAzure
- Defined in:
- lib/2021-01-01/generated/azure_mgmt_storage/models/blob_inventory_policy_filter.rb
Overview
An object that defines the blob inventory rule filter conditions.
Instance Attribute Summary collapse
-
#blob_types ⇒ Array<String>
values include blockBlob, appendBlob, pageBlob.
-
#include_blob_versions ⇒ Boolean
set to true.
-
#include_snapshots ⇒ Boolean
set to true.
-
#prefix_match ⇒ Array<String>
matched.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for BlobInventoryPolicyFilter class as Ruby Hash.
Instance Attribute Details
#blob_types ⇒ Array<String>
values include blockBlob, appendBlob, pageBlob. Hns accounts does not support pageBlobs.
22 23 24 |
# File 'lib/2021-01-01/generated/azure_mgmt_storage/models/blob_inventory_policy_filter.rb', line 22 def blob_types @blob_types end |
#include_blob_versions ⇒ Boolean
set to true.
26 27 28 |
# File 'lib/2021-01-01/generated/azure_mgmt_storage/models/blob_inventory_policy_filter.rb', line 26 def include_blob_versions @include_blob_versions end |
#include_snapshots ⇒ Boolean
set to true.
30 31 32 |
# File 'lib/2021-01-01/generated/azure_mgmt_storage/models/blob_inventory_policy_filter.rb', line 30 def include_snapshots @include_snapshots end |
#prefix_match ⇒ Array<String>
matched.
17 18 19 |
# File 'lib/2021-01-01/generated/azure_mgmt_storage/models/blob_inventory_policy_filter.rb', line 17 def prefix_match @prefix_match end |
Class Method Details
.mapper ⇒ Object
Mapper for BlobInventoryPolicyFilter class as Ruby Hash. This will be used for serialization/deserialization.
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 96 97 |
# File 'lib/2021-01-01/generated/azure_mgmt_storage/models/blob_inventory_policy_filter.rb', line 37 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'BlobInventoryPolicyFilter', type: { name: 'Composite', class_name: 'BlobInventoryPolicyFilter', 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' } } } }, include_blob_versions: { client_side_validation: true, required: false, serialized_name: 'includeBlobVersions', type: { name: 'Boolean' } }, include_snapshots: { client_side_validation: true, required: false, serialized_name: 'includeSnapshots', type: { name: 'Boolean' } } } } } end |