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
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應