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 : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Storage.Models.BlobInventoryPolicyFilter>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Storage.Models.BlobInventoryPolicyFilter>
public class BlobInventoryPolicyFilter
type BlobInventoryPolicyFilter = class
interface IJsonModel<BlobInventoryPolicyFilter>
interface IPersistableModel<BlobInventoryPolicyFilter>
type BlobInventoryPolicyFilter = class
Public Class BlobInventoryPolicyFilter
Implements IJsonModel(Of BlobInventoryPolicyFilter), IPersistableModel(Of BlobInventoryPolicyFilter)
Public Class BlobInventoryPolicyFilter
- Inheritance
-
BlobInventoryPolicyFilter
- Implements
Constructors
BlobInventoryPolicyFilter() |
Initializes a new instance of BlobInventoryPolicyFilter. |
Properties
BlobTypes |
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'. |
CreationTimeLastNDays |
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. |
IncludeBlobVersions |
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. |
IncludePrefix |
An array of strings with maximum 10 blob prefixes to be included in the inventory. |
IncludeSnapshots |
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. |
Explicit Interface Implementations
IJsonModel<BlobInventoryPolicyFilter>.Create(Utf8JsonReader, ModelReaderWriterOptions) |
Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model. |
IJsonModel<BlobInventoryPolicyFilter>.Write(Utf8JsonWriter, ModelReaderWriterOptions) |
Writes the model to the provided Utf8JsonWriter. |
IPersistableModel<BlobInventoryPolicyFilter>.Create(BinaryData, ModelReaderWriterOptions) |
Converts the provided BinaryData into a model. |
IPersistableModel<BlobInventoryPolicyFilter>.GetFormatFromOptions(ModelReaderWriterOptions) |
Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service. |
IPersistableModel<BlobInventoryPolicyFilter>.Write(ModelReaderWriterOptions) |
Writes the model into a BinaryData. |
Applies to
Azure SDK for .NET