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
4 changes: 4 additions & 0 deletions specification/storage/Microsoft.BlobStorage/main.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,8 @@ namespace Storage.Blob;
enum Versions {
@doc("The 2025-11-05 version of the Azure.Storage.Blob service.")
v2025_11_05: "2025-11-05",

@doc("The 2026-02-06 version of the Azure.Storage.Blob service.")
@useDependency(Azure.Core.Versions.v1_0_Preview_2)
v2026_02_06: "2026-02-06",
}
38 changes: 38 additions & 0 deletions specification/storage/Microsoft.BlobStorage/models.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import "@azure-tools/typespec-client-generator-core";

using Azure.Core;
using TypeSpec.Http;
using TypeSpec.Versioning;
using Azure.ClientGenerator.Core;

namespace Storage.Blob;
Expand Down Expand Up @@ -2321,3 +2322,40 @@ alias PageWriteParameter<TPageWrite extends string> = {
@header("x-ms-page-write")
pageWrite: TPageWrite;
};

alias IfBlobMatchHeader = {
/** Specify an ETag value to operate only on blobs with a matching value. */
@added(Versions.v2026_02_06)
@header("x-ms-blob-if-match")
ifMatch?: string;
};

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

alias IfBlobNoneMatchHeader = {
/** Specify an ETag value to operate only on blobs without a matching value. */
@added(Versions.v2026_02_06)
@header("x-ms-blob-if-none-match")
ifNoneMatch?: string;
};

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

alias ListBlobsStartFrom = {
/** Specifies the relative path to list paths from. For non-recursive list, only one entity level is supported; For recursive list, multiple entity levels are supported. (Inclusive) */
@added(Versions.v2026_02_06)
@query
startFrom?: string;
};
11 changes: 11 additions & 0 deletions specification/storage/Microsoft.BlobStorage/routes.tsp
Original file line number Diff line number Diff line change
Expand Up @@ -594,6 +594,7 @@ namespace Storage.Blob {
...MaxResultsParameter;
...ListBlobsIncludeParameter;
...TimeoutParameter;
...ListBlobsStartFrom;
},
{
...DateResponseHeader;
Expand Down Expand Up @@ -622,6 +623,7 @@ namespace Storage.Blob {
...MaxResultsParameter;
...ListBlobsIncludeParameter;
...TimeoutParameter;
...ListBlobsStartFrom;
},
{
...DateResponseHeader;
Expand Down Expand Up @@ -1457,6 +1459,10 @@ namespace Storage.Blob {
...VersionIdParameter;
...LeaseIdOptionalParameter;
...IfTagsParameter;
...IfBlobModifiedSinceHeader;
...IfBlobUnmodifiedSinceHeader;
...IfBlobMatchHeader;
...IfBlobNoneMatchHeader;
},
{
...DateResponseHeader;
Expand Down Expand Up @@ -1485,6 +1491,11 @@ namespace Storage.Blob {
/** The blob tags. */
@body
tags: BlobTags;

...IfBlobModifiedSinceHeader;
...IfBlobUnmodifiedSinceHeader;
...IfBlobMatchHeader;
...IfBlobNoneMatchHeader;
},
{
@statusCode statusCode: 204;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -139,13 +139,22 @@ input-file:
- stable/2025-11-05/generated_blob.json
```

### Tag: package-2026-02-tsp

These settings apply only when `--tag=package-2026-02-tsp` is specified on the command line.

```yaml $(tag) == 'package-2026-02-tsp'
input-file:
- stable/2026-02-06/generated_blob.json
```

### Tag: package-2026-02

These settings apply only when `--tag=package-2026-02` is specified on the command line.

``` yaml $(tag) == 'package-2026-02'
```yaml $(tag) == 'package-2026-02'
input-file:
- stable/2026-02-06/blob.json
- stable/2026-02-06/blob.json
```

### Suppression
Expand Down
Loading
Loading