Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions specification/storage/Microsoft.BlobStorage/models.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -2008,6 +2008,22 @@ alias EncryptionKeyParameter = {
encryptionKey?: string;
};

alias AccessTierIfModifiedSinceParameter = {
/** Specify this header value to operate only on a blob if the access-tier has been modified since the specified date/time. */
@added(Versions.v2026_04_06)
@header("x-ms-access-tier-if-modified-since")
@encode("rfc7231")
accessTierIfModifiedSince?: utcDateTime;
};

alias AccessTierIfUnmodifiedSinceParameter = {
/** Specify this header value to operate only on a blob if the access-tier has not been modified since the specified date/time. */
@added(Versions.v2026_04_06)
@header("x-ms-access-tier-if-unmodified-since")
@encode("rfc7231")
accessTierIfUnmodifiedSince?: utcDateTime;
};

/** The If-Tags parameters. */
alias IfTagsParameter = {
/** Specify a SQL where clause on blob tags to operate only on blobs with a matching value. */
Expand Down
3 changes: 3 additions & 0 deletions specification/storage/Microsoft.BlobStorage/routes.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -915,6 +915,9 @@ namespace Storage.Blob {
@query
@clientName("blobDeleteType")
deletetype?: BlobDeleteType;

...AccessTierIfModifiedSinceParameter;
...AccessTierIfUnmodifiedSinceParameter;
},
{
@statusCode statusCode: 202;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1599,6 +1599,24 @@
]
},
"x-ms-client-name": "blobDeleteType"
},
{
"name": "x-ms-access-tier-if-modified-since",
"in": "header",
"description": "Specify this header value to operate only on a blob if the access-tier has been modified since the specified date/time.",
"required": false,
"type": "string",
"format": "date-time-rfc7231",
"x-ms-client-name": "accessTierIfModifiedSince"
},
{
"name": "x-ms-access-tier-if-unmodified-since",
"in": "header",
"description": "Specify this header value to operate only on a blob if the access-tier has not been modified since the specified date/time.",
"required": false,
"type": "string",
"format": "date-time-rfc7231",
"x-ms-client-name": "accessTierIfUnmodifiedSince"
}
],
"responses": {
Expand Down
Loading