共用方式為


BlobInventoryPolicyFilter Constructors

Definition

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

prefixMatch
IList<String>

An array of strings with maximum 10 blob prefixes to be included in the inventory.

excludePrefix
IList<String>

An array of strings with maximum 10 blob prefixes to be excluded from the inventory.

blobTypes
IList<String>

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'.

includeBlobVersions
Nullable<Boolean>

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.

includeSnapshots
Nullable<Boolean>

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.

includeDeleted
Nullable<Boolean>

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