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
2 changes: 1 addition & 1 deletion sdk/storage/Azure.Storage.Blobs.Batch/assets.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"AssetsRepo": "Azure/azure-sdk-assets",
"AssetsRepoPrefixPath": "net",
"TagPrefix": "net/storage/Azure.Storage.Blobs.Batch",
"Tag": "net/storage/Azure.Storage.Blobs.Batch_2e81e3676c"
"Tag": "net/storage/Azure.Storage.Blobs.Batch_2d436425b3"
}
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ namespace Azure.Storage.Blobs.ChangeFeed.Tests
BlobClientOptions.ServiceVersion.V2023_05_03,
BlobClientOptions.ServiceVersion.V2023_08_03,
BlobClientOptions.ServiceVersion.V2023_11_03,
BlobClientOptions.ServiceVersion.V2024_02_04,
StorageVersionExtensions.LatestVersion,
StorageVersionExtensions.MaxVersion,
RecordingServiceVersion = StorageVersionExtensions.MaxVersion,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ public enum ServiceVersion
V2023_05_03 = 18,
V2023_08_03 = 19,
V2023_11_03 = 20,
V2024_02_04 = 21,
}
}
public partial class BlobContainerClient
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ public enum ServiceVersion
V2023_05_03 = 18,
V2023_08_03 = 19,
V2023_11_03 = 20,
V2024_02_04 = 21,
}
}
public partial class BlobContainerClient
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ public enum ServiceVersion
V2023_05_03 = 18,
V2023_08_03 = 19,
V2023_11_03 = 20,
V2024_02_04 = 21,
}
}
public partial class BlobContainerClient
Expand Down
2 changes: 1 addition & 1 deletion sdk/storage/Azure.Storage.Blobs/assets.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"AssetsRepo": "Azure/azure-sdk-assets",
"AssetsRepoPrefixPath": "net",
"TagPrefix": "net/storage/Azure.Storage.Blobs",
"Tag": "net/storage/Azure.Storage.Blobs_2af1298628"
"Tag": "net/storage/Azure.Storage.Blobs_7a3b810a8b"
}
7 changes: 6 additions & 1 deletion sdk/storage/Azure.Storage.Blobs/src/BlobClientOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,12 @@ public enum ServiceVersion
/// <summary>
/// The 2023-11-03 service version.
/// </summary>
V2023_11_03 = 20
V2023_11_03 = 20,

/// <summary>
/// The 2024-02-04 service version.
/// </summary>
V2024_02_04 = 21
#pragma warning restore CA1707 // Identifiers should not contain underscores
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ public BlobsClientTestFixtureAttribute(params object[] additionalParameters)
BlobClientOptions.ServiceVersion.V2023_05_03,
BlobClientOptions.ServiceVersion.V2023_08_03,
BlobClientOptions.ServiceVersion.V2023_11_03,
BlobClientOptions.ServiceVersion.V2024_02_04,
StorageVersionExtensions.LatestVersion,
StorageVersionExtensions.MaxVersion
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ internal static class StorageVersionExtensions
/// </summary>
internal const ServiceVersion MaxVersion =
#if BlobSDK || QueueSDK || FileSDK || DataLakeSDK || ChangeFeedSDK || DataMovementSDK|| BlobDataMovementSDK
ServiceVersion.V2023_11_03;
ServiceVersion.V2024_02_04;
#else
ERROR_STORAGE_SERVICE_NOT_DEFINED;
#endif
Expand Down Expand Up @@ -84,6 +84,7 @@ public static string ToVersionString(this ServiceVersion version) =>
ServiceVersion.V2023_05_03 => "2023-05-03",
ServiceVersion.V2023_08_03 => "2023-08-03",
ServiceVersion.V2023_11_03 => "2023-11-03",
ServiceVersion.V2024_02_04 => "2024-02-04",
#elif QueueSDK
// Queues just bumped the version number without changing the swagger
ServiceVersion.V2019_02_02 => "2018-11-09",
Expand All @@ -106,6 +107,7 @@ public static string ToVersionString(this ServiceVersion version) =>
ServiceVersion.V2023_05_03 => "2018-11-09",
ServiceVersion.V2023_08_03 => "2018-11-09",
ServiceVersion.V2023_11_03 => "2018-11-09",
ServiceVersion.V2024_02_04 => "2018-11-09",
#endif
_ => throw Errors.VersionNotSupported(nameof(version))
};
Expand Down Expand Up @@ -159,6 +161,8 @@ public static Azure.Storage.Blobs.BlobClientOptions.ServiceVersion AsBlobsVersio
Azure.Storage.Blobs.BlobClientOptions.ServiceVersion.V2023_08_03,
Azure.Storage.Files.DataLake.DataLakeClientOptions.ServiceVersion.V2023_11_03 =>
Azure.Storage.Blobs.BlobClientOptions.ServiceVersion.V2023_11_03,
Azure.Storage.Files.DataLake.DataLakeClientOptions.ServiceVersion.V2024_02_04 =>
Azure.Storage.Blobs.BlobClientOptions.ServiceVersion.V2024_02_04,
_ => throw Errors.VersionNotSupported(nameof(version))
};
#endif
Expand Down
3 changes: 2 additions & 1 deletion sdk/storage/Azure.Storage.Common/tests/CommonTestBase.cs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ namespace Azure.Storage.Test
BlobClientOptions.ServiceVersion.V2023_05_03,
BlobClientOptions.ServiceVersion.V2023_08_03,
BlobClientOptions.ServiceVersion.V2023_11_03,
RecordingServiceVersion = BlobClientOptions.ServiceVersion.V2023_11_03,
BlobClientOptions.ServiceVersion.V2024_02_04,
RecordingServiceVersion = BlobClientOptions.ServiceVersion.V2024_02_04,
LiveServiceVersions = new object[] { BlobClientOptions.ServiceVersion.V2023_08_03 })]
public abstract class CommonTestBase : StorageTestBase<StorageTestEnvironment>
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ public enum ServiceVersion
V2023_05_03 = 18,
V2023_08_03 = 19,
V2023_11_03 = 20,
V2024_02_04 = 21,
}
}
public partial class DataLakeDirectoryClient : Azure.Storage.Files.DataLake.DataLakePathClient
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ public enum ServiceVersion
V2023_05_03 = 18,
V2023_08_03 = 19,
V2023_11_03 = 20,
V2024_02_04 = 21,
}
}
public partial class DataLakeDirectoryClient : Azure.Storage.Files.DataLake.DataLakePathClient
Expand Down
2 changes: 1 addition & 1 deletion sdk/storage/Azure.Storage.Files.DataLake/assets.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"AssetsRepo": "Azure/azure-sdk-assets",
"AssetsRepoPrefixPath": "net",
"TagPrefix": "net/storage/Azure.Storage.Files.DataLake",
"Tag": "net/storage/Azure.Storage.Files.DataLake_6bcfabcd30"
"Tag": "net/storage/Azure.Storage.Files.DataLake_9a05acfd65"
}
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,12 @@ public enum ServiceVersion
/// <summary>
/// The 2023-11-03 service version.
/// </summary>
V2023_11_03 = 20
V2023_11_03 = 20,

