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 312e4f5e4371..1da6ff38132f 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 @@ -300,6 +300,16 @@ internal BlobContentInfo() { } public System.DateTimeOffset LastModified { get { throw null; } } public string VersionId { get { throw null; } } } + public partial class BlobCopyFromUriOptions + { + public BlobCopyFromUriOptions() { } + public Azure.Storage.Blobs.Models.AccessTier? AccessTier { get { throw null; } set { } } + public Azure.Storage.Blobs.Models.BlobRequestConditions DestinationConditions { get { throw null; } set { } } + public bool? IsSealed { get { throw null; } set { } } + public System.Collections.Generic.IDictionary Metadata { get { throw null; } set { } } + public Azure.Storage.Blobs.Models.RehydratePriority? RehydratePriority { get { throw null; } set { } } + public Azure.Storage.Blobs.Models.BlobRequestConditions SourceConditions { get { throw null; } set { } } + } public partial class BlobCopyInfo { internal BlobCopyInfo() { } @@ -339,6 +349,7 @@ public BlobDownloadDetails() { } public string EncryptionKeySha256 { get { throw null; } } public string EncryptionScope { get { throw null; } } public Azure.ETag ETag { get { throw null; } } + public bool IsSealed { get { throw null; } } public bool IsServerEncrypted { get { throw null; } } public System.DateTimeOffset LastModified { get { throw null; } } public Azure.Storage.Blobs.Models.LeaseDurationType LeaseDuration { get { throw null; } } @@ -1039,6 +1050,8 @@ public AppendBlobClient(System.Uri blobUri, Azure.Storage.StorageSharedKeyCreden public virtual System.Threading.Tasks.Task> CreateAsync(Azure.Storage.Blobs.Models.BlobHttpHeaders httpHeaders = null, System.Collections.Generic.IDictionary metadata = null, Azure.Storage.Blobs.Models.AppendBlobRequestConditions conditions = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response CreateIfNotExists(Azure.Storage.Blobs.Models.BlobHttpHeaders httpHeaders = null, System.Collections.Generic.IDictionary metadata = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> CreateIfNotExistsAsync(Azure.Storage.Blobs.Models.BlobHttpHeaders httpHeaders = null, System.Collections.Generic.IDictionary metadata = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Response Seal(Azure.Storage.Blobs.Models.AppendBlobRequestConditions conditions = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task> SealAsync(Azure.Storage.Blobs.Models.AppendBlobRequestConditions conditions = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public new Azure.Storage.Blobs.Specialized.AppendBlobClient WithSnapshot(string snapshot) { throw null; } } public partial class BlobBaseClient @@ -1089,7 +1102,11 @@ public BlobBaseClient(System.Uri blobUri, Azure.Storage.StorageSharedKeyCredenti public virtual System.Threading.Tasks.Task> SetHttpHeadersAsync(Azure.Storage.Blobs.Models.BlobHttpHeaders httpHeaders = null, Azure.Storage.Blobs.Models.BlobRequestConditions conditions = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response SetMetadata(System.Collections.Generic.IDictionary metadata, Azure.Storage.Blobs.Models.BlobRequestConditions conditions = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task> SetMetadataAsync(System.Collections.Generic.IDictionary metadata, Azure.Storage.Blobs.Models.BlobRequestConditions conditions = null, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual Azure.Storage.Blobs.Models.CopyFromUriOperation StartCopyFromUri(System.Uri source, Azure.Storage.Blobs.Models.BlobCopyFromUriOptions options, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public virtual Azure.Storage.Blobs.Models.CopyFromUriOperation StartCopyFromUri(System.Uri source, System.Collections.Generic.IDictionary metadata = null, Azure.Storage.Blobs.Models.AccessTier? accessTier = default(Azure.Storage.Blobs.Models.AccessTier?), Azure.Storage.Blobs.Models.BlobRequestConditions sourceConditions = null, Azure.Storage.Blobs.Models.BlobRequestConditions destinationConditions = null, Azure.Storage.Blobs.Models.RehydratePriority? rehydratePriority = default(Azure.Storage.Blobs.Models.RehydratePriority?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + public virtual System.Threading.Tasks.Task StartCopyFromUriAsync(System.Uri source, Azure.Storage.Blobs.Models.BlobCopyFromUriOptions options, System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } + [System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)] public virtual System.Threading.Tasks.Task StartCopyFromUriAsync(System.Uri source, System.Collections.Generic.IDictionary metadata = null, Azure.Storage.Blobs.Models.AccessTier? accessTier = default(Azure.Storage.Blobs.Models.AccessTier?), Azure.Storage.Blobs.Models.BlobRequestConditions sourceConditions = null, Azure.Storage.Blobs.Models.BlobRequestConditions destinationConditions = null, Azure.Storage.Blobs.Models.RehydratePriority? rehydratePriority = default(Azure.Storage.Blobs.Models.RehydratePriority?), System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual Azure.Response Undelete(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } public virtual System.Threading.Tasks.Task UndeleteAsync(System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken)) { throw null; } diff --git a/sdk/storage/Azure.Storage.Blobs/src/AppendBlobClient.cs b/sdk/storage/Azure.Storage.Blobs/src/AppendBlobClient.cs index 57233499a345..726d33bfe143 100644 --- a/sdk/storage/Azure.Storage.Blobs/src/AppendBlobClient.cs +++ b/sdk/storage/Azure.Storage.Blobs/src/AppendBlobClient.cs @@ -1018,6 +1018,134 @@ private async Task> AppendBlockFromUriInternal( } } #endregion AppendBlockFromUri + + #region Seal + /// + /// Seals the append blob, making it read only. + /// Any subsequent appends will fail. + /// + /// + /// Optional to add + /// conditions on the sealing of this blob. + /// + /// + /// Optional to propagate + /// notifications that the operation should be cancelled. + /// + /// + /// A describing the + /// state of the sealed append blob. + /// + /// + /// A will be thrown if + /// a failure occurs. + /// + public virtual Response Seal( + AppendBlobRequestConditions conditions = default, + CancellationToken cancellationToken = default) + => SealInternal( + conditions, + async: false, + cancellationToken: cancellationToken) + .EnsureCompleted(); + + /// + /// Seals the append blob, making it read only. + /// Any subsequent appends will fail. + /// + /// + /// Optional to add + /// conditions on the sealing of this blob. + /// + /// + /// Optional to propagate + /// notifications that the operation should be cancelled. + /// + /// + /// A describing the + /// state of the sealed append blob. + /// + /// + /// A will be thrown if + /// a failure occurs. + /// + public virtual async Task> SealAsync( + AppendBlobRequestConditions conditions = default, + CancellationToken cancellationToken = default) + => await SealInternal( + conditions, + async: true, + cancellationToken: cancellationToken) + .ConfigureAwait(false); + + /// + /// Seals the append blob, making it read only. + /// Any subsequent appends will fail. + /// + /// + /// Optional to add + /// conditions on the sealing of this blob. + /// + /// + /// Whether to invoke the operation asynchronously. + /// + /// + /// Optional to propagate + /// notifications that the operation should be cancelled. + /// + /// + /// A describing the + /// state of the sealed append blob. + /// + /// + /// A will be thrown if + /// a failure occurs. + /// + private async Task> SealInternal( + AppendBlobRequestConditions conditions, + bool async, + CancellationToken cancellationToken) + { + using (Pipeline.BeginLoggingScope(nameof(AppendBlobClient))) + { + try + { + Response response = await BlobRestClient.AppendBlob.SealAsync( + ClientDiagnostics, + Pipeline, + Uri, + Version.ToVersionString(), + leaseId: conditions?.LeaseId, + ifModifiedSince: conditions?.IfModifiedSince, + ifUnmodifiedSince: conditions?.IfUnmodifiedSince, + ifMatch: conditions?.IfMatch, + ifNoneMatch: conditions?.IfNoneMatch, + appendPosition: conditions?.IfAppendPositionEqual, + async: async, + operationName: $"{nameof(AppendBlobClient)}.{nameof(Seal)}", + cancellationToken: cancellationToken) + .ConfigureAwait(false); + + return Response.FromValue( + new BlobInfo + { + ETag = response.Value.ETag, + LastModified = response.Value.LastModified + }, + response.GetRawResponse()); + } + catch (Exception ex) + { + Pipeline.LogException(ex); + throw; + } + finally + { + Pipeline.LogMethodExit(nameof(AppendBlobClient)); + } + } + } + #endregion Seal } /// diff --git a/sdk/storage/Azure.Storage.Blobs/src/BlobBaseClient.cs b/sdk/storage/Azure.Storage.Blobs/src/BlobBaseClient.cs index 9c347d0536e5..d1b7cdfcb171 100644 --- a/sdk/storage/Azure.Storage.Blobs/src/BlobBaseClient.cs +++ b/sdk/storage/Azure.Storage.Blobs/src/BlobBaseClient.cs @@ -2,6 +2,7 @@ // Licensed under the MIT License. using System; +using System.ComponentModel; using System.Diagnostics; using System.IO; using System.Threading; @@ -1217,6 +1218,68 @@ internal async Task StagedDownloadAsync( #endregion Parallel Download #region StartCopyFromUri + /// + /// The + /// operation copies data at from the to this + /// blob. You can check the + /// returned from the to determine if the + /// copy has completed. + /// + /// For more information, see . + /// + /// + /// Specifies the of the source blob. The value may + /// be a of up to 2 KB in length that specifies a + /// blob. A source blob in the same storage account can be + /// authenticated via Shared Key. However, if the source is a blob in + /// another account, the source blob must either be public or must be + /// authenticated via a shared access signature. If the source blob + /// is public, no authentication is required to perform the copy + /// operation. + /// + /// The source object may be a file in the Azure File service. If the + /// source object is a file that is to be copied to a blob, then the + /// source file must be authenticated using a shared access signature, + /// whether it resides in the same account or in a different account. + /// + /// + /// Optional parameters. + /// + /// + /// Optional to propagate + /// notifications that the operation should be cancelled. + /// + /// + /// A describing the + /// state of the copy operation. + /// + /// + /// A will be thrown if + /// a failure occurs. + /// + public virtual CopyFromUriOperation StartCopyFromUri( + Uri source, + BlobCopyFromUriOptions options, + CancellationToken cancellationToken = default) + { + Response response = StartCopyFromUriInternal( + source, + options?.Metadata, + options?.AccessTier, + options?.SourceConditions, + options?.DestinationConditions, + options?.RehydratePriority, + options?.IsSealed, + async: false, + cancellationToken) + .EnsureCompleted(); + return new CopyFromUriOperation( + this, + response.Value.CopyId, + response.GetRawResponse(), + cancellationToken); + } + /// /// The /// operation copies data at from the to this @@ -1272,6 +1335,7 @@ internal async Task StagedDownloadAsync( /// A will be thrown if /// a failure occurs. /// + [EditorBrowsable(EditorBrowsableState.Never)] public virtual CopyFromUriOperation StartCopyFromUri( Uri source, Metadata metadata = default, @@ -1288,7 +1352,8 @@ public virtual CopyFromUriOperation StartCopyFromUri( sourceConditions, destinationConditions, rehydratePriority, - false, // async + sealBlob: default, + async: false, cancellationToken) .EnsureCompleted(); return new CopyFromUriOperation( @@ -1298,6 +1363,68 @@ public virtual CopyFromUriOperation StartCopyFromUri( cancellationToken); } + /// + /// The + /// operation copies data at from the to this + /// blob. You can check the + /// returned from the to determine if + /// the copy has completed. + /// + /// For more information, see . + /// + /// + /// Specifies the of the source blob. The value may + /// be a of up to 2 KB in length that specifies a + /// blob. A source blob in the same storage account can be + /// authenticated via Shared Key. However, if the source is a blob in + /// another account, the source blob must either be public or must be + /// authenticated via a shared access signature. If the source blob + /// is public, no authentication is required to perform the copy + /// operation. + /// + /// The source object may be a file in the Azure File service. If the + /// source object is a file that is to be copied to a blob, then the + /// source file must be authenticated using a shared access signature, + /// whether it resides in the same account or in a different account. + /// + /// + /// Optional parameters. + /// + /// + /// Optional to propagate + /// notifications that the operation should be cancelled. + /// + /// + /// A describing the + /// state of the copy operation. + /// + /// + /// A will be thrown if + /// a failure occurs. + /// + public virtual async Task StartCopyFromUriAsync( + Uri source, + BlobCopyFromUriOptions options, + CancellationToken cancellationToken = default) + { + Response response = await StartCopyFromUriInternal( + source, + options?.Metadata, + options?.AccessTier, + options?.SourceConditions, + options?.DestinationConditions, + options?.RehydratePriority, + options?.IsSealed, + async: true, + cancellationToken) + .ConfigureAwait(false); + return new CopyFromUriOperation( + this, + response.Value.CopyId, + response.GetRawResponse(), + cancellationToken); + } + /// /// The /// operation copies data at from the to this @@ -1353,6 +1480,7 @@ public virtual CopyFromUriOperation StartCopyFromUri( /// A will be thrown if /// a failure occurs. /// + [EditorBrowsable(EditorBrowsableState.Never)] public virtual async Task StartCopyFromUriAsync( Uri source, Metadata metadata = default, @@ -1369,7 +1497,8 @@ public virtual async Task StartCopyFromUriAsync( sourceConditions, destinationConditions, rehydratePriority, - true, // async + sealBlob: default, + async: true, cancellationToken) .ConfigureAwait(false); return new CopyFromUriOperation( @@ -1422,6 +1551,10 @@ public virtual async Task StartCopyFromUriAsync( /// Optional /// Indicates the priority with which to rehydrate an archived blob. /// + /// + /// If the destination blob should be sealed. + /// Only applicable for Append Blobs. + /// /// /// Whether to invoke the operation asynchronously. /// @@ -1444,6 +1577,7 @@ private async Task> StartCopyFromUriInternal( BlobRequestConditions sourceConditions, BlobRequestConditions destinationConditions, RehydratePriority? rehydratePriority, + bool? sealBlob, bool async, CancellationToken cancellationToken) { @@ -1476,6 +1610,7 @@ private async Task> StartCopyFromUriInternal( ifNoneMatch: destinationConditions?.IfNoneMatch, leaseId: destinationConditions?.LeaseId, metadata: metadata, + sealBlob: sealBlob, async: async, operationName: "BlobBaseClient.StartCopyFromUri", cancellationToken: cancellationToken) diff --git a/sdk/storage/Azure.Storage.Blobs/src/Models/BlobCopyFromUriOptions.cs b/sdk/storage/Azure.Storage.Blobs/src/Models/BlobCopyFromUriOptions.cs new file mode 100644 index 000000000000..0415f811d87e --- /dev/null +++ b/sdk/storage/Azure.Storage.Blobs/src/Models/BlobCopyFromUriOptions.cs @@ -0,0 +1,48 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +using Metadata = System.Collections.Generic.IDictionary; + +namespace Azure.Storage.Blobs.Models +{ + /// + /// Optional parameters for Start Copy from URL. + /// + public class BlobCopyFromUriOptions + { + /// + /// Optional custom metadata to set for this append blob. + /// + public Metadata Metadata { get; set; } + + /// + /// Optional + /// Indicates the tier to be set on the blob. + /// + public AccessTier? AccessTier { get; set; } + + /// + /// Optional to add + /// conditions on the copying of data from this source blob. + /// + public BlobRequestConditions SourceConditions { get; set; } + + /// + /// Optional to add conditions on + /// the copying of data to this blob. + /// + public BlobRequestConditions DestinationConditions { get; set; } + + /// + /// Optional + /// Indicates the priority with which to rehydrate an archived blob. + /// + public RehydratePriority? RehydratePriority { get; set; } + + /// + /// If the destination blob should be sealed. + /// Only applicable for Append Blobs. + /// + public bool? IsSealed { get; set; } + } +} diff --git a/sdk/storage/Azure.Storage.Blobs/src/Models/BlobInfo.cs b/sdk/storage/Azure.Storage.Blobs/src/Models/BlobInfo.cs index a42c00dd63e7..01cc5f500e10 100644 --- a/sdk/storage/Azure.Storage.Blobs/src/Models/BlobInfo.cs +++ b/sdk/storage/Azure.Storage.Blobs/src/Models/BlobInfo.cs @@ -215,6 +215,11 @@ public partial class BlobDownloadDetails #pragma warning disable CA1819 // Properties should not return arrays public byte[] BlobContentHash => _flattened.BlobContentHash; #pragma warning restore CA1819 // Properties should not return arrays + + /// + /// If this blob is sealed. + /// + public bool IsSealed => _flattened.IsSealed; } /// diff --git a/sdk/storage/Azure.Storage.Blobs/tests/AppendBlobClientTests.cs b/sdk/storage/Azure.Storage.Blobs/tests/AppendBlobClientTests.cs index e9e46835235b..b0e97c51d604 100644 --- a/sdk/storage/Azure.Storage.Blobs/tests/AppendBlobClientTests.cs +++ b/sdk/storage/Azure.Storage.Blobs/tests/AppendBlobClientTests.cs @@ -929,6 +929,114 @@ await TestHelper.AssertExpectedExceptionAsync( } } + [Test] + [ServiceVersion(Min = BlobClientOptions.ServiceVersion.V2019_12_12)] + public async Task SealAsync() + { + // Arrange + await using DisposingContainer test = await GetTestContainerAsync(); + AppendBlobClient appendBlob = InstrumentClient(test.Container.GetAppendBlobClient(GetNewBlobName())); + await appendBlob.CreateAsync(); + + // Act + await appendBlob.SealAsync(); + Response propertiesResponse = await appendBlob.GetPropertiesAsync(); + Response downloadResponse = await appendBlob.DownloadAsync(); + + // Assert + Assert.IsTrue(propertiesResponse.Value.IsSealed); + Assert.IsTrue(downloadResponse.Value.Details.IsSealed); + } + + [Test] + [ServiceVersion(Min = BlobClientOptions.ServiceVersion.V2019_12_12)] + public async Task SealAsync_Error() + { + // Arrange + await using DisposingContainer test = await GetTestContainerAsync(); + AppendBlobClient appendBlob = InstrumentClient(test.Container.GetAppendBlobClient(GetNewBlobName())); + + // Act + await TestHelper.AssertExpectedExceptionAsync( + appendBlob.SealAsync(), + e => Assert.AreEqual(BlobErrorCode.BlobNotFound.ToString(), e.ErrorCode)); + } + + [Test] + [ServiceVersion(Min = BlobClientOptions.ServiceVersion.V2019_12_12)] + public async Task SealAsync_AccessConditions() + { + var garbageLeaseId = GetGarbageLeaseId(); + AccessConditionParameters[] testCases = new[] + { + new AccessConditionParameters(), + new AccessConditionParameters { IfModifiedSince = OldDate }, + new AccessConditionParameters { IfUnmodifiedSince = NewDate }, + new AccessConditionParameters { Match = ReceivedETag }, + new AccessConditionParameters { NoneMatch = GarbageETag }, + new AccessConditionParameters { LeaseId = ReceivedLeaseId }, + new AccessConditionParameters { AppendPosE = 0 }, + }; + + foreach (AccessConditionParameters parameters in testCases) + { + await using DisposingContainer test = await GetTestContainerAsync(); + + // Arrange + AppendBlobClient blob = InstrumentClient(test.Container.GetAppendBlobClient(GetNewBlobName())); + await blob.CreateAsync(); + parameters.Match = await SetupBlobMatchCondition(blob, parameters.Match); + parameters.LeaseId = await SetupBlobLeaseCondition(blob, parameters.LeaseId, garbageLeaseId); + AppendBlobRequestConditions accessConditions = BuildDestinationAccessConditions( + parameters: parameters, + lease: true, + appendPosAndMaxSize: true); + + // Act + Response response = await blob.SealAsync(accessConditions); + + // Assert + Assert.IsNotNull(response.Value.ETag); + } + } + + [Test] + [ServiceVersion(Min = BlobClientOptions.ServiceVersion.V2019_12_12)] + public async Task SealAsync_AccessConditionsFailed() + { + var garbageLeaseId = GetGarbageLeaseId(); + AccessConditionParameters[] testCases = new[] + { + new AccessConditionParameters { IfModifiedSince = NewDate }, + new AccessConditionParameters { IfUnmodifiedSince = OldDate }, + new AccessConditionParameters { Match = GarbageETag }, + new AccessConditionParameters { NoneMatch = ReceivedETag }, + new AccessConditionParameters { LeaseId = garbageLeaseId }, + new AccessConditionParameters { AppendPosE = 1 }, + }; + + foreach (AccessConditionParameters parameters in testCases) + { + await using DisposingContainer test = await GetTestContainerAsync(); + + // Arrange + AppendBlobClient blob = InstrumentClient(test.Container.GetAppendBlobClient(GetNewBlobName())); + // AppendBlob needs to exists for us to test CreateAsync() with access conditions + await blob.CreateAsync(); + parameters.NoneMatch = await SetupBlobMatchCondition(blob, parameters.NoneMatch); + AppendBlobRequestConditions accessConditions = BuildDestinationAccessConditions( + parameters: parameters, + lease: true, + appendPosAndMaxSize: true); + + // Act + await TestHelper.AssertExpectedExceptionAsync( + blob.SealAsync( + conditions: accessConditions), + e => { }); + } + } + private AppendBlobRequestConditions BuildDestinationAccessConditions( AccessConditionParameters parameters, bool lease = false, diff --git a/sdk/storage/Azure.Storage.Blobs/tests/BlobBaseClientTests.cs b/sdk/storage/Azure.Storage.Blobs/tests/BlobBaseClientTests.cs index febc5c99ac91..9b265c3c050e 100644 --- a/sdk/storage/Azure.Storage.Blobs/tests/BlobBaseClientTests.cs +++ b/sdk/storage/Azure.Storage.Blobs/tests/BlobBaseClientTests.cs @@ -907,6 +907,38 @@ public async Task StartCopyFromUriAsync_AccessTier() } + [Test] + [ServiceVersion(Min = BlobClientOptions.ServiceVersion.V2019_12_12)] + public async Task StartCopyFromUriAsync_Seal() + { + await using DisposingContainer test = await GetTestContainerAsync(); + + // Arrange + AppendBlobClient srcBlob = InstrumentClient(test.Container.GetAppendBlobClient(GetNewBlobName())); + AppendBlobClient destBlob = InstrumentClient(test.Container.GetAppendBlobClient(GetNewBlobName())); + await srcBlob.CreateAsync(); + BlobCopyFromUriOptions options = new BlobCopyFromUriOptions + { + IsSealed = true + }; + + // Act + Operation operation = await destBlob.StartCopyFromUriAsync(srcBlob.Uri, options); + + // Assert + if (Mode == RecordedTestMode.Playback) + { + await operation.WaitForCompletionAsync(TimeSpan.FromMilliseconds(10), CancellationToken.None); + } + else + { + await operation.WaitForCompletionAsync(); + } + + Response response = await destBlob.GetPropertiesAsync(); + Assert.IsTrue(response.Value.IsSealed); + } + [Test] public async Task StartCopyFromUriAsync_Error() { diff --git a/sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/AppendBlobClientTests/SealAsync.json b/sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/AppendBlobClientTests/SealAsync.json new file mode 100644 index 000000000000..5f8715703dd8 --- /dev/null +++ b/sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/AppendBlobClientTests/SealAsync.json @@ -0,0 +1,221 @@ +{ + "Entries": [ + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-e633f3a2-bc40-8488-8ba5-fd11104a5657?restype=container", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-db5bfe9b3c0e3645839878ace703ff58-4c5a109a51924e43-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200412.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-blob-public-access": "container", + "x-ms-client-request-id": "3041b990-e359-f482-bab8-26f526b1ddd4", + "x-ms-date": "Mon, 13 Apr 2020 01:09:30 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Mon, 13 Apr 2020 01:09:28 GMT", + "ETag": "\u00220x8D7DF47516D1C51\u0022", + "Last-Modified": "Mon, 13 Apr 2020 01:09:29 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "3041b990-e359-f482-bab8-26f526b1ddd4", + "x-ms-request-id": "55cd8df3-601e-0086-5130-118119000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-e633f3a2-bc40-8488-8ba5-fd11104a5657/test-blob-92575a92-28cc-0f09-b41e-bb116e8b0bfb", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "Content-Length": "0", + "traceparent": "00-62848df31cc9f84d9e358c729928ea6a-db864126a4ae4d41-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200412.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-blob-type": "AppendBlob", + "x-ms-client-request-id": "1f6a7952-d338-688b-af31-7c3a2771862e", + "x-ms-date": "Mon, 13 Apr 2020 01:09:31 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Mon, 13 Apr 2020 01:09:29 GMT", + "ETag": "\u00220x8D7DF475182567A\u0022", + "Last-Modified": "Mon, 13 Apr 2020 01:09:29 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "1f6a7952-d338-688b-af31-7c3a2771862e", + "x-ms-request-id": "55cd8e02-601e-0086-5c30-118119000000", + "x-ms-request-server-encrypted": "true", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-e633f3a2-bc40-8488-8ba5-fd11104a5657/test-blob-92575a92-28cc-0f09-b41e-bb116e8b0bfb?comp=seal", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-84e5b9b11d2fbf4ab2b543a6f507437f-48d5a40081ed0144-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200412.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-client-request-id": "f4be4130-eb20-6bc3-1a18-a7d8a9c4f114", + "x-ms-date": "Mon, 13 Apr 2020 01:09:31 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Mon, 13 Apr 2020 01:09:29 GMT", + "ETag": "\u00220x8D7DF475191C294\u0022", + "Last-Modified": "Mon, 13 Apr 2020 01:09:30 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-blob-sealed": "true", + "x-ms-client-request-id": "f4be4130-eb20-6bc3-1a18-a7d8a9c4f114", + "x-ms-request-id": "55cd8e20-601e-0086-7230-118119000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-e633f3a2-bc40-8488-8ba5-fd11104a5657/test-blob-92575a92-28cc-0f09-b41e-bb116e8b0bfb", + "RequestMethod": "HEAD", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-7a81c0c24f64ba438848734a91a7f55e-f53cbcdcd2707f4b-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200412.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-client-request-id": "e60a108e-92b2-c20d-674a-6618ddf2c497", + "x-ms-date": "Mon, 13 Apr 2020 01:09:31 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Accept-Ranges": "bytes", + "Content-Length": "0", + "Content-Type": "application/octet-stream", + "Date": "Mon, 13 Apr 2020 01:09:29 GMT", + "ETag": "\u00220x8D7DF475191C294\u0022", + "Last-Modified": "Mon, 13 Apr 2020 01:09:30 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-blob-committed-block-count": "0", + "x-ms-blob-sealed": "true", + "x-ms-blob-type": "AppendBlob", + "x-ms-client-request-id": "e60a108e-92b2-c20d-674a-6618ddf2c497", + "x-ms-creation-time": "Mon, 13 Apr 2020 01:09:29 GMT", + "x-ms-lease-state": "available", + "x-ms-lease-status": "unlocked", + "x-ms-request-id": "55cd8e47-601e-0086-1230-118119000000", + "x-ms-server-encrypted": "true", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-e633f3a2-bc40-8488-8ba5-fd11104a5657/test-blob-92575a92-28cc-0f09-b41e-bb116e8b0bfb", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-3ce6487c3b684640befa70d4e431e642-9a25561fd5d20b4e-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200412.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-client-request-id": "98491280-0bb9-ce61-1c7e-db47072fefbb", + "x-ms-date": "Mon, 13 Apr 2020 01:09:31 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Accept-Ranges": "bytes", + "Content-Length": "0", + "Content-Type": "application/octet-stream", + "Date": "Mon, 13 Apr 2020 01:09:29 GMT", + "ETag": "\u00220x8D7DF475191C294\u0022", + "Last-Modified": "Mon, 13 Apr 2020 01:09:30 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-blob-committed-block-count": "0", + "x-ms-blob-sealed": "true", + "x-ms-blob-type": "AppendBlob", + "x-ms-client-request-id": "98491280-0bb9-ce61-1c7e-db47072fefbb", + "x-ms-creation-time": "Mon, 13 Apr 2020 01:09:29 GMT", + "x-ms-lease-state": "available", + "x-ms-lease-status": "unlocked", + "x-ms-request-id": "55cd8e62-601e-0086-2930-118119000000", + "x-ms-server-encrypted": "true", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-e633f3a2-bc40-8488-8ba5-fd11104a5657?restype=container", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-ae777944a69f5142830de1980c4c465f-593e813f062acf45-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200412.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-client-request-id": "ca98f1a5-2ba9-3fdd-96b7-885b8591b9ca", + "x-ms-date": "Mon, 13 Apr 2020 01:09:31 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Mon, 13 Apr 2020 01:09:29 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "ca98f1a5-2ba9-3fdd-96b7-885b8591b9ca", + "x-ms-request-id": "55cd8e7b-601e-0086-4030-118119000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + } + ], + "Variables": { + "RandomSeed": "935707175", + "Storage_TestConfigDefault": "ProductionTenant\nseanmcccanary\nU2FuaXRpemVk\nhttps://seanmcccanary.blob.core.windows.net\nhttps://seanmcccanary.file.core.windows.net\nhttps://seanmcccanary.queue.core.windows.net\nhttps://seanmcccanary.table.core.windows.net\n\n\n\n\nhttps://seanmcccanary-secondary.blob.core.windows.net\nhttps://seanmcccanary-secondary.file.core.windows.net\nhttps://seanmcccanary-secondary.queue.core.windows.net\nhttps://seanmcccanary-secondary.table.core.windows.net\n\nSanitized\n\n\nCloud\nBlobEndpoint=https://seanmcccanary.blob.core.windows.net/;QueueEndpoint=https://seanmcccanary.queue.core.windows.net/;FileEndpoint=https://seanmcccanary.file.core.windows.net/;BlobSecondaryEndpoint=https://seanmcccanary-secondary.blob.core.windows.net/;QueueSecondaryEndpoint=https://seanmcccanary-secondary.queue.core.windows.net/;FileSecondaryEndpoint=https://seanmcccanary-secondary.file.core.windows.net/;AccountName=seanmcccanary;AccountKey=Sanitized\nseanscope1" + } +} \ No newline at end of file diff --git a/sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/AppendBlobClientTests/SealAsyncAsync.json b/sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/AppendBlobClientTests/SealAsyncAsync.json new file mode 100644 index 000000000000..ee16da722361 --- /dev/null +++ b/sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/AppendBlobClientTests/SealAsyncAsync.json @@ -0,0 +1,221 @@ +{ + "Entries": [ + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-92200ca9-5b2a-3fd2-d22e-f0b60fd566c8?restype=container", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-332835dc4f611e4dbccb6951b39dd021-682b68eb154fb14d-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200412.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-blob-public-access": "container", + "x-ms-client-request-id": "d97570cf-3130-feb0-aadc-a53a5c4af23f", + "x-ms-date": "Mon, 13 Apr 2020 01:09:39 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Mon, 13 Apr 2020 01:09:38 GMT", + "ETag": "\u00220x8D7DF4756AA9576\u0022", + "Last-Modified": "Mon, 13 Apr 2020 01:09:38 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "d97570cf-3130-feb0-aadc-a53a5c4af23f", + "x-ms-request-id": "63767ee3-101e-000a-2330-11e917000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-92200ca9-5b2a-3fd2-d22e-f0b60fd566c8/test-blob-37982082-052b-768c-2689-40db38b9e774", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "Content-Length": "0", + "traceparent": "00-bc1322be7b5d0d44b041c7908d26525f-b8928d70b26cb640-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200412.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-blob-type": "AppendBlob", + "x-ms-client-request-id": "3795e35c-c3c5-c953-e3ff-b2a7f1d5c6f0", + "x-ms-date": "Mon, 13 Apr 2020 01:09:40 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Mon, 13 Apr 2020 01:09:38 GMT", + "ETag": "\u00220x8D7DF4756B89AC7\u0022", + "Last-Modified": "Mon, 13 Apr 2020 01:09:38 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "3795e35c-c3c5-c953-e3ff-b2a7f1d5c6f0", + "x-ms-request-id": "63767eee-101e-000a-2c30-11e917000000", + "x-ms-request-server-encrypted": "true", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-92200ca9-5b2a-3fd2-d22e-f0b60fd566c8/test-blob-37982082-052b-768c-2689-40db38b9e774?comp=seal", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-0b27f96fdff28e47b38db6c0278674ed-d0bc44a93d5fd747-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200412.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-client-request-id": "547e394e-af23-6faf-1d1d-ba5fdaf0eacb", + "x-ms-date": "Mon, 13 Apr 2020 01:09:40 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Mon, 13 Apr 2020 01:09:38 GMT", + "ETag": "\u00220x8D7DF4756C87C28\u0022", + "Last-Modified": "Mon, 13 Apr 2020 01:09:38 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-blob-sealed": "true", + "x-ms-client-request-id": "547e394e-af23-6faf-1d1d-ba5fdaf0eacb", + "x-ms-request-id": "63767ef3-101e-000a-3130-11e917000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-92200ca9-5b2a-3fd2-d22e-f0b60fd566c8/test-blob-37982082-052b-768c-2689-40db38b9e774", + "RequestMethod": "HEAD", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-ce572a14de2acc4395b46e00b5ad3d69-b8981bf8a107a543-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200412.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-client-request-id": "b7583717-7157-45cc-8198-ce4499801b97", + "x-ms-date": "Mon, 13 Apr 2020 01:09:40 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Accept-Ranges": "bytes", + "Content-Length": "0", + "Content-Type": "application/octet-stream", + "Date": "Mon, 13 Apr 2020 01:09:38 GMT", + "ETag": "\u00220x8D7DF4756C87C28\u0022", + "Last-Modified": "Mon, 13 Apr 2020 01:09:38 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-blob-committed-block-count": "0", + "x-ms-blob-sealed": "true", + "x-ms-blob-type": "AppendBlob", + "x-ms-client-request-id": "b7583717-7157-45cc-8198-ce4499801b97", + "x-ms-creation-time": "Mon, 13 Apr 2020 01:09:38 GMT", + "x-ms-lease-state": "available", + "x-ms-lease-status": "unlocked", + "x-ms-request-id": "63767f0f-101e-000a-4a30-11e917000000", + "x-ms-server-encrypted": "true", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-92200ca9-5b2a-3fd2-d22e-f0b60fd566c8/test-blob-37982082-052b-768c-2689-40db38b9e774", + "RequestMethod": "GET", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-0089bbdee45caa45a4d79fd60bcb2535-612ba3a367ce144c-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200412.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-client-request-id": "a3487b5a-3297-dc74-40ae-db0b815f6f82", + "x-ms-date": "Mon, 13 Apr 2020 01:09:40 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Accept-Ranges": "bytes", + "Content-Length": "0", + "Content-Type": "application/octet-stream", + "Date": "Mon, 13 Apr 2020 01:09:38 GMT", + "ETag": "\u00220x8D7DF4756C87C28\u0022", + "Last-Modified": "Mon, 13 Apr 2020 01:09:38 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-blob-committed-block-count": "0", + "x-ms-blob-sealed": "true", + "x-ms-blob-type": "AppendBlob", + "x-ms-client-request-id": "a3487b5a-3297-dc74-40ae-db0b815f6f82", + "x-ms-creation-time": "Mon, 13 Apr 2020 01:09:38 GMT", + "x-ms-lease-state": "available", + "x-ms-lease-status": "unlocked", + "x-ms-request-id": "63767f18-101e-000a-5330-11e917000000", + "x-ms-server-encrypted": "true", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-92200ca9-5b2a-3fd2-d22e-f0b60fd566c8?restype=container", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-f7fd5c1702392c4aa5b5ba8cbe10aebf-64693a2d40b9964d-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200412.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-client-request-id": "1eeaed55-7837-a100-56ec-b803b0cc7d34", + "x-ms-date": "Mon, 13 Apr 2020 01:09:40 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Mon, 13 Apr 2020 01:09:38 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "1eeaed55-7837-a100-56ec-b803b0cc7d34", + "x-ms-request-id": "63767f21-101e-000a-5b30-11e917000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + } + ], + "Variables": { + "RandomSeed": "825934375", + "Storage_TestConfigDefault": "ProductionTenant\nseanmcccanary\nU2FuaXRpemVk\nhttps://seanmcccanary.blob.core.windows.net\nhttps://seanmcccanary.file.core.windows.net\nhttps://seanmcccanary.queue.core.windows.net\nhttps://seanmcccanary.table.core.windows.net\n\n\n\n\nhttps://seanmcccanary-secondary.blob.core.windows.net\nhttps://seanmcccanary-secondary.file.core.windows.net\nhttps://seanmcccanary-secondary.queue.core.windows.net\nhttps://seanmcccanary-secondary.table.core.windows.net\n\nSanitized\n\n\nCloud\nBlobEndpoint=https://seanmcccanary.blob.core.windows.net/;QueueEndpoint=https://seanmcccanary.queue.core.windows.net/;FileEndpoint=https://seanmcccanary.file.core.windows.net/;BlobSecondaryEndpoint=https://seanmcccanary-secondary.blob.core.windows.net/;QueueSecondaryEndpoint=https://seanmcccanary-secondary.queue.core.windows.net/;FileSecondaryEndpoint=https://seanmcccanary-secondary.file.core.windows.net/;AccountName=seanmcccanary;AccountKey=Sanitized\nseanscope1" + } +} \ No newline at end of file diff --git a/sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/AppendBlobClientTests/SealAsync_AccessConditions.json b/sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/AppendBlobClientTests/SealAsync_AccessConditions.json new file mode 100644 index 000000000000..9dee935ae919 --- /dev/null +++ b/sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/AppendBlobClientTests/SealAsync_AccessConditions.json @@ -0,0 +1,1008 @@ +{ + "Entries": [ + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-fb4306e4-8031-5b72-3793-1703ad0fcdf3?restype=container", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-a31e84e69308c74299d9383f016b96ce-a0bf2c444b606043-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200413.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-blob-public-access": "container", + "x-ms-client-request-id": "7fba6f14-509c-0024-ee7f-f79c343e04f1", + "x-ms-date": "Mon, 13 Apr 2020 20:24:17 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Mon, 13 Apr 2020 20:24:17 GMT", + "ETag": "\u00220x8D7DFE8A459220A\u0022", + "Last-Modified": "Mon, 13 Apr 2020 20:24:17 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "7fba6f14-509c-0024-ee7f-f79c343e04f1", + "x-ms-request-id": "8ed8b7ac-501e-0046-7fd1-117927000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-fb4306e4-8031-5b72-3793-1703ad0fcdf3/test-blob-5da3a677-31b3-a9d2-cfa3-8bc7cb6de4ee", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "Content-Length": "0", + "traceparent": "00-853c4ffe451be04989567c456d6c636e-55200f16294d0643-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200413.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-blob-type": "AppendBlob", + "x-ms-client-request-id": "d08cc265-faa4-e2a9-9c10-aff8c55d3480", + "x-ms-date": "Mon, 13 Apr 2020 20:24:18 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Mon, 13 Apr 2020 20:24:17 GMT", + "ETag": "\u00220x8D7DFE8A46E8032\u0022", + "Last-Modified": "Mon, 13 Apr 2020 20:24:18 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "d08cc265-faa4-e2a9-9c10-aff8c55d3480", + "x-ms-request-id": "8ed8b7bc-501e-0046-09d1-117927000000", + "x-ms-request-server-encrypted": "true", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-fb4306e4-8031-5b72-3793-1703ad0fcdf3/test-blob-5da3a677-31b3-a9d2-cfa3-8bc7cb6de4ee?comp=seal", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-90a07add0a2c6e46827e4a2c9dc2d628-51785c133b13cf44-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200413.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-client-request-id": "08625a38-13e0-414a-110d-a1449f5ee919", + "x-ms-date": "Mon, 13 Apr 2020 20:24:18 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Mon, 13 Apr 2020 20:24:17 GMT", + "ETag": "\u00220x8D7DFE8A47C3E57\u0022", + "Last-Modified": "Mon, 13 Apr 2020 20:24:18 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-blob-sealed": "true", + "x-ms-client-request-id": "08625a38-13e0-414a-110d-a1449f5ee919", + "x-ms-request-id": "8ed8b7cf-501e-0046-17d1-117927000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-fb4306e4-8031-5b72-3793-1703ad0fcdf3?restype=container", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-6c525dfcf8e1c944a84c98c5e73dc03c-bead010420492649-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200413.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-client-request-id": "6abf7aa9-2cfa-879f-bf1f-6841245889f1", + "x-ms-date": "Mon, 13 Apr 2020 20:24:18 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Mon, 13 Apr 2020 20:24:18 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "6abf7aa9-2cfa-879f-bf1f-6841245889f1", + "x-ms-request-id": "8ed8b7d7-501e-0046-1ed1-117927000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-38cecc0c-2e2b-47fa-78c3-e27c929b2c0e?restype=container", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-92af6051b5fd6e46bae0209f55da8d8c-b1dc537703fedd47-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200413.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-blob-public-access": "container", + "x-ms-client-request-id": "48a28fda-b435-7bbf-8078-f2364a23f523", + "x-ms-date": "Mon, 13 Apr 2020 20:24:18 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Mon, 13 Apr 2020 20:24:17 GMT", + "ETag": "\u00220x8D7DFE8A4BEDB5E\u0022", + "Last-Modified": "Mon, 13 Apr 2020 20:24:18 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "48a28fda-b435-7bbf-8078-f2364a23f523", + "x-ms-request-id": "e2776a87-001e-0029-7fd1-1173d4000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-38cecc0c-2e2b-47fa-78c3-e27c929b2c0e/test-blob-6e2259f2-65bd-8d53-ad22-1c2db3dfbdd7", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "Content-Length": "0", + "traceparent": "00-fcc63acbc3bc6f45ae36579877bb496a-080b85db6de0ee4d-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200413.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-blob-type": "AppendBlob", + "x-ms-client-request-id": "2f285608-0b7e-7410-3c14-9a129792c7a0", + "x-ms-date": "Mon, 13 Apr 2020 20:24:19 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Mon, 13 Apr 2020 20:24:17 GMT", + "ETag": "\u00220x8D7DFE8A4CC68BB\u0022", + "Last-Modified": "Mon, 13 Apr 2020 20:24:18 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "2f285608-0b7e-7410-3c14-9a129792c7a0", + "x-ms-request-id": "e2776a97-001e-0029-08d1-1173d4000000", + "x-ms-request-server-encrypted": "true", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-38cecc0c-2e2b-47fa-78c3-e27c929b2c0e/test-blob-6e2259f2-65bd-8d53-ad22-1c2db3dfbdd7?comp=seal", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "If-Modified-Since": "Sun, 12 Apr 2020 20:24:17 GMT", + "traceparent": "00-6585615b66486a40ad51953b60929e9c-02056ab741ca5c4d-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200413.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-client-request-id": "5d2423c0-8eb7-3d59-032e-c6e349c6d264", + "x-ms-date": "Mon, 13 Apr 2020 20:24:19 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Mon, 13 Apr 2020 20:24:17 GMT", + "ETag": "\u00220x8D7DFE8A4DB387D\u0022", + "Last-Modified": "Mon, 13 Apr 2020 20:24:18 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-blob-sealed": "true", + "x-ms-client-request-id": "5d2423c0-8eb7-3d59-032e-c6e349c6d264", + "x-ms-request-id": "e2776a9d-001e-0029-0cd1-1173d4000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-38cecc0c-2e2b-47fa-78c3-e27c929b2c0e?restype=container", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-644e56262c4d344198944e466039975f-338c7cf29b2b1748-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200413.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-client-request-id": "7452d612-696d-2ce9-c2af-32522c47c4b9", + "x-ms-date": "Mon, 13 Apr 2020 20:24:19 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Mon, 13 Apr 2020 20:24:18 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "7452d612-696d-2ce9-c2af-32522c47c4b9", + "x-ms-request-id": "e2776aa4-001e-0029-13d1-1173d4000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-be4312e5-91c2-95c9-aa0e-329dde93a98f?restype=container", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-e1902b3768d337479ebd1d51529624dd-a32d0a6340a5764f-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200413.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-blob-public-access": "container", + "x-ms-client-request-id": "81e0f555-f430-814c-0cbc-c95e374c4d2f", + "x-ms-date": "Mon, 13 Apr 2020 20:24:19 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Mon, 13 Apr 2020 20:24:18 GMT", + "ETag": "\u00220x8D7DFE8A5193B4B\u0022", + "Last-Modified": "Mon, 13 Apr 2020 20:24:19 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "81e0f555-f430-814c-0cbc-c95e374c4d2f", + "x-ms-request-id": "3f10a781-701e-000c-58d1-11daa8000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-be4312e5-91c2-95c9-aa0e-329dde93a98f/test-blob-75d7a305-5076-8745-1b54-a584e27d9c84", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "Content-Length": "0", + "traceparent": "00-b472cd7e26bff34b9762d72e6b612585-24d83b57ab81ce4c-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200413.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-blob-type": "AppendBlob", + "x-ms-client-request-id": "54467ff0-744f-056d-b059-65dc4fc79e8e", + "x-ms-date": "Mon, 13 Apr 2020 20:24:19 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Mon, 13 Apr 2020 20:24:18 GMT", + "ETag": "\u00220x8D7DFE8A52631EF\u0022", + "Last-Modified": "Mon, 13 Apr 2020 20:24:19 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "54467ff0-744f-056d-b059-65dc4fc79e8e", + "x-ms-request-id": "3f10a78f-701e-000c-5ed1-11daa8000000", + "x-ms-request-server-encrypted": "true", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-be4312e5-91c2-95c9-aa0e-329dde93a98f/test-blob-75d7a305-5076-8745-1b54-a584e27d9c84?comp=seal", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "If-Unmodified-Since": "Tue, 14 Apr 2020 20:24:17 GMT", + "traceparent": "00-5cce26a5ec03cb4286742af335906374-75d9b48d8aa18c46-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200413.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-client-request-id": "6394d89c-4737-b134-e042-3859c18237a3", + "x-ms-date": "Mon, 13 Apr 2020 20:24:19 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Mon, 13 Apr 2020 20:24:18 GMT", + "ETag": "\u00220x8D7DFE8A5326929\u0022", + "Last-Modified": "Mon, 13 Apr 2020 20:24:19 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-blob-sealed": "true", + "x-ms-client-request-id": "6394d89c-4737-b134-e042-3859c18237a3", + "x-ms-request-id": "3f10a793-701e-000c-61d1-11daa8000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-be4312e5-91c2-95c9-aa0e-329dde93a98f?restype=container", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-ba34c5e6d8f12b4daaa40ea75b3e8da3-4068df70db7e8448-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200413.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-client-request-id": "763fe266-3b32-d857-1088-09c22b221cc2", + "x-ms-date": "Mon, 13 Apr 2020 20:24:19 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Mon, 13 Apr 2020 20:24:18 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "763fe266-3b32-d857-1088-09c22b221cc2", + "x-ms-request-id": "3f10a7a1-701e-000c-6ad1-11daa8000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-10766719-a1f6-cd23-0f09-60ce37354799?restype=container", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-e05d773fdd0f124187737d898702ba27-12e6f256d8fd6044-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200413.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-blob-public-access": "container", + "x-ms-client-request-id": "02e54d4c-0bd0-c42c-bf72-6729da88a0da", + "x-ms-date": "Mon, 13 Apr 2020 20:24:19 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Mon, 13 Apr 2020 20:24:19 GMT", + "ETag": "\u00220x8D7DFE8A571663F\u0022", + "Last-Modified": "Mon, 13 Apr 2020 20:24:19 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "02e54d4c-0bd0-c42c-bf72-6729da88a0da", + "x-ms-request-id": "8de795ad-d01e-0067-2bd1-115d5c000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-10766719-a1f6-cd23-0f09-60ce37354799/test-blob-159c6f40-3d30-587f-f601-8f37614c070a", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "Content-Length": "0", + "traceparent": "00-29164b1ae73a9f4c8759e32a611842d9-df96108789e7ed42-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200413.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-blob-type": "AppendBlob", + "x-ms-client-request-id": "5696651e-4968-0eaf-ce8c-0ccf7cf56372", + "x-ms-date": "Mon, 13 Apr 2020 20:24:20 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Mon, 13 Apr 2020 20:24:19 GMT", + "ETag": "\u00220x8D7DFE8A57EC274\u0022", + "Last-Modified": "Mon, 13 Apr 2020 20:24:19 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "5696651e-4968-0eaf-ce8c-0ccf7cf56372", + "x-ms-request-id": "8de795b7-d01e-0067-32d1-115d5c000000", + "x-ms-request-server-encrypted": "true", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-10766719-a1f6-cd23-0f09-60ce37354799/test-blob-159c6f40-3d30-587f-f601-8f37614c070a", + "RequestMethod": "HEAD", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-6278e1ede7104242bbb7da292d8af935-1a159edcbbd52240-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200413.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-client-request-id": "fc199766-b1b6-5fa1-d174-1cc339f89df4", + "x-ms-date": "Mon, 13 Apr 2020 20:24:20 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Accept-Ranges": "bytes", + "Content-Length": "0", + "Content-Type": "application/octet-stream", + "Date": "Mon, 13 Apr 2020 20:24:20 GMT", + "ETag": "\u00220x8D7DFE8A57EC274\u0022", + "Last-Modified": "Mon, 13 Apr 2020 20:24:19 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-blob-committed-block-count": "0", + "x-ms-blob-type": "AppendBlob", + "x-ms-client-request-id": "fc199766-b1b6-5fa1-d174-1cc339f89df4", + "x-ms-creation-time": "Mon, 13 Apr 2020 20:24:19 GMT", + "x-ms-lease-state": "available", + "x-ms-lease-status": "unlocked", + "x-ms-request-id": "8de795c6-d01e-0067-3cd1-115d5c000000", + "x-ms-server-encrypted": "true", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-10766719-a1f6-cd23-0f09-60ce37354799/test-blob-159c6f40-3d30-587f-f601-8f37614c070a?comp=seal", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "If-Match": "\u00220x8D7DFE8A57EC274\u0022", + "traceparent": "00-fab8b5ce19922048b1f0d5ab08b96703-f4b5d46b5f3a984c-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200413.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-client-request-id": "e4695e8d-67db-b9bc-bb1f-879199c6c2af", + "x-ms-date": "Mon, 13 Apr 2020 20:24:20 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Mon, 13 Apr 2020 20:24:20 GMT", + "ETag": "\u00220x8D7DFE8A5DD2069\u0022", + "Last-Modified": "Mon, 13 Apr 2020 20:24:20 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-blob-sealed": "true", + "x-ms-client-request-id": "e4695e8d-67db-b9bc-bb1f-879199c6c2af", + "x-ms-request-id": "8de7961c-d01e-0067-07d1-115d5c000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-10766719-a1f6-cd23-0f09-60ce37354799?restype=container", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-f82885ea7d9cab4fbdedebaafea377da-7bbf566644c28440-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200413.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-client-request-id": "da36fd83-b98e-6318-f0ab-41a8ba60cd14", + "x-ms-date": "Mon, 13 Apr 2020 20:24:20 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Mon, 13 Apr 2020 20:24:20 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "da36fd83-b98e-6318-f0ab-41a8ba60cd14", + "x-ms-request-id": "8de79625-d01e-0067-0fd1-115d5c000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-e500ffd8-7f75-8ad5-7845-402946a0b600?restype=container", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-e476d5237ae02643bdfac8f325c7ad4c-6489121741d19e4d-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200413.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-blob-public-access": "container", + "x-ms-client-request-id": "03430be3-5cba-03af-28ab-624979ee1c50", + "x-ms-date": "Mon, 13 Apr 2020 20:24:20 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Mon, 13 Apr 2020 20:24:19 GMT", + "ETag": "\u00220x8D7DFE8A61D656F\u0022", + "Last-Modified": "Mon, 13 Apr 2020 20:24:20 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "03430be3-5cba-03af-28ab-624979ee1c50", + "x-ms-request-id": "38e08cb6-b01e-005e-67d1-11a640000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-e500ffd8-7f75-8ad5-7845-402946a0b600/test-blob-57ca40f4-3152-f084-ded5-c6a1ff36c83b", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "Content-Length": "0", + "traceparent": "00-83a66505be61164da7c4dc3a045a5eef-b291fe51fd0c274e-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200413.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-blob-type": "AppendBlob", + "x-ms-client-request-id": "80aa2fb7-1272-b2f1-8752-24e5960d03f1", + "x-ms-date": "Mon, 13 Apr 2020 20:24:21 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Mon, 13 Apr 2020 20:24:20 GMT", + "ETag": "\u00220x8D7DFE8A62B9CEA\u0022", + "Last-Modified": "Mon, 13 Apr 2020 20:24:20 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "80aa2fb7-1272-b2f1-8752-24e5960d03f1", + "x-ms-request-id": "38e08cc7-b01e-005e-74d1-11a640000000", + "x-ms-request-server-encrypted": "true", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-e500ffd8-7f75-8ad5-7845-402946a0b600/test-blob-57ca40f4-3152-f084-ded5-c6a1ff36c83b?comp=seal", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "If-None-Match": "\u0022garbage\u0022", + "traceparent": "00-ac318276f88796418eff7f05bd2e2fc1-d7f9d87a326f7c4c-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200413.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-client-request-id": "cfe99522-478b-c9c9-0a93-b40a8e60eba6", + "x-ms-date": "Mon, 13 Apr 2020 20:24:21 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Mon, 13 Apr 2020 20:24:20 GMT", + "ETag": "\u00220x8D7DFE8A63F76B0\u0022", + "Last-Modified": "Mon, 13 Apr 2020 20:24:21 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-blob-sealed": "true", + "x-ms-client-request-id": "cfe99522-478b-c9c9-0a93-b40a8e60eba6", + "x-ms-request-id": "38e08cda-b01e-005e-05d1-11a640000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-e500ffd8-7f75-8ad5-7845-402946a0b600?restype=container", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-d058dc51b594d24c8fc936e2a8da9274-96522736e1a1e849-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200413.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-client-request-id": "00c31de7-3323-9a66-5da3-72142de8b29a", + "x-ms-date": "Mon, 13 Apr 2020 20:24:21 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Mon, 13 Apr 2020 20:24:20 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "00c31de7-3323-9a66-5da3-72142de8b29a", + "x-ms-request-id": "38e08cef-b01e-005e-16d1-11a640000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-3940fd5e-0c9c-ec9e-0d14-9322c2a05b60?restype=container", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-98590532b0f93e4e8a5a1e336b9f120a-71f58447d1ade047-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200413.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-blob-public-access": "container", + "x-ms-client-request-id": "70caebb7-bb6a-da4b-7ed6-f30fa044d8bd", + "x-ms-date": "Mon, 13 Apr 2020 20:24:21 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Mon, 13 Apr 2020 20:24:21 GMT", + "ETag": "\u00220x8D7DFE8A6812839\u0022", + "Last-Modified": "Mon, 13 Apr 2020 20:24:21 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "70caebb7-bb6a-da4b-7ed6-f30fa044d8bd", + "x-ms-request-id": "f0aa1b53-101e-001a-08d1-112c7f000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-3940fd5e-0c9c-ec9e-0d14-9322c2a05b60/test-blob-61761248-41c5-73fc-7b6c-1d340ad8299a", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "Content-Length": "0", + "traceparent": "00-40f653e1f2c4ef41983445e9ba83e208-eea14318fc958241-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200413.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-blob-type": "AppendBlob", + "x-ms-client-request-id": "b07d448f-47fc-758e-ee56-f4fd9e16d0a6", + "x-ms-date": "Mon, 13 Apr 2020 20:24:21 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Mon, 13 Apr 2020 20:24:21 GMT", + "ETag": "\u00220x8D7DFE8A68DF315\u0022", + "Last-Modified": "Mon, 13 Apr 2020 20:24:21 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "b07d448f-47fc-758e-ee56-f4fd9e16d0a6", + "x-ms-request-id": "f0aa1b5e-101e-001a-11d1-112c7f000000", + "x-ms-request-server-encrypted": "true", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-3940fd5e-0c9c-ec9e-0d14-9322c2a05b60/test-blob-61761248-41c5-73fc-7b6c-1d340ad8299a?comp=lease", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-8c0c0c87d29a2543a288a22352181001-a6e4fd4640d0bd49-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200413.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-client-request-id": "9e194c78-d1ce-8dff-5c20-9367671226b8", + "x-ms-date": "Mon, 13 Apr 2020 20:24:22 GMT", + "x-ms-lease-action": "acquire", + "x-ms-lease-duration": "-1", + "x-ms-proposed-lease-id": "61a459ad-01d9-5ce7-1c94-df7c4e357c09", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Mon, 13 Apr 2020 20:24:21 GMT", + "ETag": "\u00220x8D7DFE8A68DF315\u0022", + "Last-Modified": "Mon, 13 Apr 2020 20:24:21 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "9e194c78-d1ce-8dff-5c20-9367671226b8", + "x-ms-lease-id": "61a459ad-01d9-5ce7-1c94-df7c4e357c09", + "x-ms-request-id": "f0aa1b6c-101e-001a-1dd1-112c7f000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-3940fd5e-0c9c-ec9e-0d14-9322c2a05b60/test-blob-61761248-41c5-73fc-7b6c-1d340ad8299a?comp=seal", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-b21f04cc38204242aa7bb82b020b6faa-c08a564af271864d-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200413.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-client-request-id": "02037450-de1c-683b-4517-693ae535bc9e", + "x-ms-date": "Mon, 13 Apr 2020 20:24:22 GMT", + "x-ms-lease-id": "61a459ad-01d9-5ce7-1c94-df7c4e357c09", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Mon, 13 Apr 2020 20:24:21 GMT", + "ETag": "\u00220x8D7DFE8A6B22378\u0022", + "Last-Modified": "Mon, 13 Apr 2020 20:24:21 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-blob-sealed": "true", + "x-ms-client-request-id": "02037450-de1c-683b-4517-693ae535bc9e", + "x-ms-request-id": "f0aa1b77-101e-001a-27d1-112c7f000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-3940fd5e-0c9c-ec9e-0d14-9322c2a05b60?restype=container", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-b1b137a86622ff40970d2319901c04c7-71b8f5da231d3a44-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200413.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-client-request-id": "f2176fba-240e-fb9c-b05b-1459a0104f86", + "x-ms-date": "Mon, 13 Apr 2020 20:24:22 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Mon, 13 Apr 2020 20:24:21 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "f2176fba-240e-fb9c-b05b-1459a0104f86", + "x-ms-request-id": "f0aa1b81-101e-001a-2fd1-112c7f000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-ea1512c2-5ac5-66ef-7b95-0136fbec4729?restype=container", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-df5d2792d90f2d428fbd342dae4528a7-96d92498c279744f-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200413.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-blob-public-access": "container", + "x-ms-client-request-id": "0e8b5c96-8906-5f2e-7fb0-7779226600c3", + "x-ms-date": "Mon, 13 Apr 2020 20:24:22 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Mon, 13 Apr 2020 20:24:21 GMT", + "ETag": "\u00220x8D7DFE8A6F3DC20\u0022", + "Last-Modified": "Mon, 13 Apr 2020 20:24:22 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "0e8b5c96-8906-5f2e-7fb0-7779226600c3", + "x-ms-request-id": "4d659510-a01e-0089-26d1-11f775000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-ea1512c2-5ac5-66ef-7b95-0136fbec4729/test-blob-2ab5ea13-d990-f867-826a-571cff1591da", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "Content-Length": "0", + "traceparent": "00-21ec3b1bded8b149b9e8e66b9b228de3-629f97a72c3dbc4e-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200413.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-blob-type": "AppendBlob", + "x-ms-client-request-id": "eac697a8-a4eb-bd60-f492-8b9b3111606a", + "x-ms-date": "Mon, 13 Apr 2020 20:24:22 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Mon, 13 Apr 2020 20:24:21 GMT", + "ETag": "\u00220x8D7DFE8A7016381\u0022", + "Last-Modified": "Mon, 13 Apr 2020 20:24:22 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "eac697a8-a4eb-bd60-f492-8b9b3111606a", + "x-ms-request-id": "4d65951e-a01e-0089-30d1-11f775000000", + "x-ms-request-server-encrypted": "true", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-ea1512c2-5ac5-66ef-7b95-0136fbec4729/test-blob-2ab5ea13-d990-f867-826a-571cff1591da?comp=seal", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-9243136f3590dc4887fe5e7f5fbb57e4-013ffada69a1944a-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200413.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-blob-condition-appendpos": "0", + "x-ms-client-request-id": "67742ae2-a64f-22ef-b1e2-aaceac87e935", + "x-ms-date": "Mon, 13 Apr 2020 20:24:22 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Mon, 13 Apr 2020 20:24:21 GMT", + "ETag": "\u00220x8D7DFE8A70E5E26\u0022", + "Last-Modified": "Mon, 13 Apr 2020 20:24:22 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-blob-sealed": "true", + "x-ms-client-request-id": "67742ae2-a64f-22ef-b1e2-aaceac87e935", + "x-ms-request-id": "4d659533-a01e-0089-41d1-11f775000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-ea1512c2-5ac5-66ef-7b95-0136fbec4729?restype=container", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-03f385ff8270674f80284924a316b222-0af34973543bd543-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200413.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-client-request-id": "07b81fec-f89d-781a-ac91-5ee3b6942e40", + "x-ms-date": "Mon, 13 Apr 2020 20:24:22 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Mon, 13 Apr 2020 20:24:21 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "07b81fec-f89d-781a-ac91-5ee3b6942e40", + "x-ms-request-id": "4d659545-a01e-0089-52d1-11f775000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + } + ], + "Variables": { + "DateTimeOffsetNow": "2020-04-13T13:24:17.7171587-07:00", + "RandomSeed": "1501273103", + "Storage_TestConfigDefault": "ProductionTenant\nseanmcccanary\nU2FuaXRpemVk\nhttps://seanmcccanary.blob.core.windows.net\nhttps://seanmcccanary.file.core.windows.net\nhttps://seanmcccanary.queue.core.windows.net\nhttps://seanmcccanary.table.core.windows.net\n\n\n\n\nhttps://seanmcccanary-secondary.blob.core.windows.net\nhttps://seanmcccanary-secondary.file.core.windows.net\nhttps://seanmcccanary-secondary.queue.core.windows.net\nhttps://seanmcccanary-secondary.table.core.windows.net\n\nSanitized\n\n\nCloud\nBlobEndpoint=https://seanmcccanary.blob.core.windows.net/;QueueEndpoint=https://seanmcccanary.queue.core.windows.net/;FileEndpoint=https://seanmcccanary.file.core.windows.net/;BlobSecondaryEndpoint=https://seanmcccanary-secondary.blob.core.windows.net/;QueueSecondaryEndpoint=https://seanmcccanary-secondary.queue.core.windows.net/;FileSecondaryEndpoint=https://seanmcccanary-secondary.file.core.windows.net/;AccountName=seanmcccanary;AccountKey=Sanitized\nseanscope1" + } +} \ No newline at end of file diff --git a/sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/AppendBlobClientTests/SealAsync_AccessConditionsAsync.json b/sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/AppendBlobClientTests/SealAsync_AccessConditionsAsync.json new file mode 100644 index 000000000000..133be5502dea --- /dev/null +++ b/sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/AppendBlobClientTests/SealAsync_AccessConditionsAsync.json @@ -0,0 +1,1008 @@ +{ + "Entries": [ + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-fca2d62c-5b19-e816-7c86-0123a7d560c7?restype=container", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-6eadd903d41c0a4aaa97b4eaa21b80ff-ef29431d519def49-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200413.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-blob-public-access": "container", + "x-ms-client-request-id": "fc0fff78-7776-8112-5fcb-3cb83f296cd1", + "x-ms-date": "Mon, 13 Apr 2020 20:24:26 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Mon, 13 Apr 2020 20:24:26 GMT", + "ETag": "\u00220x8D7DFE8A990EB77\u0022", + "Last-Modified": "Mon, 13 Apr 2020 20:24:26 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "fc0fff78-7776-8112-5fcb-3cb83f296cd1", + "x-ms-request-id": "f1dfb72a-501e-009d-5ad1-11bf1a000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-fca2d62c-5b19-e816-7c86-0123a7d560c7/test-blob-298a3d66-6a94-d28a-c5f0-a6246ee245c4", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "Content-Length": "0", + "traceparent": "00-cb45b21dfd11ea47954320759957152e-c4974310fa498a4e-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200413.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-blob-type": "AppendBlob", + "x-ms-client-request-id": "66cd1b88-072e-0eca-753c-3785d0ee137d", + "x-ms-date": "Mon, 13 Apr 2020 20:24:27 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Mon, 13 Apr 2020 20:24:26 GMT", + "ETag": "\u00220x8D7DFE8A99F6C8B\u0022", + "Last-Modified": "Mon, 13 Apr 2020 20:24:26 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "66cd1b88-072e-0eca-753c-3785d0ee137d", + "x-ms-request-id": "f1dfb749-501e-009d-74d1-11bf1a000000", + "x-ms-request-server-encrypted": "true", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-fca2d62c-5b19-e816-7c86-0123a7d560c7/test-blob-298a3d66-6a94-d28a-c5f0-a6246ee245c4?comp=seal", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-14223b07aa97f34bb7d09b0e2f354779-0f40517037e8c54f-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200413.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-client-request-id": "529c7a7d-df14-4c96-d89c-32882ccbb174", + "x-ms-date": "Mon, 13 Apr 2020 20:24:27 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Mon, 13 Apr 2020 20:24:26 GMT", + "ETag": "\u00220x8D7DFE8A9B01166\u0022", + "Last-Modified": "Mon, 13 Apr 2020 20:24:26 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-blob-sealed": "true", + "x-ms-client-request-id": "529c7a7d-df14-4c96-d89c-32882ccbb174", + "x-ms-request-id": "f1dfb75c-501e-009d-07d1-11bf1a000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-fca2d62c-5b19-e816-7c86-0123a7d560c7?restype=container", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-228d9ef6426bac408ba911844c7a0ca3-471d591457329d4a-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200413.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-client-request-id": "5607ca86-c052-a669-e117-c4e19283d621", + "x-ms-date": "Mon, 13 Apr 2020 20:24:27 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Mon, 13 Apr 2020 20:24:26 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "5607ca86-c052-a669-e117-c4e19283d621", + "x-ms-request-id": "f1dfb767-501e-009d-12d1-11bf1a000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-36f95257-12d4-a778-ccd7-434a65700bcb?restype=container", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-9e6575ad9787084c9edf4a95f1fa421c-ac0ea220fb5fe146-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200413.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-blob-public-access": "container", + "x-ms-client-request-id": "edce58f3-c613-73b4-5160-897a7c1f4070", + "x-ms-date": "Mon, 13 Apr 2020 20:24:27 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Mon, 13 Apr 2020 20:24:26 GMT", + "ETag": "\u00220x8D7DFE8A9F5C06A\u0022", + "Last-Modified": "Mon, 13 Apr 2020 20:24:27 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "edce58f3-c613-73b4-5160-897a7c1f4070", + "x-ms-request-id": "daa42187-901e-0059-3cd1-11ca23000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-36f95257-12d4-a778-ccd7-434a65700bcb/test-blob-e941f90b-7481-fc5d-30f5-c4634f9a96ff", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "Content-Length": "0", + "traceparent": "00-ff884509bc270545b5023790070dcc12-88c34fe8f98e6f49-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200413.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-blob-type": "AppendBlob", + "x-ms-client-request-id": "17d25130-488b-7f09-fad2-bd1d015123b6", + "x-ms-date": "Mon, 13 Apr 2020 20:24:27 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Mon, 13 Apr 2020 20:24:27 GMT", + "ETag": "\u00220x8D7DFE8AA0370BD\u0022", + "Last-Modified": "Mon, 13 Apr 2020 20:24:27 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "17d25130-488b-7f09-fad2-bd1d015123b6", + "x-ms-request-id": "daa42190-901e-0059-42d1-11ca23000000", + "x-ms-request-server-encrypted": "true", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-36f95257-12d4-a778-ccd7-434a65700bcb/test-blob-e941f90b-7481-fc5d-30f5-c4634f9a96ff?comp=seal", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "If-Modified-Since": "Sun, 12 Apr 2020 20:24:26 GMT", + "traceparent": "00-3f2214d71d0e454ea4a8ef42763e251c-b085a49d383df349-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200413.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-client-request-id": "fe32726f-7ec8-5d74-aed7-11cf609ad8a3", + "x-ms-date": "Mon, 13 Apr 2020 20:24:27 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Mon, 13 Apr 2020 20:24:27 GMT", + "ETag": "\u00220x8D7DFE8AA109281\u0022", + "Last-Modified": "Mon, 13 Apr 2020 20:24:27 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-blob-sealed": "true", + "x-ms-client-request-id": "fe32726f-7ec8-5d74-aed7-11cf609ad8a3", + "x-ms-request-id": "daa4219e-901e-0059-4fd1-11ca23000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-36f95257-12d4-a778-ccd7-434a65700bcb?restype=container", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-cf0721c16c39694ca86f3b4eaa050293-a74b7ccbb156b548-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200413.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-client-request-id": "8eae34a7-251e-4bee-1676-16f122fe8ca7", + "x-ms-date": "Mon, 13 Apr 2020 20:24:27 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Mon, 13 Apr 2020 20:24:27 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "8eae34a7-251e-4bee-1676-16f122fe8ca7", + "x-ms-request-id": "daa421a8-901e-0059-58d1-11ca23000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-0988508f-e361-adb4-e936-7be3a8500997?restype=container", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-dd1583dff1475c40bf716d706775f59f-78329d69e163ed43-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200413.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-blob-public-access": "container", + "x-ms-client-request-id": "03932e58-128e-c39e-8000-a4e8aa0aa2c5", + "x-ms-date": "Mon, 13 Apr 2020 20:24:28 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Mon, 13 Apr 2020 20:24:27 GMT", + "ETag": "\u00220x8D7DFE8AA52C005\u0022", + "Last-Modified": "Mon, 13 Apr 2020 20:24:27 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "03932e58-128e-c39e-8000-a4e8aa0aa2c5", + "x-ms-request-id": "b14c0476-001e-0064-0ad1-11bc38000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-0988508f-e361-adb4-e936-7be3a8500997/test-blob-10367f6c-60d6-46bb-cb43-9d13b3560152", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "Content-Length": "0", + "traceparent": "00-5b7eee924e96dd4ab7e5388ad094f599-0c5db2d84ea4e244-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200413.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-blob-type": "AppendBlob", + "x-ms-client-request-id": "2cf16aab-c960-f8ad-734d-374b758a102a", + "x-ms-date": "Mon, 13 Apr 2020 20:24:28 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Mon, 13 Apr 2020 20:24:27 GMT", + "ETag": "\u00220x8D7DFE8AA5FF97A\u0022", + "Last-Modified": "Mon, 13 Apr 2020 20:24:28 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "2cf16aab-c960-f8ad-734d-374b758a102a", + "x-ms-request-id": "b14c0486-001e-0064-17d1-11bc38000000", + "x-ms-request-server-encrypted": "true", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-0988508f-e361-adb4-e936-7be3a8500997/test-blob-10367f6c-60d6-46bb-cb43-9d13b3560152?comp=seal", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "If-Unmodified-Since": "Tue, 14 Apr 2020 20:24:26 GMT", + "traceparent": "00-a67fa9ac8f3f134e983def3148616df6-86b3ae45a0514b46-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200413.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-client-request-id": "48683ca8-d565-92f2-4992-066fcfbc33e8", + "x-ms-date": "Mon, 13 Apr 2020 20:24:28 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Mon, 13 Apr 2020 20:24:27 GMT", + "ETag": "\u00220x8D7DFE8AA6CF42C\u0022", + "Last-Modified": "Mon, 13 Apr 2020 20:24:28 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-blob-sealed": "true", + "x-ms-client-request-id": "48683ca8-d565-92f2-4992-066fcfbc33e8", + "x-ms-request-id": "b14c048f-001e-0064-1fd1-11bc38000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-0988508f-e361-adb4-e936-7be3a8500997?restype=container", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-b3cb77b5211b7246b92608cf1aa28cd2-0e7d805dd0455740-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200413.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-client-request-id": "38a308ac-c722-29c5-5ff9-68ee229997ba", + "x-ms-date": "Mon, 13 Apr 2020 20:24:28 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Mon, 13 Apr 2020 20:24:27 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "38a308ac-c722-29c5-5ff9-68ee229997ba", + "x-ms-request-id": "b14c0494-001e-0064-24d1-11bc38000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-351db45b-4ee3-c01e-5ce6-e6da1f20660e?restype=container", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-a248ab1eb8fb314b882f5740f07683f3-250b7222d990fd40-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200413.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-blob-public-access": "container", + "x-ms-client-request-id": "7776fbf3-0d1d-5dc0-e9e3-dc3be0ea093e", + "x-ms-date": "Mon, 13 Apr 2020 20:24:28 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Mon, 13 Apr 2020 20:24:28 GMT", + "ETag": "\u00220x8D7DFE8AAAE2170\u0022", + "Last-Modified": "Mon, 13 Apr 2020 20:24:28 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "7776fbf3-0d1d-5dc0-e9e3-dc3be0ea093e", + "x-ms-request-id": "4d17cfd7-001e-005b-3fd1-11749b000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-351db45b-4ee3-c01e-5ce6-e6da1f20660e/test-blob-bf9e5a93-d0d6-60a0-ee90-79205a08416a", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "Content-Length": "0", + "traceparent": "00-6e62ebaed8f7a4468e1475ddc7f008c1-fbc655954cf3164a-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200413.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-blob-type": "AppendBlob", + "x-ms-client-request-id": "2483b4b9-9f53-22f2-5a15-888c949f02e1", + "x-ms-date": "Mon, 13 Apr 2020 20:24:28 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Mon, 13 Apr 2020 20:24:28 GMT", + "ETag": "\u00220x8D7DFE8AABBBEE5\u0022", + "Last-Modified": "Mon, 13 Apr 2020 20:24:28 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "2483b4b9-9f53-22f2-5a15-888c949f02e1", + "x-ms-request-id": "4d17cfed-001e-005b-52d1-11749b000000", + "x-ms-request-server-encrypted": "true", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-351db45b-4ee3-c01e-5ce6-e6da1f20660e/test-blob-bf9e5a93-d0d6-60a0-ee90-79205a08416a", + "RequestMethod": "HEAD", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-eccd1e1eea688244bcdb9fb8dc1c6806-21770f7804783646-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200413.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-client-request-id": "a667a8e4-1c85-e817-2cc3-c9956663ae03", + "x-ms-date": "Mon, 13 Apr 2020 20:24:29 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Accept-Ranges": "bytes", + "Content-Length": "0", + "Content-Type": "application/octet-stream", + "Date": "Mon, 13 Apr 2020 20:24:28 GMT", + "ETag": "\u00220x8D7DFE8AABBBEE5\u0022", + "Last-Modified": "Mon, 13 Apr 2020 20:24:28 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-blob-committed-block-count": "0", + "x-ms-blob-type": "AppendBlob", + "x-ms-client-request-id": "a667a8e4-1c85-e817-2cc3-c9956663ae03", + "x-ms-creation-time": "Mon, 13 Apr 2020 20:24:28 GMT", + "x-ms-lease-state": "available", + "x-ms-lease-status": "unlocked", + "x-ms-request-id": "4d17cffc-001e-005b-5ed1-11749b000000", + "x-ms-server-encrypted": "true", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-351db45b-4ee3-c01e-5ce6-e6da1f20660e/test-blob-bf9e5a93-d0d6-60a0-ee90-79205a08416a?comp=seal", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "If-Match": "\u00220x8D7DFE8AABBBEE5\u0022", + "traceparent": "00-358a4c6513c17f44a1cf2ecb03f4e84a-d4d929473ccc9644-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200413.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-client-request-id": "eba825d2-5c38-855c-5acb-95401bff3c05", + "x-ms-date": "Mon, 13 Apr 2020 20:24:29 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Mon, 13 Apr 2020 20:24:28 GMT", + "ETag": "\u00220x8D7DFE8AAE966F8\u0022", + "Last-Modified": "Mon, 13 Apr 2020 20:24:28 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-blob-sealed": "true", + "x-ms-client-request-id": "eba825d2-5c38-855c-5acb-95401bff3c05", + "x-ms-request-id": "4d17d014-001e-005b-72d1-11749b000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-351db45b-4ee3-c01e-5ce6-e6da1f20660e?restype=container", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-c7f0224f578cf64f96049d9e22f8b74c-b05afd81e7b4a44b-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200413.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-client-request-id": "41c2d995-c2bb-05cb-9e0f-520b558cb720", + "x-ms-date": "Mon, 13 Apr 2020 20:24:29 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Mon, 13 Apr 2020 20:24:28 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "41c2d995-c2bb-05cb-9e0f-520b558cb720", + "x-ms-request-id": "4d17d020-001e-005b-7cd1-11749b000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-6748b5a2-3571-3c1a-98af-0fa4d5b6233a?restype=container", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-aacca9b7eaa4d44eb8d210f9f773b0eb-0b8c6516bc29ef49-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200413.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-blob-public-access": "container", + "x-ms-client-request-id": "ac0466db-fed7-5f39-bf85-a90bb3262fe7", + "x-ms-date": "Mon, 13 Apr 2020 20:24:29 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Mon, 13 Apr 2020 20:24:28 GMT", + "ETag": "\u00220x8D7DFE8AB2AF30F\u0022", + "Last-Modified": "Mon, 13 Apr 2020 20:24:29 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "ac0466db-fed7-5f39-bf85-a90bb3262fe7", + "x-ms-request-id": "adfb49a4-201e-003e-5cd1-11dadf000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-6748b5a2-3571-3c1a-98af-0fa4d5b6233a/test-blob-6aa517eb-75e1-a6e3-6a5d-1868d953f817", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "Content-Length": "0", + "traceparent": "00-c9b3cbe9075cae45ba50dbbf7e59b184-00c6665785c2ac44-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200413.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-blob-type": "AppendBlob", + "x-ms-client-request-id": "2cda73d9-39dc-666e-825d-4179e6d1866b", + "x-ms-date": "Mon, 13 Apr 2020 20:24:29 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Mon, 13 Apr 2020 20:24:29 GMT", + "ETag": "\u00220x8D7DFE8AB3858C8\u0022", + "Last-Modified": "Mon, 13 Apr 2020 20:24:29 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "2cda73d9-39dc-666e-825d-4179e6d1866b", + "x-ms-request-id": "adfb49af-201e-003e-62d1-11dadf000000", + "x-ms-request-server-encrypted": "true", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-6748b5a2-3571-3c1a-98af-0fa4d5b6233a/test-blob-6aa517eb-75e1-a6e3-6a5d-1868d953f817?comp=seal", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "If-None-Match": "\u0022garbage\u0022", + "traceparent": "00-4f9823fb0b0ad24daa39f7356f8faa92-5a8a43e13ebc0a46-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200413.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-client-request-id": "658eef25-cc78-d13a-5262-ed5534e980df", + "x-ms-date": "Mon, 13 Apr 2020 20:24:29 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Mon, 13 Apr 2020 20:24:29 GMT", + "ETag": "\u00220x8D7DFE8AB6E8DE9\u0022", + "Last-Modified": "Mon, 13 Apr 2020 20:24:29 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-blob-sealed": "true", + "x-ms-client-request-id": "658eef25-cc78-d13a-5262-ed5534e980df", + "x-ms-request-id": "adfb49b8-201e-003e-6ad1-11dadf000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-6748b5a2-3571-3c1a-98af-0fa4d5b6233a?restype=container", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-fedc4b21e735a844a8fefc8105eba871-1dfc627eb44efc42-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200413.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-client-request-id": "f6541507-2042-c0f3-572f-a0fcd2df40ca", + "x-ms-date": "Mon, 13 Apr 2020 20:24:30 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Mon, 13 Apr 2020 20:24:29 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "f6541507-2042-c0f3-572f-a0fcd2df40ca", + "x-ms-request-id": "adfb4a05-201e-003e-33d1-11dadf000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-dcd1dabd-9501-e0ee-2674-2712549c527a?restype=container", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-995af872ceba7949814666b4f2261eed-7dc5c6db35f3ba4b-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200413.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-blob-public-access": "container", + "x-ms-client-request-id": "a4e0ad25-9606-7255-2774-d0cdf8e06cba", + "x-ms-date": "Mon, 13 Apr 2020 20:24:30 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Mon, 13 Apr 2020 20:24:29 GMT", + "ETag": "\u00220x8D7DFE8ABC07B09\u0022", + "Last-Modified": "Mon, 13 Apr 2020 20:24:30 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "a4e0ad25-9606-7255-2774-d0cdf8e06cba", + "x-ms-request-id": "0fb0c0b7-e01e-0021-1dd1-1169db000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-dcd1dabd-9501-e0ee-2674-2712549c527a/test-blob-3b0d26dc-2192-3335-3d2c-b9972ddf3b59", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "Content-Length": "0", + "traceparent": "00-30e48945f05d0043aae17012c0329fb4-53680ccd3e8f0a4f-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200413.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-blob-type": "AppendBlob", + "x-ms-client-request-id": "7e32adfc-0bbf-04cc-77ad-66d9dcbd4447", + "x-ms-date": "Mon, 13 Apr 2020 20:24:30 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Mon, 13 Apr 2020 20:24:29 GMT", + "ETag": "\u00220x8D7DFE8ABCDD669\u0022", + "Last-Modified": "Mon, 13 Apr 2020 20:24:30 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "7e32adfc-0bbf-04cc-77ad-66d9dcbd4447", + "x-ms-request-id": "0fb0c0c6-e01e-0021-26d1-1169db000000", + "x-ms-request-server-encrypted": "true", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-dcd1dabd-9501-e0ee-2674-2712549c527a/test-blob-3b0d26dc-2192-3335-3d2c-b9972ddf3b59?comp=lease", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-1337c1a0ce1eb54aac6272459fb5eb7e-ff8d744b7f02674d-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200413.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-client-request-id": "43e8af96-7b2e-3750-ae05-cb0a1115da62", + "x-ms-date": "Mon, 13 Apr 2020 20:24:30 GMT", + "x-ms-lease-action": "acquire", + "x-ms-lease-duration": "-1", + "x-ms-proposed-lease-id": "30a07638-c5f2-2dfe-b2b4-fab62914796d", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Mon, 13 Apr 2020 20:24:29 GMT", + "ETag": "\u00220x8D7DFE8ABCDD669\u0022", + "Last-Modified": "Mon, 13 Apr 2020 20:24:30 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "43e8af96-7b2e-3750-ae05-cb0a1115da62", + "x-ms-lease-id": "30a07638-c5f2-2dfe-b2b4-fab62914796d", + "x-ms-request-id": "0fb0c0d7-e01e-0021-33d1-1169db000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-dcd1dabd-9501-e0ee-2674-2712549c527a/test-blob-3b0d26dc-2192-3335-3d2c-b9972ddf3b59?comp=seal", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-0da6944e228dbb4a9ff3833b6e923bf6-3b3d2aca73a8554a-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200413.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-client-request-id": "79207638-352c-053e-2664-d1a7f29010e5", + "x-ms-date": "Mon, 13 Apr 2020 20:24:30 GMT", + "x-ms-lease-id": "30a07638-c5f2-2dfe-b2b4-fab62914796d", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Mon, 13 Apr 2020 20:24:29 GMT", + "ETag": "\u00220x8D7DFE8ABF1919A\u0022", + "Last-Modified": "Mon, 13 Apr 2020 20:24:30 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-blob-sealed": "true", + "x-ms-client-request-id": "79207638-352c-053e-2664-d1a7f29010e5", + "x-ms-request-id": "0fb0c0de-e01e-0021-38d1-1169db000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-dcd1dabd-9501-e0ee-2674-2712549c527a?restype=container", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-bd6858fdf94da048bd2eadf1ebe72cc4-84a27feae2e57649-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200413.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-client-request-id": "9ad2b31f-60f5-fe35-ba53-40bdf1f2884c", + "x-ms-date": "Mon, 13 Apr 2020 20:24:31 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Mon, 13 Apr 2020 20:24:29 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "9ad2b31f-60f5-fe35-ba53-40bdf1f2884c", + "x-ms-request-id": "0fb0c116-e01e-0021-68d1-1169db000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-c9fb4f6f-9614-22d7-154d-64bfce8fbfdf?restype=container", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-5eaa06bb4f4a7442928603b385aa706e-be30c692fd2bd144-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200413.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-blob-public-access": "container", + "x-ms-client-request-id": "f6401be4-d74b-89aa-dbaf-85a8fc76302a", + "x-ms-date": "Mon, 13 Apr 2020 20:24:31 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Mon, 13 Apr 2020 20:24:30 GMT", + "ETag": "\u00220x8D7DFE8AC400DD8\u0022", + "Last-Modified": "Mon, 13 Apr 2020 20:24:31 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "f6401be4-d74b-89aa-dbaf-85a8fc76302a", + "x-ms-request-id": "a8844cec-f01e-002d-2ed1-11fed3000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-c9fb4f6f-9614-22d7-154d-64bfce8fbfdf/test-blob-defa6093-496a-f98e-5f4d-313801e94c71", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "Content-Length": "0", + "traceparent": "00-a67d0c5172dd5644821a928bdabb6ec1-1352637afde85e45-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200413.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-blob-type": "AppendBlob", + "x-ms-client-request-id": "755a6aab-02a9-9ab8-8d46-97fda57188f2", + "x-ms-date": "Mon, 13 Apr 2020 20:24:31 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Mon, 13 Apr 2020 20:24:30 GMT", + "ETag": "\u00220x8D7DFE8AC4DF353\u0022", + "Last-Modified": "Mon, 13 Apr 2020 20:24:31 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "755a6aab-02a9-9ab8-8d46-97fda57188f2", + "x-ms-request-id": "a8844cfb-f01e-002d-39d1-11fed3000000", + "x-ms-request-server-encrypted": "true", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-c9fb4f6f-9614-22d7-154d-64bfce8fbfdf/test-blob-defa6093-496a-f98e-5f4d-313801e94c71?comp=seal", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-223edba844b26d4b812460ae89c3db24-ccdfb47e424ddc4c-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200413.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-blob-condition-appendpos": "0", + "x-ms-client-request-id": "978d109c-d78f-6ac8-8840-2508319645f7", + "x-ms-date": "Mon, 13 Apr 2020 20:24:31 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Mon, 13 Apr 2020 20:24:30 GMT", + "ETag": "\u00220x8D7DFE8AC617EE2\u0022", + "Last-Modified": "Mon, 13 Apr 2020 20:24:31 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-blob-sealed": "true", + "x-ms-client-request-id": "978d109c-d78f-6ac8-8840-2508319645f7", + "x-ms-request-id": "a8844d0d-f01e-002d-48d1-11fed3000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-c9fb4f6f-9614-22d7-154d-64bfce8fbfdf?restype=container", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-4f94b4502b377843bc1f7cac94cd1032-f1fd6e307a383247-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200413.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-client-request-id": "95617f3e-f0e4-8a62-4bd1-335a58d39935", + "x-ms-date": "Mon, 13 Apr 2020 20:24:31 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Mon, 13 Apr 2020 20:24:30 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "95617f3e-f0e4-8a62-4bd1-335a58d39935", + "x-ms-request-id": "a8844d1e-f01e-002d-56d1-11fed3000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + } + ], + "Variables": { + "DateTimeOffsetNow": "2020-04-13T13:24:26.7591595-07:00", + "RandomSeed": "1155178869", + "Storage_TestConfigDefault": "ProductionTenant\nseanmcccanary\nU2FuaXRpemVk\nhttps://seanmcccanary.blob.core.windows.net\nhttps://seanmcccanary.file.core.windows.net\nhttps://seanmcccanary.queue.core.windows.net\nhttps://seanmcccanary.table.core.windows.net\n\n\n\n\nhttps://seanmcccanary-secondary.blob.core.windows.net\nhttps://seanmcccanary-secondary.file.core.windows.net\nhttps://seanmcccanary-secondary.queue.core.windows.net\nhttps://seanmcccanary-secondary.table.core.windows.net\n\nSanitized\n\n\nCloud\nBlobEndpoint=https://seanmcccanary.blob.core.windows.net/;QueueEndpoint=https://seanmcccanary.queue.core.windows.net/;FileEndpoint=https://seanmcccanary.file.core.windows.net/;BlobSecondaryEndpoint=https://seanmcccanary-secondary.blob.core.windows.net/;QueueSecondaryEndpoint=https://seanmcccanary-secondary.queue.core.windows.net/;FileSecondaryEndpoint=https://seanmcccanary-secondary.file.core.windows.net/;AccountName=seanmcccanary;AccountKey=Sanitized\nseanscope1" + } +} \ No newline at end of file diff --git a/sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/AppendBlobClientTests/SealAsync_AccessConditionsFailed.json b/sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/AppendBlobClientTests/SealAsync_AccessConditionsFailed.json new file mode 100644 index 000000000000..4a5136486546 --- /dev/null +++ b/sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/AppendBlobClientTests/SealAsync_AccessConditionsFailed.json @@ -0,0 +1,865 @@ +{ + "Entries": [ + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-0de582a6-62d5-75a2-7b9e-8597992f54ef?restype=container", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-1f9b95a2c727f34a92b3c6996edb4970-674bcbcc9730784c-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200413.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-blob-public-access": "container", + "x-ms-client-request-id": "d95ed087-a961-3c7b-673b-6516cb7fb1ff", + "x-ms-date": "Mon, 13 Apr 2020 20:24:23 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Mon, 13 Apr 2020 20:24:22 GMT", + "ETag": "\u00220x8D7DFE8A754660A\u0022", + "Last-Modified": "Mon, 13 Apr 2020 20:24:22 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "d95ed087-a961-3c7b-673b-6516cb7fb1ff", + "x-ms-request-id": "0fac7cc1-701e-001c-52d1-111fc0000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-0de582a6-62d5-75a2-7b9e-8597992f54ef/test-blob-62227aed-1911-760d-4db8-ee49e2a3bde0", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "Content-Length": "0", + "traceparent": "00-69f8519242b2b54daac6d040595580f3-e45395c623d5a54a-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200413.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-blob-type": "AppendBlob", + "x-ms-client-request-id": "3d1180da-4879-6e78-c2e7-8ca9bb315ac3", + "x-ms-date": "Mon, 13 Apr 2020 20:24:23 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Mon, 13 Apr 2020 20:24:22 GMT", + "ETag": "\u00220x8D7DFE8A761E4AE\u0022", + "Last-Modified": "Mon, 13 Apr 2020 20:24:22 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "3d1180da-4879-6e78-c2e7-8ca9bb315ac3", + "x-ms-request-id": "0fac7ccc-701e-001c-5bd1-111fc0000000", + "x-ms-request-server-encrypted": "true", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-0de582a6-62d5-75a2-7b9e-8597992f54ef/test-blob-62227aed-1911-760d-4db8-ee49e2a3bde0?comp=seal", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "If-Modified-Since": "Tue, 14 Apr 2020 20:24:23 GMT", + "traceparent": "00-fb413a628411db4d9b91aee4699210bc-833d26ca5dddbb4d-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200413.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-client-request-id": "616f4e56-8091-aa66-83a0-06eaede4e69a", + "x-ms-date": "Mon, 13 Apr 2020 20:24:23 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 412, + "ResponseHeaders": { + "Content-Length": "253", + "Content-Type": "application/xml", + "Date": "Mon, 13 Apr 2020 20:24:22 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "616f4e56-8091-aa66-83a0-06eaede4e69a", + "x-ms-error-code": "ConditionNotMet", + "x-ms-request-id": "0fac7cd4-701e-001c-63d1-111fc0000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [ + "\uFEFF\u003C?xml version=\u00221.0\u0022 encoding=\u0022utf-8\u0022?\u003E\n", + "\u003CError\u003E\u003CCode\u003EConditionNotMet\u003C/Code\u003E\u003CMessage\u003EThe condition specified using HTTP conditional header(s) is not met.\n", + "RequestId:0fac7cd4-701e-001c-63d1-111fc0000000\n", + "Time:2020-04-13T20:24:23.1559318Z\u003C/Message\u003E\u003C/Error\u003E" + ] + }, + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-0de582a6-62d5-75a2-7b9e-8597992f54ef?restype=container", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-c860e31a24195346807ebf063276b128-2c42b061bc1f4d43-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200413.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-client-request-id": "6c525e3b-f8c2-fe32-1e79-4bcfe1438507", + "x-ms-date": "Mon, 13 Apr 2020 20:24:23 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Mon, 13 Apr 2020 20:24:22 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "6c525e3b-f8c2-fe32-1e79-4bcfe1438507", + "x-ms-request-id": "0fac7d09-701e-001c-12d1-111fc0000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-329afb99-663c-c432-1e7d-0ef32e6cf8b4?restype=container", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-9aa69c876a4e0b41b34ff37aa0fca6b8-1e93bc44b76c2447-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200413.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-blob-public-access": "container", + "x-ms-client-request-id": "b6604919-f734-d41f-2c8e-4d44e93ecfb1", + "x-ms-date": "Mon, 13 Apr 2020 20:24:23 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Mon, 13 Apr 2020 20:24:22 GMT", + "ETag": "\u00220x8D7DFE8A7B9535C\u0022", + "Last-Modified": "Mon, 13 Apr 2020 20:24:23 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "b6604919-f734-d41f-2c8e-4d44e93ecfb1", + "x-ms-request-id": "693494f3-401e-0028-3ad1-112c08000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-329afb99-663c-c432-1e7d-0ef32e6cf8b4/test-blob-37599680-f694-1f75-2383-531140af7dbe", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "Content-Length": "0", + "traceparent": "00-712edc4ea1464240a19ba079770738a8-2ab94f166cd4a541-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200413.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-blob-type": "AppendBlob", + "x-ms-client-request-id": "af01745c-d807-237a-d441-93b1a40d937d", + "x-ms-date": "Mon, 13 Apr 2020 20:24:24 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Mon, 13 Apr 2020 20:24:22 GMT", + "ETag": "\u00220x8D7DFE8A7C6101D\u0022", + "Last-Modified": "Mon, 13 Apr 2020 20:24:23 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "af01745c-d807-237a-d441-93b1a40d937d", + "x-ms-request-id": "6934950d-401e-0028-4dd1-112c08000000", + "x-ms-request-server-encrypted": "true", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-329afb99-663c-c432-1e7d-0ef32e6cf8b4/test-blob-37599680-f694-1f75-2383-531140af7dbe?comp=seal", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "If-Unmodified-Since": "Sun, 12 Apr 2020 20:24:23 GMT", + "traceparent": "00-8b6d5c35e86663429e0b1faad3d2d0e8-93e62df632216a4b-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200413.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-client-request-id": "cbb5b356-cead-94b6-86b7-10cbadceda7c", + "x-ms-date": "Mon, 13 Apr 2020 20:24:24 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 412, + "ResponseHeaders": { + "Content-Length": "253", + "Content-Type": "application/xml", + "Date": "Mon, 13 Apr 2020 20:24:22 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "cbb5b356-cead-94b6-86b7-10cbadceda7c", + "x-ms-error-code": "ConditionNotMet", + "x-ms-request-id": "69349514-401e-0028-54d1-112c08000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [ + "\uFEFF\u003C?xml version=\u00221.0\u0022 encoding=\u0022utf-8\u0022?\u003E\n", + "\u003CError\u003E\u003CCode\u003EConditionNotMet\u003C/Code\u003E\u003CMessage\u003EThe condition specified using HTTP conditional header(s) is not met.\n", + "RequestId:69349514-401e-0028-54d1-112c08000000\n", + "Time:2020-04-13T20:24:23.7543226Z\u003C/Message\u003E\u003C/Error\u003E" + ] + }, + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-329afb99-663c-c432-1e7d-0ef32e6cf8b4?restype=container", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-7ac01f9ce8ba2f44acdc901f79826b79-0ddef99402fa2a4e-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200413.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-client-request-id": "f05a044e-c858-42cf-d943-63add9da9148", + "x-ms-date": "Mon, 13 Apr 2020 20:24:24 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Mon, 13 Apr 2020 20:24:22 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "f05a044e-c858-42cf-d943-63add9da9148", + "x-ms-request-id": "6934951e-401e-0028-5ed1-112c08000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-ae723000-567f-13d3-7843-fbeb358968c5?restype=container", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-50ca66e7d6fd6f4198f49a3f3dc92d12-5e4a247477fdc144-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200413.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-blob-public-access": "container", + "x-ms-client-request-id": "fb2c5030-e14d-f8e3-3046-7814cce40c50", + "x-ms-date": "Mon, 13 Apr 2020 20:24:24 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Mon, 13 Apr 2020 20:24:23 GMT", + "ETag": "\u00220x8D7DFE8A815815F\u0022", + "Last-Modified": "Mon, 13 Apr 2020 20:24:24 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "fb2c5030-e14d-f8e3-3046-7814cce40c50", + "x-ms-request-id": "b86e79c4-101e-000a-5cd1-11e917000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-ae723000-567f-13d3-7843-fbeb358968c5/test-blob-2b869dda-e85d-16d3-0bf4-98ce935a32ea", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "Content-Length": "0", + "traceparent": "00-5bfe0fe830de7e41aea8f112f8a95afa-512e630fe46fde49-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200413.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-blob-type": "AppendBlob", + "x-ms-client-request-id": "439d72a3-6c07-4897-7c15-ef58481464d5", + "x-ms-date": "Mon, 13 Apr 2020 20:24:24 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Mon, 13 Apr 2020 20:24:24 GMT", + "ETag": "\u00220x8D7DFE8A822E712\u0022", + "Last-Modified": "Mon, 13 Apr 2020 20:24:24 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "439d72a3-6c07-4897-7c15-ef58481464d5", + "x-ms-request-id": "b86e79d9-101e-000a-6fd1-11e917000000", + "x-ms-request-server-encrypted": "true", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-ae723000-567f-13d3-7843-fbeb358968c5/test-blob-2b869dda-e85d-16d3-0bf4-98ce935a32ea?comp=seal", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "If-Match": "\u0022garbage\u0022", + "traceparent": "00-eb6bfcf79cec5740b7c7c5499524e489-c9e37d84bcc5b741-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200413.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-client-request-id": "202b6742-efbd-3fe2-6f72-69477d1ffeb6", + "x-ms-date": "Mon, 13 Apr 2020 20:24:24 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 412, + "ResponseHeaders": { + "Content-Length": "253", + "Content-Type": "application/xml", + "Date": "Mon, 13 Apr 2020 20:24:24 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "202b6742-efbd-3fe2-6f72-69477d1ffeb6", + "x-ms-error-code": "ConditionNotMet", + "x-ms-request-id": "b86e79ec-101e-000a-7fd1-11e917000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [ + "\uFEFF\u003C?xml version=\u00221.0\u0022 encoding=\u0022utf-8\u0022?\u003E\n", + "\u003CError\u003E\u003CCode\u003EConditionNotMet\u003C/Code\u003E\u003CMessage\u003EThe condition specified using HTTP conditional header(s) is not met.\n", + "RequestId:b86e79ec-101e-000a-7fd1-11e917000000\n", + "Time:2020-04-13T20:24:24.3404178Z\u003C/Message\u003E\u003C/Error\u003E" + ] + }, + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-ae723000-567f-13d3-7843-fbeb358968c5?restype=container", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-152bc3a985cf704ab898d9c2b668546d-df2d6ff8a4effa48-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200413.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-client-request-id": "e016f370-43e9-2418-aa29-56b6bdabf005", + "x-ms-date": "Mon, 13 Apr 2020 20:24:24 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Mon, 13 Apr 2020 20:24:24 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "e016f370-43e9-2418-aa29-56b6bdabf005", + "x-ms-request-id": "b86e79f0-101e-000a-03d1-11e917000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-cdb9ab41-c08b-5656-60ae-a18dd11a34b1?restype=container", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-b5457c47b0ec85428ec76818db1f001b-66b5198902b9d144-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200413.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-blob-public-access": "container", + "x-ms-client-request-id": "5f87193f-0b04-af4a-9cbf-803ba18a5390", + "x-ms-date": "Mon, 13 Apr 2020 20:24:24 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Mon, 13 Apr 2020 20:24:24 GMT", + "ETag": "\u00220x8D7DFE8A86FA6C3\u0022", + "Last-Modified": "Mon, 13 Apr 2020 20:24:24 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "5f87193f-0b04-af4a-9cbf-803ba18a5390", + "x-ms-request-id": "d22ca3a4-d01e-002a-6bd1-1192b0000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-cdb9ab41-c08b-5656-60ae-a18dd11a34b1/test-blob-2b1ca4f4-66d5-23fb-dedd-429687d8c10f", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "Content-Length": "0", + "traceparent": "00-0d7ea2b940e3a34f8ae7f58c4cef54e5-3a4cc20e54698040-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200413.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-blob-type": "AppendBlob", + "x-ms-client-request-id": "f088a9a1-9234-d9fe-1d63-8127c8b428c4", + "x-ms-date": "Mon, 13 Apr 2020 20:24:25 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Mon, 13 Apr 2020 20:24:24 GMT", + "ETag": "\u00220x8D7DFE8A87CD73D\u0022", + "Last-Modified": "Mon, 13 Apr 2020 20:24:24 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "f088a9a1-9234-d9fe-1d63-8127c8b428c4", + "x-ms-request-id": "d22ca3af-d01e-002a-72d1-1192b0000000", + "x-ms-request-server-encrypted": "true", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-cdb9ab41-c08b-5656-60ae-a18dd11a34b1/test-blob-2b1ca4f4-66d5-23fb-dedd-429687d8c10f", + "RequestMethod": "HEAD", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-85a62ed2287979478b39c47fc08b34fe-65ae2774ab1c8c4a-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200413.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-client-request-id": "ddf443a3-d04f-5cdb-d075-992f5385c693", + "x-ms-date": "Mon, 13 Apr 2020 20:24:25 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Accept-Ranges": "bytes", + "Content-Length": "0", + "Content-Type": "application/octet-stream", + "Date": "Mon, 13 Apr 2020 20:24:24 GMT", + "ETag": "\u00220x8D7DFE8A87CD73D\u0022", + "Last-Modified": "Mon, 13 Apr 2020 20:24:24 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-blob-committed-block-count": "0", + "x-ms-blob-type": "AppendBlob", + "x-ms-client-request-id": "ddf443a3-d04f-5cdb-d075-992f5385c693", + "x-ms-creation-time": "Mon, 13 Apr 2020 20:24:24 GMT", + "x-ms-lease-state": "available", + "x-ms-lease-status": "unlocked", + "x-ms-request-id": "d22ca3c4-d01e-002a-05d1-1192b0000000", + "x-ms-server-encrypted": "true", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-cdb9ab41-c08b-5656-60ae-a18dd11a34b1/test-blob-2b1ca4f4-66d5-23fb-dedd-429687d8c10f?comp=seal", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "If-None-Match": "\u00220x8D7DFE8A87CD73D\u0022", + "traceparent": "00-7c626f09dfb76a42ae13993b9f7ec463-64047b6fc9e42843-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200413.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-client-request-id": "858434dd-4abf-2d74-95ee-03c601cccb72", + "x-ms-date": "Mon, 13 Apr 2020 20:24:25 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 412, + "ResponseHeaders": { + "Content-Length": "253", + "Content-Type": "application/xml", + "Date": "Mon, 13 Apr 2020 20:24:24 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "858434dd-4abf-2d74-95ee-03c601cccb72", + "x-ms-error-code": "ConditionNotMet", + "x-ms-request-id": "d22ca3dc-d01e-002a-1dd1-1192b0000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [ + "\uFEFF\u003C?xml version=\u00221.0\u0022 encoding=\u0022utf-8\u0022?\u003E\n", + "\u003CError\u003E\u003CCode\u003EConditionNotMet\u003C/Code\u003E\u003CMessage\u003EThe condition specified using HTTP conditional header(s) is not met.\n", + "RequestId:d22ca3dc-d01e-002a-1dd1-1192b0000000\n", + "Time:2020-04-13T20:24:25.0012511Z\u003C/Message\u003E\u003C/Error\u003E" + ] + }, + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-cdb9ab41-c08b-5656-60ae-a18dd11a34b1?restype=container", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-958051cc782bfb42aa2b17d823125d24-02ab7c51b79ace4f-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200413.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-client-request-id": "1f512d15-4001-b3d3-b41e-965763fc04e0", + "x-ms-date": "Mon, 13 Apr 2020 20:24:25 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Mon, 13 Apr 2020 20:24:24 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "1f512d15-4001-b3d3-b41e-965763fc04e0", + "x-ms-request-id": "d22ca3eb-d01e-002a-2ad1-1192b0000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-5dde869d-11a1-8407-2d48-05d01a8e5660?restype=container", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-27f8a164645fbf4f8d458d6ae1751468-fee424c66fa03744-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200413.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-blob-public-access": "container", + "x-ms-client-request-id": "514850ea-5056-03de-25cd-f2b93b029926", + "x-ms-date": "Mon, 13 Apr 2020 20:24:25 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Mon, 13 Apr 2020 20:24:24 GMT", + "ETag": "\u00220x8D7DFE8A8D75B8D\u0022", + "Last-Modified": "Mon, 13 Apr 2020 20:24:25 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "514850ea-5056-03de-25cd-f2b93b029926", + "x-ms-request-id": "6aa8e456-501e-0034-57d1-117e68000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-5dde869d-11a1-8407-2d48-05d01a8e5660/test-blob-e01735c8-2f4b-f165-1557-dfa576c1c17d", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "Content-Length": "0", + "traceparent": "00-d2051a4b70ebb049bc99586907e4574a-95ab81f07ebfac44-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200413.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-blob-type": "AppendBlob", + "x-ms-client-request-id": "8c7e7361-f797-bb37-ea57-3cff71398d64", + "x-ms-date": "Mon, 13 Apr 2020 20:24:25 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Mon, 13 Apr 2020 20:24:24 GMT", + "ETag": "\u00220x8D7DFE8A8E82FDF\u0022", + "Last-Modified": "Mon, 13 Apr 2020 20:24:25 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "8c7e7361-f797-bb37-ea57-3cff71398d64", + "x-ms-request-id": "6aa8e46e-501e-0034-6ad1-117e68000000", + "x-ms-request-server-encrypted": "true", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-5dde869d-11a1-8407-2d48-05d01a8e5660/test-blob-e01735c8-2f4b-f165-1557-dfa576c1c17d?comp=seal", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-43b978b18d109c45b80b40a6bedb6e00-00a8b4f432f83a4f-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200413.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-client-request-id": "0343640c-3442-77e6-4a2a-dfeec80b7d6b", + "x-ms-date": "Mon, 13 Apr 2020 20:24:25 GMT", + "x-ms-lease-id": "e1b10a9e-51b4-4b16-2f41-696ea9b655f1", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 412, + "ResponseHeaders": { + "Content-Length": "242", + "Content-Type": "application/xml", + "Date": "Mon, 13 Apr 2020 20:24:24 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "0343640c-3442-77e6-4a2a-dfeec80b7d6b", + "x-ms-error-code": "LeaseNotPresentWithBlobOperation", + "x-ms-request-id": "6aa8e486-501e-0034-01d1-117e68000000", + "x-ms-version": "2019-12-12" + }, + "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:6aa8e486-501e-0034-01d1-117e68000000\n", + "Time:2020-04-13T20:24:25.6278616Z\u003C/Message\u003E\u003C/Error\u003E" + ] + }, + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-5dde869d-11a1-8407-2d48-05d01a8e5660?restype=container", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-f49b9a6cda95a54d9061f3fa5d46b43b-1ce1a0452222ad43-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200413.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-client-request-id": "0cf2df1f-8af5-d621-8dd2-6ef1f0f3fb20", + "x-ms-date": "Mon, 13 Apr 2020 20:24:26 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Mon, 13 Apr 2020 20:24:24 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "0cf2df1f-8af5-d621-8dd2-6ef1f0f3fb20", + "x-ms-request-id": "6aa8e496-501e-0034-11d1-117e68000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-357dd1ab-f216-7aef-06b1-7088d378bcb0?restype=container", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-9f1b8e4e8839be46961257f36349dcfc-b5969a290c562841-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200413.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-blob-public-access": "container", + "x-ms-client-request-id": "eac340bf-051c-2d1c-ef77-054319990215", + "x-ms-date": "Mon, 13 Apr 2020 20:24:26 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Mon, 13 Apr 2020 20:24:25 GMT", + "ETag": "\u00220x8D7DFE8A9336304\u0022", + "Last-Modified": "Mon, 13 Apr 2020 20:24:26 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "eac340bf-051c-2d1c-ef77-054319990215", + "x-ms-request-id": "a9f068d4-c01e-0054-32d1-1102f7000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-357dd1ab-f216-7aef-06b1-7088d378bcb0/test-blob-4302be15-1224-3908-5be7-0c4b3a535799", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "Content-Length": "0", + "traceparent": "00-2260a42160cae848ac91f2ecef1bfbe7-1cf8cf55c1e04849-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200413.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-blob-type": "AppendBlob", + "x-ms-client-request-id": "6486a2c8-5d6a-ad79-3889-8e34f9d1f39c", + "x-ms-date": "Mon, 13 Apr 2020 20:24:26 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Mon, 13 Apr 2020 20:24:25 GMT", + "ETag": "\u00220x8D7DFE8A93FFCFC\u0022", + "Last-Modified": "Mon, 13 Apr 2020 20:24:26 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "6486a2c8-5d6a-ad79-3889-8e34f9d1f39c", + "x-ms-request-id": "a9f068ed-c01e-0054-45d1-1102f7000000", + "x-ms-request-server-encrypted": "true", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-357dd1ab-f216-7aef-06b1-7088d378bcb0/test-blob-4302be15-1224-3908-5be7-0c4b3a535799?comp=seal", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-36b4f872ba0d954894766ca456762108-27b8375a62940c4a-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200413.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-blob-condition-appendpos": "1", + "x-ms-client-request-id": "98827d6a-f2cc-b22f-581b-5b2b435ff0be", + "x-ms-date": "Mon, 13 Apr 2020 20:24:26 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 412, + "ResponseHeaders": { + "Content-Length": "251", + "Content-Type": "application/xml", + "Date": "Mon, 13 Apr 2020 20:24:26 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "98827d6a-f2cc-b22f-581b-5b2b435ff0be", + "x-ms-error-code": "AppendPositionConditionNotMet", + "x-ms-request-id": "a9f068f4-c01e-0054-4cd1-1102f7000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [ + "\uFEFF\u003C?xml version=\u00221.0\u0022 encoding=\u0022utf-8\u0022?\u003E\n", + "\u003CError\u003E\u003CCode\u003EAppendPositionConditionNotMet\u003C/Code\u003E\u003CMessage\u003EThe append position condition specified was not met.\n", + "RequestId:a9f068f4-c01e-0054-4cd1-1102f7000000\n", + "Time:2020-04-13T20:24:26.1979605Z\u003C/Message\u003E\u003C/Error\u003E" + ] + }, + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-357dd1ab-f216-7aef-06b1-7088d378bcb0?restype=container", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-7d78737188615548a6316c4222b3b600-9f7bd9123004cc4e-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200413.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-client-request-id": "7bc965bb-5a4e-2dcf-3c80-eeb5143500ca", + "x-ms-date": "Mon, 13 Apr 2020 20:24:26 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Mon, 13 Apr 2020 20:24:26 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "7bc965bb-5a4e-2dcf-3c80-eeb5143500ca", + "x-ms-request-id": "a9f068ff-c01e-0054-57d1-1102f7000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + } + ], + "Variables": { + "DateTimeOffsetNow": "2020-04-13T13:24:23.0077210-07:00", + "RandomSeed": "900566845", + "Storage_TestConfigDefault": "ProductionTenant\nseanmcccanary\nU2FuaXRpemVk\nhttps://seanmcccanary.blob.core.windows.net\nhttps://seanmcccanary.file.core.windows.net\nhttps://seanmcccanary.queue.core.windows.net\nhttps://seanmcccanary.table.core.windows.net\n\n\n\n\nhttps://seanmcccanary-secondary.blob.core.windows.net\nhttps://seanmcccanary-secondary.file.core.windows.net\nhttps://seanmcccanary-secondary.queue.core.windows.net\nhttps://seanmcccanary-secondary.table.core.windows.net\n\nSanitized\n\n\nCloud\nBlobEndpoint=https://seanmcccanary.blob.core.windows.net/;QueueEndpoint=https://seanmcccanary.queue.core.windows.net/;FileEndpoint=https://seanmcccanary.file.core.windows.net/;BlobSecondaryEndpoint=https://seanmcccanary-secondary.blob.core.windows.net/;QueueSecondaryEndpoint=https://seanmcccanary-secondary.queue.core.windows.net/;FileSecondaryEndpoint=https://seanmcccanary-secondary.file.core.windows.net/;AccountName=seanmcccanary;AccountKey=Sanitized\nseanscope1" + } +} \ No newline at end of file diff --git a/sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/AppendBlobClientTests/SealAsync_AccessConditionsFailedAsync.json b/sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/AppendBlobClientTests/SealAsync_AccessConditionsFailedAsync.json new file mode 100644 index 000000000000..9d4450308dac --- /dev/null +++ b/sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/AppendBlobClientTests/SealAsync_AccessConditionsFailedAsync.json @@ -0,0 +1,865 @@ +{ + "Entries": [ + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-25a3a575-db16-5400-5961-ada8680c420e?restype=container", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-9d90dfe326c6f848b021418cfa854693-c62a60aa89774b4a-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200413.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-blob-public-access": "container", + "x-ms-client-request-id": "302129aa-bda3-1cda-4ca1-54a29683fc5d", + "x-ms-date": "Mon, 13 Apr 2020 20:24:31 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Mon, 13 Apr 2020 20:24:31 GMT", + "ETag": "\u00220x8D7DFE8ACA2DAF4\u0022", + "Last-Modified": "Mon, 13 Apr 2020 20:24:31 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "302129aa-bda3-1cda-4ca1-54a29683fc5d", + "x-ms-request-id": "2703735c-101e-009c-34d1-11e0c6000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-25a3a575-db16-5400-5961-ada8680c420e/test-blob-872cf7be-979f-b35b-ce46-8be3a8c1250a", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "Content-Length": "0", + "traceparent": "00-04e9a6a41190dd45b8080a9fdc53c751-550b92890e6f9046-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200413.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-blob-type": "AppendBlob", + "x-ms-client-request-id": "3780d636-5322-1287-ce6e-625d32f7738a", + "x-ms-date": "Mon, 13 Apr 2020 20:24:32 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Mon, 13 Apr 2020 20:24:31 GMT", + "ETag": "\u00220x8D7DFE8ACB07091\u0022", + "Last-Modified": "Mon, 13 Apr 2020 20:24:31 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "3780d636-5322-1287-ce6e-625d32f7738a", + "x-ms-request-id": "27037360-101e-009c-36d1-11e0c6000000", + "x-ms-request-server-encrypted": "true", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-25a3a575-db16-5400-5961-ada8680c420e/test-blob-872cf7be-979f-b35b-ce46-8be3a8c1250a?comp=seal", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "If-Modified-Since": "Tue, 14 Apr 2020 20:24:31 GMT", + "traceparent": "00-56518993bf923243b65097a6e7a6949d-bd771f6aa8d2be4e-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200413.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-client-request-id": "d2ad747f-ed40-33e8-fdec-717caf0d4ea8", + "x-ms-date": "Mon, 13 Apr 2020 20:24:32 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 412, + "ResponseHeaders": { + "Content-Length": "253", + "Content-Type": "application/xml", + "Date": "Mon, 13 Apr 2020 20:24:31 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "d2ad747f-ed40-33e8-fdec-717caf0d4ea8", + "x-ms-error-code": "ConditionNotMet", + "x-ms-request-id": "27037363-101e-009c-39d1-11e0c6000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [ + "\uFEFF\u003C?xml version=\u00221.0\u0022 encoding=\u0022utf-8\u0022?\u003E\n", + "\u003CError\u003E\u003CCode\u003EConditionNotMet\u003C/Code\u003E\u003CMessage\u003EThe condition specified using HTTP conditional header(s) is not met.\n", + "RequestId:27037363-101e-009c-39d1-11e0c6000000\n", + "Time:2020-04-13T20:24:31.9736514Z\u003C/Message\u003E\u003C/Error\u003E" + ] + }, + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-25a3a575-db16-5400-5961-ada8680c420e?restype=container", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-bc8bd4321d83cb4981d8150a47792b0d-28230d20622e5446-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200413.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-client-request-id": "bdddc828-a149-8e4a-61e7-13984cf6fd7e", + "x-ms-date": "Mon, 13 Apr 2020 20:24:32 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Mon, 13 Apr 2020 20:24:31 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "bdddc828-a149-8e4a-61e7-13984cf6fd7e", + "x-ms-request-id": "2703736a-101e-009c-40d1-11e0c6000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-acf03f5c-2231-ca7f-e233-6f6b4271c704?restype=container", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-c47a5d7920c81c4c8f98822a5d33b0c1-2941b0f87238cc4b-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200413.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-blob-public-access": "container", + "x-ms-client-request-id": "2c1b2cd7-8909-0515-4913-da1531de4bf0", + "x-ms-date": "Mon, 13 Apr 2020 20:24:32 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Mon, 13 Apr 2020 20:24:31 GMT", + "ETag": "\u00220x8D7DFE8ACFAD0F0\u0022", + "Last-Modified": "Mon, 13 Apr 2020 20:24:32 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "2c1b2cd7-8909-0515-4913-da1531de4bf0", + "x-ms-request-id": "612c82e1-601e-002f-3fd1-11406b000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-acf03f5c-2231-ca7f-e233-6f6b4271c704/test-blob-21e10f20-16a2-ca4e-e0f3-c668604d28e9", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "Content-Length": "0", + "traceparent": "00-78b66c61390566488689196f8232227a-83bf56c0f7a3d842-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200413.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-blob-type": "AppendBlob", + "x-ms-client-request-id": "9311d27d-0c17-c0c9-de50-4c15c2aca5fb", + "x-ms-date": "Mon, 13 Apr 2020 20:24:32 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Mon, 13 Apr 2020 20:24:31 GMT", + "ETag": "\u00220x8D7DFE8AD077A2E\u0022", + "Last-Modified": "Mon, 13 Apr 2020 20:24:32 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "9311d27d-0c17-c0c9-de50-4c15c2aca5fb", + "x-ms-request-id": "612c82e9-601e-002f-44d1-11406b000000", + "x-ms-request-server-encrypted": "true", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-acf03f5c-2231-ca7f-e233-6f6b4271c704/test-blob-21e10f20-16a2-ca4e-e0f3-c668604d28e9?comp=seal", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "If-Unmodified-Since": "Sun, 12 Apr 2020 20:24:31 GMT", + "traceparent": "00-3da2cd728e3a864588c9c0cf07bedde8-54d5791a3911194b-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200413.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-client-request-id": "8eeabf28-943c-fad2-39d4-37054ee56b68", + "x-ms-date": "Mon, 13 Apr 2020 20:24:32 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 412, + "ResponseHeaders": { + "Content-Length": "253", + "Content-Type": "application/xml", + "Date": "Mon, 13 Apr 2020 20:24:31 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "8eeabf28-943c-fad2-39d4-37054ee56b68", + "x-ms-error-code": "ConditionNotMet", + "x-ms-request-id": "612c82ed-601e-002f-47d1-11406b000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [ + "\uFEFF\u003C?xml version=\u00221.0\u0022 encoding=\u0022utf-8\u0022?\u003E\n", + "\u003CError\u003E\u003CCode\u003EConditionNotMet\u003C/Code\u003E\u003CMessage\u003EThe condition specified using HTTP conditional header(s) is not met.\n", + "RequestId:612c82ed-601e-002f-47d1-11406b000000\n", + "Time:2020-04-13T20:24:32.6341754Z\u003C/Message\u003E\u003C/Error\u003E" + ] + }, + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-acf03f5c-2231-ca7f-e233-6f6b4271c704?restype=container", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-b2676f96c3533b4099ddd8de1265ca74-c50cfd79b71ff24a-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200413.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-client-request-id": "03edb43d-17c2-56be-1e14-f675fd94372f", + "x-ms-date": "Mon, 13 Apr 2020 20:24:33 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Mon, 13 Apr 2020 20:24:31 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "03edb43d-17c2-56be-1e14-f675fd94372f", + "x-ms-request-id": "612c82f6-601e-002f-4ed1-11406b000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-d7aaa248-4c00-8c5e-02a2-55b1156ef9c3?restype=container", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-fcfd5ad24a2a534f83c822586d4e70fb-5ebf8df5beb65647-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200413.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-blob-public-access": "container", + "x-ms-client-request-id": "5e1a4f53-6fca-f0ab-5560-001fc10c40af", + "x-ms-date": "Mon, 13 Apr 2020 20:24:33 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Mon, 13 Apr 2020 20:24:32 GMT", + "ETag": "\u00220x8D7DFE8AD60F12B\u0022", + "Last-Modified": "Mon, 13 Apr 2020 20:24:33 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "5e1a4f53-6fca-f0ab-5560-001fc10c40af", + "x-ms-request-id": "d3b7c71f-601e-0062-1ed1-118f87000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-d7aaa248-4c00-8c5e-02a2-55b1156ef9c3/test-blob-71e8321b-9dcb-e037-fb18-f326a43ae7bb", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "Content-Length": "0", + "traceparent": "00-9fae5df9e38bc946ad8b9da05f638368-a32bf7ff4a32a448-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200413.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-blob-type": "AppendBlob", + "x-ms-client-request-id": "7309f899-d85e-b6d8-183a-62b27c854b1a", + "x-ms-date": "Mon, 13 Apr 2020 20:24:33 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Mon, 13 Apr 2020 20:24:32 GMT", + "ETag": "\u00220x8D7DFE8AD6E6532\u0022", + "Last-Modified": "Mon, 13 Apr 2020 20:24:33 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "7309f899-d85e-b6d8-183a-62b27c854b1a", + "x-ms-request-id": "d3b7c750-601e-0062-37d1-118f87000000", + "x-ms-request-server-encrypted": "true", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-d7aaa248-4c00-8c5e-02a2-55b1156ef9c3/test-blob-71e8321b-9dcb-e037-fb18-f326a43ae7bb?comp=seal", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "If-Match": "\u0022garbage\u0022", + "traceparent": "00-9bc7b64f0827bd4abc09c133f3647386-aa7fb67d2c3e4248-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200413.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-client-request-id": "ac8c1c47-7431-805c-d9a8-ad193946a05b", + "x-ms-date": "Mon, 13 Apr 2020 20:24:33 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 412, + "ResponseHeaders": { + "Content-Length": "253", + "Content-Type": "application/xml", + "Date": "Mon, 13 Apr 2020 20:24:32 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "ac8c1c47-7431-805c-d9a8-ad193946a05b", + "x-ms-error-code": "ConditionNotMet", + "x-ms-request-id": "d3b7c765-601e-0062-42d1-118f87000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [ + "\uFEFF\u003C?xml version=\u00221.0\u0022 encoding=\u0022utf-8\u0022?\u003E\n", + "\u003CError\u003E\u003CCode\u003EConditionNotMet\u003C/Code\u003E\u003CMessage\u003EThe condition specified using HTTP conditional header(s) is not met.\n", + "RequestId:d3b7c765-601e-0062-42d1-118f87000000\n", + "Time:2020-04-13T20:24:33.2314167Z\u003C/Message\u003E\u003C/Error\u003E" + ] + }, + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-d7aaa248-4c00-8c5e-02a2-55b1156ef9c3?restype=container", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-1219a011f4ec1341a57e48372155bed0-b07b78d79a6cbe41-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200413.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-client-request-id": "606aedc1-9ff8-04e9-e846-3505cd4246f3", + "x-ms-date": "Mon, 13 Apr 2020 20:24:33 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Mon, 13 Apr 2020 20:24:32 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "606aedc1-9ff8-04e9-e846-3505cd4246f3", + "x-ms-request-id": "d3b7c780-601e-0062-4fd1-118f87000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-2d66362b-5680-85b5-f36d-10a73ac939f4?restype=container", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-0cf611dd67e5064dbf9a30f41cb7c28a-1b78958e43f6d54b-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200413.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-blob-public-access": "container", + "x-ms-client-request-id": "10674643-307e-6af9-38e5-6c8b8e42c91e", + "x-ms-date": "Mon, 13 Apr 2020 20:24:33 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Mon, 13 Apr 2020 20:24:33 GMT", + "ETag": "\u00220x8D7DFE8ADBE3882\u0022", + "Last-Modified": "Mon, 13 Apr 2020 20:24:33 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "10674643-307e-6af9-38e5-6c8b8e42c91e", + "x-ms-request-id": "a290d470-c01e-0009-2ed1-110873000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-2d66362b-5680-85b5-f36d-10a73ac939f4/test-blob-98bb410d-f9e9-ea17-d379-ec651d3cfad0", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "Content-Length": "0", + "traceparent": "00-0ba768692f755342aa858564d2886cef-99e8a6a4db78194b-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200413.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-blob-type": "AppendBlob", + "x-ms-client-request-id": "496b1a50-b967-496f-2f7d-3d0544934cfb", + "x-ms-date": "Mon, 13 Apr 2020 20:24:34 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Mon, 13 Apr 2020 20:24:33 GMT", + "ETag": "\u00220x8D7DFE8ADCBB189\u0022", + "Last-Modified": "Mon, 13 Apr 2020 20:24:33 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "496b1a50-b967-496f-2f7d-3d0544934cfb", + "x-ms-request-id": "a290d47c-c01e-0009-34d1-110873000000", + "x-ms-request-server-encrypted": "true", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-2d66362b-5680-85b5-f36d-10a73ac939f4/test-blob-98bb410d-f9e9-ea17-d379-ec651d3cfad0", + "RequestMethod": "HEAD", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-86fa3d59ae651846ac2b137d93009a71-8c93633cddec2545-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200413.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-client-request-id": "0214ed1a-b0d0-6168-4719-c5e4eb6fd5a7", + "x-ms-date": "Mon, 13 Apr 2020 20:24:34 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Accept-Ranges": "bytes", + "Content-Length": "0", + "Content-Type": "application/octet-stream", + "Date": "Mon, 13 Apr 2020 20:24:33 GMT", + "ETag": "\u00220x8D7DFE8ADCBB189\u0022", + "Last-Modified": "Mon, 13 Apr 2020 20:24:33 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-blob-committed-block-count": "0", + "x-ms-blob-type": "AppendBlob", + "x-ms-client-request-id": "0214ed1a-b0d0-6168-4719-c5e4eb6fd5a7", + "x-ms-creation-time": "Mon, 13 Apr 2020 20:24:33 GMT", + "x-ms-lease-state": "available", + "x-ms-lease-status": "unlocked", + "x-ms-request-id": "a290d483-c01e-0009-39d1-110873000000", + "x-ms-server-encrypted": "true", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-2d66362b-5680-85b5-f36d-10a73ac939f4/test-blob-98bb410d-f9e9-ea17-d379-ec651d3cfad0?comp=seal", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "If-None-Match": "\u00220x8D7DFE8ADCBB189\u0022", + "traceparent": "00-dfc918d865b9a448a259d9f94c548510-518aa2d6d9e10b4b-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200413.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-client-request-id": "56eb4066-4a7e-3a2b-340f-90c510d7f95d", + "x-ms-date": "Mon, 13 Apr 2020 20:24:34 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 412, + "ResponseHeaders": { + "Content-Length": "253", + "Content-Type": "application/xml", + "Date": "Mon, 13 Apr 2020 20:24:33 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "56eb4066-4a7e-3a2b-340f-90c510d7f95d", + "x-ms-error-code": "ConditionNotMet", + "x-ms-request-id": "a290d488-c01e-0009-3dd1-110873000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [ + "\uFEFF\u003C?xml version=\u00221.0\u0022 encoding=\u0022utf-8\u0022?\u003E\n", + "\u003CError\u003E\u003CCode\u003EConditionNotMet\u003C/Code\u003E\u003CMessage\u003EThe condition specified using HTTP conditional header(s) is not met.\n", + "RequestId:a290d488-c01e-0009-3dd1-110873000000\n", + "Time:2020-04-13T20:24:33.9558082Z\u003C/Message\u003E\u003C/Error\u003E" + ] + }, + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-2d66362b-5680-85b5-f36d-10a73ac939f4?restype=container", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-7e3c86aae1646445987362d6c860e095-5b39376eb4ac744f-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200413.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-client-request-id": "aa7eb6b5-7e83-5729-ecd0-0355f65a6a86", + "x-ms-date": "Mon, 13 Apr 2020 20:24:34 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Mon, 13 Apr 2020 20:24:34 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "aa7eb6b5-7e83-5729-ecd0-0355f65a6a86", + "x-ms-request-id": "a290d493-c01e-0009-44d1-110873000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-a6f91f8c-9619-87f8-a957-88e4a5e00892?restype=container", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-f6ec311f602265489e4f2cdcebf034bc-21111d92fc912546-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200413.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-blob-public-access": "container", + "x-ms-client-request-id": "13bd1e2f-5da8-1eb9-bef6-002cf644b10b", + "x-ms-date": "Mon, 13 Apr 2020 20:24:34 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Mon, 13 Apr 2020 20:24:34 GMT", + "ETag": "\u00220x8D7DFE8AE2BCCB5\u0022", + "Last-Modified": "Mon, 13 Apr 2020 20:24:34 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "13bd1e2f-5da8-1eb9-bef6-002cf644b10b", + "x-ms-request-id": "f1b9002c-d01e-0015-06d1-115a13000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-a6f91f8c-9619-87f8-a957-88e4a5e00892/test-blob-394a71c8-104a-3d2c-45ab-1a16b5b3ac68", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "Content-Length": "0", + "traceparent": "00-459851fea07c5543861482542bf71395-c7aaf8eef9483446-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200413.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-blob-type": "AppendBlob", + "x-ms-client-request-id": "697dd450-64f6-1f29-f180-cdfc43a3680b", + "x-ms-date": "Mon, 13 Apr 2020 20:24:34 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Mon, 13 Apr 2020 20:24:34 GMT", + "ETag": "\u00220x8D7DFE8AE39545F\u0022", + "Last-Modified": "Mon, 13 Apr 2020 20:24:34 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "697dd450-64f6-1f29-f180-cdfc43a3680b", + "x-ms-request-id": "f1b9008b-d01e-0015-4bd1-115a13000000", + "x-ms-request-server-encrypted": "true", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-a6f91f8c-9619-87f8-a957-88e4a5e00892/test-blob-394a71c8-104a-3d2c-45ab-1a16b5b3ac68?comp=seal", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-30deb63555cbe64fb7542383c4223d86-94d48394e4402d45-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200413.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-client-request-id": "e1c5d254-4236-5572-eb95-95a327ec6a5f", + "x-ms-date": "Mon, 13 Apr 2020 20:24:34 GMT", + "x-ms-lease-id": "aef54cf8-4303-652b-6900-066a01cc9fcf", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 412, + "ResponseHeaders": { + "Content-Length": "242", + "Content-Type": "application/xml", + "Date": "Mon, 13 Apr 2020 20:24:34 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "e1c5d254-4236-5572-eb95-95a327ec6a5f", + "x-ms-error-code": "LeaseNotPresentWithBlobOperation", + "x-ms-request-id": "f1b900d9-d01e-0015-03d1-115a13000000", + "x-ms-version": "2019-12-12" + }, + "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:f1b900d9-d01e-0015-03d1-115a13000000\n", + "Time:2020-04-13T20:24:34.5458513Z\u003C/Message\u003E\u003C/Error\u003E" + ] + }, + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-a6f91f8c-9619-87f8-a957-88e4a5e00892?restype=container", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-08c3c1203f2a304893fb2d4b0ca57e3a-d740ed072363d94d-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200413.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-client-request-id": "70a83491-87dd-08d4-251c-f6fa9545ab9a", + "x-ms-date": "Mon, 13 Apr 2020 20:24:34 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Mon, 13 Apr 2020 20:24:34 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "70a83491-87dd-08d4-251c-f6fa9545ab9a", + "x-ms-request-id": "f1b900ff-d01e-0015-1dd1-115a13000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-e3d1d732-37b2-de5c-199f-f58c6018281c?restype=container", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-2db95e4580cb4643b349acc4ec1bfafa-6f49adf9ca02e941-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200413.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-blob-public-access": "container", + "x-ms-client-request-id": "552747fe-c7fd-5a75-d8ca-573d9248a70c", + "x-ms-date": "Mon, 13 Apr 2020 20:24:35 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Mon, 13 Apr 2020 20:24:34 GMT", + "ETag": "\u00220x8D7DFE8AE86317C\u0022", + "Last-Modified": "Mon, 13 Apr 2020 20:24:34 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "552747fe-c7fd-5a75-d8ca-573d9248a70c", + "x-ms-request-id": "3e596873-501e-000b-42d1-11b6cb000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-e3d1d732-37b2-de5c-199f-f58c6018281c/test-blob-2710daf3-b833-3856-55d1-27a2a53d5e5b", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "Content-Length": "0", + "traceparent": "00-5f67c0ffb816684c85cbf76b65dc05d7-91ea22e0c53a6543-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200413.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-blob-type": "AppendBlob", + "x-ms-client-request-id": "a52c8568-68ad-4572-f0ef-002c9fd3b59a", + "x-ms-date": "Mon, 13 Apr 2020 20:24:35 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Mon, 13 Apr 2020 20:24:34 GMT", + "ETag": "\u00220x8D7DFE8AE93E0FA\u0022", + "Last-Modified": "Mon, 13 Apr 2020 20:24:35 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "a52c8568-68ad-4572-f0ef-002c9fd3b59a", + "x-ms-request-id": "3e59687d-501e-000b-49d1-11b6cb000000", + "x-ms-request-server-encrypted": "true", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-e3d1d732-37b2-de5c-199f-f58c6018281c/test-blob-2710daf3-b833-3856-55d1-27a2a53d5e5b?comp=seal", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-10523261931e21479fa31aab67f000a9-f68f59fc985b314a-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200413.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-blob-condition-appendpos": "1", + "x-ms-client-request-id": "1f3ab462-b911-a6ad-db48-2802d1f18225", + "x-ms-date": "Mon, 13 Apr 2020 20:24:35 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 412, + "ResponseHeaders": { + "Content-Length": "251", + "Content-Type": "application/xml", + "Date": "Mon, 13 Apr 2020 20:24:34 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "1f3ab462-b911-a6ad-db48-2802d1f18225", + "x-ms-error-code": "AppendPositionConditionNotMet", + "x-ms-request-id": "3e59688f-501e-000b-55d1-11b6cb000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [ + "\uFEFF\u003C?xml version=\u00221.0\u0022 encoding=\u0022utf-8\u0022?\u003E\n", + "\u003CError\u003E\u003CCode\u003EAppendPositionConditionNotMet\u003C/Code\u003E\u003CMessage\u003EThe append position condition specified was not met.\n", + "RequestId:3e59688f-501e-000b-55d1-11b6cb000000\n", + "Time:2020-04-13T20:24:35.2053022Z\u003C/Message\u003E\u003C/Error\u003E" + ] + }, + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-e3d1d732-37b2-de5c-199f-f58c6018281c?restype=container", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-fd9e0e18a150cf43a03a9f85ef0f1f65-ae910966122d574d-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200413.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-client-request-id": "ebcaf059-9598-b289-4e87-677166194eca", + "x-ms-date": "Mon, 13 Apr 2020 20:24:35 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Mon, 13 Apr 2020 20:24:34 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "ebcaf059-9598-b289-4e87-677166194eca", + "x-ms-request-id": "3e59689a-501e-000b-5fd1-11b6cb000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + } + ], + "Variables": { + "DateTimeOffsetNow": "2020-04-13T13:24:31.9119252-07:00", + "RandomSeed": "2084355876", + "Storage_TestConfigDefault": "ProductionTenant\nseanmcccanary\nU2FuaXRpemVk\nhttps://seanmcccanary.blob.core.windows.net\nhttps://seanmcccanary.file.core.windows.net\nhttps://seanmcccanary.queue.core.windows.net\nhttps://seanmcccanary.table.core.windows.net\n\n\n\n\nhttps://seanmcccanary-secondary.blob.core.windows.net\nhttps://seanmcccanary-secondary.file.core.windows.net\nhttps://seanmcccanary-secondary.queue.core.windows.net\nhttps://seanmcccanary-secondary.table.core.windows.net\n\nSanitized\n\n\nCloud\nBlobEndpoint=https://seanmcccanary.blob.core.windows.net/;QueueEndpoint=https://seanmcccanary.queue.core.windows.net/;FileEndpoint=https://seanmcccanary.file.core.windows.net/;BlobSecondaryEndpoint=https://seanmcccanary-secondary.blob.core.windows.net/;QueueSecondaryEndpoint=https://seanmcccanary-secondary.queue.core.windows.net/;FileSecondaryEndpoint=https://seanmcccanary-secondary.file.core.windows.net/;AccountName=seanmcccanary;AccountKey=Sanitized\nseanscope1" + } +} \ No newline at end of file diff --git a/sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/AppendBlobClientTests/SealAsync_Error.json b/sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/AppendBlobClientTests/SealAsync_Error.json new file mode 100644 index 000000000000..445af3acd22d --- /dev/null +++ b/sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/AppendBlobClientTests/SealAsync_Error.json @@ -0,0 +1,108 @@ +{ + "Entries": [ + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-5d8eba42-ec8b-7053-a768-39c3ddbf5710?restype=container", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-01f004bc7896ed4f9aa5a8e8f994c12d-baafce7640009942-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200412.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-blob-public-access": "container", + "x-ms-client-request-id": "079a4eee-0983-c46a-2e25-48fba106405e", + "x-ms-date": "Mon, 13 Apr 2020 01:09:39 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Mon, 13 Apr 2020 01:09:37 GMT", + "ETag": "\u00220x8D7DF475656D117\u0022", + "Last-Modified": "Mon, 13 Apr 2020 01:09:38 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "079a4eee-0983-c46a-2e25-48fba106405e", + "x-ms-request-id": "d1fb289d-601e-0096-0430-114471000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-5d8eba42-ec8b-7053-a768-39c3ddbf5710/test-blob-4e76a2bf-d395-d930-1166-cf28724cb604?comp=seal", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-ea13a9a44c377242ab8d1ff15e8f0177-8cb0a91d5672f947-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200412.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-client-request-id": "17461c22-6d2c-1b2d-1ec1-f51c3a4151e2", + "x-ms-date": "Mon, 13 Apr 2020 01:09:39 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 404, + "ResponseHeaders": { + "Content-Length": "216", + "Content-Type": "application/xml", + "Date": "Mon, 13 Apr 2020 01:09:37 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "17461c22-6d2c-1b2d-1ec1-f51c3a4151e2", + "x-ms-error-code": "BlobNotFound", + "x-ms-request-id": "d1fb28ac-601e-0096-0e30-114471000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [ + "\uFEFF\u003C?xml version=\u00221.0\u0022 encoding=\u0022utf-8\u0022?\u003E\n", + "\u003CError\u003E\u003CCode\u003EBlobNotFound\u003C/Code\u003E\u003CMessage\u003EThe specified blob does not exist.\n", + "RequestId:d1fb28ac-601e-0096-0e30-114471000000\n", + "Time:2020-04-13T01:09:38.1777759Z\u003C/Message\u003E\u003C/Error\u003E" + ] + }, + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-5d8eba42-ec8b-7053-a768-39c3ddbf5710?restype=container", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-38a34aed2f51144a8552176270a6189f-5574df95c8ca4347-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200412.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-client-request-id": "560647e0-9e05-3ed7-49b9-70635a71db27", + "x-ms-date": "Mon, 13 Apr 2020 01:09:39 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Mon, 13 Apr 2020 01:09:37 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "560647e0-9e05-3ed7-49b9-70635a71db27", + "x-ms-request-id": "d1fb28b2-601e-0096-1330-114471000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + } + ], + "Variables": { + "RandomSeed": "2101763737", + "Storage_TestConfigDefault": "ProductionTenant\nseanmcccanary\nU2FuaXRpemVk\nhttps://seanmcccanary.blob.core.windows.net\nhttps://seanmcccanary.file.core.windows.net\nhttps://seanmcccanary.queue.core.windows.net\nhttps://seanmcccanary.table.core.windows.net\n\n\n\n\nhttps://seanmcccanary-secondary.blob.core.windows.net\nhttps://seanmcccanary-secondary.file.core.windows.net\nhttps://seanmcccanary-secondary.queue.core.windows.net\nhttps://seanmcccanary-secondary.table.core.windows.net\n\nSanitized\n\n\nCloud\nBlobEndpoint=https://seanmcccanary.blob.core.windows.net/;QueueEndpoint=https://seanmcccanary.queue.core.windows.net/;FileEndpoint=https://seanmcccanary.file.core.windows.net/;BlobSecondaryEndpoint=https://seanmcccanary-secondary.blob.core.windows.net/;QueueSecondaryEndpoint=https://seanmcccanary-secondary.queue.core.windows.net/;FileSecondaryEndpoint=https://seanmcccanary-secondary.file.core.windows.net/;AccountName=seanmcccanary;AccountKey=Sanitized\nseanscope1" + } +} \ No newline at end of file diff --git a/sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/AppendBlobClientTests/SealAsync_ErrorAsync.json b/sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/AppendBlobClientTests/SealAsync_ErrorAsync.json new file mode 100644 index 000000000000..27b08fa51ad3 --- /dev/null +++ b/sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/AppendBlobClientTests/SealAsync_ErrorAsync.json @@ -0,0 +1,108 @@ +{ + "Entries": [ + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-3c16d850-3cd9-d0ff-df46-dc116e663fd0?restype=container", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-cd0ecf89f04b5949b13ff00a9845b229-68c0f1f23dae5b4d-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200412.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-blob-public-access": "container", + "x-ms-client-request-id": "085236bc-8bc4-6740-3a27-21ba07a4699d", + "x-ms-date": "Mon, 13 Apr 2020 01:09:47 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Mon, 13 Apr 2020 01:09:45 GMT", + "ETag": "\u00220x8D7DF475B6F9B54\u0022", + "Last-Modified": "Mon, 13 Apr 2020 01:09:46 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "085236bc-8bc4-6740-3a27-21ba07a4699d", + "x-ms-request-id": "b29872a1-e01e-0043-3030-11abfc000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-3c16d850-3cd9-d0ff-df46-dc116e663fd0/test-blob-9fbffbad-8c41-20b5-ef6d-84ceef0a261d?comp=seal", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-506c61a6f2f0be458283c8d9a13b2467-468135d94a9d0349-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200412.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-client-request-id": "ad48b0a2-6101-3002-8132-195706727830", + "x-ms-date": "Mon, 13 Apr 2020 01:09:48 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 404, + "ResponseHeaders": { + "Content-Length": "216", + "Content-Type": "application/xml", + "Date": "Mon, 13 Apr 2020 01:09:45 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "ad48b0a2-6101-3002-8132-195706727830", + "x-ms-error-code": "BlobNotFound", + "x-ms-request-id": "b29872a8-e01e-0043-3530-11abfc000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [ + "\uFEFF\u003C?xml version=\u00221.0\u0022 encoding=\u0022utf-8\u0022?\u003E\n", + "\u003CError\u003E\u003CCode\u003EBlobNotFound\u003C/Code\u003E\u003CMessage\u003EThe specified blob does not exist.\n", + "RequestId:b29872a8-e01e-0043-3530-11abfc000000\n", + "Time:2020-04-13T01:09:46.7288477Z\u003C/Message\u003E\u003C/Error\u003E" + ] + }, + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-3c16d850-3cd9-d0ff-df46-dc116e663fd0?restype=container", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-64ebb22bd874fb48bc2874a6bc1a9269-ebec0e7a6919aa40-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200412.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-client-request-id": "3f2b71ca-79c1-e31b-9624-b5e11db49c42", + "x-ms-date": "Mon, 13 Apr 2020 01:09:48 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Mon, 13 Apr 2020 01:09:46 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "3f2b71ca-79c1-e31b-9624-b5e11db49c42", + "x-ms-request-id": "b29872ae-e01e-0043-3b30-11abfc000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + } + ], + "Variables": { + "RandomSeed": "1126583377", + "Storage_TestConfigDefault": "ProductionTenant\nseanmcccanary\nU2FuaXRpemVk\nhttps://seanmcccanary.blob.core.windows.net\nhttps://seanmcccanary.file.core.windows.net\nhttps://seanmcccanary.queue.core.windows.net\nhttps://seanmcccanary.table.core.windows.net\n\n\n\n\nhttps://seanmcccanary-secondary.blob.core.windows.net\nhttps://seanmcccanary-secondary.file.core.windows.net\nhttps://seanmcccanary-secondary.queue.core.windows.net\nhttps://seanmcccanary-secondary.table.core.windows.net\n\nSanitized\n\n\nCloud\nBlobEndpoint=https://seanmcccanary.blob.core.windows.net/;QueueEndpoint=https://seanmcccanary.queue.core.windows.net/;FileEndpoint=https://seanmcccanary.file.core.windows.net/;BlobSecondaryEndpoint=https://seanmcccanary-secondary.blob.core.windows.net/;QueueSecondaryEndpoint=https://seanmcccanary-secondary.queue.core.windows.net/;FileSecondaryEndpoint=https://seanmcccanary-secondary.file.core.windows.net/;AccountName=seanmcccanary;AccountKey=Sanitized\nseanscope1" + } +} \ No newline at end of file diff --git a/sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/BlobBaseClientTests/StartCopyFromUriAsync_Seal.json b/sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/BlobBaseClientTests/StartCopyFromUriAsync_Seal.json new file mode 100644 index 000000000000..5c8f525e8c8c --- /dev/null +++ b/sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/BlobBaseClientTests/StartCopyFromUriAsync_Seal.json @@ -0,0 +1,233 @@ +{ + "Entries": [ + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-4b90a479-9d8d-5cab-6210-7d565379513b?restype=container", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-929e83ebcc99d24c9408ec9f6f626829-f0c93e0ba5a3e84f-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200414.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-blob-public-access": "container", + "x-ms-client-request-id": "058b73fb-f853-03b9-9511-e9b079b09153", + "x-ms-date": "Tue, 14 Apr 2020 20:12:41 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Tue, 14 Apr 2020 20:12:41 GMT", + "ETag": "\u00220x8D7E0B02FA558F6\u0022", + "Last-Modified": "Tue, 14 Apr 2020 20:12:41 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "058b73fb-f853-03b9-9511-e9b079b09153", + "x-ms-request-id": "e6ef13d3-801e-008e-3299-129b16000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-4b90a479-9d8d-5cab-6210-7d565379513b/test-blob-1b27bd11-5a53-6968-9ec1-60ec84055bdf", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "Content-Length": "0", + "traceparent": "00-c2733bbd778cc24b8fa3cf07e3d6f4d8-cfc6206d0b890f45-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200414.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-blob-type": "AppendBlob", + "x-ms-client-request-id": "f0280ab6-b155-c465-d5ae-bad0053c4348", + "x-ms-date": "Tue, 14 Apr 2020 20:12:41 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Tue, 14 Apr 2020 20:12:41 GMT", + "ETag": "\u00220x8D7E0B02FBB2135\u0022", + "Last-Modified": "Tue, 14 Apr 2020 20:12:41 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "f0280ab6-b155-c465-d5ae-bad0053c4348", + "x-ms-request-id": "e6ef13e8-801e-008e-4099-129b16000000", + "x-ms-request-server-encrypted": "true", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-4b90a479-9d8d-5cab-6210-7d565379513b/test-blob-df5a8887-4ced-78e8-6082-552b2555563a", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-3f418a3c83a23d48aa1cbf9118b3af9a-01db7bfa94e3cb40-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200414.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-client-request-id": "1a75c503-662d-5ee5-60d0-6dadb2d19bcd", + "x-ms-copy-source": "https://seanmcccanary.blob.core.windows.net/test-container-4b90a479-9d8d-5cab-6210-7d565379513b/test-blob-1b27bd11-5a53-6968-9ec1-60ec84055bdf", + "x-ms-date": "Tue, 14 Apr 2020 20:12:42 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-seal-blob": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Tue, 14 Apr 2020 20:12:41 GMT", + "ETag": "\u00220x8D7E0B02FC9A2C9\u0022", + "Last-Modified": "Tue, 14 Apr 2020 20:12:41 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "1a75c503-662d-5ee5-60d0-6dadb2d19bcd", + "x-ms-copy-id": "94739f27-206f-443c-b40d-9286d43895d6", + "x-ms-copy-status": "success", + "x-ms-request-id": "e6ef13f3-801e-008e-4999-129b16000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-4b90a479-9d8d-5cab-6210-7d565379513b/test-blob-df5a8887-4ced-78e8-6082-552b2555563a", + "RequestMethod": "HEAD", + "RequestHeaders": { + "Authorization": "Sanitized", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200414.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-client-request-id": "3fcd27ce-28c7-041a-407e-5e9fabd56715", + "x-ms-date": "Tue, 14 Apr 2020 20:12:42 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Accept-Ranges": "bytes", + "Content-Length": "0", + "Content-Type": "application/octet-stream", + "Date": "Tue, 14 Apr 2020 20:12:41 GMT", + "ETag": "\u00220x8D7E0B02FC9A2C9\u0022", + "Last-Modified": "Tue, 14 Apr 2020 20:12:41 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-blob-committed-block-count": "0", + "x-ms-blob-sealed": "true", + "x-ms-blob-type": "AppendBlob", + "x-ms-client-request-id": "3fcd27ce-28c7-041a-407e-5e9fabd56715", + "x-ms-copy-completion-time": "Tue, 14 Apr 2020 20:12:41 GMT", + "x-ms-copy-id": "94739f27-206f-443c-b40d-9286d43895d6", + "x-ms-copy-progress": "0/0", + "x-ms-copy-source": "https://seanmcccanary.blob.core.windows.net/test-container-4b90a479-9d8d-5cab-6210-7d565379513b/test-blob-1b27bd11-5a53-6968-9ec1-60ec84055bdf", + "x-ms-copy-status": "success", + "x-ms-creation-time": "Tue, 14 Apr 2020 20:12:41 GMT", + "x-ms-lease-state": "available", + "x-ms-lease-status": "unlocked", + "x-ms-request-id": "e6ef1400-801e-008e-5399-129b16000000", + "x-ms-server-encrypted": "true", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-4b90a479-9d8d-5cab-6210-7d565379513b/test-blob-df5a8887-4ced-78e8-6082-552b2555563a", + "RequestMethod": "HEAD", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-6d4efe40ee88a1448e9e61b32d82f4a6-cbcd244d15098642-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200414.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-client-request-id": "8bdeeef1-5b04-b506-0322-3372637ff2b2", + "x-ms-date": "Tue, 14 Apr 2020 20:12:42 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Accept-Ranges": "bytes", + "Content-Length": "0", + "Content-Type": "application/octet-stream", + "Date": "Tue, 14 Apr 2020 20:12:41 GMT", + "ETag": "\u00220x8D7E0B02FC9A2C9\u0022", + "Last-Modified": "Tue, 14 Apr 2020 20:12:41 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-blob-committed-block-count": "0", + "x-ms-blob-sealed": "true", + "x-ms-blob-type": "AppendBlob", + "x-ms-client-request-id": "8bdeeef1-5b04-b506-0322-3372637ff2b2", + "x-ms-copy-completion-time": "Tue, 14 Apr 2020 20:12:41 GMT", + "x-ms-copy-id": "94739f27-206f-443c-b40d-9286d43895d6", + "x-ms-copy-progress": "0/0", + "x-ms-copy-source": "https://seanmcccanary.blob.core.windows.net/test-container-4b90a479-9d8d-5cab-6210-7d565379513b/test-blob-1b27bd11-5a53-6968-9ec1-60ec84055bdf", + "x-ms-copy-status": "success", + "x-ms-creation-time": "Tue, 14 Apr 2020 20:12:41 GMT", + "x-ms-lease-state": "available", + "x-ms-lease-status": "unlocked", + "x-ms-request-id": "e6ef140e-801e-008e-5d99-129b16000000", + "x-ms-server-encrypted": "true", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-4b90a479-9d8d-5cab-6210-7d565379513b?restype=container", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-26a604d56c682b40af2272448b0121a2-f5cda67e2367bd4a-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200414.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-client-request-id": "bcae98fc-dcf6-c210-0037-c40d3830de25", + "x-ms-date": "Tue, 14 Apr 2020 20:12:42 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Tue, 14 Apr 2020 20:12:41 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "bcae98fc-dcf6-c210-0037-c40d3830de25", + "x-ms-request-id": "e6ef1417-801e-008e-6399-129b16000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + } + ], + "Variables": { + "RandomSeed": "1584755574", + "Storage_TestConfigDefault": "ProductionTenant\nseanmcccanary\nU2FuaXRpemVk\nhttps://seanmcccanary.blob.core.windows.net\nhttps://seanmcccanary.file.core.windows.net\nhttps://seanmcccanary.queue.core.windows.net\nhttps://seanmcccanary.table.core.windows.net\n\n\n\n\nhttps://seanmcccanary-secondary.blob.core.windows.net\nhttps://seanmcccanary-secondary.file.core.windows.net\nhttps://seanmcccanary-secondary.queue.core.windows.net\nhttps://seanmcccanary-secondary.table.core.windows.net\n\nSanitized\n\n\nCloud\nBlobEndpoint=https://seanmcccanary.blob.core.windows.net/;QueueEndpoint=https://seanmcccanary.queue.core.windows.net/;FileEndpoint=https://seanmcccanary.file.core.windows.net/;BlobSecondaryEndpoint=https://seanmcccanary-secondary.blob.core.windows.net/;QueueSecondaryEndpoint=https://seanmcccanary-secondary.queue.core.windows.net/;FileSecondaryEndpoint=https://seanmcccanary-secondary.file.core.windows.net/;AccountName=seanmcccanary;AccountKey=Sanitized\nseanscope1" + } +} \ No newline at end of file diff --git a/sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/BlobBaseClientTests/StartCopyFromUriAsync_SealAsync.json b/sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/BlobBaseClientTests/StartCopyFromUriAsync_SealAsync.json new file mode 100644 index 000000000000..cb9b8c29536e --- /dev/null +++ b/sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/BlobBaseClientTests/StartCopyFromUriAsync_SealAsync.json @@ -0,0 +1,233 @@ +{ + "Entries": [ + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-d86ebd28-d324-65b0-94c1-a44729954106?restype=container", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-70a5756716556547b69b91360fa9ba90-c888900bf1921643-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200414.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-blob-public-access": "container", + "x-ms-client-request-id": "b5137f4d-d4ac-548b-4c7c-4d91ac94c996", + "x-ms-date": "Tue, 14 Apr 2020 20:12:42 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Tue, 14 Apr 2020 20:12:41 GMT", + "ETag": "\u00220x8D7E0B03031F208\u0022", + "Last-Modified": "Tue, 14 Apr 2020 20:12:42 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "b5137f4d-d4ac-548b-4c7c-4d91ac94c996", + "x-ms-request-id": "892a0a21-a01e-0030-4e99-12f36f000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-d86ebd28-d324-65b0-94c1-a44729954106/test-blob-7735740a-6861-36d7-7989-aef677c95188", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "Content-Length": "0", + "traceparent": "00-fe51ad4b8a47c646817f278e4831d868-35ebbee7ebb2c341-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200414.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-blob-type": "AppendBlob", + "x-ms-client-request-id": "185dc42b-1e9a-7f14-1b21-6d1ae6a291c6", + "x-ms-date": "Tue, 14 Apr 2020 20:12:42 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Tue, 14 Apr 2020 20:12:41 GMT", + "ETag": "\u00220x8D7E0B0303F5D3D\u0022", + "Last-Modified": "Tue, 14 Apr 2020 20:12:42 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "185dc42b-1e9a-7f14-1b21-6d1ae6a291c6", + "x-ms-request-id": "892a0a47-a01e-0030-6d99-12f36f000000", + "x-ms-request-server-encrypted": "true", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-d86ebd28-d324-65b0-94c1-a44729954106/test-blob-aaf99333-8b82-1359-0947-8135a4b23895", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-d2ee59741062d343bd79fbcce59735bf-9708442523c6304e-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200414.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-client-request-id": "df09fe6a-1f55-45fb-b05d-84b4a994fe05", + "x-ms-copy-source": "https://seanmcccanary.blob.core.windows.net/test-container-d86ebd28-d324-65b0-94c1-a44729954106/test-blob-7735740a-6861-36d7-7989-aef677c95188", + "x-ms-date": "Tue, 14 Apr 2020 20:12:42 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-seal-blob": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Tue, 14 Apr 2020 20:12:41 GMT", + "ETag": "\u00220x8D7E0B0304D4278\u0022", + "Last-Modified": "Tue, 14 Apr 2020 20:12:42 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "df09fe6a-1f55-45fb-b05d-84b4a994fe05", + "x-ms-copy-id": "47b247b8-c647-4bf4-b02e-d028065348c9", + "x-ms-copy-status": "success", + "x-ms-request-id": "892a0a66-a01e-0030-0a99-12f36f000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-d86ebd28-d324-65b0-94c1-a44729954106/test-blob-aaf99333-8b82-1359-0947-8135a4b23895", + "RequestMethod": "HEAD", + "RequestHeaders": { + "Authorization": "Sanitized", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200414.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-client-request-id": "e8aff834-b198-3171-1d4c-028f2cfe734f", + "x-ms-date": "Tue, 14 Apr 2020 20:12:42 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Accept-Ranges": "bytes", + "Content-Length": "0", + "Content-Type": "application/octet-stream", + "Date": "Tue, 14 Apr 2020 20:12:41 GMT", + "ETag": "\u00220x8D7E0B0304D4278\u0022", + "Last-Modified": "Tue, 14 Apr 2020 20:12:42 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-blob-committed-block-count": "0", + "x-ms-blob-sealed": "true", + "x-ms-blob-type": "AppendBlob", + "x-ms-client-request-id": "e8aff834-b198-3171-1d4c-028f2cfe734f", + "x-ms-copy-completion-time": "Tue, 14 Apr 2020 20:12:42 GMT", + "x-ms-copy-id": "47b247b8-c647-4bf4-b02e-d028065348c9", + "x-ms-copy-progress": "0/0", + "x-ms-copy-source": "https://seanmcccanary.blob.core.windows.net/test-container-d86ebd28-d324-65b0-94c1-a44729954106/test-blob-7735740a-6861-36d7-7989-aef677c95188", + "x-ms-copy-status": "success", + "x-ms-creation-time": "Tue, 14 Apr 2020 20:12:42 GMT", + "x-ms-lease-state": "available", + "x-ms-lease-status": "unlocked", + "x-ms-request-id": "892a0a82-a01e-0030-2499-12f36f000000", + "x-ms-server-encrypted": "true", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-d86ebd28-d324-65b0-94c1-a44729954106/test-blob-aaf99333-8b82-1359-0947-8135a4b23895", + "RequestMethod": "HEAD", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-ec7f3a42fd066a47b5725383b0d5ddaa-b37e56fd86fb7f49-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200414.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-client-request-id": "b0809f2d-15e5-9a6d-03a0-efb727064c13", + "x-ms-date": "Tue, 14 Apr 2020 20:12:43 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Accept-Ranges": "bytes", + "Content-Length": "0", + "Content-Type": "application/octet-stream", + "Date": "Tue, 14 Apr 2020 20:12:41 GMT", + "ETag": "\u00220x8D7E0B0304D4278\u0022", + "Last-Modified": "Tue, 14 Apr 2020 20:12:42 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-blob-committed-block-count": "0", + "x-ms-blob-sealed": "true", + "x-ms-blob-type": "AppendBlob", + "x-ms-client-request-id": "b0809f2d-15e5-9a6d-03a0-efb727064c13", + "x-ms-copy-completion-time": "Tue, 14 Apr 2020 20:12:42 GMT", + "x-ms-copy-id": "47b247b8-c647-4bf4-b02e-d028065348c9", + "x-ms-copy-progress": "0/0", + "x-ms-copy-source": "https://seanmcccanary.blob.core.windows.net/test-container-d86ebd28-d324-65b0-94c1-a44729954106/test-blob-7735740a-6861-36d7-7989-aef677c95188", + "x-ms-copy-status": "success", + "x-ms-creation-time": "Tue, 14 Apr 2020 20:12:42 GMT", + "x-ms-lease-state": "available", + "x-ms-lease-status": "unlocked", + "x-ms-request-id": "892a0aa8-a01e-0030-4599-12f36f000000", + "x-ms-server-encrypted": "true", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seanmcccanary.blob.core.windows.net/test-container-d86ebd28-d324-65b0-94c1-a44729954106?restype=container", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-5170ebfe14976045b651410d7caedc9a-b3a7a7d52d7eb64a-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200414.1", + "(.NET Core 4.6.28325.01; Microsoft Windows 10.0.18362 )" + ], + "x-ms-client-request-id": "8d62c122-c37e-006a-8fbf-d6c3f1ba1960", + "x-ms-date": "Tue, 14 Apr 2020 20:12:43 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Tue, 14 Apr 2020 20:12:41 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "8d62c122-c37e-006a-8fbf-d6c3f1ba1960", + "x-ms-request-id": "892a0abf-a01e-0030-5a99-12f36f000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + } + ], + "Variables": { + "RandomSeed": "762322570", + "Storage_TestConfigDefault": "ProductionTenant\nseanmcccanary\nU2FuaXRpemVk\nhttps://seanmcccanary.blob.core.windows.net\nhttps://seanmcccanary.file.core.windows.net\nhttps://seanmcccanary.queue.core.windows.net\nhttps://seanmcccanary.table.core.windows.net\n\n\n\n\nhttps://seanmcccanary-secondary.blob.core.windows.net\nhttps://seanmcccanary-secondary.file.core.windows.net\nhttps://seanmcccanary-secondary.queue.core.windows.net\nhttps://seanmcccanary-secondary.table.core.windows.net\n\nSanitized\n\n\nCloud\nBlobEndpoint=https://seanmcccanary.blob.core.windows.net/;QueueEndpoint=https://seanmcccanary.queue.core.windows.net/;FileEndpoint=https://seanmcccanary.file.core.windows.net/;BlobSecondaryEndpoint=https://seanmcccanary-secondary.blob.core.windows.net/;QueueSecondaryEndpoint=https://seanmcccanary-secondary.queue.core.windows.net/;FileSecondaryEndpoint=https://seanmcccanary-secondary.file.core.windows.net/;AccountName=seanmcccanary;AccountKey=Sanitized\nseanscope1" + } +} \ No newline at end of file