diff --git a/sdk/storage/Azure.Storage.Blobs/src/BlobBaseClient.cs b/sdk/storage/Azure.Storage.Blobs/src/BlobBaseClient.cs index c8828379d636..f0e3fecd2002 100644 --- a/sdk/storage/Azure.Storage.Blobs/src/BlobBaseClient.cs +++ b/sdk/storage/Azure.Storage.Blobs/src/BlobBaseClient.cs @@ -3389,6 +3389,7 @@ private async Task SetAccessTierInternal( version: Version.ToVersionString(), rehydratePriority: rehydratePriority, leaseId: conditions?.LeaseId, + ifTags: conditions?.TagConditions, async: async, operationName: "BlobBaseClient.SetAccessTier", cancellationToken: cancellationToken) diff --git a/sdk/storage/Azure.Storage.Blobs/src/Generated/BlobRestClient.cs b/sdk/storage/Azure.Storage.Blobs/src/Generated/BlobRestClient.cs index dbe785bd87a2..d85d2bee667b 100644 --- a/sdk/storage/Azure.Storage.Blobs/src/Generated/BlobRestClient.cs +++ b/sdk/storage/Azure.Storage.Blobs/src/Generated/BlobRestClient.cs @@ -8287,6 +8287,7 @@ internal static Azure.Response AbortCopyFromUriAsync_CreateResponse( /// Optional: Indicates the priority with which to rehydrate an archived blob. /// Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled. /// If specified, the operation only succeeds if the resource's lease is active and matches this ID. + /// Specify a SQL where clause on blob tags to operate only on blobs with a matching value. /// Whether to invoke the operation asynchronously. The default value is true. /// Operation name. /// Cancellation token. @@ -8303,6 +8304,7 @@ internal static Azure.Response AbortCopyFromUriAsync_CreateResponse( Azure.Storage.Blobs.Models.RehydratePriority? rehydratePriority = default, string requestId = default, string leaseId = default, + string ifTags = default, bool async = true, string operationName = "BlobClient.SetAccessTier", System.Threading.CancellationToken cancellationToken = default) @@ -8322,7 +8324,8 @@ internal static Azure.Response AbortCopyFromUriAsync_CreateResponse( timeout, rehydratePriority, requestId, - leaseId)) + leaseId, + ifTags)) { if (async) { @@ -8364,6 +8367,7 @@ internal static Azure.Response AbortCopyFromUriAsync_CreateResponse( /// Optional: Indicates the priority with which to rehydrate an archived blob. /// Provides a client-generated, opaque value with a 1 KB character limit that is recorded in the analytics logs when storage analytics logging is enabled. /// If specified, the operation only succeeds if the resource's lease is active and matches this ID. + /// Specify a SQL where clause on blob tags to operate only on blobs with a matching value. /// The Blob.SetAccessTierAsync Message. internal static Azure.Core.HttpMessage SetAccessTierAsync_CreateMessage( Azure.Core.Pipeline.HttpPipeline pipeline, @@ -8375,7 +8379,8 @@ internal static Azure.Core.HttpMessage SetAccessTierAsync_CreateMessage( int? timeout = default, Azure.Storage.Blobs.Models.RehydratePriority? rehydratePriority = default, string requestId = default, - string leaseId = default) + string leaseId = default, + string ifTags = default) { // Validation if (resourceUri == null) @@ -8405,6 +8410,7 @@ internal static Azure.Core.HttpMessage SetAccessTierAsync_CreateMessage( if (rehydratePriority != null) { _request.Headers.SetValue("x-ms-rehydrate-priority", rehydratePriority.Value.ToString()); } if (requestId != null) { _request.Headers.SetValue("x-ms-client-request-id", requestId); } if (leaseId != null) { _request.Headers.SetValue("x-ms-lease-id", leaseId); } + if (ifTags != null) { _request.Headers.SetValue("x-ms-if-tags", ifTags); } return _message; } diff --git a/sdk/storage/Azure.Storage.Blobs/tests/BlobBaseClientTests.cs b/sdk/storage/Azure.Storage.Blobs/tests/BlobBaseClientTests.cs index b66d768b6d01..b763da355db8 100644 --- a/sdk/storage/Azure.Storage.Blobs/tests/BlobBaseClientTests.cs +++ b/sdk/storage/Azure.Storage.Blobs/tests/BlobBaseClientTests.cs @@ -4452,6 +4452,51 @@ await TestHelper.AssertExpectedExceptionAsync( e => Assert.AreEqual("LeaseNotPresentWithBlobOperation", e.ErrorCode)); } + [Test] + [ServiceVersion(Min = BlobClientOptions.ServiceVersion.V2019_12_12)] + public async Task SetTierAsync_IfTags() + { + // Arrange + await using DisposingContainer test = await GetTestContainerAsync(); + BlobBaseClient blob = await GetNewBlobClient(test.Container); + Dictionary tags = new Dictionary + { + { "coolTag", "true" } + }; + await blob.SetTagsAsync(tags); + + BlobRequestConditions conditions = new BlobRequestConditions + { + TagConditions = "\"coolTag\" = 'true'" + }; + + // Act + await blob.SetAccessTierAsync( + accessTier: AccessTier.Cool, + conditions: conditions); + } + + [Test] + [ServiceVersion(Min = BlobClientOptions.ServiceVersion.V2019_12_12)] + public async Task SetTierAsync_IfTags_Failed() + { + // Arrange + await using DisposingContainer test = await GetTestContainerAsync(); + BlobBaseClient blob = await GetNewBlobClient(test.Container); + + BlobRequestConditions conditions = new BlobRequestConditions + { + TagConditions = "\"coolTag\" = 'true'" + }; + + // Act + await TestHelper.AssertExpectedExceptionAsync( + blob.SetAccessTierAsync( + accessTier: AccessTier.Cool, + conditions: conditions), + e => Assert.AreEqual(BlobErrorCode.ConditionNotMet.ToString(), e.ErrorCode)); + } + [Test] public async Task SetTierAsync_Error() { diff --git a/sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/BlobBaseClientTests/SetTierAsync_IfTags.json b/sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/BlobBaseClientTests/SetTierAsync_IfTags.json new file mode 100644 index 000000000000..f74622035ab9 --- /dev/null +++ b/sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/BlobBaseClientTests/SetTierAsync_IfTags.json @@ -0,0 +1,171 @@ +{ + "Entries": [ + { + "RequestUri": "https://seandevtest.blob.core.windows.net/test-container-fd183636-523e-320a-657e-808c58193a5e?restype=container", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-5ebbb223a21f6746b252c829df711d70-e54675cb85b84243-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200710.1", + "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18362 )" + ], + "x-ms-blob-public-access": "container", + "x-ms-client-request-id": "4d1d52a0-2f11-2801-00e8-ce81f8ef79a4", + "x-ms-date": "Fri, 10 Jul 2020 19:40:20 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 10 Jul 2020 19:40:21 GMT", + "ETag": "\u00220x8D82509154DB10E\u0022", + "Last-Modified": "Fri, 10 Jul 2020 19:40:21 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "4d1d52a0-2f11-2801-00e8-ce81f8ef79a4", + "x-ms-request-id": "b4e8fa02-901e-0027-4cf1-569043000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seandevtest.blob.core.windows.net/test-container-fd183636-523e-320a-657e-808c58193a5e/test-blob-c1d45c69-0205-8b0e-d367-2ac30c29edbf", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "Content-Length": "1024", + "traceparent": "00-b63714723573d841b0537d8351511d17-e120b3ff185cf440-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200710.1", + "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18362 )" + ], + "x-ms-blob-type": "BlockBlob", + "x-ms-client-request-id": "c4721a2d-3b30-061c-c456-e832203c2051", + "x-ms-date": "Fri, 10 Jul 2020 19:40:21 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": "237sBvztTHK04y292\u002BG44gCheOjR4fyeQ5F6qQQ\u002BG9b6DqZ6A3KofA9iDSLUULDxr0jDarEF7vqBTsJqcqNtdsdWwsw7Pd\u002BN\u002BfzYb9PZyfPhiPm8erEl9SCr\u002BLWwPQlr9JdbfY3jtnJoNXG0LH4mqITPiOqpsfsVMc2sj0Up3bvybXo8fUxl/tGHU0VAcMihhVAx4LUewUKcRUzANycsP1e1wr8E6So3aokYIl611cAFCgn1\u002BP0G06s3oDgApceqWhTuiq4InZwl\u002BXUrBZ/k5m\u002BLuiwdN0ZZr\u002B4UzEnyN8XCbshKx0sR/Gxtz/6I2s4MUrnIdOqajCLNlNvA9NBSMsKvaZfWmh8ker7AsGdI0dQgCHmPKsPbJ\u002BKlfTJvUQicGpw82HE2Nbiao/kr2tu6hMIHoOxWwgj/1EG0MB3stSm1I5XKC/li6dLB9YbJr00G6/hvaLAcRVeUPQMwggSbre7QdbZF73nJpLcZlc2CNST0rUUkfEx4md49Ns71MmfNJkiX\u002BDmWwft/psP5ArCKEgffPNS/djChV9zYB7ir1HJPTG\u002BF6jzrXexJpdaIf5ctsyTGFvWSDq8X9aFdvblC1NFRqbZBBSjL9N7nddBZGdhEqlSU5L58vT2/bfSbjaAzB9EEN9Xh7K78\u002ByEXqpnfvdzIGRJkru8T1Ox4gZczL2Y\u002BtG3\u002BVOECYr6mmOmcZRKj368X0nSNzlni8WPpaGoWyMu72PYr4Gj7xrZUvhUFd27Z1KHoHF3yseUUG2N\u002BGfpTj9Ae4Y0ceP5GHAy9OA9D3Xr0EJTJLqtuyCYQF8UFfKy8AS9F5pbhvFyioQBQNHnW0D7pighmiWEksBhmDGA5QZ9fATbg/vbjE1M3JoyrHZOtOkaGG/KjVXfNIDZ9erD7aV9g8DJC9dJHBXe1LmPUeZKFuNIasyWtu6u\u002BEt2/ZpijO7wsSixgakR0PhV77icT\u002Baek\u002BMHd4bY6szWGhOP0iJ/eEfKnpy5lJE6OpXQPMc2Eqhg2Gm7WxloG8pf32eZhgLZ2nN00bFJ4P9RzTztCKoFoAtnKvW0xCEuYoLSXbUpnLCW9mZXvUD3GvduaYnYfxMgVj9cNl8JJRZORnMyd4dKJDCIVhJHseLGbAwCRl6bUedvsgd1yWpVjc1QBXbRwKdsJEFVUCT83KBclcZPCt63tvSLxsV/0FrKMshE96xr9KtokiIZQgG\u002BbtVnGTOgCoLumE6CRf3h8Ffmjx1Yu\u002Bjz9KEa5ni8mnTyzVfsGLsnJihJVl9d5bKphp3ONrbkZbLscyCSiSAGMf3Zj3ip8deYv2TxE2WNkg7ubV/a8me\u002BDmehA6WWlJ0IQyRdhFo6A5TGMXdN81ZJYt0VpBvALzw==", + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Content-MD5": "MEZhYGGsUM/dmkPSlKwR/Q==", + "Date": "Fri, 10 Jul 2020 19:40:21 GMT", + "ETag": "\u00220x8D825091567B159\u0022", + "Last-Modified": "Fri, 10 Jul 2020 19:40:21 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "c4721a2d-3b30-061c-c456-e832203c2051", + "x-ms-content-crc64": "xck5BlsBbFc=", + "x-ms-request-id": "b4e8fad1-901e-0027-06f1-569043000000", + "x-ms-request-server-encrypted": "true", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seandevtest.blob.core.windows.net/test-container-fd183636-523e-320a-657e-808c58193a5e/test-blob-c1d45c69-0205-8b0e-d367-2ac30c29edbf?comp=tags", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "Content-Length": "78", + "Content-Type": "application/xml", + "traceparent": "00-b8bc75bba4d4cb449d3737915e2c6084-0f479f9588a21b4d-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200710.1", + "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18362 )" + ], + "x-ms-client-request-id": "eb3bd7b3-467d-a99e-6ad9-80eb5259614e", + "x-ms-date": "Fri, 10 Jul 2020 19:40:21 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": "\u003CTags\u003E\u003CTagSet\u003E\u003CTag\u003E\u003CKey\u003EcoolTag\u003C/Key\u003E\u003CValue\u003Etrue\u003C/Value\u003E\u003C/Tag\u003E\u003C/TagSet\u003E\u003C/Tags\u003E", + "StatusCode": 204, + "ResponseHeaders": { + "Date": "Fri, 10 Jul 2020 19:40:21 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "eb3bd7b3-467d-a99e-6ad9-80eb5259614e", + "x-ms-request-id": "b4e8fb4a-901e-0027-73f1-569043000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seandevtest.blob.core.windows.net/test-container-fd183636-523e-320a-657e-808c58193a5e/test-blob-c1d45c69-0205-8b0e-d367-2ac30c29edbf?comp=tier", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-d434f896695c134e9d437d30894a3d46-08d490969163024d-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200710.1", + "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18362 )" + ], + "x-ms-access-tier": "Cool", + "x-ms-client-request-id": "497edbd3-3500-bed3-5b88-705dc954574c", + "x-ms-date": "Fri, 10 Jul 2020 19:40:21 GMT", + "x-ms-if-tags": "\u0022coolTag\u0022 = \u0027true\u0027", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 10 Jul 2020 19:40:21 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "497edbd3-3500-bed3-5b88-705dc954574c", + "x-ms-request-id": "b4e8fbeb-901e-0027-0ff1-569043000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seandevtest.blob.core.windows.net/test-container-fd183636-523e-320a-657e-808c58193a5e?restype=container", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-6cfde2d085c8664798fd18ce8fe4bf22-fcf5ced20a34db49-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200710.1", + "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18362 )" + ], + "x-ms-client-request-id": "76175c55-17da-5c4d-d36f-bb8fb8da1a86", + "x-ms-date": "Fri, 10 Jul 2020 19:40:21 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 10 Jul 2020 19:40:21 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "76175c55-17da-5c4d-d36f-bb8fb8da1a86", + "x-ms-request-id": "b4e8fc5f-901e-0027-7af1-569043000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + } + ], + "Variables": { + "RandomSeed": "208413686", + "Storage_TestConfigDefault": "ProductionTenant\nseandevtest\nU2FuaXRpemVk\nhttps://seandevtest.blob.core.windows.net\nhttps://seandevtest.file.core.windows.net\nhttps://seandevtest.queue.core.windows.net\nhttps://seandevtest.table.core.windows.net\n\n\n\n\nhttps://seandevtest-secondary.blob.core.windows.net\nhttps://seandevtest-secondary.file.core.windows.net\nhttps://seandevtest-secondary.queue.core.windows.net\nhttps://seandevtest-secondary.table.core.windows.net\n\nSanitized\n\n\nCloud\nBlobEndpoint=https://seandevtest.blob.core.windows.net/;QueueEndpoint=https://seandevtest.queue.core.windows.net/;FileEndpoint=https://seandevtest.file.core.windows.net/;BlobSecondaryEndpoint=https://seandevtest-secondary.blob.core.windows.net/;QueueSecondaryEndpoint=https://seandevtest-secondary.queue.core.windows.net/;FileSecondaryEndpoint=https://seandevtest-secondary.file.core.windows.net/;AccountName=seandevtest;AccountKey=Kg==;\nseanscope1" + } +} \ No newline at end of file diff --git a/sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/BlobBaseClientTests/SetTierAsync_IfTagsAsync.json b/sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/BlobBaseClientTests/SetTierAsync_IfTagsAsync.json new file mode 100644 index 000000000000..e1ea872b734c --- /dev/null +++ b/sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/BlobBaseClientTests/SetTierAsync_IfTagsAsync.json @@ -0,0 +1,171 @@ +{ + "Entries": [ + { + "RequestUri": "https://seandevtest.blob.core.windows.net/test-container-4be08d2b-aad9-3c8d-9b81-7babd53dff6e?restype=container", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-727601439e55ee43852f21ac82107147-47795da4cdc74c4a-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200710.1", + "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18362 )" + ], + "x-ms-blob-public-access": "container", + "x-ms-client-request-id": "d6664135-268a-e377-bf26-53fc48a8c5aa", + "x-ms-date": "Fri, 10 Jul 2020 19:40:22 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 10 Jul 2020 19:40:22 GMT", + "ETag": "\u00220x8D825091617DE6D\u0022", + "Last-Modified": "Fri, 10 Jul 2020 19:40:22 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "d6664135-268a-e377-bf26-53fc48a8c5aa", + "x-ms-request-id": "2ac51dac-301e-0021-51f1-56673b000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seandevtest.blob.core.windows.net/test-container-4be08d2b-aad9-3c8d-9b81-7babd53dff6e/test-blob-368ec7b4-6328-d030-5fd4-673e653328d5", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "Content-Length": "1024", + "traceparent": "00-753265100a16d34481c235af31e6b6dd-aa89ec29c7b8cc44-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200710.1", + "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18362 )" + ], + "x-ms-blob-type": "BlockBlob", + "x-ms-client-request-id": "ff57f635-2d2f-62e7-be60-759037e3584c", + "x-ms-date": "Fri, 10 Jul 2020 19:40:22 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": "Y3F1lNco4y0Xnc6KBzHCO9WapUw35\u002BHSEZZ2tb85fYv9fpjWMjHTi\u002BNgH4qUpcguEixoy47cnXyQo4NAsi5u3iBCjImY6wikxxlp1shWPWvNR6KT0bH8IeAcRo\u002Btktm18kBqURk/liYjwwR1csezOWUXc2qL2w1uRmupfKV59zQ/tOSH7OxSjrF7cA2th64YaAwplh9vKRYz\u002BwutlhqBqczPNr7jLE15xeW5D2v/wL68kBOYT2AV0IrNU/DgpPeW\u002BsZB3VDvNTy\u002BsNA6thqrNDpM8QUG6FprumUzFdlcmCDtIhWkveNuzFvX2Z6Q2hpwIR62lLPyjxFs1iPruyBjYhiwTZMEB3dX3iSqLw67299Lw/O6pgRt\u002BpIDOOe/gxE6dHeG4I2GaxqnXrWPSGACsftDn/gsqLwUQlIBAc6PmFsTb7uXNPtRxVfZEkdO3rIxAIfse\u002BMYDsu7cp07hGpMF8ZZe9ila3z/8tmgUpZ0xWSgzwBHoxx3\u002BmDv28JdFkHtjfuB9GLZjJUL7IkKd7s1R6w4mrRqBHOq4oF4tZC5oduYs8Wb89ACx0NrPLeTbYKkupQVJXuMg4iH1xLgYNcFUUqtcsT2mlPcNtNx/8i8FnT\u002B0/r7o3xgCzA9Exy9IWZrZeps5vu\u002BriBAOe6nG4TAysCd4o3cCa7NTGaTuIY3HhVtBZndTzB5PyXau2qNuO\u002BsfUlcID/Yj1w8n5mUKvWZCBrZOhbq4nuPJKJoAk5DP5R25zs92/7WlHY9obCX5BQvQLJPtH7ZwZrNzPuccI0N\u002BF8EHkO6XC0bA6WgrUDK9z\u002BNOcGc9IsWnSWgbw8DOSToL6lRksbRdeOENLDZORNaAtS8DzfLcATT7oAeGe0eGMqAt36XeWV5vMTdGL/bPGQRRmw6RirtHb\u002BlfaRFs1v2ZhvmWIGVw4lvQ1Jz7VhE\u002BLEcDNKA49Gfk5q/8fvAMwlo57Gj9OTifIPjywPXeS9mYIXyKKaIdoJKRsTn1tGNrg9JCgamoAPMOpBPnRjNxxlqWJB1zQpi33EvWa0f\u002BqWxVhz0jm4ov8CCJe4WOdhqfH6rfH5AF\u002BEF5yuVd0ZVrT/qnkb72TmqQZjQ86cbS6aYxN0vdH4ncD4776ZDk0h5LXivLJqRbqJFADrlcCQ56ZyE/bJpJjnBwy0IwOqTZq5QVsYvbB8LBlY66XNDQQAaAQUKv5WVEAc/7mhtia24sZmMlBldCn19ePdcLjzFfYEs7b7kiacZu0a/7322nXyogjjat63nvPeIjEaeOOHKenDmQZvv0yjxctjTnhr/xtp6tKwE68bURTHGXPxhe4Nk9HUM0Fzgua4P6ETUEx3dicZrI4Q1xo6qEftqKHcskPdVbg==", + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Content-MD5": "7cNHMzxbJNiRHCrDiU0a5Q==", + "Date": "Fri, 10 Jul 2020 19:40:22 GMT", + "ETag": "\u00220x8D8250916294F9C\u0022", + "Last-Modified": "Fri, 10 Jul 2020 19:40:22 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "ff57f635-2d2f-62e7-be60-759037e3584c", + "x-ms-content-crc64": "p5tOpZyl1Tk=", + "x-ms-request-id": "2ac51df2-301e-0021-14f1-56673b000000", + "x-ms-request-server-encrypted": "true", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seandevtest.blob.core.windows.net/test-container-4be08d2b-aad9-3c8d-9b81-7babd53dff6e/test-blob-368ec7b4-6328-d030-5fd4-673e653328d5?comp=tags", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "Content-Length": "78", + "Content-Type": "application/xml", + "traceparent": "00-25e285166cb97846b81ddfd6ef522c53-fc96118af9bac14a-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200710.1", + "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18362 )" + ], + "x-ms-client-request-id": "99f6a43e-569f-7c3f-bd8f-371d246ac611", + "x-ms-date": "Fri, 10 Jul 2020 19:40:22 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": "\u003CTags\u003E\u003CTagSet\u003E\u003CTag\u003E\u003CKey\u003EcoolTag\u003C/Key\u003E\u003CValue\u003Etrue\u003C/Value\u003E\u003C/Tag\u003E\u003C/TagSet\u003E\u003C/Tags\u003E", + "StatusCode": 204, + "ResponseHeaders": { + "Date": "Fri, 10 Jul 2020 19:40:22 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "99f6a43e-569f-7c3f-bd8f-371d246ac611", + "x-ms-request-id": "2ac51e20-301e-0021-3df1-56673b000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seandevtest.blob.core.windows.net/test-container-4be08d2b-aad9-3c8d-9b81-7babd53dff6e/test-blob-368ec7b4-6328-d030-5fd4-673e653328d5?comp=tier", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-899e94db163a56428e3d4a4035b059bd-7a4b85a909841443-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200710.1", + "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18362 )" + ], + "x-ms-access-tier": "Cool", + "x-ms-client-request-id": "92511e96-beec-28ac-65f6-7b0698cf641e", + "x-ms-date": "Fri, 10 Jul 2020 19:40:22 GMT", + "x-ms-if-tags": "\u0022coolTag\u0022 = \u0027true\u0027", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 200, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 10 Jul 2020 19:40:22 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "92511e96-beec-28ac-65f6-7b0698cf641e", + "x-ms-request-id": "2ac51e7e-301e-0021-15f1-56673b000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seandevtest.blob.core.windows.net/test-container-4be08d2b-aad9-3c8d-9b81-7babd53dff6e?restype=container", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-75fd6cf444869d4098595e8859ba1319-5cff6ebff7efc048-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200710.1", + "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18362 )" + ], + "x-ms-client-request-id": "06868a55-3318-eb24-8858-26a83436cc39", + "x-ms-date": "Fri, 10 Jul 2020 19:40:22 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 10 Jul 2020 19:40:22 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "06868a55-3318-eb24-8858-26a83436cc39", + "x-ms-request-id": "2ac51eb6-301e-0021-48f1-56673b000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + } + ], + "Variables": { + "RandomSeed": "340378308", + "Storage_TestConfigDefault": "ProductionTenant\nseandevtest\nU2FuaXRpemVk\nhttps://seandevtest.blob.core.windows.net\nhttps://seandevtest.file.core.windows.net\nhttps://seandevtest.queue.core.windows.net\nhttps://seandevtest.table.core.windows.net\n\n\n\n\nhttps://seandevtest-secondary.blob.core.windows.net\nhttps://seandevtest-secondary.file.core.windows.net\nhttps://seandevtest-secondary.queue.core.windows.net\nhttps://seandevtest-secondary.table.core.windows.net\n\nSanitized\n\n\nCloud\nBlobEndpoint=https://seandevtest.blob.core.windows.net/;QueueEndpoint=https://seandevtest.queue.core.windows.net/;FileEndpoint=https://seandevtest.file.core.windows.net/;BlobSecondaryEndpoint=https://seandevtest-secondary.blob.core.windows.net/;QueueSecondaryEndpoint=https://seandevtest-secondary.queue.core.windows.net/;FileSecondaryEndpoint=https://seandevtest-secondary.file.core.windows.net/;AccountName=seandevtest;AccountKey=Kg==;\nseanscope1" + } +} \ No newline at end of file diff --git a/sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/BlobBaseClientTests/SetTierAsync_IfTags_Failed.json b/sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/BlobBaseClientTests/SetTierAsync_IfTags_Failed.json new file mode 100644 index 000000000000..e0dd7d273df8 --- /dev/null +++ b/sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/BlobBaseClientTests/SetTierAsync_IfTags_Failed.json @@ -0,0 +1,146 @@ +{ + "Entries": [ + { + "RequestUri": "https://seandevtest.blob.core.windows.net/test-container-04f0f459-2b35-e00c-c2bf-946842085c0d?restype=container", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-c77d92fbf6eb22479c371e4bba4c1d85-04162860ca9de04b-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200710.1", + "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18362 )" + ], + "x-ms-blob-public-access": "container", + "x-ms-client-request-id": "b31b1344-cd03-7161-6f4f-fa38e452224e", + "x-ms-date": "Fri, 10 Jul 2020 19:40:21 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 10 Jul 2020 19:40:22 GMT", + "ETag": "\u00220x8D8250915C36CB4\u0022", + "Last-Modified": "Fri, 10 Jul 2020 19:40:22 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "b31b1344-cd03-7161-6f4f-fa38e452224e", + "x-ms-request-id": "39cfea3d-f01e-003c-46f1-56bed1000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seandevtest.blob.core.windows.net/test-container-04f0f459-2b35-e00c-c2bf-946842085c0d/test-blob-58ee82be-66b8-df37-4d6a-44d1b63d5955", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "Content-Length": "1024", + "traceparent": "00-747f6d654cc2cf428615158dc3583148-4d219e80a97ae64f-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200710.1", + "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18362 )" + ], + "x-ms-blob-type": "BlockBlob", + "x-ms-client-request-id": "9d95edb1-7aa6-b329-9fa2-e27dc14ebe2e", + "x-ms-date": "Fri, 10 Jul 2020 19:40:21 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": "zNQjLu2oCprwevKBf26hbUEnDwN\u002Bmgbe3DtmmIiQuzH2pWsPLvRgFXhUaD1ztl/eydeQji1W1jLORVKxQnERX7/Ai9oCkT9Nx/qKKjLIaiXciM\u002BxAC0En845Qeihr9MHQgh\u002BsiuE2zeYQsczy6wABdss1bqhYF\u002BRvOsLyVBWqxgng\u002BcqSbf6V6yYGL1m0NMiODsNddoZZeKo7fVAeRLmQpevDEjE1rsjMn0OCUeiK\u002BsX6ZAUSDU\u002BDh4EgVzCut6ZsdYlt8SLXWJ/6kNcClybBcEJKI\u002BB0vlhcf0qv1RfYXeedFhwfHQni4stlF7y4QPCaXubuJFOGN7dxEbGYZ0OIInLvZYDK4lN4pwEUz2bb4/6aFbYxKnmUFx5krguYCrtH3TVJyNsvj3yTdX1ScSgQlS2zPlHNVzg5W06ipjQH4JyFjTJxkhsjqkY5nbT8QaY2FBjd5QwpuoX9UK1MTOlIS5SgjOP1nwMSj1PLk/lDPNnorJHbafuQXBKstAGtlx2c8RIgW7TCAHUVi1W4HeaMuhOTo\u002BBXbSGY0DCRSSrBpPh2buKnIqFk5qwchZ6mGH4r3/ouGfN9BUQwh0tEMPcKVCZdQe8EJVeyLr10OqeDMvfyZWkw04rFOSmetptV4PW00nG4CNZPJ7qiu\u002Bt1yMqcbVRTkYtN2YBbmEiFpa68HE3Hv2h2CyohY32ujlffjzAewglGwk8qZvixHLBNyUIL5l\u002BdbkmiJmJqcm5Nn0tou8kYpqNldRn\u002B3RhvhO65k5o7Yqf4AmCmfNvm3JAg3IetSKCndWKe5rEFnpExcqFz8J6UEjyjcHmosinHvpiJ3cCQgnwN0l43XLw28qOPtQp6cywxTIpLCdhnPoN412fYu4CQoLBlJd5AnPWAbL2V2TzfjQusmJF2Bbhj5tOa/oVUHjbi/tSaFU0N8O/Uyp0akSWGWUocbCLvWlr3wX8KpZ5wbA6GstooRbf\u002BXqfhoXrbCRWt1KU7N7IT86S5ohPNwwsRpJ6Ok94LnhOSXg17Dfjf3PgpnJE5NTRccv91bqNj8JuckDzcTHV3YjZRqNmkmOXrmYVb5GZ6GG9qMiEe1i9wLm1x3n38A5BC8jqap4xat5nZidTeB8x1IreNcloUGIvG4Xpscvqn75Y02TIr33DjD3qHBQxakiZhPLuGbpE2Lpmuk8YR7kTfcZp\u002B6S7aSQNGqmMfjNN/rE8TyzZ\u002B4YDE/qqYfUtqkSD1p9OyG6j3hvN4f4RuFqGGbue3PiNOoFAZeepEQgv329kCKeU/zVCmXERCxqI8lugI0c5j85M9pwdDmOG\u002Bc0TngGOra\u002By8RqGW0KGey5nt3OMCe3A9VCgFxILd/HSu5\u002Bk/m0Z\u002BUSr7g==", + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Content-MD5": "U6hwv\u002BWmJyPOuRuU/p3d/w==", + "Date": "Fri, 10 Jul 2020 19:40:22 GMT", + "ETag": "\u00220x8D8250915CEEA43\u0022", + "Last-Modified": "Fri, 10 Jul 2020 19:40:22 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "9d95edb1-7aa6-b329-9fa2-e27dc14ebe2e", + "x-ms-content-crc64": "sZXhoxZJL2E=", + "x-ms-request-id": "39cfeaab-f01e-003c-31f1-56bed1000000", + "x-ms-request-server-encrypted": "true", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seandevtest.blob.core.windows.net/test-container-04f0f459-2b35-e00c-c2bf-946842085c0d/test-blob-58ee82be-66b8-df37-4d6a-44d1b63d5955?comp=tier", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-e0c43051f55902438546cb797b283da9-027e27796f764548-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200710.1", + "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18362 )" + ], + "x-ms-access-tier": "Cool", + "x-ms-client-request-id": "0b67c4ab-0eaf-b747-0300-95e9e3fdab67", + "x-ms-date": "Fri, 10 Jul 2020 19:40:21 GMT", + "x-ms-if-tags": "\u0022coolTag\u0022 = \u0027true\u0027", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 412, + "ResponseHeaders": { + "Content-Length": "252", + "Content-Type": "application/xml", + "Date": "Fri, 10 Jul 2020 19:40:22 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "0b67c4ab-0eaf-b747-0300-95e9e3fdab67", + "x-ms-error-code": "ConditionNotMet", + "x-ms-request-id": "39cfeb25-f01e-003c-28f1-56bed1000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [ + "\uFEFF\u003C?xml version=\u00221.0\u0022 encoding=\u0022utf-8\u0022?\u003E\u003CError\u003E\u003CCode\u003EConditionNotMet\u003C/Code\u003E\u003CMessage\u003EThe condition specified using HTTP conditional header(s) is not met.\n", + "RequestId:39cfeb25-f01e-003c-28f1-56bed1000000\n", + "Time:2020-07-10T19:40:22.4658621Z\u003C/Message\u003E\u003C/Error\u003E" + ] + }, + { + "RequestUri": "https://seandevtest.blob.core.windows.net/test-container-04f0f459-2b35-e00c-c2bf-946842085c0d?restype=container", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-0a2195b9b29eff489b3a39959854181d-7a70cd5726af5848-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200710.1", + "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18362 )" + ], + "x-ms-client-request-id": "fdd11ef3-b2e6-d27f-d204-8f41862b6e9a", + "x-ms-date": "Fri, 10 Jul 2020 19:40:22 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 10 Jul 2020 19:40:22 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "fdd11ef3-b2e6-d27f-d204-8f41862b6e9a", + "x-ms-request-id": "39cfeba1-f01e-003c-1af1-56bed1000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + } + ], + "Variables": { + "RandomSeed": "1016248079", + "Storage_TestConfigDefault": "ProductionTenant\nseandevtest\nU2FuaXRpemVk\nhttps://seandevtest.blob.core.windows.net\nhttps://seandevtest.file.core.windows.net\nhttps://seandevtest.queue.core.windows.net\nhttps://seandevtest.table.core.windows.net\n\n\n\n\nhttps://seandevtest-secondary.blob.core.windows.net\nhttps://seandevtest-secondary.file.core.windows.net\nhttps://seandevtest-secondary.queue.core.windows.net\nhttps://seandevtest-secondary.table.core.windows.net\n\nSanitized\n\n\nCloud\nBlobEndpoint=https://seandevtest.blob.core.windows.net/;QueueEndpoint=https://seandevtest.queue.core.windows.net/;FileEndpoint=https://seandevtest.file.core.windows.net/;BlobSecondaryEndpoint=https://seandevtest-secondary.blob.core.windows.net/;QueueSecondaryEndpoint=https://seandevtest-secondary.queue.core.windows.net/;FileSecondaryEndpoint=https://seandevtest-secondary.file.core.windows.net/;AccountName=seandevtest;AccountKey=Kg==;\nseanscope1" + } +} \ No newline at end of file diff --git a/sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/BlobBaseClientTests/SetTierAsync_IfTags_FailedAsync.json b/sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/BlobBaseClientTests/SetTierAsync_IfTags_FailedAsync.json new file mode 100644 index 000000000000..cbc54d763498 --- /dev/null +++ b/sdk/storage/Azure.Storage.Blobs/tests/SessionRecords/BlobBaseClientTests/SetTierAsync_IfTags_FailedAsync.json @@ -0,0 +1,146 @@ +{ + "Entries": [ + { + "RequestUri": "https://seandevtest.blob.core.windows.net/test-container-1d078f7d-cf11-3381-5e5b-ca27bb3df5aa?restype=container", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-a880d411c5374d449737fbf61cb77321-ff460911128c564f-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200710.1", + "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18362 )" + ], + "x-ms-blob-public-access": "container", + "x-ms-client-request-id": "2b45b7de-eef3-5279-7495-8e377ba05ef6", + "x-ms-date": "Fri, 10 Jul 2020 19:40:22 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 10 Jul 2020 19:40:23 GMT", + "ETag": "\u00220x8D82509167A66DF\u0022", + "Last-Modified": "Fri, 10 Jul 2020 19:40:23 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "2b45b7de-eef3-5279-7495-8e377ba05ef6", + "x-ms-request-id": "569c5522-101e-001f-50f1-56d11a000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seandevtest.blob.core.windows.net/test-container-1d078f7d-cf11-3381-5e5b-ca27bb3df5aa/test-blob-c2db0148-71a4-8327-4081-9214e7e3be86", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "Content-Length": "1024", + "traceparent": "00-717a6d065c59c945b6ba1b6b11d4dbe4-754237da93ab994e-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200710.1", + "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18362 )" + ], + "x-ms-blob-type": "BlockBlob", + "x-ms-client-request-id": "3605689f-6287-9549-ad52-e87442fdb923", + "x-ms-date": "Fri, 10 Jul 2020 19:40:23 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": "pGBJA/fKtn5drbcqahcK6p7xVXP89MVskMHrclxka5HXCJMaV1r/fkpcZPa6/Rkodqd29Y1Kiq\u002Bb3HM13kQi\u002BUEmUmKD8JND8tcon4/OspKowvu07nYDjX3kfnvnyp8GOmu1k6u2pYUUMgO1IeogzCngjBxIbQrLIsTkn3IYWyg3ImQjGR7n8R11oLxyTWySw7JRBj2Dvc1h6nHm0gUT/Nbbfv6G/LMK\u002BZv/08xOWNRYUdu/xlXqtGSXwi\u002BtAR8XYqPll89tDMf\u002BRg2ihOoAE5GcjYAqUzWB8Mqa7zmEXfh753EoaMAE60UTwIBHSDB6lq\u002BdEHOf7Q5uZKcF0h2NeugVJpx516rRmKI6FpK1OqeZIFiK5k2F2/piugQZ/xgnhkaXMiKTAL4EzHjQZNZ7uCoAa7LFA5SbkEuiFh2muJiJE5BMHgeFBh\u002BZhRrVtHYj5wHZGZNlYoKx/KHW8eqhXRTfRlFGLpoiemWTK315xdvUfi4bzJ4FJLANmiFmrhQ1\u002BCcG9m0k3blnt54u0jcFODbGAnO7hpF12SKhOJN4vMtQXjJVc89tr6B1sxUA11J5CGLrn6yheXKWkRxLg6Ql7vvS3XMEr8VmWFLSRtJ7dALPJzAwjBwfr\u002BTAv\u002BKzIiz7T8UZLvnedFidhUdazjOfGhwZe1x09GHesy6OQ/DisjYm1vYNYUYI8bPXkwfVxOCxIaTFmabQh1pjO3rLTzBoutIQNPg8kbjVEYqpnWFaCe5N3SJMHBiQVk\u002BcqibLPKGCbtg0xJDndI/r8IgbJur4CDGMfnIOHJ26gN6poOeSCtTpJi6IJUReZWiTYCyPdC9lo6H1P74udFI6ekOxPtSnWea0MgC7cOLsLhgKertxKgyvRP1FnMoVurLcTasBrCaU6wdG20EuqTO/CBClJPmWyVA3AvrXYrwbnndN3yI364Lxdo\u002B0K0/KgJrJhpS6cJa4RYRbyaksvIhLKzzJ4MoQiByOtK5q4p4AbYJgDdsnYS7hlZmd2yLYxbkGaf8TAJ/Puf53K7zoTmPmWlwnzK\u002BtI8kN6Esxc6z6tu70Y3me7WzikFTdrzVy\u002BUY2t4DFsPkJWUU2BRhTnkVRfXXN8\u002BrpSGzwRTtbz3OUmu4F\u002BrsrNAX16wozaOhTjvIOizLApQZcTG4U1Wu9ronRoWoqTqOKJklv2AjftuCEnbZJTUNB0/Xoqa5MF16aNzyAYcZ9KUBOhGXoUcz\u002BfJaOjzi0dGFGkM51QaX0PQ/q1aHLX1QZB3R2\u002BsjeWIIo6iwYvYcm5cLbOtH4COeaWUdW/nsrMh1BdYjEPnmYaDdLTFd43H\u002BHxO/e8CSCIf6M26GBh1oG/bcP1kj/YaZIQtKarLyPIn3Hzw==", + "StatusCode": 201, + "ResponseHeaders": { + "Content-Length": "0", + "Content-MD5": "BxUupnp8wBY7AUngXCeOsw==", + "Date": "Fri, 10 Jul 2020 19:40:23 GMT", + "ETag": "\u00220x8D825091687FB7A\u0022", + "Last-Modified": "Fri, 10 Jul 2020 19:40:23 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "3605689f-6287-9549-ad52-e87442fdb923", + "x-ms-content-crc64": "C4Q\u002BMfbGhUk=", + "x-ms-request-id": "569c556a-101e-001f-14f1-56d11a000000", + "x-ms-request-server-encrypted": "true", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + }, + { + "RequestUri": "https://seandevtest.blob.core.windows.net/test-container-1d078f7d-cf11-3381-5e5b-ca27bb3df5aa/test-blob-c2db0148-71a4-8327-4081-9214e7e3be86?comp=tier", + "RequestMethod": "PUT", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-366908d86244ed4ea093ae758bb3512d-24a4e37127658443-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200710.1", + "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18362 )" + ], + "x-ms-access-tier": "Cool", + "x-ms-client-request-id": "b9f06c66-9177-d747-42b7-94a5d6df463a", + "x-ms-date": "Fri, 10 Jul 2020 19:40:23 GMT", + "x-ms-if-tags": "\u0022coolTag\u0022 = \u0027true\u0027", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 412, + "ResponseHeaders": { + "Content-Length": "252", + "Content-Type": "application/xml", + "Date": "Fri, 10 Jul 2020 19:40:23 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "b9f06c66-9177-d747-42b7-94a5d6df463a", + "x-ms-error-code": "ConditionNotMet", + "x-ms-request-id": "569c5594-101e-001f-3bf1-56d11a000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [ + "\uFEFF\u003C?xml version=\u00221.0\u0022 encoding=\u0022utf-8\u0022?\u003E\u003CError\u003E\u003CCode\u003EConditionNotMet\u003C/Code\u003E\u003CMessage\u003EThe condition specified using HTTP conditional header(s) is not met.\n", + "RequestId:569c5594-101e-001f-3bf1-56d11a000000\n", + "Time:2020-07-10T19:40:23.6740267Z\u003C/Message\u003E\u003C/Error\u003E" + ] + }, + { + "RequestUri": "https://seandevtest.blob.core.windows.net/test-container-1d078f7d-cf11-3381-5e5b-ca27bb3df5aa?restype=container", + "RequestMethod": "DELETE", + "RequestHeaders": { + "Authorization": "Sanitized", + "traceparent": "00-ff611e75a4fce94fa7fefd29aba8b141-04c47a6e1c11f049-00", + "User-Agent": [ + "azsdk-net-Storage.Blobs/12.5.0-dev.20200710.1", + "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18362 )" + ], + "x-ms-client-request-id": "d50d2b60-000d-28ac-7048-37f8e1714015", + "x-ms-date": "Fri, 10 Jul 2020 19:40:23 GMT", + "x-ms-return-client-request-id": "true", + "x-ms-version": "2019-12-12" + }, + "RequestBody": null, + "StatusCode": 202, + "ResponseHeaders": { + "Content-Length": "0", + "Date": "Fri, 10 Jul 2020 19:40:23 GMT", + "Server": [ + "Windows-Azure-Blob/1.0", + "Microsoft-HTTPAPI/2.0" + ], + "x-ms-client-request-id": "d50d2b60-000d-28ac-7048-37f8e1714015", + "x-ms-request-id": "569c55dc-101e-001f-01f1-56d11a000000", + "x-ms-version": "2019-12-12" + }, + "ResponseBody": [] + } + ], + "Variables": { + "RandomSeed": "1504270630", + "Storage_TestConfigDefault": "ProductionTenant\nseandevtest\nU2FuaXRpemVk\nhttps://seandevtest.blob.core.windows.net\nhttps://seandevtest.file.core.windows.net\nhttps://seandevtest.queue.core.windows.net\nhttps://seandevtest.table.core.windows.net\n\n\n\n\nhttps://seandevtest-secondary.blob.core.windows.net\nhttps://seandevtest-secondary.file.core.windows.net\nhttps://seandevtest-secondary.queue.core.windows.net\nhttps://seandevtest-secondary.table.core.windows.net\n\nSanitized\n\n\nCloud\nBlobEndpoint=https://seandevtest.blob.core.windows.net/;QueueEndpoint=https://seandevtest.queue.core.windows.net/;FileEndpoint=https://seandevtest.file.core.windows.net/;BlobSecondaryEndpoint=https://seandevtest-secondary.blob.core.windows.net/;QueueSecondaryEndpoint=https://seandevtest-secondary.queue.core.windows.net/;FileSecondaryEndpoint=https://seandevtest-secondary.file.core.windows.net/;AccountName=seandevtest;AccountKey=Kg==;\nseanscope1" + } +} \ No newline at end of file