diff --git a/sdk/storage/Azure.Storage.Blobs/api/Azure.Storage.Blobs.netstandard2.0.cs b/sdk/storage/Azure.Storage.Blobs/api/Azure.Storage.Blobs.netstandard2.0.cs index d6ed6ce57784..b3dc6f5552e2 100644 --- a/sdk/storage/Azure.Storage.Blobs/api/Azure.Storage.Blobs.netstandard2.0.cs +++ b/sdk/storage/Azure.Storage.Blobs/api/Azure.Storage.Blobs.netstandard2.0.cs @@ -891,7 +891,9 @@ public static partial class BlobsModelFactory public static Azure.Storage.Blobs.Models.PageInfo PageInfo(Azure.ETag eTag, System.DateTimeOffset lastModified, byte[] contentHash, byte[] contentCrc64, long blobSequenceNumber, string encryptionKeySha256) { throw null; } public static Azure.Storage.Blobs.Models.PageInfo PageInfo(Azure.ETag eTag, System.DateTimeOffset lastModified, byte[] contentHash, byte[] contentCrc64, long blobSequenceNumber, string encryptionKeySha256, string encryptionScope) { throw null; } public static Azure.Storage.Blobs.Models.PageRangesInfo PageRangesInfo(System.DateTimeOffset lastModified, Azure.ETag eTag, long blobContentLength, System.Collections.Generic.IEnumerable pageRanges, System.Collections.Generic.IEnumerable clearRanges) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public static Azure.Storage.Blobs.Models.TaggedBlobItem TaggedBlobItem(string blobName = null, string blobContainerName = null) { throw null; } + public static Azure.Storage.Blobs.Models.TaggedBlobItem TaggedBlobItem(string blobName = null, string blobContainerName = null, System.Collections.Generic.IDictionary tags = null) { throw null; } public static Azure.Storage.Blobs.Models.UserDelegationKey UserDelegationKey(string signedObjectId, string signedTenantId, string signedService, string signedVersion, string value, System.DateTimeOffset signedExpiresOn, System.DateTimeOffset signedStartsOn) { throw null; } } public partial class BlobSnapshotInfo @@ -1178,6 +1180,7 @@ public partial class TaggedBlobItem internal TaggedBlobItem() { } public string BlobContainerName { get { throw null; } } public string BlobName { get { throw null; } } + public System.Collections.Generic.IDictionary Tags { get { throw null; } } } public partial class UserDelegationKey { diff --git a/sdk/storage/Azure.Storage.Blobs/src/BlobBaseClient.cs b/sdk/storage/Azure.Storage.Blobs/src/BlobBaseClient.cs index 3a3d1b845665..b0cb350a00f2 100644 --- a/sdk/storage/Azure.Storage.Blobs/src/BlobBaseClient.cs +++ b/sdk/storage/Azure.Storage.Blobs/src/BlobBaseClient.cs @@ -3921,6 +3921,7 @@ private async Task> GetTagsInternal( resourceUri: Uri, version: Version.ToVersionString(), ifTags: conditions?.TagConditions, + leaseId: conditions?.LeaseId, async: async, operationName: $"{nameof(BlobBaseClient)}.{nameof(GetTags)}", cancellationToken: cancellationToken) @@ -4084,6 +4085,7 @@ private async Task SetTagsInternal( version: Version.ToVersionString(), tags: tags.ToBlobTags(), ifTags: conditions?.TagConditions, + leaseId: conditions?.LeaseId, async: async, operationName: $"{nameof(BlobBaseClient)}.{nameof(SetTags)}", cancellationToken: cancellationToken) diff --git a/sdk/storage/Azure.Storage.Blobs/src/BlobExtensions.cs b/sdk/storage/Azure.Storage.Blobs/src/BlobExtensions.cs index 988f64ccbd89..de17ff64f342 100644 --- a/sdk/storage/Azure.Storage.Blobs/src/BlobExtensions.cs +++ b/sdk/storage/Azure.Storage.Blobs/src/BlobExtensions.cs @@ -278,7 +278,8 @@ internal static TaggedBlobItem ToBlobTagItem(this FilterBlobItem filterBlobItem) return new TaggedBlobItem { BlobName = filterBlobItem.BlobName, - BlobContainerName = filterBlobItem.BlobContainerName + BlobContainerName = filterBlobItem.BlobContainerName, + Tags = filterBlobItem.Tags.ToTagDictionary() }; } diff --git a/sdk/storage/Azure.Storage.Blobs/src/Generated/BlobRestClient.cs b/sdk/storage/Azure.Storage.Blobs/src/Generated/BlobRestClient.cs index d0b5716f010b..5ded9f70ccc9 100644 --- a/sdk/storage/Azure.Storage.Blobs/src/Generated/BlobRestClient.cs +++ b/sdk/storage/Azure.Storage.Blobs/src/Generated/BlobRestClient.cs @@ -8938,6 +8938,7 @@ internal static Azure.Core.HttpMessage QueryAsync_CreateMessage( /// The snapshot parameter is an opaque DateTime value that, when present, specifies the blob snapshot to retrieve. For more information on working with blob snapshots, see Creating a Snapshot of a Blob. /// The version id parameter is an opaque DateTime value that, when present, specifies the version of the blob to operate on. It's for service version 2019-10-10 and newer. /// Specify a SQL where clause on blob tags to operate only on blobs with a matching value. + /// If specified, the operation only succeeds if the resource's lease is active and matches this ID. /// Whether to invoke the operation asynchronously. The default value is true. /// Operation name. /// Cancellation token. @@ -8952,6 +8953,7 @@ internal static Azure.Core.HttpMessage QueryAsync_CreateMessage( string snapshot = default, string versionId = default, string ifTags = default, + string leaseId = default, bool async = true, string operationName = "BlobClient.GetTags", System.Threading.CancellationToken cancellationToken = default) @@ -8969,7 +8971,8 @@ internal static Azure.Core.HttpMessage QueryAsync_CreateMessage( requestId, snapshot, versionId, - ifTags)) + ifTags, + leaseId)) { if (async) { @@ -9009,6 +9012,7 @@ internal static Azure.Core.HttpMessage QueryAsync_CreateMessage( /// The snapshot parameter is an opaque DateTime value that, when present, specifies the blob snapshot to retrieve. For more information on working with blob snapshots, see Creating a Snapshot of a Blob. /// The version id parameter is an opaque DateTime value that, when present, specifies the version of the blob to operate on. It's for service version 2019-10-10 and newer. /// Specify a SQL where clause on blob tags to operate only on blobs with a matching value. + /// If specified, the operation only succeeds if the resource's lease is active and matches this ID. /// The Blob.GetTagsAsync Message. internal static Azure.Core.HttpMessage GetTagsAsync_CreateMessage( Azure.Core.Pipeline.HttpPipeline pipeline, @@ -9018,7 +9022,8 @@ internal static Azure.Core.HttpMessage GetTagsAsync_CreateMessage( string requestId = default, string snapshot = default, string versionId = default, - string ifTags = default) + string ifTags = default, + string leaseId = default) { // Validation if (resourceUri == null) @@ -9046,6 +9051,7 @@ internal static Azure.Core.HttpMessage GetTagsAsync_CreateMessage( _request.Headers.SetValue("x-ms-version", version); if (requestId != null) { _request.Headers.SetValue("x-ms-client-request-id", requestId); } if (ifTags != null) { _request.Headers.SetValue("x-ms-if-tags", ifTags); } + if (leaseId != null) { _request.Headers.SetValue("x-ms-lease-id", leaseId); } return _message; } @@ -9102,6 +9108,7 @@ internal static Azure.Core.HttpMessage GetTagsAsync_CreateMessage( /// Specify the transactional crc64 for the body, to be validated by the service. /// Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled. /// Specify a SQL where clause on blob tags to operate only on blobs with a matching value. + /// If specified, the operation only succeeds if the resource's lease is active and matches this ID. /// Blob tags /// Whether to invoke the operation asynchronously. The default value is true. /// Operation name. @@ -9118,6 +9125,7 @@ internal static Azure.Core.HttpMessage GetTagsAsync_CreateMessage( byte[] transactionalContentCrc64 = default, string requestId = default, string ifTags = default, + string leaseId = default, Azure.Storage.Blobs.Models.BlobTags tags = default, bool async = true, string operationName = "BlobClient.SetTags", @@ -9138,6 +9146,7 @@ internal static Azure.Core.HttpMessage GetTagsAsync_CreateMessage( transactionalContentCrc64, requestId, ifTags, + leaseId, tags)) { if (async) @@ -9179,6 +9188,7 @@ internal static Azure.Core.HttpMessage GetTagsAsync_CreateMessage( /// Specify the transactional crc64 for the body, to be validated by the service. /// Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled. /// Specify a SQL where clause on blob tags to operate only on blobs with a matching value. + /// If specified, the operation only succeeds if the resource's lease is active and matches this ID. /// Blob tags /// The Blob.SetTagsAsync Message. internal static Azure.Core.HttpMessage SetTagsAsync_CreateMessage( @@ -9191,6 +9201,7 @@ internal static Azure.Core.HttpMessage SetTagsAsync_CreateMessage( byte[] transactionalContentCrc64 = default, string requestId = default, string ifTags = default, + string leaseId = default, Azure.Storage.Blobs.Models.BlobTags tags = default) { // Validation @@ -9220,6 +9231,7 @@ internal static Azure.Core.HttpMessage SetTagsAsync_CreateMessage( if (transactionalContentCrc64 != null) { _request.Headers.SetValue("x-ms-content-crc64", System.Convert.ToBase64String(transactionalContentCrc64)); } if (requestId != null) { _request.Headers.SetValue("x-ms-client-request-id", requestId); } if (ifTags != null) { _request.Headers.SetValue("x-ms-if-tags", ifTags); } + if (leaseId != null) { _request.Headers.SetValue("x-ms-lease-id", leaseId); } // Create the body if (tags != null) @@ -21147,10 +21159,29 @@ internal partial class FilterBlobItem public string BlobContainerName { get; internal set; } /// - /// Prevent direct instantiation of FilterBlobItem instances. - /// You can use BlobsModelFactory.FilterBlobItem instead. + /// Blob tags + /// + public Azure.Storage.Blobs.Models.BlobTags Tags { get; internal set; } + + /// + /// Creates a new FilterBlobItem instance /// - internal FilterBlobItem() { } + public FilterBlobItem() + : this(false) + { + } + + /// + /// Creates a new FilterBlobItem instance + /// + /// Whether to skip initializing nested objects. + internal FilterBlobItem(bool skipInitialization) + { + if (!skipInitialization) + { + Tags = new Azure.Storage.Blobs.Models.BlobTags(); + } + } /// /// Deserializes XML into a new FilterBlobItem instance. @@ -21161,7 +21192,7 @@ internal static Azure.Storage.Blobs.Models.FilterBlobItem FromXml(System.Xml.Lin { System.Diagnostics.Debug.Assert(element != null); System.Xml.Linq.XElement _child; - Azure.Storage.Blobs.Models.FilterBlobItem _value = new Azure.Storage.Blobs.Models.FilterBlobItem(); + Azure.Storage.Blobs.Models.FilterBlobItem _value = new Azure.Storage.Blobs.Models.FilterBlobItem(true); _child = element.Element(System.Xml.Linq.XName.Get("Name", "")); if (_child != null) { @@ -21172,6 +21203,11 @@ internal static Azure.Storage.Blobs.Models.FilterBlobItem FromXml(System.Xml.Lin { _value.BlobContainerName = _child.Value; } + _child = element.Element(System.Xml.Linq.XName.Get("Tags", "")); + if (_child != null) + { + _value.Tags = Azure.Storage.Blobs.Models.BlobTags.FromXml(_child); + } CustomizeFromXml(element, _value); return _value; } diff --git a/sdk/storage/Azure.Storage.Blobs/src/Models/BlobsModelFactory.cs b/sdk/storage/Azure.Storage.Blobs/src/Models/BlobsModelFactory.cs index c5a2e0c8bdcf..378782b3abdc 100644 --- a/sdk/storage/Azure.Storage.Blobs/src/Models/BlobsModelFactory.cs +++ b/sdk/storage/Azure.Storage.Blobs/src/Models/BlobsModelFactory.cs @@ -875,6 +875,21 @@ public static GetBlobTagResult GetBlobTagResult(Tags tags) /// /// Creates a new BlobTagItem instance for mocking. /// + public static TaggedBlobItem TaggedBlobItem( + string blobName = default, + string blobContainerName = default, + Tags tags = default) + => new TaggedBlobItem + { + BlobName = blobName, + BlobContainerName = blobContainerName, + Tags = tags + }; + + /// + /// Creates a new BlobTagItem instance for mocking. + /// + [EditorBrowsable(EditorBrowsableState.Never)] public static TaggedBlobItem TaggedBlobItem( string blobName = default, string blobContainerName = default) diff --git a/sdk/storage/Azure.Storage.Blobs/src/Models/TaggedBlobItem.cs b/sdk/storage/Azure.Storage.Blobs/src/Models/TaggedBlobItem.cs index 04982eab31bd..91fc4636c522 100644 --- a/sdk/storage/Azure.Storage.Blobs/src/Models/TaggedBlobItem.cs +++ b/sdk/storage/Azure.Storage.Blobs/src/Models/TaggedBlobItem.cs @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -using System; +using Tags = System.Collections.Generic.IDictionary; namespace Azure.Storage.Blobs.Models { @@ -20,6 +20,11 @@ public class TaggedBlobItem /// public string BlobContainerName { get; internal set; } + /// + /// Blob Tags. + /// + public Tags Tags { get; internal set; } + /// /// Prevent direct instantiation of FilterBlobItem instances. /// You can use BlobsModelFactory.FilterBlobItem instead. diff --git a/sdk/storage/Azure.Storage.Blobs/swagger/readme.md b/sdk/storage/Azure.Storage.Blobs/swagger/readme.md index aca1079d2da4..c1299b966d61 100644 --- a/sdk/storage/Azure.Storage.Blobs/swagger/readme.md +++ b/sdk/storage/Azure.Storage.Blobs/swagger/readme.md @@ -4,7 +4,7 @@ ## Configuration ``` yaml # Generate blob storage -input-file: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/storage-dataplane-preview/specification/storage/data-plane/Microsoft.BlobStorage/preview/2020-02-10/blob.json +input-file: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/storage-dataplane-preview/specification/storage/data-plane/Microsoft.BlobStorage/preview/2020-04-08/blob.json output-folder: ../src/Generated clear-output-folder: false diff --git a/sdk/storage/Azure.Storage.Blobs/tests/BlobBaseClientTests.cs b/sdk/storage/Azure.Storage.Blobs/tests/BlobBaseClientTests.cs index 5107e35bddd5..1d73422ca3f2 100644 --- a/sdk/storage/Azure.Storage.Blobs/tests/BlobBaseClientTests.cs +++ b/sdk/storage/Azure.Storage.Blobs/tests/BlobBaseClientTests.cs @@ -5661,6 +5661,75 @@ await TestHelper.AssertExpectedExceptionAsync( e => Assert.AreEqual(BlobErrorCode.BlobNotFound.ToString(), e.ErrorCode)); } + [Test] + [ServiceVersion(Min = BlobClientOptions.ServiceVersion.V2020_04_08)] + public async Task GetSetTagsAsync_Lease() + { + // Arrange + await using DisposingContainer test = await GetTestContainerAsync(); + BlobBaseClient blob = await GetNewBlobClient(test.Container); + + string leaseId = Recording.Random.NewGuid().ToString(); + TimeSpan duration = TimeSpan.FromSeconds(15); + await InstrumentClient(blob.GetBlobLeaseClient(leaseId)).AcquireAsync(duration); + + BlobRequestConditions conditions = new BlobRequestConditions + { + LeaseId = leaseId + }; + + Dictionary tags = BuildTags(); + await blob.SetTagsAsync(tags, conditions); + + // Act + Response response = await blob.GetTagsAsync(conditions); + + // Assert + AssertDictionaryEquality(tags, response.Value.Tags); + } + + [Test] + [ServiceVersion(Min = BlobClientOptions.ServiceVersion.V2020_04_08)] + public async Task GetTagsAsync_LeaseFailed() + { + // Arrange + await using DisposingContainer test = await GetTestContainerAsync(); + BlobBaseClient blob = await GetNewBlobClient(test.Container); + string leaseId = Recording.Random.NewGuid().ToString(); + + BlobRequestConditions conditions = new BlobRequestConditions + { + LeaseId = leaseId + }; + + // Act + await TestHelper.AssertExpectedExceptionAsync( + blob.GetTagsAsync(conditions), + e => Assert.AreEqual(BlobErrorCode.LeaseNotPresentWithBlobOperation.ToString(), e.ErrorCode)); + } + + [Test] + [ServiceVersion(Min = BlobClientOptions.ServiceVersion.V2020_04_08)] + public async Task SetTagsAsync_LeaseFailed() + { + // Arrange + await using DisposingContainer test = await GetTestContainerAsync(); + BlobBaseClient blob = await GetNewBlobClient(test.Container); + string leaseId = Recording.Random.NewGuid().ToString(); + + BlobRequestConditions conditions = new BlobRequestConditions + { + LeaseId = leaseId + }; + + Dictionary tags = BuildTags(); + + // Act + await TestHelper.AssertExpectedExceptionAsync( + blob.SetTagsAsync(tags, conditions), + e => Assert.AreEqual(BlobErrorCode.LeaseNotPresentWithBlobOperation.ToString(), e.ErrorCode)); + } + //[Test] //public async Task SetTierAsync_Batch() //{ diff --git a/sdk/storage/Azure.Storage.Blobs/tests/ServiceClientTests.cs b/sdk/storage/Azure.Storage.Blobs/tests/ServiceClientTests.cs index 42467e0281b6..5e342e821a5a 100644 --- a/sdk/storage/Azure.Storage.Blobs/tests/ServiceClientTests.cs +++ b/sdk/storage/Azure.Storage.Blobs/tests/ServiceClientTests.cs @@ -578,7 +578,16 @@ public async Task FindBlobsByTagAsync() // Assert TaggedBlobItem filterBlob = blobs.Where(r => r.BlobName == blobName).FirstOrDefault(); - Assert.IsNotNull(filterBlob); + + if (_serviceVersion >= BlobClientOptions.ServiceVersion.V2020_04_08) + { + Assert.AreEqual(1, filterBlob.Tags.Count); + Assert.AreEqual("myTagValue", filterBlob.Tags["myTagKey"]); + } + else + { + Assert.IsNotNull(filterBlob); + } } [Test] diff --git a/sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/BlobBaseClientTests/GetSetTagsAsync_Lease.json b/sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/BlobBaseClientTests/GetSetTagsAsync_Lease.json new file mode 100644 index 000000000000..37a3e2c600f6 --- /dev/null +++ b/sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/BlobBaseClientTests/GetSetTagsAsync_Lease.json @@ -0,0 +1,211 @@ +{ + "Entries": [ + { + "RequestUri": "https://seanmcccanary3.blob.core.windows.net/test-container-17e3ba83-bcbf-bcfd-9b0d-2d50c11513c2?restype=container", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-c3eb96da02557d41a85a5bbbfcc34f91-fd51510d37d2ff4d-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.7.0-alpha.20201022.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-blob-public-access": "container", + "x-ms-client-request-id": "1f3fd8e1-2ba9-2764-b077-92a145fe31c7", + "x-ms-date": "Thu, 22 Oct 2020 17:37:03 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2020-04-08" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Thu, 22 Oct 2020 17:37:03 GMT", + "ETag": "\u00220x8D876B116AB58A0\u0022", + "Last-Modified": "Thu, 22 Oct 2020 17:37:03 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "1f3fd8e1-2ba9-2764-b077-92a145fe31c7", + "x-ms-request-id": "7e495f7f-601e-0022-5299-a81fdd000000", + "x-ms-version": "2020-04-08" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seanmcccanary3.blob.core.windows.net/test-container-17e3ba83-bcbf-bcfd-9b0d-2d50c11513c2/test-blob-9ef6efd3-883d-4758-4c31-05c7fb631e7f", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "Content-Length": "1024", + "traceparent": "00-9458abbef61adc4ea61c1844349f5a52-9136ac5bcdd55b40-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.7.0-alpha.20201022.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-blob-type": "BlockBlob", + "x-ms-client-request-id": "91e905ea-ddf3-f449-435d-58c61419a7b5", + "x-ms-date": "Thu, 22 Oct 2020 17:37:04 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2020-04-08" + }, + "RequestBody": "UAZv6NX0GNP8IH/iqc1tE8X5xq8lHulZgPfTeCWcLE1ZElA\u002Bj0nx39YiohwJdZ1\u002Bw/ECAZxuWjIcFWfdIZ\u002BtX/QyiJd8LoR7COfYA3vNUApZVLU0mSuw67ceIXnhE703dEIn1uwGApRthvm0lVe2T8VdhM3pecbJgZ3fXg0KmvQpoY45pXkdU1EgxxMy/FZgZ9KzhI/wTft8XlVPJ6SHYuwEivTIfKpMPzB7ybGyl4VGfvY7VhZkOVOSvUckzSytmWUmLXFil\u002BsoZ0RfdYRJycfPCaiuTAvVn1GgNr9iJ3EEzS9Mi2oT5OYLE\u002B/RBcPPSPOAVMSE/01ZUY0fwmErxT/TWqdU/T1dvCTBojgcBJqN0O3M4tOsgM7i8zrc8yKF306v/qsbe0u1I5ifwlwUPUzzkvF0XuJsJtrZcQkCgMgCPMLqbQXvcVWhFr86DL1xzrbu6WExEIFrQtjQQglBs6LPnYaZKc9HBCCb0kgiMRkcaKNTFJdm0StBfyotHi9MX2Mda28316Tmp\u002BVBlT04SRC/tNpl7p4LacxaWKqlGeXwT3PlBcap5JD\u002BbW2yJTvtCDUabmpV5nHEEQGi3X/6QY3/UEXKU0NJFc9JZoAxWEOQbE90i6t7mmkCIPPEBgcQBCzgstT2I7Xy0FiaDH/wk7i\u002BEnAwhbXhhLXcyDNPhA7IOGJUUaZvmkmagbpS4I7qEY07BvSW4H92/i4eGVqCo0tK0tMdnEISTngnlgP7j6Mn8relFH4ZMlji3VJ3UIDvF95vBw67zHRLKLd8b0l7e26L9yej3I/MMKB7Or7vmv73OH4li4eVbCVCWuvGncIOZmLk7FlYSztPotduP5K2W425hTbLVu/n9YsCYYGjBpPdbdNcCq6lnuxC1eiwJyySjP5dDRiMQg9y/fbNVuq5q5xDkNK\u002BWVDfE\u002BZKiIEHNs5fb9SDRfl7USrD6g2310gBiSpMbJZZ1DOtfvkxQrqOa8YnbuYVNmWiyD\u002Bo\u002Bm5DJzyeSP9Xusk4BZuh1cf/SQ9vNX9GkGlh7FLEqaRWsNnEale9k/m7N7D972hLdGGeo38wOcXu/JfSPVyskhAk4VTC3WtvQrUVtP3OSaAAFnfxJgYlJncU1m7A6ladDqWg2A0UiJb2LmDJG4XHH7L20Sbku2wJ/7vdrgb8r1dfd6VYLnGT7I3g\u002B/emXAryTLa7yhgvuVM4l9hRNtqQ\u002BX4IaaPfbvFBYuWZA8B0YqOw6mFQQeU\u002BL75RH5aYQbWyUAJ5nfJnEt3EemczlrWTxDQ1oEx5P7iYyjnkjU5aqCEv57K9\u002BsWwSdeDi8Z\u002BC5kJvltiY6BpORFK4NO5goWOatFFBK4D1clvhVd09bTxGr6f28/z\u002BA==", + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Content-MD5": "sWPx03Yg527Ml/i99WMWqA==", + "Date": "Thu, 22 Oct 2020 17:37:03 GMT", + "ETag": "\u00220x8D876B116C14EFB\u0022", + "Last-Modified": "Thu, 22 Oct 2020 17:37:03 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "91e905ea-ddf3-f449-435d-58c61419a7b5", + "x-ms-content-crc64": "Q0LVSo0WUkw=", + "x-ms-request-id": "7e495f90-601e-0022-5c99-a81fdd000000", + "x-ms-request-server-encrypted": "true", + "x-ms-version": "2020-04-08" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seanmcccanary3.blob.core.windows.net/test-container-17e3ba83-bcbf-bcfd-9b0d-2d50c11513c2/test-blob-9ef6efd3-883d-4758-4c31-05c7fb631e7f?comp=lease", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-35edfd17f696a940b29221213349ca1a-140748282c8d064c-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.7.0-alpha.20201022.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "ae599c1f-7368-eac9-a387-e2754fb8d142", + "x-ms-date": "Thu, 22 Oct 2020 17:37:04 GMT", + "x-ms-lease-action": "acquire", + "x-ms-lease-duration": "15", + "x-ms-proposed-lease-id": "c58c729b-003d-6162-af7d-8e90220092fc", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2020-04-08" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Thu, 22 Oct 2020 17:37:03 GMT", + "ETag": "\u00220x8D876B116C14EFB\u0022", + "Last-Modified": "Thu, 22 Oct 2020 17:37:03 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "ae599c1f-7368-eac9-a387-e2754fb8d142", + "x-ms-lease-id": "c58c729b-003d-6162-af7d-8e90220092fc", + "x-ms-request-id": "7e495f9d-601e-0022-6799-a81fdd000000", + "x-ms-version": "2020-04-08" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seanmcccanary3.blob.core.windows.net/test-container-17e3ba83-bcbf-bcfd-9b0d-2d50c11513c2/test-blob-9ef6efd3-883d-4758-4c31-05c7fb631e7f?comp=tags", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "Content-Length": "136", + "Content-Type": "application/xml", + "traceparent": "00-59aa60b51583894bb599eba4e1cbb33f-181ba0c72157ca44-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.7.0-alpha.20201022.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "8571b0a0-e4a7-6d93-eeca-325e7e8e177e", + "x-ms-date": "Thu, 22 Oct 2020 17:37:04 GMT", + "x-ms-lease-id": "c58c729b-003d-6162-af7d-8e90220092fc", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2020-04-08" + }, + "RequestBody": "\u003CTags\u003E\u003CTagSet\u003E\u003CTag\u003E\u003CKey\u003EtagKey0\u003C/Key\u003E\u003CValue\u003EtagValue0\u003C/Value\u003E\u003C/Tag\u003E\u003CTag\u003E\u003CKey\u003EtagKey1\u003C/Key\u003E\u003CValue\u003EtagValue1\u003C/Value\u003E\u003C/Tag\u003E\u003C/TagSet\u003E\u003C/Tags\u003E", + "StatusCode": 204, + "ResponseHeaders": { + "Date": "Thu, 22 Oct 2020 17:37:04 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "8571b0a0-e4a7-6d93-eeca-325e7e8e177e", + "x-ms-request-id": "7e495fa7-601e-0022-6f99-a81fdd000000", + "x-ms-version": "2020-04-08" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seanmcccanary3.blob.core.windows.net/test-container-17e3ba83-bcbf-bcfd-9b0d-2d50c11513c2/test-blob-9ef6efd3-883d-4758-4c31-05c7fb631e7f?comp=tags", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-15b38c15548d4b479de00352316cf0d5-7487b8a9c08cb04d-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.7.0-alpha.20201022.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "9fd58741-4c47-e69b-c877-6d9a9f71bbde", + "x-ms-date": "Thu, 22 Oct 2020 17:37:05 GMT", + "x-ms-lease-id": "c58c729b-003d-6162-af7d-8e90220092fc", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2020-04-08" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Content-Length": "178", + "Content-Type": "application/xml", + "Date": "Thu, 22 Oct 2020 17:37:04 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "9fd58741-4c47-e69b-c877-6d9a9f71bbde", + "x-ms-request-id": "7e496059-601e-0022-7f99-a81fdd000000", + "x-ms-version": "2020-04-08" + }, + "ResponseBody": [ + "\uFEFF\u003C?xml version=\u00221.0\u0022 encoding=\u0022utf-8\u0022?\u003E\n", + "\u003CTags\u003E\u003CTagSet\u003E\u003CTag\u003E\u003CKey\u003EtagKey0\u003C/Key\u003E\u003CValue\u003EtagValue0\u003C/Value\u003E\u003C/Tag\u003E\u003CTag\u003E\u003CKey\u003EtagKey1\u003C/Key\u003E\u003CValue\u003EtagValue1\u003C/Value\u003E\u003C/Tag\u003E\u003C/TagSet\u003E\u003C/Tags\u003E" + ] + }, + { + "RequestUri": "https://seanmcccanary3.blob.core.windows.net/test-container-17e3ba83-bcbf-bcfd-9b0d-2d50c11513c2?restype=container", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-060b9f55c4c10740a791708ab2580a46-ddb9f578a5ec2443-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.7.0-alpha.20201022.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "f71cad77-78b8-b437-8b92-f5f813ddae5a", + "x-ms-date": "Thu, 22 Oct 2020 17:37:05 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2020-04-08" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Thu, 22 Oct 2020 17:37:04 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "f71cad77-78b8-b437-8b92-f5f813ddae5a", + "x-ms-request-id": "7e49606f-601e-0022-1099-a81fdd000000", + "x-ms-version": "2020-04-08" + }, + "ResponseBody": [] + } + ], + "Variables": { + "RandomSeed": "1254468516", + "Storage_TestConfigDefault": "ProductionTenant\nseanmcccanary3\nU2FuaXRpemVk\nhttps://seanmcccanary3.blob.core.windows.net\nhttps://seanmcccanary3.file.core.windows.net\nhttps://seanmcccanary3.queue.core.windows.net\nhttps://seanmcccanary3.table.core.windows.net\n\n\n\n\nhttps://seanmcccanary3-secondary.blob.core.windows.net\nhttps://seanmcccanary3-secondary.file.core.windows.net\nhttps://seanmcccanary3-secondary.queue.core.windows.net\nhttps://seanmcccanary3-secondary.table.core.windows.net\n\nSanitized\n\n\nCloud\nBlobEndpoint=https://seanmcccanary3.blob.core.windows.net/;QueueEndpoint=https://seanmcccanary3.queue.core.windows.net/;FileEndpoint=https://seanmcccanary3.file.core.windows.net/;BlobSecondaryEndpoint=https://seanmcccanary3-secondary.blob.core.windows.net/;QueueSecondaryEndpoint=https://seanmcccanary3-secondary.queue.core.windows.net/;FileSecondaryEndpoint=https://seanmcccanary3-secondary.file.core.windows.net/;AccountName=seanmcccanary3;AccountKey=Kg==;\nseanscope1" + } +} \ No newline at end of file diff --git a/sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/BlobBaseClientTests/GetSetTagsAsync_LeaseAsync.json b/sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/BlobBaseClientTests/GetSetTagsAsync_LeaseAsync.json new file mode 100644 index 000000000000..35b29f5b11ad --- /dev/null +++ b/sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/BlobBaseClientTests/GetSetTagsAsync_LeaseAsync.json @@ -0,0 +1,211 @@ +{ + "Entries": [ + { + "RequestUri": "https://seanmcccanary3.blob.core.windows.net/test-container-0310ec41-019b-c04c-b485-1eac8da43729?restype=container", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-e8b788169b27274e8770b7b9b3f311b0-82417c9027bb9b48-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.7.0-alpha.20201020.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-blob-public-access": "container", + "x-ms-client-request-id": "f02c49ad-f2fc-ae38-0cfc-45f8fa3b3755", + "x-ms-date": "Tue, 20 Oct 2020 19:33:31 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2020-04-08" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Tue, 20 Oct 2020 19:33:32 GMT", + "ETag": "\u00220x8D8752F079C8427\u0022", + "Last-Modified": "Tue, 20 Oct 2020 19:33:32 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "f02c49ad-f2fc-ae38-0cfc-45f8fa3b3755", + "x-ms-request-id": "3962a411-901e-0009-5017-a79f11000000", + "x-ms-version": "2020-04-08" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seanmcccanary3.blob.core.windows.net/test-container-0310ec41-019b-c04c-b485-1eac8da43729/test-blob-481d7356-5aab-449e-e949-27ba8d8cb4af", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "Content-Length": "1024", + "traceparent": "00-c93da8303fd87a4fa9d2a9d43fa8c379-6892a20bb2767b46-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.7.0-alpha.20201020.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-blob-type": "BlockBlob", + "x-ms-client-request-id": "cdd5b474-a727-3edf-49e7-9894434078c6", + "x-ms-date": "Tue, 20 Oct 2020 19:33:31 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2020-04-08" + }, + "RequestBody": "r2j\u002BQ3hGLFCCDeh5twrLoKkeaJjnjQpTqucHssp9IYBHlkmRPPPdD0bNxZ5yJIzffYcQbiMcxyJeq5iQP3mFBexoMiHAOWO1QFhSGsds4YZaJzVDbbJcK84nM5FbTdDMR8CxCfJrHkQjWi7Lyq1a8ckSNRdEQpc5DAZSmQXSWvOIhdIGuteT7wnwHxKEkWAhzELHSBi4hwUpeP3rGYQ\u002BUAA6QkTbVDbyf0UOVCKFtHumMc3DCxLb0P7N3ULap9aFss8SSU4cRXcL1cjSqjPio8OCRee2ekXtX3JFDnf0F9dviKFTcmssiutVtzVJCSXL6jl\u002BWGLuzjiJJOrc1jcAFr3wYiGSjjBYVbv8YcIPo1ZMeiM9dr91gbppyU6AULOzVKB4WKYEOVsIJQKm8W11eoCUkFsUwqD\u002Be\u002BBnKMXi1wUHSQwil0qvR0HHNFC8zo9M9E/N7MBXnpEAet3FnRCWJk39n6hgUuI25UgaTI5PQaxRGjR1FetFr6p6IRxt6aowMQ4Cvi/n66Fslwd3PVIDsDgxdILcIRBiuO/\u002B5jHGyPyd6ht/TYJ8aS6TCH7kzXJYdnHjPHQoVA/\u002BoAY/6QVwps4K2lI2hGO2tAtUSBiSfet8pnDA4oyHdZULgKx8PYApI2Gv2fMgIfEOLYdp1Av3ayIbwkOVsMRBg2S8KgO2OneKKyW24qT3XIR\u002BsbQEHqGKFBWJYHo9lHOdblaOY/ftV/MQ3qjmQIh\u002BI2W\u002BFv4PPGTDMhbuLNn8TZayGXRNafmMkVrB80D4o9OMCz0Ufn11jTHxyjDh/ysZFJASNCcUMbpsMoSjTkgky45CYiGc6M8ZPItCW5/Iq5Ivp9\u002Bv5m\u002Bsd9qCp0z40T/ozf6inp0JfSvB\u002BPeb0dUbo4bydKZodOUflupHGUCDIGtMWo6gJgz1JSq07u13EKYEZwTFBl2Zf1kZgwiywmPrPdiMT3dGen16/U97tIX3p4VDQrE8vRoOs9o1hqIDQmLGybAU68Euvu2GSwgNHcvTIdyCboCyroC\u002BfpydEfTadrvstOvV47vEFYTEtXIRAJUOYmTGgdPiFBowVW0lkaz4q9VMIWjg/j4gvln77fgNrH0Gjq6PFPXoCaDQpI5Nn4TXywqdxd4sLmQmpcJ55yYhIqjvHgL9aJfgYxjID1mv0x/VJCLucOef2mBKaW4ybiJ5r4LlXYCC2WNyvWHGYx4KdtKjpMIEMrHBUEShs/8orfT1T2DXynWeUkq\u002Be7OF2HZBP/KcjspfdHzQJAw74SZkSg9t0BS\u002BM6xdBVF3Rbb\u002BO3jOX3MMjB8qltrjBqVoYnEkWjGkGAdhggxGPol45y/F0umUbYGyV73vQjo62ywH9KLgU\u002BuEWSNwbA==", + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Content-MD5": "Qb5tzQRIv6Le7FroIExRWg==", + "Date": "Tue, 20 Oct 2020 19:33:32 GMT", + "ETag": "\u00220x8D8752F07A409A0\u0022", + "Last-Modified": "Tue, 20 Oct 2020 19:33:32 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "cdd5b474-a727-3edf-49e7-9894434078c6", + "x-ms-content-crc64": "RAcg4kM59tQ=", + "x-ms-request-id": "3962a421-901e-0009-5c17-a79f11000000", + "x-ms-request-server-encrypted": "true", + "x-ms-version": "2020-04-08" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seanmcccanary3.blob.core.windows.net/test-container-0310ec41-019b-c04c-b485-1eac8da43729/test-blob-481d7356-5aab-449e-e949-27ba8d8cb4af?comp=lease", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-b5e2104d61fd4f40b277ccb2312d2be8-1b993cf5876ef54f-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.7.0-alpha.20201020.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "f4b0f5bb-264b-0571-5b44-4199e9e6f329", + "x-ms-date": "Tue, 20 Oct 2020 19:33:31 GMT", + "x-ms-lease-action": "acquire", + "x-ms-lease-duration": "15", + "x-ms-proposed-lease-id": "4ba40123-6f91-9059-8b8e-bdf84b20acef", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2020-04-08" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Tue, 20 Oct 2020 19:33:32 GMT", + "ETag": "\u00220x8D8752F07A409A0\u0022", + "Last-Modified": "Tue, 20 Oct 2020 19:33:32 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "f4b0f5bb-264b-0571-5b44-4199e9e6f329", + "x-ms-lease-id": "4ba40123-6f91-9059-8b8e-bdf84b20acef", + "x-ms-request-id": "3962a42d-901e-0009-6817-a79f11000000", + "x-ms-version": "2020-04-08" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seanmcccanary3.blob.core.windows.net/test-container-0310ec41-019b-c04c-b485-1eac8da43729/test-blob-481d7356-5aab-449e-e949-27ba8d8cb4af?comp=tags", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "Content-Length": "136", + "Content-Type": "application/xml", + "traceparent": "00-21cc9262e4bd664099d4fdc1a07315cf-54d0fd6a09589e4b-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.7.0-alpha.20201020.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "553ce027-b870-bba4-770b-490861ab4ba1", + "x-ms-date": "Tue, 20 Oct 2020 19:33:31 GMT", + "x-ms-lease-id": "4ba40123-6f91-9059-8b8e-bdf84b20acef", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2020-04-08" + }, + "RequestBody": "\u003CTags\u003E\u003CTagSet\u003E\u003CTag\u003E\u003CKey\u003EtagKey0\u003C/Key\u003E\u003CValue\u003EtagValue0\u003C/Value\u003E\u003C/Tag\u003E\u003CTag\u003E\u003CKey\u003EtagKey1\u003C/Key\u003E\u003CValue\u003EtagValue1\u003C/Value\u003E\u003C/Tag\u003E\u003C/TagSet\u003E\u003C/Tags\u003E", + "StatusCode": 204, + "ResponseHeaders": { + "Date": "Tue, 20 Oct 2020 19:33:32 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "553ce027-b870-bba4-770b-490861ab4ba1", + "x-ms-request-id": "3962a43b-901e-0009-7317-a79f11000000", + "x-ms-version": "2020-04-08" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seanmcccanary3.blob.core.windows.net/test-container-0310ec41-019b-c04c-b485-1eac8da43729/test-blob-481d7356-5aab-449e-e949-27ba8d8cb4af?comp=tags", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-abff64fc436e0f4bb2c0c62a68184c30-47922a6d22a42a4e-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.7.0-alpha.20201020.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "0871cfcd-9eaa-82b8-04f7-e42589701e11", + "x-ms-date": "Tue, 20 Oct 2020 19:33:31 GMT", + "x-ms-lease-id": "4ba40123-6f91-9059-8b8e-bdf84b20acef", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2020-04-08" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Content-Length": "178", + "Content-Type": "application/xml", + "Date": "Tue, 20 Oct 2020 19:33:32 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "0871cfcd-9eaa-82b8-04f7-e42589701e11", + "x-ms-request-id": "3962a449-901e-0009-7f17-a79f11000000", + "x-ms-version": "2020-04-08" + }, + "ResponseBody": [ + "\uFEFF\u003C?xml version=\u00221.0\u0022 encoding=\u0022utf-8\u0022?\u003E\n", + "\u003CTags\u003E\u003CTagSet\u003E\u003CTag\u003E\u003CKey\u003EtagKey0\u003C/Key\u003E\u003CValue\u003EtagValue0\u003C/Value\u003E\u003C/Tag\u003E\u003CTag\u003E\u003CKey\u003EtagKey1\u003C/Key\u003E\u003CValue\u003EtagValue1\u003C/Value\u003E\u003C/Tag\u003E\u003C/TagSet\u003E\u003C/Tags\u003E" + ] + }, + { + "RequestUri": "https://seanmcccanary3.blob.core.windows.net/test-container-0310ec41-019b-c04c-b485-1eac8da43729?restype=container", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-5009f618fb6c2d44bce0b4592f5204c2-4c56fdfd69785e4a-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.7.0-alpha.20201020.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "923b9971-4239-f5f6-22f2-6c6f27875e0c", + "x-ms-date": "Tue, 20 Oct 2020 19:33:32 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2020-04-08" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Tue, 20 Oct 2020 19:33:32 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "923b9971-4239-f5f6-22f2-6c6f27875e0c", + "x-ms-request-id": "3962a4b2-901e-0009-5517-a79f11000000", + "x-ms-version": "2020-04-08" + }, + "ResponseBody": [] + } + ], + "Variables": { + "RandomSeed": "781751529", + "Storage_TestConfigDefault": "ProductionTenant\nseanmcccanary3\nU2FuaXRpemVk\nhttps://seanmcccanary3.blob.core.windows.net\nhttps://seanmcccanary3.file.core.windows.net\nhttps://seanmcccanary3.queue.core.windows.net\nhttps://seanmcccanary3.table.core.windows.net\n\n\n\n\nhttps://seanmcccanary3-secondary.blob.core.windows.net\nhttps://seanmcccanary3-secondary.file.core.windows.net\nhttps://seanmcccanary3-secondary.queue.core.windows.net\nhttps://seanmcccanary3-secondary.table.core.windows.net\n\nSanitized\n\n\nCloud\nBlobEndpoint=https://seanmcccanary3.blob.core.windows.net/;QueueEndpoint=https://seanmcccanary3.queue.core.windows.net/;FileEndpoint=https://seanmcccanary3.file.core.windows.net/;BlobSecondaryEndpoint=https://seanmcccanary3-secondary.blob.core.windows.net/;QueueSecondaryEndpoint=https://seanmcccanary3-secondary.queue.core.windows.net/;FileSecondaryEndpoint=https://seanmcccanary3-secondary.file.core.windows.net/;AccountName=seanmcccanary3;AccountKey=Kg==;\nseanscope1" + } +} \ No newline at end of file diff --git a/sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/BlobBaseClientTests/GetTagsAsync_LeaseFailed.json b/sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/BlobBaseClientTests/GetTagsAsync_LeaseFailed.json new file mode 100644 index 000000000000..955969f0ecda --- /dev/null +++ b/sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/BlobBaseClientTests/GetTagsAsync_LeaseFailed.json @@ -0,0 +1,146 @@ +{ + "Entries": [ + { + "RequestUri": "https://seanmcccanary3.blob.core.windows.net/test-container-932e1072-151a-d838-6fff-26c088171943?restype=container", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-f90d893495c27441bcbaf800ccf58a8f-f55063f7fe680648-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.7.0-alpha.20201022.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-blob-public-access": "container", + "x-ms-client-request-id": "56448e98-fe73-66a1-23c6-42b38359ab11", + "x-ms-date": "Thu, 22 Oct 2020 17:37:05 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2020-04-08" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Thu, 22 Oct 2020 17:37:04 GMT", + "ETag": "\u00220x8D876B117C0C14A\u0022", + "Last-Modified": "Thu, 22 Oct 2020 17:37:05 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "56448e98-fe73-66a1-23c6-42b38359ab11", + "x-ms-request-id": "793f0d46-201e-0033-1299-a88569000000", + "x-ms-version": "2020-04-08" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seanmcccanary3.blob.core.windows.net/test-container-932e1072-151a-d838-6fff-26c088171943/test-blob-096b43ec-1264-ccde-9b99-43fa082f6664", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "Content-Length": "1024", + "traceparent": "00-607acd48aaae984cace54b31a131e0e2-0e06351c5606dd43-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.7.0-alpha.20201022.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-blob-type": "BlockBlob", + "x-ms-client-request-id": "a800a951-da20-3111-d9a8-7647024bf7ed", + "x-ms-date": "Thu, 22 Oct 2020 17:37:05 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2020-04-08" + }, + "RequestBody": "s9kn\u002BtPC0Nmn51zEZMER9XT8HC6fQumGr3i72bunXvRg3f\u002BpMrA9KnKRYXy2GWfZh06FDBI4xXHwoUpaBvYeAIhnZIbCZ8PDvvK7DeBsz5UQ4VJsIVHiKBeOuZFm4iN8cmDzTrXhFyCLwU4gfLeRhNG0SiSkst83hTtvM64yXdvOPpt/eIHgL8oy4V8Dwatf/TW/sZj\u002B2MCBvMh5ceNyWWRyUT0cEQtP1BtacdGAM8SQDzZ4cqxCz2bb/ru5Zr3mwIf7kHBuQ\u002Bspb919pGbvAYgE6WKt\u002Bee4L4LXQRNPlm1dc7FJhaNTIcxKTgLPxSr/7PwytHxbOcagQmDtlgHY2thvHzG0pXzlsMeWY6rk6WpX11UWHOLxAjrrqEJCZovKcXQpX6b5S0aATQS1xNUcvFn2lr6swb32fhz3yf05o0o8y/E1uonEXowOls/eOz1kz\u002BzoTM/MHbC3MuGJAYFJRqm5ePjj5gHQMTcxnSrtGELfkvoQUVd6b65BfoinO1wLxVAmJMNEgejrGBqXmoCFyhqfqm\u002BHOPVSPghKoWh5KPbbJtfax/R\u002BmhERJTg949UuvLRtB5Htg41b1OW6\u002Bt\u002BAcfAjvHOoqgMmIA9edhK8FFszHOS0CyBl7aNKf/IOxJ8xkLNIGSZhhhKwR\u002BeBjwx6nr\u002BJht36zGbPvc7QXSoQF1xvLOVedPs10pbSA8M55F6Wz\u002BEzhT3CNsRNeVxXkSjnoDCKEWInHCnEVLRHKMmildhwOY5J3JIfrfYhEPue3UBu62KTrtP7b7O3bzGIeg76q\u002BOD51eansSda2NsBQsuJXZ02TxmDuYFdMrakWxhljLoJmUYG/Xo002e9kNwj2moiUq6FKHRlJ38fnKNvwxXPNQwg96lFgmAiwXvyBijlOVgMgcip4KRF5LIG52CWxRARrluPwuKAnNAOYic4cuFWOmNLY0ENZVSnmxM3fps/TDwroFeNVTa1S\u002BU4W359DXHQsK09S2GPBEkG6GePiR41DtYqzJJJiOUs1hdcFMnWak3hJo3uAgCaXJvORmzO5YLGw0yoEkDfRufH0LVKcy\u002B/ML3Z7mJQBsyVkG/2uwJ4HfBUlRG9LhgNAd/mJjGLUCmsT1WvNTcgdvx/0oHQ6MvlT/KFNZ3dwcKljOyCqiDbCkBGCivsiOj5NB4VfVtWPBkTwJY\u002BxhpLjo1TCagKncybZIhBip6f\u002BMcJi8G/iISnD1CTbqlKnAQl\u002BruemX8ArlZRediTFLG6tAfPNXpYy8XIq/pXt28jUIiEW5AjAR9HyN1rLk6sFDqe2Pphu6bJzS61li1E6TcnbikQDvjhl3MoR2xc7d23XJf/uJ60gZUhuk6hbWsxwt/mQ4AlXAUB/UFHQ==", + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Content-MD5": "KMqhMsrPweL8LMr1rzI\u002BBg==", + "Date": "Thu, 22 Oct 2020 17:37:04 GMT", + "ETag": "\u00220x8D876B117C7F2B6\u0022", + "Last-Modified": "Thu, 22 Oct 2020 17:37:05 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "a800a951-da20-3111-d9a8-7647024bf7ed", + "x-ms-content-crc64": "3740ntjRxTY=", + "x-ms-request-id": "793f0d58-201e-0033-2199-a88569000000", + "x-ms-request-server-encrypted": "true", + "x-ms-version": "2020-04-08" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seanmcccanary3.blob.core.windows.net/test-container-932e1072-151a-d838-6fff-26c088171943/test-blob-096b43ec-1264-ccde-9b99-43fa082f6664?comp=tags", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-6dd5960230a5684385a637684b35aceb-6ccd5a64aa26e343-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.7.0-alpha.20201022.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "15edd41e-cc90-1b1c-ebbe-eb5a691b73a1", + "x-ms-date": "Thu, 22 Oct 2020 17:37:05 GMT", + "x-ms-lease-id": "8321b574-369c-42bd-bcc6-71f5be37434e", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2020-04-08" + }, + "RequestBody": null, + "StatusCode": 412, + "ResponseHeaders": { + "Content-Length": "242", + "Content-Type": "application/xml", + "Date": "Thu, 22 Oct 2020 17:37:05 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "15edd41e-cc90-1b1c-ebbe-eb5a691b73a1", + "x-ms-error-code": "LeaseNotPresentWithBlobOperation", + "x-ms-request-id": "793f0d66-201e-0033-2e99-a88569000000", + "x-ms-version": "2020-04-08" + }, + "ResponseBody": [ + "\uFEFF\u003C?xml version=\u00221.0\u0022 encoding=\u0022utf-8\u0022?\u003E\n", + "\u003CError\u003E\u003CCode\u003ELeaseNotPresentWithBlobOperation\u003C/Code\u003E\u003CMessage\u003EThere is currently no lease on the blob.\n", + "RequestId:793f0d66-201e-0033-2e99-a88569000000\n", + "Time:2020-10-22T17:37:05.5104186Z\u003C/Message\u003E\u003C/Error\u003E" + ] + }, + { + "RequestUri": "https://seanmcccanary3.blob.core.windows.net/test-container-932e1072-151a-d838-6fff-26c088171943?restype=container", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-b6b16aec8ae1894782199cc0fc43f14d-d97100cd8fc3f64e-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.7.0-alpha.20201022.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "e9d766e2-2e4a-79bd-99a8-723671a2a1a3", + "x-ms-date": "Thu, 22 Oct 2020 17:37:06 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2020-04-08" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Thu, 22 Oct 2020 17:37:05 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "e9d766e2-2e4a-79bd-99a8-723671a2a1a3", + "x-ms-request-id": "793f0db1-201e-0033-6d99-a88569000000", + "x-ms-version": "2020-04-08" + }, + "ResponseBody": [] + } + ], + "Variables": { + "RandomSeed": "919048914", + "Storage_TestConfigDefault": "ProductionTenant\nseanmcccanary3\nU2FuaXRpemVk\nhttps://seanmcccanary3.blob.core.windows.net\nhttps://seanmcccanary3.file.core.windows.net\nhttps://seanmcccanary3.queue.core.windows.net\nhttps://seanmcccanary3.table.core.windows.net\n\n\n\n\nhttps://seanmcccanary3-secondary.blob.core.windows.net\nhttps://seanmcccanary3-secondary.file.core.windows.net\nhttps://seanmcccanary3-secondary.queue.core.windows.net\nhttps://seanmcccanary3-secondary.table.core.windows.net\n\nSanitized\n\n\nCloud\nBlobEndpoint=https://seanmcccanary3.blob.core.windows.net/;QueueEndpoint=https://seanmcccanary3.queue.core.windows.net/;FileEndpoint=https://seanmcccanary3.file.core.windows.net/;BlobSecondaryEndpoint=https://seanmcccanary3-secondary.blob.core.windows.net/;QueueSecondaryEndpoint=https://seanmcccanary3-secondary.queue.core.windows.net/;FileSecondaryEndpoint=https://seanmcccanary3-secondary.file.core.windows.net/;AccountName=seanmcccanary3;AccountKey=Kg==;\nseanscope1" + } +} \ No newline at end of file diff --git a/sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/BlobBaseClientTests/GetTagsAsync_LeaseFailedAsync.json b/sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/BlobBaseClientTests/GetTagsAsync_LeaseFailedAsync.json new file mode 100644 index 000000000000..5242a9ef48b5 --- /dev/null +++ b/sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/BlobBaseClientTests/GetTagsAsync_LeaseFailedAsync.json @@ -0,0 +1,146 @@ +{ + "Entries": [ + { + "RequestUri": "https://seanmcccanary3.blob.core.windows.net/test-container-4156786b-01f9-7a95-bbaa-5c48d034c2c5?restype=container", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-911e138933b9cd41a3b39783b49937f9-37a74b6be5ae5f44-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.7.0-alpha.20201020.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-blob-public-access": "container", + "x-ms-client-request-id": "fe01fdf7-23b5-ac15-ec3c-f1a47f6fd85b", + "x-ms-date": "Tue, 20 Oct 2020 19:33:32 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2020-04-08" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Tue, 20 Oct 2020 19:33:32 GMT", + "ETag": "\u00220x8D8752F07F477C9\u0022", + "Last-Modified": "Tue, 20 Oct 2020 19:33:33 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "fe01fdf7-23b5-ac15-ec3c-f1a47f6fd85b", + "x-ms-request-id": "77f8ac1c-301e-0086-7117-a7167b000000", + "x-ms-version": "2020-04-08" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seanmcccanary3.blob.core.windows.net/test-container-4156786b-01f9-7a95-bbaa-5c48d034c2c5/test-blob-fd8f3c6d-1345-fa36-93d3-181cc0548beb", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "Content-Length": "1024", + "traceparent": "00-e35cf3c3d3d83c45bb03fa1b2fe03e80-ff494856b9291e44-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.7.0-alpha.20201020.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-blob-type": "BlockBlob", + "x-ms-client-request-id": "71a9be52-4f67-0f8c-8df0-806eba6fbc5a", + "x-ms-date": "Tue, 20 Oct 2020 19:33:32 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2020-04-08" + }, + "RequestBody": "EHJQ0zPEEMrvWx7Xf0AEuQPk0rJBnaTkxgZq4Qv465ewBZQMHgUoqSzFDer0X3tSz14Z24LYqXPObAwtWS6\u002B93CHJnms95r9vCmGfI\u002B672eLGBKs3g8V2FshPrL5\u002BlD9BhZ5bTkBptfEGx9YUS3jFHykoUAbEhhhcU0dirnoBMHZiHZ4QIIuiXI76MLwvIYuPSk1VFkP4vT9F/vr4xsd2xddf8i3atP6dhfO4ClVcbTH70yPs7BoyaaBeymHQ6ZWHQ2rkz29dtNWO95BQALKqKZGJPPOjShm9LYiNe\u002BqczJxeMIcqd53CXl5OXjRJ4ikt9OCQB\u002Byh5DkRJ6Hm0HjrMirz8g/rv7Izxp6VVSwlcwtfn4cJzITv/EyN2U/8G43loyvJljAZAjUunEENzI7NK/SWR3Cx4SVlw/XDXaZid6sQr7HAG50bBl1R23BDoi/9gK1bZZRdc8HGo5I6VeROzCSWPRzdDRBXe0DTX8X1ImHFxd04xtIW83vv\u002BXgLIPC4ws8L7aTTIHOdA\u002BpTSdP8EYFwNE/HVcUSf0ng7ROYTFqQWl02qTS9MuVpW8Mnw2loM\u002Bf2muxgsWzJ\u002BW5bMjNgBPePgy92xWhMswFqnjnCKrvgeLkrobGuL6kwLO/GYgCxyVcLmAB6MS5/aifq9hNyx86yerm6NGMGIZOGRti4hlDAuJSi9pK7pkdKrHeJgzlVvSUhE\u002BdHN9U0BXass6pVxuOW6n2\u002B0BE8NtRyL0frvF5aMMmzl7JpuUC/bvEcDvKdNOVT8tj7luzT5N0S1QhNCEkYEkLgom9xbTD8/2Ff4CfhlTqil8lFXpnc37KVFqR4cmZnw/xv/FK2IkXoPpeLs8T1cQANqrB/0vPow8K8nBZMhIz6\u002BBwrcdjoLHWDnR/CUSvtn\u002BWkKoe2KDDIhzhP\u002BUYvW7oKkLvoif9nZb56/HXT5nKWzzxw6FoFRM/rIqqgmDLvVAFl98CvxNXmPMTJeyv7NKCFuSpJ/nNgBQvr/acUxs2LS2g0bi6yJsomiqtVPAmkL\u002B4J2t7IpZXOBfK0xAdukXY3fe/DxsZyE1JgIzOICskCB825CuvuguXSJmh8PWLCt/l1Hb4Z4Gknl4eMqEJiBfrpsrx59UZKSLsJ8aCeNhXvXat6Uu0K6GdkkXMkYhpjcCBtkormiMJy6tUDD\u002B6ISaGxnQrXJ/MNnooU1WPTZiagpkFAcGOLCNSox2fYB9h43AfRsoUPjEhtIDPAkfOeX4TuommtCBk\u002BJlQ2LmBLNVbx2/kcAbNhURn5ExBvircgymejKaVuy5Puk0xw2V4n4eqdDvX6Ql3RjRFPtDUIzpvc1SP4qAuxQxBlba5nMLe70TFlkruBZogJkZyTw==", + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Content-MD5": "IL2wC3htTCYXuaIyF7DDOQ==", + "Date": "Tue, 20 Oct 2020 19:33:33 GMT", + "ETag": "\u00220x8D8752F07FA4FAF\u0022", + "Last-Modified": "Tue, 20 Oct 2020 19:33:33 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "71a9be52-4f67-0f8c-8df0-806eba6fbc5a", + "x-ms-content-crc64": "npT0ISX2blg=", + "x-ms-request-id": "77f8ac39-301e-0086-0917-a7167b000000", + "x-ms-request-server-encrypted": "true", + "x-ms-version": "2020-04-08" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seanmcccanary3.blob.core.windows.net/test-container-4156786b-01f9-7a95-bbaa-5c48d034c2c5/test-blob-fd8f3c6d-1345-fa36-93d3-181cc0548beb?comp=tags", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-e0c8da263f48f64ca0b3ea5d2d830f0a-4869ffce005c0d4c-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.7.0-alpha.20201020.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "39bf8c00-b19f-323a-18cf-ff9a48043173", + "x-ms-date": "Tue, 20 Oct 2020 19:33:32 GMT", + "x-ms-lease-id": "e48f75bc-1f1a-daa5-72cd-0687dd1a9bbf", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2020-04-08" + }, + "RequestBody": null, + "StatusCode": 412, + "ResponseHeaders": { + "Content-Length": "242", + "Content-Type": "application/xml", + "Date": "Tue, 20 Oct 2020 19:33:33 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "39bf8c00-b19f-323a-18cf-ff9a48043173", + "x-ms-error-code": "LeaseNotPresentWithBlobOperation", + "x-ms-request-id": "77f8ac5c-301e-0086-2517-a7167b000000", + "x-ms-version": "2020-04-08" + }, + "ResponseBody": [ + "\uFEFF\u003C?xml version=\u00221.0\u0022 encoding=\u0022utf-8\u0022?\u003E\n", + "\u003CError\u003E\u003CCode\u003ELeaseNotPresentWithBlobOperation\u003C/Code\u003E\u003CMessage\u003EThere is currently no lease on the blob.\n", + "RequestId:77f8ac5c-301e-0086-2517-a7167b000000\n", + "Time:2020-10-20T19:33:33.4833073Z\u003C/Message\u003E\u003C/Error\u003E" + ] + }, + { + "RequestUri": "https://seanmcccanary3.blob.core.windows.net/test-container-4156786b-01f9-7a95-bbaa-5c48d034c2c5?restype=container", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-39c686ac5f43f44e8bc690c092e6abbf-fd4a790dce6af149-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.7.0-alpha.20201020.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "51868d76-625a-be20-0c9a-50cd014ee4cd", + "x-ms-date": "Tue, 20 Oct 2020 19:33:32 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2020-04-08" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Tue, 20 Oct 2020 19:33:33 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "51868d76-625a-be20-0c9a-50cd014ee4cd", + "x-ms-request-id": "77f8ad09-301e-0086-3f17-a7167b000000", + "x-ms-version": "2020-04-08" + }, + "ResponseBody": [] + } + ], + "Variables": { + "RandomSeed": "763721023", + "Storage_TestConfigDefault": "ProductionTenant\nseanmcccanary3\nU2FuaXRpemVk\nhttps://seanmcccanary3.blob.core.windows.net\nhttps://seanmcccanary3.file.core.windows.net\nhttps://seanmcccanary3.queue.core.windows.net\nhttps://seanmcccanary3.table.core.windows.net\n\n\n\n\nhttps://seanmcccanary3-secondary.blob.core.windows.net\nhttps://seanmcccanary3-secondary.file.core.windows.net\nhttps://seanmcccanary3-secondary.queue.core.windows.net\nhttps://seanmcccanary3-secondary.table.core.windows.net\n\nSanitized\n\n\nCloud\nBlobEndpoint=https://seanmcccanary3.blob.core.windows.net/;QueueEndpoint=https://seanmcccanary3.queue.core.windows.net/;FileEndpoint=https://seanmcccanary3.file.core.windows.net/;BlobSecondaryEndpoint=https://seanmcccanary3-secondary.blob.core.windows.net/;QueueSecondaryEndpoint=https://seanmcccanary3-secondary.queue.core.windows.net/;FileSecondaryEndpoint=https://seanmcccanary3-secondary.file.core.windows.net/;AccountName=seanmcccanary3;AccountKey=Kg==;\nseanscope1" + } +} \ No newline at end of file diff --git a/sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/BlobBaseClientTests/SetTagsAsync_LeaseFailed.json b/sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/BlobBaseClientTests/SetTagsAsync_LeaseFailed.json new file mode 100644 index 000000000000..144d95b7458f --- /dev/null +++ b/sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/BlobBaseClientTests/SetTagsAsync_LeaseFailed.json @@ -0,0 +1,148 @@ +{ + "Entries": [ + { + "RequestUri": "https://seanmcccanary3.blob.core.windows.net/test-container-afee768a-1e7b-6822-0b35-c8cb4daf8800?restype=container", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-f8c22057df5d444eb5b523d80b273a46-3e69186d26e9a942-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.7.0-alpha.20201020.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-blob-public-access": "container", + "x-ms-client-request-id": "3d8d6afe-6611-1821-4671-ba8952a9ba32", + "x-ms-date": "Tue, 20 Oct 2020 19:33:30 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2020-04-08" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Tue, 20 Oct 2020 19:33:31 GMT", + "ETag": "\u00220x8D8752F074AA293\u0022", + "Last-Modified": "Tue, 20 Oct 2020 19:33:31 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "3d8d6afe-6611-1821-4671-ba8952a9ba32", + "x-ms-request-id": "bd4419cc-d01e-0055-2a17-a7ca49000000", + "x-ms-version": "2020-04-08" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seanmcccanary3.blob.core.windows.net/test-container-afee768a-1e7b-6822-0b35-c8cb4daf8800/test-blob-fa57c93f-1b86-137b-2100-9c3761805426", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "Content-Length": "1024", + "traceparent": "00-acf23ff3b39e164b8552321c16a37760-bc637d9b6ce8a242-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.7.0-alpha.20201020.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-blob-type": "BlockBlob", + "x-ms-client-request-id": "5620a44d-15a0-4517-1427-6a67ec89d7f8", + "x-ms-date": "Tue, 20 Oct 2020 19:33:31 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2020-04-08" + }, + "RequestBody": "KhDN4iFL7siGPuoOu8ucaImKYkqNEDHi7nobEcrqt8YdlF9B3NcQ9NqOc0cxbFdWZDOt1h0JmBne6vSnL93\u002Bm4cj8SdsWoyyem5w/pzpsYEixa2WPeCpE/tFY/HjacT9kNjADXsw6gqn\u002B1yumZl99TlyhGovaF6net0rJveazhGqcm7EKaMG8tuj7kKE\u002BnliyG24ceRZzSd6GJKeBMMSDCxKAycquMuVa5GPjHkbI4BjyV6J4lwsUKRHShAQaO0XkOIVOfZSNw\u002BiIgVSykGuXvUSOjtkiSrQHrKC4266hAOkd/yXBemJEZFP5r9W2oZjmesb/i2yswa3RRtD0FOg554BrlJEFlgLiSmpFaNreUQsHkqCn4bV8sT14MDORUA\u002Brv4gVCszHoKTD3QECJ1jS8vWF7EJHUgXK7yOTjaXPUToa2ekSiQY\u002BQDH748R0ekmkpT09y6PNJC2CShupM9L\u002B9IwHJw2vgCnvh6xQS24BlrSaLyio0UWWDfW7kH7qVQwe/S94bRN8NSTTTkP3vNi/QLOnDwTqViNGsRlYNC\u002BqxTJgMU5\u002ByWmhXjnDlULBnpDc/A/LQ0YHNKcMMbw6I8D1KIlRl4tKQLdJxfEK5sCghRKIezgf30GsWPznMtetpzo5Dmy5b8bFkruYQb2U/A2ma6ypsajI1UkHpT6OYw3f3F63EdhT5xULgui8R53EF1yvAMcrA/WRMDkjsYrIdy\u002BtuGUe3ep1EkRXXi7ATE2rQ02h3yIGtNhpJeGfcHVKQwu5Ds84pTmyei5C06XGkOPreC49JpfNZwOMtfgIleHOzRrjB32\u002Bcp5UL2Uzw\u002BEyolT99DhHDVyz66fLq\u002B8BqaRMc8aK40mmbMVP6TcymWNiWhOjCuGph//\u002Bb1uV8savEkXA50/ap78LF0cy92RlQRJEqRHbnl6CouwGjLPuELo\u002BoNaxcfITR/KUmDNattCbmO5JEUn003QnPkSj09rLHMbM9BZNtA9gMSEfBwZrZ\u002BwbazOFpP8wSc1iijNtr3PXiXssTYK6DeTfKSAolYwtu9aYiGjnRXfHnKpI6ynb8oHtR32LftopYV1O5rvfB/QBdM5c1ObLMEPDJLEYcWK6wzZeew5OYn08bycLWJ78KJT2B7Zbvt2a4hc5yBoo0TA6k\u002BNFQMyl8tKRIKX/v5flBzwcYimsXwRYw1j3FJojE133EMS7tqeIEFTjil53m2K/VMEdzK8GTjTfLL2zrp44bg0HyG7TKVBUVBGUyJSl4Sg2d//ZBQau8MKP3InqFKG2q1xRL9Lz7GtwiXidcUVgOQuVvTbeX2kGWResAwzGan\u002BwHl14VLFVAotUqHuOEX99L6O\u002BVJdqmEvzCta7R6keqh85A==", + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Content-MD5": "UiDl8R\u002BsVjTbe2kOQ/c\u002BCg==", + "Date": "Tue, 20 Oct 2020 19:33:31 GMT", + "ETag": "\u00220x8D8752F0750D159\u0022", + "Last-Modified": "Tue, 20 Oct 2020 19:33:31 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "5620a44d-15a0-4517-1427-6a67ec89d7f8", + "x-ms-content-crc64": "IJMlE0f2zZA=", + "x-ms-request-id": "bd4419d9-d01e-0055-3217-a7ca49000000", + "x-ms-request-server-encrypted": "true", + "x-ms-version": "2020-04-08" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seanmcccanary3.blob.core.windows.net/test-container-afee768a-1e7b-6822-0b35-c8cb4daf8800/test-blob-fa57c93f-1b86-137b-2100-9c3761805426?comp=tags", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "Content-Length": "136", + "Content-Type": "application/xml", + "traceparent": "00-e46d5845ea57154a84ad93e760dff2bd-827af8828a22c244-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.7.0-alpha.20201020.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "8c43e34f-af8d-2e67-a791-052c18ddf1fd", + "x-ms-date": "Tue, 20 Oct 2020 19:33:31 GMT", + "x-ms-lease-id": "b1905471-1f54-8ffd-5173-fc3a53174a3c", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2020-04-08" + }, + "RequestBody": "\u003CTags\u003E\u003CTagSet\u003E\u003CTag\u003E\u003CKey\u003EtagKey0\u003C/Key\u003E\u003CValue\u003EtagValue0\u003C/Value\u003E\u003C/Tag\u003E\u003CTag\u003E\u003CKey\u003EtagKey1\u003C/Key\u003E\u003CValue\u003EtagValue1\u003C/Value\u003E\u003C/Tag\u003E\u003C/TagSet\u003E\u003C/Tags\u003E", + "StatusCode": 412, + "ResponseHeaders": { + "Content-Length": "242", + "Content-Type": "application/xml", + "Date": "Tue, 20 Oct 2020 19:33:31 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "8c43e34f-af8d-2e67-a791-052c18ddf1fd", + "x-ms-error-code": "LeaseNotPresentWithBlobOperation", + "x-ms-request-id": "bd4419e4-d01e-0055-3c17-a7ca49000000", + "x-ms-version": "2020-04-08" + }, + "ResponseBody": [ + "\uFEFF\u003C?xml version=\u00221.0\u0022 encoding=\u0022utf-8\u0022?\u003E\n", + "\u003CError\u003E\u003CCode\u003ELeaseNotPresentWithBlobOperation\u003C/Code\u003E\u003CMessage\u003EThere is currently no lease on the blob.\n", + "RequestId:bd4419e4-d01e-0055-3c17-a7ca49000000\n", + "Time:2020-10-20T19:33:32.2361917Z\u003C/Message\u003E\u003C/Error\u003E" + ] + }, + { + "RequestUri": "https://seanmcccanary3.blob.core.windows.net/test-container-afee768a-1e7b-6822-0b35-c8cb4daf8800?restype=container", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-0b60d346e9f05d4686574c2c8db0d420-8498f97a0fb8a84b-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.7.0-alpha.20201020.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "6febd875-bdd3-ddae-fb28-2df720168857", + "x-ms-date": "Tue, 20 Oct 2020 19:33:31 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2020-04-08" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Tue, 20 Oct 2020 19:33:31 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "6febd875-bdd3-ddae-fb28-2df720168857", + "x-ms-request-id": "bd441a58-d01e-0055-1b17-a7ca49000000", + "x-ms-version": "2020-04-08" + }, + "ResponseBody": [] + } + ], + "Variables": { + "RandomSeed": "608105943", + "Storage_TestConfigDefault": "ProductionTenant\nseanmcccanary3\nU2FuaXRpemVk\nhttps://seanmcccanary3.blob.core.windows.net\nhttps://seanmcccanary3.file.core.windows.net\nhttps://seanmcccanary3.queue.core.windows.net\nhttps://seanmcccanary3.table.core.windows.net\n\n\n\n\nhttps://seanmcccanary3-secondary.blob.core.windows.net\nhttps://seanmcccanary3-secondary.file.core.windows.net\nhttps://seanmcccanary3-secondary.queue.core.windows.net\nhttps://seanmcccanary3-secondary.table.core.windows.net\n\nSanitized\n\n\nCloud\nBlobEndpoint=https://seanmcccanary3.blob.core.windows.net/;QueueEndpoint=https://seanmcccanary3.queue.core.windows.net/;FileEndpoint=https://seanmcccanary3.file.core.windows.net/;BlobSecondaryEndpoint=https://seanmcccanary3-secondary.blob.core.windows.net/;QueueSecondaryEndpoint=https://seanmcccanary3-secondary.queue.core.windows.net/;FileSecondaryEndpoint=https://seanmcccanary3-secondary.file.core.windows.net/;AccountName=seanmcccanary3;AccountKey=Kg==;\nseanscope1" + } +} \ No newline at end of file diff --git a/sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/BlobBaseClientTests/SetTagsAsync_LeaseFailedAsync.json b/sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/BlobBaseClientTests/SetTagsAsync_LeaseFailedAsync.json new file mode 100644 index 000000000000..2f9a363f0bb5 --- /dev/null +++ b/sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/BlobBaseClientTests/SetTagsAsync_LeaseFailedAsync.json @@ -0,0 +1,148 @@ +{ + "Entries": [ + { + "RequestUri": "https://seanmcccanary3.blob.core.windows.net/test-container-8b168310-4241-a6ce-ff31-ed04ee068ae1?restype=container", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-1a210a8bca1537439923c1831cd8b654-74c65d717563e145-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.7.0-alpha.20201020.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-blob-public-access": "container", + "x-ms-client-request-id": "ccd5afbb-7b0f-1d2a-7445-65412b3749b1", + "x-ms-date": "Tue, 20 Oct 2020 19:33:32 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2020-04-08" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Tue, 20 Oct 2020 19:33:33 GMT", + "ETag": "\u00220x8D8752F0858C107\u0022", + "Last-Modified": "Tue, 20 Oct 2020 19:33:33 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "ccd5afbb-7b0f-1d2a-7445-65412b3749b1", + "x-ms-request-id": "0bdef8ed-301e-0062-7417-a718e5000000", + "x-ms-version": "2020-04-08" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seanmcccanary3.blob.core.windows.net/test-container-8b168310-4241-a6ce-ff31-ed04ee068ae1/test-blob-46fcb96c-0f35-9faf-c1cf-c6f396a30c42", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "Content-Length": "1024", + "traceparent": "00-210cc2940120114dbfb76203c44bcfdd-06d488e861349048-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.7.0-alpha.20201020.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-blob-type": "BlockBlob", + "x-ms-client-request-id": "77ec6c3a-9cb6-4721-0f45-da9daae59440", + "x-ms-date": "Tue, 20 Oct 2020 19:33:32 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2020-04-08" + }, + "RequestBody": "Ek9JPjG90pbC7uu7DIAbjAT7veDB2Wer/zUKP7Q2htE4Ii/c7gp/r\u002BZmg0ck9JNBtDnvm\u002BUsgTnnnT77spLhjGcZg\u002BlRPp75ew75WlUghwuiyYt6R\u002BvrC6H29VHMg/xUhPfgCnGp8HWb9R/WMybjxxUzWegHZ0V8LndIWklNLfgRpdZdP32a\u002BNkW31HLFNh7Ei08mSkUTR2yZNv5YZUrTccnxY1PhoeXmGAP8IjzsBmezEgbEZTO/Vi5qtqioJdD6pGJpE9KK4ylpADJBFyUv7PCWpRNEDwzWMc1ltus9fjJzAb3aQzJU6G7dWyTBfn8JOsn30UC9tpUVkyIFZSx\u002BK8IADhVnVan\u002BAbykZrPoFPOOXLvhRWyxtUsohPAQT4NCny9igTApoaVf\u002BY\u002BD2RAhLX4utwhwXOZVjliKftC57fI5YYdEhVODZLrWgYuc7Zw7B1dx4Zh60kJIzTKXn2LUpcudirdI3Kgqq1JNmZsauKD8T3d5SAxZvk9E\u002B7gg64VYAhuAP2Mk8mrvRzZF7XinbhSR2w/rW13/Q8woA\u002BDvyf\u002BNNVe/Wrl9l50MicDV05EWnU2jjtC1bOb9gLtW/K5KP312\u002BPghJ9ObFEOy3tFdKbA7EaaTTDru14hwgdn95pruwkpDXtrY9XW5yHqNAo4VoJcLG\u002BsHtvNCh\u002BEvsGY5nS2ohBxG2YqVYhwxGUPAYdU6WyECssrv5wuXANb56UTPQCsM5H6xjsbMtfmO1p1vQiYL9RVE9upiuJzQ75jzm7jXIZkYs32WiMxadjzRINBuJ76w7fQvikkAqmuhoJ8uGRpA9/UEVs7otSxI6oDtkVfMosfaAq2Ep1cP18jR9SgtLB0ikGkbKdDvyHiHpt/IUxjT1P3XVBZsvBBeNH8F1oAEW75jysEu8Xj3Kjo1PMC3R4SwPeBqFdgGthQYvTWRqjG4Q0thZIgX5ONFIGncN39Ppqy6ldjf2gXmHRTs1jRDZUAIfLl1VeM8WBk85TWuan6UyNZI1xRY2KlFewezas7vAbrpk7rF2lCJvj2/4vUQd/KWGA0d\u002Bo5r76PQL9rbiO1KDeN6hNbDzy6F/xjWmTW0NQNU3VLBkQcsvaQW9aq17jUQdZURlbMb0gjemDt1VRZuW/qXhquaSLycTgcyrRmED9DjhmOgop\u002BQOQsKIzkLtyiN6Jmv3meJte0YdQesKSUvWkgqkc6yjblbB01gkGVDkNceZMS/1DGpWhC2iG1YJA/l2oiw4OVZ2xrgVNcaKOWHlKRwjYRgb4ZWgXe\u002BPAVLwuM9urWc0u/xhImpn78aTzErLzOI55aLhasCGh\u002Btm57VlFHz3K5v6oH0fsk6ts/HPHIGUw0RgttMsjUKmriQA==", + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Content-MD5": "Rv3F1vVk0HamvyEcg\u002BmG8A==", + "Date": "Tue, 20 Oct 2020 19:33:33 GMT", + "ETag": "\u00220x8D8752F08613AB0\u0022", + "Last-Modified": "Tue, 20 Oct 2020 19:33:33 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "77ec6c3a-9cb6-4721-0f45-da9daae59440", + "x-ms-content-crc64": "tDXJvMOAjHs=", + "x-ms-request-id": "0bdef8f8-301e-0062-7d17-a718e5000000", + "x-ms-request-server-encrypted": "true", + "x-ms-version": "2020-04-08" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seanmcccanary3.blob.core.windows.net/test-container-8b168310-4241-a6ce-ff31-ed04ee068ae1/test-blob-46fcb96c-0f35-9faf-c1cf-c6f396a30c42?comp=tags", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "Content-Length": "136", + "Content-Type": "application/xml", + "traceparent": "00-f641b390591fe942ab9148016bcc9930-ce935f28fa563f49-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.7.0-alpha.20201020.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "c1a0d157-b5b8-af02-5984-1fb88ec2248e", + "x-ms-date": "Tue, 20 Oct 2020 19:33:32 GMT", + "x-ms-lease-id": "80ea9125-8a40-6712-57fe-0e5f2380b9ca", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2020-04-08" + }, + "RequestBody": "\u003CTags\u003E\u003CTagSet\u003E\u003CTag\u003E\u003CKey\u003EtagKey0\u003C/Key\u003E\u003CValue\u003EtagValue0\u003C/Value\u003E\u003C/Tag\u003E\u003CTag\u003E\u003CKey\u003EtagKey1\u003C/Key\u003E\u003CValue\u003EtagValue1\u003C/Value\u003E\u003C/Tag\u003E\u003C/TagSet\u003E\u003C/Tags\u003E", + "StatusCode": 412, + "ResponseHeaders": { + "Content-Length": "242", + "Content-Type": "application/xml", + "Date": "Tue, 20 Oct 2020 19:33:33 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "c1a0d157-b5b8-af02-5984-1fb88ec2248e", + "x-ms-error-code": "LeaseNotPresentWithBlobOperation", + "x-ms-request-id": "0bdef906-301e-0062-0b17-a718e5000000", + "x-ms-version": "2020-04-08" + }, + "ResponseBody": [ + "\uFEFF\u003C?xml version=\u00221.0\u0022 encoding=\u0022utf-8\u0022?\u003E\n", + "\u003CError\u003E\u003CCode\u003ELeaseNotPresentWithBlobOperation\u003C/Code\u003E\u003CMessage\u003EThere is currently no lease on the blob.\n", + "RequestId:0bdef906-301e-0062-0b17-a718e5000000\n", + "Time:2020-10-20T19:33:33.9594144Z\u003C/Message\u003E\u003C/Error\u003E" + ] + }, + { + "RequestUri": "https://seanmcccanary3.blob.core.windows.net/test-container-8b168310-4241-a6ce-ff31-ed04ee068ae1?restype=container", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-1fd2553eb61f7748bf5de57fbf6565c4-fa3c7a5d33699b49-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.7.0-alpha.20201020.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "5108e8de-f8df-4612-82e9-63f94bd1e5bf", + "x-ms-date": "Tue, 20 Oct 2020 19:33:33 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2020-04-08" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Tue, 20 Oct 2020 19:33:33 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "5108e8de-f8df-4612-82e9-63f94bd1e5bf", + "x-ms-request-id": "0bdef91f-301e-0062-1f17-a718e5000000", + "x-ms-version": "2020-04-08" + }, + "ResponseBody": [] + } + ], + "Variables": { + "RandomSeed": "2048613939", + "Storage_TestConfigDefault": "ProductionTenant\nseanmcccanary3\nU2FuaXRpemVk\nhttps://seanmcccanary3.blob.core.windows.net\nhttps://seanmcccanary3.file.core.windows.net\nhttps://seanmcccanary3.queue.core.windows.net\nhttps://seanmcccanary3.table.core.windows.net\n\n\n\n\nhttps://seanmcccanary3-secondary.blob.core.windows.net\nhttps://seanmcccanary3-secondary.file.core.windows.net\nhttps://seanmcccanary3-secondary.queue.core.windows.net\nhttps://seanmcccanary3-secondary.table.core.windows.net\n\nSanitized\n\n\nCloud\nBlobEndpoint=https://seanmcccanary3.blob.core.windows.net/;QueueEndpoint=https://seanmcccanary3.queue.core.windows.net/;FileEndpoint=https://seanmcccanary3.file.core.windows.net/;BlobSecondaryEndpoint=https://seanmcccanary3-secondary.blob.core.windows.net/;QueueSecondaryEndpoint=https://seanmcccanary3-secondary.queue.core.windows.net/;FileSecondaryEndpoint=https://seanmcccanary3-secondary.file.core.windows.net/;AccountName=seanmcccanary3;AccountKey=Kg==;\nseanscope1" + } +} \ No newline at end of file diff --git a/sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/ServiceClientTests/FindBlobsByTagAsync.json b/sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/ServiceClientTests/FindBlobsByTagAsync.json index 9c84521e603d..9a6e04b88505 100644 --- a/sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/ServiceClientTests/FindBlobsByTagAsync.json +++ b/sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/ServiceClientTests/FindBlobsByTagAsync.json @@ -1,18 +1,18 @@ { "Entries": [ { - "RequestUri": "https://blobindex1.blob.core.windows.net/test-container-7713691e-e349-a963-4890-e015c373a347?restype=container", + "RequestUri": "https://seanmcccanary3.blob.core.windows.net/test-container-7713691e-e349-a963-4890-e015c373a347?restype=container", "RequestMethod": "PUT", "RequestHeaders": { "Authorization": "Sanitized", - "traceparent": "00-9f2b41e083b0a6498794376a62479638-63bd50c54acfd044-00", + "traceparent": "00-296cba964464124a89674bd8ef605a4d-bcdd8fa93035eb44-00", "User-Agent": [ - "azsdk-net-Storage.Blobs/12.5.0-dev.20200417.1", - "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + "azsdk-net-Storage.Blobs/12.7.0-alpha.20201020.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" ], "x-ms-blob-public-access": "container", "x-ms-client-request-id": "801c7a46-dad8-dc44-06b5-90ad273211a0", - "x-ms-date": "Fri, 17 Apr 2020 23:23:47 GMT", + "x-ms-date": "Tue, 20 Oct 2020 19:33:50 GMT", "x-ms-return-client-request-id": "true", "x-ms-version": "2020-04-08" }, @@ -20,33 +20,33 @@ "StatusCode": 201, "ResponseHeaders": { "Content-Length": "0", - "Date": "Fri, 17 Apr 2020 23:23:46 GMT", - "ETag": "\u00220x8D7E32660FBE3B1\u0022", - "Last-Modified": "Fri, 17 Apr 2020 23:23:47 GMT", + "Date": "Tue, 20 Oct 2020 19:33:51 GMT", + "ETag": "\u00220x8D8752F1340BB73\u0022", + "Last-Modified": "Tue, 20 Oct 2020 19:33:51 GMT", "Server": [ "Windows-Azure-Blob/1.0", "Microsoft-HTTPAPI/2.0" ], "x-ms-client-request-id": "801c7a46-dad8-dc44-06b5-90ad273211a0", - "x-ms-request-id": "0e2febdb-f01e-0012-3e0f-153670000000", + "x-ms-request-id": "496e275b-601e-000d-6717-a71216000000", "x-ms-version": "2020-04-08" }, "ResponseBody": [] }, { - "RequestUri": "https://blobindex1.blob.core.windows.net/test-container-7713691e-e349-a963-4890-e015c373a347/test-blob-fcb8d87f-438a-83eb-7e0f-040288f24417", + "RequestUri": "https://seanmcccanary3.blob.core.windows.net/test-container-7713691e-e349-a963-4890-e015c373a347/test-blob-fcb8d87f-438a-83eb-7e0f-040288f24417", "RequestMethod": "PUT", "RequestHeaders": { "Authorization": "Sanitized", "Content-Length": "0", - "traceparent": "00-f6a5f1e3ff417c448cbfbc7538950992-dbf75f0ad2ab7744-00", + "traceparent": "00-535f8efdf3a22c42b52bddb8804dd010-a5dfd4faa2830143-00", "User-Agent": [ - "azsdk-net-Storage.Blobs/12.5.0-dev.20200417.1", - "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + "azsdk-net-Storage.Blobs/12.7.0-alpha.20201020.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" ], "x-ms-blob-type": "AppendBlob", "x-ms-client-request-id": "8cf2ba35-2677-03ce-8f98-02c9d5425314", - "x-ms-date": "Fri, 17 Apr 2020 23:23:47 GMT", + "x-ms-date": "Tue, 20 Oct 2020 19:33:51 GMT", "x-ms-return-client-request-id": "true", "x-ms-tags": "myTagKey=myTagValue", "x-ms-version": "2020-04-08" @@ -55,32 +55,31 @@ "StatusCode": 201, "ResponseHeaders": { "Content-Length": "0", - "Date": "Fri, 17 Apr 2020 23:23:46 GMT", - "ETag": "\u00220x8D7E326611F64AE\u0022", - "Last-Modified": "Fri, 17 Apr 2020 23:23:47 GMT", + "Date": "Tue, 20 Oct 2020 19:33:51 GMT", + "ETag": "\u00220x8D8752F1352EB69\u0022", + "Last-Modified": "Tue, 20 Oct 2020 19:33:52 GMT", "Server": [ "Windows-Azure-Blob/1.0", "Microsoft-HTTPAPI/2.0" ], "x-ms-client-request-id": "8cf2ba35-2677-03ce-8f98-02c9d5425314", - "x-ms-request-id": "0e2febea-f01e-0012-4b0f-153670000000", + "x-ms-request-id": "496e27a6-601e-000d-2917-a71216000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-04-08", - "x-ms-version-id": "2020-04-17T23:23:47.3934282Z" + "x-ms-version": "2020-04-08" }, "ResponseBody": [] }, { - "RequestUri": "https://blobindex1.blob.core.windows.net/?comp=blobs\u0026where=\u0022myTagKey\u0022%3D%27myTagValue%27", + "RequestUri": "https://seanmcccanary3.blob.core.windows.net/?comp=blobs\u0026where=\u0022myTagKey\u0022%3D%27myTagValue%27", "RequestMethod": "GET", "RequestHeaders": { "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-Storage.Blobs/12.5.0-dev.20200417.1", - "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + "azsdk-net-Storage.Blobs/12.7.0-alpha.20201020.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" ], "x-ms-client-request-id": "ceccc532-b800-47a0-b7cb-b9be20a5e515", - "x-ms-date": "Fri, 17 Apr 2020 23:23:50 GMT", + "x-ms-date": "Tue, 20 Oct 2020 19:33:53 GMT", "x-ms-return-client-request-id": "true", "x-ms-version": "2020-04-08" }, @@ -88,33 +87,33 @@ "StatusCode": 200, "ResponseHeaders": { "Content-Type": "application/xml", - "Date": "Fri, 17 Apr 2020 23:23:49 GMT", + "Date": "Tue, 20 Oct 2020 19:33:54 GMT", "Server": [ "Windows-Azure-Blob/1.0", "Microsoft-HTTPAPI/2.0" ], "Transfer-Encoding": "chunked", "x-ms-client-request-id": "ceccc532-b800-47a0-b7cb-b9be20a5e515", - "x-ms-request-id": "2a8c5a62-f01e-005f-340f-15f99c000000", + "x-ms-request-id": "35018405-a01e-0012-5017-a7a112000000", "x-ms-version": "2020-04-08" }, "ResponseBody": [ "\uFEFF\u003C?xml version=\u00221.0\u0022 encoding=\u0022utf-8\u0022?\u003E\n", - "\u003CEnumerationResults ServiceEndpoint=\u0022https://blobindex1.blob.core.windows.net/\u0022\u003E\u003CWhere\u003E\u0026quot;myTagKey\u0026quot;=\u0026apos;myTagValue\u0026apos;\u003C/Where\u003E\u003CBlobs\u003E\u003CBlob\u003E\u003CName\u003Etest-blob-fcb8d87f-438a-83eb-7e0f-040288f24417\u003C/Name\u003E\u003CContainerName\u003Etest-container-7713691e-e349-a963-4890-e015c373a347\u003C/ContainerName\u003E\u003CTagValue\u003EmyTagValue\u003C/TagValue\u003E\u003C/Blob\u003E\u003C/Blobs\u003E\u003CNextMarker/\u003E\u003C/EnumerationResults\u003E" + "\u003CEnumerationResults ServiceEndpoint=\u0022https://seanmcccanary3.blob.core.windows.net/\u0022\u003E\u003CWhere\u003E\u0026quot;myTagKey\u0026quot;=\u0026apos;myTagValue\u0026apos;\u003C/Where\u003E\u003CBlobs\u003E\u003CBlob\u003E\u003CName\u003Etest-blob-fcb8d87f-438a-83eb-7e0f-040288f24417\u003C/Name\u003E\u003CContainerName\u003Etest-container-7713691e-e349-a963-4890-e015c373a347\u003C/ContainerName\u003E\u003CTags\u003E\u003CTagSet\u003E\u003CTag\u003E\u003CKey\u003EmyTagKey\u003C/Key\u003E\u003CValue\u003EmyTagValue\u003C/Value\u003E\u003C/Tag\u003E\u003C/TagSet\u003E\u003C/Tags\u003E\u003C/Blob\u003E\u003C/Blobs\u003E\u003CNextMarker/\u003E\u003C/EnumerationResults\u003E" ] }, { - "RequestUri": "https://blobindex1.blob.core.windows.net/test-container-7713691e-e349-a963-4890-e015c373a347?restype=container", + "RequestUri": "https://seanmcccanary3.blob.core.windows.net/test-container-7713691e-e349-a963-4890-e015c373a347?restype=container", "RequestMethod": "DELETE", "RequestHeaders": { "Authorization": "Sanitized", - "traceparent": "00-eed5f1082a2e4340994eb3e533b31a84-e43082325117fc48-00", + "traceparent": "00-d9f98fda41078149b6ef06b29cb41a5e-133804cfe7427643-00", "User-Agent": [ - "azsdk-net-Storage.Blobs/12.5.0-dev.20200417.1", - "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + "azsdk-net-Storage.Blobs/12.7.0-alpha.20201020.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" ], "x-ms-client-request-id": "1097c021-8475-b814-d7f8-e8990f893dc4", - "x-ms-date": "Fri, 17 Apr 2020 23:23:50 GMT", + "x-ms-date": "Tue, 20 Oct 2020 19:33:53 GMT", "x-ms-return-client-request-id": "true", "x-ms-version": "2020-04-08" }, @@ -122,13 +121,13 @@ "StatusCode": 202, "ResponseHeaders": { "Content-Length": "0", - "Date": "Fri, 17 Apr 2020 23:23:49 GMT", + "Date": "Tue, 20 Oct 2020 19:33:53 GMT", "Server": [ "Windows-Azure-Blob/1.0", "Microsoft-HTTPAPI/2.0" ], "x-ms-client-request-id": "1097c021-8475-b814-d7f8-e8990f893dc4", - "x-ms-request-id": "0e2fece9-f01e-0012-240f-153670000000", + "x-ms-request-id": "496e2e65-601e-000d-0e17-a71216000000", "x-ms-version": "2020-04-08" }, "ResponseBody": [] @@ -136,6 +135,6 @@ ], "Variables": { "RandomSeed": "255571528", - "Storage_TestConfigDefault": "ProductionTenant\nblobindex1\nU2FuaXRpemVk\nhttps://blobindex1.blob.core.windows.net\nhttps://blobindex1.file.core.windows.net\nhttps://blobindex1.queue.core.windows.net\nhttps://blobindex1.table.core.windows.net\n\n\n\n\nhttps://blobindex1-secondary.blob.core.windows.net\nhttps://blobindex1-secondary.file.core.windows.net\nhttps://blobindex1-secondary.queue.core.windows.net\nhttps://blobindex1-secondary.table.core.windows.net\n\nSanitized\n\n\nCloud\nBlobEndpoint=https://blobindex1.blob.core.windows.net/;QueueEndpoint=https://blobindex1.queue.core.windows.net/;FileEndpoint=https://blobindex1.file.core.windows.net/;BlobSecondaryEndpoint=https://blobindex1-secondary.blob.core.windows.net/;QueueSecondaryEndpoint=https://blobindex1-secondary.queue.core.windows.net/;FileSecondaryEndpoint=https://blobindex1-secondary.file.core.windows.net/;AccountName=blobindex1;AccountKey=Sanitized\nseanscope1" + "Storage_TestConfigDefault": "ProductionTenant\nseanmcccanary3\nU2FuaXRpemVk\nhttps://seanmcccanary3.blob.core.windows.net\nhttps://seanmcccanary3.file.core.windows.net\nhttps://seanmcccanary3.queue.core.windows.net\nhttps://seanmcccanary3.table.core.windows.net\n\n\n\n\nhttps://seanmcccanary3-secondary.blob.core.windows.net\nhttps://seanmcccanary3-secondary.file.core.windows.net\nhttps://seanmcccanary3-secondary.queue.core.windows.net\nhttps://seanmcccanary3-secondary.table.core.windows.net\n\nSanitized\n\n\nCloud\nBlobEndpoint=https://seanmcccanary3.blob.core.windows.net/;QueueEndpoint=https://seanmcccanary3.queue.core.windows.net/;FileEndpoint=https://seanmcccanary3.file.core.windows.net/;BlobSecondaryEndpoint=https://seanmcccanary3-secondary.blob.core.windows.net/;QueueSecondaryEndpoint=https://seanmcccanary3-secondary.queue.core.windows.net/;FileSecondaryEndpoint=https://seanmcccanary3-secondary.file.core.windows.net/;AccountName=seanmcccanary3;AccountKey=Kg==;\nseanscope1" } } \ No newline at end of file diff --git a/sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/ServiceClientTests/FindBlobsByTagAsyncAsync.json b/sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/ServiceClientTests/FindBlobsByTagAsyncAsync.json index 1f53796622e9..fde3ee17b7c6 100644 --- a/sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/ServiceClientTests/FindBlobsByTagAsyncAsync.json +++ b/sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/ServiceClientTests/FindBlobsByTagAsyncAsync.json @@ -1,18 +1,18 @@ { "Entries": [ { - "RequestUri": "https://blobindex1.blob.core.windows.net/test-container-cb730b79-43a0-8e4d-4016-ecd1e4a25264?restype=container", + "RequestUri": "https://seanmcccanary3.blob.core.windows.net/test-container-cb730b79-43a0-8e4d-4016-ecd1e4a25264?restype=container", "RequestMethod": "PUT", "RequestHeaders": { "Authorization": "Sanitized", - "traceparent": "00-0345733793a5b941abf6539c2dafdb00-822255929dd5374c-00", + "traceparent": "00-a655e34dec2d584e999b4b49b847f3c3-f4ee6aea3fa4994b-00", "User-Agent": [ - "azsdk-net-Storage.Blobs/12.5.0-dev.20200417.1", - "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + "azsdk-net-Storage.Blobs/12.7.0-alpha.20201020.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" ], "x-ms-blob-public-access": "container", "x-ms-client-request-id": "325781b9-1fd0-e7de-5c3a-8902f8d359a2", - "x-ms-date": "Fri, 17 Apr 2020 23:17:38 GMT", + "x-ms-date": "Tue, 20 Oct 2020 19:33:53 GMT", "x-ms-return-client-request-id": "true", "x-ms-version": "2020-04-08" }, @@ -20,33 +20,33 @@ "StatusCode": 201, "ResponseHeaders": { "Content-Length": "0", - "Date": "Fri, 17 Apr 2020 23:17:38 GMT", - "ETag": "\u00220x8D7E325854F5C0D\u0022", - "Last-Modified": "Fri, 17 Apr 2020 23:17:38 GMT", + "Date": "Tue, 20 Oct 2020 19:33:53 GMT", + "ETag": "\u00220x8D8752F14DF0282\u0022", + "Last-Modified": "Tue, 20 Oct 2020 19:33:54 GMT", "Server": [ "Windows-Azure-Blob/1.0", "Microsoft-HTTPAPI/2.0" ], "x-ms-client-request-id": "325781b9-1fd0-e7de-5c3a-8902f8d359a2", - "x-ms-request-id": "1cd124e3-c01e-0026-100e-1505b8000000", + "x-ms-request-id": "da5e8372-d01e-008e-5a17-a70c74000000", "x-ms-version": "2020-04-08" }, "ResponseBody": [] }, { - "RequestUri": "https://blobindex1.blob.core.windows.net/test-container-cb730b79-43a0-8e4d-4016-ecd1e4a25264/test-blob-9384f653-124a-25e1-1eab-752339880a2b", + "RequestUri": "https://seanmcccanary3.blob.core.windows.net/test-container-cb730b79-43a0-8e4d-4016-ecd1e4a25264/test-blob-9384f653-124a-25e1-1eab-752339880a2b", "RequestMethod": "PUT", "RequestHeaders": { "Authorization": "Sanitized", "Content-Length": "0", - "traceparent": "00-0849fef5b4ef3d4c9de0a71cfe0717b5-f792fdc88f27a144-00", + "traceparent": "00-c9cbc6caf9c7bb4983f4f13c12a26443-ec965972dd7b8b47-00", "User-Agent": [ - "azsdk-net-Storage.Blobs/12.5.0-dev.20200417.1", - "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + "azsdk-net-Storage.Blobs/12.7.0-alpha.20201020.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" ], "x-ms-blob-type": "AppendBlob", "x-ms-client-request-id": "8d716823-8590-a7e5-9f31-1424aabaadd3", - "x-ms-date": "Fri, 17 Apr 2020 23:17:39 GMT", + "x-ms-date": "Tue, 20 Oct 2020 19:33:53 GMT", "x-ms-return-client-request-id": "true", "x-ms-tags": "myTagKey=myTagValue", "x-ms-version": "2020-04-08" @@ -55,32 +55,31 @@ "StatusCode": 201, "ResponseHeaders": { "Content-Length": "0", - "Date": "Fri, 17 Apr 2020 23:17:38 GMT", - "ETag": "\u00220x8D7E3258566B4D2\u0022", - "Last-Modified": "Fri, 17 Apr 2020 23:17:38 GMT", + "Date": "Tue, 20 Oct 2020 19:33:54 GMT", + "ETag": "\u00220x8D8752F14EA77FE\u0022", + "Last-Modified": "Tue, 20 Oct 2020 19:33:54 GMT", "Server": [ "Windows-Azure-Blob/1.0", "Microsoft-HTTPAPI/2.0" ], "x-ms-client-request-id": "8d716823-8590-a7e5-9f31-1424aabaadd3", - "x-ms-request-id": "1cd1250a-c01e-0026-320e-1505b8000000", + "x-ms-request-id": "da5e8384-d01e-008e-6917-a70c74000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-04-08", - "x-ms-version-id": "2020-04-17T23:17:38.7620325Z" + "x-ms-version": "2020-04-08" }, "ResponseBody": [] }, { - "RequestUri": "https://blobindex1.blob.core.windows.net/?comp=blobs\u0026where=\u0022myTagKey\u0022%3D%27myTagValue%27", + "RequestUri": "https://seanmcccanary3.blob.core.windows.net/?comp=blobs\u0026where=\u0022myTagKey\u0022%3D%27myTagValue%27", "RequestMethod": "GET", "RequestHeaders": { "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-Storage.Blobs/12.5.0-dev.20200417.1", - "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + "azsdk-net-Storage.Blobs/12.7.0-alpha.20201020.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" ], "x-ms-client-request-id": "d100f3dc-7c17-789b-d671-c4180b6f46d2", - "x-ms-date": "Fri, 17 Apr 2020 23:17:40 GMT", + "x-ms-date": "Tue, 20 Oct 2020 19:33:56 GMT", "x-ms-return-client-request-id": "true", "x-ms-version": "2020-04-08" }, @@ -88,33 +87,33 @@ "StatusCode": 200, "ResponseHeaders": { "Content-Type": "application/xml", - "Date": "Fri, 17 Apr 2020 23:17:39 GMT", + "Date": "Tue, 20 Oct 2020 19:33:56 GMT", "Server": [ "Windows-Azure-Blob/1.0", "Microsoft-HTTPAPI/2.0" ], "Transfer-Encoding": "chunked", "x-ms-client-request-id": "d100f3dc-7c17-789b-d671-c4180b6f46d2", - "x-ms-request-id": "1a000bd1-201e-0073-2d0e-151533000000", + "x-ms-request-id": "6a2fe43e-f01e-0042-7917-a76342000000", "x-ms-version": "2020-04-08" }, "ResponseBody": [ "\uFEFF\u003C?xml version=\u00221.0\u0022 encoding=\u0022utf-8\u0022?\u003E\n", - "\u003CEnumerationResults ServiceEndpoint=\u0022https://blobindex1.blob.core.windows.net/\u0022\u003E\u003CWhere\u003E\u0026quot;myTagKey\u0026quot;=\u0026apos;myTagValue\u0026apos;\u003C/Where\u003E\u003CBlobs\u003E\u003CBlob\u003E\u003CName\u003Etest-blob-ea6c06a6-0d20-b6b6-9d16-04701491aac3\u003C/Name\u003E\u003CContainerName\u003Etest-container-8d37577b-fe1a-1214-8dbb-7f9b9e1a45db\u003C/ContainerName\u003E\u003CTagValue\u003EmyTagValue\u003C/TagValue\u003E\u003C/Blob\u003E\u003CBlob\u003E\u003CName\u003Etest-blob-9384f653-124a-25e1-1eab-752339880a2b\u003C/Name\u003E\u003CContainerName\u003Etest-container-cb730b79-43a0-8e4d-4016-ecd1e4a25264\u003C/ContainerName\u003E\u003CTagValue\u003EmyTagValue\u003C/TagValue\u003E\u003C/Blob\u003E\u003C/Blobs\u003E\u003CNextMarker/\u003E\u003C/EnumerationResults\u003E" + "\u003CEnumerationResults ServiceEndpoint=\u0022https://seanmcccanary3.blob.core.windows.net/\u0022\u003E\u003CWhere\u003E\u0026quot;myTagKey\u0026quot;=\u0026apos;myTagValue\u0026apos;\u003C/Where\u003E\u003CBlobs\u003E\u003CBlob\u003E\u003CName\u003Etest-blob-fcb8d87f-438a-83eb-7e0f-040288f24417\u003C/Name\u003E\u003CContainerName\u003Etest-container-7713691e-e349-a963-4890-e015c373a347\u003C/ContainerName\u003E\u003CTags\u003E\u003CTagSet\u003E\u003CTag\u003E\u003CKey\u003EmyTagKey\u003C/Key\u003E\u003CValue\u003EmyTagValue\u003C/Value\u003E\u003C/Tag\u003E\u003C/TagSet\u003E\u003C/Tags\u003E\u003C/Blob\u003E\u003CBlob\u003E\u003CName\u003Etest-blob-9384f653-124a-25e1-1eab-752339880a2b\u003C/Name\u003E\u003CContainerName\u003Etest-container-cb730b79-43a0-8e4d-4016-ecd1e4a25264\u003C/ContainerName\u003E\u003CTags\u003E\u003CTagSet\u003E\u003CTag\u003E\u003CKey\u003EmyTagKey\u003C/Key\u003E\u003CValue\u003EmyTagValue\u003C/Value\u003E\u003C/Tag\u003E\u003C/TagSet\u003E\u003C/Tags\u003E\u003C/Blob\u003E\u003C/Blobs\u003E\u003CNextMarker/\u003E\u003C/EnumerationResults\u003E" ] }, { - "RequestUri": "https://blobindex1.blob.core.windows.net/test-container-cb730b79-43a0-8e4d-4016-ecd1e4a25264?restype=container", + "RequestUri": "https://seanmcccanary3.blob.core.windows.net/test-container-cb730b79-43a0-8e4d-4016-ecd1e4a25264?restype=container", "RequestMethod": "DELETE", "RequestHeaders": { "Authorization": "Sanitized", - "traceparent": "00-9eacca117ba1fc4f8e55033444124937-0b48d13636c08c4e-00", + "traceparent": "00-8d8c9fb911ba3143a21ea0ea0f241127-4c30fcddf6c77948-00", "User-Agent": [ - "azsdk-net-Storage.Blobs/12.5.0-dev.20200417.1", - "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + "azsdk-net-Storage.Blobs/12.7.0-alpha.20201020.1", + "(.NET Core 4.6.29220.03; Microsoft Windows 10.0.19042 )" ], "x-ms-client-request-id": "b647e1d6-dcb9-b3bc-c28b-6648313f28f2", - "x-ms-date": "Fri, 17 Apr 2020 23:17:41 GMT", + "x-ms-date": "Tue, 20 Oct 2020 19:33:56 GMT", "x-ms-return-client-request-id": "true", "x-ms-version": "2020-04-08" }, @@ -122,13 +121,13 @@ "StatusCode": 202, "ResponseHeaders": { "Content-Length": "0", - "Date": "Fri, 17 Apr 2020 23:17:40 GMT", + "Date": "Tue, 20 Oct 2020 19:33:56 GMT", "Server": [ "Windows-Azure-Blob/1.0", "Microsoft-HTTPAPI/2.0" ], "x-ms-client-request-id": "b647e1d6-dcb9-b3bc-c28b-6648313f28f2", - "x-ms-request-id": "1cd12727-c01e-0026-0c0e-1505b8000000", + "x-ms-request-id": "da5e85e8-d01e-008e-7e17-a70c74000000", "x-ms-version": "2020-04-08" }, "ResponseBody": [] @@ -136,6 +135,6 @@ ], "Variables": { "RandomSeed": "1922495711", - "Storage_TestConfigDefault": "ProductionTenant\nblobindex1\nU2FuaXRpemVk\nhttps://blobindex1.blob.core.windows.net\nhttps://blobindex1.file.core.windows.net\nhttps://blobindex1.queue.core.windows.net\nhttps://blobindex1.table.core.windows.net\n\n\n\n\nhttps://blobindex1-secondary.blob.core.windows.net\nhttps://blobindex1-secondary.file.core.windows.net\nhttps://blobindex1-secondary.queue.core.windows.net\nhttps://blobindex1-secondary.table.core.windows.net\n\nSanitized\n\n\nCloud\nBlobEndpoint=https://blobindex1.blob.core.windows.net/;QueueEndpoint=https://blobindex1.queue.core.windows.net/;FileEndpoint=https://blobindex1.file.core.windows.net/;BlobSecondaryEndpoint=https://blobindex1-secondary.blob.core.windows.net/;QueueSecondaryEndpoint=https://blobindex1-secondary.queue.core.windows.net/;FileSecondaryEndpoint=https://blobindex1-secondary.file.core.windows.net/;AccountName=blobindex1;AccountKey=Sanitized\nseanscope1" + "Storage_TestConfigDefault": "ProductionTenant\nseanmcccanary3\nU2FuaXRpemVk\nhttps://seanmcccanary3.blob.core.windows.net\nhttps://seanmcccanary3.file.core.windows.net\nhttps://seanmcccanary3.queue.core.windows.net\nhttps://seanmcccanary3.table.core.windows.net\n\n\n\n\nhttps://seanmcccanary3-secondary.blob.core.windows.net\nhttps://seanmcccanary3-secondary.file.core.windows.net\nhttps://seanmcccanary3-secondary.queue.core.windows.net\nhttps://seanmcccanary3-secondary.table.core.windows.net\n\nSanitized\n\n\nCloud\nBlobEndpoint=https://seanmcccanary3.blob.core.windows.net/;QueueEndpoint=https://seanmcccanary3.queue.core.windows.net/;FileEndpoint=https://seanmcccanary3.file.core.windows.net/;BlobSecondaryEndpoint=https://seanmcccanary3-secondary.blob.core.windows.net/;QueueSecondaryEndpoint=https://seanmcccanary3-secondary.queue.core.windows.net/;FileSecondaryEndpoint=https://seanmcccanary3-secondary.file.core.windows.net/;AccountName=seanmcccanary3;AccountKey=Kg==;\nseanscope1" } } \ No newline at end of file