Partager via


IBlobInventoryPolicyFilter Interface

Definition

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.BlobInventoryPolicyFilterTypeConverter))]
public interface IBlobInventoryPolicyFilter : Microsoft.Azure.PowerShell.Cmdlets.Storage.Runtime.IJsonSerializable
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.BlobInventoryPolicyFilterTypeConverter))>]
type IBlobInventoryPolicyFilter = interface
    interface IJsonSerializable
Public Interface IBlobInventoryPolicyFilter
Implements IJsonSerializable
Derived
Attributes
Implements

Properties

BlobType

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

CreationTimeLastNDay

When set the policy filters the objects that are created in the last N days. Where N is an integer value between 1 to 36500.

ExcludePrefix

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

IncludeBlobVersion

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

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.

IncludeSnapshot

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

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

Methods

ToJson(JsonObject, SerializationMode) (Inherited from IJsonSerializable)

Applies to