Skip to content

Commit d3e3141

Browse files
authored
Preparing for Storage STG 77 beta (Azure#20812)
1 parent df0571b commit d3e3141

File tree

9 files changed

+16
-19
lines changed

9 files changed

+16
-19
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public BlobClient(System.Uri blobUri, Azure.Storage.StorageSharedKeyCredential c
4949
}
5050
public partial class BlobClientOptions : Azure.Core.ClientOptions
5151
{
52-
public BlobClientOptions(Azure.Storage.Blobs.BlobClientOptions.ServiceVersion version = Azure.Storage.Blobs.BlobClientOptions.ServiceVersion.V2020_06_12) { }
52+
public BlobClientOptions(Azure.Storage.Blobs.BlobClientOptions.ServiceVersion version = Azure.Storage.Blobs.BlobClientOptions.ServiceVersion.V2020_08_04) { }
5353
public Azure.Storage.Blobs.Models.CustomerProvidedKey? CustomerProvidedKey { get { throw null; } set { } }
5454
public string EncryptionScope { get { throw null; } set { } }
5555
public System.Uri GeoRedundantSecondaryUri { get { throw null; } set { } }
@@ -1523,7 +1523,7 @@ public PageBlobClient(System.Uri blobUri, Azure.Storage.StorageSharedKeyCredenti
15231523
}
15241524
public partial class SpecializedBlobClientOptions : Azure.Storage.Blobs.BlobClientOptions
15251525
{
1526-
public SpecializedBlobClientOptions(Azure.Storage.Blobs.BlobClientOptions.ServiceVersion version = Azure.Storage.Blobs.BlobClientOptions.ServiceVersion.V2020_06_12) : base (default(Azure.Storage.Blobs.BlobClientOptions.ServiceVersion)) { }
1526+
public SpecializedBlobClientOptions(Azure.Storage.Blobs.BlobClientOptions.ServiceVersion version = Azure.Storage.Blobs.BlobClientOptions.ServiceVersion.V2020_08_04) : base (default(Azure.Storage.Blobs.BlobClientOptions.ServiceVersion)) { }
15271527
public Azure.Storage.ClientSideEncryptionOptions ClientSideEncryption { get { throw null; } set { } }
15281528
}
15291529
public static partial class SpecializedBlobExtensions

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ public enum SasProtocol
130130
}
131131
public partial class SasQueryParameters
132132
{
133-
public const string DefaultSasVersion = "2020-06-12";
133+
public const string DefaultSasVersion = "2020-08-04";
134134
protected SasQueryParameters() { }
135135
protected SasQueryParameters(System.Collections.Generic.IDictionary<string, string> values) { }
136136
protected SasQueryParameters(string version, Azure.Storage.Sas.AccountSasServices? services, Azure.Storage.Sas.AccountSasResourceTypes? resourceTypes, Azure.Storage.Sas.SasProtocol protocol, System.DateTimeOffset startsOn, System.DateTimeOffset expiresOn, Azure.Storage.Sas.SasIPRange ipRange, string identifier, string resource, string permissions, string signature, string cacheControl = null, string contentDisposition = null, string contentEncoding = null, string contentLanguage = null, string contentType = null) { }

sdk/storage/Azure.Storage.Common/src/Shared/Constants.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,7 @@ internal static class Constants
2424
/// Gets the default service version to use when building shared access
2525
/// signatures.
2626
/// </summary>
27-
// TODO https://github.com/Azure/azure-sdk-for-net/issues/19575
28-
public const string DefaultSasVersion = "2020-06-12";
27+
public const string DefaultSasVersion = "2020-08-04";
2928

3029
/// <summary>
3130
/// The default size of staged blocks when uploading small blobs.

sdk/storage/Azure.Storage.Common/src/Shared/StorageVersionExtensions.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,7 @@ internal static class StorageVersionExtensions
3636
/// </summary>
3737
public const ServiceVersion LatestVersion =
3838
#if BlobSDK || QueueSDK || FileSDK || DataLakeSDK || ChangeFeedSDK
39-
// TODO https://github.com/Azure/azure-sdk-for-net/issues/19575 - prepare for STG 77 beta release.
40-
ServiceVersion.V2020_06_12;
39+
ServiceVersion.V2020_08_04;
4140
#else
4241
ERROR_STORAGE_SERVICE_NOT_DEFINED;
4342
#endif
@@ -47,7 +46,6 @@ internal static class StorageVersionExtensions
4746
/// </summary>
4847
internal const ServiceVersion MaxVersion =
4948
#if BlobSDK || QueueSDK || FileSDK || DataLakeSDK || ChangeFeedSDK
50-
// TODO https://github.com/Azure/azure-sdk-for-net/issues/19575 - prepare for STG 77 beta release.
5149
ServiceVersion.V2020_08_04;
5250
#else
5351
ERROR_STORAGE_SERVICE_NOT_DEFINED;

sdk/storage/Azure.Storage.Files.DataLake/api/Azure.Storage.Files.DataLake.netstandard2.0.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ namespace Azure.Storage.Files.DataLake
22
{
33
public partial class DataLakeClientOptions : Azure.Core.ClientOptions
44
{
5-
public DataLakeClientOptions(Azure.Storage.Files.DataLake.DataLakeClientOptions.ServiceVersion version = Azure.Storage.Files.DataLake.DataLakeClientOptions.ServiceVersion.V2020_06_12) { }
5+
public DataLakeClientOptions(Azure.Storage.Files.DataLake.DataLakeClientOptions.ServiceVersion version = Azure.Storage.Files.DataLake.DataLakeClientOptions.ServiceVersion.V2020_08_04) { }
66
public System.Uri GeoRedundantSecondaryUri { get { throw null; } set { } }
77
public Azure.Storage.Files.DataLake.DataLakeClientOptions.ServiceVersion Version { get { throw null; } }
88
public enum ServiceVersion

sdk/storage/Azure.Storage.Files.DataLake/tests/FileSystemClientTests.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2057,7 +2057,7 @@ public async Task GetFileClient_SpecialCharacters(string fileName)
20572057

20582058
[Test]
20592059
[ServiceVersion(Min = DataLakeClientOptions.ServiceVersion.V2020_06_12)]
2060-
[PlaybackOnly("https://github.com/Azure/azure-sdk-for-net/issues/19575")]
2060+
[PlaybackOnly("https://github.com/Azure/azure-sdk-for-net/issues/20923")]
20612061
public async Task GetDeletedPathsAsync()
20622062
{
20632063
// Arrange
@@ -2099,7 +2099,7 @@ public async Task GetDeletedPathsAsync()
20992099

21002100
[Test]
21012101
[ServiceVersion(Min = DataLakeClientOptions.ServiceVersion.V2020_06_12)]
2102-
[PlaybackOnly("https://github.com/Azure/azure-sdk-for-net/issues/19575")]
2102+
[PlaybackOnly("https://github.com/Azure/azure-sdk-for-net/issues/20923")]
21032103
public async Task GetDeletedPathsAsync_Path()
21042104
{
21052105
// Arrange
@@ -2128,7 +2128,7 @@ public async Task GetDeletedPathsAsync_Path()
21282128

21292129
[Test]
21302130
[ServiceVersion(Min = DataLakeClientOptions.ServiceVersion.V2020_06_12)]
2131-
[PlaybackOnly("https://github.com/Azure/azure-sdk-for-net/issues/19575")]
2131+
[PlaybackOnly("https://github.com/Azure/azure-sdk-for-net/issues/20923")]
21322132
public async Task GetDeletedPathsAsync_Error()
21332133
{
21342134
// Arrange
@@ -2143,7 +2143,7 @@ await TestHelper.AssertExpectedExceptionAsync<RequestFailedException>(
21432143

21442144
[Test]
21452145
[ServiceVersion(Min = DataLakeClientOptions.ServiceVersion.V2020_06_12)]
2146-
[PlaybackOnly("https://github.com/Azure/azure-sdk-for-net/issues/19575")]
2146+
[PlaybackOnly("https://github.com/Azure/azure-sdk-for-net/issues/20923")]
21472147
public async Task UndeletePathAsync()
21482148
{
21492149
// Arrange
@@ -2169,7 +2169,7 @@ public async Task UndeletePathAsync()
21692169

21702170
[Test]
21712171
[ServiceVersion(Min = DataLakeClientOptions.ServiceVersion.V2020_06_12)]
2172-
[PlaybackOnly("https://github.com/Azure/azure-sdk-for-net/issues/19575")]
2172+
[PlaybackOnly("https://github.com/Azure/azure-sdk-for-net/issues/20923")]
21732173
public async Task UndeletePathAsync_Error()
21742174
{
21752175
// Arrange
@@ -2190,7 +2190,7 @@ await TestHelper.AssertExpectedExceptionAsync<RequestFailedException>(
21902190
[TestCase(" my cool directory ")]
21912191
[TestCase("directory")]
21922192
[ServiceVersion(Min = DataLakeClientOptions.ServiceVersion.V2020_06_12)]
2193-
[PlaybackOnly("https://github.com/Azure/azure-sdk-for-net/issues/19575")]
2193+
[PlaybackOnly("https://github.com/Azure/azure-sdk-for-net/issues/20923")]
21942194
public async Task UndeletePathAsync_SpecialCharacters(string directoryName)
21952195
{
21962196
// Arrange

sdk/storage/Azure.Storage.Files.DataLake/tests/ServiceClientTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -432,7 +432,7 @@ await TestHelper.AssertExpectedExceptionAsync<RequestFailedException>(
432432

433433
[Test]
434434
[NonParallelizable]
435-
[PlaybackOnly("https://github.com/Azure/azure-sdk-for-net/issues/19575")]
435+
[PlaybackOnly("https://github.com/Azure/azure-sdk-for-net/issues/20923")]
436436
public async Task SetPropertiesAsync_DeleteRetentionPolicy()
437437
{
438438
// Arrange

sdk/storage/Azure.Storage.Files.Shares/api/Azure.Storage.Files.Shares.netstandard2.0.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ public ShareClient(System.Uri shareUri, Azure.Storage.StorageSharedKeyCredential
9595
}
9696
public partial class ShareClientOptions : Azure.Core.ClientOptions
9797
{
98-
public ShareClientOptions(Azure.Storage.Files.Shares.ShareClientOptions.ServiceVersion version = Azure.Storage.Files.Shares.ShareClientOptions.ServiceVersion.V2020_06_12) { }
98+
public ShareClientOptions(Azure.Storage.Files.Shares.ShareClientOptions.ServiceVersion version = Azure.Storage.Files.Shares.ShareClientOptions.ServiceVersion.V2020_08_04) { }
9999
public Azure.Storage.Files.Shares.ShareClientOptions.ServiceVersion Version { get { throw null; } }
100100
public enum ServiceVersion
101101
{

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ public QueueClient(System.Uri queueUri, Azure.Storage.StorageSharedKeyCredential
7070
}
7171
public partial class QueueClientOptions : Azure.Core.ClientOptions
7272
{
73-
public QueueClientOptions(Azure.Storage.Queues.QueueClientOptions.ServiceVersion version = Azure.Storage.Queues.QueueClientOptions.ServiceVersion.V2020_06_12) { }
73+
public QueueClientOptions(Azure.Storage.Queues.QueueClientOptions.ServiceVersion version = Azure.Storage.Queues.QueueClientOptions.ServiceVersion.V2020_08_04) { }
7474
public System.Uri GeoRedundantSecondaryUri { get { throw null; } set { } }
7575
public Azure.Storage.Queues.QueueMessageEncoding MessageEncoding { get { throw null; } set { } }
7676
public Azure.Storage.Queues.QueueClientOptions.ServiceVersion Version { get { throw null; } }
@@ -375,7 +375,7 @@ public event System.EventHandler<Azure.Storage.Queues.Specialized.ClientSideDecr
375375
}
376376
public partial class SpecializedQueueClientOptions : Azure.Storage.Queues.QueueClientOptions
377377
{
378-
public SpecializedQueueClientOptions(Azure.Storage.Queues.QueueClientOptions.ServiceVersion version = Azure.Storage.Queues.QueueClientOptions.ServiceVersion.V2020_06_12) : base (default(Azure.Storage.Queues.QueueClientOptions.ServiceVersion)) { }
378+
public SpecializedQueueClientOptions(Azure.Storage.Queues.QueueClientOptions.ServiceVersion version = Azure.Storage.Queues.QueueClientOptions.ServiceVersion.V2020_08_04) : base (default(Azure.Storage.Queues.QueueClientOptions.ServiceVersion)) { }
379379
public Azure.Storage.ClientSideEncryptionOptions ClientSideEncryption { get { throw null; } set { } }
380380
}
381381
public static partial class SpecializedQueueExtensions

0 commit comments

Comments
 (0)