-
Notifications
You must be signed in to change notification settings - Fork 5.9k
[storage-blob] JS rename of contentCrc64 => xMsContentCrc64 and accessTierChangeTime => accessTierChangedOn #45405
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
5f5ae5f
e170e02
f6eeb30
bbdf2c6
5db28e9
b4c5090
c614e43
d7772a4
2b4203e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -1640,6 +1640,25 @@ | |
| lastAccessed?: utcDateTime; | ||
| }; | ||
|
|
||
| /** The access tier change time response header */ | ||
| alias AccessTierChangeTimeResponseHeader = { | ||
| /** The time the tier was changed on the blob. This is only returned if the tier on the blob was ever set. */ | ||
| #suppress "@azure-tools/typespec-azure-core/known-encoding" "Existing API" | ||
|
Check warning on line 1646 in specification/storage/data-plane/BlobStorage/Common/models.tsp
|
||
| @encode("rfc7231") | ||
| @header("x-ms-access-tier-change-time") | ||
| accessTierChangeTime?: utcDateTime; | ||
| }; | ||
|
|
||
| /** The access tier change time response header */ | ||
| alias AccessTierChangeTimeResponseHeaderV2026_10_06 = { | ||
| /** The time the tier was changed on the blob. This is only returned if the tier on the blob was ever set. */ | ||
| #suppress "@azure-tools/typespec-azure-core/known-encoding" "Existing API" | ||
|
Check warning on line 1655 in specification/storage/data-plane/BlobStorage/Common/models.tsp
|
||
| @added(Versions.v2026_10_06) | ||
| @encode("rfc7231") | ||
| @header("x-ms-access-tier-change-time") | ||
| accessTierChangeTime?: utcDateTime; | ||
| }; | ||
|
|
||
| /** The is sealed response header. */ | ||
| alias IsSealedResponseHeader = { | ||
| /** Whether the blob is sealed. */ | ||
|
|
@@ -1832,6 +1851,14 @@ | |
| contentCrc64?: bytes; | ||
| }; | ||
|
|
||
| /** The content CRC64 response header. */ | ||
| alias ContentCrc64ResponseHeaderV2026_10_06 = { | ||
| /** The CRC64 hash of the content. */ | ||
| @added(Versions.v2026_10_06) | ||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I had to duplicate the above to attach the
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Unfortunately no :/ can you open an issue? I'll bring it up with the rest of the tsp team to see if there's any way this scenario can be improved
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. |
||
| @header("x-ms-content-crc64") | ||
| contentCrc64?: bytes; | ||
| }; | ||
|
|
||
| /** The copy status response header. */ | ||
| alias CopyStatusResponseHeader = { | ||
| /** Status of the copy operation. */ | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks like this is missing the versioning decorator
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
you'll need 2 of these due to the diff versions
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch! I missed the two
@added. Fixed.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this is still missing the added decorator
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You are right! I pushed another update