Dela via


BlobInventoryPolicyDefinition Class

Definition

An object that defines the blob inventory rule.

public class BlobInventoryPolicyDefinition : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Storage.Models.BlobInventoryPolicyDefinition>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Storage.Models.BlobInventoryPolicyDefinition>
public class BlobInventoryPolicyDefinition
type BlobInventoryPolicyDefinition = class
    interface IJsonModel<BlobInventoryPolicyDefinition>
    interface IPersistableModel<BlobInventoryPolicyDefinition>
type BlobInventoryPolicyDefinition = class
Public Class BlobInventoryPolicyDefinition
Implements IJsonModel(Of BlobInventoryPolicyDefinition), IPersistableModel(Of BlobInventoryPolicyDefinition)
Public Class BlobInventoryPolicyDefinition
Inheritance
BlobInventoryPolicyDefinition
Implements

Constructors

BlobInventoryPolicyDefinition(BlobInventoryPolicyFormat, BlobInventoryPolicySchedule, BlobInventoryPolicyObjectType, IEnumerable<String>)

Initializes a new instance of BlobInventoryPolicyDefinition.

Properties

Filters

An object that defines the filter set.

Format

This is a required field, it specifies the format for the inventory files.

ObjectType

This is a required field. This field specifies the scope of the inventory created either at the blob or container level.

Schedule

This is a required field. This field is used to schedule an inventory formation.

SchemaFields

This is a required field. This field specifies the fields and properties of the object to be included in the inventory. The Schema field value 'Name' is always required. The valid values for this field for the 'Blob' definition.objectType include 'Name, Creation-Time, Last-Modified, Content-Length, Content-MD5, BlobType, AccessTier, AccessTierChangeTime, AccessTierInferred, Tags, Expiry-Time, hdi_isfolder, Owner, Group, Permissions, Acl, Snapshot, VersionId, IsCurrentVersion, Metadata, LastAccessTime, Tags, Etag, ContentType, ContentEncoding, ContentLanguage, ContentCRC64, CacheControl, ContentDisposition, LeaseStatus, LeaseState, LeaseDuration, ServerEncrypted, Deleted, DeletionId, DeletedTime, RemainingRetentionDays, ImmutabilityPolicyUntilDate, ImmutabilityPolicyMode, LegalHold, CopyId, CopyStatus, CopySource, CopyProgress, CopyCompletionTime, CopyStatusDescription, CustomerProvidedKeySha256, RehydratePriority, ArchiveStatus, XmsBlobSequenceNumber, EncryptionScope, IncrementalCopy, TagCount'. For Blob object type schema field value 'DeletedTime' is applicable only for Hns enabled accounts. The valid values for 'Container' definition.objectType include 'Name, Last-Modified, Metadata, LeaseStatus, LeaseState, LeaseDuration, PublicAccess, HasImmutabilityPolicy, HasLegalHold, Etag, DefaultEncryptionScope, DenyEncryptionScopeOverride, ImmutableStorageWithVersioningEnabled, Deleted, Version, DeletedTime, RemainingRetentionDays'. Schema field values 'Expiry-Time, hdi_isfolder, Owner, Group, Permissions, Acl, DeletionId' are valid only for Hns enabled accounts.Schema field values 'Tags, TagCount' are only valid for Non-Hns accounts.

Explicit Interface Implementations

IJsonModel<BlobInventoryPolicyDefinition>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<BlobInventoryPolicyDefinition>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<BlobInventoryPolicyDefinition>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<BlobInventoryPolicyDefinition>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<BlobInventoryPolicyDefinition>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to