Open yifanz0 opened 1 year ago
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @xgithubtriage.
Author: | yifanz0 |
---|---|
Assignees: | - |
Labels: | `Storage`, `Service Attention` |
Milestone: | - |
@HimanshuChhabra Would you please help to look at this issue and fix the description if needed?
In the description of schemaFields https://github.com/Azure/azure-rest-api-specs/blob/main/specification/storage/resource-manager/Microsoft.Storage/stable/2022-05-01/storage.json#L5256, it says
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'.
However the server throws an exception saying the input is valid if we use those values (ContentType, ContentEncoding, ContentLanguage, ContentCRC64, CacheControl, ContentDisposition). Instead, it asks for Content-Type, Content-Encoding, Content-Language, Content-CRC64, Cache-Control, and Content-Disposition.