Skip to content

Commit d022022

Browse files
authored
Storage STG 98 (Azure#48247)
1 parent 468c668 commit d022022

File tree

63 files changed

+731
-64
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

63 files changed

+731
-64
lines changed

sdk/storage/Azure.Storage.Blobs.Batch/tests/Azure.Storage.Blobs.Batch.Tests.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
<ProjectReference Include="$(MSBuildThisFileDirectory)..\..\Azure.Storage.Common\src\Azure.Storage.Common.csproj" />
1212
<ProjectReference Include="$(MSBuildThisFileDirectory)..\..\Azure.Storage.Blobs\src\Azure.Storage.Blobs.csproj" />
1313
<ProjectReference Include="$(MSBuildThisFileDirectory)..\src\Azure.Storage.Blobs.Batch.csproj" />
14+
<ProjectReference Include="$(MSBuildThisFileDirectory)..\..\Azure.Storage.Files.Shares\src\Azure.Storage.Files.Shares.csproj" />
1415
</ItemGroup>
1516
<ItemGroup>
1617
<Compile Include="$(AzureStorageSharedSources)SasExtensions.cs" LinkBase="Shared" />

sdk/storage/Azure.Storage.Blobs.ChangeFeed/tests/ChangeFeedTestBase.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ namespace Azure.Storage.Blobs.ChangeFeed.Tests
3434
BlobClientOptions.ServiceVersion.V2024_11_04,
3535
BlobClientOptions.ServiceVersion.V2025_01_05,
3636
BlobClientOptions.ServiceVersion.V2025_05_05,
37+
BlobClientOptions.ServiceVersion.V2025_07_05,
3738
StorageVersionExtensions.LatestVersion,
3839
StorageVersionExtensions.MaxVersion,
3940
RecordingServiceVersion = StorageVersionExtensions.MaxVersion,

sdk/storage/Azure.Storage.Blobs/api/Azure.Storage.Blobs.net6.0.cs

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ public enum ServiceVersion
8989
V2024_11_04 = 24,
9090
V2025_01_05 = 25,
9191
V2025_05_05 = 26,
92+
V2025_07_05 = 27,
9293
}
9394
}
9495
public partial class BlobContainerClient
@@ -300,6 +301,7 @@ public AppendBlobAppendBlockFromUriOptions() { }
300301
public Azure.Storage.Blobs.Models.AppendBlobRequestConditions SourceConditions { get { throw null; } set { } }
301302
public byte[] SourceContentHash { get { throw null; } set { } }
302303
public Azure.HttpRange SourceRange { get { throw null; } set { } }
304+
public Azure.Storage.Blobs.Models.FileShareTokenIntent? SourceShareTokenIntent { get { throw null; } set { } }
303305
}
304306
public partial class AppendBlobAppendBlockOptions
305307
{
@@ -488,6 +490,7 @@ public BlobCopyFromUriOptions() { }
488490
public bool? ShouldSealDestination { get { throw null; } set { } }
489491
public Azure.HttpAuthorization SourceAuthentication { get { throw null; } set { } }
490492
public Azure.Storage.Blobs.Models.BlobRequestConditions SourceConditions { get { throw null; } set { } }
493+
public Azure.Storage.Blobs.Models.FileShareTokenIntent? SourceShareTokenIntent { get { throw null; } set { } }
491494
public System.Collections.Generic.IDictionary<string, string> Tags { get { throw null; } set { } }
492495
}
493496
public partial class BlobCopyInfo
@@ -1179,6 +1182,7 @@ public BlobSyncUploadFromUriOptions() { }
11791182
public System.Collections.Generic.IDictionary<string, string> Metadata { get { throw null; } set { } }
11801183
public Azure.HttpAuthorization SourceAuthentication { get { throw null; } set { } }
11811184
public Azure.Storage.Blobs.Models.BlobRequestConditions SourceConditions { get { throw null; } set { } }
1185+
public Azure.Storage.Blobs.Models.FileShareTokenIntent? SourceShareTokenIntent { get { throw null; } set { } }
11821186
public System.Collections.Generic.IDictionary<string, string> Tags { get { throw null; } set { } }
11831187
}
11841188
[System.FlagsAttribute]
@@ -1314,6 +1318,23 @@ public enum EncryptionAlgorithmType
13141318
{
13151319
Aes256 = 0,
13161320
}
1321+
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
1322+
public readonly partial struct FileShareTokenIntent : System.IEquatable<Azure.Storage.Blobs.Models.FileShareTokenIntent>
1323+
{
1324+
private readonly object _dummy;
1325+
private readonly int _dummyPrimitive;
1326+
public FileShareTokenIntent(string value) { throw null; }
1327+
public static Azure.Storage.Blobs.Models.FileShareTokenIntent Backup { get { throw null; } }
1328+
public bool Equals(Azure.Storage.Blobs.Models.FileShareTokenIntent other) { throw null; }
1329+
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
1330+
public override bool Equals(object obj) { throw null; }
1331+
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
1332+
public override int GetHashCode() { throw null; }
1333+
public static bool operator ==(Azure.Storage.Blobs.Models.FileShareTokenIntent left, Azure.Storage.Blobs.Models.FileShareTokenIntent right) { throw null; }
1334+
public static implicit operator Azure.Storage.Blobs.Models.FileShareTokenIntent (string value) { throw null; }
1335+
public static bool operator !=(Azure.Storage.Blobs.Models.FileShareTokenIntent left, Azure.Storage.Blobs.Models.FileShareTokenIntent right) { throw null; }
1336+
public override string ToString() { throw null; }
1337+
}
13171338
public partial class GetBlobTagResult
13181339
{
13191340
public GetBlobTagResult() { }
@@ -1411,6 +1432,7 @@ public PageBlobUploadPagesFromUriOptions() { }
14111432
public Azure.HttpAuthorization SourceAuthentication { get { throw null; } set { } }
14121433
public Azure.Storage.Blobs.Models.PageBlobRequestConditions SourceConditions { get { throw null; } set { } }
14131434
public byte[] SourceContentHash { get { throw null; } set { } }
1435+
public Azure.Storage.Blobs.Models.FileShareTokenIntent? SourceShareTokenIntent { get { throw null; } set { } }
14141436
}
14151437
public partial class PageBlobUploadPagesOptions
14161438
{
@@ -1495,6 +1517,7 @@ public StageBlockFromUriOptions() { }
14951517
public Azure.RequestConditions SourceConditions { get { throw null; } set { } }
14961518
public byte[] SourceContentHash { get { throw null; } set { } }
14971519
public Azure.HttpRange SourceRange { get { throw null; } set { } }
1520+
public Azure.Storage.Blobs.Models.FileShareTokenIntent? SourceShareTokenIntent { get { throw null; } set { } }
14981521
}
14991522
public partial class TaggedBlobItem
15001523
{

sdk/storage/Azure.Storage.Blobs/api/Azure.Storage.Blobs.net8.0.cs

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ public enum ServiceVersion
8989
V2024_11_04 = 24,
9090
V2025_01_05 = 25,
9191
V2025_05_05 = 26,
92+
V2025_07_05 = 27,
9293
}
9394
}
9495
public partial class BlobContainerClient
@@ -300,6 +301,7 @@ public AppendBlobAppendBlockFromUriOptions() { }
300301
public Azure.Storage.Blobs.Models.AppendBlobRequestConditions SourceConditions { get { throw null; } set { } }
301302
public byte[] SourceContentHash { get { throw null; } set { } }
302303
public Azure.HttpRange SourceRange { get { throw null; } set { } }
304+
public Azure.Storage.Blobs.Models.FileShareTokenIntent? SourceShareTokenIntent { get { throw null; } set { } }
303305
}
304306
public partial class AppendBlobAppendBlockOptions
305307
{
@@ -488,6 +490,7 @@ public BlobCopyFromUriOptions() { }
488490
public bool? ShouldSealDestination { get { throw null; } set { } }
489491
public Azure.HttpAuthorization SourceAuthentication { get { throw null; } set { } }
490492
public Azure.Storage.Blobs.Models.BlobRequestConditions SourceConditions { get { throw null; } set { } }
493+
public Azure.Storage.Blobs.Models.FileShareTokenIntent? SourceShareTokenIntent { get { throw null; } set { } }
491494
public System.Collections.Generic.IDictionary<string, string> Tags { get { throw null; } set { } }
492495
}
493496
public partial class BlobCopyInfo
@@ -1179,6 +1182,7 @@ public BlobSyncUploadFromUriOptions() { }
11791182
public System.Collections.Generic.IDictionary<string, string> Metadata { get { throw null; } set { } }
11801183
public Azure.HttpAuthorization SourceAuthentication { get { throw null; } set { } }
11811184
public Azure.Storage.Blobs.Models.BlobRequestConditions SourceConditions { get { throw null; } set { } }
1185+
public Azure.Storage.Blobs.Models.FileShareTokenIntent? SourceShareTokenIntent { get { throw null; } set { } }
11821186
public System.Collections.Generic.IDictionary<string, string> Tags { get { throw null; } set { } }
11831187
}
11841188
[System.FlagsAttribute]
@@ -1314,6 +1318,23 @@ public enum EncryptionAlgorithmType
13141318
{
13151319
Aes256 = 0,
13161320
}
1321+
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
1322+
public readonly partial struct FileShareTokenIntent : System.IEquatable<Azure.Storage.Blobs.Models.FileShareTokenIntent>
1323+
{
1324+
private readonly object _dummy;
1325+
private readonly int _dummyPrimitive;
1326+
public FileShareTokenIntent(string value) { throw null; }
1327+
public static Azure.Storage.Blobs.Models.FileShareTokenIntent Backup { get { throw null; } }
1328+
public bool Equals(Azure.Storage.Blobs.Models.FileShareTokenIntent other) { throw null; }
1329+
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
1330+
public override bool Equals(object obj) { throw null; }
1331+
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
1332+
public override int GetHashCode() { throw null; }
1333+
public static bool operator ==(Azure.Storage.Blobs.Models.FileShareTokenIntent left, Azure.Storage.Blobs.Models.FileShareTokenIntent right) { throw null; }
1334+
public static implicit operator Azure.Storage.Blobs.Models.FileShareTokenIntent (string value) { throw null; }
1335+
public static bool operator !=(Azure.Storage.Blobs.Models.FileShareTokenIntent left, Azure.Storage.Blobs.Models.FileShareTokenIntent right) { throw null; }
1336+
public override string ToString() { throw null; }
1337+
}
13171338
public partial class GetBlobTagResult
13181339
{
13191340
public GetBlobTagResult() { }
@@ -1411,6 +1432,7 @@ public PageBlobUploadPagesFromUriOptions() { }
14111432
public Azure.HttpAuthorization SourceAuthentication { get { throw null; } set { } }
14121433
public Azure.Storage.Blobs.Models.PageBlobRequestConditions SourceConditions { get { throw null; } set { } }
14131434
public byte[] SourceContentHash { get { throw null; } set { } }
1435+
public Azure.Storage.Blobs.Models.FileShareTokenIntent? SourceShareTokenIntent { get { throw null; } set { } }
14141436
}
14151437
public partial class PageBlobUploadPagesOptions
14161438
{
@@ -1495,6 +1517,7 @@ public StageBlockFromUriOptions() { }
14951517
public Azure.RequestConditions SourceConditions { get { throw null; } set { } }
14961518
public byte[] SourceContentHash { get { throw null; } set { } }
14971519
public Azure.HttpRange SourceRange { get { throw null; } set { } }
1520+
public Azure.Storage.Blobs.Models.FileShareTokenIntent? SourceShareTokenIntent { get { throw null; } set { } }
14981521
}
14991522
public partial class TaggedBlobItem
15001523
{

sdk/storage/Azure.Storage.Blobs/api/Azure.Storage.Blobs.netstandard2.0.cs

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ public enum ServiceVersion
8989
V2024_11_04 = 24,
9090
V2025_01_05 = 25,
9191
V2025_05_05 = 26,
92+
V2025_07_05 = 27,
9293
}
9394
}
9495
public partial class BlobContainerClient
@@ -300,6 +301,7 @@ public AppendBlobAppendBlockFromUriOptions() { }
300301
public Azure.Storage.Blobs.Models.AppendBlobRequestConditions SourceConditions { get { throw null; } set { } }
301302
public byte[] SourceContentHash { get { throw null; } set { } }
302303
public Azure.HttpRange SourceRange { get { throw null; } set { } }
304+
public Azure.Storage.Blobs.Models.FileShareTokenIntent? SourceShareTokenIntent { get { throw null; } set { } }
303305
}
304306
public partial class AppendBlobAppendBlockOptions
305307
{
@@ -488,6 +490,7 @@ public BlobCopyFromUriOptions() { }
488490
public bool? ShouldSealDestination { get { throw null; } set { } }
489491
public Azure.HttpAuthorization SourceAuthentication { get { throw null; } set { } }
490492
public Azure.Storage.Blobs.Models.BlobRequestConditions SourceConditions { get { throw null; } set { } }
493+
public Azure.Storage.Blobs.Models.FileShareTokenIntent? SourceShareTokenIntent { get { throw null; } set { } }
491494
public System.Collections.Generic.IDictionary<string, string> Tags { get { throw null; } set { } }
492495
}
493496
public partial class BlobCopyInfo
@@ -1179,6 +1182,7 @@ public BlobSyncUploadFromUriOptions() { }
11791182
public System.Collections.Generic.IDictionary<string, string> Metadata { get { throw null; } set { } }
11801183
public Azure.HttpAuthorization SourceAuthentication { get { throw null; } set { } }
11811184
public Azure.Storage.Blobs.Models.BlobRequestConditions SourceConditions { get { throw null; } set { } }
1185+
public Azure.Storage.Blobs.Models.FileShareTokenIntent? SourceShareTokenIntent { get { throw null; } set { } }
11821186
public System.Collections.Generic.IDictionary<string, string> Tags { get { throw null; } set { } }
11831187
}
11841188
[System.FlagsAttribute]
@@ -1314,6 +1318,23 @@ public enum EncryptionAlgorithmType
13141318
{
13151319
Aes256 = 0,
13161320
}
1321+
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
1322+
public readonly partial struct FileShareTokenIntent : System.IEquatable<Azure.Storage.Blobs.Models.FileShareTokenIntent>
1323+
{
1324+
private readonly object _dummy;
1325+
private readonly int _dummyPrimitive;
1326+
public FileShareTokenIntent(string value) { throw null; }
1327+
public static Azure.Storage.Blobs.Models.FileShareTokenIntent Backup { get { throw null; } }
1328+
public bool Equals(Azure.Storage.Blobs.Models.FileShareTokenIntent other) { throw null; }
1329+
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
1330+
public override bool Equals(object obj) { throw null; }
1331+
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
1332+
public override int GetHashCode() { throw null; }
1333+
public static bool operator ==(Azure.Storage.Blobs.Models.FileShareTokenIntent left, Azure.Storage.Blobs.Models.FileShareTokenIntent right) { throw null; }
1334+
public static implicit operator Azure.Storage.Blobs.Models.FileShareTokenIntent (string value) { throw null; }
1335+
public static bool operator !=(Azure.Storage.Blobs.Models.FileShareTokenIntent left, Azure.Storage.Blobs.Models.FileShareTokenIntent right) { throw null; }
1336+
public override string ToString() { throw null; }
1337+
}
13171338
public partial class GetBlobTagResult
13181339
{
13191340
public GetBlobTagResult() { }
@@ -1411,6 +1432,7 @@ public PageBlobUploadPagesFromUriOptions() { }
14111432
public Azure.HttpAuthorization SourceAuthentication { get { throw null; } set { } }
14121433
public Azure.Storage.Blobs.Models.PageBlobRequestConditions SourceConditions { get { throw null; } set { } }
14131434
public byte[] SourceContentHash { get { throw null; } set { } }
1435+
public Azure.Storage.Blobs.Models.FileShareTokenIntent? SourceShareTokenIntent { get { throw null; } set { } }
14141436
}
14151437
public partial class PageBlobUploadPagesOptions
14161438
{
@@ -1495,6 +1517,7 @@ public StageBlockFromUriOptions() { }
14951517
public Azure.RequestConditions SourceConditions { get { throw null; } set { } }
14961518
public byte[] SourceContentHash { get { throw null; } set { } }
14971519
public Azure.HttpRange SourceRange { get { throw null; } set { } }
1520+
public Azure.Storage.Blobs.Models.FileShareTokenIntent? SourceShareTokenIntent { get { throw null; } set { } }
14981521
}
14991522
public partial class TaggedBlobItem
15001523
{

sdk/storage/Azure.Storage.Blobs/api/Azure.Storage.Blobs.netstandard2.1.cs

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,7 @@ public enum ServiceVersion
8989
V2024_11_04 = 24,
9090
V2025_01_05 = 25,
9191
V2025_05_05 = 26,
92+
V2025_07_05 = 27,
9293
}
9394
}
9495
public partial class BlobContainerClient
@@ -300,6 +301,7 @@ public AppendBlobAppendBlockFromUriOptions() { }
300301
public Azure.Storage.Blobs.Models.AppendBlobRequestConditions SourceConditions { get { throw null; } set { } }
301302
public byte[] SourceContentHash { get { throw null; } set { } }
302303
public Azure.HttpRange SourceRange { get { throw null; } set { } }
304+
public Azure.Storage.Blobs.Models.FileShareTokenIntent? SourceShareTokenIntent { get { throw null; } set { } }
303305
}
304306
public partial class AppendBlobAppendBlockOptions
305307
{
@@ -488,6 +490,7 @@ public BlobCopyFromUriOptions() { }
488490
public bool? ShouldSealDestination { get { throw null; } set { } }
489491
public Azure.HttpAuthorization SourceAuthentication { get { throw null; } set { } }
490492
public Azure.Storage.Blobs.Models.BlobRequestConditions SourceConditions { get { throw null; } set { } }
493+
public Azure.Storage.Blobs.Models.FileShareTokenIntent? SourceShareTokenIntent { get { throw null; } set { } }
491494
public System.Collections.Generic.IDictionary<string, string> Tags { get { throw null; } set { } }
492495
}
493496
public partial class BlobCopyInfo
@@ -1179,6 +1182,7 @@ public BlobSyncUploadFromUriOptions() { }
11791182
public System.Collections.Generic.IDictionary<string, string> Metadata { get { throw null; } set { } }
11801183
public Azure.HttpAuthorization SourceAuthentication { get { throw null; } set { } }
11811184
public Azure.Storage.Blobs.Models.BlobRequestConditions SourceConditions { get { throw null; } set { } }
1185+
public Azure.Storage.Blobs.Models.FileShareTokenIntent? SourceShareTokenIntent { get { throw null; } set { } }
11821186
public System.Collections.Generic.IDictionary<string, string> Tags { get { throw null; } set { } }
11831187
}
11841188
[System.FlagsAttribute]
@@ -1314,6 +1318,23 @@ public enum EncryptionAlgorithmType
13141318
{
13151319
Aes256 = 0,
13161320
}
1321+
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
1322+
public readonly partial struct FileShareTokenIntent : System.IEquatable<Azure.Storage.Blobs.Models.FileShareTokenIntent>
1323+
{
1324+
private readonly object _dummy;
1325+
private readonly int _dummyPrimitive;
1326+
public FileShareTokenIntent(string value) { throw null; }
1327+
public static Azure.Storage.Blobs.Models.FileShareTokenIntent Backup { get { throw null; } }
1328+
public bool Equals(Azure.Storage.Blobs.Models.FileShareTokenIntent other) { throw null; }
1329+
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
1330+
public override bool Equals(object obj) { throw null; }
1331+
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
1332+
public override int GetHashCode() { throw null; }
1333+
public static bool operator ==(Azure.Storage.Blobs.Models.FileShareTokenIntent left, Azure.Storage.Blobs.Models.FileShareTokenIntent right) { throw null; }
1334+
public static implicit operator Azure.Storage.Blobs.Models.FileShareTokenIntent (string value) { throw null; }
1335+
public static bool operator !=(Azure.Storage.Blobs.Models.FileShareTokenIntent left, Azure.Storage.Blobs.Models.FileShareTokenIntent right) { throw null; }
1336+
public override string ToString() { throw null; }
1337+
}
13171338
public partial class GetBlobTagResult
13181339
{
13191340
public GetBlobTagResult() { }
@@ -1411,6 +1432,7 @@ public PageBlobUploadPagesFromUriOptions() { }
14111432
public Azure.HttpAuthorization SourceAuthentication { get { throw null; } set { } }
14121433
public Azure.Storage.Blobs.Models.PageBlobRequestConditions SourceConditions { get { throw null; } set { } }
14131434
public byte[] SourceContentHash { get { throw null; } set { } }
1435+
public Azure.Storage.Blobs.Models.FileShareTokenIntent? SourceShareTokenIntent { get { throw null; } set { } }
14141436
}
14151437
public partial class PageBlobUploadPagesOptions
14161438
{
@@ -1495,6 +1517,7 @@ public StageBlockFromUriOptions() { }
14951517
public Azure.RequestConditions SourceConditions { get { throw null; } set { } }
14961518
public byte[] SourceContentHash { get { throw null; } set { } }
14971519
public Azure.HttpRange SourceRange { get { throw null; } set { } }
1520+
public Azure.Storage.Blobs.Models.FileShareTokenIntent? SourceShareTokenIntent { get { throw null; } set { } }
14981521
}
14991522
public partial class TaggedBlobItem
15001523
{

sdk/storage/Azure.Storage.Blobs/assets.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,5 @@
22
"AssetsRepo": "Azure/azure-sdk-assets",
33
"AssetsRepoPrefixPath": "net",
44
"TagPrefix": "net/storage/Azure.Storage.Blobs",
5-
"Tag": "net/storage/Azure.Storage.Blobs_4b15790f77"
5+
"Tag": "net/storage/Azure.Storage.Blobs_b4d1ce2a63"
66
}

0 commit comments

Comments
 (0)