BlobInventoryPolicyFilter Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
An object that defines the blob inventory rule filter conditions. For 'Blob' definition.objectType all filter properties are applicable, 'blobTypes' is required and others are optional. For 'Container' definition.objectType only prefixMatch is applicable and is optional.
public class BlobInventoryPolicyFilter
type BlobInventoryPolicyFilter = class
Public Class BlobInventoryPolicyFilter
- Inheritance
-
BlobInventoryPolicyFilter
Constructors
BlobInventoryPolicyFilter() |
Initializes a new instance of the BlobInventoryPolicyFilter class. |
BlobInventoryPolicyFilter(IList<String>, IList<String>, IList<String>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>) |
Initializes a new instance of the BlobInventoryPolicyFilter class. |
Properties
BlobTypes |
Gets or sets an array of predefined enum values. Valid values include blockBlob, appendBlob, pageBlob. Hns accounts does not support pageBlobs. This field is required when definition.objectType property is set to 'Blob'. |
ExcludePrefix |
Gets or sets an array of strings with maximum 10 blob prefixes to be excluded from the inventory. |
IncludeBlobVersions |
Gets or sets includes blob versions in blob inventory when value is set to true. The definition.schemaFields values 'VersionId and IsCurrentVersion' are required if this property is set to true, else they must be excluded. |
IncludeDeleted |
Gets or sets for 'Container' definition.objectType the definition.schemaFields must include 'Deleted, Version, DeletedTime and RemainingRetentionDays'. For 'Blob' definition.objectType and HNS enabled storage accounts the definition.schemaFields must include 'DeletionId, Deleted, DeletedTime and RemainingRetentionDays' and for Hns disabled accounts the definition.schemaFields must include 'Deleted and RemainingRetentionDays', else it must be excluded. |
IncludeSnapshots |
Gets or sets includes blob snapshots in blob inventory when value is set to true. The definition.schemaFields value 'Snapshot' is required if this property is set to true, else it must be excluded. |
PrefixMatch |
Gets or sets an array of strings with maximum 10 blob prefixes to be included in the inventory. |
Applies to
Azure SDK for .NET
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin