Udostępnij za pośrednictwem


BlobInventoryPolicyDefinition Constructor

Definition

Initializes a new instance of BlobInventoryPolicyDefinition.

public BlobInventoryPolicyDefinition (Azure.ResourceManager.Storage.Models.BlobInventoryPolicyFormat format, Azure.ResourceManager.Storage.Models.BlobInventoryPolicySchedule schedule, Azure.ResourceManager.Storage.Models.BlobInventoryPolicyObjectType objectType, System.Collections.Generic.IEnumerable<string> schemaFields);
new Azure.ResourceManager.Storage.Models.BlobInventoryPolicyDefinition : Azure.ResourceManager.Storage.Models.BlobInventoryPolicyFormat * Azure.ResourceManager.Storage.Models.BlobInventoryPolicySchedule * Azure.ResourceManager.Storage.Models.BlobInventoryPolicyObjectType * seq<string> -> Azure.ResourceManager.Storage.Models.BlobInventoryPolicyDefinition
Public Sub New (format As BlobInventoryPolicyFormat, schedule As BlobInventoryPolicySchedule, objectType As BlobInventoryPolicyObjectType, schemaFields As IEnumerable(Of String))

Parameters

format
BlobInventoryPolicyFormat

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

schedule
BlobInventoryPolicySchedule

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

objectType
BlobInventoryPolicyObjectType

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

schemaFields
IEnumerable<String>

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.

Exceptions

schemaFields is null.

Applies to