/// <summary>
/// The 2024-02-04 service version.
/// </summary>
V2024_02_04 = 21
#pragma warning restore CA1707 // Identifiers should not contain underscores
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ public DataLakeClientTestFixtureAttribute()
DataLakeClientOptions.ServiceVersion.V2023_05_03,
DataLakeClientOptions.ServiceVersion.V2023_08_03,
DataLakeClientOptions.ServiceVersion.V2023_11_03,
DataLakeClientOptions.ServiceVersion.V2024_02_04,
StorageVersionExtensions.LatestVersion,
StorageVersionExtensions.MaxVersion)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ public enum ServiceVersion
V2023_05_03 = 18,
V2023_08_03 = 19,
V2023_11_03 = 20,
V2024_02_04 = 21,
}
}
public partial class ShareDirectoryClient
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ public enum ServiceVersion
V2023_05_03 = 18,
V2023_08_03 = 19,
V2023_11_03 = 20,
V2024_02_04 = 21,
}
}
public partial class ShareDirectoryClient
Expand Down
2 changes: 1 addition & 1 deletion sdk/storage/Azure.Storage.Files.Shares/assets.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"AssetsRepo": "Azure/azure-sdk-assets",
"AssetsRepoPrefixPath": "net",
"TagPrefix": "net/storage/Azure.Storage.Files.Shares",
"Tag": "net/storage/Azure.Storage.Files.Shares_29361a65db"
"Tag": "net/storage/Azure.Storage.Files.Shares_80f67510e2"
}
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,12 @@ public enum ServiceVersion
/// <summary>
/// The 2023-11-03 service version.
/// </summary>
V2023_11_03 = 20
V2023_11_03 = 20,

/// <summary>
/// The 2024-02-04 service version.
/// </summary>
V2024_02_04 = 21
#pragma warning restore CA1707 // Identifiers should not contain underscores
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ public ShareClientTestFixtureAttribute()
ShareClientOptions.ServiceVersion.V2023_05_03,
ShareClientOptions.ServiceVersion.V2023_08_03,
ShareClientOptions.ServiceVersion.V2023_11_03,
ShareClientOptions.ServiceVersion.V2024_02_04,
StorageVersionExtensions.LatestVersion,
StorageVersionExtensions.MaxVersion)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ public enum ServiceVersion
V2023_05_03 = 18,
V2023_08_03 = 19,
V2023_11_03 = 20,
V2024_02_04 = 21,
}
}
public partial class QueueMessageDecodingFailedEventArgs : Azure.SyncAsyncEventArgs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ public enum ServiceVersion
V2023_05_03 = 18,
V2023_08_03 = 19,
V2023_11_03 = 20,
V2024_02_04 = 21,
}
}
public partial class QueueMessageDecodingFailedEventArgs : Azure.SyncAsyncEventArgs
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ public enum ServiceVersion
V2023_05_03 = 18,
V2023_08_03 = 19,
V2023_11_03 = 20,
V2024_02_04 = 21,
}
}
public partial class QueueMessageDecodingFailedEventArgs : Azure.SyncAsyncEventArgs
Expand Down
2 changes: 1 addition & 1 deletion sdk/storage/Azure.Storage.Queues/assets.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
"AssetsRepo": "Azure/azure-sdk-assets",
"AssetsRepoPrefixPath": "net",
"TagPrefix": "net/storage/Azure.Storage.Queues",
"Tag": "net/storage/Azure.Storage.Queues_55be873687"
"Tag": "net/storage/Azure.Storage.Queues_433065f86d"
}
7 changes: 6 additions & 1 deletion sdk/storage/Azure.Storage.Queues/src/QueueClientOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,12 @@ public enum ServiceVersion
/// <summary>
/// The 2023-11-03 service version.
/// </summary>
V2023_11_03 = 20
V2023_11_03 = 20,

/// <summary>
/// The 2024-02-04 service version.
/// </summary>
V2024_02_04 = 21
#pragma warning restore CA1707 // Identifiers should not contain underscores
}

Expand Down