ArmStorageModelFactory.BlobInventoryPolicyDefinition Method
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.
public static Azure.ResourceManager.Storage.Models.BlobInventoryPolicyDefinition BlobInventoryPolicyDefinition(Azure.ResourceManager.Storage.Models.BlobInventoryPolicyFilter filters = default, Azure.ResourceManager.Storage.Models.BlobInventoryPolicyFormat format = default, Azure.ResourceManager.Storage.Models.BlobInventoryPolicySchedule schedule = default, Azure.ResourceManager.Storage.Models.BlobInventoryPolicyObjectType objectType = default, System.Collections.Generic.IEnumerable<string> schemaFields = default);
static member BlobInventoryPolicyDefinition : Azure.ResourceManager.Storage.Models.BlobInventoryPolicyFilter * Azure.ResourceManager.Storage.Models.BlobInventoryPolicyFormat * Azure.ResourceManager.Storage.Models.BlobInventoryPolicySchedule * Azure.ResourceManager.Storage.Models.BlobInventoryPolicyObjectType * seq<string> -> Azure.ResourceManager.Storage.Models.BlobInventoryPolicyDefinition
Public Shared Function BlobInventoryPolicyDefinition (Optional filters As BlobInventoryPolicyFilter = Nothing, Optional format As BlobInventoryPolicyFormat = Nothing, Optional schedule As BlobInventoryPolicySchedule = Nothing, Optional objectType As BlobInventoryPolicyObjectType = Nothing, Optional schemaFields As IEnumerable(Of String) = Nothing) As BlobInventoryPolicyDefinition
Parameters
- filters
- BlobInventoryPolicyFilter
An object that defines the filter set.
- 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.
Returns
A new BlobInventoryPolicyDefinition instance for mocking.