diff --git a/sdk/storage/storage-file-share/recordings/browsers/fileclient/recording_abortcopyfromurl_should_failed_for_a_completed_copy_operation.json b/sdk/storage/storage-file-share/recordings/browsers/fileclient/recording_abortcopyfromurl_should_failed_for_a_completed_copy_operation.json index b61a089c6fcc..984bc39c3cd7 100644 --- a/sdk/storage/storage-file-share/recordings/browsers/fileclient/recording_abortcopyfromurl_should_failed_for_a_completed_copy_operation.json +++ b/sdk/storage/storage-file-share/recordings/browsers/fileclient/recording_abortcopyfromurl_should_failed_for_a_completed_copy_operation.json @@ -2,7 +2,7 @@ "recordings": [ { "method": "PUT", - "url": "https://fakestorageaccount.file.core.windows.net/share156816862811608573", + "url": "https://fakestorageaccount.file.core.windows.net/share164549860374207771", "query": { "restype": "share" }, @@ -10,19 +10,19 @@ "status": 201, "response": "", "responseHeaders": { - "date": "Wed, 11 Sep 2019 02:23:47 GMT", - "last-modified": "Wed, 11 Sep 2019 02:23:48 GMT", + "content-length": "0", + "date": "Tue, 22 Feb 2022 02:56:43 GMT", + "etag": "\"0x8D9F5AEF59F69D9\"", + "last-modified": "Tue, 22 Feb 2022 02:56:44 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "etag": "\"0x8D7365F140E598A\"", - "x-ms-request-id": "252c6b28-d01a-0019-2b47-684a94000000", - "x-ms-version": "2019-02-02", - "x-ms-client-request-id": "be992c10-d6c0-4230-8110-52bf95f3db59", - "content-length": "0" + "x-ms-client-request-id": "203a54d0-0fc5-4971-ab3b-05da080d1372", + "x-ms-request-id": "a258b10a-301a-0052-1497-27b659000000", + "x-ms-version": "2021-04-10" } }, { "method": "PUT", - "url": "https://fakestorageaccount.file.core.windows.net/share156816862811608573/dir156816862832007173", + "url": "https://fakestorageaccount.file.core.windows.net/share164549860374207771/dir164549860431203319", "query": { "restype": "directory" }, @@ -30,94 +30,94 @@ "status": 201, "response": "", "responseHeaders": { - "date": "Wed, 11 Sep 2019 02:23:47 GMT", - "x-ms-file-change-time": "2019-09-11T02:23:48.4531791Z", + "content-length": "0", + "date": "Tue, 22 Feb 2022 02:56:44 GMT", + "etag": "\"0x8D9F5AEF5F72657\"", + "last-modified": "Tue, 22 Feb 2022 02:56:44 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "e5049b91-e8e0-4a86-9eea-680320b341ff", "x-ms-file-attributes": "Directory", + "x-ms-file-change-time": "2022-02-22T02:56:44.9365591Z", + "x-ms-file-creation-time": "2022-02-22T02:56:44.9365591Z", "x-ms-file-id": "13835128424026341376", - "x-ms-request-server-encrypted": "true", - "x-ms-file-creation-time": "2019-09-11T02:23:48.4531791Z", + "x-ms-file-last-write-time": "2022-02-22T02:56:44.9365591Z", "x-ms-file-parent-id": "0", - "x-ms-file-permission-key": "15292852142319295125*13609941760923454748", - "x-ms-client-request-id": "f3025d5f-60ed-4527-9112-ca896dcc2930", - "content-length": "0", - "last-modified": "Wed, 11 Sep 2019 02:23:48 GMT", - "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "etag": "\"0x8D7365F142D784F\"", - "x-ms-request-id": "252c6b2b-d01a-0019-2d47-684a94000000", - "x-ms-file-last-write-time": "2019-09-11T02:23:48.4531791Z", - "x-ms-version": "2019-02-02" + "x-ms-file-permission-key": "1348922918165632443*8819015832131519026", + "x-ms-request-id": "a258b10f-301a-0052-1897-27b659000000", + "x-ms-request-server-encrypted": "true", + "x-ms-version": "2021-04-10" } }, { "method": "PUT", - "url": "https://fakestorageaccount.file.core.windows.net/share156816862811608573/dir156816862832007173/file156816862852802421", + "url": "https://fakestorageaccount.file.core.windows.net/share164549860374207771/dir164549860431203319/file164549860488609299", "query": {}, "requestBody": null, "status": 201, "response": "", "responseHeaders": { - "date": "Wed, 11 Sep 2019 02:23:48 GMT", - "x-ms-file-change-time": "2019-09-11T02:23:48.6603265Z", + "content-length": "0", + "date": "Tue, 22 Feb 2022 02:56:45 GMT", + "etag": "\"0x8D9F5AEF64FC0A7\"", + "last-modified": "Tue, 22 Feb 2022 02:56:45 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "151f3e74-ce86-4b8e-b2aa-21d7c63f01d1", "x-ms-file-attributes": "Archive", + "x-ms-file-change-time": "2022-02-22T02:56:45.5172263Z", + "x-ms-file-creation-time": "2022-02-22T02:56:45.5172263Z", "x-ms-file-id": "11529285414812647424", - "x-ms-request-server-encrypted": "true", - "x-ms-file-creation-time": "2019-09-11T02:23:48.6603265Z", + "x-ms-file-last-write-time": "2022-02-22T02:56:45.5172263Z", "x-ms-file-parent-id": "13835128424026341376", - "x-ms-file-permission-key": "1459396823544571282*13609941760923454748", - "x-ms-client-request-id": "3a3dfb99-199b-49c1-9369-d9d52309d975", - "content-length": "0", - "last-modified": "Wed, 11 Sep 2019 02:23:48 GMT", - "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "etag": "\"0x8D7365F144D1401\"", - "x-ms-request-id": "252c6b2d-d01a-0019-2f47-684a94000000", - "x-ms-file-last-write-time": "2019-09-11T02:23:48.6603265Z", - "x-ms-version": "2019-02-02" + "x-ms-file-permission-key": "15187149962788154044*8819015832131519026", + "x-ms-request-id": "a258b111-301a-0052-1a97-27b659000000", + "x-ms-request-server-encrypted": "true", + "x-ms-version": "2021-04-10" } }, { "method": "PUT", - "url": "https://fakestorageaccount.file.core.windows.net/share156816862811608573/dir156816862832007173/copiedfile156816862873706394", + "url": "https://fakestorageaccount.file.core.windows.net/share164549860374207771/dir164549860431203319/copiedfile164549860546703550", "query": {}, "requestBody": null, "status": 202, "response": "", "responseHeaders": { - "date": "Wed, 11 Sep 2019 02:23:48 GMT", - "last-modified": "Wed, 11 Sep 2019 02:23:49 GMT", + "content-length": "0", + "date": "Tue, 22 Feb 2022 02:56:45 GMT", + "etag": "\"0x8D9F5AEF6B04910\"", + "last-modified": "Tue, 22 Feb 2022 02:56:46 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "etag": "\"0x8D7365F1490B8FA\"", - "x-ms-request-id": "252c6b2f-d01a-0019-3147-684a94000000", - "x-ms-version": "2019-02-02", - "x-ms-copy-id": "79254a8c-1161-47ca-aae2-ce55d176ff68", - "x-ms-client-request-id": "e59a7630-7eb9-46aa-956d-44198c546e34", + "x-ms-client-request-id": "070412a5-c85f-456f-8d80-0db977c65bac", + "x-ms-copy-id": "a2129b1d-7fef-441a-a1d5-8dff4b926190", "x-ms-copy-status": "success", - "content-length": "0" + "x-ms-request-id": "a258b113-301a-0052-1c97-27b659000000", + "x-ms-version": "2021-04-10" } }, { "method": "PUT", - "url": "https://fakestorageaccount.file.core.windows.net/share156816862811608573/dir156816862832007173/copiedfile156816862873706394", + "url": "https://fakestorageaccount.file.core.windows.net/share164549860374207771/dir164549860431203319/copiedfile164549860546703550", "query": { "comp": "copy", - "copyid": "79254a8c-1161-47ca-aae2-ce55d176ff68" + "copyid": "a2129b1d-7fef-441a-a1d5-8dff4b926190" }, "requestBody": null, "status": 409, - "response": "NoPendingCopyOperationThere is currently no pending copy operation.\nRequestId:252c6b33-d01a-0019-3547-684a94000000\nTime:2019-09-11T02:23:50.3216878Z", + "response": "NoPendingCopyOperationThere is currently no pending copy operation.\nRequestId:a258b116-301a-0052-1e97-27b659000000\nTime:2022-02-22T02:56:47.7696209Z", "responseHeaders": { - "date": "Wed, 11 Sep 2019 02:23:49 GMT", + "content-length": "236", + "content-type": "application/xml", + "date": "Tue, 22 Feb 2022 02:56:47 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "406c8980-5d2a-442a-be51-9e94b3548736", "x-ms-error-code": "NoPendingCopyOperation", - "content-type": "application/xml", - "x-ms-request-id": "252c6b33-d01a-0019-3547-684a94000000", - "x-ms-version": "2019-02-02", - "x-ms-client-request-id": "09075ce4-36a2-46bb-a351-32283a488939", - "content-length": "236" + "x-ms-request-id": "a258b116-301a-0052-1e97-27b659000000", + "x-ms-version": "2021-04-10" } }, { "method": "DELETE", - "url": "https://fakestorageaccount.file.core.windows.net/share156816862811608573", + "url": "https://fakestorageaccount.file.core.windows.net/share164549860374207771", "query": { "restype": "share" }, @@ -125,19 +125,23 @@ "status": 202, "response": "", "responseHeaders": { - "date": "Wed, 11 Sep 2019 02:23:50 GMT", + "content-length": "0", + "date": "Tue, 22 Feb 2022 02:56:47 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-request-id": "252c6b36-d01a-0019-3747-684a94000000", - "x-ms-version": "2019-02-02", - "x-ms-client-request-id": "6ad5ab83-ccd6-4f18-9364-13069d9928e2", - "content-length": "0" + "x-ms-client-request-id": "6f6f9fb6-b831-411a-bae4-3d3ca7c0b909", + "x-ms-request-id": "a258b118-301a-0052-2097-27b659000000", + "x-ms-version": "2021-04-10" } } ], "uniqueTestInfo": { - "share": "share156816862811608573", - "dir": "dir156816862832007173", - "file": "file156816862852802421", - "copiedfile": "copiedfile156816862873706394" - } + "uniqueName": { + "share": "share164549860374207771", + "dir": "dir164549860431203319", + "file": "file164549860488609299", + "copiedfile": "copiedfile164549860546703550" + }, + "newDate": {} + }, + "hash": "9405e7a095bc033cef9adae74a418f8f" } \ No newline at end of file diff --git a/sdk/storage/storage-file-share/recordings/browsers/fileclient/recording_startcopyfromurl_ignore_readonly.json b/sdk/storage/storage-file-share/recordings/browsers/fileclient/recording_startcopyfromurl_ignore_readonly.json new file mode 100644 index 000000000000..f1ca3d9747d9 --- /dev/null +++ b/sdk/storage/storage-file-share/recordings/browsers/fileclient/recording_startcopyfromurl_ignore_readonly.json @@ -0,0 +1,217 @@ +{ + "recordings": [ + { + "method": "PUT", + "url": "https://fakestorageaccount.file.core.windows.net/share164549858976608972", + "query": { + "restype": "share" + }, + "requestBody": null, + "status": 201, + "response": "", + "responseHeaders": { + "content-length": "0", + "date": "Tue, 22 Feb 2022 02:56:29 GMT", + "etag": "\"0x8D9F5AEED4AFF54\"", + "last-modified": "Tue, 22 Feb 2022 02:56:30 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "94fb8bfb-36bc-49b8-940e-1d98b771d911", + "x-ms-request-id": "a258b0a4-301a-0052-5c97-27b659000000", + "x-ms-version": "2021-04-10" + } + }, + { + "method": "PUT", + "url": "https://fakestorageaccount.file.core.windows.net/share164549858976608972/dir164549859034003612", + "query": { + "restype": "directory" + }, + "requestBody": null, + "status": 201, + "response": "", + "responseHeaders": { + "content-length": "0", + "date": "Tue, 22 Feb 2022 02:56:30 GMT", + "etag": "\"0x8D9F5AEEDA4907E\"", + "last-modified": "Tue, 22 Feb 2022 02:56:30 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "7b7f18f6-b882-4156-8d0c-5c191d84bf77", + "x-ms-file-attributes": "Directory", + "x-ms-file-change-time": "2022-02-22T02:56:30.9735550Z", + "x-ms-file-creation-time": "2022-02-22T02:56:30.9735550Z", + "x-ms-file-id": "13835128424026341376", + "x-ms-file-last-write-time": "2022-02-22T02:56:30.9735550Z", + "x-ms-file-parent-id": "0", + "x-ms-file-permission-key": "1348922918165632443*8819015832131519026", + "x-ms-request-id": "a258b0a8-301a-0052-5e97-27b659000000", + "x-ms-request-server-encrypted": "true", + "x-ms-version": "2021-04-10" + } + }, + { + "method": "PUT", + "url": "https://fakestorageaccount.file.core.windows.net/share164549858976608972/dir164549859034003612/file164549859092409313", + "query": {}, + "requestBody": null, + "status": 201, + "response": "", + "responseHeaders": { + "content-length": "0", + "date": "Tue, 22 Feb 2022 02:56:31 GMT", + "etag": "\"0x8D9F5AEEDFC1986\"", + "last-modified": "Tue, 22 Feb 2022 02:56:31 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "c190ad63-7a87-44a6-883f-0c0066a76d26", + "x-ms-file-attributes": "Archive", + "x-ms-file-change-time": "2022-02-22T02:56:31.5472262Z", + "x-ms-file-creation-time": "2022-02-22T02:56:31.5472262Z", + "x-ms-file-id": "11529285414812647424", + "x-ms-file-last-write-time": "2022-02-22T02:56:31.5472262Z", + "x-ms-file-parent-id": "13835128424026341376", + "x-ms-file-permission-key": "15187149962788154044*8819015832131519026", + "x-ms-request-id": "a258b0aa-301a-0052-6097-27b659000000", + "x-ms-request-server-encrypted": "true", + "x-ms-version": "2021-04-10" + } + }, + { + "method": "PUT", + "url": "https://fakestorageaccount.file.core.windows.net/share164549858976608972/dir164549859034003612/copiedfile164549859150000217", + "query": {}, + "requestBody": null, + "status": 201, + "response": "", + "responseHeaders": { + "content-length": "0", + "date": "Tue, 22 Feb 2022 02:56:31 GMT", + "etag": "\"0x8D9F5AEEE53F0A6\"", + "last-modified": "Tue, 22 Feb 2022 02:56:32 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "2f732895-250a-4e8e-923a-01abe7b23f8c", + "x-ms-file-attributes": "ReadOnly | Archive", + "x-ms-file-change-time": "2022-02-22T02:56:32.1228966Z", + "x-ms-file-creation-time": "2022-02-22T02:56:32.1228966Z", + "x-ms-file-id": "16140971433240035328", + "x-ms-file-last-write-time": "2022-02-22T02:56:32.1228966Z", + "x-ms-file-parent-id": "13835128424026341376", + "x-ms-file-permission-key": "15187149962788154044*8819015832131519026", + "x-ms-request-id": "a258b0b0-301a-0052-6497-27b659000000", + "x-ms-request-server-encrypted": "true", + "x-ms-version": "2021-04-10" + } + }, + { + "method": "PUT", + "url": "https://fakestorageaccount.file.core.windows.net/share164549858976608972/dir164549859034003612/copiedfile164549859150000217", + "query": {}, + "requestBody": null, + "status": 202, + "response": "", + "responseHeaders": { + "content-length": "0", + "date": "Tue, 22 Feb 2022 02:56:32 GMT", + "etag": "\"0x8D9F5AEEEEB387C\"", + "last-modified": "Tue, 22 Feb 2022 02:56:33 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "9b8c28cf-f8af-4769-9c16-0ac60d1e36a2", + "x-ms-copy-id": "23200cca-fe8b-48ca-911b-02b7404ab203", + "x-ms-copy-status": "success", + "x-ms-request-id": "a258b0b3-301a-0052-6797-27b659000000", + "x-ms-version": "2021-04-10" + } + }, + { + "method": "HEAD", + "url": "https://fakestorageaccount.file.core.windows.net/share164549858976608972/dir164549859034003612/file164549859092409313", + "query": {}, + "requestBody": null, + "status": 200, + "response": "", + "responseHeaders": { + "content-length": "1024", + "content-type": "application/octet-stream", + "date": "Tue, 22 Feb 2022 02:56:33 GMT", + "etag": "\"0x8D9F5AEEDFC1986\"", + "last-modified": "Tue, 22 Feb 2022 02:56:31 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "0db2b9f6-ee11-436b-b873-2d3b379dee38", + "x-ms-file-attributes": "Archive", + "x-ms-file-change-time": "2022-02-22T02:56:31.5472262Z", + "x-ms-file-creation-time": "2022-02-22T02:56:31.5472262Z", + "x-ms-file-id": "11529285414812647424", + "x-ms-file-last-write-time": "2022-02-22T02:56:31.5472262Z", + "x-ms-file-parent-id": "13835128424026341376", + "x-ms-file-permission-key": "15187149962788154044*8819015832131519026", + "x-ms-lease-state": "available", + "x-ms-lease-status": "unlocked", + "x-ms-request-id": "a258b0b7-301a-0052-6b97-27b659000000", + "x-ms-server-encrypted": "true", + "x-ms-type": "File", + "x-ms-version": "2021-04-10" + } + }, + { + "method": "HEAD", + "url": "https://fakestorageaccount.file.core.windows.net/share164549858976608972/dir164549859034003612/copiedfile164549859150000217", + "query": {}, + "requestBody": null, + "status": 200, + "response": "", + "responseHeaders": { + "content-length": "1024", + "content-type": "application/octet-stream", + "date": "Tue, 22 Feb 2022 02:56:33 GMT", + "etag": "\"0x8D9F5AEEEEB387C\"", + "last-modified": "Tue, 22 Feb 2022 02:56:33 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "d6d43188-7fdf-46d7-b8c9-5253dce01e11", + "x-ms-copy-completion-time": "Tue, 22 Feb 2022 02:56:33 GMT", + "x-ms-copy-id": "23200cca-fe8b-48ca-911b-02b7404ab203", + "x-ms-copy-progress": "1024/1024", + "x-ms-copy-source": "https://fakestorageaccount.file.core.windows.net/share164549858976608972/dir164549859034003612/file164549859092409313aaaaa", + "x-ms-copy-status": "success", + "x-ms-file-attributes": "Archive", + "x-ms-file-change-time": "2022-02-22T02:56:33.1143292Z", + "x-ms-file-creation-time": "2022-02-22T02:56:33.1143292Z", + "x-ms-file-id": "16140971433240035328", + "x-ms-file-last-write-time": "2022-02-22T02:56:31.5472262Z", + "x-ms-file-parent-id": "13835128424026341376", + "x-ms-file-permission-key": "10974970485353649799*8819015832131519026", + "x-ms-lease-state": "available", + "x-ms-lease-status": "unlocked", + "x-ms-request-id": "a258b0bb-301a-0052-6d97-27b659000000", + "x-ms-server-encrypted": "true", + "x-ms-type": "File", + "x-ms-version": "2021-04-10" + } + }, + { + "method": "DELETE", + "url": "https://fakestorageaccount.file.core.windows.net/share164549858976608972", + "query": { + "restype": "share" + }, + "requestBody": null, + "status": 202, + "response": "", + "responseHeaders": { + "content-length": "0", + "date": "Tue, 22 Feb 2022 02:56:34 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "7e5c78bd-6a59-49dc-8657-d6c1d2cbf849", + "x-ms-request-id": "a258b0bd-301a-0052-6f97-27b659000000", + "x-ms-version": "2021-04-10" + } + } + ], + "uniqueTestInfo": { + "uniqueName": { + "share": "share164549858976608972", + "dir": "dir164549859034003612", + "file": "file164549859092409313", + "copiedfile": "copiedfile164549859150000217" + }, + "newDate": {} + }, + "hash": "c8fe4c1800eaa5c2ca344390e61c534b" +} \ No newline at end of file diff --git a/sdk/storage/storage-file-share/recordings/browsers/fileclient/recording_startcopyfromurl_with_smb_options.json b/sdk/storage/storage-file-share/recordings/browsers/fileclient/recording_startcopyfromurl_with_smb_options.json index 464053cc348f..0f6e1a89a282 100644 --- a/sdk/storage/storage-file-share/recordings/browsers/fileclient/recording_startcopyfromurl_with_smb_options.json +++ b/sdk/storage/storage-file-share/recordings/browsers/fileclient/recording_startcopyfromurl_with_smb_options.json @@ -2,7 +2,7 @@ "recordings": [ { "method": "PUT", - "url": "https://fakestorageaccount.file.core.windows.net/share158116691281207507", + "url": "https://fakestorageaccount.file.core.windows.net/share164549859491503053", "query": { "restype": "share" }, @@ -11,18 +11,18 @@ "response": "", "responseHeaders": { "content-length": "0", - "date": "Sat, 08 Feb 2020 13:01:53 GMT", - "etag": "\"0x8D7AC971234D53E\"", - "last-modified": "Sat, 08 Feb 2020 13:01:54 GMT", + "date": "Tue, 22 Feb 2022 02:56:35 GMT", + "etag": "\"0x8D9F5AEF05C602C\"", + "last-modified": "Tue, 22 Feb 2022 02:56:35 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "ce138a38-9f7f-4735-8d35-7a2ae42ed80f", - "x-ms-request-id": "7f95688a-e01a-0021-807f-deb640000000", - "x-ms-version": "2019-07-07" + "x-ms-client-request-id": "a17881b1-1657-4328-8dd5-ff2d7f4dbc5c", + "x-ms-request-id": "a258b0bf-301a-0052-7197-27b659000000", + "x-ms-version": "2021-04-10" } }, { "method": "PUT", - "url": "https://fakestorageaccount.file.core.windows.net/share158116691281207507/dir158116691432506874", + "url": "https://fakestorageaccount.file.core.windows.net/share164549859491503053/dir164549859548403836", "query": { "restype": "directory" }, @@ -31,72 +31,72 @@ "response": "", "responseHeaders": { "content-length": "0", - "date": "Sat, 08 Feb 2020 13:01:53 GMT", - "etag": "\"0x8D7AC97128B3B18\"", - "last-modified": "Sat, 08 Feb 2020 13:01:54 GMT", + "date": "Tue, 22 Feb 2022 02:56:35 GMT", + "etag": "\"0x8D9F5AEF0B72991\"", + "last-modified": "Tue, 22 Feb 2022 02:56:36 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "7e2e8e07-f1f6-4084-b2f8-e214872bd9d0", + "x-ms-client-request-id": "5e4ca369-7c93-4edc-b659-43b75316b0fe", "x-ms-file-attributes": "Directory", - "x-ms-file-change-time": "2020-02-08T13:01:54.7368216Z", - "x-ms-file-creation-time": "2020-02-08T13:01:54.7368216Z", + "x-ms-file-change-time": "2022-02-22T02:56:36.1286033Z", + "x-ms-file-creation-time": "2022-02-22T02:56:36.1286033Z", "x-ms-file-id": "13835128424026341376", - "x-ms-file-last-write-time": "2020-02-08T13:01:54.7368216Z", + "x-ms-file-last-write-time": "2022-02-22T02:56:36.1286033Z", "x-ms-file-parent-id": "0", - "x-ms-file-permission-key": "6579762511900832825*3714103237668529072", - "x-ms-request-id": "7f956891-e01a-0021-067f-deb640000000", + "x-ms-file-permission-key": "1348922918165632443*8819015832131519026", + "x-ms-request-id": "a258b0c4-301a-0052-7597-27b659000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2019-07-07" + "x-ms-version": "2021-04-10" } }, { "method": "PUT", - "url": "https://fakestorageaccount.file.core.windows.net/share158116691281207507/dir158116691432506874/file158116691486701409", + "url": "https://fakestorageaccount.file.core.windows.net/share164549859491503053/dir164549859548403836/file164549859608907211", "query": {}, "requestBody": null, "status": 201, "response": "", "responseHeaders": { "content-length": "0", - "date": "Sat, 08 Feb 2020 13:01:54 GMT", - "etag": "\"0x8D7AC9712E1BDC4\"", - "last-modified": "Sat, 08 Feb 2020 13:01:55 GMT", + "date": "Tue, 22 Feb 2022 02:56:36 GMT", + "etag": "\"0x8D9F5AEF110D52E\"", + "last-modified": "Tue, 22 Feb 2022 02:56:36 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "3742a250-f3fb-4349-8396-2c2157822db3", + "x-ms-client-request-id": "12e078f5-df4c-4d5a-b8d2-df5142300beb", "x-ms-file-attributes": "Archive", - "x-ms-file-change-time": "2020-02-08T13:01:55.3037764Z", - "x-ms-file-creation-time": "2020-02-08T13:01:55.3037764Z", + "x-ms-file-change-time": "2022-02-22T02:56:36.7162670Z", + "x-ms-file-creation-time": "2022-02-22T02:56:36.7162670Z", "x-ms-file-id": "11529285414812647424", - "x-ms-file-last-write-time": "2020-02-08T13:01:55.3037764Z", + "x-ms-file-last-write-time": "2022-02-22T02:56:36.7162670Z", "x-ms-file-parent-id": "13835128424026341376", - "x-ms-file-permission-key": "11181256410332760894*3714103237668529072", - "x-ms-request-id": "7f956894-e01a-0021-097f-deb640000000", + "x-ms-file-permission-key": "15187149962788154044*8819015832131519026", + "x-ms-request-id": "a258b0c7-301a-0052-7797-27b659000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2019-07-07" + "x-ms-version": "2021-04-10" } }, { "method": "PUT", - "url": "https://fakestorageaccount.file.core.windows.net/share158116691281207507/dir158116691432506874/copiedfile158116691543807631", + "url": "https://fakestorageaccount.file.core.windows.net/share164549859491503053/dir164549859548403836/copiedfile164549859666609096", "query": {}, "requestBody": null, "status": 202, "response": "", "responseHeaders": { "content-length": "0", - "date": "Sat, 08 Feb 2020 13:01:55 GMT", - "etag": "\"0x8D7AC9713514905\"", - "last-modified": "Sat, 08 Feb 2020 13:01:56 GMT", + "date": "Tue, 22 Feb 2022 02:56:36 GMT", + "etag": "\"0x8D9F5AEF1726ED9\"", + "last-modified": "Tue, 22 Feb 2022 02:56:37 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "2409e622-9805-47c0-8fb1-82b5dc059252", - "x-ms-copy-id": "95cd0ef6-7513-4aae-9d62-744c05212303", + "x-ms-client-request-id": "35fcf097-a566-42c1-81e8-8d6d1cf0f453", + "x-ms-copy-id": "d874a8e8-2810-4ef7-895a-232a1245ae78", "x-ms-copy-status": "success", - "x-ms-request-id": "7f956896-e01a-0021-0b7f-deb640000000", - "x-ms-version": "2019-07-07" + "x-ms-request-id": "a258b0c9-301a-0052-7997-27b659000000", + "x-ms-version": "2021-04-10" } }, { "method": "HEAD", - "url": "https://fakestorageaccount.file.core.windows.net/share158116691281207507/dir158116691432506874/file158116691486701409", + "url": "https://fakestorageaccount.file.core.windows.net/share164549859491503053/dir164549859548403836/file164549859608907211", "query": {}, "requestBody": null, "status": 200, @@ -104,29 +104,29 @@ "responseHeaders": { "content-length": "1024", "content-type": "application/octet-stream", - "date": "Sat, 08 Feb 2020 13:01:55 GMT", - "etag": "\"0x8D7AC9712E1BDC4\"", - "last-modified": "Sat, 08 Feb 2020 13:01:55 GMT", + "date": "Tue, 22 Feb 2022 02:56:37 GMT", + "etag": "\"0x8D9F5AEF110D52E\"", + "last-modified": "Tue, 22 Feb 2022 02:56:36 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "a8ae979f-1854-4b9a-94af-6ba5e0ef466b", + "x-ms-client-request-id": "e81c49c2-a22c-4c9a-b3d7-6ff352ebc121", "x-ms-file-attributes": "Archive", - "x-ms-file-change-time": "2020-02-08T13:01:55.3037764Z", - "x-ms-file-creation-time": "2020-02-08T13:01:55.3037764Z", + "x-ms-file-change-time": "2022-02-22T02:56:36.7162670Z", + "x-ms-file-creation-time": "2022-02-22T02:56:36.7162670Z", "x-ms-file-id": "11529285414812647424", - "x-ms-file-last-write-time": "2020-02-08T13:01:55.3037764Z", + "x-ms-file-last-write-time": "2022-02-22T02:56:36.7162670Z", "x-ms-file-parent-id": "13835128424026341376", - "x-ms-file-permission-key": "11181256410332760894*3714103237668529072", + "x-ms-file-permission-key": "15187149962788154044*8819015832131519026", "x-ms-lease-state": "available", "x-ms-lease-status": "unlocked", - "x-ms-request-id": "7f95689e-e01a-0021-127f-deb640000000", + "x-ms-request-id": "a258b0cb-301a-0052-7b97-27b659000000", "x-ms-server-encrypted": "true", "x-ms-type": "File", - "x-ms-version": "2019-07-07" + "x-ms-version": "2021-04-10" } }, { "method": "HEAD", - "url": "https://fakestorageaccount.file.core.windows.net/share158116691281207507/dir158116691432506874/copiedfile158116691543807631", + "url": "https://fakestorageaccount.file.core.windows.net/share164549859491503053/dir164549859548403836/copiedfile164549859666609096", "query": {}, "requestBody": null, "status": 200, @@ -134,34 +134,34 @@ "responseHeaders": { "content-length": "1024", "content-type": "application/octet-stream", - "date": "Sat, 08 Feb 2020 13:01:56 GMT", - "etag": "\"0x8D7AC9713514905\"", - "last-modified": "Sat, 08 Feb 2020 13:01:56 GMT", + "date": "Tue, 22 Feb 2022 02:56:38 GMT", + "etag": "\"0x8D9F5AEF1726ED9\"", + "last-modified": "Tue, 22 Feb 2022 02:56:37 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "30f62f73-b8e5-494f-b92d-c9bf31ba69ae", - "x-ms-copy-completion-time": "Sat, 08 Feb 2020 13:01:56 GMT", - "x-ms-copy-id": "95cd0ef6-7513-4aae-9d62-744c05212303", + "x-ms-client-request-id": "fb83bf0b-163b-4283-a7ed-72ed14b4c4f9", + "x-ms-copy-completion-time": "Tue, 22 Feb 2022 02:56:37 GMT", + "x-ms-copy-id": "d874a8e8-2810-4ef7-895a-232a1245ae78", "x-ms-copy-progress": "1024/1024", - "x-ms-copy-source": "https://fakestorageaccount.file.core.windows.net/share158116691281207507/dir158116691432506874/file158116691486701409aaaaa", + "x-ms-copy-source": "https://fakestorageaccount.file.core.windows.net/share164549859491503053/dir164549859548403836/file164549859608907211aaaaa", "x-ms-copy-status": "success", "x-ms-file-attributes": "Hidden | System", - "x-ms-file-change-time": "2020-02-08T13:01:56.0347909Z", + "x-ms-file-change-time": "2022-02-22T02:56:37.3559001Z", "x-ms-file-creation-time": "2011-10-05T14:48:00.0000000Z", "x-ms-file-id": "16140971433240035328", - "x-ms-file-last-write-time": "2020-02-08T13:01:55.3037764Z", + "x-ms-file-last-write-time": "2022-02-22T02:56:36.7162670Z", "x-ms-file-parent-id": "13835128424026341376", - "x-ms-file-permission-key": "15106964970904237829*3714103237668529072", + "x-ms-file-permission-key": "10974970485353649799*8819015832131519026", "x-ms-lease-state": "available", "x-ms-lease-status": "unlocked", - "x-ms-request-id": "7f9568a1-e01a-0021-157f-deb640000000", + "x-ms-request-id": "a258b0cf-301a-0052-7e97-27b659000000", "x-ms-server-encrypted": "true", "x-ms-type": "File", - "x-ms-version": "2019-07-07" + "x-ms-version": "2021-04-10" } }, { "method": "DELETE", - "url": "https://fakestorageaccount.file.core.windows.net/share158116691281207507", + "url": "https://fakestorageaccount.file.core.windows.net/share164549859491503053", "query": { "restype": "share" }, @@ -170,21 +170,22 @@ "response": "", "responseHeaders": { "content-length": "0", - "date": "Sat, 08 Feb 2020 13:01:56 GMT", + "date": "Tue, 22 Feb 2022 02:56:38 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "b631fa6a-c011-48cc-8623-512383a01c98", - "x-ms-request-id": "7f9568a3-e01a-0021-177f-deb640000000", - "x-ms-version": "2019-07-07" + "x-ms-client-request-id": "a584d895-58a2-43b5-b031-8d629c29eb44", + "x-ms-request-id": "a258b0ed-301a-0052-8097-27b659000000", + "x-ms-version": "2021-04-10" } } ], "uniqueTestInfo": { "uniqueName": { - "share": "share158116691281207507", - "dir": "dir158116691432506874", - "file": "file158116691486701409", - "copiedfile": "copiedfile158116691543807631" + "share": "share164549859491503053", + "dir": "dir164549859548403836", + "file": "file164549859608907211", + "copiedfile": "copiedfile164549859666609096" }, "newDate": {} - } + }, + "hash": "86b7d960d03bdd51186873335bde956b" } \ No newline at end of file diff --git a/sdk/storage/storage-file-share/recordings/browsers/fileclient/recording_startcopyfromurl_with_smb_options_filepermissionkey.json b/sdk/storage/storage-file-share/recordings/browsers/fileclient/recording_startcopyfromurl_with_smb_options_filepermissionkey.json index ea8c9771878f..5e9b2daa8883 100644 --- a/sdk/storage/storage-file-share/recordings/browsers/fileclient/recording_startcopyfromurl_with_smb_options_filepermissionkey.json +++ b/sdk/storage/storage-file-share/recordings/browsers/fileclient/recording_startcopyfromurl_with_smb_options_filepermissionkey.json @@ -2,7 +2,7 @@ "recordings": [ { "method": "PUT", - "url": "https://fakestorageaccount.file.core.windows.net/share158116691779507449", + "url": "https://fakestorageaccount.file.core.windows.net/share164549859904702320", "query": { "restype": "share" }, @@ -11,18 +11,18 @@ "response": "", "responseHeaders": { "content-length": "0", - "date": "Sat, 08 Feb 2020 13:01:57 GMT", - "etag": "\"0x8D7AC97149A3C63\"", - "last-modified": "Sat, 08 Feb 2020 13:01:58 GMT", + "date": "Tue, 22 Feb 2022 02:56:39 GMT", + "etag": "\"0x8D9F5AEF2D2F72D\"", + "last-modified": "Tue, 22 Feb 2022 02:56:39 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "f8b0b1b4-b208-41e7-85db-4ad52452a697", - "x-ms-request-id": "7f9568a9-e01a-0021-1a7f-deb640000000", - "x-ms-version": "2019-07-07" + "x-ms-client-request-id": "469a71d5-c01e-424f-910f-2fa0d3c8a384", + "x-ms-request-id": "a258b0f0-301a-0052-0297-27b659000000", + "x-ms-version": "2021-04-10" } }, { "method": "PUT", - "url": "https://fakestorageaccount.file.core.windows.net/share158116691779507449/dir158116691832704021", + "url": "https://fakestorageaccount.file.core.windows.net/share164549859904702320/dir164549859961702497", "query": { "restype": "directory" }, @@ -31,52 +31,52 @@ "response": "", "responseHeaders": { "content-length": "0", - "date": "Sat, 08 Feb 2020 13:01:57 GMT", - "etag": "\"0x8D7AC9714ECD0D8\"", - "last-modified": "Sat, 08 Feb 2020 13:01:58 GMT", + "date": "Tue, 22 Feb 2022 02:56:39 GMT", + "etag": "\"0x8D9F5AEF32AB3C0\"", + "last-modified": "Tue, 22 Feb 2022 02:56:40 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "56c8e42d-4936-4cd0-9f68-2aa08f31105b", + "x-ms-client-request-id": "0e4f0d46-b618-4925-929a-a5cfe10b02fb", "x-ms-file-attributes": "Directory", - "x-ms-file-change-time": "2020-02-08T13:01:58.7317976Z", - "x-ms-file-creation-time": "2020-02-08T13:01:58.7317976Z", + "x-ms-file-change-time": "2022-02-22T02:56:40.2412480Z", + "x-ms-file-creation-time": "2022-02-22T02:56:40.2412480Z", "x-ms-file-id": "13835128424026341376", - "x-ms-file-last-write-time": "2020-02-08T13:01:58.7317976Z", + "x-ms-file-last-write-time": "2022-02-22T02:56:40.2412480Z", "x-ms-file-parent-id": "0", - "x-ms-file-permission-key": "6579762511900832825*3714103237668529072", - "x-ms-request-id": "7f9568b1-e01a-0021-1f7f-deb640000000", + "x-ms-file-permission-key": "1348922918165632443*8819015832131519026", + "x-ms-request-id": "a258b0f6-301a-0052-0497-27b659000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2019-07-07" + "x-ms-version": "2021-04-10" } }, { "method": "PUT", - "url": "https://fakestorageaccount.file.core.windows.net/share158116691779507449/dir158116691832704021/file158116691886208844", + "url": "https://fakestorageaccount.file.core.windows.net/share164549859904702320/dir164549859961702497/file164549860019002432", "query": {}, "requestBody": null, "status": 201, "response": "", "responseHeaders": { "content-length": "0", - "date": "Sat, 08 Feb 2020 13:01:58 GMT", - "etag": "\"0x8D7AC97153D890B\"", - "last-modified": "Sat, 08 Feb 2020 13:01:59 GMT", + "date": "Tue, 22 Feb 2022 02:56:40 GMT", + "etag": "\"0x8D9F5AEF381EEB3\"", + "last-modified": "Tue, 22 Feb 2022 02:56:40 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "cb6b5341-5b05-4ac1-963a-df7ffdd95d5c", + "x-ms-client-request-id": "e98c7621-9e5d-4f22-abd8-dff5bbb063e4", "x-ms-file-attributes": "Archive", - "x-ms-file-change-time": "2020-02-08T13:01:59.2608011Z", - "x-ms-file-creation-time": "2020-02-08T13:01:59.2608011Z", + "x-ms-file-change-time": "2022-02-22T02:56:40.8129203Z", + "x-ms-file-creation-time": "2022-02-22T02:56:40.8129203Z", "x-ms-file-id": "11529285414812647424", - "x-ms-file-last-write-time": "2020-02-08T13:01:59.2608011Z", + "x-ms-file-last-write-time": "2022-02-22T02:56:40.8129203Z", "x-ms-file-parent-id": "13835128424026341376", - "x-ms-file-permission-key": "11181256410332760894*3714103237668529072", - "x-ms-request-id": "7f9568ba-e01a-0021-277f-deb640000000", + "x-ms-file-permission-key": "15187149962788154044*8819015832131519026", + "x-ms-request-id": "a258b0f8-301a-0052-0697-27b659000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2019-07-07" + "x-ms-version": "2021-04-10" } }, { "method": "PUT", - "url": "https://fakestorageaccount.file.core.windows.net/share158116691779507449", + "url": "https://fakestorageaccount.file.core.windows.net/share164549859904702320", "query": { "restype": "share", "comp": "filepermission" @@ -85,38 +85,38 @@ "status": 201, "response": "", "responseHeaders": { - "date": "Sat, 08 Feb 2020 13:01:58 GMT", + "date": "Tue, 22 Feb 2022 02:56:41 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "transfer-encoding": "chunked", - "x-ms-client-request-id": "c46e3c59-9a55-48cc-a40a-f707787d3b7e", - "x-ms-file-permission-key": "8869853913668417717*3714103237668529072", - "x-ms-request-id": "7f9568c0-e01a-0021-2d7f-deb640000000", - "x-ms-version": "2019-07-07" + "x-ms-client-request-id": "04fc5087-172f-42bc-b0fc-03dbd6347b43", + "x-ms-file-permission-key": "3670530694640228663*8819015832131519026", + "x-ms-request-id": "a258b0fa-301a-0052-0897-27b659000000", + "x-ms-version": "2021-04-10" } }, { "method": "PUT", - "url": "https://fakestorageaccount.file.core.windows.net/share158116691779507449/dir158116691832704021/copiedfile158116691938804069", + "url": "https://fakestorageaccount.file.core.windows.net/share164549859904702320/dir164549859961702497/copiedfile164549860076307528", "query": {}, "requestBody": null, "status": 202, "response": "", "responseHeaders": { "content-length": "0", - "date": "Sat, 08 Feb 2020 13:01:59 GMT", - "etag": "\"0x8D7AC9715F2CFF3\"", - "last-modified": "Sat, 08 Feb 2020 13:02:00 GMT", + "date": "Tue, 22 Feb 2022 02:56:41 GMT", + "etag": "\"0x8D9F5AEF440B5EB\"", + "last-modified": "Tue, 22 Feb 2022 02:56:42 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "ca7a71e6-c4fb-4bbb-a2ac-0b0ac30ec217", - "x-ms-copy-id": "e0e6c8ef-dc95-41f3-a762-a1e48cedc38e", + "x-ms-client-request-id": "09b55c60-319c-48c2-9788-802c91a41e6b", + "x-ms-copy-id": "e836b11e-0f33-4995-b84e-e79fcfa4fa1e", "x-ms-copy-status": "success", - "x-ms-request-id": "7f9568c7-e01a-0021-347f-deb640000000", - "x-ms-version": "2019-07-07" + "x-ms-request-id": "a258b0fd-301a-0052-0a97-27b659000000", + "x-ms-version": "2021-04-10" } }, { "method": "HEAD", - "url": "https://fakestorageaccount.file.core.windows.net/share158116691779507449/dir158116691832704021/file158116691886208844", + "url": "https://fakestorageaccount.file.core.windows.net/share164549859904702320/dir164549859961702497/file164549860019002432", "query": {}, "requestBody": null, "status": 200, @@ -124,29 +124,29 @@ "responseHeaders": { "content-length": "1024", "content-type": "application/octet-stream", - "date": "Sat, 08 Feb 2020 13:02:00 GMT", - "etag": "\"0x8D7AC97153D890B\"", - "last-modified": "Sat, 08 Feb 2020 13:01:59 GMT", + "date": "Tue, 22 Feb 2022 02:56:42 GMT", + "etag": "\"0x8D9F5AEF381EEB3\"", + "last-modified": "Tue, 22 Feb 2022 02:56:40 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "00d882e2-f4d5-42c6-8272-c9a4d5f6b461", + "x-ms-client-request-id": "33772c6e-894a-4ac2-acfc-2735cdf8d680", "x-ms-file-attributes": "Archive", - "x-ms-file-change-time": "2020-02-08T13:01:59.2608011Z", - "x-ms-file-creation-time": "2020-02-08T13:01:59.2608011Z", + "x-ms-file-change-time": "2022-02-22T02:56:40.8129203Z", + "x-ms-file-creation-time": "2022-02-22T02:56:40.8129203Z", "x-ms-file-id": "11529285414812647424", - "x-ms-file-last-write-time": "2020-02-08T13:01:59.2608011Z", + "x-ms-file-last-write-time": "2022-02-22T02:56:40.8129203Z", "x-ms-file-parent-id": "13835128424026341376", - "x-ms-file-permission-key": "11181256410332760894*3714103237668529072", + "x-ms-file-permission-key": "15187149962788154044*8819015832131519026", "x-ms-lease-state": "available", "x-ms-lease-status": "unlocked", - "x-ms-request-id": "7f9568ce-e01a-0021-3b7f-deb640000000", + "x-ms-request-id": "a258b102-301a-0052-0e97-27b659000000", "x-ms-server-encrypted": "true", "x-ms-type": "File", - "x-ms-version": "2019-07-07" + "x-ms-version": "2021-04-10" } }, { "method": "HEAD", - "url": "https://fakestorageaccount.file.core.windows.net/share158116691779507449/dir158116691832704021/copiedfile158116691938804069", + "url": "https://fakestorageaccount.file.core.windows.net/share164549859904702320/dir164549859961702497/copiedfile164549860076307528", "query": {}, "requestBody": null, "status": 200, @@ -154,34 +154,34 @@ "responseHeaders": { "content-length": "1024", "content-type": "application/octet-stream", - "date": "Sat, 08 Feb 2020 13:02:00 GMT", - "etag": "\"0x8D7AC9715F2CFF3\"", - "last-modified": "Sat, 08 Feb 2020 13:02:00 GMT", + "date": "Tue, 22 Feb 2022 02:56:42 GMT", + "etag": "\"0x8D9F5AEF440B5EB\"", + "last-modified": "Tue, 22 Feb 2022 02:56:42 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "d668ede5-32fc-4073-98cf-420dd58cd0b8", - "x-ms-copy-completion-time": "Sat, 08 Feb 2020 13:02:00 GMT", - "x-ms-copy-id": "e0e6c8ef-dc95-41f3-a762-a1e48cedc38e", + "x-ms-client-request-id": "d921bf39-2995-4c64-a862-b99a9668eab6", + "x-ms-copy-completion-time": "Tue, 22 Feb 2022 02:56:42 GMT", + "x-ms-copy-id": "e836b11e-0f33-4995-b84e-e79fcfa4fa1e", "x-ms-copy-progress": "1024/1024", - "x-ms-copy-source": "https://fakestorageaccount.file.core.windows.net/share158116691779507449/dir158116691832704021/file158116691886208844aaaaa", + "x-ms-copy-source": "https://fakestorageaccount.file.core.windows.net/share164549859904702320/dir164549859961702497/file164549860019002432aaaaa", "x-ms-copy-status": "success", "x-ms-file-attributes": "Hidden | System | Archive", - "x-ms-file-change-time": "2020-02-08T13:02:00.4488179Z", + "x-ms-file-change-time": "2022-02-22T02:56:42.0632043Z", "x-ms-file-creation-time": "2011-10-05T14:48:00.0000000Z", "x-ms-file-id": "16140971433240035328", - "x-ms-file-last-write-time": "2020-02-08T13:01:59.2608011Z", + "x-ms-file-last-write-time": "2022-02-22T02:56:40.8129203Z", "x-ms-file-parent-id": "13835128424026341376", - "x-ms-file-permission-key": "15106964970904237829*3714103237668529072", + "x-ms-file-permission-key": "10974970485353649799*8819015832131519026", "x-ms-lease-state": "available", "x-ms-lease-status": "unlocked", - "x-ms-request-id": "7f9568d2-e01a-0021-3e7f-deb640000000", + "x-ms-request-id": "a258b104-301a-0052-1097-27b659000000", "x-ms-server-encrypted": "true", "x-ms-type": "File", - "x-ms-version": "2019-07-07" + "x-ms-version": "2021-04-10" } }, { "method": "DELETE", - "url": "https://fakestorageaccount.file.core.windows.net/share158116691779507449", + "url": "https://fakestorageaccount.file.core.windows.net/share164549859904702320", "query": { "restype": "share" }, @@ -190,21 +190,22 @@ "response": "", "responseHeaders": { "content-length": "0", - "date": "Sat, 08 Feb 2020 13:02:02 GMT", + "date": "Tue, 22 Feb 2022 02:56:43 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "9d426e17-467c-40bc-a4a7-377f829981d8", - "x-ms-request-id": "7f9568d7-e01a-0021-427f-deb640000000", - "x-ms-version": "2019-07-07" + "x-ms-client-request-id": "78741a16-deb4-4464-a982-e4af99b0da48", + "x-ms-request-id": "a258b106-301a-0052-1297-27b659000000", + "x-ms-version": "2021-04-10" } } ], "uniqueTestInfo": { "uniqueName": { - "share": "share158116691779507449", - "dir": "dir158116691832704021", - "file": "file158116691886208844", - "copiedfile": "copiedfile158116691938804069" + "share": "share164549859904702320", + "dir": "dir164549859961702497", + "file": "file164549860019002432", + "copiedfile": "copiedfile164549860076307528" }, "newDate": {} - } + }, + "hash": "2bbb3e11ec2a37456eeaf015f4e08e82" } \ No newline at end of file diff --git a/sdk/storage/storage-file-share/recordings/browsers/leaseclient/recording_setmetadata.json b/sdk/storage/storage-file-share/recordings/browsers/leaseclient/recording_setmetadata.json index a50e55430b7a..9ea2944e94e2 100644 --- a/sdk/storage/storage-file-share/recordings/browsers/leaseclient/recording_setmetadata.json +++ b/sdk/storage/storage-file-share/recordings/browsers/leaseclient/recording_setmetadata.json @@ -2,7 +2,7 @@ "recordings": [ { "method": "PUT", - "url": "https://fakestorageaccount.file.core.windows.net/share157624093448802706", + "url": "https://fakestorageaccount.file.core.windows.net/share164549861306500280", "query": { "restype": "share" }, @@ -11,18 +11,18 @@ "response": "", "responseHeaders": { "content-length": "0", - "date": "Fri, 13 Dec 2019 12:42:12 GMT", - "etag": "\"0x8D77FC9E0EE470C\"", - "last-modified": "Fri, 13 Dec 2019 12:42:13 GMT", + "date": "Tue, 22 Feb 2022 02:56:53 GMT", + "etag": "\"0x8D9F5AEFB2DF075\"", + "last-modified": "Tue, 22 Feb 2022 02:56:53 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "6a05a5d8-a8ae-4c3f-92b3-afe98295c41e", - "x-ms-request-id": "9e30b00b-301a-000d-1cb2-b15aef000000", - "x-ms-version": "2019-02-02" + "x-ms-client-request-id": "a857efc5-9bcb-4757-8125-5d1df3a1ebe4", + "x-ms-request-id": "a258b137-301a-0052-3797-27b659000000", + "x-ms-version": "2021-04-10" } }, { "method": "PUT", - "url": "https://fakestorageaccount.file.core.windows.net/share157624093448802706/dir157624093506507426", + "url": "https://fakestorageaccount.file.core.windows.net/share164549861306500280/dir164549861363707014", "query": { "restype": "directory" }, @@ -31,52 +31,52 @@ "response": "", "responseHeaders": { "content-length": "0", - "date": "Fri, 13 Dec 2019 12:42:13 GMT", - "etag": "\"0x8D77FC9E1478DCB\"", - "last-modified": "Fri, 13 Dec 2019 12:42:14 GMT", + "date": "Tue, 22 Feb 2022 02:56:53 GMT", + "etag": "\"0x8D9F5AEFB85FA55\"", + "last-modified": "Tue, 22 Feb 2022 02:56:54 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "115b360c-10dd-4299-ba29-4473232244d0", + "x-ms-client-request-id": "e14055e4-0b20-4118-87ae-6a1c49edf762", "x-ms-file-attributes": "Directory", - "x-ms-file-change-time": "2019-12-13T12:42:14.0931531Z", - "x-ms-file-creation-time": "2019-12-13T12:42:14.0931531Z", + "x-ms-file-change-time": "2022-02-22T02:56:54.2612053Z", + "x-ms-file-creation-time": "2022-02-22T02:56:54.2612053Z", "x-ms-file-id": "13835128424026341376", - "x-ms-file-last-write-time": "2019-12-13T12:42:14.0931531Z", + "x-ms-file-last-write-time": "2022-02-22T02:56:54.2612053Z", "x-ms-file-parent-id": "0", - "x-ms-file-permission-key": "7008756509702647153*693339914461510392", - "x-ms-request-id": "9e30b00e-301a-000d-1eb2-b15aef000000", + "x-ms-file-permission-key": "1348922918165632443*8819015832131519026", + "x-ms-request-id": "a258b13e-301a-0052-3b97-27b659000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2019-02-02" + "x-ms-version": "2021-04-10" } }, { "method": "PUT", - "url": "https://fakestorageaccount.file.core.windows.net/share157624093448802706/dir157624093506507426/file157624093564807005", + "url": "https://fakestorageaccount.file.core.windows.net/share164549861306500280/dir164549861363707014/file164549861421100284", "query": {}, "requestBody": null, "status": 201, "response": "", "responseHeaders": { "content-length": "0", - "date": "Fri, 13 Dec 2019 12:42:13 GMT", - "etag": "\"0x8D77FC9E1A0F6FF\"", - "last-modified": "Fri, 13 Dec 2019 12:42:14 GMT", + "date": "Tue, 22 Feb 2022 02:56:54 GMT", + "etag": "\"0x8D9F5AEFBDD834A\"", + "last-modified": "Tue, 22 Feb 2022 02:56:54 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "51bd505b-080d-4c7d-b9b3-200941d8ee7f", + "x-ms-client-request-id": "675241eb-58c7-4d8e-9584-6287b94bea1e", "x-ms-file-attributes": "Archive", - "x-ms-file-change-time": "2019-12-13T12:42:14.6791167Z", - "x-ms-file-creation-time": "2019-12-13T12:42:14.6791167Z", + "x-ms-file-change-time": "2022-02-22T02:56:54.8348746Z", + "x-ms-file-creation-time": "2022-02-22T02:56:54.8348746Z", "x-ms-file-id": "11529285414812647424", - "x-ms-file-last-write-time": "2019-12-13T12:42:14.6791167Z", + "x-ms-file-last-write-time": "2022-02-22T02:56:54.8348746Z", "x-ms-file-parent-id": "13835128424026341376", - "x-ms-file-permission-key": "11619239463300764278*693339914461510392", - "x-ms-request-id": "9e30b011-301a-000d-20b2-b15aef000000", + "x-ms-file-permission-key": "15187149962788154044*8819015832131519026", + "x-ms-request-id": "a258b143-301a-0052-3f97-27b659000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2019-02-02" + "x-ms-version": "2021-04-10" } }, { "method": "PUT", - "url": "https://fakestorageaccount.file.core.windows.net/share157624093448802706/dir157624093506507426/file157624093564807005", + "url": "https://fakestorageaccount.file.core.windows.net/share164549861306500280/dir164549861363707014/file164549861421100284", "query": { "comp": "lease" }, @@ -84,40 +84,40 @@ "status": 201, "response": "", "responseHeaders": { - "date": "Fri, 13 Dec 2019 12:42:14 GMT", - "etag": "\"0x8D77FC9E1A0F6FF\"", - "last-modified": "Fri, 13 Dec 2019 12:42:14 GMT", + "date": "Tue, 22 Feb 2022 02:56:54 GMT", + "etag": "\"0x8D9F5AEFBDD834A\"", + "last-modified": "Tue, 22 Feb 2022 02:56:54 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "transfer-encoding": "chunked", - "x-ms-client-request-id": "786e378a-f579-42c8-aa8a-5c3ebf4ec433", + "x-ms-client-request-id": "069c7e79-dc06-4fe3-9889-8e0ab19c24d4", "x-ms-lease-id": "e9890485-bf47-4d9a-b3d0-aceb18506124", - "x-ms-request-id": "9e30b013-301a-000d-22b2-b15aef000000", - "x-ms-version": "2019-02-02" + "x-ms-request-id": "a258b145-301a-0052-4197-27b659000000", + "x-ms-version": "2021-04-10" } }, { "method": "PUT", - "url": "https://fakestorageaccount.file.core.windows.net/share157624093448802706/dir157624093506507426/file157624093564807005", + "url": "https://fakestorageaccount.file.core.windows.net/share164549861306500280/dir164549861363707014/file164549861421100284", "query": { "comp": "metadata" }, "requestBody": null, "status": 412, - "response": "LeaseIdMissingThere is currently a lease on the file and no lease ID was specified in the request.\nRequestId:9e30b016-301a-000d-24b2-b15aef000000\nTime:2019-12-13T12:42:15.8580660Z", + "response": "LeaseIdMissingThere is currently a lease on the file and no lease ID was specified in the request.\nRequestId:a258b147-301a-0052-4397-27b659000000\nTime:2022-02-22T02:56:55.9779235Z", "responseHeaders": { "content-length": "267", "content-type": "application/xml", - "date": "Fri, 13 Dec 2019 12:42:14 GMT", + "date": "Tue, 22 Feb 2022 02:56:55 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "edecdd35-1bfc-4367-a409-1c4a5ab5dd2f", + "x-ms-client-request-id": "a15032bd-6438-41e4-878b-bf39aa91dca9", "x-ms-error-code": "LeaseIdMissing", - "x-ms-request-id": "9e30b016-301a-000d-24b2-b15aef000000", - "x-ms-version": "2019-02-02" + "x-ms-request-id": "a258b147-301a-0052-4397-27b659000000", + "x-ms-version": "2021-04-10" } }, { "method": "PUT", - "url": "https://fakestorageaccount.file.core.windows.net/share157624093448802706/dir157624093506507426/file157624093564807005", + "url": "https://fakestorageaccount.file.core.windows.net/share164549861306500280/dir164549861363707014/file164549861421100284", "query": { "comp": "metadata" }, @@ -126,19 +126,19 @@ "response": "", "responseHeaders": { "content-length": "0", - "date": "Fri, 13 Dec 2019 12:42:16 GMT", - "etag": "\"0x8D77FC9E2ABB233\"", - "last-modified": "Fri, 13 Dec 2019 12:42:16 GMT", + "date": "Tue, 22 Feb 2022 02:56:56 GMT", + "etag": "\"0x8D9F5AEFCE270B9\"", + "last-modified": "Tue, 22 Feb 2022 02:56:56 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "742cb2c6-a133-4fc9-9efe-5b7ebba9d0d5", - "x-ms-request-id": "9e30b018-301a-000d-26b2-b15aef000000", + "x-ms-client-request-id": "d3b1063f-5034-4361-bbd7-d717ab8dab43", + "x-ms-request-id": "a258b153-301a-0052-4597-27b659000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2019-02-02" + "x-ms-version": "2021-04-10" } }, { "method": "DELETE", - "url": "https://fakestorageaccount.file.core.windows.net/share157624093448802706", + "url": "https://fakestorageaccount.file.core.windows.net/share164549861306500280", "query": { "restype": "share" }, @@ -147,20 +147,21 @@ "response": "", "responseHeaders": { "content-length": "0", - "date": "Fri, 13 Dec 2019 12:42:16 GMT", + "date": "Tue, 22 Feb 2022 02:56:56 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "f0b01060-6fba-46d3-b664-bdccd9958d96", - "x-ms-request-id": "9e30b01a-301a-000d-28b2-b15aef000000", - "x-ms-version": "2019-02-02" + "x-ms-client-request-id": "98b4cd4e-3761-4283-8a98-fc3239199c4b", + "x-ms-request-id": "a258b157-301a-0052-4797-27b659000000", + "x-ms-version": "2021-04-10" } } ], "uniqueTestInfo": { "uniqueName": { - "share": "share157624093448802706", - "dir": "dir157624093506507426", - "file": "file157624093564807005" + "share": "share164549861306500280", + "dir": "dir164549861363707014", + "file": "file164549861421100284" }, "newDate": {} - } + }, + "hash": "00187d3e8dcf5cb0284fe56d5ae4b5d9" } \ No newline at end of file diff --git a/sdk/storage/storage-file-share/recordings/browsers/leaseclient/recording_startcopyfromurl.json b/sdk/storage/storage-file-share/recordings/browsers/leaseclient/recording_startcopyfromurl.json index c850c864e59c..4afee28713bb 100644 --- a/sdk/storage/storage-file-share/recordings/browsers/leaseclient/recording_startcopyfromurl.json +++ b/sdk/storage/storage-file-share/recordings/browsers/leaseclient/recording_startcopyfromurl.json @@ -2,7 +2,7 @@ "recordings": [ { "method": "PUT", - "url": "https://fakestorageaccount.file.core.windows.net/share157624092951400140", + "url": "https://fakestorageaccount.file.core.windows.net/share164549860830901779", "query": { "restype": "share" }, @@ -11,18 +11,18 @@ "response": "", "responseHeaders": { "content-length": "0", - "date": "Fri, 13 Dec 2019 12:42:08 GMT", - "etag": "\"0x8D77FC9DDF6DB7E\"", - "last-modified": "Fri, 13 Dec 2019 12:42:08 GMT", + "date": "Tue, 22 Feb 2022 02:56:48 GMT", + "etag": "\"0x8D9F5AEF8583053\"", + "last-modified": "Tue, 22 Feb 2022 02:56:48 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "eb17c6e6-bb18-4b54-a8ea-f51804fe966d", - "x-ms-request-id": "9e30aff0-301a-000d-08b2-b15aef000000", - "x-ms-version": "2019-02-02" + "x-ms-client-request-id": "7074aafa-5e35-4414-8f1c-7695c25c8f3e", + "x-ms-request-id": "a258b120-301a-0052-2697-27b659000000", + "x-ms-version": "2021-04-10" } }, { "method": "PUT", - "url": "https://fakestorageaccount.file.core.windows.net/share157624092951400140/dir157624093008701766", + "url": "https://fakestorageaccount.file.core.windows.net/share164549860830901779/dir164549860887906009", "query": { "restype": "directory" }, @@ -31,52 +31,52 @@ "response": "", "responseHeaders": { "content-length": "0", - "date": "Fri, 13 Dec 2019 12:42:08 GMT", - "etag": "\"0x8D77FC9DE501CE2\"", - "last-modified": "Fri, 13 Dec 2019 12:42:09 GMT", + "date": "Tue, 22 Feb 2022 02:56:49 GMT", + "etag": "\"0x8D9F5AEF8AFECC7\"", + "last-modified": "Tue, 22 Feb 2022 02:56:49 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "3887dab0-efbb-41d0-a509-f8f2f7becc66", + "x-ms-client-request-id": "a0bf639f-63e1-4668-88d0-b025848c9c1a", "x-ms-file-attributes": "Directory", - "x-ms-file-change-time": "2019-12-13T12:42:09.1160802Z", - "x-ms-file-creation-time": "2019-12-13T12:42:09.1160802Z", + "x-ms-file-change-time": "2022-02-22T02:56:49.5029447Z", + "x-ms-file-creation-time": "2022-02-22T02:56:49.5029447Z", "x-ms-file-id": "13835128424026341376", - "x-ms-file-last-write-time": "2019-12-13T12:42:09.1160802Z", + "x-ms-file-last-write-time": "2022-02-22T02:56:49.5029447Z", "x-ms-file-parent-id": "0", - "x-ms-file-permission-key": "7008756509702647153*693339914461510392", - "x-ms-request-id": "9e30aff4-301a-000d-0ab2-b15aef000000", + "x-ms-file-permission-key": "1348922918165632443*8819015832131519026", + "x-ms-request-id": "a258b125-301a-0052-2897-27b659000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2019-02-02" + "x-ms-version": "2021-04-10" } }, { "method": "PUT", - "url": "https://fakestorageaccount.file.core.windows.net/share157624092951400140/dir157624093008701766/file157624093066902449", + "url": "https://fakestorageaccount.file.core.windows.net/share164549860830901779/dir164549860887906009/file164549860945301758", "query": {}, "requestBody": null, "status": 201, "response": "", "responseHeaders": { "content-length": "0", - "date": "Fri, 13 Dec 2019 12:42:09 GMT", - "etag": "\"0x8D77FC9DEA9609E\"", - "last-modified": "Fri, 13 Dec 2019 12:42:09 GMT", + "date": "Tue, 22 Feb 2022 02:56:49 GMT", + "etag": "\"0x8D9F5AEF9079CD1\"", + "last-modified": "Tue, 22 Feb 2022 02:56:50 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "f14113db-31b7-4077-8716-c5ae578f42f9", + "x-ms-client-request-id": "a719d5ce-6bc0-443f-968e-1166ba426547", "x-ms-file-attributes": "Archive", - "x-ms-file-change-time": "2019-12-13T12:42:09.7010846Z", - "x-ms-file-creation-time": "2019-12-13T12:42:09.7010846Z", + "x-ms-file-change-time": "2022-02-22T02:56:50.0776145Z", + "x-ms-file-creation-time": "2022-02-22T02:56:50.0776145Z", "x-ms-file-id": "11529285414812647424", - "x-ms-file-last-write-time": "2019-12-13T12:42:09.7010846Z", + "x-ms-file-last-write-time": "2022-02-22T02:56:50.0776145Z", "x-ms-file-parent-id": "13835128424026341376", - "x-ms-file-permission-key": "11619239463300764278*693339914461510392", - "x-ms-request-id": "9e30affa-301a-000d-0eb2-b15aef000000", + "x-ms-file-permission-key": "15187149962788154044*8819015832131519026", + "x-ms-request-id": "a258b127-301a-0052-2a97-27b659000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2019-02-02" + "x-ms-version": "2021-04-10" } }, { "method": "PUT", - "url": "https://fakestorageaccount.file.core.windows.net/share157624092951400140/dir157624093008701766/file157624093066902449", + "url": "https://fakestorageaccount.file.core.windows.net/share164549860830901779/dir164549860887906009/file164549860945301758", "query": { "comp": "lease" }, @@ -84,84 +84,84 @@ "status": 201, "response": "", "responseHeaders": { - "date": "Fri, 13 Dec 2019 12:42:09 GMT", - "etag": "\"0x8D77FC9DEA9609E\"", - "last-modified": "Fri, 13 Dec 2019 12:42:09 GMT", + "date": "Tue, 22 Feb 2022 02:56:50 GMT", + "etag": "\"0x8D9F5AEF9079CD1\"", + "last-modified": "Tue, 22 Feb 2022 02:56:50 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "transfer-encoding": "chunked", - "x-ms-client-request-id": "0552f87a-c418-4f52-aeba-f203ad3bb16e", + "x-ms-client-request-id": "408f1291-33ae-48cb-818c-f29a12c59851", "x-ms-lease-id": "e9890485-bf47-4d9a-b3d0-aceb18506124", - "x-ms-request-id": "9e30affc-301a-000d-10b2-b15aef000000", - "x-ms-version": "2019-02-02" + "x-ms-request-id": "a258b12b-301a-0052-2d97-27b659000000", + "x-ms-version": "2021-04-10" } }, { "method": "PUT", - "url": "https://fakestorageaccount.file.core.windows.net/share157624092951400140/dir157624093008701766/copiedfile157624093185509182", + "url": "https://fakestorageaccount.file.core.windows.net/share164549860830901779/dir164549860887906009/copiedfile164549861063406671", "query": {}, "requestBody": null, "status": 201, "response": "", "responseHeaders": { "content-length": "0", - "date": "Fri, 13 Dec 2019 12:42:10 GMT", - "etag": "\"0x8D77FC9DF5CFB4D\"", - "last-modified": "Fri, 13 Dec 2019 12:42:10 GMT", + "date": "Tue, 22 Feb 2022 02:56:50 GMT", + "etag": "\"0x8D9F5AEF9BB4207\"", + "last-modified": "Tue, 22 Feb 2022 02:56:51 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "0e1cd193-d4f9-48fb-b5bd-3a0750ac2cef", + "x-ms-client-request-id": "6fc57287-cc23-4a94-896b-f396358360e0", "x-ms-file-attributes": "Archive", - "x-ms-file-change-time": "2019-12-13T12:42:10.8781389Z", - "x-ms-file-creation-time": "2019-12-13T12:42:10.8781389Z", + "x-ms-file-change-time": "2022-02-22T02:56:51.2549383Z", + "x-ms-file-creation-time": "2022-02-22T02:56:51.2549383Z", "x-ms-file-id": "16140971433240035328", - "x-ms-file-last-write-time": "2019-12-13T12:42:10.8781389Z", + "x-ms-file-last-write-time": "2022-02-22T02:56:51.2549383Z", "x-ms-file-parent-id": "13835128424026341376", - "x-ms-file-permission-key": "11619239463300764278*693339914461510392", - "x-ms-request-id": "9e30affe-301a-000d-12b2-b15aef000000", + "x-ms-file-permission-key": "15187149962788154044*8819015832131519026", + "x-ms-request-id": "a258b12d-301a-0052-2f97-27b659000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2019-02-02" + "x-ms-version": "2021-04-10" } }, { "method": "PUT", - "url": "https://fakestorageaccount.file.core.windows.net/share157624092951400140/dir157624093008701766/file157624093066902449", + "url": "https://fakestorageaccount.file.core.windows.net/share164549860830901779/dir164549860887906009/file164549860945301758", "query": {}, "requestBody": null, "status": 412, - "response": "LeaseIdMissingThere is currently a lease on the file and no lease ID was specified in the request.\nRequestId:9e30b000-301a-000d-14b2-b15aef000000\nTime:2019-12-13T12:42:11.7201311Z", + "response": "LeaseIdMissingThere is currently a lease on the file and no lease ID was specified in the request.\nRequestId:a258b131-301a-0052-3197-27b659000000\nTime:2022-02-22T02:56:51.8882629Z", "responseHeaders": { "content-length": "267", "content-type": "application/xml", - "date": "Fri, 13 Dec 2019 12:42:11 GMT", + "date": "Tue, 22 Feb 2022 02:56:51 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "f828b69a-8f0a-42d6-8333-e8ea3c045807", + "x-ms-client-request-id": "966c310d-d489-4dfe-9259-f68ea66a9be6", "x-ms-error-code": "LeaseIdMissing", - "x-ms-request-id": "9e30b000-301a-000d-14b2-b15aef000000", - "x-ms-version": "2019-02-02" + "x-ms-request-id": "a258b131-301a-0052-3197-27b659000000", + "x-ms-version": "2021-04-10" } }, { "method": "PUT", - "url": "https://fakestorageaccount.file.core.windows.net/share157624092951400140/dir157624093008701766/file157624093066902449", + "url": "https://fakestorageaccount.file.core.windows.net/share164549860830901779/dir164549860887906009/file164549860945301758", "query": {}, "requestBody": null, "status": 202, "response": "", "responseHeaders": { "content-length": "0", - "date": "Fri, 13 Dec 2019 12:42:11 GMT", - "etag": "\"0x8D77FC9E037C976\"", - "last-modified": "Fri, 13 Dec 2019 12:42:12 GMT", + "date": "Tue, 22 Feb 2022 02:56:52 GMT", + "etag": "\"0x8D9F5AEFA7B8F84\"", + "last-modified": "Tue, 22 Feb 2022 02:56:52 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "e8ca76f3-c0d9-44a9-b5d7-7f3c1af96143", - "x-ms-copy-id": "32056548-6b1d-4fa6-bf8f-5eac72da482c", + "x-ms-client-request-id": "0b7e9169-0c1b-404e-927c-99a4561af287", + "x-ms-copy-id": "a17a2da1-772c-43b4-971d-7a9d80908da4", "x-ms-copy-status": "success", - "x-ms-request-id": "9e30b004-301a-000d-17b2-b15aef000000", - "x-ms-version": "2019-02-02" + "x-ms-request-id": "a258b133-301a-0052-3397-27b659000000", + "x-ms-version": "2021-04-10" } }, { "method": "DELETE", - "url": "https://fakestorageaccount.file.core.windows.net/share157624092951400140", + "url": "https://fakestorageaccount.file.core.windows.net/share164549860830901779", "query": { "restype": "share" }, @@ -170,21 +170,22 @@ "response": "", "responseHeaders": { "content-length": "0", - "date": "Fri, 13 Dec 2019 12:42:12 GMT", + "date": "Tue, 22 Feb 2022 02:56:52 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "4abf83fd-afaf-4645-a4ff-4929601a8d35", - "x-ms-request-id": "9e30b009-301a-000d-1ab2-b15aef000000", - "x-ms-version": "2019-02-02" + "x-ms-client-request-id": "741a9f7d-807e-42ab-810d-d66cb20e68c0", + "x-ms-request-id": "a258b135-301a-0052-3597-27b659000000", + "x-ms-version": "2021-04-10" } } ], "uniqueTestInfo": { "uniqueName": { - "share": "share157624092951400140", - "dir": "dir157624093008701766", - "file": "file157624093066902449", - "copiedfile": "copiedfile157624093185509182" + "share": "share164549860830901779", + "dir": "dir164549860887906009", + "file": "file164549860945301758", + "copiedfile": "copiedfile164549861063406671" }, "newDate": {} - } + }, + "hash": "9898577f3b26c98a48be512d52763097" } \ No newline at end of file diff --git a/sdk/storage/storage-file-share/recordings/node/fileclient/recording_abortcopyfromurl_should_failed_for_a_completed_copy_operation.js b/sdk/storage/storage-file-share/recordings/node/fileclient/recording_abortcopyfromurl_should_failed_for_a_completed_copy_operation.js index c864fb811e6d..68207e162b5c 100644 --- a/sdk/storage/storage-file-share/recordings/node/fileclient/recording_abortcopyfromurl_should_failed_for_a_completed_copy_operation.js +++ b/sdk/storage/storage-file-share/recordings/node/fileclient/recording_abortcopyfromurl_should_failed_for_a_completed_copy_operation.js @@ -1,53 +1,57 @@ let nock = require('nock'); -module.exports.testInfo = {"share":"share156816837881407855","dir":"dir156816837923700760","file":"file156816837977500155","copiedfile":"copiedfile156816838032308996"} +module.exports.hash = "7c0a40971869a5219bc1b4ac05d34e8f"; + +module.exports.testInfo = {"uniqueName":{"share":"share164549792033203201","dir":"dir164549792062408358","file":"file164549792091501814","copiedfile":"copiedfile164549792120701226"},"newDate":{}} nock('https://fakestorageaccount.file.core.windows.net:443', {"encodedQueryParams":true}) - .put('/share156816837881407855') + .put('/share164549792033203201') .query(true) - .reply(201, "", [ 'Content-Length', + .reply(201, "", [ + 'Content-Length', '0', 'Last-Modified', - 'Wed, 11 Sep 2019 02:19:39 GMT', + 'Tue, 22 Feb 2022 02:45:20 GMT', 'ETag', - '"0x8D7365E7F972CA6"', + '"0x8D9F5AD5E1C7DBA"', 'Server', 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', 'x-ms-request-id', - 'a9f1deda-101a-000f-6647-688b0a000000', + '868c185a-501a-006b-2996-274d45000000', 'x-ms-client-request-id', - 'bf72ada8-2650-4295-9d72-72a763774da8', + 'a6a99452-058a-468a-a94a-aa69347db65d', 'x-ms-version', - '2019-02-02', + '2021-04-10', 'Date', - 'Wed, 11 Sep 2019 02:19:38 GMT' ]); - + 'Tue, 22 Feb 2022 02:45:19 GMT' +]); nock('https://fakestorageaccount.file.core.windows.net:443', {"encodedQueryParams":true}) - .put('/share156816837881407855/dir156816837923700760') + .put('/share164549792033203201/dir164549792062408358') .query(true) - .reply(201, "", [ 'Content-Length', + .reply(201, "", [ + 'Content-Length', '0', 'Last-Modified', - 'Wed, 11 Sep 2019 02:19:39 GMT', + 'Tue, 22 Feb 2022 02:45:20 GMT', 'ETag', - '"0x8D7365E7FE4894F"', + '"0x8D9F5AD5E49C008"', 'Server', 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', 'x-ms-request-id', - 'f4704f7f-f01a-000e-6f47-688af7000000', + '868c185d-501a-006b-2b96-274d45000000', 'x-ms-client-request-id', - 'e7f41db5-6ff2-4e6a-b8b1-8fd5880a61fe', + '5f5276cd-ce5f-4f98-b4e4-4500b2e04272', 'x-ms-version', - '2019-02-02', + '2021-04-10', 'x-ms-file-change-time', - '2019-09-11T02:19:39.6724047Z', + '2022-02-22T02:45:20.9674760Z', 'x-ms-file-last-write-time', - '2019-09-11T02:19:39.6724047Z', + '2022-02-22T02:45:20.9674760Z', 'x-ms-file-creation-time', - '2019-09-11T02:19:39.6724047Z', + '2022-02-22T02:45:20.9674760Z', 'x-ms-file-permission-key', - '15292852142319295125*13609941760923454748', + '1348922918165632443*8819015832131519026', 'x-ms-file-attributes', 'Directory', 'x-ms-file-id', @@ -57,103 +61,107 @@ nock('https://fakestorageaccount.file.core.windows.net:443', {"encodedQueryParam 'x-ms-request-server-encrypted', 'true', 'Date', - 'Wed, 11 Sep 2019 02:19:38 GMT' ]); - + 'Tue, 22 Feb 2022 02:45:20 GMT' +]); nock('https://fakestorageaccount.file.core.windows.net:443', {"encodedQueryParams":true}) - .put('/share156816837881407855/dir156816837923700760/file156816837977500155') - .reply(201, "", [ 'Content-Length', + .put('/share164549792033203201/dir164549792062408358/file164549792091501814') + .reply(201, "", [ + 'Content-Length', '0', 'Last-Modified', - 'Wed, 11 Sep 2019 02:19:40 GMT', + 'Tue, 22 Feb 2022 02:45:21 GMT', 'ETag', - '"0x8D7365E8039E4C5"', + '"0x8D9F5AD5E75F9AB"', 'Server', 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', 'x-ms-request-id', - '03795ae8-401a-003e-6b47-68d0dd000000', + '868c1866-501a-006b-3296-274d45000000', 'x-ms-client-request-id', - '3004b519-c209-4e79-962d-2fa9b91566eb', + 'b3a9c404-361a-44c4-b454-f60a8019a726', 'x-ms-version', - '2019-02-02', + '2021-04-10', 'x-ms-file-change-time', - '2019-09-11T02:19:40.2318021Z', + '2022-02-22T02:45:21.2573099Z', 'x-ms-file-last-write-time', - '2019-09-11T02:19:40.2318021Z', + '2022-02-22T02:45:21.2573099Z', 'x-ms-file-creation-time', - '2019-09-11T02:19:40.2318021Z', + '2022-02-22T02:45:21.2573099Z', 'x-ms-file-permission-key', - '1459396823544571282*13609941760923454748', + '15187149962788154044*8819015832131519026', 'x-ms-file-attributes', 'Archive', 'x-ms-file-id', - '13835093239654252544', + '11529285414812647424', 'x-ms-file-parent-id', '13835128424026341376', 'x-ms-request-server-encrypted', 'true', 'Date', - 'Wed, 11 Sep 2019 02:19:39 GMT' ]); - + 'Tue, 22 Feb 2022 02:45:20 GMT' +]); nock('https://fakestorageaccount.file.core.windows.net:443', {"encodedQueryParams":true}) - .put('/share156816837881407855/dir156816837923700760/copiedfile156816838032308996') - .reply(202, "", [ 'Content-Length', + .put('/share164549792033203201/dir164549792062408358/copiedfile164549792120701226') + .reply(202, "", [ + 'Content-Length', '0', 'Last-Modified', - 'Wed, 11 Sep 2019 02:19:40 GMT', + 'Tue, 22 Feb 2022 02:45:21 GMT', 'ETag', - '"0x8D7365E80A42B9C"', + '"0x8D9F5AD5EA69F72"', 'Server', 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', 'x-ms-request-id', - '450670a4-f01a-004a-4647-68569b000000', + '868c1867-501a-006b-3396-274d45000000', 'x-ms-client-request-id', - '6e7bd58b-9b1b-4be1-91cd-f5fb9cabc36b', + '71dd0d8b-9785-4a17-a38e-d7f81a1cff9d', 'x-ms-version', - '2019-02-02', + '2021-04-10', 'x-ms-copy-id', - '65870c1a-0ef8-47a3-8d7b-4cb5bbd0495f', + 'f0349d19-febf-4d24-b1f4-e8db1cde8b73', 'x-ms-copy-status', 'success', 'Date', - 'Wed, 11 Sep 2019 02:19:40 GMT' ]); - + 'Tue, 22 Feb 2022 02:45:20 GMT' +]); nock('https://fakestorageaccount.file.core.windows.net:443', {"encodedQueryParams":true}) - .put('/share156816837881407855/dir156816837923700760/copiedfile156816838032308996') + .put('/share164549792033203201/dir164549792062408358/copiedfile164549792120701226') .query(true) - .reply(409, "NoPendingCopyOperationThere is currently no pending copy operation.\nRequestId:a01b40ee-901a-0051-2947-687809000000\nTime:2019-09-11T02:19:42.3941418Z", [ 'Content-Length', + .reply(409, "NoPendingCopyOperationThere is currently no pending copy operation.\nRequestId:868c186b-501a-006b-3696-274d45000000\nTime:2022-02-22T02:45:22.9104348Z", [ + 'Content-Length', '236', 'Content-Type', 'application/xml', 'Server', 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', 'x-ms-request-id', - 'a01b40ee-901a-0051-2947-687809000000', + '868c186b-501a-006b-3696-274d45000000', 'x-ms-client-request-id', - 'fbae4276-69a0-4d7e-925f-5024cb4736ed', + '15154cd7-77dc-429d-9b3e-4121c16ef609', 'x-ms-version', - '2019-02-02', + '2021-04-10', 'x-ms-error-code', 'NoPendingCopyOperation', 'Date', - 'Wed, 11 Sep 2019 02:19:41 GMT' ]); - + 'Tue, 22 Feb 2022 02:45:22 GMT' +]); nock('https://fakestorageaccount.file.core.windows.net:443', {"encodedQueryParams":true}) - .delete('/share156816837881407855') + .delete('/share164549792033203201') .query(true) - .reply(202, "", [ 'Content-Length', + .reply(202, "", [ + 'Content-Length', '0', 'Server', 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', 'x-ms-request-id', - '42858a7e-101a-0004-2047-68937e000000', + '868c186d-501a-006b-3796-274d45000000', 'x-ms-client-request-id', - 'b79611d9-12ee-4a62-b418-7c9b089b4723', + '00a893fd-9c47-416e-bc96-6e4dc92258b8', 'x-ms-version', - '2019-02-02', + '2021-04-10', 'Date', - 'Wed, 11 Sep 2019 02:19:42 GMT' ]); - + 'Tue, 22 Feb 2022 02:45:22 GMT' +]); diff --git a/sdk/storage/storage-file-share/recordings/node/fileclient/recording_startcopyfromurl.js b/sdk/storage/storage-file-share/recordings/node/fileclient/recording_startcopyfromurl.js index 12ad54217986..1db1eb40f34a 100644 --- a/sdk/storage/storage-file-share/recordings/node/fileclient/recording_startcopyfromurl.js +++ b/sdk/storage/storage-file-share/recordings/node/fileclient/recording_startcopyfromurl.js @@ -1,53 +1,57 @@ let nock = require('nock'); -module.exports.testInfo = {"share":"share156816837547105931","dir":"dir156816837589101627","file":"file156816837631505129","copiedfile":"copiedfile156816837675807689"} +module.exports.hash = "2e34e5ed4803baa834c504ceefa51108"; + +module.exports.testInfo = {"uniqueName":{"share":"share164549790972607555","dir":"dir164549791108705382","file":"file164549791139707116","copiedfile":"copiedfile164549791169304791"},"newDate":{}} nock('https://fakestorageaccount.file.core.windows.net:443', {"encodedQueryParams":true}) - .put('/share156816837547105931') + .put('/share164549790972607555') .query(true) - .reply(201, "", [ 'Content-Length', + .reply(201, "", [ + 'Content-Length', '0', 'Last-Modified', - 'Wed, 11 Sep 2019 02:19:35 GMT', + 'Tue, 22 Feb 2022 02:45:11 GMT', 'ETag', - '"0x8D7365E7D98C9E4"', + '"0x8D9F5AD586B378A"', 'Server', 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', 'x-ms-request-id', - '3f828862-801a-0045-2047-68bb6d000000', + '868c1808-501a-006b-7f96-274d45000000', 'x-ms-client-request-id', - '6faaf950-0015-43f3-95a0-c62b5d89ae45', + '68249b49-5409-4696-8861-e52739d04462', 'x-ms-version', - '2019-02-02', + '2021-04-10', 'Date', - 'Wed, 11 Sep 2019 02:19:35 GMT' ]); - + 'Tue, 22 Feb 2022 02:45:10 GMT' +]); nock('https://fakestorageaccount.file.core.windows.net:443', {"encodedQueryParams":true}) - .put('/share156816837547105931/dir156816837589101627') + .put('/share164549790972607555/dir164549791108705382') .query(true) - .reply(201, "", [ 'Content-Length', + .reply(201, "", [ + 'Content-Length', '0', 'Last-Modified', - 'Wed, 11 Sep 2019 02:19:36 GMT', + 'Tue, 22 Feb 2022 02:45:11 GMT', 'ETag', - '"0x8D7365E7DD85455"', + '"0x8D9F5AD589C92EB"', 'Server', 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', 'x-ms-request-id', - '7b5698a3-001a-001b-2d47-68486e000000', + '868c180b-501a-006b-8096-274d45000000', 'x-ms-client-request-id', - 'a7389d35-8460-4aff-834f-d34cf07feb46', + 'a0f1df02-abe4-4260-8538-d5787eb95d62', 'x-ms-version', - '2019-02-02', + '2021-04-10', 'x-ms-file-change-time', - '2019-09-11T02:19:36.2369621Z', + '2022-02-22T02:45:11.4439403Z', 'x-ms-file-last-write-time', - '2019-09-11T02:19:36.2369621Z', + '2022-02-22T02:45:11.4439403Z', 'x-ms-file-creation-time', - '2019-09-11T02:19:36.2369621Z', + '2022-02-22T02:45:11.4439403Z', 'x-ms-file-permission-key', - '15292852142319295125*13609941760923454748', + '1348922918165632443*8819015832131519026', 'x-ms-file-attributes', 'Directory', 'x-ms-file-id', @@ -57,180 +61,189 @@ nock('https://fakestorageaccount.file.core.windows.net:443', {"encodedQueryParam 'x-ms-request-server-encrypted', 'true', 'Date', - 'Wed, 11 Sep 2019 02:19:35 GMT' ]); - + 'Tue, 22 Feb 2022 02:45:10 GMT' +]); nock('https://fakestorageaccount.file.core.windows.net:443', {"encodedQueryParams":true}) - .put('/share156816837547105931/dir156816837589101627/file156816837631505129') - .reply(201, "", [ 'Content-Length', + .put('/share164549790972607555/dir164549791108705382/file164549791139707116') + .reply(201, "", [ + 'Content-Length', '0', 'Last-Modified', - 'Wed, 11 Sep 2019 02:19:36 GMT', + 'Tue, 22 Feb 2022 02:45:11 GMT', 'ETag', - '"0x8D7365E7E1C6EA7"', + '"0x8D9F5AD58CA52F7"', 'Server', 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', 'x-ms-request-id', - '8fd16912-d01a-003b-5647-6824a2000000', + '868c180d-501a-006b-0196-274d45000000', 'x-ms-client-request-id', - '8f3f7e93-13f3-4d09-bbaa-df9778abdc30', + 'b02485b8-51ec-4ec1-b997-3b9846bb3c55', 'x-ms-version', - '2019-02-02', + '2021-04-10', 'x-ms-file-change-time', - '2019-09-11T02:19:36.6832807Z', + '2022-02-22T02:45:11.7437687Z', 'x-ms-file-last-write-time', - '2019-09-11T02:19:36.6832807Z', + '2022-02-22T02:45:11.7437687Z', 'x-ms-file-creation-time', - '2019-09-11T02:19:36.6832807Z', + '2022-02-22T02:45:11.7437687Z', 'x-ms-file-permission-key', - '1459396823544571282*13609941760923454748', + '15187149962788154044*8819015832131519026', 'x-ms-file-attributes', 'Archive', 'x-ms-file-id', - '13835093239654252544', + '11529285414812647424', 'x-ms-file-parent-id', '13835128424026341376', 'x-ms-request-server-encrypted', 'true', 'Date', - 'Wed, 11 Sep 2019 02:19:36 GMT' ]); - + 'Tue, 22 Feb 2022 02:45:10 GMT' +]); nock('https://fakestorageaccount.file.core.windows.net:443', {"encodedQueryParams":true}) - .put('/share156816837547105931/dir156816837589101627/copiedfile156816837675807689') - .reply(202, "", [ 'Content-Length', + .put('/share164549790972607555/dir164549791108705382/copiedfile164549791169304791') + .reply(202, "", [ + 'Content-Length', '0', 'Last-Modified', - 'Wed, 11 Sep 2019 02:19:37 GMT', + 'Tue, 22 Feb 2022 02:45:12 GMT', 'ETag', - '"0x8D7365E7E942567"', + '"0x8D9F5AD58FEEFC8"', 'Server', 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', 'x-ms-request-id', - '3257dde6-601a-000b-5a47-687e88000000', + '868c180e-501a-006b-0296-274d45000000', 'x-ms-client-request-id', - '735f6de8-d67b-4aef-8854-503110be83f7', + '030317f5-c891-44df-96a3-5cc61b03e96f', 'x-ms-version', - '2019-02-02', + '2021-04-10', 'x-ms-copy-id', - 'c7064178-3c8c-439f-b02f-14c5c3f16f63', + 'bfe57ca5-1f0f-4a6a-b90d-11ae4d82ccb7', 'x-ms-copy-status', 'success', 'Date', - 'Wed, 11 Sep 2019 02:19:37 GMT' ]); - + 'Tue, 22 Feb 2022 02:45:11 GMT' +]); nock('https://fakestorageaccount.file.core.windows.net:443', {"encodedQueryParams":true}) - .head('/share156816837547105931/dir156816837589101627/file156816837631505129') - .reply(200, "", [ 'Content-Length', + .head('/share164549790972607555/dir164549791108705382/file164549791139707116') + .reply(200, "", [ + 'Content-Length', '1024', 'Content-Type', 'application/octet-stream', 'Last-Modified', - 'Wed, 11 Sep 2019 02:19:36 GMT', + 'Tue, 22 Feb 2022 02:45:11 GMT', 'ETag', - '"0x8D7365E7E1C6EA7"', + '"0x8D9F5AD58CA52F7"', + 'Vary', + 'Origin', 'Server', 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', 'x-ms-request-id', - 'cf4a336a-e01a-0055-0647-688d8b000000', + '868c180f-501a-006b-0396-274d45000000', 'x-ms-client-request-id', - '58e900b9-af96-4b91-a880-4b6eec62f02a', + '0107dc9e-f404-4b7b-b7d1-b885fdf6d9c6', 'x-ms-version', - '2019-02-02', + '2021-04-10', 'x-ms-type', 'File', 'x-ms-server-encrypted', 'true', + 'x-ms-lease-status', + 'unlocked', + 'x-ms-lease-state', + 'available', 'x-ms-file-change-time', - '2019-09-11T02:19:36.6832807Z', + '2022-02-22T02:45:11.7437687Z', 'x-ms-file-last-write-time', - '2019-09-11T02:19:36.6832807Z', + '2022-02-22T02:45:11.7437687Z', 'x-ms-file-creation-time', - '2019-09-11T02:19:36.6832807Z', + '2022-02-22T02:45:11.7437687Z', 'x-ms-file-permission-key', - '1459396823544571282*13609941760923454748', + '15187149962788154044*8819015832131519026', 'x-ms-file-attributes', 'Archive', 'x-ms-file-id', - '13835093239654252544', + '11529285414812647424', 'x-ms-file-parent-id', '13835128424026341376', - 'Access-Control-Expose-Headers', - 'x-ms-request-id,x-ms-client-request-id,Server,x-ms-version,Content-Type,Last-Modified,ETag,x-ms-type,x-ms-server-encrypted,x-ms-file-change-time,x-ms-file-last-write-time,x-ms-file-creation-time,x-ms-file-permission-key,x-ms-file-attributes,x-ms-file-id,x-ms-file-parent-id,Content-Length,Date,Transfer-Encoding', - 'Access-Control-Allow-Origin', - '*', 'Date', - 'Wed, 11 Sep 2019 02:19:37 GMT' ]); - + 'Tue, 22 Feb 2022 02:45:11 GMT' +]); nock('https://fakestorageaccount.file.core.windows.net:443', {"encodedQueryParams":true}) - .head('/share156816837547105931/dir156816837589101627/copiedfile156816837675807689') - .reply(200, "", [ 'Content-Length', + .head('/share164549790972607555/dir164549791108705382/copiedfile164549791169304791') + .reply(200, "", [ + 'Content-Length', '1024', 'Content-Type', 'application/octet-stream', 'Last-Modified', - 'Wed, 11 Sep 2019 02:19:37 GMT', + 'Tue, 22 Feb 2022 02:45:12 GMT', 'ETag', - '"0x8D7365E7E942567"', + '"0x8D9F5AD58FEEFC8"', + 'Vary', + 'Origin', 'Server', 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', 'x-ms-request-id', - 'fd8fa2ea-b01a-0046-6a47-68b86a000000', + '868c1812-501a-006b-0696-274d45000000', 'x-ms-client-request-id', - '593e8d6b-2029-43e4-9cff-4ecb169e1e23', + '8d871012-9b04-4360-b683-62513e5545e0', 'x-ms-version', - '2019-02-02', + '2021-04-10', 'x-ms-copy-id', - 'c7064178-3c8c-439f-b02f-14c5c3f16f63', + 'bfe57ca5-1f0f-4a6a-b90d-11ae4d82ccb7', 'x-ms-copy-source', - 'https://fakestorageaccount.file.core.windows.net/share156816837547105931/dir156816837589101627/file156816837631505129', + 'https://fakestorageaccount.file.core.windows.net/share164549790972607555/dir164549791108705382/file164549791139707116', 'x-ms-copy-status', 'success', 'x-ms-copy-progress', '1024/1024', 'x-ms-copy-completion-time', - 'Wed, 11 Sep 2019 02:19:37 GMT', + 'Tue, 22 Feb 2022 02:45:12 GMT', 'x-ms-type', 'File', 'x-ms-server-encrypted', 'true', + 'x-ms-lease-status', + 'unlocked', + 'x-ms-lease-state', + 'available', 'x-ms-file-change-time', - '2019-09-11T02:19:36.6832807Z', + '2022-02-22T02:45:12.0885704Z', 'x-ms-file-last-write-time', - '2019-09-11T02:19:36.6832807Z', + '2022-02-22T02:45:12.0885704Z', 'x-ms-file-creation-time', - '2019-09-11T02:19:37.4678375Z', + '2022-02-22T02:45:12.0885704Z', 'x-ms-file-permission-key', - '1459396823544571282*13609941760923454748', + '15187149962788154044*8819015832131519026', 'x-ms-file-attributes', 'Archive', 'x-ms-file-id', - '13835163608398430208', + '16140971433240035328', 'x-ms-file-parent-id', '13835128424026341376', - 'Access-Control-Expose-Headers', - 'x-ms-request-id,x-ms-client-request-id,Server,x-ms-version,Content-Type,x-ms-copy-id,x-ms-copy-source,x-ms-copy-status,x-ms-copy-progress,x-ms-copy-completion-time,Last-Modified,ETag,x-ms-type,x-ms-server-encrypted,x-ms-file-change-time,x-ms-file-last-write-time,x-ms-file-creation-time,x-ms-file-permission-key,x-ms-file-attributes,x-ms-file-id,x-ms-file-parent-id,Content-Length,Date,Transfer-Encoding', - 'Access-Control-Allow-Origin', - '*', 'Date', - 'Wed, 11 Sep 2019 02:19:37 GMT' ]); - + 'Tue, 22 Feb 2022 02:45:11 GMT' +]); nock('https://fakestorageaccount.file.core.windows.net:443', {"encodedQueryParams":true}) - .delete('/share156816837547105931') + .delete('/share164549790972607555') .query(true) - .reply(202, "", [ 'Content-Length', + .reply(202, "", [ + 'Content-Length', '0', 'Server', 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', 'x-ms-request-id', - '3f32e8a2-d01a-0012-7947-6852e0000000', + '868c1815-501a-006b-0796-274d45000000', 'x-ms-client-request-id', - '9ec36f6f-4f00-4451-a269-41a5a8f4c16e', + '77c0d492-51ec-41ba-920c-7913e5d147d0', 'x-ms-version', - '2019-02-02', + '2021-04-10', 'Date', - 'Wed, 11 Sep 2019 02:19:38 GMT' ]); - + 'Tue, 22 Feb 2022 02:45:12 GMT' +]); diff --git a/sdk/storage/storage-file-share/recordings/node/fileclient/recording_startcopyfromurl_ignore_readonly.js b/sdk/storage/storage-file-share/recordings/node/fileclient/recording_startcopyfromurl_ignore_readonly.js new file mode 100644 index 000000000000..9ee5dcd20967 --- /dev/null +++ b/sdk/storage/storage-file-share/recordings/node/fileclient/recording_startcopyfromurl_ignore_readonly.js @@ -0,0 +1,286 @@ +let nock = require('nock'); + +module.exports.hash = "ff54c61cc9a352bcb7c9da0878037d36"; + +module.exports.testInfo = {"uniqueName":{"share":"share164549791307600052","dir":"dir164549791336706050","file":"file164549791366307077","copiedfile":"copiedfile164549791396208559"},"newDate":{}} + +nock('https://fakestorageaccount.file.core.windows.net:443', {"encodedQueryParams":true}) + .put('/share164549791307600052') + .query(true) + .reply(201, "", [ + 'Content-Length', + '0', + 'Last-Modified', + 'Tue, 22 Feb 2022 02:45:13 GMT', + 'ETag', + '"0x8D9F5AD59C93528"', + 'Server', + 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', + 'x-ms-request-id', + '868c1816-501a-006b-0896-274d45000000', + 'x-ms-client-request-id', + '40443cfd-b467-4edf-acf9-c16427abf3aa', + 'x-ms-version', + '2021-04-10', + 'Date', + 'Tue, 22 Feb 2022 02:45:12 GMT' +]); + +nock('https://fakestorageaccount.file.core.windows.net:443', {"encodedQueryParams":true}) + .put('/share164549791307600052/dir164549791336706050') + .query(true) + .reply(201, "", [ + 'Content-Length', + '0', + 'Last-Modified', + 'Tue, 22 Feb 2022 02:45:13 GMT', + 'ETag', + '"0x8D9F5AD59F6E700"', + 'Server', + 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', + 'x-ms-request-id', + '868c1818-501a-006b-0996-274d45000000', + 'x-ms-client-request-id', + '46bc68b0-5d19-477b-97fd-6028f4aae5a3', + 'x-ms-version', + '2021-04-10', + 'x-ms-file-change-time', + '2022-02-22T02:45:13.7136384Z', + 'x-ms-file-last-write-time', + '2022-02-22T02:45:13.7136384Z', + 'x-ms-file-creation-time', + '2022-02-22T02:45:13.7136384Z', + 'x-ms-file-permission-key', + '1348922918165632443*8819015832131519026', + 'x-ms-file-attributes', + 'Directory', + 'x-ms-file-id', + '13835128424026341376', + 'x-ms-file-parent-id', + '0', + 'x-ms-request-server-encrypted', + 'true', + 'Date', + 'Tue, 22 Feb 2022 02:45:12 GMT' +]); + +nock('https://fakestorageaccount.file.core.windows.net:443', {"encodedQueryParams":true}) + .put('/share164549791307600052/dir164549791336706050/file164549791366307077') + .reply(201, "", [ + 'Content-Length', + '0', + 'Last-Modified', + 'Tue, 22 Feb 2022 02:45:14 GMT', + 'ETag', + '"0x8D9F5AD5A2458F9"', + 'Server', + 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', + 'x-ms-request-id', + '868c181b-501a-006b-0b96-274d45000000', + 'x-ms-client-request-id', + '0aa9d694-ef8e-42f9-ae3e-b654a1d522dd', + 'x-ms-version', + '2021-04-10', + 'x-ms-file-change-time', + '2022-02-22T02:45:14.0114681Z', + 'x-ms-file-last-write-time', + '2022-02-22T02:45:14.0114681Z', + 'x-ms-file-creation-time', + '2022-02-22T02:45:14.0114681Z', + 'x-ms-file-permission-key', + '15187149962788154044*8819015832131519026', + 'x-ms-file-attributes', + 'Archive', + 'x-ms-file-id', + '11529285414812647424', + 'x-ms-file-parent-id', + '13835128424026341376', + 'x-ms-request-server-encrypted', + 'true', + 'Date', + 'Tue, 22 Feb 2022 02:45:13 GMT' +]); + +nock('https://fakestorageaccount.file.core.windows.net:443', {"encodedQueryParams":true}) + .put('/share164549791307600052/dir164549791336706050/copiedfile164549791396208559') + .reply(201, "", [ + 'Content-Length', + '0', + 'Last-Modified', + 'Tue, 22 Feb 2022 02:45:14 GMT', + 'ETag', + '"0x8D9F5AD5A517CCC"', + 'Server', + 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', + 'x-ms-request-id', + '868c181c-501a-006b-0c96-274d45000000', + 'x-ms-client-request-id', + '5f146f16-82ae-4bb1-8812-2845ce3673e7', + 'x-ms-version', + '2021-04-10', + 'x-ms-file-change-time', + '2022-02-22T02:45:14.3072972Z', + 'x-ms-file-last-write-time', + '2022-02-22T02:45:14.3072972Z', + 'x-ms-file-creation-time', + '2022-02-22T02:45:14.3072972Z', + 'x-ms-file-permission-key', + '15187149962788154044*8819015832131519026', + 'x-ms-file-attributes', + 'ReadOnly | Archive', + 'x-ms-file-id', + '16140971433240035328', + 'x-ms-file-parent-id', + '13835128424026341376', + 'x-ms-request-server-encrypted', + 'true', + 'Date', + 'Tue, 22 Feb 2022 02:45:13 GMT' +]); + +nock('https://fakestorageaccount.file.core.windows.net:443', {"encodedQueryParams":true}) + .put('/share164549791307600052/dir164549791336706050/copiedfile164549791396208559') + .reply(202, "", [ + 'Content-Length', + '0', + 'Last-Modified', + 'Tue, 22 Feb 2022 02:45:14 GMT', + 'ETag', + '"0x8D9F5AD5A892670"', + 'Server', + 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', + 'x-ms-request-id', + '868c181d-501a-006b-0d96-274d45000000', + 'x-ms-client-request-id', + '5b55d8f8-f67d-43f0-bd8f-199f3661efa1', + 'x-ms-version', + '2021-04-10', + 'x-ms-copy-id', + '3924362b-7f6a-45b1-819b-0526bddbb6a9', + 'x-ms-copy-status', + 'success', + 'Date', + 'Tue, 22 Feb 2022 02:45:13 GMT' +]); + +nock('https://fakestorageaccount.file.core.windows.net:443', {"encodedQueryParams":true}) + .head('/share164549791307600052/dir164549791336706050/file164549791366307077') + .reply(200, "", [ + 'Content-Length', + '1024', + 'Content-Type', + 'application/octet-stream', + 'Last-Modified', + 'Tue, 22 Feb 2022 02:45:14 GMT', + 'ETag', + '"0x8D9F5AD5A2458F9"', + 'Vary', + 'Origin', + 'Server', + 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', + 'x-ms-request-id', + '868c1820-501a-006b-1096-274d45000000', + 'x-ms-client-request-id', + 'f4563d6b-a4b8-48c7-908c-f71b84a8dbc0', + 'x-ms-version', + '2021-04-10', + 'x-ms-type', + 'File', + 'x-ms-server-encrypted', + 'true', + 'x-ms-lease-status', + 'unlocked', + 'x-ms-lease-state', + 'available', + 'x-ms-file-change-time', + '2022-02-22T02:45:14.0114681Z', + 'x-ms-file-last-write-time', + '2022-02-22T02:45:14.0114681Z', + 'x-ms-file-creation-time', + '2022-02-22T02:45:14.0114681Z', + 'x-ms-file-permission-key', + '15187149962788154044*8819015832131519026', + 'x-ms-file-attributes', + 'Archive', + 'x-ms-file-id', + '11529285414812647424', + 'x-ms-file-parent-id', + '13835128424026341376', + 'Date', + 'Tue, 22 Feb 2022 02:45:14 GMT' +]); + +nock('https://fakestorageaccount.file.core.windows.net:443', {"encodedQueryParams":true}) + .head('/share164549791307600052/dir164549791336706050/copiedfile164549791396208559') + .reply(200, "", [ + 'Content-Length', + '1024', + 'Content-Type', + 'application/octet-stream', + 'Last-Modified', + 'Tue, 22 Feb 2022 02:45:14 GMT', + 'ETag', + '"0x8D9F5AD5A892670"', + 'Vary', + 'Origin', + 'Server', + 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', + 'x-ms-request-id', + '868c1822-501a-006b-1296-274d45000000', + 'x-ms-client-request-id', + '73129061-7cca-4e9b-b6fb-a9b4aa48ff0e', + 'x-ms-version', + '2021-04-10', + 'x-ms-copy-id', + '3924362b-7f6a-45b1-819b-0526bddbb6a9', + 'x-ms-copy-source', + 'https://fakestorageaccount.file.core.windows.net/share164549791307600052/dir164549791336706050/file164549791366307077', + 'x-ms-copy-status', + 'success', + 'x-ms-copy-progress', + '1024/1024', + 'x-ms-copy-completion-time', + 'Tue, 22 Feb 2022 02:45:14 GMT', + 'x-ms-type', + 'File', + 'x-ms-server-encrypted', + 'true', + 'x-ms-lease-status', + 'unlocked', + 'x-ms-lease-state', + 'available', + 'x-ms-file-change-time', + '2022-02-22T02:45:14.6720880Z', + 'x-ms-file-last-write-time', + '2022-02-22T02:45:14.0114681Z', + 'x-ms-file-creation-time', + '2022-02-22T02:45:14.6720880Z', + 'x-ms-file-permission-key', + '10974970485353649799*8819015832131519026', + 'x-ms-file-attributes', + 'Archive', + 'x-ms-file-id', + '16140971433240035328', + 'x-ms-file-parent-id', + '13835128424026341376', + 'Date', + 'Tue, 22 Feb 2022 02:45:14 GMT' +]); + +nock('https://fakestorageaccount.file.core.windows.net:443', {"encodedQueryParams":true}) + .delete('/share164549791307600052') + .query(true) + .reply(202, "", [ + 'Content-Length', + '0', + 'Server', + 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', + 'x-ms-request-id', + '868c1826-501a-006b-1596-274d45000000', + 'x-ms-client-request-id', + 'b2b86296-8e5b-46cc-82d2-0e220de5962e', + 'x-ms-version', + '2021-04-10', + 'Date', + 'Tue, 22 Feb 2022 02:45:14 GMT' +]); diff --git a/sdk/storage/storage-file-share/recordings/node/fileclient/recording_startcopyfromurl_with_smb_options.js b/sdk/storage/storage-file-share/recordings/node/fileclient/recording_startcopyfromurl_with_smb_options.js index f9197856ab26..182fde8e6163 100644 --- a/sdk/storage/storage-file-share/recordings/node/fileclient/recording_startcopyfromurl_with_smb_options.js +++ b/sdk/storage/storage-file-share/recordings/node/fileclient/recording_startcopyfromurl_with_smb_options.js @@ -1,55 +1,57 @@ let nock = require('nock'); -module.exports.testInfo = {"uniqueName":{"share":"share158116686268302689","dir":"dir158116686405705332","file":"file158116686514905730","copiedfile":"copiedfile158116686619409228"},"newDate":{}} +module.exports.hash = "11cfaed206b04c93de0ebdc080ce6f57"; + +module.exports.testInfo = {"uniqueName":{"share":"share164549791552300925","dir":"dir164549791582508307","file":"file164549791611805589","copiedfile":"copiedfile164549791641208887"},"newDate":{}} nock('https://fakestorageaccount.file.core.windows.net:443', {"encodedQueryParams":true}) - .put('/share158116686268302689') + .put('/share164549791552300925') .query(true) .reply(201, "", [ 'Content-Length', '0', 'Last-Modified', - 'Sat, 08 Feb 2020 13:01:03 GMT', + 'Tue, 22 Feb 2022 02:45:15 GMT', 'ETag', - '"0x8D7AC96F4403680"', + '"0x8D9F5AD5B3F9937"', 'Server', 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', 'x-ms-request-id', - 'cf40fcf3-101a-0025-137f-de3b47000000', + '868c1827-501a-006b-1696-274d45000000', 'x-ms-client-request-id', - 'efb30d2f-1fba-4c23-9ddb-71f72fa5900a', + '26786179-b1af-4dd2-8a35-1211b8e7fce0', 'x-ms-version', - '2019-07-07', + '2021-04-10', 'Date', - 'Sat, 08 Feb 2020 13:01:02 GMT' + 'Tue, 22 Feb 2022 02:45:15 GMT' ]); nock('https://fakestorageaccount.file.core.windows.net:443', {"encodedQueryParams":true}) - .put('/share158116686268302689/dir158116686405705332') + .put('/share164549791552300925/dir164549791582508307') .query(true) .reply(201, "", [ 'Content-Length', '0', 'Last-Modified', - 'Sat, 08 Feb 2020 13:01:05 GMT', + 'Tue, 22 Feb 2022 02:45:16 GMT', 'ETag', - '"0x8D7AC96F4E943B1"', + '"0x8D9F5AD5B6D7188"', 'Server', 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', 'x-ms-request-id', - 'a17f0ffe-401a-0007-297f-defe58000000', + '868c1829-501a-006b-1796-274d45000000', 'x-ms-client-request-id', - '7a39487c-d9d3-4ae1-81bb-c4532fa8c24b', + '32b0b955-d7aa-484e-b861-1b3be28ec122', 'x-ms-version', - '2019-07-07', + '2021-04-10', 'x-ms-file-change-time', - '2020-02-08T13:01:05.0214321Z', + '2022-02-22T02:45:16.1682312Z', 'x-ms-file-last-write-time', - '2020-02-08T13:01:05.0214321Z', + '2022-02-22T02:45:16.1682312Z', 'x-ms-file-creation-time', - '2020-02-08T13:01:05.0214321Z', + '2022-02-22T02:45:16.1682312Z', 'x-ms-file-permission-key', - '6579762511900832825*3714103237668529072', + '1348922918165632443*8819015832131519026', 'x-ms-file-attributes', 'Directory', 'x-ms-file-id', @@ -59,90 +61,92 @@ nock('https://fakestorageaccount.file.core.windows.net:443', {"encodedQueryParam 'x-ms-request-server-encrypted', 'true', 'Date', - 'Sat, 08 Feb 2020 13:01:04 GMT' + 'Tue, 22 Feb 2022 02:45:15 GMT' ]); nock('https://fakestorageaccount.file.core.windows.net:443', {"encodedQueryParams":true}) - .put('/share158116686268302689/dir158116686405705332/file158116686514905730') + .put('/share164549791552300925/dir164549791582508307/file164549791611805589') .reply(201, "", [ 'Content-Length', '0', 'Last-Modified', - 'Sat, 08 Feb 2020 13:01:06 GMT', + 'Tue, 22 Feb 2022 02:45:16 GMT', 'ETag', - '"0x8D7AC96F588DED4"', + '"0x8D9F5AD5B9A955B"', 'Server', 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', 'x-ms-request-id', - '75675941-101a-0047-767f-def960000000', + '868c182a-501a-006b-1896-274d45000000', 'x-ms-client-request-id', - '3a2c596c-ed04-4d95-92b9-8b7c42747897', + '33410ca5-b61f-4549-bef1-6f54ccad004f', 'x-ms-version', - '2019-07-07', + '2021-04-10', 'x-ms-file-change-time', - '2020-02-08T13:01:06.0674260Z', + '2022-02-22T02:45:16.4640603Z', 'x-ms-file-last-write-time', - '2020-02-08T13:01:06.0674260Z', + '2022-02-22T02:45:16.4640603Z', 'x-ms-file-creation-time', - '2020-02-08T13:01:06.0674260Z', + '2022-02-22T02:45:16.4640603Z', 'x-ms-file-permission-key', - '11181256410332760894*3714103237668529072', + '15187149962788154044*8819015832131519026', 'x-ms-file-attributes', 'Archive', 'x-ms-file-id', - '13835093239654252544', + '11529285414812647424', 'x-ms-file-parent-id', '13835128424026341376', 'x-ms-request-server-encrypted', 'true', 'Date', - 'Sat, 08 Feb 2020 13:01:05 GMT' + 'Tue, 22 Feb 2022 02:45:15 GMT' ]); nock('https://fakestorageaccount.file.core.windows.net:443', {"encodedQueryParams":true}) - .put('/share158116686268302689/dir158116686405705332/copiedfile158116686619409228') + .put('/share164549791552300925/dir164549791582508307/copiedfile164549791641208887') .reply(202, "", [ 'Content-Length', '0', 'Last-Modified', - 'Sat, 08 Feb 2020 13:01:07 GMT', + 'Tue, 22 Feb 2022 02:45:16 GMT', 'ETag', - '"0x8D7AC96F63830DB"', + '"0x8D9F5AD5BDC2893"', 'Server', 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', 'x-ms-request-id', - 'da4c3681-b01a-002c-7a7f-de7e94000000', + '868c182b-501a-006b-1996-274d45000000', 'x-ms-client-request-id', - '50f12ba5-4d83-4c0b-8674-f842b506e2e1', + '316e58eb-fbdb-4a26-ab1c-ddbbe6969ff4', 'x-ms-version', - '2019-07-07', + '2021-04-10', 'x-ms-copy-id', - '795acfca-98e1-4903-810f-7735eae3d236', + 'f01d3a1e-1501-43c3-b852-7977b2415113', 'x-ms-copy-status', 'success', 'Date', - 'Sat, 08 Feb 2020 13:01:07 GMT' + 'Tue, 22 Feb 2022 02:45:16 GMT' ]); nock('https://fakestorageaccount.file.core.windows.net:443', {"encodedQueryParams":true}) - .head('/share158116686268302689/dir158116686405705332/file158116686514905730') + .head('/share164549791552300925/dir164549791582508307/file164549791611805589') .reply(200, "", [ 'Content-Length', '1024', 'Content-Type', 'application/octet-stream', 'Last-Modified', - 'Sat, 08 Feb 2020 13:01:06 GMT', + 'Tue, 22 Feb 2022 02:45:16 GMT', 'ETag', - '"0x8D7AC96F588DED4"', + '"0x8D9F5AD5B9A955B"', + 'Vary', + 'Origin', 'Server', 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', 'x-ms-request-id', - '756759bc-101a-0047-6e7f-def960000000', + '868c182c-501a-006b-1a96-274d45000000', 'x-ms-client-request-id', - 'f7c85369-cedd-4942-8530-a2eee59a98c6', + 'd4bc9bbe-3c09-4da6-a3c5-36ab09707b90', 'x-ms-version', - '2019-07-07', + '2021-04-10', 'x-ms-type', 'File', 'x-ms-server-encrypted', @@ -152,56 +156,54 @@ nock('https://fakestorageaccount.file.core.windows.net:443', {"encodedQueryParam 'x-ms-lease-state', 'available', 'x-ms-file-change-time', - '2020-02-08T13:01:06.0674260Z', + '2022-02-22T02:45:16.4640603Z', 'x-ms-file-last-write-time', - '2020-02-08T13:01:06.0674260Z', + '2022-02-22T02:45:16.4640603Z', 'x-ms-file-creation-time', - '2020-02-08T13:01:06.0674260Z', + '2022-02-22T02:45:16.4640603Z', 'x-ms-file-permission-key', - '11181256410332760894*3714103237668529072', + '15187149962788154044*8819015832131519026', 'x-ms-file-attributes', 'Archive', 'x-ms-file-id', - '13835093239654252544', + '11529285414812647424', 'x-ms-file-parent-id', '13835128424026341376', - 'Access-Control-Expose-Headers', - 'x-ms-request-id,x-ms-client-request-id,Server,x-ms-version,Content-Type,Last-Modified,ETag,x-ms-type,x-ms-server-encrypted,x-ms-lease-status,x-ms-lease-state,x-ms-file-change-time,x-ms-file-last-write-time,x-ms-file-creation-time,x-ms-file-permission-key,x-ms-file-attributes,x-ms-file-id,x-ms-file-parent-id,Content-Length,Date,Transfer-Encoding', - 'Access-Control-Allow-Origin', - '*', 'Date', - 'Sat, 08 Feb 2020 13:01:07 GMT' + 'Tue, 22 Feb 2022 02:45:16 GMT' ]); nock('https://fakestorageaccount.file.core.windows.net:443', {"encodedQueryParams":true}) - .head('/share158116686268302689/dir158116686405705332/copiedfile158116686619409228') + .head('/share164549791552300925/dir164549791582508307/copiedfile164549791641208887') .reply(200, "", [ 'Content-Length', '1024', 'Content-Type', 'application/octet-stream', 'Last-Modified', - 'Sat, 08 Feb 2020 13:01:07 GMT', + 'Tue, 22 Feb 2022 02:45:16 GMT', 'ETag', - '"0x8D7AC96F63830DB"', + '"0x8D9F5AD5BDC2893"', + 'Vary', + 'Origin', 'Server', 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', 'x-ms-request-id', - 'da4c3697-b01a-002c-0e7f-de7e94000000', + '868c1843-501a-006b-1b96-274d45000000', 'x-ms-client-request-id', - '19d6bf94-1d30-43a8-9845-5a9972728bb1', + '8e6a92aa-5265-43e1-99d9-6f75665e1cf0', 'x-ms-version', - '2019-07-07', + '2021-04-10', 'x-ms-copy-id', - '795acfca-98e1-4903-810f-7735eae3d236', + 'f01d3a1e-1501-43c3-b852-7977b2415113', 'x-ms-copy-source', - 'https://fakestorageaccount.file.core.windows.net/share158116686268302689/dir158116686405705332/file158116686514905730', + 'https://fakestorageaccount.file.core.windows.net/share164549791552300925/dir164549791582508307/file164549791611805589', 'x-ms-copy-status', 'success', 'x-ms-copy-progress', '1024/1024', 'x-ms-copy-completion-time', - 'Sat, 08 Feb 2020 13:01:07 GMT', + 'Tue, 22 Feb 2022 02:45:16 GMT', 'x-ms-type', 'File', 'x-ms-server-encrypted', @@ -211,29 +213,25 @@ nock('https://fakestorageaccount.file.core.windows.net:443', {"encodedQueryParam 'x-ms-lease-state', 'available', 'x-ms-file-change-time', - '2020-02-08T13:01:07.2164059Z', + '2022-02-22T02:45:16.8938131Z', 'x-ms-file-last-write-time', - '2020-02-08T13:01:06.0674260Z', + '2022-02-22T02:45:16.4640603Z', 'x-ms-file-creation-time', '2011-10-05T14:48:00.0000000Z', 'x-ms-file-permission-key', - '15106964970904237829*3714103237668529072', + '10974970485353649799*8819015832131519026', 'x-ms-file-attributes', 'Hidden | System', 'x-ms-file-id', - '13835163608398430208', + '16140971433240035328', 'x-ms-file-parent-id', '13835128424026341376', - 'Access-Control-Expose-Headers', - 'x-ms-request-id,x-ms-client-request-id,Server,x-ms-version,Content-Type,x-ms-copy-id,x-ms-copy-source,x-ms-copy-status,x-ms-copy-progress,x-ms-copy-completion-time,Last-Modified,ETag,x-ms-type,x-ms-server-encrypted,x-ms-lease-status,x-ms-lease-state,x-ms-file-change-time,x-ms-file-last-write-time,x-ms-file-creation-time,x-ms-file-permission-key,x-ms-file-attributes,x-ms-file-id,x-ms-file-parent-id,Content-Length,Date,Transfer-Encoding', - 'Access-Control-Allow-Origin', - '*', 'Date', - 'Sat, 08 Feb 2020 13:01:07 GMT' + 'Tue, 22 Feb 2022 02:45:16 GMT' ]); nock('https://fakestorageaccount.file.core.windows.net:443', {"encodedQueryParams":true}) - .delete('/share158116686268302689') + .delete('/share164549791552300925') .query(true) .reply(202, "", [ 'Content-Length', @@ -241,11 +239,11 @@ nock('https://fakestorageaccount.file.core.windows.net:443', {"encodedQueryParam 'Server', 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', 'x-ms-request-id', - 'cf40fd30-101a-0025-3f7f-de3b47000000', + '868c1848-501a-006b-1c96-274d45000000', 'x-ms-client-request-id', - '35a54504-e106-4175-83a2-bf6a47ed7491', + '733cdb61-d4bf-40dc-985b-58f721929339', 'x-ms-version', - '2019-07-07', + '2021-04-10', 'Date', - 'Sat, 08 Feb 2020 13:01:07 GMT' + 'Tue, 22 Feb 2022 02:45:17 GMT' ]); diff --git a/sdk/storage/storage-file-share/recordings/node/fileclient/recording_startcopyfromurl_with_smb_options_filepermissionkey.js b/sdk/storage/storage-file-share/recordings/node/fileclient/recording_startcopyfromurl_with_smb_options_filepermissionkey.js index 162056a17ddc..8ea59f58ddc4 100644 --- a/sdk/storage/storage-file-share/recordings/node/fileclient/recording_startcopyfromurl_with_smb_options_filepermissionkey.js +++ b/sdk/storage/storage-file-share/recordings/node/fileclient/recording_startcopyfromurl_with_smb_options_filepermissionkey.js @@ -1,55 +1,57 @@ let nock = require('nock'); -module.exports.testInfo = {"uniqueName":{"share":"share158116686824102397","dir":"dir158116686938604604","file":"file158116687042702001","copiedfile":"copiedfile158116687146103367"},"newDate":{}} +module.exports.hash = "ad309985dbbd2b44b32ae5d687307a88"; + +module.exports.testInfo = {"uniqueName":{"share":"share164549791791203114","dir":"dir164549791820100770","file":"file164549791849804095","copiedfile":"copiedfile164549791878809713"},"newDate":{}} nock('https://fakestorageaccount.file.core.windows.net:443', {"encodedQueryParams":true}) - .put('/share158116686824102397') + .put('/share164549791791203114') .query(true) .reply(201, "", [ 'Content-Length', '0', 'Last-Modified', - 'Sat, 08 Feb 2020 13:01:09 GMT', + 'Tue, 22 Feb 2022 02:45:18 GMT', 'ETag', - '"0x8D7AC96F76FBF71"', + '"0x8D9F5AD5CAB0240"', 'Server', 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', 'x-ms-request-id', - '1b094207-101a-000a-787f-de368c000000', + '868c184c-501a-006b-1d96-274d45000000', 'x-ms-client-request-id', - '7f9184f7-a9d1-4784-8421-d3585312ab3e', + '0c296c7c-653f-4844-8352-a4d2e5dc39a6', 'x-ms-version', - '2019-07-07', + '2021-04-10', 'Date', - 'Sat, 08 Feb 2020 13:01:08 GMT' + 'Tue, 22 Feb 2022 02:45:17 GMT' ]); nock('https://fakestorageaccount.file.core.windows.net:443', {"encodedQueryParams":true}) - .put('/share158116686824102397/dir158116686938604604') + .put('/share164549791791203114/dir164549791820100770') .query(true) .reply(201, "", [ 'Content-Length', '0', 'Last-Modified', - 'Sat, 08 Feb 2020 13:01:10 GMT', + 'Tue, 22 Feb 2022 02:45:18 GMT', 'ETag', - '"0x8D7AC96F80F8B5C"', + '"0x8D9F5AD5CD8DA10"', 'Server', 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', 'x-ms-request-id', - '75675aa4-101a-0047-557f-def960000000', + '868c184e-501a-006b-1e96-274d45000000', 'x-ms-client-request-id', - '037cd8b4-3fe0-4aab-8dcd-1b103fa67d23', + '422cd447-28dd-48f2-850b-023e78125b77', 'x-ms-version', - '2019-07-07', + '2021-04-10', 'x-ms-file-change-time', - '2020-02-08T13:01:10.3054684Z', + '2022-02-22T02:45:18.5498640Z', 'x-ms-file-last-write-time', - '2020-02-08T13:01:10.3054684Z', + '2022-02-22T02:45:18.5498640Z', 'x-ms-file-creation-time', - '2020-02-08T13:01:10.3054684Z', + '2022-02-22T02:45:18.5498640Z', 'x-ms-file-permission-key', - '6579762511900832825*3714103237668529072', + '1348922918165632443*8819015832131519026', 'x-ms-file-attributes', 'Directory', 'x-ms-file-id', @@ -59,34 +61,34 @@ nock('https://fakestorageaccount.file.core.windows.net:443', {"encodedQueryParam 'x-ms-request-server-encrypted', 'true', 'Date', - 'Sat, 08 Feb 2020 13:01:10 GMT' + 'Tue, 22 Feb 2022 02:45:17 GMT' ]); nock('https://fakestorageaccount.file.core.windows.net:443', {"encodedQueryParams":true}) - .put('/share158116686824102397/dir158116686938604604/file158116687042702001') + .put('/share164549791791203114/dir164549791820100770/file164549791849804095') .reply(201, "", [ 'Content-Length', '0', 'Last-Modified', - 'Sat, 08 Feb 2020 13:01:11 GMT', + 'Tue, 22 Feb 2022 02:45:18 GMT', 'ETag', - '"0x8D7AC96F8AD2C61"', + '"0x8D9F5AD5D053AB1"', 'Server', 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', 'x-ms-request-id', - '75675af9-101a-0047-287f-def960000000', + '868c184f-501a-006b-1f96-274d45000000', 'x-ms-client-request-id', - '2e6421dd-7edf-4d6b-b301-ba063a05efcb', + '102d91c0-b13c-4a79-a8e3-a59e427c93bd', 'x-ms-version', - '2019-07-07', + '2021-04-10', 'x-ms-file-change-time', - '2020-02-08T13:01:11.3385057Z', + '2022-02-22T02:45:18.8406961Z', 'x-ms-file-last-write-time', - '2020-02-08T13:01:11.3385057Z', + '2022-02-22T02:45:18.8406961Z', 'x-ms-file-creation-time', - '2020-02-08T13:01:11.3385057Z', + '2022-02-22T02:45:18.8406961Z', 'x-ms-file-permission-key', - '11181256410332760894*3714103237668529072', + '15187149962788154044*8819015832131519026', 'x-ms-file-attributes', 'Archive', 'x-ms-file-id', @@ -96,11 +98,11 @@ nock('https://fakestorageaccount.file.core.windows.net:443', {"encodedQueryParam 'x-ms-request-server-encrypted', 'true', 'Date', - 'Sat, 08 Feb 2020 13:01:11 GMT' + 'Tue, 22 Feb 2022 02:45:18 GMT' ]); nock('https://fakestorageaccount.file.core.windows.net:443', {"encodedQueryParams":true}) - .put('/share158116686824102397', {"permission":"O:S-1-5-21-2127521184-1604012920-1887927527-21560751G:S-1-5-21-2127521184-1604012920-1887927527-513D:(A;;FA;;;SY)(A;;FA;;;BA)(A;;0x1200a9;;;S-1-5-21-397955417-626881126-188441444-3053964)"}) + .put('/share164549791791203114', {"permission":"O:S-1-5-21-2127521184-1604012920-1887927527-21560751G:S-1-5-21-2127521184-1604012920-1887927527-513D:(A;;FA;;;SY)(A;;FA;;;BA)(A;;0x1200a9;;;S-1-5-21-397955417-626881126-188441444-3053964)"}) .query(true) .reply(201, "", [ 'Transfer-Encoding', @@ -108,61 +110,63 @@ nock('https://fakestorageaccount.file.core.windows.net:443', {"encodedQueryParam 'Server', 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', 'x-ms-request-id', - '1b094217-101a-000a-7b7f-de368c000000', + '868c1851-501a-006b-2196-274d45000000', 'x-ms-client-request-id', - '6624ebd7-0fda-4795-baf1-9b8482282274', + 'f1da43ee-0156-491b-8109-c3e6320748ac', 'x-ms-version', - '2019-07-07', + '2021-04-10', 'x-ms-file-permission-key', - '8869853913668417717*3714103237668529072', + '3670530694640228663*8819015832131519026', 'Date', - 'Sat, 08 Feb 2020 13:01:10 GMT' + 'Tue, 22 Feb 2022 02:45:18 GMT' ]); nock('https://fakestorageaccount.file.core.windows.net:443', {"encodedQueryParams":true}) - .put('/share158116686824102397/dir158116686938604604/copiedfile158116687146103367') + .put('/share164549791791203114/dir164549791820100770/copiedfile164549791878809713') .reply(202, "", [ 'Content-Length', '0', 'Last-Modified', - 'Sat, 08 Feb 2020 13:01:12 GMT', + 'Tue, 22 Feb 2022 02:45:19 GMT', 'ETag', - '"0x8D7AC96F9842AE7"', + '"0x8D9F5AD5D628F3F"', 'Server', 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', 'x-ms-request-id', - '6e23bbf7-501a-001b-237f-deac38000000', + '868c1854-501a-006b-2496-274d45000000', 'x-ms-client-request-id', - 'd7343c71-9cae-4f35-876c-c738e0892fbf', + '310508c9-4e3a-4a17-b155-8863905a536c', 'x-ms-version', - '2019-07-07', + '2021-04-10', 'x-ms-copy-id', - 'f929306d-90f6-4201-b2b4-6a0da326708f', + '89156d17-2d70-4fd7-b4f1-d25151004e4e', 'x-ms-copy-status', 'success', 'Date', - 'Sat, 08 Feb 2020 13:01:11 GMT' + 'Tue, 22 Feb 2022 02:45:18 GMT' ]); nock('https://fakestorageaccount.file.core.windows.net:443', {"encodedQueryParams":true}) - .head('/share158116686824102397/dir158116686938604604/file158116687042702001') + .head('/share164549791791203114/dir164549791820100770/file164549791849804095') .reply(200, "", [ 'Content-Length', '1024', 'Content-Type', 'application/octet-stream', 'Last-Modified', - 'Sat, 08 Feb 2020 13:01:11 GMT', + 'Tue, 22 Feb 2022 02:45:18 GMT', 'ETag', - '"0x8D7AC96F8AD2C61"', + '"0x8D9F5AD5D053AB1"', + 'Vary', + 'Origin', 'Server', 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', 'x-ms-request-id', - '75675b90-101a-0047-3a7f-def960000000', + '868c1855-501a-006b-2596-274d45000000', 'x-ms-client-request-id', - '8a89e2f4-2ec1-4356-80cb-afba1ab494d1', + '5fc82dd9-2e79-4d93-b579-7b951bbbdc7f', 'x-ms-version', - '2019-07-07', + '2021-04-10', 'x-ms-type', 'File', 'x-ms-server-encrypted', @@ -172,56 +176,54 @@ nock('https://fakestorageaccount.file.core.windows.net:443', {"encodedQueryParam 'x-ms-lease-state', 'available', 'x-ms-file-change-time', - '2020-02-08T13:01:11.3385057Z', + '2022-02-22T02:45:18.8406961Z', 'x-ms-file-last-write-time', - '2020-02-08T13:01:11.3385057Z', + '2022-02-22T02:45:18.8406961Z', 'x-ms-file-creation-time', - '2020-02-08T13:01:11.3385057Z', + '2022-02-22T02:45:18.8406961Z', 'x-ms-file-permission-key', - '11181256410332760894*3714103237668529072', + '15187149962788154044*8819015832131519026', 'x-ms-file-attributes', 'Archive', 'x-ms-file-id', '11529285414812647424', 'x-ms-file-parent-id', '13835128424026341376', - 'Access-Control-Expose-Headers', - 'x-ms-request-id,x-ms-client-request-id,Server,x-ms-version,Content-Type,Last-Modified,ETag,x-ms-type,x-ms-server-encrypted,x-ms-lease-status,x-ms-lease-state,x-ms-file-change-time,x-ms-file-last-write-time,x-ms-file-creation-time,x-ms-file-permission-key,x-ms-file-attributes,x-ms-file-id,x-ms-file-parent-id,Content-Length,Date,Transfer-Encoding', - 'Access-Control-Allow-Origin', - '*', 'Date', - 'Sat, 08 Feb 2020 13:01:12 GMT' + 'Tue, 22 Feb 2022 02:45:18 GMT' ]); nock('https://fakestorageaccount.file.core.windows.net:443', {"encodedQueryParams":true}) - .head('/share158116686824102397/dir158116686938604604/copiedfile158116687146103367') + .head('/share164549791791203114/dir164549791820100770/copiedfile164549791878809713') .reply(200, "", [ 'Content-Length', '1024', 'Content-Type', 'application/octet-stream', 'Last-Modified', - 'Sat, 08 Feb 2020 13:01:12 GMT', + 'Tue, 22 Feb 2022 02:45:19 GMT', 'ETag', - '"0x8D7AC96F9842AE7"', + '"0x8D9F5AD5D628F3F"', + 'Vary', + 'Origin', 'Server', 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', 'x-ms-request-id', - '6e23bbfb-501a-001b-247f-deac38000000', + '868c1856-501a-006b-2696-274d45000000', 'x-ms-client-request-id', - '016f013d-5323-4c92-8a5b-2b4ea69d8c2e', + '6562dca5-7564-455d-abcb-7b488eaa3bec', 'x-ms-version', - '2019-07-07', + '2021-04-10', 'x-ms-copy-id', - 'f929306d-90f6-4201-b2b4-6a0da326708f', + '89156d17-2d70-4fd7-b4f1-d25151004e4e', 'x-ms-copy-source', - 'https://fakestorageaccount.file.core.windows.net/share158116686824102397/dir158116686938604604/file158116687042702001', + 'https://fakestorageaccount.file.core.windows.net/share164549791791203114/dir164549791820100770/file164549791849804095', 'x-ms-copy-status', 'success', 'x-ms-copy-progress', '1024/1024', 'x-ms-copy-completion-time', - 'Sat, 08 Feb 2020 13:01:12 GMT', + 'Tue, 22 Feb 2022 02:45:19 GMT', 'x-ms-type', 'File', 'x-ms-server-encrypted', @@ -231,29 +233,25 @@ nock('https://fakestorageaccount.file.core.windows.net:443', {"encodedQueryParam 'x-ms-lease-state', 'available', 'x-ms-file-change-time', - '2020-02-08T13:01:12.7474919Z', + '2022-02-22T02:45:19.4523455Z', 'x-ms-file-last-write-time', - '2020-02-08T13:01:11.3385057Z', + '2022-02-22T02:45:18.8406961Z', 'x-ms-file-creation-time', '2011-10-05T14:48:00.0000000Z', 'x-ms-file-permission-key', - '15106964970904237829*3714103237668529072', + '10974970485353649799*8819015832131519026', 'x-ms-file-attributes', 'Hidden | System | Archive', 'x-ms-file-id', - '13835093239654252544', + '16140971433240035328', 'x-ms-file-parent-id', '13835128424026341376', - 'Access-Control-Expose-Headers', - 'x-ms-request-id,x-ms-client-request-id,Server,x-ms-version,Content-Type,x-ms-copy-id,x-ms-copy-source,x-ms-copy-status,x-ms-copy-progress,x-ms-copy-completion-time,Last-Modified,ETag,x-ms-type,x-ms-server-encrypted,x-ms-lease-status,x-ms-lease-state,x-ms-file-change-time,x-ms-file-last-write-time,x-ms-file-creation-time,x-ms-file-permission-key,x-ms-file-attributes,x-ms-file-id,x-ms-file-parent-id,Content-Length,Date,Transfer-Encoding', - 'Access-Control-Allow-Origin', - '*', 'Date', - 'Sat, 08 Feb 2020 13:01:12 GMT' + 'Tue, 22 Feb 2022 02:45:19 GMT' ]); nock('https://fakestorageaccount.file.core.windows.net:443', {"encodedQueryParams":true}) - .delete('/share158116686824102397') + .delete('/share164549791791203114') .query(true) .reply(202, "", [ 'Content-Length', @@ -261,11 +259,11 @@ nock('https://fakestorageaccount.file.core.windows.net:443', {"encodedQueryParam 'Server', 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', 'x-ms-request-id', - '1b09421a-101a-000a-7c7f-de368c000000', + '868c1858-501a-006b-2896-274d45000000', 'x-ms-client-request-id', - 'f8be4353-f08b-4866-9941-3737cbfb36e0', + '703aa4e8-cc99-48dd-9e1d-70015b2c777c', 'x-ms-version', - '2019-07-07', + '2021-04-10', 'Date', - 'Sat, 08 Feb 2020 13:01:12 GMT' + 'Tue, 22 Feb 2022 02:45:19 GMT' ]); diff --git a/sdk/storage/storage-file-share/recordings/node/leaseclient/recording_setmetadata.js b/sdk/storage/storage-file-share/recordings/node/leaseclient/recording_setmetadata.js index d739ca100170..80384ed6c4c7 100644 --- a/sdk/storage/storage-file-share/recordings/node/leaseclient/recording_setmetadata.js +++ b/sdk/storage/storage-file-share/recordings/node/leaseclient/recording_setmetadata.js @@ -1,55 +1,57 @@ let nock = require('nock'); -module.exports.testInfo = {"uniqueName":{"share":"share157613047645901459","dir":"dir157613047761002860","file":"file157613047875905892"},"newDate":{}} +module.exports.hash = "f832d86ccbee85ee31df8b05e88d4c33"; + +module.exports.testInfo = {"uniqueName":{"share":"share164549792562005869","dir":"dir164549792591606555","file":"file164549792621009585"},"newDate":{}} nock('https://fakestorageaccount.file.core.windows.net:443', {"encodedQueryParams":true}) - .put('/share157613047645901459') + .put('/share164549792562005869') .query(true) .reply(201, "", [ 'Content-Length', '0', 'Last-Modified', - 'Thu, 12 Dec 2019 06:01:17 GMT', + 'Tue, 22 Feb 2022 02:45:25 GMT', 'ETag', - '"0x8D77EC8B40D0DF8"', + '"0x8D9F5AD6143C7A9"', 'Server', 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', 'x-ms-request-id', - '96e4e976-101a-0035-6ab1-b0fe2f000000', + '868c187b-501a-006b-4396-274d45000000', 'x-ms-client-request-id', - 'cdd7544a-a303-4d57-ab15-dc24932e3562', + '1a68e853-2de0-4af8-8d1e-a20c8ec9357e', 'x-ms-version', - '2019-02-02', + '2021-04-10', 'Date', - 'Thu, 12 Dec 2019 06:01:17 GMT' + 'Tue, 22 Feb 2022 02:45:25 GMT' ]); nock('https://fakestorageaccount.file.core.windows.net:443', {"encodedQueryParams":true}) - .put('/share157613047645901459/dir157613047761002860') + .put('/share164549792562005869/dir164549792591606555') .query(true) .reply(201, "", [ 'Content-Length', '0', 'Last-Modified', - 'Thu, 12 Dec 2019 06:01:18 GMT', + 'Tue, 22 Feb 2022 02:45:26 GMT', 'ETag', - '"0x8D77EC8B4BCF75E"', + '"0x8D9F5AD61713D5B"', 'Server', 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', 'x-ms-request-id', - '96e4e97b-101a-0035-6bb1-b0fe2f000000', + '868c187e-501a-006b-4596-274d45000000', 'x-ms-client-request-id', - '2183f56b-b705-4865-b103-28ebc3a9ff40', + '7e5db074-d301-4810-8caf-6b8209b1cb22', 'x-ms-version', - '2019-02-02', + '2021-04-10', 'x-ms-file-change-time', - '2019-12-12T06:01:18.7056478Z', + '2022-02-22T02:45:26.2594395Z', 'x-ms-file-last-write-time', - '2019-12-12T06:01:18.7056478Z', + '2022-02-22T02:45:26.2594395Z', 'x-ms-file-creation-time', - '2019-12-12T06:01:18.7056478Z', + '2022-02-22T02:45:26.2594395Z', 'x-ms-file-permission-key', - '7008756509702647153*693339914461510392', + '1348922918165632443*8819015832131519026', 'x-ms-file-attributes', 'Directory', 'x-ms-file-id', @@ -59,74 +61,74 @@ nock('https://fakestorageaccount.file.core.windows.net:443', {"encodedQueryParam 'x-ms-request-server-encrypted', 'true', 'Date', - 'Thu, 12 Dec 2019 06:01:18 GMT' + 'Tue, 22 Feb 2022 02:45:25 GMT' ]); nock('https://fakestorageaccount.file.core.windows.net:443', {"encodedQueryParams":true}) - .put('/share157613047645901459/dir157613047761002860/file157613047875905892') + .put('/share164549792562005869/dir164549792591606555/file164549792621009585') .reply(201, "", [ 'Content-Length', '0', 'Last-Modified', - 'Thu, 12 Dec 2019 06:01:19 GMT', + 'Tue, 22 Feb 2022 02:45:26 GMT', 'ETag', - '"0x8D77EC8B56DABC1"', + '"0x8D9F5AD619E132C"', 'Server', 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', 'x-ms-request-id', - '6abb4983-901a-0004-06b1-b01f3c000000', + '868c187f-501a-006b-4696-274d45000000', 'x-ms-client-request-id', - '218172f2-5e58-4791-9720-ed71089566d4', + 'e1ca886f-98f7-4c02-811f-4ed0c4f9ca8f', 'x-ms-version', - '2019-02-02', + '2021-04-10', 'x-ms-file-change-time', - '2019-12-12T06:01:19.8636993Z', + '2022-02-22T02:45:26.5532716Z', 'x-ms-file-last-write-time', - '2019-12-12T06:01:19.8636993Z', + '2022-02-22T02:45:26.5532716Z', 'x-ms-file-creation-time', - '2019-12-12T06:01:19.8636993Z', + '2022-02-22T02:45:26.5532716Z', 'x-ms-file-permission-key', - '11619239463300764278*693339914461510392', + '15187149962788154044*8819015832131519026', 'x-ms-file-attributes', 'Archive', 'x-ms-file-id', - '13835093239654252544', + '11529285414812647424', 'x-ms-file-parent-id', '13835128424026341376', 'x-ms-request-server-encrypted', 'true', 'Date', - 'Thu, 12 Dec 2019 06:01:19 GMT' + 'Tue, 22 Feb 2022 02:45:25 GMT' ]); nock('https://fakestorageaccount.file.core.windows.net:443', {"encodedQueryParams":true}) - .put('/share157613047645901459/dir157613047761002860/file157613047875905892') + .put('/share164549792562005869/dir164549792591606555/file164549792621009585') .query(true) .reply(201, "", [ 'Transfer-Encoding', 'chunked', 'Last-Modified', - 'Thu, 12 Dec 2019 06:01:19 GMT', + 'Tue, 22 Feb 2022 02:45:26 GMT', 'ETag', - '"0x8D77EC8B56DABC1"', + '"0x8D9F5AD619E132C"', 'Server', 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', 'x-ms-request-id', - '6845b657-b01a-002c-64b1-b07e94000000', + '868c1880-501a-006b-4796-274d45000000', 'x-ms-client-request-id', - '2d04f11e-ae16-42d1-aa0a-b755080955b0', + '286d26dc-b66b-4d77-9cd1-3510269f4493', 'x-ms-version', - '2019-02-02', + '2021-04-10', 'x-ms-lease-id', 'e9890485-bf47-4d9a-b3d0-aceb18506124', 'Date', - 'Thu, 12 Dec 2019 06:01:20 GMT' + 'Tue, 22 Feb 2022 02:45:26 GMT' ]); nock('https://fakestorageaccount.file.core.windows.net:443', {"encodedQueryParams":true}) - .put('/share157613047645901459/dir157613047761002860/file157613047875905892') + .put('/share164549792562005869/dir164549792591606555/file164549792621009585') .query(true) - .reply(412, "LeaseIdMissingThere is currently a lease on the file and no lease ID was specified in the request.\nRequestId:6abb4988-901a-0004-07b1-b01f3c000000\nTime:2019-12-12T06:01:21.3251536Z", [ + .reply(412, "LeaseIdMissingThere is currently a lease on the file and no lease ID was specified in the request.\nRequestId:868c1881-501a-006b-4896-274d45000000\nTime:2022-02-22T02:45:27.1387831Z", [ 'Content-Length', '267', 'Content-Type', @@ -134,43 +136,43 @@ nock('https://fakestorageaccount.file.core.windows.net:443', {"encodedQueryParam 'Server', 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', 'x-ms-request-id', - '6abb4988-901a-0004-07b1-b01f3c000000', + '868c1881-501a-006b-4896-274d45000000', 'x-ms-client-request-id', - '954895c6-fecd-449a-ac7f-898610d9307b', + '965cc01d-b596-4033-83e8-3e615fb5ad7e', 'x-ms-version', - '2019-02-02', + '2021-04-10', 'x-ms-error-code', 'LeaseIdMissing', 'Date', - 'Thu, 12 Dec 2019 06:01:20 GMT' + 'Tue, 22 Feb 2022 02:45:26 GMT' ]); nock('https://fakestorageaccount.file.core.windows.net:443', {"encodedQueryParams":true}) - .put('/share157613047645901459/dir157613047761002860/file157613047875905892') + .put('/share164549792562005869/dir164549792591606555/file164549792621009585') .query(true) .reply(200, "", [ 'Content-Length', '0', 'Last-Modified', - 'Thu, 12 Dec 2019 06:01:21 GMT', + 'Tue, 22 Feb 2022 02:45:27 GMT', 'ETag', - '"0x8D77EC8B6799E4A"', + '"0x8D9F5AD6223352B"', 'Server', 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', 'x-ms-request-id', - '6abb498a-901a-0004-08b1-b01f3c000000', + '868c1883-501a-006b-4996-274d45000000', 'x-ms-client-request-id', - 'cf6dd6be-36c6-4c16-b294-966655db7e5f', + 'a7249465-1cc5-45dc-99be-4feae0d207f2', 'x-ms-version', - '2019-02-02', + '2021-04-10', 'x-ms-request-server-encrypted', 'true', 'Date', - 'Thu, 12 Dec 2019 06:01:20 GMT' + 'Tue, 22 Feb 2022 02:45:26 GMT' ]); nock('https://fakestorageaccount.file.core.windows.net:443', {"encodedQueryParams":true}) - .delete('/share157613047645901459') + .delete('/share164549792562005869') .query(true) .reply(202, "", [ 'Content-Length', @@ -178,11 +180,11 @@ nock('https://fakestorageaccount.file.core.windows.net:443', {"encodedQueryParam 'Server', 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', 'x-ms-request-id', - '96e4e97f-101a-0035-6cb1-b0fe2f000000', + '868c1884-501a-006b-4a96-274d45000000', 'x-ms-client-request-id', - 'a4e9f20a-628c-4217-bd83-2ed737c6ae2e', + '1c12a299-bf4b-4dc9-aaa0-7b4252059275', 'x-ms-version', - '2019-02-02', + '2021-04-10', 'Date', - 'Thu, 12 Dec 2019 06:01:21 GMT' + 'Tue, 22 Feb 2022 02:45:26 GMT' ]); diff --git a/sdk/storage/storage-file-share/recordings/node/leaseclient/recording_startcopyfromurl.js b/sdk/storage/storage-file-share/recordings/node/leaseclient/recording_startcopyfromurl.js index 92146b503193..82302f842d8b 100644 --- a/sdk/storage/storage-file-share/recordings/node/leaseclient/recording_startcopyfromurl.js +++ b/sdk/storage/storage-file-share/recordings/node/leaseclient/recording_startcopyfromurl.js @@ -1,55 +1,57 @@ let nock = require('nock'); -module.exports.testInfo = {"uniqueName":{"share":"share157613042742900828","dir":"dir157613042857208296","file":"file157613042972901413","copiedfile":"copiedfile157613045304006263"},"newDate":{}} +module.exports.hash = "5c4d1e8d9e7cc71f1d71c96109204d08"; + +module.exports.testInfo = {"uniqueName":{"share":"share164549792316000362","dir":"dir164549792345407543","file":"file164549792375009834","copiedfile":"copiedfile164549792437306290"},"newDate":{}} nock('https://fakestorageaccount.file.core.windows.net:443', {"encodedQueryParams":true}) - .put('/share157613042742900828') + .put('/share164549792316000362') .query(true) .reply(201, "", [ 'Content-Length', '0', 'Last-Modified', - 'Thu, 12 Dec 2019 06:00:28 GMT', + 'Tue, 22 Feb 2022 02:45:23 GMT', 'ETag', - '"0x8D77EC896D2E307"', + '"0x8D9F5AD5FCC0A10"', 'Server', 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', 'x-ms-request-id', - 'd577aad0-c01a-0019-17b1-b01280000000', + '868c186e-501a-006b-3896-274d45000000', 'x-ms-client-request-id', - '767b55a3-f214-4759-83c6-f81b544b9161', + '21b5ec24-4121-4ed8-b183-d47cff000b98', 'x-ms-version', - '2019-02-02', + '2021-04-10', 'Date', - 'Thu, 12 Dec 2019 06:00:27 GMT' + 'Tue, 22 Feb 2022 02:45:22 GMT' ]); nock('https://fakestorageaccount.file.core.windows.net:443', {"encodedQueryParams":true}) - .put('/share157613042742900828/dir157613042857208296') + .put('/share164549792316000362/dir164549792345407543') .query(true) .reply(201, "", [ 'Content-Length', '0', 'Last-Modified', - 'Thu, 12 Dec 2019 06:00:29 GMT', + 'Tue, 22 Feb 2022 02:45:23 GMT', 'ETag', - '"0x8D77EC897838B74"', + '"0x8D9F5AD5FFA16B4"', 'Server', 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', 'x-ms-request-id', - '6a1ccfff-101a-0025-23b1-b03b47000000', + '868c1870-501a-006b-3996-274d45000000', 'x-ms-client-request-id', - 'e0d1abf4-43a1-46b8-b948-d024fd92b0a7', + 'd962496e-9c3d-4f0a-b3a9-cfcbaa571202', 'x-ms-version', - '2019-02-02', + '2021-04-10', 'x-ms-file-change-time', - '2019-12-12T06:00:29.6754036Z', + '2022-02-22T02:45:23.8008500Z', 'x-ms-file-last-write-time', - '2019-12-12T06:00:29.6754036Z', + '2022-02-22T02:45:23.8008500Z', 'x-ms-file-creation-time', - '2019-12-12T06:00:29.6754036Z', + '2022-02-22T02:45:23.8008500Z', 'x-ms-file-permission-key', - '7008756509702647153*693339914461510392', + '1348922918165632443*8819015832131519026', 'x-ms-file-attributes', 'Directory', 'x-ms-file-id', @@ -59,110 +61,110 @@ nock('https://fakestorageaccount.file.core.windows.net:443', {"encodedQueryParam 'x-ms-request-server-encrypted', 'true', 'Date', - 'Thu, 12 Dec 2019 06:00:29 GMT' + 'Tue, 22 Feb 2022 02:45:22 GMT' ]); nock('https://fakestorageaccount.file.core.windows.net:443', {"encodedQueryParams":true}) - .put('/share157613042742900828/dir157613042857208296/file157613042972901413') + .put('/share164549792316000362/dir164549792345407543/file164549792375009834') .reply(201, "", [ 'Content-Length', '0', 'Last-Modified', - 'Thu, 12 Dec 2019 06:00:30 GMT', + 'Tue, 22 Feb 2022 02:45:24 GMT', 'ETag', - '"0x8D77EC89834B130"', + '"0x8D9F5AD60271391"', 'Server', 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', 'x-ms-request-id', - 'd5342437-901a-0014-1fb1-b0da54000000', + '868c1871-501a-006b-3a96-274d45000000', 'x-ms-client-request-id', - 'deedbd96-4758-4739-a0fe-77b1b7673904', + '6d7535eb-8bdc-414d-9784-cf479bcc013e', 'x-ms-version', - '2019-02-02', + '2021-04-10', 'x-ms-file-change-time', - '2019-12-12T06:00:30.8363568Z', + '2022-02-22T02:45:24.0956817Z', 'x-ms-file-last-write-time', - '2019-12-12T06:00:30.8363568Z', + '2022-02-22T02:45:24.0956817Z', 'x-ms-file-creation-time', - '2019-12-12T06:00:30.8363568Z', + '2022-02-22T02:45:24.0956817Z', 'x-ms-file-permission-key', - '11619239463300764278*693339914461510392', + '15187149962788154044*8819015832131519026', 'x-ms-file-attributes', 'Archive', 'x-ms-file-id', - '13835093239654252544', + '11529285414812647424', 'x-ms-file-parent-id', '13835128424026341376', 'x-ms-request-server-encrypted', 'true', 'Date', - 'Thu, 12 Dec 2019 06:00:30 GMT' + 'Tue, 22 Feb 2022 02:45:23 GMT' ]); nock('https://fakestorageaccount.file.core.windows.net:443', {"encodedQueryParams":true}) - .put('/share157613042742900828/dir157613042857208296/file157613042972901413') + .put('/share164549792316000362/dir164549792345407543/file164549792375009834') .query(true) .reply(201, "", [ 'Transfer-Encoding', 'chunked', 'Last-Modified', - 'Thu, 12 Dec 2019 06:00:30 GMT', + 'Tue, 22 Feb 2022 02:45:24 GMT', 'ETag', - '"0x8D77EC89834B130"', + '"0x8D9F5AD60271391"', 'Server', 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', 'x-ms-request-id', - 'bb7b7da1-901a-0049-43b1-b0d0d0000000', + '868c1873-501a-006b-3c96-274d45000000', 'x-ms-client-request-id', - '750224c5-82e2-4ffd-af64-5b6378930fdf', + 'd72cd7ee-4747-4679-b578-65a22ff739e3', 'x-ms-version', - '2019-02-02', + '2021-04-10', 'x-ms-lease-id', 'e9890485-bf47-4d9a-b3d0-aceb18506124', 'Date', - 'Thu, 12 Dec 2019 06:00:52 GMT' + 'Tue, 22 Feb 2022 02:45:23 GMT' ]); nock('https://fakestorageaccount.file.core.windows.net:443', {"encodedQueryParams":true}) - .put('/share157613042742900828/dir157613042857208296/copiedfile157613045304006263') + .put('/share164549792316000362/dir164549792345407543/copiedfile164549792437306290') .reply(201, "", [ 'Content-Length', '0', 'Last-Modified', - 'Thu, 12 Dec 2019 06:01:15 GMT', + 'Tue, 22 Feb 2022 02:45:24 GMT', 'ETag', - '"0x8D77EC8B2BEDCF2"', + '"0x8D9F5AD6085C781"', 'Server', 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', 'x-ms-request-id', - 'd6669e1d-001a-0039-39b1-b06927000000', + '868c1874-501a-006b-3d96-274d45000000', 'x-ms-client-request-id', - '4a085328-fbf7-46ec-9d78-d04409b59383', + 'd69882f1-824e-44ef-8e29-1a251c4128d6', 'x-ms-version', - '2019-02-02', + '2021-04-10', 'x-ms-file-change-time', - '2019-12-12T06:01:15.3626354Z', + '2022-02-22T02:45:24.7163265Z', 'x-ms-file-last-write-time', - '2019-12-12T06:01:15.3626354Z', + '2022-02-22T02:45:24.7163265Z', 'x-ms-file-creation-time', - '2019-12-12T06:01:15.3626354Z', + '2022-02-22T02:45:24.7163265Z', 'x-ms-file-permission-key', - '11619239463300764278*693339914461510392', + '15187149962788154044*8819015832131519026', 'x-ms-file-attributes', 'Archive', 'x-ms-file-id', - '13835163608398430208', + '16140971433240035328', 'x-ms-file-parent-id', '13835128424026341376', 'x-ms-request-server-encrypted', 'true', 'Date', - 'Thu, 12 Dec 2019 06:01:15 GMT' + 'Tue, 22 Feb 2022 02:45:23 GMT' ]); nock('https://fakestorageaccount.file.core.windows.net:443', {"encodedQueryParams":true}) - .put('/share157613042742900828/dir157613042857208296/file157613042972901413') - .reply(412, "LeaseIdMissingThere is currently a lease on the file and no lease ID was specified in the request.\nRequestId:d534248b-901a-0014-44b1-b0da54000000\nTime:2019-12-12T06:01:15.7694831Z", [ + .put('/share164549792316000362/dir164549792345407543/file164549792375009834') + .reply(412, "LeaseIdMissingThere is currently a lease on the file and no lease ID was specified in the request.\nRequestId:868c1875-501a-006b-3e96-274d45000000\nTime:2022-02-22T02:45:25.0680732Z", [ 'Content-Length', '267', 'Content-Type', @@ -170,44 +172,44 @@ nock('https://fakestorageaccount.file.core.windows.net:443', {"encodedQueryParam 'Server', 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', 'x-ms-request-id', - 'd534248b-901a-0014-44b1-b0da54000000', + '868c1875-501a-006b-3e96-274d45000000', 'x-ms-client-request-id', - 'ca09496c-276f-43a4-8968-9c8d186768a7', + '87567cc1-cf82-4cf7-ae8b-0fa4e56917df', 'x-ms-version', - '2019-02-02', + '2021-04-10', 'x-ms-error-code', 'LeaseIdMissing', 'Date', - 'Thu, 12 Dec 2019 06:01:15 GMT' + 'Tue, 22 Feb 2022 02:45:24 GMT' ]); nock('https://fakestorageaccount.file.core.windows.net:443', {"encodedQueryParams":true}) - .put('/share157613042742900828/dir157613042857208296/file157613042972901413') + .put('/share164549792316000362/dir164549792345407543/file164549792375009834') .reply(202, "", [ 'Content-Length', '0', 'Last-Modified', - 'Thu, 12 Dec 2019 06:01:16 GMT', + 'Tue, 22 Feb 2022 02:45:25 GMT', 'ETag', - '"0x8D77EC8B32BCF98"', + '"0x8D9F5AD60E87268"', 'Server', 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', 'x-ms-request-id', - 'd534248e-901a-0014-45b1-b0da54000000', + '868c1877-501a-006b-4096-274d45000000', 'x-ms-client-request-id', - '9c944d61-46a2-441a-94d7-3ac996977741', + '0c0c9745-d640-47df-9ede-5f3a1939564d', 'x-ms-version', - '2019-02-02', + '2021-04-10', 'x-ms-copy-id', - '65c28050-5440-4d80-acab-9449f6e8123d', + 'ffdf7636-dd54-4d74-9ed8-a6e6e3f54797', 'x-ms-copy-status', 'success', 'Date', - 'Thu, 12 Dec 2019 06:01:15 GMT' + 'Tue, 22 Feb 2022 02:45:24 GMT' ]); nock('https://fakestorageaccount.file.core.windows.net:443', {"encodedQueryParams":true}) - .delete('/share157613042742900828') + .delete('/share164549792316000362') .query(true) .reply(202, "", [ 'Content-Length', @@ -215,11 +217,11 @@ nock('https://fakestorageaccount.file.core.windows.net:443', {"encodedQueryParam 'Server', 'Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0', 'x-ms-request-id', - 'd577ab16-c01a-0019-24b1-b01280000000', + '868c187a-501a-006b-4296-274d45000000', 'x-ms-client-request-id', - '51b3d998-9268-41d0-a8dc-58f63312e5cf', + '3a5d7be9-1332-4182-9009-0674db43a3cc', 'x-ms-version', - '2019-02-02', + '2021-04-10', 'Date', - 'Thu, 12 Dec 2019 06:01:15 GMT' + 'Tue, 22 Feb 2022 02:45:24 GMT' ]); diff --git a/sdk/storage/storage-file-share/src/generated/src/models/parameters.ts b/sdk/storage/storage-file-share/src/generated/src/models/parameters.ts index 4f94ddb240ce..31415ab9f2b6 100644 --- a/sdk/storage/storage-file-share/src/generated/src/models/parameters.ts +++ b/sdk/storage/storage-file-share/src/generated/src/models/parameters.ts @@ -1162,8 +1162,8 @@ export const filePermissionCopyMode: OperationParameter = { export const ignoreReadOnly1: OperationParameter = { parameterPath: ["options", "copyFileSmbInfo", "ignoreReadOnly"], mapper: { - serializedName: "x-ms-file-copy-ignore-read-only", - xmlName: "x-ms-file-copy-ignore-read-only", + serializedName: "x-ms-file-copy-ignore-readonly", + xmlName: "x-ms-file-copy-ignore-readonly", type: { name: "Boolean" } diff --git a/sdk/storage/storage-file-share/swagger/README.md b/sdk/storage/storage-file-share/swagger/README.md index 116baffc49a2..cab89edc9e2e 100644 --- a/sdk/storage/storage-file-share/swagger/README.md +++ b/sdk/storage/storage-file-share/swagger/README.md @@ -12,7 +12,7 @@ enable-xml: true generate-metadata: false license-header: MICROSOFT_MIT_NO_VERSION output-folder: ../src/generated -input-file: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/0eb469cc310ad03f1466eaf861bb01923b80f33f/specification/storage/data-plane/Microsoft.FileStorage/preview/2021-04-10/file.json +input-file: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/bbea558ac43d6ebec72455233c84b0158c89fcda/specification/storage/data-plane/Microsoft.FileStorage/preview/2021-04-10/file.json model-date-time-as-string: true optional-response-headers: true v3: true diff --git a/sdk/storage/storage-file-share/test/fileclient.spec.ts b/sdk/storage/storage-file-share/test/fileclient.spec.ts index dc7df492e8d9..3cbf11532bc4 100644 --- a/sdk/storage/storage-file-share/test/fileclient.spec.ts +++ b/sdk/storage/storage-file-share/test/fileclient.spec.ts @@ -357,6 +357,32 @@ describe("FileClient", () => { ); }); + it("startCopyFromURL ignore readonly", async () => { + await fileClient.create(1024); + const newFileClient = dirClient.getFileClient(recorder.getUniqueName("copiedfile")); + await newFileClient.create(2048, { + fileAttributes: FileSystemAttributes.parse("ReadOnly"), + }); + + const options: FileStartCopyOptions = { + filePermission: filePermissionInSDDL, + copyFileSmbInfo: { + filePermissionCopyMode: "override", + ignoreReadOnly: true, + fileLastWriteTime: "source", + setArchiveAttribute: false, + }, + }; + + const result = await newFileClient.startCopyFromURL(fileClient.url, options); + assert.ok(result.copyId); + const sourceProperties = await fileClient.getProperties(); + const targetProperties = await newFileClient.getProperties(); + + assert.equal(targetProperties.contentLength, 1024); + assert.deepStrictEqual(targetProperties.fileLastWriteOn, sourceProperties.fileLastWriteOn); + }); + it("startCopyFromURL with smb options", async () => { await fileClient.create(1024); const newFileClient = dirClient.getFileClient(recorder.getUniqueName("copiedfile"));