BlobInventoryPolicyFilter Constructors
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.
Overloads
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. |
BlobInventoryPolicyFilter()
Initializes a new instance of the BlobInventoryPolicyFilter class.
public BlobInventoryPolicyFilter ();
Public Sub New ()
Applies to
BlobInventoryPolicyFilter(IList<String>, IList<String>, IList<String>, Nullable<Boolean>, Nullable<Boolean>, Nullable<Boolean>)
Initializes a new instance of the BlobInventoryPolicyFilter class.
public BlobInventoryPolicyFilter (System.Collections.Generic.IList<string> prefixMatch = default, System.Collections.Generic.IList<string> excludePrefix = default, System.Collections.Generic.IList<string> blobTypes = default, bool? includeBlobVersions = default, bool? includeSnapshots = default, bool? includeDeleted = default);
new Microsoft.Azure.Management.Storage.Models.BlobInventoryPolicyFilter : System.Collections.Generic.IList<string> * System.Collections.Generic.IList<string> * System.Collections.Generic.IList<string> * Nullable<bool> * Nullable<bool> * Nullable<bool> -> Microsoft.Azure.Management.Storage.Models.BlobInventoryPolicyFilter
Public Sub New (Optional prefixMatch As IList(Of String) = Nothing, Optional excludePrefix As IList(Of String) = Nothing, Optional blobTypes As IList(Of String) = Nothing, Optional includeBlobVersions As Nullable(Of Boolean) = Nothing, Optional includeSnapshots As Nullable(Of Boolean) = Nothing, Optional includeDeleted As Nullable(Of Boolean) = Nothing)
Parameters
An array of strings with maximum 10 blob prefixes to be included in the inventory.
An array of strings with maximum 10 blob prefixes to be excluded from the inventory.
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'.
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.
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.
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.
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應