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
Azure SDK for .NET
Váš názor
https://aka.ms/ContentUserFeedback.
Připravujeme: V průběhu roku 2024 budeme postupně vyřazovat problémy z GitHub coby mechanismus zpětné vazby pro obsah a nahrazovat ho novým systémem zpětné vazby. Další informace naleznete v tématu:Odeslat a zobrazit názory pro