From 557d836f9e7aee320e10d63668e18f5ad4e22ab1 Mon Sep 17 00:00:00 2001 From: Larry Osterman Date: Mon, 19 Sep 2022 12:28:31 -0700 Subject: [PATCH] Synced websockets feature branch with main. (#3945) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Stress test (#3820) * mem leak fix * PR comments fix * PR comments * seems to work? * clang * curl again * add first stress test * also update gitignore * missing line * only linux * clang typo format * typo 2 * PR comments * cspell * remove terminator * Fixed the metadata for better handling (#3824) Co-authored-by: sima-zhu * Update attestation core vcpkg dependency to latest GA version that is required. (#3830) * Update attestation core vcpkg dependency to latest GA version that is required. * Update vcpkg config.cmake to match the dependency version needed. * Remove winhttp (#3832) * remove refs to winhttp * this tsst only curl * Move perf.yml to eng/common (#3833) Co-authored-by: Mike Harder * Sync eng/common directory with azure-sdk-tools for PR 3656 (#3834) * someone wants to reference the test-proxy startup scripts externally. to make this easy on them we're parameterizing the root of the eng/common for easy use in that scenario * two leading $ signs on the definition of the certificate path was causing some issues! Co-authored-by: scbedd <45376673+scbedd@users.noreply.github.com> * Update casing for 'verison' (#3821) Co-authored-by: Daniel Jurek * Print additional result summary formats to pipelines UI (#3842) Co-authored-by: Mike Harder * Sync eng/common directory with azure-sdk-tools for PR 3702 (#3843) * Add language-service to list of valid sample slugs * Update link to taxonomies Co-authored-by: Heath Stewart * Fix incorrect failure notification in vcpkg publishing (#3838) * Set up for testing of template pipeline * Override branches, set up for template GA release * More TODOs to prevent merging an unintended change * More removal of TestPipeline * Increment template version number * Use script to set package version * Check out the correct branch * branch parameter in the command * Use $(PublishToVcpkg) to determine if we should check for changes * dictionary syntax * Set GA package version to validate GA publish scenario * Update changelog * create-pull-request.yml optionally pushes changes * Output GH PR URI * Macro syntax with a variable set earlier * Move up to 1.2.0-beta.2 * beta.1 * Revert changelog * Revert testing-related changes * Revert vcpkg-clone.yml * Revert eng/common changes, ensure global $(HasChanges) is set properly * Changes to enable testing * 1.1.0-beta.1 * vcpkg clone should clone at configured branch * Clone "main" branch of vcpkg betas * Undo test-specific changes * More PR cleanup * PR cleanup * Helm charts (#3841) * helm chart * first pipe setup * poi * magiks * ewewe * stress * cleanup * pr * QFE and readme * clang * stupid clang , waste of time * ewqwewewrqrewewrqewrqwrqr * stupid clang * cspell * PR * try try again * clang again * Sync eng/common directory with azure-sdk-tools for PR 3661 (#3846) * Add full clone fallback to sparse checkout * Improve clone handling and overrides for sparse checkout * Use SkipSparseCheckout variable name Co-authored-by: Ben Broderick Phillips * Sync eng/common directory with azure-sdk-tools for PR 3735 (#3845) * Detect API changes using new snadboxinx approach * Added strictmode * Remove unset variable * Changes as per strict mode 3 * Rervert strict mode to allow language level fixes to merge first Co-authored-by: praveenkuttappan * Increment version for keyvault releases (#3809) * Increment package version after release of azure-security-keyvault-keys * Increment package version after release of azure-security-keyvault-secrets * Increment package version after release of azure-security-keyvault-certificates * Removed hard dependency on opentelemetry version (#3844) * Revert "Add full clone fallback to sparse checkout (#3661)" (#3851) This reverts commit 7605ead00308dd20f20f2afe5acc4ec9900a2c47. Co-authored-by: Ben Broderick Phillips * Sync eng/common directory with azure-sdk-tools for PR 3753 (#3857) * Bump MacOs version to macos-11 * Update eng/common/scripts/job-matrix/tests/job-matrix-functions.tests.ps1 Co-authored-by: Wes Haggard * Update eng/common/scripts/job-matrix/tests/job-matrix-functions.tests.ps1 Co-authored-by: Wes Haggard Co-authored-by: sima-zhu Co-authored-by: Sima Zhu <48036328+sima-zhu@users.noreply.github.com> Co-authored-by: Wes Haggard * Bump macOs version to macos-11 (#3853) * Update CHANGELOG.md * Fix misleading step name in az module install (#3859) Co-authored-by: Ben Broderick Phillips * Retry poll calls on EINTR (#3858) When signals are delievered to the process, calls here to poll may be interrupted and return with a spurious failure. The call instead should be restarted. * Fix bad path to sample matrix json (#3860) Co-authored-by: Ben Broderick Phillips * Sync eng/common directory with azure-sdk-tools for PR 3826 (#3863) * Add link checking for stress CI * Remove region segment from stress testing links Co-authored-by: Ben Broderick Phillips * Core August releases (#3862) * Core August releases * cspell Co-authored-by: Anton Kolesnyk * Increment version for core releases (#3865) * Increment package version after release of azure-core * Increment package version after release of azure-core-tracing-opentelemetry * Storage Aug GA release (#3864) * CG only runs on internal (#3866) * Condition added and indentation changes * STG 79 80 81 Features (#3850) * Sync eng/common directory with azure-sdk-tools for PR 3860 (#3871) * updating pfx and cert * update the targeted version of the proxy as well Co-authored-by: scbedd <45376673+scbedd@users.noreply.github.com> * Storage August Preview Release (#3868) * Storage August Preview Release * update versions * Increment version for storage releases (#3875) * Increment package version after release of azure-storage-common * Increment package version after release of azure-storage-blobs * Fix an issue that reason phrase is missing as expected from HTTP/2 server (#3879) * Fix an issue that reason phrase is missing as expected from HTTP/2 server * reverse the condition * compact comments * fix clang format * Update CODEOWNERS (#3881) * updated targeted proxy version to one that properly allows consumption of TLS certificates (#3888) Co-authored-by: scbedd <45376673+scbedd@users.noreply.github.com> * Fix `azure-storage-blobs-cpp` beta install (#3889) Co-authored-by: Anton Kolesnyk * Fixed #3899 - Handle new OSX version correctly; reformatted platform-matrix JSON files (#3900) * Simpler get-binarysizes check for OSX (#3901) * Simpler get-binarysizes check for OSX * Missed wildcard * Sync eng/common directory with azure-sdk-tools for PR 3874 (#3907) * Add sparse checkout to perf template * Rename base template, add parameters * Add comment * Add TODO * Fix copy/pase bug, add language to artifacts path * Fix language ref * Fix python language * perf.yml extends perf-base.yml * Remove unnecessary base yml * Fetch pull request refs * Fix refs path * Fetch commitish if matches PR syntax * Print command before running * Add PR commitish to remote.origin.fetch * Add pool and vmimage parameters * Map ref under "refs/remotes/origin" * Add ref to refs/remotes/origin Co-authored-by: Mike Harder * File Share Features until STG82 (#3908) * Empty file or existing file won't be created/overwritten if the blob to be downloaded doesn't exist. (#3910) * Remove unnecessary checkout: none that causes conflicts with sparse checkout declarations (#3915) Co-authored-by: Ben Broderick Phillips * Core September Release (#3913) Co-authored-by: Anton Kolesnyk * Increment package version after release of azure-core (#3919) * Migrate SkipDefaultCheckout to SkipCheckoutNone (#3916) Co-authored-by: Ben Broderick Phillips * Storage Sept Release (#3914) * Increment version for storage releases (#3924) * Increment package version after release of azure-storage-common * Increment package version after release of azure-storage-blobs * Increment package version after release of azure-storage-files-shares * Add github actions based check enforcer (#3922) * Add `$schema` to `cgmanifest.json` (#3918) Co-authored-by: Jamie Magee * Remove SkipDefaultCheckout parameter (#3930) Co-authored-by: Ben Broderick Phillips * Compatibility improvement for striped blob (#3932) * add a parameter 'condition' to the test-proxy ci invocations. (#3931) Co-authored-by: scbedd <45376673+scbedd@users.noreply.github.com> * storage ad-hoc release (#3934) * Increment package version after release of azure-storage-blobs (#3935) Co-authored-by: George Arama <50641385+gearama@users.noreply.github.com> Co-authored-by: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com> Co-authored-by: sima-zhu Co-authored-by: Ahson Khan Co-authored-by: Mike Harder Co-authored-by: scbedd <45376673+scbedd@users.noreply.github.com> Co-authored-by: Daniel Jurek Co-authored-by: Heath Stewart Co-authored-by: Ben Broderick Phillips Co-authored-by: praveenkuttappan Co-authored-by: Ben Broderick Phillips Co-authored-by: Sima Zhu <48036328+sima-zhu@users.noreply.github.com> Co-authored-by: Wes Haggard Co-authored-by: Rick Winter Co-authored-by: John Heffner Co-authored-by: Anton Kolesnyk <41349689+antkmsft@users.noreply.github.com> Co-authored-by: Anton Kolesnyk Co-authored-by: JinmingHu Co-authored-by: Jonathan Cárdenas Co-authored-by: keshen-msft <53491277+keshen-msft@users.noreply.github.com> Co-authored-by: microzchang <110015819+microzchang@users.noreply.github.com> Co-authored-by: Jamie Magee Co-authored-by: Jamie Magee --- .github/workflows/event.yml | 16 + .vscode/cspell.json | 6 + cmake-modules/FolderList.cmake | 10 +- eng/common/pipelines/templates/jobs/perf.yml | 58 +- .../templates/steps/docs-metadata-release.yml | 2 +- .../templates/steps/sparse-checkout.yml | 15 +- .../steps/update-docsms-metadata.yml | 7 +- eng/common/testproxy/test-proxy-docker.yml | 6 + eng/common/testproxy/test-proxy-tool.yml | 10 +- .../stages/platform-matrix-live.json | 18 + .../cgmanifest.json | 1 + sdk/core/azure-core-test/cgmanifest.json | 45 +- .../cgmanifest.json | 1 + sdk/core/azure-core/CHANGELOG.md | 6 + sdk/core/azure-core/cgmanifest.json | 3 +- sdk/core/perf/cgmanifest.json | 1 + sdk/identity/azure-identity/cgmanifest.json | 4 +- .../cgmanifest.json | 67 +- .../cgmanifest.json | 67 +- .../cgmanifest.json | 67 +- sdk/storage/azure-storage-blobs/CHANGELOG.md | 18 +- .../azure-storage-blobs/CMakeLists.txt | 4 +- .../azure-storage-blobs/cgmanifest.json | 1 + .../azure-storage-blobs/src/blob_client.cpp | 3 +- .../src/private/package_version.hpp | 4 +- .../azure-storage-blobs/src/rest_client.cpp | 21 +- .../azure-storage-blobs/swagger/README.md | 20 + .../test/ut/block_blob_client_test.cpp | 9 + ...bClientTest.DownloadNonExistingToFile.json | 69 + sdk/storage/azure-storage-blobs/vcpkg.json | 4 +- .../azure-storage-blobs/vcpkg/Config.cmake.in | 2 +- .../azure-storage-blobs/vcpkg/vcpkg.json | 2 +- sdk/storage/azure-storage-common/CHANGELOG.md | 8 +- .../azure-storage-common/cgmanifest.json | 1 + .../src/private/package_version.hpp | 2 +- sdk/storage/azure-storage-common/vcpkg.json | 2 +- .../azure-storage-files-datalake/CHANGELOG.md | 1 + .../cgmanifest.json | 1 + .../datalake/datalake_directory_client.hpp | 4 +- .../test/ut/datalake_file_client_test.cpp | 9 + ...eClientTest.DownloadNonExistingToFile.json | 111 ++ .../azure-storage-files-shares/CHANGELOG.md | 20 +- .../azure-storage-files-shares/CMakeLists.txt | 4 +- .../cgmanifest.json | 1 + .../storage/files/shares/rest_client.hpp | 296 ++++- .../files/shares/share_directory_client.hpp | 33 + .../files/shares/share_lease_client.hpp | 44 +- .../storage/files/shares/share_options.hpp | 148 +++ .../storage/files/shares/share_responses.hpp | 4 + .../src/private/package_version.hpp | 2 +- .../src/rest_client.cpp | 618 ++++++++- .../src/share_client.cpp | 3 + .../src/share_directory_client.cpp | 124 ++ .../src/share_file_client.cpp | 41 +- .../swagger/README.md | 102 +- .../recordings/FileShareClientTest.Lease.json | 416 ++++++ .../FileShareClientTest.PremiumShare.json | 453 +++++-- .../FileShareClientTest.SnapshotLease.json | 484 +++++++ ...toryClientTest.DirectorySmbProperties.json | 358 ++--- ...ListFilesAndDirectoriesSinglePageTest.json | 1079 ++++++++++----- ...leShareDirectoryClientTest.RenameFile.json | 1165 +++++++++++++++++ ...irectoryClientTest.RenameSubdirectory.json | 967 ++++++++++++++ ...yClientTest.SmbPropertiesDefaultValue.json | 176 +-- .../FileShareFileClientTest.CopyRelated.json | 216 +-- ...eClientTest.DownloadNonExistingToFile.json | 169 +++ ...ShareFileClientTest.FileSmbProperties.json | 398 +++--- ...areFileClientTest.RangeUploadDownload.json | 582 +++++--- ...eClientTest.SmbPropertiesDefaultValue.json | 216 +-- ...hareFileClientTest.UploadRangeFromUri.json | 486 ++++--- ...withParam-UploadShare.fromBuffer-c1s0.json | 190 +-- ...hParam-UploadShare.fromBuffer-c1s1024.json | 209 +-- ...ram-UploadShare.fromBuffer-c1s1048576.json | 209 +-- ...hParam-UploadShare.fromBuffer-c1s4096.json | 209 +-- ...ram-UploadShare.fromBuffer-c1s4194816.json | 361 ++--- ...thParam-UploadShare.fromBuffer-c1s512.json | 209 +-- ...withParam-UploadShare.fromBuffer-c2s0.json | 190 +-- ...hParam-UploadShare.fromBuffer-c2s1024.json | 209 +-- ...ram-UploadShare.fromBuffer-c2s1048576.json | 209 +-- ...hParam-UploadShare.fromBuffer-c2s4096.json | 209 +-- ...ram-UploadShare.fromBuffer-c2s4194816.json | 361 ++--- ...thParam-UploadShare.fromBuffer-c2s512.json | 209 +-- ...withParam-UploadShare.fromBuffer-c5s0.json | 190 +-- ...hParam-UploadShare.fromBuffer-c5s1024.json | 209 +-- ...ram-UploadShare.fromBuffer-c5s1048576.json | 209 +-- ...hParam-UploadShare.fromBuffer-c5s4096.json | 209 +-- ...ram-UploadShare.fromBuffer-c5s4194816.json | 365 +++--- ...thParam-UploadShare.fromBuffer-c5s512.json | 209 +-- .../test/ut/share_client_test.cpp | 378 ++++-- .../test/ut/share_directory_client_test.cpp | 378 ++++++ .../test/ut/share_file_client_test.cpp | 83 +- .../azure-storage-files-shares/vcpkg.json | 4 +- .../vcpkg/Config.cmake.in | 2 +- .../vcpkg/vcpkg.json | 2 +- .../azure-storage-queues/cgmanifest.json | 1 + sdk/template/azure-template/cgmanifest.json | 67 +- 95 files changed, 10424 insertions(+), 3967 deletions(-) create mode 100644 .github/workflows/event.yml create mode 100644 sdk/storage/azure-storage-blobs/test/ut/recordings/BlockBlobClientTest.DownloadNonExistingToFile.json create mode 100644 sdk/storage/azure-storage-files-datalake/test/ut/recordings/DataLakeFileClientTest.DownloadNonExistingToFile.json create mode 100644 sdk/storage/azure-storage-files-shares/test/ut/recordings/FileShareClientTest.Lease.json create mode 100644 sdk/storage/azure-storage-files-shares/test/ut/recordings/FileShareClientTest.SnapshotLease.json create mode 100644 sdk/storage/azure-storage-files-shares/test/ut/recordings/FileShareDirectoryClientTest.RenameFile.json create mode 100644 sdk/storage/azure-storage-files-shares/test/ut/recordings/FileShareDirectoryClientTest.RenameSubdirectory.json create mode 100644 sdk/storage/azure-storage-files-shares/test/ut/recordings/FileShareFileClientTest.DownloadNonExistingToFile.json diff --git a/.github/workflows/event.yml b/.github/workflows/event.yml new file mode 100644 index 0000000000..3a88082782 --- /dev/null +++ b/.github/workflows/event.yml @@ -0,0 +1,16 @@ +name: GitHub Event Handler + +on: + check_suite: + types: [completed] + issue_comment: + types: [created] + +jobs: + event-handler: + name: Handle ${{ github.event_name }} ${{ github.event.action }} event + runs-on: ubuntu-latest + steps: + - uses: azure/azure-sdk-actions@main + with: + token: ${{ secrets.GITHUB_TOKEN }} diff --git a/.vscode/cspell.json b/.vscode/cspell.json index ec5a6d9b3e..37c27178e6 100644 --- a/.vscode/cspell.json +++ b/.vscode/cspell.json @@ -234,6 +234,12 @@ "numofmessages" ] }, + { + "filename": "**/sdk/storage/azure-storage-files-shares/**/*", + "words": [ + "mibps" + ] + }, { "filename": "**/cmake-modules/**/*", "words": [ diff --git a/cmake-modules/FolderList.cmake b/cmake-modules/FolderList.cmake index eb1946395a..5837920d7e 100644 --- a/cmake-modules/FolderList.cmake +++ b/cmake-modules/FolderList.cmake @@ -13,17 +13,17 @@ macro(GetFolderList project) DownloadDepVersion(sdk/core azure-core 1.5.0) DownloadDepVersion(sdk/identity azure-identity 1.1.0) elseif(${project} STREQUAL STORAGE_COMMON) - DownloadDepVersion(sdk/core azure-core 1.5.0) + DownloadDepVersion(sdk/core azure-core 1.7.1) elseif(${project} STREQUAL STORAGE_BLOBS) - DownloadDepVersion(sdk/core azure-core 1.5.0) - DownloadDepVersion(sdk/storage/azure-storage-common azure-storage-common 12.2.4) + DownloadDepVersion(sdk/core azure-core 1.7.1) + DownloadDepVersion(sdk/storage/azure-storage-common azure-storage-common 12.3.0) elseif(${project} STREQUAL STORAGE_FILES_DATALAKE) DownloadDepVersion(sdk/core azure-core 1.3.1) DownloadDepVersion(sdk/storage/azure-storage-common azure-storage-common 12.2.2) DownloadDepVersion(sdk/storage/azure-storage-blobs azure-storage-blobs 12.3.0) elseif(${project} STREQUAL STORAGE_FILES_SHARES) - DownloadDepVersion(sdk/core azure-core 1.3.1) - DownloadDepVersion(sdk/storage/azure-storage-common azure-storage-common 12.2.2) + DownloadDepVersion(sdk/core azure-core 1.7.1) + DownloadDepVersion(sdk/storage/azure-storage-common azure-storage-common 12.3.0) elseif(${project} STREQUAL STORAGE_QUEUES) DownloadDepVersion(sdk/core azure-core 1.5.0) DownloadDepVersion(sdk/storage/azure-storage-common azure-storage-common 12.2.3) diff --git a/eng/common/pipelines/templates/jobs/perf.yml b/eng/common/pipelines/templates/jobs/perf.yml index 3d3a3f6e31..7f0c7f8755 100644 --- a/eng/common/pipelines/templates/jobs/perf.yml +++ b/eng/common/pipelines/templates/jobs/perf.yml @@ -1,4 +1,31 @@ parameters: +- name: JobName + type: string + default: 'Perf' +- name: LinuxPool + type: string + default: 'azsdk-pool-mms-ubuntu-2004-perf' +- name: LinuxVmImage + type: string + default: 'MMSUbuntu20.04' +- name: WindowsPool + type: string + default: 'azsdk-pool-mms-win-2019-perf' +- name: WindowsVmImage + type: string + default: 'MMS2019' +- name: Language + type: string + default: '' +- name: LanguageRepoName + type: string + default: $(Build.Repository.Name) +- name: LanguageRepoCommitish + type: string + default: $(Build.SourceVersion) +- name: ToolsRepoCommitish + type: string + default: 'main' - name: Variables type: object default: [] @@ -54,23 +81,36 @@ jobs: matrix: ${{ if contains(parameters.OperatingSystems, 'Linux') }}: Linux: - Pool: 'azsdk-pool-mms-ubuntu-2004-perf' - OsVmImage: 'MMSUbuntu20.04' + Pool: ${{ parameters.LinuxPool }} + OsVmImage: ${{ parameters.LinuxVmImage }} MatrixName: 'Linux' ${{ if contains(parameters.OperatingSystems, 'Windows') }}: Windows: - Pool: 'azsdk-pool-mms-win-2019-perf' - OsVmImage: 'MMS2019' + Pool: ${{ parameters.WindowsPool }} + OsVmImage: ${{ parameters.WindowsVmImage }} MatrixName: 'Windows' + variables: + - ${{ parameters.Variables }} pool: name: $(Pool) vmImage: $(OSVmImage) steps: - - checkout: self - path: s - - checkout: azure-sdk-tools - path: s/azure-sdk-tools + - template: /eng/common/pipelines/templates/steps/sparse-checkout.yml + parameters: + Paths: + - '/*' + - '!sdk/**/test-recordings/*' + - '!sdk/**/recordings/*' + - '!sdk/**/SessionRecords/*' + - '!sdk/**/session-records/*' + Repositories: + - Name: ${{ parameters.LanguageRepoName }} + Commitish: ${{ parameters.LanguageRepoCommitish }} + WorkingDirectory: $(System.DefaultWorkingDirectory) + - Name: Azure/azure-sdk-tools + Commitish: ${{ parameters.ToolsRepoCommitish }} + WorkingDirectory: $(System.DefaultWorkingDirectory)/azure-sdk-tools - template: /eng/common/pipelines/templates/steps/verify-agent-os.yml parameters: @@ -133,7 +173,7 @@ jobs: - task: PublishPipelineArtifact@1 inputs: targetPath: azure-sdk-tools/tools/perf-automation/Azure.Sdk.Tools.PerfAutomation/results - artifactName: results-$(MatrixName) + artifactName: results-${{ parameters.Language }}-$(MatrixName) condition: always() - template: /eng/common/TestResources/remove-test-resources.yml diff --git a/eng/common/pipelines/templates/steps/docs-metadata-release.yml b/eng/common/pipelines/templates/steps/docs-metadata-release.yml index 2f58b90d4d..7b6fb183a5 100644 --- a/eng/common/pipelines/templates/steps/docs-metadata-release.yml +++ b/eng/common/pipelines/templates/steps/docs-metadata-release.yml @@ -81,7 +81,7 @@ steps: - ${{ if parameters.SparseCheckoutPaths }}: - template: /eng/common/pipelines/templates/steps/sparse-checkout.yml parameters: - SkipDefaultCheckout: true + SkipCheckoutNone: true Repositories: - Name: ${{ parameters.TargetDocRepoOwner }}/${{ parameters.TargetDocRepoName }} WorkingDirectory: ${{ parameters.WorkingDirectory }}/repo diff --git a/eng/common/pipelines/templates/steps/sparse-checkout.yml b/eng/common/pipelines/templates/steps/sparse-checkout.yml index a3b553b3a7..cee1fbb2d5 100644 --- a/eng/common/pipelines/templates/steps/sparse-checkout.yml +++ b/eng/common/pipelines/templates/steps/sparse-checkout.yml @@ -8,13 +8,13 @@ parameters: - Name: $(Build.Repository.Name) Commitish: $(Build.SourceVersion) WorkingDirectory: $(System.DefaultWorkingDirectory) - - name: SkipDefaultCheckout + - name: SkipCheckoutNone type: boolean default: false steps: - - ${{ if not(parameters.SkipDefaultCheckout) }}: - - checkout: none + - ${{ if not(parameters.SkipCheckoutNone) }}: + - checkout: none - task: PowerShell@2 displayName: 'Sparse checkout repositories' @@ -38,8 +38,13 @@ steps: } else { Write-Host "Repository $($repository.Name) is being initialized." - Write-Host "git clone --no-checkout --filter=tree:0 https://github.com/$($repository.Name) ." - git clone --no-checkout --filter=tree:0 https://github.com/$($repository.Name) . + if ($repository.Commitish -match '^refs/pull/\d+/merge$') { + Write-Host "git clone --no-checkout --filter=tree:0 -c remote.origin.fetch='+$($repository.Commitish):refs/remotes/origin/$($repository.Commitish)' https://github.com/$($repository.Name) ." + git clone --no-checkout --filter=tree:0 -c remote.origin.fetch=''+$($repository.Commitish):refs/remotes/origin/$($repository.Commitish)'' https://github.com/$($repository.Name) . + } else { + Write-Host "git clone --no-checkout --filter=tree:0 https://github.com/$($repository.Name) ." + git clone --no-checkout --filter=tree:0 https://github.com/$($repository.Name) . + } Write-Host "git sparse-checkout init" git sparse-checkout init diff --git a/eng/common/pipelines/templates/steps/update-docsms-metadata.yml b/eng/common/pipelines/templates/steps/update-docsms-metadata.yml index 66d8335de8..2635ad4794 100644 --- a/eng/common/pipelines/templates/steps/update-docsms-metadata.yml +++ b/eng/common/pipelines/templates/steps/update-docsms-metadata.yml @@ -34,7 +34,6 @@ parameters: default: '' steps: - ${{ if eq(length(parameters.PackageInfoLocations), 0) }}: - - checkout: none - pwsh: | Write-Host "Skipping DocsMS Update because package list was empty." displayName: Skip DocsMS Update @@ -47,7 +46,7 @@ steps: - template: /eng/common/pipelines/templates/steps/sparse-checkout.yml parameters: - SkipDefaultCheckout: true + SkipCheckoutNone: true Repositories: - Name: ${{ parameters.TargetDocRepoOwner }}/${{ parameters.TargetDocRepoName }} WorkingDirectory: $(DocRepoLocation) @@ -77,7 +76,7 @@ steps: displayName: Checkout daily docs branch if it exists workingDirectory: $(DocRepoLocation) - # If NOT performing a daily docs build, set the $(TargetBranchName) to the + # If NOT performing a daily docs build, set the $(TargetBranchName) to the # default branch of the documentation repository. - ${{ if ne(parameters.DailyDocsBuild, 'true') }}: - template: /eng/common/pipelines/templates/steps/set-default-branch.yml @@ -104,7 +103,7 @@ steps: -PackageSourceOverride '${{ parameters.PackageSourceOverride }}' ` -TenantId '$(opensource-aad-tenant-id)' ` -ClientId '$(opensource-aad-app-id)' ` - -ClientSecret '$(opensource-aad-secret)' + -ClientSecret '$(opensource-aad-secret)' displayName: Apply Documentation Updates - template: /eng/common/pipelines/templates/steps/git-push-changes.yml diff --git a/eng/common/testproxy/test-proxy-docker.yml b/eng/common/testproxy/test-proxy-docker.yml index 52a7c807a3..71a03d1be3 100644 --- a/eng/common/testproxy/test-proxy-docker.yml +++ b/eng/common/testproxy/test-proxy-docker.yml @@ -2,24 +2,30 @@ parameters: rootFolder: '$(Build.SourcesDirectory)' targetVersion: '' templateRoot: '$(Build.SourcesDirectory)' + condition: true steps: - pwsh: | ${{ parameters.templateRoot }}/eng/common/scripts/trust-proxy-certificate.ps1 displayName: 'Language Specific Certificate Trust' + condition: and(succeeded(), ${{ parameters.condition }}) - pwsh: | docker info displayName: 'Dump active docker information' + condition: and(succeeded(), ${{ parameters.condition }}) - pwsh: | ${{ parameters.templateRoot }}/eng/common/testproxy/docker-start-proxy.ps1 -Mode start -TargetFolder "${{ parameters.rootFolder }}" -VersionOverride="${{ parameters.targetVersion }}" displayName: 'Run the docker container' + condition: and(succeeded(), ${{ parameters.condition }}) - pwsh: | docker container ls -a displayName: Check running container + condition: and(succeeded(), ${{ parameters.condition }}) - pwsh: | Write-Host "##vso[task.setvariable variable=PROXY_MANUAL_START]true" displayName: 'Set PROXY_MANUAL_START' + condition: and(succeeded(), ${{ parameters.condition }}) diff --git a/eng/common/testproxy/test-proxy-tool.yml b/eng/common/testproxy/test-proxy-tool.yml index 679ad2108d..293848da12 100644 --- a/eng/common/testproxy/test-proxy-tool.yml +++ b/eng/common/testproxy/test-proxy-tool.yml @@ -3,11 +3,13 @@ parameters: runProxy: true targetVersion: '' templateRoot: '$(Build.SourcesDirectory)' + condition: true steps: - pwsh: | ${{ parameters.templateRoot }}/eng/common/scripts/trust-proxy-certificate.ps1 displayName: 'Language Specific Certificate Trust' + condition: and(succeeded(), ${{ parameters.condition }}) - pwsh: | $version = $(Get-Content "${{ parameters.templateRoot }}/eng/common/testproxy/target_version.txt" -Raw).Trim() @@ -23,6 +25,7 @@ steps: --add-source https://pkgs.dev.azure.com/azure-sdk/public/_packaging/azure-sdk-for-net/nuget/v3/index.json ` --version $version displayName: "Install test-proxy" + condition: and(succeeded(), ${{ parameters.condition }}) - pwsh: | Write-Host "##vso[task.prependpath]$(Build.BinariesDirectory)/test-proxy" @@ -34,19 +37,20 @@ steps: Write-Host "##vso[task.setvariable variable=ASPNETCORE_Kestrel__Certificates__Default__Password]password" Write-Host "##vso[task.setvariable variable=PROXY_MANUAL_START]true" displayName: 'Configure Kestrel and PROXY_MANUAL_START Variables' + condition: and(succeeded(), ${{ parameters.condition }}) - pwsh: | Start-Process $(Build.BinariesDirectory)/test-proxy/test-proxy.exe ` -ArgumentList "--storage-location ${{ parameters.rootFolder }}" ` -NoNewWindow -PassThru -RedirectStandardOutput ${{ parameters.templateRoot }}/test-proxy.log displayName: 'Run the testproxy - windows' - condition: and(succeeded(), eq(variables['Agent.OS'],'Windows_NT')) + condition: and(succeeded(), eq(variables['Agent.OS'],'Windows_NT'), ${{ parameters.condition }}) # nohup does NOT continue beyond the current session if you use it within powershell - bash: | nohup $(Build.BinariesDirectory)/test-proxy/test-proxy > ${{ parameters.templateRoot }}/test-proxy.log & displayName: "Run the testproxy - linux/mac" - condition: and(succeeded(), ne(variables['Agent.OS'],'Windows_NT')) + condition: and(succeeded(), ne(variables['Agent.OS'],'Windows_NT'), ${{ parameters.condition }}) workingDirectory: "${{ parameters.rootFolder }}" - pwsh: | @@ -62,4 +66,4 @@ steps: Write-Error "Could not connect to test proxy." exit 1 displayName: Test Proxy IsAlive - + condition: and(succeeded(), ${{ parameters.condition }}) diff --git a/eng/pipelines/templates/stages/platform-matrix-live.json b/eng/pipelines/templates/stages/platform-matrix-live.json index 1c0264d892..ceb385618d 100644 --- a/eng/pipelines/templates/stages/platform-matrix-live.json +++ b/eng/pipelines/templates/stages/platform-matrix-live.json @@ -165,6 +165,24 @@ "BuildArgs": "-v --parallel 8 --config Release", "RunSamples": 1, "WindowsCtestConfig": "-C Release" + }, + "HSM_Win_x64_with_unit_test_libcurl": { + "VCPKG_DEFAULT_TRIPLET": "x64-windows-static", + "CMAKE_GENERATOR_PLATFORM": "x64", + "CmakeArgs": " -DBUILD_TRANSPORT_CURL=ON -DBUILD_TESTING=ON -DRUN_LONG_UNIT_TESTS=ON -DBUILD_PERFORMANCE_TESTS=ON -DMSVC_USE_STATIC_CRT=ON ", + "BuildArgs": "-v --parallel 8 --config Release", + "WindowsCtestConfig": "-C Release", + "KVLocation": "eastus2", + "EnableHSM": 1 + }, + "x64_with_unit_samples_libcurl": { + "VcpkgInstall": "curl[winssl] openssl", + "VCPKG_DEFAULT_TRIPLET": "x64-windows-static", + "CMAKE_GENERATOR_PLATFORM": "x64", + "CmakeArgs": " -DBUILD_TRANSPORT_CURL=ON -DBUILD_TESTING=ON -DRUN_LONG_UNIT_TESTS=ON -DBUILD_PERFORMANCE_TESTS=ON -DBUILD_SAMPLES=ON -DMSVC_USE_STATIC_CRT=ON ", + "BuildArgs": "-v --parallel 8 --config Release", + "RunSamples": 1, + "WindowsCtestConfig": "-C Release" } } } diff --git a/sdk/attestation/azure-security-attestation/cgmanifest.json b/sdk/attestation/azure-security-attestation/cgmanifest.json index d4b0875a5c..648f67628c 100644 --- a/sdk/attestation/azure-security-attestation/cgmanifest.json +++ b/sdk/attestation/azure-security-attestation/cgmanifest.json @@ -1,4 +1,5 @@ { + "$schema": "https://json.schemastore.org/component-detection-manifest.json", "Registrations": [ { "Component": { diff --git a/sdk/core/azure-core-test/cgmanifest.json b/sdk/core/azure-core-test/cgmanifest.json index 7348d592f0..00dd915e65 100644 --- a/sdk/core/azure-core-test/cgmanifest.json +++ b/sdk/core/azure-core-test/cgmanifest.json @@ -1,25 +1,26 @@ { - "Registrations": [ - { - "Component": { - "Type": "git", - "git": { - "RepositoryUrl": "https://github.com/google/googletest", - "CommitHash": "703bd9caab50b139428cea1aaff9974ebee5742e" - } - }, - "DevelopmentDependency": true - }, - { - "Component": { - "Type": "other", - "Other": { - "Name": "clang-format", - "Version": "9.0.0-2", - "DownloadUrl": "https://ubuntu.pkgs.org/18.04/ubuntu-updates-universe-amd64/clang-format-9_9-2~ubuntu18.04.2_amd64.deb.html" - } - }, - "DevelopmentDependency": true + "$schema": "https://json.schemastore.org/component-detection-manifest.json", + "Registrations": [ + { + "Component": { + "Type": "git", + "git": { + "RepositoryUrl": "https://github.com/google/googletest", + "CommitHash": "703bd9caab50b139428cea1aaff9974ebee5742e" } - ] + }, + "DevelopmentDependency": true + }, + { + "Component": { + "Type": "other", + "Other": { + "Name": "clang-format", + "Version": "9.0.0-2", + "DownloadUrl": "https://ubuntu.pkgs.org/18.04/ubuntu-updates-universe-amd64/clang-format-9_9-2~ubuntu18.04.2_amd64.deb.html" + } + }, + "DevelopmentDependency": true + } + ] } diff --git a/sdk/core/azure-core-tracing-opentelemetry/cgmanifest.json b/sdk/core/azure-core-tracing-opentelemetry/cgmanifest.json index 698c2a9558..1e4219e5c9 100644 --- a/sdk/core/azure-core-tracing-opentelemetry/cgmanifest.json +++ b/sdk/core/azure-core-tracing-opentelemetry/cgmanifest.json @@ -1,4 +1,5 @@ { + "$schema": "https://json.schemastore.org/component-detection-manifest.json", "Registrations": [ { "Component": { diff --git a/sdk/core/azure-core/CHANGELOG.md b/sdk/core/azure-core/CHANGELOG.md index c7f91f9f98..e7add57eed 100644 --- a/sdk/core/azure-core/CHANGELOG.md +++ b/sdk/core/azure-core/CHANGELOG.md @@ -13,6 +13,12 @@ ### Other Changes +## 1.7.2 (2022-09-01) + +### Bugs Fixed + +- WinHTTP Transport Adapter: Fixed missing reason phrase handling for HTTP/2 responses. + ## 1.7.1 (2022-08-04) ### Bugs Fixed diff --git a/sdk/core/azure-core/cgmanifest.json b/sdk/core/azure-core/cgmanifest.json index 5e418d475b..a84431c793 100644 --- a/sdk/core/azure-core/cgmanifest.json +++ b/sdk/core/azure-core/cgmanifest.json @@ -1,4 +1,5 @@ { + "$schema": "https://json.schemastore.org/component-detection-manifest.json", "Registrations": [ { "Component": { @@ -94,4 +95,4 @@ "DevelopmentDependency": true } ] -} \ No newline at end of file +} diff --git a/sdk/core/perf/cgmanifest.json b/sdk/core/perf/cgmanifest.json index 244dcec184..7b765a74ad 100644 --- a/sdk/core/perf/cgmanifest.json +++ b/sdk/core/perf/cgmanifest.json @@ -1,4 +1,5 @@ { + "$schema": "https://json.schemastore.org/component-detection-manifest.json", "Registrations": [ { "Component": { diff --git a/sdk/identity/azure-identity/cgmanifest.json b/sdk/identity/azure-identity/cgmanifest.json index 819cdc37e6..f16d4d85ac 100644 --- a/sdk/identity/azure-identity/cgmanifest.json +++ b/sdk/identity/azure-identity/cgmanifest.json @@ -1,4 +1,4 @@ { - "Registrations": [ - ] + "$schema": "https://json.schemastore.org/component-detection-manifest.json", + "Registrations": [] } diff --git a/sdk/keyvault/azure-security-keyvault-certificates/cgmanifest.json b/sdk/keyvault/azure-security-keyvault-certificates/cgmanifest.json index 7f2901e706..1b872bc72d 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/cgmanifest.json +++ b/sdk/keyvault/azure-security-keyvault-certificates/cgmanifest.json @@ -1,36 +1,37 @@ { - "Registrations": [ - { - "Component": { - "Type": "git", - "git": { - "RepositoryUrl": "https://github.com/google/googletest", - "CommitHash": "703bd9caab50b139428cea1aaff9974ebee5742e" - } - }, - "DevelopmentDependency": true - }, - { - "Component": { - "Type": "other", - "Other": { - "Name": "clang-format", - "Version": "9.0.0-2", - "DownloadUrl": "https://ubuntu.pkgs.org/18.04/ubuntu-updates-universe-amd64/clang-format-9_9-2~ubuntu18.04.2_amd64.deb.html" - } - }, - "DevelopmentDependency": true - }, - { - "Component": { - "Type": "other", - "Other": { - "Name": "doxygen", - "Version": "1.8.20", - "DownloadUrl": "http://doxygen.nl/files/doxygen-1.8.20-setup.exe" - } - }, - "DevelopmentDependency": true + "$schema": "https://json.schemastore.org/component-detection-manifest.json", + "Registrations": [ + { + "Component": { + "Type": "git", + "git": { + "RepositoryUrl": "https://github.com/google/googletest", + "CommitHash": "703bd9caab50b139428cea1aaff9974ebee5742e" } - ] + }, + "DevelopmentDependency": true + }, + { + "Component": { + "Type": "other", + "Other": { + "Name": "clang-format", + "Version": "9.0.0-2", + "DownloadUrl": "https://ubuntu.pkgs.org/18.04/ubuntu-updates-universe-amd64/clang-format-9_9-2~ubuntu18.04.2_amd64.deb.html" + } + }, + "DevelopmentDependency": true + }, + { + "Component": { + "Type": "other", + "Other": { + "Name": "doxygen", + "Version": "1.8.20", + "DownloadUrl": "http://doxygen.nl/files/doxygen-1.8.20-setup.exe" + } + }, + "DevelopmentDependency": true + } + ] } diff --git a/sdk/keyvault/azure-security-keyvault-keys/cgmanifest.json b/sdk/keyvault/azure-security-keyvault-keys/cgmanifest.json index 7f2901e706..1b872bc72d 100644 --- a/sdk/keyvault/azure-security-keyvault-keys/cgmanifest.json +++ b/sdk/keyvault/azure-security-keyvault-keys/cgmanifest.json @@ -1,36 +1,37 @@ { - "Registrations": [ - { - "Component": { - "Type": "git", - "git": { - "RepositoryUrl": "https://github.com/google/googletest", - "CommitHash": "703bd9caab50b139428cea1aaff9974ebee5742e" - } - }, - "DevelopmentDependency": true - }, - { - "Component": { - "Type": "other", - "Other": { - "Name": "clang-format", - "Version": "9.0.0-2", - "DownloadUrl": "https://ubuntu.pkgs.org/18.04/ubuntu-updates-universe-amd64/clang-format-9_9-2~ubuntu18.04.2_amd64.deb.html" - } - }, - "DevelopmentDependency": true - }, - { - "Component": { - "Type": "other", - "Other": { - "Name": "doxygen", - "Version": "1.8.20", - "DownloadUrl": "http://doxygen.nl/files/doxygen-1.8.20-setup.exe" - } - }, - "DevelopmentDependency": true + "$schema": "https://json.schemastore.org/component-detection-manifest.json", + "Registrations": [ + { + "Component": { + "Type": "git", + "git": { + "RepositoryUrl": "https://github.com/google/googletest", + "CommitHash": "703bd9caab50b139428cea1aaff9974ebee5742e" } - ] + }, + "DevelopmentDependency": true + }, + { + "Component": { + "Type": "other", + "Other": { + "Name": "clang-format", + "Version": "9.0.0-2", + "DownloadUrl": "https://ubuntu.pkgs.org/18.04/ubuntu-updates-universe-amd64/clang-format-9_9-2~ubuntu18.04.2_amd64.deb.html" + } + }, + "DevelopmentDependency": true + }, + { + "Component": { + "Type": "other", + "Other": { + "Name": "doxygen", + "Version": "1.8.20", + "DownloadUrl": "http://doxygen.nl/files/doxygen-1.8.20-setup.exe" + } + }, + "DevelopmentDependency": true + } + ] } diff --git a/sdk/keyvault/azure-security-keyvault-secrets/cgmanifest.json b/sdk/keyvault/azure-security-keyvault-secrets/cgmanifest.json index 7f2901e706..1b872bc72d 100644 --- a/sdk/keyvault/azure-security-keyvault-secrets/cgmanifest.json +++ b/sdk/keyvault/azure-security-keyvault-secrets/cgmanifest.json @@ -1,36 +1,37 @@ { - "Registrations": [ - { - "Component": { - "Type": "git", - "git": { - "RepositoryUrl": "https://github.com/google/googletest", - "CommitHash": "703bd9caab50b139428cea1aaff9974ebee5742e" - } - }, - "DevelopmentDependency": true - }, - { - "Component": { - "Type": "other", - "Other": { - "Name": "clang-format", - "Version": "9.0.0-2", - "DownloadUrl": "https://ubuntu.pkgs.org/18.04/ubuntu-updates-universe-amd64/clang-format-9_9-2~ubuntu18.04.2_amd64.deb.html" - } - }, - "DevelopmentDependency": true - }, - { - "Component": { - "Type": "other", - "Other": { - "Name": "doxygen", - "Version": "1.8.20", - "DownloadUrl": "http://doxygen.nl/files/doxygen-1.8.20-setup.exe" - } - }, - "DevelopmentDependency": true + "$schema": "https://json.schemastore.org/component-detection-manifest.json", + "Registrations": [ + { + "Component": { + "Type": "git", + "git": { + "RepositoryUrl": "https://github.com/google/googletest", + "CommitHash": "703bd9caab50b139428cea1aaff9974ebee5742e" } - ] + }, + "DevelopmentDependency": true + }, + { + "Component": { + "Type": "other", + "Other": { + "Name": "clang-format", + "Version": "9.0.0-2", + "DownloadUrl": "https://ubuntu.pkgs.org/18.04/ubuntu-updates-universe-amd64/clang-format-9_9-2~ubuntu18.04.2_amd64.deb.html" + } + }, + "DevelopmentDependency": true + }, + { + "Component": { + "Type": "other", + "Other": { + "Name": "doxygen", + "Version": "1.8.20", + "DownloadUrl": "http://doxygen.nl/files/doxygen-1.8.20-setup.exe" + } + }, + "DevelopmentDependency": true + } + ] } diff --git a/sdk/storage/azure-storage-blobs/CHANGELOG.md b/sdk/storage/azure-storage-blobs/CHANGELOG.md index 09af321dd0..bbc3e87f8a 100644 --- a/sdk/storage/azure-storage-blobs/CHANGELOG.md +++ b/sdk/storage/azure-storage-blobs/CHANGELOG.md @@ -1,6 +1,6 @@ # Release History -## 12.6.0-beta.2 (Unreleased) +## 12.7.0-beta.1 (Unreleased) ### Features Added @@ -10,6 +10,22 @@ ### Other Changes +## 12.6.1 (2022-09-16) + +### Other changes + +- No public changes in this release. + +## 12.6.0 (2022-09-06) + +### Features Added + +- Features in `12.6.0.beta.1` are now generally available. + +### Bugs Fixed + +- Empty file or existing file won't be created/overwritten if the blob to be downloaded doesn't exist. + ## 12.6.0-beta.1 (2022-08-09) ### Features Added diff --git a/sdk/storage/azure-storage-blobs/CMakeLists.txt b/sdk/storage/azure-storage-blobs/CMakeLists.txt index 9cb06ad5b6..5507355f01 100644 --- a/sdk/storage/azure-storage-blobs/CMakeLists.txt +++ b/sdk/storage/azure-storage-blobs/CMakeLists.txt @@ -32,9 +32,9 @@ if(FETCH_SOURCE_DEPS) add_subdirectory(${oneFolder} EXCLUDE_FROM_ALL) endforeach() elseif(NOT AZ_ALL_LIBRARIES) - find_package(azure-storage-common-cpp CONFIG QUIET) + find_package(azure-storage-common-cpp "12.3.0" CONFIG QUIET) if(NOT azure-storage-common-cpp_FOUND) - find_package(azure-storage-common-cpp REQUIRED) + find_package(azure-storage-common-cpp "12.3.0" REQUIRED) endif() endif() diff --git a/sdk/storage/azure-storage-blobs/cgmanifest.json b/sdk/storage/azure-storage-blobs/cgmanifest.json index 728e7b7085..4ac5c618a3 100644 --- a/sdk/storage/azure-storage-blobs/cgmanifest.json +++ b/sdk/storage/azure-storage-blobs/cgmanifest.json @@ -1,4 +1,5 @@ { + "$schema": "https://json.schemastore.org/component-detection-manifest.json", "Registrations": [ { "Component": { diff --git a/sdk/storage/azure-storage-blobs/src/blob_client.cpp b/sdk/storage/azure-storage-blobs/src/blob_client.cpp index e391f3e376..9ee05b2c7f 100644 --- a/sdk/storage/azure-storage-blobs/src/blob_client.cpp +++ b/sdk/storage/azure-storage-blobs/src/blob_client.cpp @@ -419,8 +419,6 @@ namespace Azure { namespace Storage { namespace Blobs { firstChunkOptions.Range.Value().Length = firstChunkLength; } - _internal::FileWriter fileWriter(fileName); - auto firstChunk = Download(firstChunkOptions, context); const Azure::ETag eTag = firstChunk.Value.Details.ETag; @@ -461,6 +459,7 @@ namespace Azure { namespace Storage { namespace Blobs { } }; + _internal::FileWriter fileWriter(fileName); bodyStreamToFile(*(firstChunk.Value.BodyStream), fileWriter, 0, firstChunkLength, context); firstChunk.Value.BodyStream.reset(); diff --git a/sdk/storage/azure-storage-blobs/src/private/package_version.hpp b/sdk/storage/azure-storage-blobs/src/private/package_version.hpp index 86c7dd8e07..6f21bf905b 100644 --- a/sdk/storage/azure-storage-blobs/src/private/package_version.hpp +++ b/sdk/storage/azure-storage-blobs/src/private/package_version.hpp @@ -9,9 +9,9 @@ #pragma once #define AZURE_STORAGE_BLOBS_VERSION_MAJOR 12 -#define AZURE_STORAGE_BLOBS_VERSION_MINOR 6 +#define AZURE_STORAGE_BLOBS_VERSION_MINOR 7 #define AZURE_STORAGE_BLOBS_VERSION_PATCH 0 -#define AZURE_STORAGE_BLOBS_VERSION_PRERELEASE "beta.2" +#define AZURE_STORAGE_BLOBS_VERSION_PRERELEASE "beta.1" #define AZURE_STORAGE_BLOBS_VERSION_ITOA_HELPER(i) #i #define AZURE_STORAGE_BLOBS_VERSION_ITOA(i) AZURE_STORAGE_BLOBS_VERSION_ITOA_HELPER(i) diff --git a/sdk/storage/azure-storage-blobs/src/rest_client.cpp b/sdk/storage/azure-storage-blobs/src/rest_client.cpp index 1678ac9b72..22277f0397 100644 --- a/sdk/storage/azure-storage-blobs/src/rest_client.cpp +++ b/sdk/storage/azure-storage-blobs/src/rest_client.cpp @@ -6023,8 +6023,11 @@ namespace Azure { namespace Storage { namespace Blobs { = Core::Convert::Base64Decode(pRawResponse->GetHeaders().at("x-ms-content-crc64")); response.TransactionalContentHash.Value().Algorithm = HashAlgorithm::Crc64; } - response.SequenceNumber - = std::stoll(pRawResponse->GetHeaders().at("x-ms-blob-sequence-number")); + if (pRawResponse->GetHeaders().count("x-ms-blob-sequence-number") != 0) + { + response.SequenceNumber + = std::stoll(pRawResponse->GetHeaders().at("x-ms-blob-sequence-number")); + } response.IsServerEncrypted = pRawResponse->GetHeaders().at("x-ms-request-server-encrypted") == std::string("true"); if (pRawResponse->GetHeaders().count("x-ms-encryption-key-sha256") != 0) @@ -6132,8 +6135,11 @@ namespace Azure { namespace Storage { namespace Blobs { response.LastModified = DateTime::Parse( pRawResponse->GetHeaders().at("Last-Modified"), Azure::DateTime::DateFormat::Rfc1123); } - response.SequenceNumber - = std::stoll(pRawResponse->GetHeaders().at("x-ms-blob-sequence-number")); + if (pRawResponse->GetHeaders().count("x-ms-blob-sequence-number") != 0) + { + response.SequenceNumber + = std::stoll(pRawResponse->GetHeaders().at("x-ms-blob-sequence-number")); + } return Response(std::move(response), std::move(pRawResponse)); } Response PageBlobClient::UploadPagesFromUri( @@ -6292,8 +6298,11 @@ namespace Azure { namespace Storage { namespace Blobs { = Core::Convert::Base64Decode(pRawResponse->GetHeaders().at("x-ms-content-crc64")); response.TransactionalContentHash.Value().Algorithm = HashAlgorithm::Crc64; } - response.SequenceNumber - = std::stoll(pRawResponse->GetHeaders().at("x-ms-blob-sequence-number")); + if (pRawResponse->GetHeaders().count("x-ms-blob-sequence-number") != 0) + { + response.SequenceNumber + = std::stoll(pRawResponse->GetHeaders().at("x-ms-blob-sequence-number")); + } response.IsServerEncrypted = pRawResponse->GetHeaders().at("x-ms-request-server-encrypted") == std::string("true"); if (pRawResponse->GetHeaders().count("x-ms-encryption-key-sha256") != 0) diff --git a/sdk/storage/azure-storage-blobs/swagger/README.md b/sdk/storage/azure-storage-blobs/swagger/README.md index 2b34011ca2..66b8270fd4 100644 --- a/sdk/storage/azure-storage-blobs/swagger/README.md +++ b/sdk/storage/azure-storage-blobs/swagger/README.md @@ -515,6 +515,26 @@ directive: }); } } + - from: swagger-document + where: $ + transform: > + const operations = [ + "PageBlob_UploadPages", + "PageBlob_ClearPages", + "PageBlob_UploadPagesFromUri", + ]; + for (const url in $["x-ms-paths"]) { + for (const verb in $["x-ms-paths"][url]) { + if (!operations.includes($["x-ms-paths"][url][verb].operationId)) continue; + const operation = $["x-ms-paths"][url][verb]; + + const status_codes = Object.keys(operation.responses).filter(s => s !== "default"); + status_codes.forEach((status_code, i) => { + operation.responses[status_code].headers["x-ms-blob-sequence-number"]["x-ms-client-default"] = "int64_t()"; + operation.responses[status_code].headers["x-ms-blob-sequence-number"]["x-nullable"] = true; + }); + } + } ``` ### GetBlobServiceProperties diff --git a/sdk/storage/azure-storage-blobs/test/ut/block_blob_client_test.cpp b/sdk/storage/azure-storage-blobs/test/ut/block_blob_client_test.cpp index 5e7b2e28f1..2caf96652e 100644 --- a/sdk/storage/azure-storage-blobs/test/ut/block_blob_client_test.cpp +++ b/sdk/storage/azure-storage-blobs/test/ut/block_blob_client_test.cpp @@ -1387,6 +1387,15 @@ namespace Azure { namespace Storage { namespace Test { EXPECT_TRUE(exceptionCaught); } + TEST_F(BlockBlobClientTest, DownloadNonExistingToFile) + { + const auto testName(GetTestName()); + auto blockBlobClient = GetBlockBlobClient(testName); + + EXPECT_THROW(blockBlobClient.DownloadTo(testName), StorageException); + EXPECT_THROW(ReadFile(testName), std::runtime_error); + } + TEST_F(BlockBlobClientTest, DeleteIfExists) { auto const testName(GetTestName()); diff --git a/sdk/storage/azure-storage-blobs/test/ut/recordings/BlockBlobClientTest.DownloadNonExistingToFile.json b/sdk/storage/azure-storage-blobs/test/ut/recordings/BlockBlobClientTest.DownloadNonExistingToFile.json new file mode 100644 index 0000000000..8cee2024bb --- /dev/null +++ b/sdk/storage/azure-storage-blobs/test/ut/recordings/BlockBlobClientTest.DownloadNonExistingToFile.json @@ -0,0 +1,69 @@ +{ + "networkCallRecords": [ + { + "Headers": { + "user-agent": "azsdk-cpp-storage-blobs/12.6.0-beta.2 (Windows 10 Enterprise 6.3 19044 19041.1.amd64fre.vb_release.191206-1406)", + "x-ms-client-request-id": "6a753b0a-bcac-4076-6909-4141c56901df", + "x-ms-version": "2021-04-10" + }, + "Method": "PUT", + "Response": { + "BODY": "", + "REASON_PHRASE": "Created", + "STATUS_CODE": "201", + "content-length": "0", + "date": "Mon, 29 Aug 2022 10:41:39 GMT", + "etag": "\"0x8DA89AB0E7605FE\"", + "last-modified": "Mon, 29 Aug 2022 10:41:40 GMT", + "server": "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "6a753b0a-bcac-4076-6909-4141c56901df", + "x-ms-request-id": "0a7e509f-001e-0034-4d93-bbe90a000000", + "x-ms-version": "2021-04-10" + }, + "Url": "https://REDACTED.blob.core.windows.net/blockblobclienttestdownloadnonexistingtofile?restype=container" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-blobs/12.6.0-beta.2 (Windows 10 Enterprise 6.3 19044 19041.1.amd64fre.vb_release.191206-1406)", + "x-ms-client-request-id": "3b4bb7fa-3c30-4c2c-5fb9-693daa5a8fa2", + "x-ms-version": "2021-04-10" + }, + "Method": "GET", + "Response": { + "BODY": "BlobNotFoundThe specified blob does not exist.\nRequestId:0a7e5112-001e-0034-2c93-bbe90a000000\nTime:2022-08-29T10:41:41.1529398Z", + "REASON_PHRASE": "The specified blob does not exist.", + "STATUS_CODE": "404", + "content-length": "215", + "content-type": "application/xml", + "date": "Mon, 29 Aug 2022 10:41:40 GMT", + "server": "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "vary": "Origin", + "x-ms-client-request-id": "3b4bb7fa-3c30-4c2c-5fb9-693daa5a8fa2", + "x-ms-error-code": "BlobNotFound", + "x-ms-request-id": "0a7e5112-001e-0034-2c93-bbe90a000000", + "x-ms-version": "2021-04-10" + }, + "Url": "https://REDACTED.blob.core.windows.net/blockblobclienttestdownloadnonexistingtofile/DownloadNonExistingToFile" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-blobs/12.6.0-beta.2 (Windows 10 Enterprise 6.3 19044 19041.1.amd64fre.vb_release.191206-1406)", + "x-ms-client-request-id": "fbed990d-4365-423a-718f-b1d64df6aa49", + "x-ms-version": "2021-04-10" + }, + "Method": "DELETE", + "Response": { + "BODY": "", + "REASON_PHRASE": "Accepted", + "STATUS_CODE": "202", + "content-length": "0", + "date": "Mon, 29 Aug 2022 10:41:40 GMT", + "server": "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "fbed990d-4365-423a-718f-b1d64df6aa49", + "x-ms-request-id": "0a7e52c7-001e-0034-2993-bbe90a000000", + "x-ms-version": "2021-04-10" + }, + "Url": "https://REDACTED.blob.core.windows.net/blockblobclienttestdownloadnonexistingtofile?restype=container" + } + ] +} diff --git a/sdk/storage/azure-storage-blobs/vcpkg.json b/sdk/storage/azure-storage-blobs/vcpkg.json index 2fc9d767eb..ae37d635b5 100644 --- a/sdk/storage/azure-storage-blobs/vcpkg.json +++ b/sdk/storage/azure-storage-blobs/vcpkg.json @@ -1,6 +1,6 @@ { "name": "azure-storage-blobs-cpp", - "version-semver": "12.6.0-beta.1", + "version-semver": "12.6.1", "description": [ "Microsoft Azure Storage Blobs SDK for C++", "This library provides Azure Storage Blobs SDK." @@ -11,7 +11,7 @@ { "name": "azure-storage-common-cpp", "default-features": false, - "version>=": "12.3.0-beta.1" + "version>=": "12.3.0" }, { "name": "vcpkg-cmake", diff --git a/sdk/storage/azure-storage-blobs/vcpkg/Config.cmake.in b/sdk/storage/azure-storage-blobs/vcpkg/Config.cmake.in index 99a32a3442..fdb76b47cb 100644 --- a/sdk/storage/azure-storage-blobs/vcpkg/Config.cmake.in +++ b/sdk/storage/azure-storage-blobs/vcpkg/Config.cmake.in @@ -4,7 +4,7 @@ @PACKAGE_INIT@ include(CMakeFindDependencyMacro) -find_dependency(azure-storage-common-cpp "12.3.0-beta.1") +find_dependency(azure-storage-common-cpp "12.3.0") include("${CMAKE_CURRENT_LIST_DIR}/azure-storage-blobs-cppTargets.cmake") diff --git a/sdk/storage/azure-storage-blobs/vcpkg/vcpkg.json b/sdk/storage/azure-storage-blobs/vcpkg/vcpkg.json index 8b020d6eff..7f52fd3919 100644 --- a/sdk/storage/azure-storage-blobs/vcpkg/vcpkg.json +++ b/sdk/storage/azure-storage-blobs/vcpkg/vcpkg.json @@ -14,7 +14,7 @@ { "name": "azure-storage-common-cpp", "default-features": false, - "version>=": "12.3.0-beta.1" + "version>=": "12.3.0" }, { "name": "vcpkg-cmake", diff --git a/sdk/storage/azure-storage-common/CHANGELOG.md b/sdk/storage/azure-storage-common/CHANGELOG.md index 10404b2873..00e7917d36 100644 --- a/sdk/storage/azure-storage-common/CHANGELOG.md +++ b/sdk/storage/azure-storage-common/CHANGELOG.md @@ -1,6 +1,6 @@ # Release History -## 12.3.0-beta.2 (Unreleased) +## 12.4.0-beta.1 (Unreleased) ### Features Added @@ -10,6 +10,12 @@ ### Other Changes +## 12.3.0 (2022-09-06) + +### Features Added + +- Features in `12.3.0-beta.1` are now generally available. + ## 12.3.0-beta.1 (2022-08-09) ### Features Added diff --git a/sdk/storage/azure-storage-common/cgmanifest.json b/sdk/storage/azure-storage-common/cgmanifest.json index 568ceec412..5a5f148d9c 100644 --- a/sdk/storage/azure-storage-common/cgmanifest.json +++ b/sdk/storage/azure-storage-common/cgmanifest.json @@ -1,4 +1,5 @@ { + "$schema": "https://json.schemastore.org/component-detection-manifest.json", "Registrations": [ { "Component": { diff --git a/sdk/storage/azure-storage-common/src/private/package_version.hpp b/sdk/storage/azure-storage-common/src/private/package_version.hpp index 009cfc55f3..2c728abf54 100644 --- a/sdk/storage/azure-storage-common/src/private/package_version.hpp +++ b/sdk/storage/azure-storage-common/src/private/package_version.hpp @@ -11,7 +11,7 @@ #include #define AZURE_STORAGE_COMMON_VERSION_MAJOR 12 -#define AZURE_STORAGE_COMMON_VERSION_MINOR 3 +#define AZURE_STORAGE_COMMON_VERSION_MINOR 4 #define AZURE_STORAGE_COMMON_VERSION_PATCH 0 #define AZURE_STORAGE_COMMON_VERSION_PRERELEASE "beta.2" diff --git a/sdk/storage/azure-storage-common/vcpkg.json b/sdk/storage/azure-storage-common/vcpkg.json index 10a5ae49ec..ec2e2bcc10 100644 --- a/sdk/storage/azure-storage-common/vcpkg.json +++ b/sdk/storage/azure-storage-common/vcpkg.json @@ -1,6 +1,6 @@ { "name": "azure-storage-common-cpp", - "version-semver": "12.3.0-beta.1", + "version-semver": "12.3.0", "description": [ "Microsoft Azure Common Storage SDK for C++", "This library provides common Azure Storage-related abstractions for Azure SDK." diff --git a/sdk/storage/azure-storage-files-datalake/CHANGELOG.md b/sdk/storage/azure-storage-files-datalake/CHANGELOG.md index bb58111746..befcee05ce 100644 --- a/sdk/storage/azure-storage-files-datalake/CHANGELOG.md +++ b/sdk/storage/azure-storage-files-datalake/CHANGELOG.md @@ -9,6 +9,7 @@ ### Bugs Fixed - Fixed a bug where file/directory renaming cannot be authenticated with SAS. +- Empty file or existing file won't be created/overwritten if the file to be downloaded doesn't exist. ### Other Changes diff --git a/sdk/storage/azure-storage-files-datalake/cgmanifest.json b/sdk/storage/azure-storage-files-datalake/cgmanifest.json index 728e7b7085..4ac5c618a3 100644 --- a/sdk/storage/azure-storage-files-datalake/cgmanifest.json +++ b/sdk/storage/azure-storage-files-datalake/cgmanifest.json @@ -1,4 +1,5 @@ { + "$schema": "https://json.schemastore.org/component-detection-manifest.json", "Registrations": [ { "Component": { diff --git a/sdk/storage/azure-storage-files-datalake/inc/azure/storage/files/datalake/datalake_directory_client.hpp b/sdk/storage/azure-storage-files-datalake/inc/azure/storage/files/datalake/datalake_directory_client.hpp index cc4c6c5a70..05aaf8de74 100644 --- a/sdk/storage/azure-storage-files-datalake/inc/azure/storage/files/datalake/datalake_directory_client.hpp +++ b/sdk/storage/azure-storage-files-datalake/inc/azure/storage/files/datalake/datalake_directory_client.hpp @@ -123,7 +123,8 @@ namespace Azure { namespace Storage { namespace Files { namespace DataLake { * @brief Renames a file. By default, the destination is overwritten and * if the destination already exists and has a lease the lease is broken. * @param fileName The file that gets renamed. - * @param destinationFilePath The path of the file the source file is renaming to. + * @param destinationFilePath The path of the file the source file is renaming to. The + * destination is an absolute path under the root of the file system, without leading slash. * @param options Optional parameters to rename a file. * @param context Context for cancelling long running operations. * @return Azure::Response The client targets the renamed file. @@ -140,6 +141,7 @@ namespace Azure { namespace Storage { namespace Files { namespace DataLake { * if the destination already exists and has a lease the lease is broken. * @param subdirectoryName The subdirectory that gets renamed. * @param destinationDirectoryPath The destinationPath the source subdirectory is renaming to. + * The destination is an absolute path under the root of the file system, without leading slash. * @param options Optional parameters to rename a directory. * @param context Context for cancelling long running operations. * @return Azure::Response The client targets the renamed diff --git a/sdk/storage/azure-storage-files-datalake/test/ut/datalake_file_client_test.cpp b/sdk/storage/azure-storage-files-datalake/test/ut/datalake_file_client_test.cpp index abceb5f32b..099135cd54 100644 --- a/sdk/storage/azure-storage-files-datalake/test/ut/datalake_file_client_test.cpp +++ b/sdk/storage/azure-storage-files-datalake/test/ut/datalake_file_client_test.cpp @@ -349,6 +349,15 @@ namespace Azure { namespace Storage { namespace Test { fileClient.Delete(); } + TEST_F(DataLakeFileClientTest, DownloadNonExistingToFile) + { + const auto testName(GetTestName()); + auto fileClient = m_fileSystemClient->GetFileClient(testName); + + EXPECT_THROW(fileClient.DownloadTo(testName), StorageException); + EXPECT_THROW(ReadFile(testName), std::runtime_error); + } + TEST_F(DataLakeFileClientTest, ScheduleForDeletion) { { diff --git a/sdk/storage/azure-storage-files-datalake/test/ut/recordings/DataLakeFileClientTest.DownloadNonExistingToFile.json b/sdk/storage/azure-storage-files-datalake/test/ut/recordings/DataLakeFileClientTest.DownloadNonExistingToFile.json new file mode 100644 index 0000000000..924992437a --- /dev/null +++ b/sdk/storage/azure-storage-files-datalake/test/ut/recordings/DataLakeFileClientTest.DownloadNonExistingToFile.json @@ -0,0 +1,111 @@ +{ + "networkCallRecords": [ + { + "Headers": { + "user-agent": "azsdk-cpp-storage-blobs/12.6.0-beta.2 (Windows 10 Enterprise 6.3 19044 19041.1.amd64fre.vb_release.191206-1406)", + "x-ms-client-request-id": "22f683cd-fbdf-4223-51dd-a86271428dfc", + "x-ms-version": "2021-04-10" + }, + "Method": "PUT", + "Response": { + "BODY": "", + "REASON_PHRASE": "Created", + "STATUS_CODE": "201", + "content-length": "0", + "date": "Mon, 29 Aug 2022 10:40:59 GMT", + "etag": "\"0x8DA89AAF65783FA\"", + "last-modified": "Mon, 29 Aug 2022 10:40:59 GMT", + "server": "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "22f683cd-fbdf-4223-51dd-a86271428dfc", + "x-ms-request-id": "30e6f346-101e-0047-3093-bb26fb000000", + "x-ms-version": "2021-04-10" + }, + "Url": "https://REDACTED.blob.core.windows.net/datalakefileclienttestdownloadnonexistingtofile?restype=container" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-datalake/12.4.0-beta.1 (Windows 10 Enterprise 6.3 19044 19041.1.amd64fre.vb_release.191206-1406)", + "x-ms-client-request-id": "88ef55a1-2b5f-41a6-74eb-54a5bdfe93cf", + "x-ms-version": "2020-02-10" + }, + "Method": "PUT", + "Response": { + "BODY": "", + "REASON_PHRASE": "Created", + "STATUS_CODE": "201", + "content-length": "0", + "date": "Mon, 29 Aug 2022 10:41:00 GMT", + "etag": "\"0x8DA89AAF74A9F21\"", + "last-modified": "Mon, 29 Aug 2022 10:41:01 GMT", + "server": "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "88ef55a1-2b5f-41a6-74eb-54a5bdfe93cf", + "x-ms-request-id": "774068d3-e01f-0021-5e93-bb69db000000", + "x-ms-request-server-encrypted": "true", + "x-ms-version": "2020-02-10" + }, + "Url": "https://REDACTED.dfs.core.windows.net/datalakefileclienttestdownloadnonexistingtofile/datalakefileclienttestdownloadnonexistingtofile?resource=file" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-blobs/12.6.0-beta.2 (Windows 10 Enterprise 6.3 19044 19041.1.amd64fre.vb_release.191206-1406)", + "x-ms-client-request-id": "b096b2d7-898d-4e0b-4595-0d12d95f44cb", + "x-ms-version": "2021-04-10" + }, + "Method": "GET", + "Response": { + "BODY": "BlobNotFoundThe specified blob does not exist.\nRequestId:30e6f409-101e-0047-5193-bb26fb000000\nTime:2022-08-29T10:41:01.6071578Z", + "REASON_PHRASE": "The specified blob does not exist.", + "STATUS_CODE": "404", + "content-length": "215", + "content-type": "application/xml", + "date": "Mon, 29 Aug 2022 10:41:01 GMT", + "server": "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "b096b2d7-898d-4e0b-4595-0d12d95f44cb", + "x-ms-error-code": "BlobNotFound", + "x-ms-request-id": "30e6f409-101e-0047-5193-bb26fb000000", + "x-ms-version": "2021-04-10" + }, + "Url": "https://REDACTED.blob.core.windows.net/datalakefileclienttestdownloadnonexistingtofile/DownloadNonExistingToFile" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-datalake/12.4.0-beta.1 (Windows 10 Enterprise 6.3 19044 19041.1.amd64fre.vb_release.191206-1406)", + "x-ms-client-request-id": "b55f5684-ae63-4d44-6556-b675337f7d74", + "x-ms-version": "2020-02-10" + }, + "Method": "DELETE", + "Response": { + "BODY": "", + "REASON_PHRASE": "OK", + "STATUS_CODE": "200", + "content-length": "0", + "date": "Mon, 29 Aug 2022 10:41:01 GMT", + "server": "Windows-Azure-HDFS/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "b55f5684-ae63-4d44-6556-b675337f7d74", + "x-ms-request-id": "7740698c-e01f-0021-1693-bb69db000000", + "x-ms-version": "2020-02-10" + }, + "Url": "https://REDACTED.dfs.core.windows.net/datalakefileclienttestdownloadnonexistingtofile/datalakefileclienttestdownloadnonexistingtofile" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-blobs/12.6.0-beta.2 (Windows 10 Enterprise 6.3 19044 19041.1.amd64fre.vb_release.191206-1406)", + "x-ms-client-request-id": "6dae38d5-428b-49c8-6de2-bfea67acb620", + "x-ms-version": "2021-04-10" + }, + "Method": "DELETE", + "Response": { + "BODY": "", + "REASON_PHRASE": "Accepted", + "STATUS_CODE": "202", + "content-length": "0", + "date": "Mon, 29 Aug 2022 10:41:01 GMT", + "server": "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "6dae38d5-428b-49c8-6de2-bfea67acb620", + "x-ms-request-id": "30e6f436-101e-0047-7c93-bb26fb000000", + "x-ms-version": "2021-04-10" + }, + "Url": "https://REDACTED.blob.core.windows.net/datalakefileclienttestdownloadnonexistingtofile?restype=container" + } + ] +} diff --git a/sdk/storage/azure-storage-files-shares/CHANGELOG.md b/sdk/storage/azure-storage-files-shares/CHANGELOG.md index 4c3a1c762c..dd7a4f26f6 100644 --- a/sdk/storage/azure-storage-files-shares/CHANGELOG.md +++ b/sdk/storage/azure-storage-files-shares/CHANGELOG.md @@ -1,6 +1,6 @@ # Release History -## 12.3.0-beta.1 (Unreleased) +## 12.3.0-beta.2 (Unreleased) ### Features Added @@ -10,6 +10,24 @@ ### Other Changes +## 12.3.0-beta.1 (2022-09-06) + +### Features Added + +- Bumped up API version to `2021-06-08`. +- Added fields `ProvisionedBandwidthMBps`, `EnabledProtocols` and `RootSquash` in `ShareItemDetails` and `ShareProperties`. +- Added support for listing files with extended information. +- Added new APIs: + - ShareDirectoryClient::RenameFile() + - ShareDirectoryClient::RenameSubdirectory() + - ShareLeaseClient::Renew() +- Added support for specifying last written time when uploading file range. +- Added support for specifying file changed time when creating/copying file or setting file properties. + +### Bugs Fixed + +- Empty file or existing file won't be created/overwritten if the file to be downloaded doesn't exist. + ## 12.2.1 (2022-03-09) ### Other Changes diff --git a/sdk/storage/azure-storage-files-shares/CMakeLists.txt b/sdk/storage/azure-storage-files-shares/CMakeLists.txt index dd8e913086..130a753804 100644 --- a/sdk/storage/azure-storage-files-shares/CMakeLists.txt +++ b/sdk/storage/azure-storage-files-shares/CMakeLists.txt @@ -32,9 +32,9 @@ if(FETCH_SOURCE_DEPS) add_subdirectory(${oneFolder} EXCLUDE_FROM_ALL) endforeach() elseif(NOT AZ_ALL_LIBRARIES) - find_package(azure-storage-common-cpp "12.2.2" CONFIG QUIET) + find_package(azure-storage-common-cpp "12.3.0" CONFIG QUIET) if(NOT azure-storage-common-cpp_FOUND) - find_package(azure-storage-common-cpp "12.2.2" REQUIRED) + find_package(azure-storage-common-cpp "12.3.0" REQUIRED) endif() endif() diff --git a/sdk/storage/azure-storage-files-shares/cgmanifest.json b/sdk/storage/azure-storage-files-shares/cgmanifest.json index 728e7b7085..4ac5c618a3 100644 --- a/sdk/storage/azure-storage-files-shares/cgmanifest.json +++ b/sdk/storage/azure-storage-files-shares/cgmanifest.json @@ -1,4 +1,5 @@ { + "$schema": "https://json.schemastore.org/component-detection-manifest.json", "Registrations": [ { "Component": { diff --git a/sdk/storage/azure-storage-files-shares/inc/azure/storage/files/shares/rest_client.hpp b/sdk/storage/azure-storage-files-shares/inc/azure/storage/files/shares/rest_client.hpp index d5881956ac..92e0068eab 100644 --- a/sdk/storage/azure-storage-files-shares/inc/azure/storage/files/shares/rest_client.hpp +++ b/sdk/storage/azure-storage-files-shares/inc/azure/storage/files/shares/rest_client.hpp @@ -31,7 +31,7 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares { /** * The version used for the operations to Azure storage services. */ - constexpr static const char* ApiVersion = "2020-02-10"; + constexpr static const char* ApiVersion = "2021-06-08"; } // namespace _detail namespace Models { /** @@ -232,6 +232,39 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares { AZ_STORAGE_FILES_SHARES_DLLEXPORT const static LeaseDurationType Infinite; AZ_STORAGE_FILES_SHARES_DLLEXPORT const static LeaseDurationType Fixed; + private: + std::string m_value; + }; + /** + * @brief The protocols that have been enabled on the share. + */ + class ShareProtocols final { + public: + ShareProtocols() = default; + explicit ShareProtocols(std::string value) : m_value(std::move(value)) {} + bool operator==(const ShareProtocols& other) const { return m_value == other.m_value; } + bool operator!=(const ShareProtocols& other) const { return !(*this == other); } + const std::string& ToString() const { return m_value; } + AZ_STORAGE_FILES_SHARES_DLLEXPORT const static ShareProtocols Smb; + AZ_STORAGE_FILES_SHARES_DLLEXPORT const static ShareProtocols Nfs; + + private: + std::string m_value; + }; + /** + * @brief Root squash to set on the share. Only valid for NFS shares. + */ + class ShareRootSquash final { + public: + ShareRootSquash() = default; + explicit ShareRootSquash(std::string value) : m_value(std::move(value)) {} + bool operator==(const ShareRootSquash& other) const { return m_value == other.m_value; } + bool operator!=(const ShareRootSquash& other) const { return !(*this == other); } + const std::string& ToString() const { return m_value; } + AZ_STORAGE_FILES_SHARES_DLLEXPORT const static ShareRootSquash NoRootSquash; + AZ_STORAGE_FILES_SHARES_DLLEXPORT const static ShareRootSquash RootSquash; + AZ_STORAGE_FILES_SHARES_DLLEXPORT const static ShareRootSquash AllSquash; + private: std::string m_value; }; @@ -246,6 +279,7 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares { Nullable ProvisionedIops; Nullable ProvisionedIngressMBps; Nullable ProvisionedEgressMBps; + Nullable ProvisionedBandwidthMBps; Nullable NextAllowedQuotaDowngradeTime; Nullable DeletedOn; int32_t RemainingRetentionDays = int32_t(); @@ -267,6 +301,8 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares { * When a share is leased, specifies whether the lease is of infinite or fixed duration. */ LeaseDurationType LeaseDuration; + Nullable EnabledProtocols; + Nullable RootSquash; }; /** * @brief A listed Azure Storage share item. @@ -408,6 +444,10 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares { * Returns the current share next allowed quota downgrade time. */ Nullable NextAllowedQuotaDowngradeTime; + /** + * Returns the current share provisioned bandwidth in megabits per second. + */ + Nullable ProvisionedBandwidthMBps; /** * When a share is leased, specifies whether the lease is of infinite or fixed duration. */ @@ -428,6 +468,14 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares { * Returns the transition state between access tiers, when present. */ Nullable AccessTierTransitionState; + /** + * The protocols that have been enabled on the share. + */ + Nullable EnabledProtocols; + /** + * Valid for NFS shares only. + */ + Nullable RootSquash; }; /** * @brief Specifies the option include to delete the base share and all of its snapshots. @@ -555,10 +603,6 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares { * Approximate time remaining in the lease period, in seconds. */ int32_t LeaseTime = int32_t(); - /** - * Uniquely identifies a share's lease. - */ - std::string LeaseId; }; } // namespace _detail /** @@ -912,12 +956,29 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares { */ bool IsServerEncrypted = bool(); }; + /** + * @brief File properties. + */ + struct DirectoryItemDetails final + { + Nullable LastAccessedOn; + DateTime LastModified; + ETag Etag; + /** + * The SMB related properties for the file. + */ + FileSmbProperties SmbProperties; + }; /** * @brief A listed directory item. */ struct DirectoryItem final { std::string Name; + /** + * File properties. + */ + DirectoryItemDetails Details; }; /** * @brief File properties. @@ -931,6 +992,13 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares { * File Properties. */ int64_t FileSize = int64_t(); + Nullable LastAccessedOn; + DateTime LastModified; + ETag Etag; + /** + * The SMB related properties for the file. + */ + FileSmbProperties SmbProperties; }; /** * @brief A listed file item. @@ -958,6 +1026,39 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares { */ std::vector FileItems; }; + } // namespace _detail + /** + * @brief Include this parameter to specify one or more datasets to include in the response. + */ + enum class ListFilesIncludeFlags + { + None = 0, + Timestamps = 1, + ETag = 2, + Attributes = 4, + PermissionKey = 8, + }; + inline ListFilesIncludeFlags operator|(ListFilesIncludeFlags lhs, ListFilesIncludeFlags rhs) + { + using type = std::underlying_type_t; + return static_cast(static_cast(lhs) | static_cast(rhs)); + } + inline ListFilesIncludeFlags& operator|=(ListFilesIncludeFlags& lhs, ListFilesIncludeFlags rhs) + { + lhs = lhs | rhs; + return lhs; + } + inline ListFilesIncludeFlags operator&(ListFilesIncludeFlags lhs, ListFilesIncludeFlags rhs) + { + using type = std::underlying_type_t; + return static_cast(static_cast(lhs) & static_cast(rhs)); + } + inline ListFilesIncludeFlags& operator&=(ListFilesIncludeFlags& lhs, ListFilesIncludeFlags rhs) + { + lhs = lhs & rhs; + return lhs; + } + namespace _detail { /** * @brief An enumeration of directories and files. */ @@ -975,6 +1076,7 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares { */ FilesAndDirectoriesListSegment Segment; std::string NextMarker; + Nullable DirectoryId; }; } // namespace _detail /** @@ -1036,6 +1138,55 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares { */ int32_t NumberOfHandlesFailedToClose = int32_t(); }; + /** + * @brief Response type for #Azure::Storage::Files::Shares::DirectoryClient::Rename. + */ + struct RenameDirectoryResult final + { + /** + * The ETag contains a value which represents the version of the file, in quotes. + */ + Azure::ETag ETag; + /** + * Returns the date and time the share was last modified. Any operation that modifies the + * directory or its properties updates the last modified time. Operations on files do not + * affect the last modified time of the directory. + */ + DateTime LastModified; + /** + * The value of this header is set to true if the contents of the request are successfully + * encrypted using the specified algorithm, and false otherwise. + */ + bool IsServerEncrypted = bool(); + /** + * Key of the permission set for the file. + */ + std::string FilePermissionKey; + /** + * Attributes set for the file. + */ + std::string FileAttributes; + /** + * Creation time for the file. + */ + DateTime FileCreationTime; + /** + * Last write time for the file. + */ + DateTime FileLastWriteTime; + /** + * Change time for the file. + */ + DateTime FileChangeTime; + /** + * The fileId of the file. + */ + std::string FileId; + /** + * The parent fileId of the directory. + */ + std::string FileParentId; + }; } // namespace _detail /** * @brief Response type for #Azure::Storage::Files::Shares::FileClient::Create. @@ -1438,6 +1589,22 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares { DateTime LastModified; }; } // namespace _detail + /** + * @brief If the file last write time should be preserved or overwritten. + */ + class FileLastWrittenMode final { + public: + FileLastWrittenMode() = default; + explicit FileLastWrittenMode(std::string value) : m_value(std::move(value)) {} + bool operator==(const FileLastWrittenMode& other) const { return m_value == other.m_value; } + bool operator!=(const FileLastWrittenMode& other) const { return !(*this == other); } + const std::string& ToString() const { return m_value; } + AZ_STORAGE_FILES_SHARES_DLLEXPORT const static FileLastWrittenMode Now; + AZ_STORAGE_FILES_SHARES_DLLEXPORT const static FileLastWrittenMode Preserve; + + private: + std::string m_value; + }; /** * @brief Response type for #Azure::Storage::Files::Shares::FileClient::UploadRange. */ @@ -1602,6 +1769,55 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares { */ int32_t NumberOfHandlesFailedToClose = int32_t(); }; + /** + * @brief Response type for #Azure::Storage::Files::Shares::FileClient::Rename. + */ + struct RenameFileResult final + { + /** + * The ETag contains a value which represents the version of the file, in quotes. + */ + Azure::ETag ETag; + /** + * Returns the date and time the share was last modified. Any operation that modifies the + * directory or its properties updates the last modified time. Operations on files do not + * affect the last modified time of the directory. + */ + DateTime LastModified; + /** + * The value of this header is set to true if the contents of the request are successfully + * encrypted using the specified algorithm, and false otherwise. + */ + bool IsServerEncrypted = bool(); + /** + * Key of the permission set for the file. + */ + std::string FilePermissionKey; + /** + * Attributes set for the file. + */ + std::string FileAttributes; + /** + * Creation time for the file. + */ + DateTime FileCreationTime; + /** + * Last write time for the file. + */ + DateTime FileLastWriteTime; + /** + * Change time for the file. + */ + DateTime FileChangeTime; + /** + * The fileId of the file. + */ + std::string FileId; + /** + * The parent fileId of the directory. + */ + std::string FileParentId; + }; } // namespace _detail } // namespace Models namespace _detail { @@ -1644,6 +1860,8 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares { std::map Metadata; Nullable Quota; Nullable AccessTier; + Nullable EnabledProtocols; + Nullable RootSquash; }; static Response Create( Core::Http::_internal::HttpPipeline& pipeline, @@ -1756,6 +1974,7 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares { Nullable Quota; Nullable AccessTier; Nullable LeaseId; + Nullable RootSquash; }; static Response SetProperties( Core::Http::_internal::HttpPipeline& pipeline, @@ -1809,8 +2028,9 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares { Nullable FilePermission; Nullable FilePermissionKey; std::string FileAttributes; - std::string FileCreationTime; - std::string FileLastWriteTime; + Nullable FileCreationTime; + Nullable FileLastWriteTime; + Nullable FileChangeTime; }; static Response Create( Core::Http::_internal::HttpPipeline& pipeline, @@ -1839,8 +2059,9 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares { Nullable FilePermission; Nullable FilePermissionKey; std::string FileAttributes; - std::string FileCreationTime; - std::string FileLastWriteTime; + Nullable FileCreationTime; + Nullable FileLastWriteTime; + Nullable FileChangeTime; }; static Response SetProperties( Core::Http::_internal::HttpPipeline& pipeline, @@ -1862,6 +2083,8 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares { Nullable Sharesnapshot; Nullable Marker; Nullable MaxResults; + Nullable Include; + Nullable IncludeExtendedInfo; }; static Response ListFilesAndDirectoriesSegment( @@ -1893,6 +2116,26 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares { const Core::Url& url, const ForceDirectoryCloseHandlesOptions& options, const Core::Context& context); + struct RenameDirectoryOptions final + { + std::string RenameSource; + Nullable ReplaceIfExists; + Nullable IgnoreReadOnly; + Nullable SourceLeaseId; + Nullable DestinationLeaseId; + Nullable FileAttributes; + Nullable FileCreationTime; + Nullable FileLastWriteTime; + Nullable FileChangeTime; + Nullable FilePermission; + Nullable FilePermissionKey; + std::map Metadata; + }; + static Response Rename( + Core::Http::_internal::HttpPipeline& pipeline, + const Core::Url& url, + const RenameDirectoryOptions& options, + const Core::Context& context); }; class FileClient final { public: @@ -1909,8 +2152,9 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares { Nullable FilePermission; Nullable FilePermissionKey; std::string FileAttributes; - std::string FileCreationTime; - std::string FileLastWriteTime; + Nullable FileCreationTime; + Nullable FileLastWriteTime; + Nullable FileChangeTime; Nullable LeaseId; }; static Response Create( @@ -1960,8 +2204,9 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares { Nullable FilePermission; Nullable FilePermissionKey; std::string FileAttributes; - std::string FileCreationTime; - std::string FileLastWriteTime; + Nullable FileCreationTime; + Nullable FileLastWriteTime; + Nullable FileChangeTime; Nullable LeaseId; }; static Response SetHttpHeaders( @@ -2023,6 +2268,7 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares { std::string FileRangeWrite; Nullable> ContentMD5; Nullable LeaseId; + Nullable FileLastWrittenMode; }; static Response UploadRange( Core::Http::_internal::HttpPipeline& pipeline, @@ -2039,6 +2285,8 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares { Nullable> SourceIfMatchCrc64; Nullable> SourceIfNoneMatchCrc64; Nullable LeaseId; + Nullable CopySourceAuthorization; + Nullable FileLastWrittenMode; }; static Response UploadRangeFromUri( Core::Http::_internal::HttpPipeline& pipeline, @@ -2068,6 +2316,7 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares { Nullable FileAttributes; Nullable FileCreationTime; Nullable FileLastWriteTime; + Nullable FileChangeTime; Nullable SetArchiveAttribute; Nullable LeaseId; }; @@ -2108,6 +2357,27 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares { const Core::Url& url, const ForceFileCloseHandlesOptions& options, const Core::Context& context); + struct RenameFileOptions final + { + std::string RenameSource; + Nullable ReplaceIfExists; + Nullable IgnoreReadOnly; + Nullable SourceLeaseId; + Nullable DestinationLeaseId; + Nullable FileAttributes; + Nullable FileCreationTime; + Nullable FileLastWriteTime; + Nullable FileChangeTime; + Nullable FilePermission; + Nullable FilePermissionKey; + std::map Metadata; + Nullable FileContentType; + }; + static Response Rename( + Core::Http::_internal::HttpPipeline& pipeline, + const Core::Url& url, + const RenameFileOptions& options, + const Core::Context& context); }; } // namespace _detail }}}} // namespace Azure::Storage::Files::Shares \ No newline at end of file diff --git a/sdk/storage/azure-storage-files-shares/inc/azure/storage/files/shares/share_directory_client.hpp b/sdk/storage/azure-storage-files-shares/inc/azure/storage/files/shares/share_directory_client.hpp index ef3f2f61ab..2c4b88032e 100644 --- a/sdk/storage/azure-storage-files-shares/inc/azure/storage/files/shares/share_directory_client.hpp +++ b/sdk/storage/azure-storage-files-shares/inc/azure/storage/files/shares/share_directory_client.hpp @@ -113,6 +113,39 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares { const CreateDirectoryOptions& options = CreateDirectoryOptions(), const Azure::Core::Context& context = Azure::Core::Context()) const; + /** + * @brief Renames a file. This API does not support renaming a file + * from one share to another, or between storage accounts. + * @param fileName The file that gets renamed. + * @param destinationFilePath The path of the file the source file is renaming to. The + * destination is an absolute path under the root of the share, without leading slash. + * @param options Optional parameters to rename a file. + * @param context Context for cancelling long running operations. + * @return Azure::Response The client targets the renamed file. + */ + Azure::Response RenameFile( + const std::string& fileName, + const std::string& destinationFilePath, + const RenameFileOptions& options = RenameFileOptions(), + const Azure::Core::Context& context = Azure::Core::Context()) const; + + /** + * @brief Renames a directory. This API does not support renaming a directory + * from one share to another, or between storage accounts. + * @param subdirectoryName The subdirectory that gets renamed. + * @param destinationDirectoryPath The destinationPath the source subdirectory is renaming to. + * The destination is an absolute path under the root of the share, without leading slash. + * @param options Optional parameters to rename a directory. + * @param context Context for cancelling long running operations. + * @return Azure::Response The client targets the renamed + * directory. + */ + Azure::Response RenameSubdirectory( + const std::string& subdirectoryName, + const std::string& destinationDirectoryPath, + const RenameDirectoryOptions& options = RenameDirectoryOptions(), + const Azure::Core::Context& context = Azure::Core::Context()) const; + /** * @brief Deletes the directory. * @param options Optional parameters to delete this directory. diff --git a/sdk/storage/azure-storage-files-shares/inc/azure/storage/files/shares/share_lease_client.hpp b/sdk/storage/azure-storage-files-shares/inc/azure/storage/files/shares/share_lease_client.hpp index 27f4944ea0..44b4a19632 100644 --- a/sdk/storage/azure-storage-files-shares/inc/azure/storage/files/shares/share_lease_client.hpp +++ b/sdk/storage/azure-storage-files-shares/inc/azure/storage/files/shares/share_lease_client.hpp @@ -28,6 +28,17 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares { { } + /** + * @brief Initializes a new instance of the ShareLeaseClient. + * + * @param shareClient A ShareClient representing the share being leased. + * @param leaseId A lease ID. This is not required for break operation. + */ + explicit ShareLeaseClient(ShareClient shareClient, std::string leaseId) + : m_shareClient(std::move(shareClient)), m_leaseId(std::move(leaseId)) + { + } + /** * @brief Gets a unique lease ID. * @@ -66,6 +77,17 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares { const AcquireLeaseOptions& options = AcquireLeaseOptions(), const Azure::Core::Context& context = Azure::Core::Context()); + /** + * @brief Renews the share's previously-acquired lease. + * + * @param options Optional parameters to execute this function. + * @param context Context for cancelling long running operations. + * @return A RenewLeaseResult describing the lease. + */ + Azure::Response Renew( + const RenewLeaseOptions& options = RenewLeaseOptions(), + const Azure::Core::Context& context = Azure::Core::Context()); + /** * @brief Releases the file or share's previously-acquired lease. * @@ -103,28 +125,6 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares { const Azure::Core::Context& context = Azure::Core::Context()); private: - /** - * @brief Initializes a new instance of the ShareLeaseClient. - * - * @param shareClient A ShareClient representing the share being leased. - * @param leaseId A lease ID. This is not required for break operation. - */ - explicit ShareLeaseClient(ShareClient shareClient, std::string leaseId) - : m_shareClient(std::move(shareClient)), m_leaseId(std::move(leaseId)) - { - } - - /** - * @brief Renews the file or share's previously-acquired lease. - * - * @param options Optional parameters to execute this function. - * @param context Context for cancelling long running operations. - * @return A RenewLeaseResult describing the lease. - */ - Azure::Response Renew( - const RenewLeaseOptions& options = RenewLeaseOptions(), - const Azure::Core::Context& context = Azure::Core::Context()); - Azure::Nullable m_fileClient; Azure::Nullable m_shareClient; std::mutex m_mutex; diff --git a/sdk/storage/azure-storage-files-shares/inc/azure/storage/files/shares/share_options.hpp b/sdk/storage/azure-storage-files-shares/inc/azure/storage/files/shares/share_options.hpp index ac87d8d82d..43d453be44 100644 --- a/sdk/storage/azure-storage-files-shares/inc/azure/storage/files/shares/share_options.hpp +++ b/sdk/storage/azure-storage-files-shares/inc/azure/storage/files/shares/share_options.hpp @@ -97,6 +97,17 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares { * Specifies the maximum size of the share, in gigabytes. */ Azure::Nullable ShareQuotaInGiB; + + /** + * Specifies the enabled protocols on the share. If they're not specified, the default is SMB. + */ + Azure::Nullable EnabledProtocols; + + /** + * Specifies the root squashing behavior on the share when NFS is enabled. If it's not + * specified, the default is NoRootSquash. + */ + Azure::Nullable RootSquash; }; /** @@ -143,6 +154,12 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares { * Specifies the maximum size of the share, in gigabytes. */ Azure::Nullable ShareQuotaInGiB; + + /** + * Specifies the root squashing behavior on the share when NFS is enabled. If it's not + * specified, the default is NoRootSquash. + */ + Azure::Nullable RootSquash; }; /** @@ -209,6 +226,108 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares { Models::FileSmbProperties SmbProperties; }; + /** + * @brief Optional parameters for + * #Azure::Storage::Files::Shares::ShareDirectoryClient::RenameFile. + */ + struct RenameFileOptions final + { + /** + * A boolean value for if the destination file already exists, whether this request will + * overwrite the file or not. If true, the rename will succeed and will overwrite the + * destination file. If not provided or if false and the destination file does exist, the + * request will not overwrite the destination file. If provided and the destination file doesn�t + * exist, the rename will succeed. + */ + Azure::Nullable ReplaceIfExists; + + /** + * A boolean value that specifies whether the ReadOnly attribute on a preexisting destination + * file should be respected. If true, the rename will succeed, otherwise, a previous file at the + * destination with the ReadOnly attribute set will cause the rename to fail. ReplaceIfExists + * must also be true. + */ + Azure::Nullable IgnoreReadOnly; + + /** + * Specify the access condition for the path. + */ + LeaseAccessConditions AccessConditions; + + /** + * The access condition for source path. + */ + LeaseAccessConditions SourceAccessConditions; + + /** + * SMB properties to set for the directory. + */ + Models::FileSmbProperties SmbProperties; + + /** + * If specified the permission (security descriptor) shall be set for the directory. + * This option can be used if Permission size is <= 8KB, else SmbProperties.PermissionKey + * shall be used.A value of preserve may be passed to keep an existing value unchanged. + */ + Azure::Nullable FilePermission; + + /** + * A name-value pair to associate with a file storage object. + */ + Storage::Metadata Metadata; + }; + + /** + * @brief Optional parameters for + * #Azure::Storage::Files::Shares::ShareDirectoryClient::RenameSubdirectory. + */ + struct RenameDirectoryOptions final + { + /** + * A boolean value for if the destination directory already exists, whether this request will + * overwrite the file or not. If true, the rename will succeed and will overwrite the + * destination directory. If not provided or if false and the destination directory does exist, + * the request will not overwrite the destination directory. If provided and the destination + * file doesn�t exist, the rename will succeed. + */ + Azure::Nullable ReplaceIfExists; + + /** + * A boolean value that specifies whether the ReadOnly attribute on a preexisting destination + * directory should be respected. If true, the rename will succeed, otherwise, a previous file + * at the destination with the ReadOnly attribute set will cause the rename to fail. + * ReplaceIfExists must also be true. + */ + Azure::Nullable IgnoreReadOnly; + + /** + * Specify the access condition for the path. + */ + LeaseAccessConditions AccessConditions; + + /** + * The access condition for source path. + */ + LeaseAccessConditions SourceAccessConditions; + + /** + * SMB properties to set for the directory. + */ + Models::FileSmbProperties SmbProperties; + + /** + * If specified the permission (security descriptor) shall be set for the directory. + * This option can be used if Permission size is <= 8KB, else SmbProperties.PermissionKey + * shall be used.A value of preserve may be passed to keep an existing value unchanged. + */ + Azure::Nullable FilePermission; + + /** + * A name-value pair to associate with a file storage object. + */ + Storage::Metadata Metadata; + }; + /** * @brief Optional parameters for #Azure::Storage::Files::Shares::ShareDirectoryClient::Delete. */ @@ -273,6 +392,17 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares { * items. */ Azure::Nullable PageSizeHint; + + /** + * Include this parameter to specify one or more datasets to include in the response. + */ + Models::ListFilesIncludeFlags Include = Models::ListFilesIncludeFlags ::None; + + /** + * This header is implicitly assumed to be true if include query parameter is not empty. If + * true, the Content-Length property will be up to date. + */ + Nullable IncludeExtendedInfo; }; /** @@ -514,6 +644,12 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares { * The operation will only succeed if the access condition is met. */ LeaseAccessConditions AccessConditions; + + /** + * Specifies if the file last write time should be set to the current time, + * or the last write time currently associated with the file should be preserved. + */ + Azure::Nullable FileLastWrittenMode; }; /** @@ -525,6 +661,12 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares { * The operation will only succeed if the access condition is met. */ LeaseAccessConditions AccessConditions; + + /** + * Specifies if the file last write time should be set to the current time, + * or the last write time currently associated with the file should be preserved. + */ + Azure::Nullable FileLastWrittenMode; }; /** @@ -548,6 +690,12 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares { * The operation will only succeed if the lease access condition is met. */ LeaseAccessConditions AccessConditions; + + /** + * Specifies if the file last write time should be set to the current time, + * or the last write time currently associated with the file should be preserved. + */ + Azure::Nullable FileLastWrittenMode; }; /** diff --git a/sdk/storage/azure-storage-files-shares/inc/azure/storage/files/shares/share_responses.hpp b/sdk/storage/azure-storage-files-shares/inc/azure/storage/files/shares/share_responses.hpp index 4a48f4cff7..e8289b2299 100644 --- a/sdk/storage/azure-storage-files-shares/inc/azure/storage/files/shares/share_responses.hpp +++ b/sdk/storage/azure-storage-files-shares/inc/azure/storage/files/shares/share_responses.hpp @@ -296,6 +296,10 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares { * File items. */ std::vector Files; + /** + * FileId of the directory. + */ + std::string DirectoryId; private: void OnNextPage(const Azure::Core::Context& context); diff --git a/sdk/storage/azure-storage-files-shares/src/private/package_version.hpp b/sdk/storage/azure-storage-files-shares/src/private/package_version.hpp index 8acadbcf6a..f6b599c768 100644 --- a/sdk/storage/azure-storage-files-shares/src/private/package_version.hpp +++ b/sdk/storage/azure-storage-files-shares/src/private/package_version.hpp @@ -11,7 +11,7 @@ #define AZURE_STORAGE_FILES_SHARES_VERSION_MAJOR 12 #define AZURE_STORAGE_FILES_SHARES_VERSION_MINOR 3 #define AZURE_STORAGE_FILES_SHARES_VERSION_PATCH 0 -#define AZURE_STORAGE_FILES_SHARES_VERSION_PRERELEASE "beta.1" +#define AZURE_STORAGE_FILES_SHARES_VERSION_PRERELEASE "beta.2" #define AZURE_STORAGE_FILES_SHARES_VERSION_ITOA_HELPER(i) #i #define AZURE_STORAGE_FILES_SHARES_VERSION_ITOA(i) AZURE_STORAGE_FILES_SHARES_VERSION_ITOA_HELPER(i) diff --git a/sdk/storage/azure-storage-files-shares/src/rest_client.cpp b/sdk/storage/azure-storage-files-shares/src/rest_client.cpp index 9b3635e327..7100363a17 100644 --- a/sdk/storage/azure-storage-files-shares/src/rest_client.cpp +++ b/sdk/storage/azure-storage-files-shares/src/rest_client.cpp @@ -55,6 +55,35 @@ std::string ListSharesIncludeFlagsToString( } return ret; } +std::string ListFilesIncludeFlagsToString( + const Azure::Storage::Files::Shares::Models::ListFilesIncludeFlags& val) +{ + const Azure::Storage::Files::Shares::Models::ListFilesIncludeFlags valueList[] = { + Azure::Storage::Files::Shares::Models::ListFilesIncludeFlags::Timestamps, + Azure::Storage::Files::Shares::Models::ListFilesIncludeFlags::ETag, + Azure::Storage::Files::Shares::Models::ListFilesIncludeFlags::Attributes, + Azure::Storage::Files::Shares::Models::ListFilesIncludeFlags::PermissionKey, + }; + const char* stringList[] = { + "Timestamps", + "Etag", + "Attributes", + "PermissionKey", + }; + std::string ret; + for (size_t i = 0; i < 4; ++i) + { + if ((val & valueList[i]) == valueList[i]) + { + if (!ret.empty()) + { + ret += ","; + } + ret += stringList[i]; + } + } + return ret; +} } // namespace namespace Azure { namespace Storage { namespace Files { namespace Shares { namespace Models { @@ -71,6 +100,11 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares { const LeaseState LeaseState::Broken("broken"); const LeaseDurationType LeaseDurationType::Infinite("infinite"); const LeaseDurationType LeaseDurationType::Fixed("fixed"); + const ShareProtocols ShareProtocols::Smb("SMB"); + const ShareProtocols ShareProtocols::Nfs("NFS"); + const ShareRootSquash ShareRootSquash::NoRootSquash("NoRootSquash"); + const ShareRootSquash ShareRootSquash::RootSquash("RootSquash"); + const ShareRootSquash ShareRootSquash::AllSquash("AllSquash"); const DeleteSnapshotsOption DeleteSnapshotsOption::Include("include"); FileAttributes::FileAttributes(const std::string& value) { @@ -153,6 +187,8 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares { const CopyStatus CopyStatus::Success("success"); const CopyStatus CopyStatus::Aborted("aborted"); const CopyStatus CopyStatus::Failed("failed"); + const FileLastWrittenMode FileLastWrittenMode::Now("now"); + const FileLastWrittenMode FileLastWrittenMode::Preserve("preserve"); const PermissionCopyMode PermissionCopyMode::Source("source"); const PermissionCopyMode PermissionCopyMode::Override("override"); } // namespace Models @@ -276,7 +312,7 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares { request.SetHeader("Content-Length", std::to_string(requestBody.Length())); request.GetUrl().AppendQueryParameter("restype", "service"); request.GetUrl().AppendQueryParameter("comp", "properties"); - request.SetHeader("x-ms-version", "2020-02-10"); + request.SetHeader("x-ms-version", "2021-06-08"); auto pRawResponse = pipeline.Send(request, context); auto httpStatusCode = pRawResponse->GetStatusCode(); if (httpStatusCode != Core::Http::HttpStatusCode::Accepted) @@ -296,7 +332,7 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares { auto request = Core::Http::Request(Core::Http::HttpMethod::Get, url); request.GetUrl().AppendQueryParameter("restype", "service"); request.GetUrl().AppendQueryParameter("comp", "properties"); - request.SetHeader("x-ms-version", "2020-02-10"); + request.SetHeader("x-ms-version", "2021-06-08"); (void)options; auto pRawResponse = pipeline.Send(request, context); auto httpStatusCode = pRawResponse->GetStatusCode(); @@ -528,7 +564,7 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares { _internal::UrlEncodeQueryParameter( ListSharesIncludeFlagsToString(options.Include.Value()))); } - request.SetHeader("x-ms-version", "2020-02-10"); + request.SetHeader("x-ms-version", "2021-06-08"); auto pRawResponse = pipeline.Send(request, context); auto httpStatusCode = pRawResponse->GetStatusCode(); if (httpStatusCode != Core::Http::HttpStatusCode::Ok) @@ -561,6 +597,7 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares { kProvisionedIops, kProvisionedIngressMBps, kProvisionedEgressMBps, + kProvisionedBandwidthMiBps, kNextAllowedQuotaDowngradeTime, kDeletedTime, kRemainingRetentionDays, @@ -570,6 +607,8 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares { kLeaseStatus, kLeaseState, kLeaseDuration, + kEnabledProtocols, + kRootSquash, kNextMarker, }; const std::unordered_map XmlTagEnumMap{ @@ -591,6 +630,7 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares { {"ProvisionedIops", XmlTagEnum::kProvisionedIops}, {"ProvisionedIngressMBps", XmlTagEnum::kProvisionedIngressMBps}, {"ProvisionedEgressMBps", XmlTagEnum::kProvisionedEgressMBps}, + {"ProvisionedBandwidthMiBps", XmlTagEnum::kProvisionedBandwidthMiBps}, {"NextAllowedQuotaDowngradeTime", XmlTagEnum::kNextAllowedQuotaDowngradeTime}, {"DeletedTime", XmlTagEnum::kDeletedTime}, {"RemainingRetentionDays", XmlTagEnum::kRemainingRetentionDays}, @@ -600,6 +640,8 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares { {"LeaseStatus", XmlTagEnum::kLeaseStatus}, {"LeaseState", XmlTagEnum::kLeaseState}, {"LeaseDuration", XmlTagEnum::kLeaseDuration}, + {"EnabledProtocols", XmlTagEnum::kEnabledProtocols}, + {"RootSquash", XmlTagEnum::kRootSquash}, {"NextMarker", XmlTagEnum::kNextMarker}, }; std::vector xmlPath; @@ -724,6 +766,14 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares { { vectorElement1.Details.ProvisionedEgressMBps = std::stoi(node.Value); } + else if ( + xmlPath.size() == 5 && xmlPath[0] == XmlTagEnum::kEnumerationResults + && xmlPath[1] == XmlTagEnum::kShares && xmlPath[2] == XmlTagEnum::kShare + && xmlPath[3] == XmlTagEnum::kProperties + && xmlPath[4] == XmlTagEnum::kProvisionedBandwidthMiBps) + { + vectorElement1.Details.ProvisionedBandwidthMBps = std::stoi(node.Value); + } else if ( xmlPath.size() == 5 && xmlPath[0] == XmlTagEnum::kEnumerationResults && xmlPath[1] == XmlTagEnum::kShares && xmlPath[2] == XmlTagEnum::kShare @@ -795,6 +845,21 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares { { vectorElement1.Details.LeaseDuration = Models::LeaseDurationType(node.Value); } + else if ( + xmlPath.size() == 5 && xmlPath[0] == XmlTagEnum::kEnumerationResults + && xmlPath[1] == XmlTagEnum::kShares && xmlPath[2] == XmlTagEnum::kShare + && xmlPath[3] == XmlTagEnum::kProperties + && xmlPath[4] == XmlTagEnum::kEnabledProtocols) + { + vectorElement1.Details.EnabledProtocols = Models::ShareProtocols(node.Value); + } + else if ( + xmlPath.size() == 5 && xmlPath[0] == XmlTagEnum::kEnumerationResults + && xmlPath[1] == XmlTagEnum::kShares && xmlPath[2] == XmlTagEnum::kShare + && xmlPath[3] == XmlTagEnum::kProperties && xmlPath[4] == XmlTagEnum::kRootSquash) + { + vectorElement1.Details.RootSquash = Models::ShareRootSquash(node.Value); + } else if ( xmlPath.size() == 2 && xmlPath[0] == XmlTagEnum::kEnumerationResults && xmlPath[1] == XmlTagEnum::kNextMarker) @@ -852,7 +917,16 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares { { request.SetHeader("x-ms-access-tier", options.AccessTier.Value().ToString()); } - request.SetHeader("x-ms-version", "2020-02-10"); + request.SetHeader("x-ms-version", "2021-06-08"); + if (options.EnabledProtocols.HasValue() + && !options.EnabledProtocols.Value().ToString().empty()) + { + request.SetHeader("x-ms-enabled-protocols", options.EnabledProtocols.Value().ToString()); + } + if (options.RootSquash.HasValue() && !options.RootSquash.Value().ToString().empty()) + { + request.SetHeader("x-ms-root-squash", options.RootSquash.Value().ToString()); + } auto pRawResponse = pipeline.Send(request, context); auto httpStatusCode = pRawResponse->GetStatusCode(); if (httpStatusCode != Core::Http::HttpStatusCode::Created) @@ -878,7 +952,7 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares { request.GetUrl().AppendQueryParameter( "sharesnapshot", _internal::UrlEncodeQueryParameter(options.Sharesnapshot.Value())); } - request.SetHeader("x-ms-version", "2020-02-10"); + request.SetHeader("x-ms-version", "2021-06-08"); if (options.LeaseId.HasValue() && !options.LeaseId.Value().empty()) { request.SetHeader("x-ms-lease-id", options.LeaseId.Value()); @@ -921,6 +995,11 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares { pRawResponse->GetHeaders().at("x-ms-share-next-allowed-quota-downgrade-time"), Azure::DateTime::DateFormat::Rfc1123); } + if (pRawResponse->GetHeaders().count("x-ms-share-provisioned-bandwidth-mibps") != 0) + { + response.ProvisionedBandwidthMBps + = std::stoi(pRawResponse->GetHeaders().at("x-ms-share-provisioned-bandwidth-mibps")); + } if (pRawResponse->GetHeaders().count("x-ms-lease-duration") != 0) { response.LeaseDuration @@ -950,6 +1029,16 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares { response.AccessTierTransitionState = pRawResponse->GetHeaders().at("x-ms-access-tier-transition-state"); } + if (pRawResponse->GetHeaders().count("x-ms-enabled-protocols") != 0) + { + response.EnabledProtocols + = Models::ShareProtocols(pRawResponse->GetHeaders().at("x-ms-enabled-protocols")); + } + if (pRawResponse->GetHeaders().count("x-ms-root-squash") != 0) + { + response.RootSquash + = Models::ShareRootSquash(pRawResponse->GetHeaders().at("x-ms-root-squash")); + } return Response(std::move(response), std::move(pRawResponse)); } Response ShareClient::Delete( @@ -965,7 +1054,7 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares { request.GetUrl().AppendQueryParameter( "sharesnapshot", _internal::UrlEncodeQueryParameter(options.Sharesnapshot.Value())); } - request.SetHeader("x-ms-version", "2020-02-10"); + request.SetHeader("x-ms-version", "2021-06-08"); if (options.DeleteSnapshots.HasValue() && !options.DeleteSnapshots.Value().ToString().empty()) { request.SetHeader("x-ms-delete-snapshots", options.DeleteSnapshots.Value().ToString()); @@ -1001,7 +1090,7 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares { { request.SetHeader("x-ms-proposed-lease-id", options.ProposedLeaseId.Value()); } - request.SetHeader("x-ms-version", "2020-02-10"); + request.SetHeader("x-ms-version", "2021-06-08"); if (options.Sharesnapshot.HasValue() && !options.Sharesnapshot.Value().empty()) { request.GetUrl().AppendQueryParameter( @@ -1035,7 +1124,7 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares { { request.SetHeader("x-ms-lease-id", options.LeaseId); } - request.SetHeader("x-ms-version", "2020-02-10"); + request.SetHeader("x-ms-version", "2021-06-08"); if (options.Sharesnapshot.HasValue() && !options.Sharesnapshot.Value().empty()) { request.GetUrl().AppendQueryParameter( @@ -1072,7 +1161,7 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares { { request.SetHeader("x-ms-proposed-lease-id", options.ProposedLeaseId.Value()); } - request.SetHeader("x-ms-version", "2020-02-10"); + request.SetHeader("x-ms-version", "2021-06-08"); if (options.Sharesnapshot.HasValue() && !options.Sharesnapshot.Value().empty()) { request.GetUrl().AppendQueryParameter( @@ -1106,7 +1195,7 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares { { request.SetHeader("x-ms-lease-id", options.LeaseId); } - request.SetHeader("x-ms-version", "2020-02-10"); + request.SetHeader("x-ms-version", "2021-06-08"); if (options.Sharesnapshot.HasValue() && !options.Sharesnapshot.Value().empty()) { request.GetUrl().AppendQueryParameter( @@ -1144,7 +1233,7 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares { { request.SetHeader("x-ms-lease-id", options.LeaseId.Value()); } - request.SetHeader("x-ms-version", "2020-02-10"); + request.SetHeader("x-ms-version", "2021-06-08"); if (options.Sharesnapshot.HasValue() && !options.Sharesnapshot.Value().empty()) { request.GetUrl().AppendQueryParameter( @@ -1161,7 +1250,6 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares { response.LastModified = DateTime::Parse( pRawResponse->GetHeaders().at("Last-Modified"), Azure::DateTime::DateFormat::Rfc1123); response.LeaseTime = std::stoi(pRawResponse->GetHeaders().at("x-ms-lease-time")); - response.LeaseId = pRawResponse->GetHeaders().at("x-ms-lease-id"); return Response( std::move(response), std::move(pRawResponse)); } @@ -1178,7 +1266,7 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares { { request.SetHeader("x-ms-meta-" + p.first, p.second); } - request.SetHeader("x-ms-version", "2020-02-10"); + request.SetHeader("x-ms-version", "2021-06-08"); auto pRawResponse = pipeline.Send(request, context); auto httpStatusCode = pRawResponse->GetStatusCode(); if (httpStatusCode != Core::Http::HttpStatusCode::Created) @@ -1212,7 +1300,7 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares { request.SetHeader("Content-Length", std::to_string(requestBody.Length())); request.GetUrl().AppendQueryParameter("restype", "share"); request.GetUrl().AppendQueryParameter("comp", "filepermission"); - request.SetHeader("x-ms-version", "2020-02-10"); + request.SetHeader("x-ms-version", "2021-06-08"); auto pRawResponse = pipeline.Send(request, context); auto httpStatusCode = pRawResponse->GetStatusCode(); if (httpStatusCode != Core::Http::HttpStatusCode::Created) @@ -1237,7 +1325,7 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares { { request.SetHeader("x-ms-file-permission-key", options.FilePermissionKey); } - request.SetHeader("x-ms-version", "2020-02-10"); + request.SetHeader("x-ms-version", "2021-06-08"); auto pRawResponse = pipeline.Send(request, context); auto httpStatusCode = pRawResponse->GetStatusCode(); if (httpStatusCode != Core::Http::HttpStatusCode::Ok) @@ -1263,7 +1351,7 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares { auto request = Core::Http::Request(Core::Http::HttpMethod::Put, url); request.GetUrl().AppendQueryParameter("restype", "share"); request.GetUrl().AppendQueryParameter("comp", "properties"); - request.SetHeader("x-ms-version", "2020-02-10"); + request.SetHeader("x-ms-version", "2021-06-08"); if (options.Quota.HasValue()) { request.SetHeader("x-ms-share-quota", std::to_string(options.Quota.Value())); @@ -1276,6 +1364,10 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares { { request.SetHeader("x-ms-lease-id", options.LeaseId.Value()); } + if (options.RootSquash.HasValue() && !options.RootSquash.Value().ToString().empty()) + { + request.SetHeader("x-ms-root-squash", options.RootSquash.Value().ToString()); + } auto pRawResponse = pipeline.Send(request, context); auto httpStatusCode = pRawResponse->GetStatusCode(); if (httpStatusCode != Core::Http::HttpStatusCode::Ok) @@ -1302,7 +1394,7 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares { { request.SetHeader("x-ms-meta-" + p.first, p.second); } - request.SetHeader("x-ms-version", "2020-02-10"); + request.SetHeader("x-ms-version", "2021-06-08"); if (options.LeaseId.HasValue() && !options.LeaseId.Value().empty()) { request.SetHeader("x-ms-lease-id", options.LeaseId.Value()); @@ -1328,7 +1420,7 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares { auto request = Core::Http::Request(Core::Http::HttpMethod::Get, url); request.GetUrl().AppendQueryParameter("restype", "share"); request.GetUrl().AppendQueryParameter("comp", "acl"); - request.SetHeader("x-ms-version", "2020-02-10"); + request.SetHeader("x-ms-version", "2021-06-08"); if (options.LeaseId.HasValue() && !options.LeaseId.Value().empty()) { request.SetHeader("x-ms-lease-id", options.LeaseId.Value()); @@ -1475,7 +1567,7 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares { request.SetHeader("Content-Length", std::to_string(requestBody.Length())); request.GetUrl().AppendQueryParameter("restype", "share"); request.GetUrl().AppendQueryParameter("comp", "acl"); - request.SetHeader("x-ms-version", "2020-02-10"); + request.SetHeader("x-ms-version", "2021-06-08"); if (options.LeaseId.HasValue() && !options.LeaseId.Value().empty()) { request.SetHeader("x-ms-lease-id", options.LeaseId.Value()); @@ -1502,7 +1594,7 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares { auto request = Core::Http::Request(Core::Http::HttpMethod::Get, url); request.GetUrl().AppendQueryParameter("restype", "share"); request.GetUrl().AppendQueryParameter("comp", "stats"); - request.SetHeader("x-ms-version", "2020-02-10"); + request.SetHeader("x-ms-version", "2021-06-08"); if (options.LeaseId.HasValue() && !options.LeaseId.Value().empty()) { request.SetHeader("x-ms-lease-id", options.LeaseId.Value()); @@ -1577,7 +1669,7 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares { { request.SetHeader("x-ms-meta-" + p.first, p.second); } - request.SetHeader("x-ms-version", "2020-02-10"); + request.SetHeader("x-ms-version", "2021-06-08"); if (options.FilePermission.HasValue() && !options.FilePermission.Value().empty()) { request.SetHeader("x-ms-file-permission", options.FilePermission.Value()); @@ -1590,13 +1682,17 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares { { request.SetHeader("x-ms-file-attributes", options.FileAttributes); } - if (!options.FileCreationTime.empty()) + if (options.FileCreationTime.HasValue() && !options.FileCreationTime.Value().empty()) { - request.SetHeader("x-ms-file-creation-time", options.FileCreationTime); + request.SetHeader("x-ms-file-creation-time", options.FileCreationTime.Value()); } - if (!options.FileLastWriteTime.empty()) + if (options.FileLastWriteTime.HasValue() && !options.FileLastWriteTime.Value().empty()) { - request.SetHeader("x-ms-file-last-write-time", options.FileLastWriteTime); + request.SetHeader("x-ms-file-last-write-time", options.FileLastWriteTime.Value()); + } + if (options.FileChangeTime.HasValue() && !options.FileChangeTime.Value().empty()) + { + request.SetHeader("x-ms-file-change-time", options.FileChangeTime.Value()); } auto pRawResponse = pipeline.Send(request, context); auto httpStatusCode = pRawResponse->GetStatusCode(); @@ -1652,7 +1748,7 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares { request.GetUrl().AppendQueryParameter( "sharesnapshot", _internal::UrlEncodeQueryParameter(options.Sharesnapshot.Value())); } - request.SetHeader("x-ms-version", "2020-02-10"); + request.SetHeader("x-ms-version", "2021-06-08"); auto pRawResponse = pipeline.Send(request, context); auto httpStatusCode = pRawResponse->GetStatusCode(); if (httpStatusCode != Core::Http::HttpStatusCode::Ok) @@ -1708,7 +1804,7 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares { { auto request = Core::Http::Request(Core::Http::HttpMethod::Delete, url); request.GetUrl().AppendQueryParameter("restype", "directory"); - request.SetHeader("x-ms-version", "2020-02-10"); + request.SetHeader("x-ms-version", "2021-06-08"); (void)options; auto pRawResponse = pipeline.Send(request, context); auto httpStatusCode = pRawResponse->GetStatusCode(); @@ -1728,7 +1824,7 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares { auto request = Core::Http::Request(Core::Http::HttpMethod::Put, url); request.GetUrl().AppendQueryParameter("restype", "directory"); request.GetUrl().AppendQueryParameter("comp", "properties"); - request.SetHeader("x-ms-version", "2020-02-10"); + request.SetHeader("x-ms-version", "2021-06-08"); if (options.FilePermission.HasValue() && !options.FilePermission.Value().empty()) { request.SetHeader("x-ms-file-permission", options.FilePermission.Value()); @@ -1741,13 +1837,17 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares { { request.SetHeader("x-ms-file-attributes", options.FileAttributes); } - if (!options.FileCreationTime.empty()) + if (options.FileCreationTime.HasValue() && !options.FileCreationTime.Value().empty()) { - request.SetHeader("x-ms-file-creation-time", options.FileCreationTime); + request.SetHeader("x-ms-file-creation-time", options.FileCreationTime.Value()); + } + if (options.FileLastWriteTime.HasValue() && !options.FileLastWriteTime.Value().empty()) + { + request.SetHeader("x-ms-file-last-write-time", options.FileLastWriteTime.Value()); } - if (!options.FileLastWriteTime.empty()) + if (options.FileChangeTime.HasValue() && !options.FileChangeTime.Value().empty()) { - request.SetHeader("x-ms-file-last-write-time", options.FileLastWriteTime); + request.SetHeader("x-ms-file-change-time", options.FileChangeTime.Value()); } auto pRawResponse = pipeline.Send(request, context); auto httpStatusCode = pRawResponse->GetStatusCode(); @@ -1804,7 +1904,7 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares { { request.SetHeader("x-ms-meta-" + p.first, p.second); } - request.SetHeader("x-ms-version", "2020-02-10"); + request.SetHeader("x-ms-version", "2021-06-08"); auto pRawResponse = pipeline.Send(request, context); auto httpStatusCode = pRawResponse->GetStatusCode(); if (httpStatusCode != Core::Http::HttpStatusCode::Ok) @@ -1848,7 +1948,20 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares { request.GetUrl().AppendQueryParameter( "maxresults", std::to_string(options.MaxResults.Value())); } - request.SetHeader("x-ms-version", "2020-02-10"); + request.SetHeader("x-ms-version", "2021-06-08"); + if (options.Include.HasValue() + && !ListFilesIncludeFlagsToString(options.Include.Value()).empty()) + { + request.GetUrl().AppendQueryParameter( + "include", + _internal::UrlEncodeQueryParameter( + ListFilesIncludeFlagsToString(options.Include.Value()))); + } + if (options.IncludeExtendedInfo.HasValue()) + { + request.SetHeader( + "x-ms-file-extended-info", options.IncludeExtendedInfo.Value() ? "true" : "false"); + } auto pRawResponse = pipeline.Send(request, context); auto httpStatusCode = pRawResponse->GetStatusCode(); if (httpStatusCode != Core::Http::HttpStatusCode::Ok) @@ -1870,10 +1983,20 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares { kEntries, kDirectory, kName, - kFile, kProperties, + kLastAccessTime, + kLastModified, + kEtag, + kPermissionKey, + kAttributes, + kCreationTime, + kLastWriteTime, + kChangeTime, + kFileId, + kFile, kContentLength, kNextMarker, + kDirectoryId, }; const std::unordered_map XmlTagEnumMap{ {"EnumerationResults", XmlTagEnum::kEnumerationResults}, @@ -1883,10 +2006,20 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares { {"Entries", XmlTagEnum::kEntries}, {"Directory", XmlTagEnum::kDirectory}, {"Name", XmlTagEnum::kName}, - {"File", XmlTagEnum::kFile}, {"Properties", XmlTagEnum::kProperties}, + {"LastAccessTime", XmlTagEnum::kLastAccessTime}, + {"Last-Modified", XmlTagEnum::kLastModified}, + {"Etag", XmlTagEnum::kEtag}, + {"PermissionKey", XmlTagEnum::kPermissionKey}, + {"Attributes", XmlTagEnum::kAttributes}, + {"CreationTime", XmlTagEnum::kCreationTime}, + {"LastWriteTime", XmlTagEnum::kLastWriteTime}, + {"ChangeTime", XmlTagEnum::kChangeTime}, + {"FileId", XmlTagEnum::kFileId}, + {"File", XmlTagEnum::kFile}, {"Content-Length", XmlTagEnum::kContentLength}, {"NextMarker", XmlTagEnum::kNextMarker}, + {"DirectoryId", XmlTagEnum::kDirectoryId}, }; std::vector xmlPath; Models::DirectoryItem vectorElement1; @@ -1929,6 +2062,76 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares { { vectorElement1.Name = node.Value; } + else if ( + xmlPath.size() == 5 && xmlPath[0] == XmlTagEnum::kEnumerationResults + && xmlPath[1] == XmlTagEnum::kEntries && xmlPath[2] == XmlTagEnum::kDirectory + && xmlPath[3] == XmlTagEnum::kProperties + && xmlPath[4] == XmlTagEnum::kLastAccessTime) + { + vectorElement1.Details.LastAccessedOn + = DateTime::Parse(node.Value, Azure::DateTime::DateFormat::Rfc3339); + } + else if ( + xmlPath.size() == 5 && xmlPath[0] == XmlTagEnum::kEnumerationResults + && xmlPath[1] == XmlTagEnum::kEntries && xmlPath[2] == XmlTagEnum::kDirectory + && xmlPath[3] == XmlTagEnum::kProperties && xmlPath[4] == XmlTagEnum::kLastModified) + { + vectorElement1.Details.LastModified + = DateTime::Parse(node.Value, Azure::DateTime::DateFormat::Rfc1123); + } + else if ( + xmlPath.size() == 5 && xmlPath[0] == XmlTagEnum::kEnumerationResults + && xmlPath[1] == XmlTagEnum::kEntries && xmlPath[2] == XmlTagEnum::kDirectory + && xmlPath[3] == XmlTagEnum::kProperties && xmlPath[4] == XmlTagEnum::kEtag) + { + vectorElement1.Details.Etag = ETag(node.Value); + } + else if ( + xmlPath.size() == 4 && xmlPath[0] == XmlTagEnum::kEnumerationResults + && xmlPath[1] == XmlTagEnum::kEntries && xmlPath[2] == XmlTagEnum::kDirectory + && xmlPath[3] == XmlTagEnum::kPermissionKey) + { + vectorElement1.Details.SmbProperties.PermissionKey = node.Value; + } + else if ( + xmlPath.size() == 4 && xmlPath[0] == XmlTagEnum::kEnumerationResults + && xmlPath[1] == XmlTagEnum::kEntries && xmlPath[2] == XmlTagEnum::kDirectory + && xmlPath[3] == XmlTagEnum::kAttributes) + { + vectorElement1.Details.SmbProperties.Attributes = Models::FileAttributes(node.Value); + } + else if ( + xmlPath.size() == 5 && xmlPath[0] == XmlTagEnum::kEnumerationResults + && xmlPath[1] == XmlTagEnum::kEntries && xmlPath[2] == XmlTagEnum::kDirectory + && xmlPath[3] == XmlTagEnum::kProperties && xmlPath[4] == XmlTagEnum::kCreationTime) + { + vectorElement1.Details.SmbProperties.CreatedOn + = DateTime::Parse(node.Value, Azure::DateTime::DateFormat::Rfc3339); + } + else if ( + xmlPath.size() == 5 && xmlPath[0] == XmlTagEnum::kEnumerationResults + && xmlPath[1] == XmlTagEnum::kEntries && xmlPath[2] == XmlTagEnum::kDirectory + && xmlPath[3] == XmlTagEnum::kProperties + && xmlPath[4] == XmlTagEnum::kLastWriteTime) + { + vectorElement1.Details.SmbProperties.LastWrittenOn + = DateTime::Parse(node.Value, Azure::DateTime::DateFormat::Rfc3339); + } + else if ( + xmlPath.size() == 5 && xmlPath[0] == XmlTagEnum::kEnumerationResults + && xmlPath[1] == XmlTagEnum::kEntries && xmlPath[2] == XmlTagEnum::kDirectory + && xmlPath[3] == XmlTagEnum::kProperties && xmlPath[4] == XmlTagEnum::kChangeTime) + { + vectorElement1.Details.SmbProperties.ChangedOn + = DateTime::Parse(node.Value, Azure::DateTime::DateFormat::Rfc3339); + } + else if ( + xmlPath.size() == 4 && xmlPath[0] == XmlTagEnum::kEnumerationResults + && xmlPath[1] == XmlTagEnum::kEntries && xmlPath[2] == XmlTagEnum::kDirectory + && xmlPath[3] == XmlTagEnum::kFileId) + { + vectorElement1.Details.SmbProperties.FileId = node.Value; + } else if ( xmlPath.size() == 4 && xmlPath[0] == XmlTagEnum::kEnumerationResults && xmlPath[1] == XmlTagEnum::kEntries && xmlPath[2] == XmlTagEnum::kFile @@ -1944,12 +2147,88 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares { { vectorElement2.Details.FileSize = std::stoll(node.Value); } + else if ( + xmlPath.size() == 5 && xmlPath[0] == XmlTagEnum::kEnumerationResults + && xmlPath[1] == XmlTagEnum::kEntries && xmlPath[2] == XmlTagEnum::kFile + && xmlPath[3] == XmlTagEnum::kProperties + && xmlPath[4] == XmlTagEnum::kLastAccessTime) + { + vectorElement2.Details.LastAccessedOn + = DateTime::Parse(node.Value, Azure::DateTime::DateFormat::Rfc3339); + } + else if ( + xmlPath.size() == 5 && xmlPath[0] == XmlTagEnum::kEnumerationResults + && xmlPath[1] == XmlTagEnum::kEntries && xmlPath[2] == XmlTagEnum::kFile + && xmlPath[3] == XmlTagEnum::kProperties && xmlPath[4] == XmlTagEnum::kLastModified) + { + vectorElement2.Details.LastModified + = DateTime::Parse(node.Value, Azure::DateTime::DateFormat::Rfc1123); + } + else if ( + xmlPath.size() == 5 && xmlPath[0] == XmlTagEnum::kEnumerationResults + && xmlPath[1] == XmlTagEnum::kEntries && xmlPath[2] == XmlTagEnum::kFile + && xmlPath[3] == XmlTagEnum::kProperties && xmlPath[4] == XmlTagEnum::kEtag) + { + vectorElement2.Details.Etag = ETag(node.Value); + } + else if ( + xmlPath.size() == 4 && xmlPath[0] == XmlTagEnum::kEnumerationResults + && xmlPath[1] == XmlTagEnum::kEntries && xmlPath[2] == XmlTagEnum::kFile + && xmlPath[3] == XmlTagEnum::kPermissionKey) + { + vectorElement2.Details.SmbProperties.PermissionKey = node.Value; + } + else if ( + xmlPath.size() == 4 && xmlPath[0] == XmlTagEnum::kEnumerationResults + && xmlPath[1] == XmlTagEnum::kEntries && xmlPath[2] == XmlTagEnum::kFile + && xmlPath[3] == XmlTagEnum::kAttributes) + { + vectorElement2.Details.SmbProperties.Attributes = Models::FileAttributes(node.Value); + } + else if ( + xmlPath.size() == 5 && xmlPath[0] == XmlTagEnum::kEnumerationResults + && xmlPath[1] == XmlTagEnum::kEntries && xmlPath[2] == XmlTagEnum::kFile + && xmlPath[3] == XmlTagEnum::kProperties && xmlPath[4] == XmlTagEnum::kCreationTime) + { + vectorElement2.Details.SmbProperties.CreatedOn + = DateTime::Parse(node.Value, Azure::DateTime::DateFormat::Rfc3339); + } + else if ( + xmlPath.size() == 5 && xmlPath[0] == XmlTagEnum::kEnumerationResults + && xmlPath[1] == XmlTagEnum::kEntries && xmlPath[2] == XmlTagEnum::kFile + && xmlPath[3] == XmlTagEnum::kProperties + && xmlPath[4] == XmlTagEnum::kLastWriteTime) + { + vectorElement2.Details.SmbProperties.LastWrittenOn + = DateTime::Parse(node.Value, Azure::DateTime::DateFormat::Rfc3339); + } + else if ( + xmlPath.size() == 5 && xmlPath[0] == XmlTagEnum::kEnumerationResults + && xmlPath[1] == XmlTagEnum::kEntries && xmlPath[2] == XmlTagEnum::kFile + && xmlPath[3] == XmlTagEnum::kProperties && xmlPath[4] == XmlTagEnum::kChangeTime) + { + vectorElement2.Details.SmbProperties.ChangedOn + = DateTime::Parse(node.Value, Azure::DateTime::DateFormat::Rfc3339); + } + else if ( + xmlPath.size() == 4 && xmlPath[0] == XmlTagEnum::kEnumerationResults + && xmlPath[1] == XmlTagEnum::kEntries && xmlPath[2] == XmlTagEnum::kFile + && xmlPath[3] == XmlTagEnum::kFileId) + { + vectorElement2.Details.SmbProperties.FileId = node.Value; + } else if ( xmlPath.size() == 2 && xmlPath[0] == XmlTagEnum::kEnumerationResults && xmlPath[1] == XmlTagEnum::kNextMarker) { response.NextMarker = node.Value; } + else if ( + xmlPath.size() == 2 && xmlPath[0] == XmlTagEnum::kEnumerationResults + && xmlPath[1] == XmlTagEnum::kDirectoryId) + { + response.DirectoryId = node.Value; + } } else if (node.Type == _internal::XmlNodeType::Attribute) { @@ -2026,7 +2305,7 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares { { request.SetHeader("x-ms-recursive", options.Recursive.Value() ? "true" : "false"); } - request.SetHeader("x-ms-version", "2020-02-10"); + request.SetHeader("x-ms-version", "2021-06-08"); auto pRawResponse = pipeline.Send(request, context); auto httpStatusCode = pRawResponse->GetStatusCode(); if (httpStatusCode != Core::Http::HttpStatusCode::Ok) @@ -2192,7 +2471,7 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares { { request.SetHeader("x-ms-recursive", options.Recursive.Value() ? "true" : "false"); } - request.SetHeader("x-ms-version", "2020-02-10"); + request.SetHeader("x-ms-version", "2021-06-08"); auto pRawResponse = pipeline.Send(request, context); auto httpStatusCode = pRawResponse->GetStatusCode(); if (httpStatusCode != Core::Http::HttpStatusCode::Ok) @@ -2211,6 +2490,95 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares { return Response( std::move(response), std::move(pRawResponse)); } + Response DirectoryClient::Rename( + Core::Http::_internal::HttpPipeline& pipeline, + const Core::Url& url, + const RenameDirectoryOptions& options, + const Core::Context& context) + { + auto request = Core::Http::Request(Core::Http::HttpMethod::Put, url); + request.GetUrl().AppendQueryParameter("restype", "directory"); + request.GetUrl().AppendQueryParameter("comp", "rename"); + request.SetHeader("x-ms-version", "2021-06-08"); + if (!options.RenameSource.empty()) + { + request.SetHeader("x-ms-file-rename-source", options.RenameSource); + } + if (options.ReplaceIfExists.HasValue()) + { + request.SetHeader( + "x-ms-file-rename-replace-if-exists", + options.ReplaceIfExists.Value() ? "true" : "false"); + } + if (options.IgnoreReadOnly.HasValue()) + { + request.SetHeader( + "x-ms-file-rename-ignore-readonly", options.IgnoreReadOnly.Value() ? "true" : "false"); + } + if (options.SourceLeaseId.HasValue() && !options.SourceLeaseId.Value().empty()) + { + request.SetHeader("x-ms-source-lease-id", options.SourceLeaseId.Value()); + } + if (options.DestinationLeaseId.HasValue() && !options.DestinationLeaseId.Value().empty()) + { + request.SetHeader("x-ms-destination-lease-id", options.DestinationLeaseId.Value()); + } + if (options.FileAttributes.HasValue() && !options.FileAttributes.Value().empty()) + { + request.SetHeader("x-ms-file-attributes", options.FileAttributes.Value()); + } + if (options.FileCreationTime.HasValue() && !options.FileCreationTime.Value().empty()) + { + request.SetHeader("x-ms-file-creation-time", options.FileCreationTime.Value()); + } + if (options.FileLastWriteTime.HasValue() && !options.FileLastWriteTime.Value().empty()) + { + request.SetHeader("x-ms-file-last-write-time", options.FileLastWriteTime.Value()); + } + if (options.FileChangeTime.HasValue() && !options.FileChangeTime.Value().empty()) + { + request.SetHeader("x-ms-file-change-time", options.FileChangeTime.Value()); + } + if (options.FilePermission.HasValue() && !options.FilePermission.Value().empty()) + { + request.SetHeader("x-ms-file-permission", options.FilePermission.Value()); + } + if (options.FilePermissionKey.HasValue() && !options.FilePermissionKey.Value().empty()) + { + request.SetHeader("x-ms-file-permission-key", options.FilePermissionKey.Value()); + } + for (const auto& p : options.Metadata) + { + request.SetHeader("x-ms-meta-" + p.first, p.second); + } + auto pRawResponse = pipeline.Send(request, context); + auto httpStatusCode = pRawResponse->GetStatusCode(); + if (httpStatusCode != Core::Http::HttpStatusCode::Ok) + { + throw StorageException::CreateFromResponse(std::move(pRawResponse)); + } + Models::_detail::RenameDirectoryResult response; + response.ETag = ETag(pRawResponse->GetHeaders().at("ETag")); + response.LastModified = DateTime::Parse( + pRawResponse->GetHeaders().at("Last-Modified"), Azure::DateTime::DateFormat::Rfc1123); + response.IsServerEncrypted + = pRawResponse->GetHeaders().at("x-ms-request-server-encrypted") == std::string("true"); + response.FilePermissionKey = pRawResponse->GetHeaders().at("x-ms-file-permission-key"); + response.FileAttributes = pRawResponse->GetHeaders().at("x-ms-file-attributes"); + response.FileCreationTime = DateTime::Parse( + pRawResponse->GetHeaders().at("x-ms-file-creation-time"), + Azure::DateTime::DateFormat::Rfc3339); + response.FileLastWriteTime = DateTime::Parse( + pRawResponse->GetHeaders().at("x-ms-file-last-write-time"), + Azure::DateTime::DateFormat::Rfc3339); + response.FileChangeTime = DateTime::Parse( + pRawResponse->GetHeaders().at("x-ms-file-change-time"), + Azure::DateTime::DateFormat::Rfc3339); + response.FileId = pRawResponse->GetHeaders().at("x-ms-file-id"); + response.FileParentId = pRawResponse->GetHeaders().at("x-ms-file-parent-id"); + return Response( + std::move(response), std::move(pRawResponse)); + } Response FileClient::Create( Core::Http::_internal::HttpPipeline& pipeline, const Core::Url& url, @@ -2218,7 +2586,7 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares { const Core::Context& context) { auto request = Core::Http::Request(Core::Http::HttpMethod::Put, url); - request.SetHeader("x-ms-version", "2020-02-10"); + request.SetHeader("x-ms-version", "2021-06-08"); request.SetHeader("x-ms-content-length", std::to_string(options.FileContentLength)); request.SetHeader("x-ms-type", "file"); if (options.FileContentType.HasValue() && !options.FileContentType.Value().empty()) @@ -2264,13 +2632,17 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares { { request.SetHeader("x-ms-file-attributes", options.FileAttributes); } - if (!options.FileCreationTime.empty()) + if (options.FileCreationTime.HasValue() && !options.FileCreationTime.Value().empty()) { - request.SetHeader("x-ms-file-creation-time", options.FileCreationTime); + request.SetHeader("x-ms-file-creation-time", options.FileCreationTime.Value()); + } + if (options.FileLastWriteTime.HasValue() && !options.FileLastWriteTime.Value().empty()) + { + request.SetHeader("x-ms-file-last-write-time", options.FileLastWriteTime.Value()); } - if (!options.FileLastWriteTime.empty()) + if (options.FileChangeTime.HasValue() && !options.FileChangeTime.Value().empty()) { - request.SetHeader("x-ms-file-last-write-time", options.FileLastWriteTime); + request.SetHeader("x-ms-file-change-time", options.FileChangeTime.Value()); } if (options.LeaseId.HasValue() && !options.LeaseId.Value().empty()) { @@ -2324,7 +2696,7 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares { const Core::Context& context) { auto request = Core::Http::Request(Core::Http::HttpMethod::Get, url, false); - request.SetHeader("x-ms-version", "2020-02-10"); + request.SetHeader("x-ms-version", "2021-06-08"); if (options.Range.HasValue() && !options.Range.Value().empty()) { request.SetHeader("x-ms-range", options.Range.Value()); @@ -2499,7 +2871,7 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares { request.GetUrl().AppendQueryParameter( "sharesnapshot", _internal::UrlEncodeQueryParameter(options.Sharesnapshot.Value())); } - request.SetHeader("x-ms-version", "2020-02-10"); + request.SetHeader("x-ms-version", "2021-06-08"); if (options.LeaseId.HasValue() && !options.LeaseId.Value().empty()) { request.SetHeader("x-ms-lease-id", options.LeaseId.Value()); @@ -2627,7 +2999,7 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares { const Core::Context& context) { auto request = Core::Http::Request(Core::Http::HttpMethod::Delete, url); - request.SetHeader("x-ms-version", "2020-02-10"); + request.SetHeader("x-ms-version", "2021-06-08"); if (options.LeaseId.HasValue() && !options.LeaseId.Value().empty()) { request.SetHeader("x-ms-lease-id", options.LeaseId.Value()); @@ -2649,7 +3021,7 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares { { auto request = Core::Http::Request(Core::Http::HttpMethod::Put, url); request.GetUrl().AppendQueryParameter("comp", "properties"); - request.SetHeader("x-ms-version", "2020-02-10"); + request.SetHeader("x-ms-version", "2021-06-08"); if (options.FileContentLength.HasValue()) { request.SetHeader("x-ms-content-length", std::to_string(options.FileContentLength.Value())); @@ -2693,13 +3065,17 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares { { request.SetHeader("x-ms-file-attributes", options.FileAttributes); } - if (!options.FileCreationTime.empty()) + if (options.FileCreationTime.HasValue() && !options.FileCreationTime.Value().empty()) { - request.SetHeader("x-ms-file-creation-time", options.FileCreationTime); + request.SetHeader("x-ms-file-creation-time", options.FileCreationTime.Value()); + } + if (options.FileLastWriteTime.HasValue() && !options.FileLastWriteTime.Value().empty()) + { + request.SetHeader("x-ms-file-last-write-time", options.FileLastWriteTime.Value()); } - if (!options.FileLastWriteTime.empty()) + if (options.FileChangeTime.HasValue() && !options.FileChangeTime.Value().empty()) { - request.SetHeader("x-ms-file-last-write-time", options.FileLastWriteTime); + request.SetHeader("x-ms-file-change-time", options.FileChangeTime.Value()); } if (options.LeaseId.HasValue() && !options.LeaseId.Value().empty()) { @@ -2759,7 +3135,7 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares { { request.SetHeader("x-ms-meta-" + p.first, p.second); } - request.SetHeader("x-ms-version", "2020-02-10"); + request.SetHeader("x-ms-version", "2021-06-08"); if (options.LeaseId.HasValue() && !options.LeaseId.Value().empty()) { request.SetHeader("x-ms-lease-id", options.LeaseId.Value()); @@ -2793,7 +3169,7 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares { { request.SetHeader("x-ms-proposed-lease-id", options.ProposedLeaseId.Value()); } - request.SetHeader("x-ms-version", "2020-02-10"); + request.SetHeader("x-ms-version", "2021-06-08"); auto pRawResponse = pipeline.Send(request, context); auto httpStatusCode = pRawResponse->GetStatusCode(); if (httpStatusCode != Core::Http::HttpStatusCode::Created) @@ -2821,7 +3197,7 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares { { request.SetHeader("x-ms-lease-id", options.LeaseId); } - request.SetHeader("x-ms-version", "2020-02-10"); + request.SetHeader("x-ms-version", "2021-06-08"); auto pRawResponse = pipeline.Send(request, context); auto httpStatusCode = pRawResponse->GetStatusCode(); if (httpStatusCode != Core::Http::HttpStatusCode::Ok) @@ -2852,7 +3228,7 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares { { request.SetHeader("x-ms-proposed-lease-id", options.ProposedLeaseId.Value()); } - request.SetHeader("x-ms-version", "2020-02-10"); + request.SetHeader("x-ms-version", "2021-06-08"); auto pRawResponse = pipeline.Send(request, context); auto httpStatusCode = pRawResponse->GetStatusCode(); if (httpStatusCode != Core::Http::HttpStatusCode::Ok) @@ -2880,7 +3256,7 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares { { request.SetHeader("x-ms-lease-id", options.LeaseId.Value()); } - request.SetHeader("x-ms-version", "2020-02-10"); + request.SetHeader("x-ms-version", "2021-06-08"); auto pRawResponse = pipeline.Send(request, context); auto httpStatusCode = pRawResponse->GetStatusCode(); if (httpStatusCode != Core::Http::HttpStatusCode::Accepted) @@ -2917,11 +3293,17 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares { { request.SetHeader("Content-MD5", Core::Convert::Base64Encode(options.ContentMD5.Value())); } - request.SetHeader("x-ms-version", "2020-02-10"); + request.SetHeader("x-ms-version", "2021-06-08"); if (options.LeaseId.HasValue() && !options.LeaseId.Value().empty()) { request.SetHeader("x-ms-lease-id", options.LeaseId.Value()); } + if (options.FileLastWrittenMode.HasValue() + && !options.FileLastWrittenMode.Value().ToString().empty()) + { + request.SetHeader( + "x-ms-file-last-write-time", options.FileLastWrittenMode.Value().ToString()); + } auto pRawResponse = pipeline.Send(request, context); auto httpStatusCode = pRawResponse->GetStatusCode(); if (httpStatusCode != Core::Http::HttpStatusCode::Created) @@ -2988,11 +3370,23 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares { "x-ms-source-if-none-match-crc64", Core::Convert::Base64Encode(options.SourceIfNoneMatchCrc64.Value())); } - request.SetHeader("x-ms-version", "2020-02-10"); + request.SetHeader("x-ms-version", "2021-06-08"); if (options.LeaseId.HasValue() && !options.LeaseId.Value().empty()) { request.SetHeader("x-ms-lease-id", options.LeaseId.Value()); } + if (options.CopySourceAuthorization.HasValue() + && !options.CopySourceAuthorization.Value().empty()) + { + request.SetHeader( + "x-ms-copy-source-authorization", options.CopySourceAuthorization.Value()); + } + if (options.FileLastWrittenMode.HasValue() + && !options.FileLastWrittenMode.Value().ToString().empty()) + { + request.SetHeader( + "x-ms-file-last-write-time", options.FileLastWrittenMode.Value().ToString()); + } auto pRawResponse = pipeline.Send(request, context); auto httpStatusCode = pRawResponse->GetStatusCode(); if (httpStatusCode != Core::Http::HttpStatusCode::Created) @@ -3036,7 +3430,7 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares { "prevsharesnapshot", _internal::UrlEncodeQueryParameter(options.Prevsharesnapshot.Value())); } - request.SetHeader("x-ms-version", "2020-02-10"); + request.SetHeader("x-ms-version", "2021-06-08"); if (options.Range.HasValue() && !options.Range.Value().empty()) { request.SetHeader("x-ms-range", options.Range.Value()); @@ -3150,7 +3544,7 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares { const Core::Context& context) { auto request = Core::Http::Request(Core::Http::HttpMethod::Put, url); - request.SetHeader("x-ms-version", "2020-02-10"); + request.SetHeader("x-ms-version", "2021-06-08"); for (const auto& p : options.Metadata) { request.SetHeader("x-ms-meta-" + p.first, p.second); @@ -3176,7 +3570,7 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares { if (options.IgnoreReadOnly.HasValue()) { request.SetHeader( - "x-ms-file-copy-ignore-read-only", options.IgnoreReadOnly.Value() ? "true" : "false"); + "x-ms-file-copy-ignore-readonly", options.IgnoreReadOnly.Value() ? "true" : "false"); } if (options.FileAttributes.HasValue() && !options.FileAttributes.Value().empty()) { @@ -3190,6 +3584,10 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares { { request.SetHeader("x-ms-file-last-write-time", options.FileLastWriteTime.Value()); } + if (options.FileChangeTime.HasValue() && !options.FileChangeTime.Value().empty()) + { + request.SetHeader("x-ms-file-change-time", options.FileChangeTime.Value()); + } if (options.SetArchiveAttribute.HasValue()) { request.SetHeader( @@ -3228,7 +3626,7 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares { "copyid", _internal::UrlEncodeQueryParameter(options.CopyId)); } request.SetHeader("x-ms-copy-action", "abort"); - request.SetHeader("x-ms-version", "2020-02-10"); + request.SetHeader("x-ms-version", "2021-06-08"); if (options.LeaseId.HasValue() && !options.LeaseId.Value().empty()) { request.SetHeader("x-ms-lease-id", options.LeaseId.Value()); @@ -3265,7 +3663,7 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares { request.GetUrl().AppendQueryParameter( "sharesnapshot", _internal::UrlEncodeQueryParameter(options.Sharesnapshot.Value())); } - request.SetHeader("x-ms-version", "2020-02-10"); + request.SetHeader("x-ms-version", "2021-06-08"); auto pRawResponse = pipeline.Send(request, context); auto httpStatusCode = pRawResponse->GetStatusCode(); if (httpStatusCode != Core::Http::HttpStatusCode::Ok) @@ -3427,7 +3825,7 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares { { request.SetHeader("x-ms-handle-id", options.HandleId); } - request.SetHeader("x-ms-version", "2020-02-10"); + request.SetHeader("x-ms-version", "2021-06-08"); auto pRawResponse = pipeline.Send(request, context); auto httpStatusCode = pRawResponse->GetStatusCode(); if (httpStatusCode != Core::Http::HttpStatusCode::Ok) @@ -3446,5 +3844,97 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares { return Response( std::move(response), std::move(pRawResponse)); } + Response FileClient::Rename( + Core::Http::_internal::HttpPipeline& pipeline, + const Core::Url& url, + const RenameFileOptions& options, + const Core::Context& context) + { + auto request = Core::Http::Request(Core::Http::HttpMethod::Put, url); + request.GetUrl().AppendQueryParameter("comp", "rename"); + request.SetHeader("x-ms-version", "2021-06-08"); + if (!options.RenameSource.empty()) + { + request.SetHeader("x-ms-file-rename-source", options.RenameSource); + } + if (options.ReplaceIfExists.HasValue()) + { + request.SetHeader( + "x-ms-file-rename-replace-if-exists", + options.ReplaceIfExists.Value() ? "true" : "false"); + } + if (options.IgnoreReadOnly.HasValue()) + { + request.SetHeader( + "x-ms-file-rename-ignore-readonly", options.IgnoreReadOnly.Value() ? "true" : "false"); + } + if (options.SourceLeaseId.HasValue() && !options.SourceLeaseId.Value().empty()) + { + request.SetHeader("x-ms-source-lease-id", options.SourceLeaseId.Value()); + } + if (options.DestinationLeaseId.HasValue() && !options.DestinationLeaseId.Value().empty()) + { + request.SetHeader("x-ms-destination-lease-id", options.DestinationLeaseId.Value()); + } + if (options.FileAttributes.HasValue() && !options.FileAttributes.Value().empty()) + { + request.SetHeader("x-ms-file-attributes", options.FileAttributes.Value()); + } + if (options.FileCreationTime.HasValue() && !options.FileCreationTime.Value().empty()) + { + request.SetHeader("x-ms-file-creation-time", options.FileCreationTime.Value()); + } + if (options.FileLastWriteTime.HasValue() && !options.FileLastWriteTime.Value().empty()) + { + request.SetHeader("x-ms-file-last-write-time", options.FileLastWriteTime.Value()); + } + if (options.FileChangeTime.HasValue() && !options.FileChangeTime.Value().empty()) + { + request.SetHeader("x-ms-file-change-time", options.FileChangeTime.Value()); + } + if (options.FilePermission.HasValue() && !options.FilePermission.Value().empty()) + { + request.SetHeader("x-ms-file-permission", options.FilePermission.Value()); + } + if (options.FilePermissionKey.HasValue() && !options.FilePermissionKey.Value().empty()) + { + request.SetHeader("x-ms-file-permission-key", options.FilePermissionKey.Value()); + } + for (const auto& p : options.Metadata) + { + request.SetHeader("x-ms-meta-" + p.first, p.second); + } + if (options.FileContentType.HasValue() && !options.FileContentType.Value().empty()) + { + request.SetHeader("x-ms-content-type", options.FileContentType.Value()); + } + auto pRawResponse = pipeline.Send(request, context); + auto httpStatusCode = pRawResponse->GetStatusCode(); + if (httpStatusCode != Core::Http::HttpStatusCode::Ok) + { + throw StorageException::CreateFromResponse(std::move(pRawResponse)); + } + Models::_detail::RenameFileResult response; + response.ETag = ETag(pRawResponse->GetHeaders().at("ETag")); + response.LastModified = DateTime::Parse( + pRawResponse->GetHeaders().at("Last-Modified"), Azure::DateTime::DateFormat::Rfc1123); + response.IsServerEncrypted + = pRawResponse->GetHeaders().at("x-ms-request-server-encrypted") == std::string("true"); + response.FilePermissionKey = pRawResponse->GetHeaders().at("x-ms-file-permission-key"); + response.FileAttributes = pRawResponse->GetHeaders().at("x-ms-file-attributes"); + response.FileCreationTime = DateTime::Parse( + pRawResponse->GetHeaders().at("x-ms-file-creation-time"), + Azure::DateTime::DateFormat::Rfc3339); + response.FileLastWriteTime = DateTime::Parse( + pRawResponse->GetHeaders().at("x-ms-file-last-write-time"), + Azure::DateTime::DateFormat::Rfc3339); + response.FileChangeTime = DateTime::Parse( + pRawResponse->GetHeaders().at("x-ms-file-change-time"), + Azure::DateTime::DateFormat::Rfc3339); + response.FileId = pRawResponse->GetHeaders().at("x-ms-file-id"); + response.FileParentId = pRawResponse->GetHeaders().at("x-ms-file-parent-id"); + return Response( + std::move(response), std::move(pRawResponse)); + } } // namespace _detail }}}} // namespace Azure::Storage::Files::Shares \ No newline at end of file diff --git a/sdk/storage/azure-storage-files-shares/src/share_client.cpp b/sdk/storage/azure-storage-files-shares/src/share_client.cpp index 4fd5fa3017..684976d226 100644 --- a/sdk/storage/azure-storage-files-shares/src/share_client.cpp +++ b/sdk/storage/azure-storage-files-shares/src/share_client.cpp @@ -107,6 +107,8 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares { = std::map(options.Metadata.begin(), options.Metadata.end()); protocolLayerOptions.Quota = options.ShareQuotaInGiB; protocolLayerOptions.AccessTier = options.AccessTier; + protocolLayerOptions.EnabledProtocols = options.EnabledProtocols; + protocolLayerOptions.RootSquash = options.RootSquash; auto result = _detail::ShareClient::Create(*m_pipeline, m_shareUrl, protocolLayerOptions, context); Models::CreateShareResult ret; @@ -202,6 +204,7 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares { auto protocolLayerOptions = _detail::ShareClient::SetSharePropertiesOptions(); protocolLayerOptions.Quota = options.ShareQuotaInGiB; protocolLayerOptions.AccessTier = options.AccessTier; + protocolLayerOptions.RootSquash = options.RootSquash; return _detail::ShareClient::SetProperties( *m_pipeline, m_shareUrl, protocolLayerOptions, context); } diff --git a/sdk/storage/azure-storage-files-shares/src/share_directory_client.cpp b/sdk/storage/azure-storage-files-shares/src/share_directory_client.cpp index 4097042cce..ada8cbe57f 100644 --- a/sdk/storage/azure-storage-files-shares/src/share_directory_client.cpp +++ b/sdk/storage/azure-storage-files-shares/src/share_directory_client.cpp @@ -146,6 +146,11 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares { { protocolLayerOptions.FileLastWriteTime = std::string(FileDefaultTimeValue); } + if (options.SmbProperties.ChangedOn.HasValue()) + { + protocolLayerOptions.FileChangeTime = options.SmbProperties.ChangedOn.Value().ToString( + Azure::DateTime::DateFormat::Rfc3339, DateTime::TimeFractionFormat::AllDigits); + } if (options.DirectoryPermission.HasValue()) { protocolLayerOptions.FilePermission = options.DirectoryPermission.Value(); @@ -192,6 +197,117 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares { throw; } } + Azure::Response ShareDirectoryClient::RenameFile( + const std::string& fileName, + const std::string& destinationFilePath, + const RenameFileOptions& options, + const Azure::Core::Context& context) const + { + auto sourceFileUrl = m_shareDirectoryUrl; + sourceFileUrl.AppendPath(_internal::UrlEncodePath(fileName)); + + const std::string& currentPath = m_shareDirectoryUrl.GetPath(); + std::string destinationFileShare = currentPath.substr(0, currentPath.find('/')); + auto destinationFileUrl = m_shareDirectoryUrl; + destinationFileUrl.SetPath(_internal::UrlEncodePath(destinationFileShare)); + destinationFileUrl.AppendPath(_internal::UrlEncodePath(destinationFilePath)); + + auto protocolLayerOptions = _detail::FileClient::RenameFileOptions(); + protocolLayerOptions.RenameSource = sourceFileUrl.GetAbsoluteUrl(); + protocolLayerOptions.ReplaceIfExists = options.ReplaceIfExists; + protocolLayerOptions.IgnoreReadOnly = options.IgnoreReadOnly; + protocolLayerOptions.DestinationLeaseId = options.AccessConditions.LeaseId; + protocolLayerOptions.SourceLeaseId = options.SourceAccessConditions.LeaseId; + protocolLayerOptions.FileAttributes = options.SmbProperties.Attributes.ToString(); + protocolLayerOptions.Metadata + = std::map(options.Metadata.begin(), options.Metadata.end()); + if (options.SmbProperties.CreatedOn.HasValue()) + { + protocolLayerOptions.FileCreationTime = options.SmbProperties.CreatedOn.Value().ToString( + Azure::DateTime::DateFormat::Rfc3339, DateTime::TimeFractionFormat::AllDigits); + } + if (options.SmbProperties.LastWrittenOn.HasValue()) + { + protocolLayerOptions.FileLastWriteTime = options.SmbProperties.LastWrittenOn.Value().ToString( + Azure::DateTime::DateFormat::Rfc3339, DateTime::TimeFractionFormat::AllDigits); + } + if (options.SmbProperties.ChangedOn.HasValue()) + { + protocolLayerOptions.FileChangeTime = options.SmbProperties.ChangedOn.Value().ToString( + Azure::DateTime::DateFormat::Rfc3339, DateTime::TimeFractionFormat::AllDigits); + } + if (options.FilePermission.HasValue()) + { + protocolLayerOptions.FilePermission = options.FilePermission.Value(); + } + else if (options.SmbProperties.PermissionKey.HasValue()) + { + protocolLayerOptions.FilePermissionKey = options.SmbProperties.PermissionKey; + } + + auto response = _detail::FileClient::Rename( + *m_pipeline, destinationFileUrl, protocolLayerOptions, context); + + auto renamedFileClient = ShareFileClient(destinationFileUrl, m_pipeline); + return Azure::Response( + std::move(renamedFileClient), std::move(response.RawResponse)); + } + + Azure::Response ShareDirectoryClient::RenameSubdirectory( + const std::string& subdirectoryName, + const std::string& destinationDirectoryPath, + const RenameDirectoryOptions& options, + const Azure::Core::Context& context) const + { + auto sourceDirectoryUrl = m_shareDirectoryUrl; + sourceDirectoryUrl.AppendPath(_internal::UrlEncodePath(subdirectoryName)); + + const std::string& currentPath = m_shareDirectoryUrl.GetPath(); + std::string destinationFileShare = currentPath.substr(0, currentPath.find('/')); + auto destinationDirectoryUrl = m_shareDirectoryUrl; + destinationDirectoryUrl.SetPath(_internal::UrlEncodePath(destinationFileShare)); + destinationDirectoryUrl.AppendPath(_internal::UrlEncodePath(destinationDirectoryPath)); + + auto protocolLayerOptions = _detail::DirectoryClient::RenameDirectoryOptions(); + protocolLayerOptions.RenameSource = sourceDirectoryUrl.GetAbsoluteUrl(); + protocolLayerOptions.ReplaceIfExists = options.ReplaceIfExists; + protocolLayerOptions.IgnoreReadOnly = options.IgnoreReadOnly; + protocolLayerOptions.DestinationLeaseId = options.AccessConditions.LeaseId; + protocolLayerOptions.SourceLeaseId = options.SourceAccessConditions.LeaseId; + protocolLayerOptions.FileAttributes = options.SmbProperties.Attributes.ToString(); + protocolLayerOptions.Metadata + = std::map(options.Metadata.begin(), options.Metadata.end()); + if (options.SmbProperties.CreatedOn.HasValue()) + { + protocolLayerOptions.FileCreationTime = options.SmbProperties.CreatedOn.Value().ToString( + Azure::DateTime::DateFormat::Rfc3339, DateTime::TimeFractionFormat::AllDigits); + } + if (options.SmbProperties.LastWrittenOn.HasValue()) + { + protocolLayerOptions.FileLastWriteTime = options.SmbProperties.LastWrittenOn.Value().ToString( + Azure::DateTime::DateFormat::Rfc3339, DateTime::TimeFractionFormat::AllDigits); + } + if (options.SmbProperties.ChangedOn.HasValue()) + { + protocolLayerOptions.FileChangeTime = options.SmbProperties.ChangedOn.Value().ToString( + Azure::DateTime::DateFormat::Rfc3339, DateTime::TimeFractionFormat::AllDigits); + } + if (options.FilePermission.HasValue()) + { + protocolLayerOptions.FilePermission = options.FilePermission.Value(); + } + else if (options.SmbProperties.PermissionKey.HasValue()) + { + protocolLayerOptions.FilePermissionKey = options.SmbProperties.PermissionKey; + } + + auto response = _detail::DirectoryClient::Rename( + *m_pipeline, destinationDirectoryUrl, protocolLayerOptions, context); + + auto renamedFileClient = ShareDirectoryClient(destinationDirectoryUrl, m_pipeline); + return Azure::Response( + std::move(renamedFileClient), std::move(response.RawResponse)); + } Azure::Response ShareDirectoryClient::Delete( const DeleteDirectoryOptions& options, @@ -268,6 +384,11 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares { { protocolLayerOptions.FileLastWriteTime = FilePreserveSmbProperties; } + if (smbProperties.ChangedOn.HasValue()) + { + protocolLayerOptions.FileChangeTime = smbProperties.ChangedOn.Value().ToString( + Azure::DateTime::DateFormat::Rfc3339, DateTime::TimeFractionFormat::AllDigits); + } if (options.FilePermission.HasValue()) { protocolLayerOptions.FilePermission = options.FilePermission.Value(); @@ -306,6 +427,8 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares { protocolLayerOptions.Prefix = options.Prefix; protocolLayerOptions.Marker = options.ContinuationToken; protocolLayerOptions.MaxResults = options.PageSizeHint; + protocolLayerOptions.Include = options.Include; + protocolLayerOptions.IncludeExtendedInfo = options.IncludeExtendedInfo; auto response = _detail::DirectoryClient::ListFilesAndDirectoriesSegment( *m_pipeline, m_shareDirectoryUrl, protocolLayerOptions, context); @@ -318,6 +441,7 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares { pagedResponse.Prefix = std::move(response.Value.Prefix); pagedResponse.Directories = std::move(response.Value.Segment.DirectoryItems); pagedResponse.Files = std::move(response.Value.Segment.FileItems); + pagedResponse.DirectoryId = response.Value.DirectoryId.ValueOr(std::string()); pagedResponse.m_shareDirectoryClient = std::make_shared(*this); pagedResponse.m_operationOptions = options; pagedResponse.CurrentPageToken = options.ContinuationToken.ValueOr(std::string()); diff --git a/sdk/storage/azure-storage-files-shares/src/share_file_client.cpp b/sdk/storage/azure-storage-files-shares/src/share_file_client.cpp index 7c5df0047e..766b0778a0 100644 --- a/sdk/storage/azure-storage-files-shares/src/share_file_client.cpp +++ b/sdk/storage/azure-storage-files-shares/src/share_file_client.cpp @@ -133,6 +133,11 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares { { protocolLayerOptions.FileLastWriteTime = std::string(FileDefaultTimeValue); } + if (options.SmbProperties.ChangedOn.HasValue()) + { + protocolLayerOptions.FileChangeTime = options.SmbProperties.ChangedOn.Value().ToString( + Azure::DateTime::DateFormat::Rfc3339, DateTime::TimeFractionFormat::AllDigits); + } if (options.Permission.HasValue()) { protocolLayerOptions.FilePermission = options.Permission; @@ -346,6 +351,11 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares { { protocolLayerOptions.FileLastWriteTime = std::string(FileCopySourceTime); } + if (options.SmbProperties.ChangedOn.HasValue()) + { + protocolLayerOptions.FileChangeTime = options.SmbProperties.ChangedOn.Value().ToString( + Azure::DateTime::DateFormat::Rfc3339, DateTime::TimeFractionFormat::AllDigits); + } if (options.PermissionCopyMode.HasValue()) { protocolLayerOptions.FilePermissionCopyMode = options.PermissionCopyMode.Value(); @@ -433,6 +443,11 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares { { protocolLayerOptions.FileLastWriteTime = FilePreserveSmbProperties; } + if (smbProperties.ChangedOn.HasValue()) + { + protocolLayerOptions.FileChangeTime = smbProperties.ChangedOn.Value().ToString( + Azure::DateTime::DateFormat::Rfc3339, DateTime::TimeFractionFormat::AllDigits); + } protocolLayerOptions.FileContentLength = options.Size; protocolLayerOptions.LeaseId = options.AccessConditions.LeaseId; if (options.Permission.HasValue()) @@ -504,6 +519,7 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares { protocolLayerOptions.ContentMD5 = options.TransactionalContentHash.Value().Value; } protocolLayerOptions.LeaseId = options.AccessConditions.LeaseId; + protocolLayerOptions.FileLastWrittenMode = options.FileLastWrittenMode; return _detail::FileClient::UploadRange( *m_pipeline, m_shareFileUrl, content, protocolLayerOptions, context); } @@ -520,6 +536,7 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares { + std::to_string(offset + length - 1); protocolLayerOptions.LeaseId = options.AccessConditions.LeaseId; + protocolLayerOptions.FileLastWrittenMode = options.FileLastWrittenMode; auto response = _detail::FileClient::UploadRange( *m_pipeline, m_shareFileUrl, @@ -784,8 +801,6 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares { firstChunkOptions.Range.Value().Length = firstChunkLength; } - _internal::FileWriter fileWriter(fileName); - auto firstChunk = Download(firstChunkOptions, context); const Azure::ETag etag = firstChunk.Value.Details.ETag; @@ -828,6 +843,7 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares { } }; + _internal::FileWriter fileWriter(fileName); bodyStreamToFile(*(firstChunk.Value.BodyStream), fileWriter, 0, firstChunkLength, context); firstChunk.Value.BodyStream.reset(); @@ -912,6 +928,11 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares { { protocolLayerOptions.FileLastWriteTime = std::string(FileDefaultTimeValue); } + if (options.SmbProperties.ChangedOn.HasValue()) + { + protocolLayerOptions.FileChangeTime = options.SmbProperties.ChangedOn.Value().ToString( + Azure::DateTime::DateFormat::Rfc3339, DateTime::TimeFractionFormat::AllDigits); + } if (options.FilePermission.HasValue()) { protocolLayerOptions.FilePermission = options.FilePermission; @@ -964,6 +985,11 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares { // for some reason. Azure::Core::IO::MemoryBodyStream contentStream(buffer + offset, static_cast(length)); UploadFileRangeOptions uploadRangeOptions; + if (options.SmbProperties.LastWrittenOn.HasValue()) + { + uploadRangeOptions.FileLastWrittenMode + = Azure::Storage::Files::Shares::Models::FileLastWrittenMode::Preserve; + } UploadRange(offset, contentStream, uploadRangeOptions, context); }; @@ -1017,6 +1043,11 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares { { protocolLayerOptions.FileLastWriteTime = std::string(FileDefaultTimeValue); } + if (options.SmbProperties.ChangedOn.HasValue()) + { + protocolLayerOptions.FileChangeTime = options.SmbProperties.ChangedOn.Value().ToString( + Azure::DateTime::DateFormat::Rfc3339, DateTime::TimeFractionFormat::AllDigits); + } if (options.FilePermission.HasValue()) { protocolLayerOptions.FilePermission = options.FilePermission; @@ -1068,6 +1099,11 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares { Azure::Core::IO::_internal::RandomAccessFileBodyStream contentStream( fileReader.GetHandle(), offset, length); UploadFileRangeOptions uploadRangeOptions; + if (options.SmbProperties.LastWrittenOn.HasValue()) + { + uploadRangeOptions.FileLastWrittenMode + = Azure::Storage::Files::Shares::Models::FileLastWrittenMode::Preserve; + } UploadRange(offset, contentStream, uploadRangeOptions, context); }; @@ -1105,6 +1141,7 @@ namespace Azure { namespace Storage { namespace Files { namespace Shares { + std::string("-") + std::to_string(destinationOffset + rangeLength - 1); protocolLayerOptions.CopySource = sourceUri; protocolLayerOptions.LeaseId = options.AccessConditions.LeaseId; + protocolLayerOptions.FileLastWrittenMode = options.FileLastWrittenMode; if (options.TransactionalContentHash.HasValue()) { AZURE_ASSERT_MSG( diff --git a/sdk/storage/azure-storage-files-shares/swagger/README.md b/sdk/storage/azure-storage-files-shares/swagger/README.md index e4ce1a8d9e..3c6784af8a 100644 --- a/sdk/storage/azure-storage-files-shares/swagger/README.md +++ b/sdk/storage/azure-storage-files-shares/swagger/README.md @@ -9,7 +9,7 @@ package-name: azure-storage-files-shares namespace: Azure::Storage::Files::Shares output-folder: generated clear-output-folder: true -input-file: https://raw.githubusercontent.com/Jinming-Hu/azure-storage-api-specs/main/Microsoft.FileStorage/preview/2020-02-10/file.json +input-file: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/main/specification/storage/data-plane/Microsoft.FileStorage/preview/2021-06-08/file.json ``` ## ModelFour Options @@ -79,13 +79,13 @@ directive: "name": "ApiVersion", "modelAsString": false }, - "enum": ["2020-02-10"], + "enum": ["2021-06-08"], "description": "The version used for the operations to Azure storage services." }; - from: swagger-document where: $.parameters transform: > - $.ApiVersionParameter.enum[0] = "2020-02-10"; + $.ApiVersionParameter.enum[0] = "2021-06-08"; ``` ### Rename Operations @@ -159,6 +159,8 @@ directive: "File_StartCopy", "Directory_ForceCloseHandles", "File_ForceCloseHandles", + "Directory_Rename", + "File_Rename", ]; for (const url in $["x-ms-paths"]) { for (const verb in $["x-ms-paths"][url]) { @@ -205,6 +207,7 @@ directive: where: $.parameters transform: > $.ListSharesInclude.items["x-ms-enum"].name = "ListSharesIncludeFlags"; + $.ListFilesInclude.items["x-ms-enum"].name = "ListFilesIncludeFlags"; $.AccessTierOptional.enum.push("Premium"); $.AccessTierOptional["x-ms-enum"].name = "AccessTier"; $.AccessTierOptional["x-ms-enum"].modelAsString = false; @@ -214,6 +217,11 @@ directive: $.MaxResults["x-ms-client-name"] = "MaxResults"; delete $.FileCreationTime.format; delete $.FileLastWriteTime.format; + $.ShareEnabledProtocols["enum"] = ["Smb", "Nfs"]; + $.ShareEnabledProtocols["x-ms-enum"] = {"name": "ShareProtocols", "modelAsString": false}; + $.ShareEnabledProtocols["x-ms-enum"]["values"] = [{"value": "SMB", "name": "Smb"},{"value": "NFS", "name": "Nfs"}]; + delete $.FileChangeTime.format; + $.FileLastWriteTimeMode["x-ms-enum"]["values"] = [{"value": "now", "name": "Now"},{"value": "preserve", "name": "Preserve"}]; - from: swagger-document where: $.definitions transform: > @@ -296,6 +304,9 @@ directive: "description": "Standard HTTP properties supported files." }; $.SharePermission["x-namespace"] = "_detail"; + $.ShareEnabledProtocols["enum"] = ["Smb", "Nfs"]; + $.ShareEnabledProtocols["x-ms-enum"] = {"name": "ShareProtocols", "modelAsString": false}; + $.ShareEnabledProtocols["x-ms-enum"]["values"] = [{"value": "SMB", "name": "Smb"},{"value": "NFS", "name": "Nfs"}]; - from: swagger-document where: $["x-ms-paths"].*.*.responses.*.headers transform: > @@ -388,16 +399,18 @@ directive: where: $.definitions transform: > $.ListSharesResponse.properties["ShareItems"]["x-ms-xml"] = {"name": "Shares"}; - $.ShareItemDetails = $.ShareProperties; - delete $.ShareProperties; + $.ShareItemDetails = $.SharePropertiesInternal; + delete $.SharePropertiesInternal; $.ShareItemDetails.properties["Quota"]["format"] = "int64"; $.ShareItemDetails.properties["AccessTierChangeTime"]["x-ms-client-name"] = "AccessTierChangedOn"; $.ShareItemDetails.properties["AccessTier"] = {"$ref": "#/definitions/AccessTier"}; $.ShareItemDetails.properties["DeletedTime"]["x-ms-client-name"] = "DeletedOn"; $.ShareItemDetails.required.push("RemainingRetentionDays", "LeaseStatus", "LeaseState", "LeaseDuration"); - $.ShareItem.properties["Details"] = {"$ref": "#/definitions/ShareItemDetails", "x-ms-xml": {"name": "Properties"}}; - delete $.ShareItem.properties["Properties"]; - delete $.ShareItem.required; + $.ShareItemInternal.properties["Details"] = {"$ref": "#/definitions/ShareItemDetails", "x-ms-xml": {"name": "Properties"}}; + $.ShareItemInternal["x-ms-client-name"] = "ShareItem"; + $.ShareItemDetails.properties["ProvisionedBandwidthMiBps"]["x-ms-client-name"] = "ProvisionedBandwidthMBps"; + delete $.ShareItemInternal.properties["Properties"]; + delete $.ShareItemInternal.required; ``` ### CreateShare @@ -441,6 +454,13 @@ directive: $["x-ms-access-tier-transition-state"]["x-nullable"] = true; $["x-ms-access-tier-transition-state"].description = "Returns the transition state between access tiers, when present."; $["x-ms-share-provisioned-iops"].description = "Returns the current share provisioned IOPS."; + $["x-ms-share-provisioned-bandwidth-mibps"]["x-nullable"] = true; + $["x-ms-share-provisioned-bandwidth-mibps"]["x-ms-client-name"] = "ProvisionedBandwidthMBps"; + $["x-ms-enabled-protocols"]["x-nullable"] = true; + $["x-ms-root-squash"]["x-nullable"] = true; + $["x-ms-enabled-protocols"]["enum"] = ["Smb", "Nfs"]; + $["x-ms-enabled-protocols"]["x-ms-enum"] = {"name": "ShareProtocols", "modelAsString": false}; + $["x-ms-enabled-protocols"]["x-ms-enum"]["values"] = [{"value": "SMB", "name": "Smb"},{"value": "NFS", "name": "Nfs"}]; - from: swagger-document where: $["x-ms-paths"]["/{shareName}?restype=share"].get.responses["200"] transform: > @@ -502,19 +522,49 @@ directive: ```yaml directive: + - from: swagger-document + where: $.parameters + transform: > + $.ListFilesInclude["items"]["x-ms-enum"]["values"] = [{"name": "Timestamps", "value": "Timestamps"}, {"name": "ETag", "value": "Etag"}, {"name": "Attributes", "value": "Attributes"}, {"name": "PermissionKey", "value": "PermissionKey"},]; - from: swagger-document where: $.definitions transform: > $.ListFilesAndDirectoriesSegmentResponse.properties["Segment"]["x-ms-xml"] = {"name": "Entries"}; $.FileItemDetails = $.FileProperty; $.FileItemDetails.properties["Content-Length"]["x-ms-client-name"] = "FileSize"; + $.FileItemDetails.properties["SmbProperties"] = {"$ref": "#/definitions/FileSmbProperties", "x-ms-xml": {"name": "."}}; + $.FileItemDetails.properties["LastAccessTime"]["x-ms-client-name"] = "LastAccessedOn"; + $.FileItemDetails.properties["LastAccessTime"]["x-nullable"] = true; + $.FileSmbProperties.properties["PermissionKey"]["x-ms-xml"] = {"name": "../PermissionKey"}; + $.FileSmbProperties.properties["Attributes"]["x-ms-xml"] = {"name": "../Attributes"}; + $.FileSmbProperties.properties["CreatedOn"]["x-ms-xml"] = {"name": "CreationTime"}; + $.FileSmbProperties.properties["LastWrittenOn"]["x-ms-xml"] = {"name": "LastWriteTime"}; + $.FileSmbProperties.properties["ChangedOn"]["x-ms-xml"] = {"name": "ChangeTime"}; + $.FileSmbProperties.properties["FileId"]["x-ms-xml"] = {"name": "../FileId"}; + $.FileSmbProperties.properties["ParentFileId"]["x-ms-xml"] = {"name": ""}; + delete $.FileItemDetails.properties["CreationTime"]; + delete $.FileItemDetails.properties["LastWriteTime"]; + delete $.FileItemDetails.properties["ChangeTime"]; + delete $.FileItemDetails.required; delete $.FileProperty; - $.FileItem.properties["Details"] = {"$ref": "#/definitions/FileItemDetails"}; delete $.FileItem.properties["Properties"]; + delete $.FileItem.properties["FileId"]; + delete $.FileItem.properties["Attributes"]; + delete $.FileItem.properties["PermissionKey"]; delete $.FileItem.required; + $.FileItem.properties["Details"] = {"$ref": "#/definitions/FileItemDetails", "x-ms-xml" : {"name": "Properties"}}; + + delete $.DirectoryItem.properties["Properties"]; + delete $.DirectoryItem.properties["FileId"]; + delete $.DirectoryItem.properties["Attributes"]; + delete $.DirectoryItem.properties["PermissionKey"]; + delete $.DirectoryItem.required; + $.DirectoryItemDetails = JSON.parse(JSON.stringify($.FileItemDetails)); + delete $.DirectoryItemDetails.properties["Content-Length"]; + $.DirectoryItem.properties["Details"] = {"$ref": "#/definitions/DirectoryItemDetails", "x-ms-xml" : {"name": "Properties"}}; + $.FilesAndDirectoriesListSegment.properties["DirectoryItems"]["x-ms-xml"] = {"name": "."}; $.FilesAndDirectoriesListSegment.properties["FileItems"]["x-ms-xml"] = {"name": "."}; - $.FileItem.properties["Details"]["x-ms-xml"] = {"name": "Properties"}; ``` ### ListHandles @@ -862,6 +912,7 @@ directive: $["Content-MD5"]["x-nullable"] = true; $["x-ms-request-server-encrypted"]["x-ms-client-default"] = false; $["x-ms-request-server-encrypted"]["x-nullable"] = true; + delete $["x-ms-file-last-write-time"]; ``` ### UploadFileRangeFromUri @@ -876,6 +927,7 @@ directive: $["x-ms-content-crc64"]["x-nullable"] = true; $["x-ms-request-server-encrypted"]["x-ms-client-default"] = false; $["x-ms-request-server-encrypted"]["x-nullable"] = true; + delete $["x-ms-file-last-write-time"]; ``` ### GetFileRangeList @@ -916,4 +968,32 @@ directive: where: $["x-ms-paths"]["/{shareName}/{directory}/{fileName}?comp=lease&break"].put.responses["202"].headers transform: > delete $["x-ms-lease-id"]; -``` \ No newline at end of file +``` + +### BreakShareLease + +```yaml +directive: + - from: swagger-document + where: $["x-ms-paths"]["/{shareName}?restype=share&comp=lease&break"].put.responses["202"].headers + transform: > + delete $["x-ms-lease-id"]; +``` + +### RenameFile/Directory + +```yaml +directive: + - from: swagger-document + where: $["x-ms-paths"]["/{shareName}/{directory}/{fileName}?comp=rename"].put.responses["200"].headers + transform: > + $["x-ms-file-creation-time"].format = "date-time"; + $["x-ms-file-last-write-time"].format = "date-time"; + $["x-ms-file-change-time"].format = "date-time"; + - from: swagger-document + where: $["x-ms-paths"]["/{shareName}/{directory}?restype=directory&comp=rename"].put.responses["200"].headers + transform: > + $["x-ms-file-creation-time"].format = "date-time"; + $["x-ms-file-last-write-time"].format = "date-time"; + $["x-ms-file-change-time"].format = "date-time"; +``` diff --git a/sdk/storage/azure-storage-files-shares/test/ut/recordings/FileShareClientTest.Lease.json b/sdk/storage/azure-storage-files-shares/test/ut/recordings/FileShareClientTest.Lease.json new file mode 100644 index 0000000000..dae17f89c2 --- /dev/null +++ b/sdk/storage/azure-storage-files-shares/test/ut/recordings/FileShareClientTest.Lease.json @@ -0,0 +1,416 @@ +{ + "networkCallRecords": [ + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "865c7afd-233a-4719-7953-f60fcb5864a4", + "x-ms-version": "2021-06-08" + }, + "Method": "PUT", + "Response": { + "BODY": "", + "REASON_PHRASE": "Created", + "STATUS_CODE": "201", + "content-length": "0", + "date": "Thu, 18 Aug 2022 07:14:29 GMT", + "etag": "\"0x8DA80E94A905682\"", + "last-modified": "Thu, 18 Aug 2022 07:14:29 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "865c7afd-233a-4719-7953-f60fcb5864a4", + "x-ms-request-id": "a253a293-701a-0044-6cd2-b2e499000000", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/fileshareclienttestlease?restype=share" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "a3ec13c3-8d04-4cc8-508a-d4dd8c7b005a", + "x-ms-version": "2021-06-08" + }, + "Method": "GET", + "Response": { + "BODY": "", + "REASON_PHRASE": "OK", + "STATUS_CODE": "200", + "content-length": "0", + "date": "Thu, 18 Aug 2022 07:14:29 GMT", + "etag": "\"0x8DA80E94A905682\"", + "last-modified": "Thu, 18 Aug 2022 07:14:29 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-access-tier": "TransactionOptimized", + "x-ms-access-tier-change-time": "Thu, 18 Aug 2022 07:14:29 GMT", + "x-ms-client-request-id": "a3ec13c3-8d04-4cc8-508a-d4dd8c7b005a", + "x-ms-has-immutability-policy": "false", + "x-ms-has-legal-hold": "false", + "x-ms-lease-state": "available", + "x-ms-lease-status": "unlocked", + "x-ms-request-id": "a253a297-701a-0044-6dd2-b2e499000000", + "x-ms-share-quota": "5120", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/fileshareclienttestlease?restype=share" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "9f779426-285a-4b26-42a9-370b59bf0aff", + "x-ms-version": "2021-06-08" + }, + "Method": "PUT", + "Response": { + "BODY": "", + "REASON_PHRASE": "Created", + "STATUS_CODE": "201", + "content-length": "0", + "date": "Thu, 18 Aug 2022 07:14:29 GMT", + "etag": "\"0x8DA80E94A905682\"", + "last-modified": "Thu, 18 Aug 2022 07:14:29 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "9f779426-285a-4b26-42a9-370b59bf0aff", + "x-ms-lease-id": "b5d200d3-5a1e-45a6-7a37-c4382fd74868", + "x-ms-request-id": "a253a298-701a-0044-6ed2-b2e499000000", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/fileshareclienttestlease?comp=lease&restype=share" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "f778f1b2-7742-46a7-72ff-d5b33bdc7f77", + "x-ms-version": "2021-06-08" + }, + "Method": "GET", + "Response": { + "BODY": "", + "REASON_PHRASE": "OK", + "STATUS_CODE": "200", + "content-length": "0", + "date": "Thu, 18 Aug 2022 07:14:30 GMT", + "etag": "\"0x8DA80E94A905682\"", + "last-modified": "Thu, 18 Aug 2022 07:14:29 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-access-tier": "TransactionOptimized", + "x-ms-access-tier-change-time": "Thu, 18 Aug 2022 07:14:29 GMT", + "x-ms-client-request-id": "f778f1b2-7742-46a7-72ff-d5b33bdc7f77", + "x-ms-has-immutability-policy": "false", + "x-ms-has-legal-hold": "false", + "x-ms-lease-duration": "fixed", + "x-ms-lease-state": "leased", + "x-ms-lease-status": "locked", + "x-ms-request-id": "a253a299-701a-0044-6fd2-b2e499000000", + "x-ms-share-quota": "5120", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/fileshareclienttestlease?restype=share" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "b2ff8952-725f-4131-7bfc-bc17e1327d6f", + "x-ms-version": "2021-06-08" + }, + "Method": "PUT", + "Response": { + "BODY": "", + "REASON_PHRASE": "Created", + "STATUS_CODE": "201", + "content-length": "0", + "date": "Thu, 18 Aug 2022 07:14:30 GMT", + "etag": "\"0x8DA80E94A905682\"", + "last-modified": "Thu, 18 Aug 2022 07:14:29 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "b2ff8952-725f-4131-7bfc-bc17e1327d6f", + "x-ms-lease-id": "b5d200d3-5a1e-45a6-7a37-c4382fd74868", + "x-ms-request-id": "a253a29a-701a-0044-70d2-b2e499000000", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/fileshareclienttestlease?comp=lease&restype=share" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "e3fad572-8871-4efe-424e-304215b0a283", + "x-ms-version": "2021-06-08" + }, + "Method": "GET", + "Response": { + "BODY": "", + "REASON_PHRASE": "OK", + "STATUS_CODE": "200", + "content-length": "0", + "date": "Thu, 18 Aug 2022 07:14:30 GMT", + "etag": "\"0x8DA80E94A905682\"", + "last-modified": "Thu, 18 Aug 2022 07:14:29 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-access-tier": "TransactionOptimized", + "x-ms-access-tier-change-time": "Thu, 18 Aug 2022 07:14:29 GMT", + "x-ms-client-request-id": "e3fad572-8871-4efe-424e-304215b0a283", + "x-ms-has-immutability-policy": "false", + "x-ms-has-legal-hold": "false", + "x-ms-lease-duration": "infinite", + "x-ms-lease-state": "leased", + "x-ms-lease-status": "locked", + "x-ms-request-id": "a253a29b-701a-0044-71d2-b2e499000000", + "x-ms-share-quota": "5120", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/fileshareclienttestlease?restype=share" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "ec276f41-a7c9-437e-4d48-5d3a2dcc085a", + "x-ms-version": "2021-06-08" + }, + "Method": "GET", + "Response": { + "BODY": "", + "REASON_PHRASE": "OK", + "STATUS_CODE": "200", + "content-length": "0", + "date": "Thu, 18 Aug 2022 07:14:30 GMT", + "etag": "\"0x8DA80E94A905682\"", + "last-modified": "Thu, 18 Aug 2022 07:14:29 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-access-tier": "TransactionOptimized", + "x-ms-access-tier-change-time": "Thu, 18 Aug 2022 07:14:29 GMT", + "x-ms-client-request-id": "ec276f41-a7c9-437e-4d48-5d3a2dcc085a", + "x-ms-has-immutability-policy": "false", + "x-ms-has-legal-hold": "false", + "x-ms-lease-duration": "infinite", + "x-ms-lease-state": "leased", + "x-ms-lease-status": "locked", + "x-ms-request-id": "a253a29c-701a-0044-72d2-b2e499000000", + "x-ms-share-quota": "5120", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/fileshareclienttestlease?restype=share" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "89d56f52-a528-4ff9-7bce-963f30435b35", + "x-ms-version": "2021-06-08" + }, + "Method": "PUT", + "Response": { + "BODY": "", + "REASON_PHRASE": "OK", + "STATUS_CODE": "200", + "content-length": "0", + "date": "Thu, 18 Aug 2022 07:14:31 GMT", + "etag": "\"0x8DA80E94A905682\"", + "last-modified": "Thu, 18 Aug 2022 07:14:29 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "89d56f52-a528-4ff9-7bce-963f30435b35", + "x-ms-lease-id": "b5d200d3-5a1e-45a6-7a37-c4382fd74868", + "x-ms-request-id": "a253a29d-701a-0044-73d2-b2e499000000", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/fileshareclienttestlease?comp=lease&restype=share" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "beb3e640-92ff-4cf2-7847-a44991f5da61", + "x-ms-version": "2021-06-08" + }, + "Method": "GET", + "Response": { + "BODY": "", + "REASON_PHRASE": "OK", + "STATUS_CODE": "200", + "content-length": "0", + "date": "Thu, 18 Aug 2022 07:14:31 GMT", + "etag": "\"0x8DA80E94A905682\"", + "last-modified": "Thu, 18 Aug 2022 07:14:29 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-access-tier": "TransactionOptimized", + "x-ms-access-tier-change-time": "Thu, 18 Aug 2022 07:14:29 GMT", + "x-ms-client-request-id": "beb3e640-92ff-4cf2-7847-a44991f5da61", + "x-ms-has-immutability-policy": "false", + "x-ms-has-legal-hold": "false", + "x-ms-lease-duration": "infinite", + "x-ms-lease-state": "leased", + "x-ms-lease-status": "locked", + "x-ms-request-id": "a253a2a0-701a-0044-74d2-b2e499000000", + "x-ms-share-quota": "5120", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/fileshareclienttestlease?restype=share" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "e70ce540-62fc-4a8f-6dfb-f84d6e8c4b7a", + "x-ms-version": "2021-06-08" + }, + "Method": "PUT", + "Response": { + "BODY": "", + "REASON_PHRASE": "OK", + "STATUS_CODE": "200", + "content-length": "0", + "date": "Thu, 18 Aug 2022 07:14:31 GMT", + "etag": "\"0x8DA80E94A905682\"", + "last-modified": "Thu, 18 Aug 2022 07:14:29 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "e70ce540-62fc-4a8f-6dfb-f84d6e8c4b7a", + "x-ms-lease-id": "49c22105-c889-4f1b-405c-79361eb87fdb", + "x-ms-request-id": "a253a2a2-701a-0044-75d2-b2e499000000", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/fileshareclienttestlease?comp=lease&restype=share" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "48f5a5fd-7257-4f7d-5168-f89c7a64f88d", + "x-ms-version": "2021-06-08" + }, + "Method": "GET", + "Response": { + "BODY": "", + "REASON_PHRASE": "OK", + "STATUS_CODE": "200", + "content-length": "0", + "date": "Thu, 18 Aug 2022 07:14:32 GMT", + "etag": "\"0x8DA80E94A905682\"", + "last-modified": "Thu, 18 Aug 2022 07:14:29 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-access-tier": "TransactionOptimized", + "x-ms-access-tier-change-time": "Thu, 18 Aug 2022 07:14:29 GMT", + "x-ms-client-request-id": "48f5a5fd-7257-4f7d-5168-f89c7a64f88d", + "x-ms-has-immutability-policy": "false", + "x-ms-has-legal-hold": "false", + "x-ms-lease-duration": "infinite", + "x-ms-lease-state": "leased", + "x-ms-lease-status": "locked", + "x-ms-request-id": "a253a2a4-701a-0044-76d2-b2e499000000", + "x-ms-share-quota": "5120", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/fileshareclienttestlease?restype=share" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "afb18ed9-1b03-4c97-798c-5d77b89e0d85", + "x-ms-version": "2021-06-08" + }, + "Method": "PUT", + "Response": { + "BODY": "", + "REASON_PHRASE": "OK", + "STATUS_CODE": "200", + "content-length": "0", + "date": "Thu, 18 Aug 2022 07:14:32 GMT", + "etag": "\"0x8DA80E94A905682\"", + "last-modified": "Thu, 18 Aug 2022 07:14:29 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "afb18ed9-1b03-4c97-798c-5d77b89e0d85", + "x-ms-lease-time": "0", + "x-ms-request-id": "a253a2a5-701a-0044-77d2-b2e499000000", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/fileshareclienttestlease?comp=lease&restype=share" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "1e8e3670-d1b0-4b49-6b13-6d426dd48536", + "x-ms-version": "2021-06-08" + }, + "Method": "PUT", + "Response": { + "BODY": "", + "REASON_PHRASE": "Created", + "STATUS_CODE": "201", + "content-length": "0", + "date": "Thu, 18 Aug 2022 07:14:32 GMT", + "etag": "\"0x8DA80E94A905682\"", + "last-modified": "Thu, 18 Aug 2022 07:14:29 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "1e8e3670-d1b0-4b49-6b13-6d426dd48536", + "x-ms-lease-id": "b5b2e3ec-7129-4330-7e90-72dd6cd539d4", + "x-ms-request-id": "a253a2a7-701a-0044-78d2-b2e499000000", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/fileshareclienttestlease?comp=lease&restype=share" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "2e58ffdf-a9a1-46c1-62d0-faf39a9e45b1", + "x-ms-version": "2021-06-08" + }, + "Method": "GET", + "Response": { + "BODY": "", + "REASON_PHRASE": "OK", + "STATUS_CODE": "200", + "content-length": "0", + "date": "Thu, 18 Aug 2022 07:14:32 GMT", + "etag": "\"0x8DA80E94A905682\"", + "last-modified": "Thu, 18 Aug 2022 07:14:29 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-access-tier": "TransactionOptimized", + "x-ms-access-tier-change-time": "Thu, 18 Aug 2022 07:14:29 GMT", + "x-ms-client-request-id": "2e58ffdf-a9a1-46c1-62d0-faf39a9e45b1", + "x-ms-has-immutability-policy": "false", + "x-ms-has-legal-hold": "false", + "x-ms-lease-duration": "infinite", + "x-ms-lease-state": "leased", + "x-ms-lease-status": "locked", + "x-ms-request-id": "a253a2a8-701a-0044-79d2-b2e499000000", + "x-ms-share-quota": "5120", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/fileshareclienttestlease?restype=share" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "d6b58ce7-3827-4a78-6dc1-3a58fcc7172b", + "x-ms-version": "2021-06-08" + }, + "Method": "PUT", + "Response": { + "BODY": "", + "REASON_PHRASE": "Accepted", + "STATUS_CODE": "202", + "content-length": "0", + "date": "Thu, 18 Aug 2022 07:14:33 GMT", + "etag": "\"0x8DA80E94A905682\"", + "last-modified": "Thu, 18 Aug 2022 07:14:29 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "d6b58ce7-3827-4a78-6dc1-3a58fcc7172b", + "x-ms-lease-time": "0", + "x-ms-request-id": "a253a2aa-701a-0044-7ad2-b2e499000000", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/fileshareclienttestlease?comp=lease&restype=share" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "d23bbabb-a058-47db-626c-4b9949f17ee7", + "x-ms-version": "2021-06-08" + }, + "Method": "DELETE", + "Response": { + "BODY": "", + "REASON_PHRASE": "Accepted", + "STATUS_CODE": "202", + "content-length": "0", + "date": "Thu, 18 Aug 2022 07:14:33 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "d23bbabb-a058-47db-626c-4b9949f17ee7", + "x-ms-request-id": "a253a2ab-701a-0044-7bd2-b2e499000000", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/fileshareclienttestlease?restype=share" + } + ] +} diff --git a/sdk/storage/azure-storage-files-shares/test/ut/recordings/FileShareClientTest.PremiumShare.json b/sdk/storage/azure-storage-files-shares/test/ut/recordings/FileShareClientTest.PremiumShare.json index 42244c13e7..9d4ff2f59e 100644 --- a/sdk/storage/azure-storage-files-shares/test/ut/recordings/FileShareClientTest.PremiumShare.json +++ b/sdk/storage/azure-storage-files-shares/test/ut/recordings/FileShareClientTest.PremiumShare.json @@ -2,9 +2,9 @@ "networkCallRecords": [ { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Pro 6.3 19041 19041.1.amd64fre.vb_release.191206-1406)", - "x-ms-client-request-id": "7578973b-1466-4073-7dd0-4d0805c4bf24", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "923181de-d189-4d4f-4ccc-bfe979e3154f", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -12,21 +12,21 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Fri, 25 Feb 2022 09:37:12 GMT", - "etag": "\"0x8D9F84266BCB14B\"", - "last-modified": "Fri, 25 Feb 2022 09:37:12 GMT", + "date": "Wed, 17 Aug 2022 08:48:03 GMT", + "etag": "\"0x8DA802D32D9B204\"", + "last-modified": "Wed, 17 Aug 2022 08:48:04 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "7578973b-1466-4073-7dd0-4d0805c4bf24", - "x-ms-request-id": "185c5f07-e01a-003c-622b-2af305000000", - "x-ms-version": "2020-02-10" + "x-ms-client-request-id": "923181de-d189-4d4f-4ccc-bfe979e3154f", + "x-ms-request-id": "6ecb2ebf-601a-0093-1216-b2b5ac000000", + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/fileshareclienttestpremiumshare?restype=share" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Pro 6.3 19041 19041.1.amd64fre.vb_release.191206-1406)", - "x-ms-client-request-id": "d05b4197-b142-4d5c-44d4-27c1fd4a532a", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "708af5f3-e63d-486f-7d42-1cd27be7c738", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -34,21 +34,21 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Fri, 25 Feb 2022 09:37:13 GMT", - "etag": "\"0x8D9F842677996FF\"", - "last-modified": "Fri, 25 Feb 2022 09:37:13 GMT", + "date": "Wed, 17 Aug 2022 08:48:04 GMT", + "etag": "\"0x8DA802D33A4BA48\"", + "last-modified": "Wed, 17 Aug 2022 08:48:05 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "d05b4197-b142-4d5c-44d4-27c1fd4a532a", - "x-ms-request-id": "61aed4d1-401a-0059-052b-2ade65000000", - "x-ms-version": "2020-02-10" + "x-ms-client-request-id": "708af5f3-e63d-486f-7d42-1cd27be7c738", + "x-ms-request-id": "6b9f0978-f01a-0073-2c16-b20175000000", + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/premiumshare?restype=share" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Pro 6.3 19041 19041.1.amd64fre.vb_release.191206-1406)", - "x-ms-client-request-id": "baf0fbc5-e307-4e85-4515-9dfc00d32773", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "69a8833b-c0e8-41aa-790f-515679d6c559", + "x-ms-version": "2021-06-08" }, "Method": "GET", "Response": { @@ -56,119 +56,120 @@ "REASON_PHRASE": "OK", "STATUS_CODE": "200", "content-length": "0", - "date": "Fri, 25 Feb 2022 09:37:14 GMT", - "etag": "\"0x8D9F842677996FF\"", - "last-modified": "Fri, 25 Feb 2022 09:37:13 GMT", + "date": "Wed, 17 Aug 2022 08:48:05 GMT", + "etag": "\"0x8DA802D33A4BA48\"", + "last-modified": "Wed, 17 Aug 2022 08:48:05 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "x-ms-access-tier": "Premium", - "x-ms-client-request-id": "baf0fbc5-e307-4e85-4515-9dfc00d32773", + "x-ms-client-request-id": "69a8833b-c0e8-41aa-790f-515679d6c559", "x-ms-enabled-protocols": "SMB", "x-ms-has-immutability-policy": "false", "x-ms-has-legal-hold": "false", "x-ms-lease-state": "available", "x-ms-lease-status": "unlocked", - "x-ms-request-id": "da56bb13-f01a-005c-422b-2a0cbe000000", - "x-ms-share-next-allowed-quota-downgrade-time": "Fri, 25 Feb 2022 09:37:13 GMT", + "x-ms-request-id": "6b9f0982-f01a-0073-3116-b20175000000", + "x-ms-share-next-allowed-quota-downgrade-time": "Wed, 17 Aug 2022 08:48:05 GMT", + "x-ms-share-provisioned-bandwidth-mibps": "110", "x-ms-share-provisioned-egress-mbps": "110", "x-ms-share-provisioned-ingress-mbps": "110", "x-ms-share-provisioned-iops": "3100", "x-ms-share-quota": "100", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/premiumshare?restype=share" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Pro 6.3 19041 19041.1.amd64fre.vb_release.191206-1406)", - "x-ms-client-request-id": "6b7e87b5-05e9-48dc-40dd-bfb66f501495", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "a8ca5823-27ed-46d6-6675-06e9ec91ed63", + "x-ms-version": "2021-06-08" }, "Method": "GET", "Response": { - "BODY": "premiumsharepremiumshareFri, 25 Feb 2022 09:37:13 GMT\"0x8D9F842677996FF\"unlockedavailable100SMBPremium3100110110Fri, 25 Feb 2022 09:37:13 GMT$account-encryption-keyfalse", + "BODY": "premiumsharepremiumshareWed, 17 Aug 2022 08:48:05 GMT\"0x8DA802D33A4BA48\"unlockedavailable100SMBPremium3100110110110Wed, 17 Aug 2022 08:48:05 GMT$account-encryption-keyfalse", "REASON_PHRASE": "OK", "STATUS_CODE": "200", "content-type": "application/xml", - "date": "Fri, 25 Feb 2022 09:37:15 GMT", + "date": "Wed, 17 Aug 2022 08:48:05 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "transfer-encoding": "chunked", - "x-ms-client-request-id": "6b7e87b5-05e9-48dc-40dd-bfb66f501495", - "x-ms-request-id": "9b7e8b0e-c01a-009c-322b-2af480000000", - "x-ms-version": "2020-02-10" + "x-ms-client-request-id": "a8ca5823-27ed-46d6-6675-06e9ec91ed63", + "x-ms-request-id": "6b9f0996-f01a-0073-4416-b20175000000", + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net?comp=list&prefix=premiumshare" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Pro 6.3 19041 19041.1.amd64fre.vb_release.191206-1406)", - "x-ms-client-request-id": "f76fa7c6-636f-48ff-42ec-e5e9bb4c94d4", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "d4d866e9-3029-44e7-7355-519af7a6e16f", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { - "BODY": "InvalidHeaderValueThe value for one of the HTTP headers is not in the correct format.\nRequestId:ff9ff323-301a-00c5-462b-2a7303000000\nTime:2022-02-25T09:37:17.0122004Zx-ms-access-tierHot", + "BODY": "InvalidHeaderValueThe value for one of the HTTP headers is not in the correct format.\nRequestId:6b9f09a2-f01a-0073-4c16-b20175000000\nTime:2022-08-17T08:48:06.3278838Zx-ms-access-tierHot", "REASON_PHRASE": "The value for one of the HTTP headers is not in the correct format.", "STATUS_CODE": "400", "content-length": "325", "content-type": "application/xml", - "date": "Fri, 25 Feb 2022 09:37:16 GMT", + "date": "Wed, 17 Aug 2022 08:48:05 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "f76fa7c6-636f-48ff-42ec-e5e9bb4c94d4", + "x-ms-client-request-id": "d4d866e9-3029-44e7-7355-519af7a6e16f", "x-ms-error-code": "InvalidHeaderValue", - "x-ms-request-id": "ff9ff323-301a-00c5-462b-2a7303000000", - "x-ms-version": "2020-02-10" + "x-ms-request-id": "6b9f09a2-f01a-0073-4c16-b20175000000", + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/premiumshare?comp=properties&restype=share" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Pro 6.3 19041 19041.1.amd64fre.vb_release.191206-1406)", - "x-ms-client-request-id": "c4bb8d41-6d36-448a-799f-244fc932bcad", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "721397f6-717a-4041-4693-91708a71ff18", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { - "BODY": "InvalidHeaderValueThe value for one of the HTTP headers is not in the correct format.\nRequestId:01dca1be-b01a-0062-4b2b-2a9bc1000000\nTime:2022-02-25T09:37:18.1177573Zx-ms-access-tierCool", + "BODY": "InvalidHeaderValueThe value for one of the HTTP headers is not in the correct format.\nRequestId:1edf6a83-701a-0099-3716-b2265b000000\nTime:2022-08-17T08:48:07.5681595Zx-ms-access-tierCool", "REASON_PHRASE": "The value for one of the HTTP headers is not in the correct format.", "STATUS_CODE": "400", "content-length": "326", "content-type": "application/xml", - "date": "Fri, 25 Feb 2022 09:37:17 GMT", + "date": "Wed, 17 Aug 2022 08:48:07 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "c4bb8d41-6d36-448a-799f-244fc932bcad", + "x-ms-client-request-id": "721397f6-717a-4041-4693-91708a71ff18", "x-ms-error-code": "InvalidHeaderValue", - "x-ms-request-id": "01dca1be-b01a-0062-4b2b-2a9bc1000000", - "x-ms-version": "2020-02-10" + "x-ms-request-id": "1edf6a83-701a-0099-3716-b2265b000000", + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/premiumshare?comp=properties&restype=share" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Pro 6.3 19041 19041.1.amd64fre.vb_release.191206-1406)", - "x-ms-client-request-id": "d23cf134-4906-445e-625d-c34b21131650", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "1c910319-3bf6-4f76-6b05-08d2a7bb0b8d", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { - "BODY": "InvalidHeaderValueThe value for one of the HTTP headers is not in the correct format.\nRequestId:f3cdb96f-e01a-008b-5f2b-2a5d8b000000\nTime:2022-02-25T09:37:19.1856618Zx-ms-access-tierTransactionOptimized", + "BODY": "InvalidHeaderValueThe value for one of the HTTP headers is not in the correct format.\nRequestId:f67cc101-d01a-0006-3516-b26a59000000\nTime:2022-08-17T08:48:08.7554023Zx-ms-access-tierTransactionOptimized", "REASON_PHRASE": "The value for one of the HTTP headers is not in the correct format.", "STATUS_CODE": "400", "content-length": "342", "content-type": "application/xml", - "date": "Fri, 25 Feb 2022 09:37:18 GMT", + "date": "Wed, 17 Aug 2022 08:48:08 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "d23cf134-4906-445e-625d-c34b21131650", + "x-ms-client-request-id": "1c910319-3bf6-4f76-6b05-08d2a7bb0b8d", "x-ms-error-code": "InvalidHeaderValue", - "x-ms-request-id": "f3cdb96f-e01a-008b-5f2b-2a5d8b000000", - "x-ms-version": "2020-02-10" + "x-ms-request-id": "f67cc101-d01a-0006-3516-b26a59000000", + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/premiumshare?comp=properties&restype=share" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Pro 6.3 19041 19041.1.amd64fre.vb_release.191206-1406)", - "x-ms-client-request-id": "ed077086-1073-4051-7c3c-5ae3dca33ba4", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "d103c99d-1f51-4c80-53a8-da4b177b75b7", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -176,21 +177,55 @@ "REASON_PHRASE": "OK", "STATUS_CODE": "200", "content-length": "0", - "date": "Fri, 25 Feb 2022 09:37:20 GMT", - "etag": "\"0x8D9F8426B5895E9\"", - "last-modified": "Fri, 25 Feb 2022 09:37:20 GMT", + "date": "Wed, 17 Aug 2022 08:48:09 GMT", + "etag": "\"0x8DA802D3650AD98\"", + "last-modified": "Wed, 17 Aug 2022 08:48:09 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "ed077086-1073-4051-7c3c-5ae3dca33ba4", - "x-ms-request-id": "04df7bb3-701a-001f-3a2b-2aeae2000000", - "x-ms-version": "2020-02-10" + "x-ms-client-request-id": "d103c99d-1f51-4c80-53a8-da4b177b75b7", + "x-ms-request-id": "01b9d087-601a-0085-2316-b2743b000000", + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/premiumshare?comp=properties&restype=share" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Pro 6.3 19041 19041.1.amd64fre.vb_release.191206-1406)", - "x-ms-client-request-id": "13de348f-7f41-4526-4668-cf9b1c273d81", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "45a2e0d3-3571-4643-602c-8e55e24b154c", + "x-ms-version": "2021-06-08" + }, + "Method": "GET", + "Response": { + "BODY": "", + "REASON_PHRASE": "OK", + "STATUS_CODE": "200", + "content-length": "0", + "date": "Wed, 17 Aug 2022 08:48:10 GMT", + "etag": "\"0x8DA802D3650AD98\"", + "last-modified": "Wed, 17 Aug 2022 08:48:09 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-access-tier": "Premium", + "x-ms-client-request-id": "45a2e0d3-3571-4643-602c-8e55e24b154c", + "x-ms-enabled-protocols": "SMB", + "x-ms-has-immutability-policy": "false", + "x-ms-has-legal-hold": "false", + "x-ms-lease-state": "available", + "x-ms-lease-status": "unlocked", + "x-ms-request-id": "01b9d097-601a-0085-3016-b2743b000000", + "x-ms-share-next-allowed-quota-downgrade-time": "Wed, 17 Aug 2022 08:48:05 GMT", + "x-ms-share-provisioned-bandwidth-mibps": "110", + "x-ms-share-provisioned-egress-mbps": "110", + "x-ms-share-provisioned-ingress-mbps": "110", + "x-ms-share-provisioned-iops": "3100", + "x-ms-share-quota": "100", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/premiumshare?restype=share" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "4f93c35b-f0df-47f0-6ef0-212fe305c9da", + "x-ms-version": "2021-06-08" }, "Method": "DELETE", "Response": { @@ -198,19 +233,271 @@ "REASON_PHRASE": "Accepted", "STATUS_CODE": "202", "content-length": "0", - "date": "Fri, 25 Feb 2022 09:37:20 GMT", + "date": "Wed, 17 Aug 2022 08:48:10 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "13de348f-7f41-4526-4668-cf9b1c273d81", - "x-ms-request-id": "7d4642bc-401a-0076-402b-2ad3ae000000", - "x-ms-version": "2020-02-10" + "x-ms-client-request-id": "4f93c35b-f0df-47f0-6ef0-212fe305c9da", + "x-ms-request-id": "01b9d0a0-601a-0085-3616-b2743b000000", + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/premiumshare?restype=share" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Pro 6.3 19041 19041.1.amd64fre.vb_release.191206-1406)", - "x-ms-client-request-id": "d29d41fb-cad2-4af8-7b44-7ddc461da6d6", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "5f4a87ea-15e3-42ac-60a6-41df7c474623", + "x-ms-version": "2021-06-08" + }, + "Method": "PUT", + "Response": { + "BODY": "", + "REASON_PHRASE": "Created", + "STATUS_CODE": "201", + "content-length": "0", + "date": "Wed, 17 Aug 2022 08:48:10 GMT", + "etag": "\"0x8DA802D36D4EE41\"", + "last-modified": "Wed, 17 Aug 2022 08:48:10 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "5f4a87ea-15e3-42ac-60a6-41df7c474623", + "x-ms-request-id": "01b9d0aa-601a-0085-3c16-b2743b000000", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/premiumshare1?restype=share" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "a71744dc-dcb9-48d0-629c-ab6d97fef1b5", + "x-ms-version": "2021-06-08" + }, + "Method": "GET", + "Response": { + "BODY": "", + "REASON_PHRASE": "OK", + "STATUS_CODE": "200", + "content-length": "0", + "date": "Wed, 17 Aug 2022 08:48:10 GMT", + "etag": "\"0x8DA802D36D4EE41\"", + "last-modified": "Wed, 17 Aug 2022 08:48:10 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-access-tier": "Premium", + "x-ms-client-request-id": "a71744dc-dcb9-48d0-629c-ab6d97fef1b5", + "x-ms-enabled-protocols": "NFS", + "x-ms-has-immutability-policy": "false", + "x-ms-has-legal-hold": "false", + "x-ms-lease-state": "available", + "x-ms-lease-status": "unlocked", + "x-ms-request-id": "01b9d0be-601a-0085-4716-b2743b000000", + "x-ms-root-squash": "AllSquash", + "x-ms-share-next-allowed-quota-downgrade-time": "Wed, 17 Aug 2022 08:48:10 GMT", + "x-ms-share-provisioned-bandwidth-mibps": "110", + "x-ms-share-provisioned-egress-mbps": "110", + "x-ms-share-provisioned-ingress-mbps": "110", + "x-ms-share-provisioned-iops": "3100", + "x-ms-share-quota": "100", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/premiumshare1?restype=share" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "6847aa03-22d4-46a2-44f7-9830682de22b", + "x-ms-version": "2021-06-08" + }, + "Method": "GET", + "Response": { + "BODY": "premiumshare1premiumshare1Wed, 17 Aug 2022 08:48:10 GMT\"0x8DA802D36D4EE41\"unlockedavailable100NFSAllSquashPremium3100110110110Wed, 17 Aug 2022 08:48:10 GMT$account-encryption-keyfalse", + "REASON_PHRASE": "OK", + "STATUS_CODE": "200", + "content-type": "application/xml", + "date": "Wed, 17 Aug 2022 08:48:11 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "transfer-encoding": "chunked", + "x-ms-client-request-id": "6847aa03-22d4-46a2-44f7-9830682de22b", + "x-ms-request-id": "01b9d0c5-601a-0085-4d16-b2743b000000", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net?comp=list&prefix=premiumshare1" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "a607e5a7-23ce-409c-4a97-29ff46569678", + "x-ms-version": "2021-06-08" + }, + "Method": "PUT", + "Response": { + "BODY": "", + "REASON_PHRASE": "OK", + "STATUS_CODE": "200", + "content-length": "0", + "date": "Wed, 17 Aug 2022 08:48:11 GMT", + "etag": "\"0x8DA802D375D622E\"", + "last-modified": "Wed, 17 Aug 2022 08:48:11 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "a607e5a7-23ce-409c-4a97-29ff46569678", + "x-ms-request-id": "01b9d0d3-601a-0085-5916-b2743b000000", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/premiumshare1?comp=properties&restype=share" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "7ba216d1-7ae6-417b-5b3d-fb85425c9f1e", + "x-ms-version": "2021-06-08" + }, + "Method": "GET", + "Response": { + "BODY": "", + "REASON_PHRASE": "OK", + "STATUS_CODE": "200", + "content-length": "0", + "date": "Wed, 17 Aug 2022 08:48:11 GMT", + "etag": "\"0x8DA802D375D622E\"", + "last-modified": "Wed, 17 Aug 2022 08:48:11 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-access-tier": "Premium", + "x-ms-client-request-id": "7ba216d1-7ae6-417b-5b3d-fb85425c9f1e", + "x-ms-enabled-protocols": "NFS", + "x-ms-has-immutability-policy": "false", + "x-ms-has-legal-hold": "false", + "x-ms-lease-state": "available", + "x-ms-lease-status": "unlocked", + "x-ms-request-id": "01b9d0da-601a-0085-5f16-b2743b000000", + "x-ms-root-squash": "NoRootSquash", + "x-ms-share-next-allowed-quota-downgrade-time": "Wed, 17 Aug 2022 08:48:10 GMT", + "x-ms-share-provisioned-bandwidth-mibps": "110", + "x-ms-share-provisioned-egress-mbps": "110", + "x-ms-share-provisioned-ingress-mbps": "110", + "x-ms-share-provisioned-iops": "3100", + "x-ms-share-quota": "100", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/premiumshare1?restype=share" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "712579d1-03b6-4252-6713-0a6b307b8c99", + "x-ms-version": "2021-06-08" + }, + "Method": "DELETE", + "Response": { + "BODY": "", + "REASON_PHRASE": "Accepted", + "STATUS_CODE": "202", + "content-length": "0", + "date": "Wed, 17 Aug 2022 08:48:12 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "712579d1-03b6-4252-6713-0a6b307b8c99", + "x-ms-request-id": "01b9d0e6-601a-0085-6716-b2743b000000", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/premiumshare1?restype=share" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "ab013095-b3a5-4dd5-52b6-57f60394f7f3", + "x-ms-version": "2021-06-08" + }, + "Method": "PUT", + "Response": { + "BODY": "", + "REASON_PHRASE": "Created", + "STATUS_CODE": "201", + "content-length": "0", + "date": "Wed, 17 Aug 2022 08:48:12 GMT", + "etag": "\"0x8DA802D37E43AA8\"", + "last-modified": "Wed, 17 Aug 2022 08:48:12 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "ab013095-b3a5-4dd5-52b6-57f60394f7f3", + "x-ms-request-id": "01b9d0f9-601a-0085-7616-b2743b000000", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/premiumshare2?restype=share" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "7c26f324-4c45-4332-53e5-a226ca1df957", + "x-ms-version": "2021-06-08" + }, + "Method": "GET", + "Response": { + "BODY": "", + "REASON_PHRASE": "OK", + "STATUS_CODE": "200", + "content-length": "0", + "date": "Wed, 17 Aug 2022 08:48:12 GMT", + "etag": "\"0x8DA802D37E43AA8\"", + "last-modified": "Wed, 17 Aug 2022 08:48:12 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-access-tier": "Premium", + "x-ms-client-request-id": "7c26f324-4c45-4332-53e5-a226ca1df957", + "x-ms-enabled-protocols": "SMB", + "x-ms-has-immutability-policy": "false", + "x-ms-has-legal-hold": "false", + "x-ms-lease-state": "available", + "x-ms-lease-status": "unlocked", + "x-ms-request-id": "01b9d108-601a-0085-7e16-b2743b000000", + "x-ms-share-next-allowed-quota-downgrade-time": "Wed, 17 Aug 2022 08:48:12 GMT", + "x-ms-share-provisioned-bandwidth-mibps": "110", + "x-ms-share-provisioned-egress-mbps": "110", + "x-ms-share-provisioned-ingress-mbps": "110", + "x-ms-share-provisioned-iops": "3100", + "x-ms-share-quota": "100", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/premiumshare2?restype=share" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "432e8752-fda5-459a-6ba3-56ee36dc3b71", + "x-ms-version": "2021-06-08" + }, + "Method": "GET", + "Response": { + "BODY": "premiumshare2premiumshare2Wed, 17 Aug 2022 08:48:12 GMT\"0x8DA802D37E43AA8\"unlockedavailable100SMBPremium3100110110110Wed, 17 Aug 2022 08:48:12 GMT$account-encryption-keyfalse", + "REASON_PHRASE": "OK", + "STATUS_CODE": "200", + "content-type": "application/xml", + "date": "Wed, 17 Aug 2022 08:48:12 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "transfer-encoding": "chunked", + "x-ms-client-request-id": "432e8752-fda5-459a-6ba3-56ee36dc3b71", + "x-ms-request-id": "01b9d111-601a-0085-0616-b2743b000000", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net?comp=list&prefix=premiumshare2" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "4118ea00-6880-4f76-6dc8-28e0995a88ef", + "x-ms-version": "2021-06-08" + }, + "Method": "DELETE", + "Response": { + "BODY": "", + "REASON_PHRASE": "Accepted", + "STATUS_CODE": "202", + "content-length": "0", + "date": "Wed, 17 Aug 2022 08:48:13 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "4118ea00-6880-4f76-6dc8-28e0995a88ef", + "x-ms-request-id": "01b9d118-601a-0085-0c16-b2743b000000", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/premiumshare2?restype=share" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "be68090f-7c4f-4c31-4bd2-11530499d4f6", + "x-ms-version": "2021-06-08" }, "Method": "DELETE", "Response": { @@ -218,11 +505,11 @@ "REASON_PHRASE": "Accepted", "STATUS_CODE": "202", "content-length": "0", - "date": "Fri, 25 Feb 2022 09:37:22 GMT", + "date": "Wed, 17 Aug 2022 08:48:13 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "d29d41fb-cad2-4af8-7b44-7ddc461da6d6", - "x-ms-request-id": "eaddb71a-d01a-007a-092b-2ac782000000", - "x-ms-version": "2020-02-10" + "x-ms-client-request-id": "be68090f-7c4f-4c31-4bd2-11530499d4f6", + "x-ms-request-id": "6ecb2ecf-601a-0093-1716-b2b5ac000000", + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/fileshareclienttestpremiumshare?restype=share" } diff --git a/sdk/storage/azure-storage-files-shares/test/ut/recordings/FileShareClientTest.SnapshotLease.json b/sdk/storage/azure-storage-files-shares/test/ut/recordings/FileShareClientTest.SnapshotLease.json new file mode 100644 index 0000000000..73d6a1aba0 --- /dev/null +++ b/sdk/storage/azure-storage-files-shares/test/ut/recordings/FileShareClientTest.SnapshotLease.json @@ -0,0 +1,484 @@ +{ + "networkCallRecords": [ + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "6cdadf04-fb62-4de3-4b69-69ea320ab9e9", + "x-ms-version": "2021-06-08" + }, + "Method": "PUT", + "Response": { + "BODY": "", + "REASON_PHRASE": "Created", + "STATUS_CODE": "201", + "content-length": "0", + "date": "Thu, 18 Aug 2022 07:14:33 GMT", + "etag": "\"0x8DA80E94D5D8DEF\"", + "last-modified": "Thu, 18 Aug 2022 07:14:34 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "6cdadf04-fb62-4de3-4b69-69ea320ab9e9", + "x-ms-request-id": "a253a2ac-701a-0044-7cd2-b2e499000000", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/fileshareclienttestsnapshotlease?restype=share" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "50174530-4676-4ddc-42e4-7f713c4f1994", + "x-ms-version": "2021-06-08" + }, + "Method": "PUT", + "Response": { + "BODY": "", + "REASON_PHRASE": "Created", + "STATUS_CODE": "201", + "content-length": "0", + "date": "Thu, 18 Aug 2022 07:14:34 GMT", + "etag": "\"0x8DA80E94D5D8DEF\"", + "last-modified": "Thu, 18 Aug 2022 07:14:34 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "50174530-4676-4ddc-42e4-7f713c4f1994", + "x-ms-request-id": "a253a2b2-701a-0044-7fd2-b2e499000000", + "x-ms-snapshot": "2022-08-18T07:14:34.0000000Z", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/fileshareclienttestsnapshotlease?comp=snapshot&restype=share" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "11fff7a7-3800-4b73-617e-3c0ea16b6057", + "x-ms-version": "2021-06-08" + }, + "Method": "GET", + "Response": { + "BODY": "", + "REASON_PHRASE": "OK", + "STATUS_CODE": "200", + "content-length": "0", + "date": "Thu, 18 Aug 2022 07:14:34 GMT", + "etag": "\"0x8DA80E94D5D8DEF\"", + "last-modified": "Thu, 18 Aug 2022 07:14:34 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-access-tier": "TransactionOptimized", + "x-ms-access-tier-change-time": "Thu, 18 Aug 2022 07:14:34 GMT", + "x-ms-client-request-id": "11fff7a7-3800-4b73-617e-3c0ea16b6057", + "x-ms-has-immutability-policy": "false", + "x-ms-has-legal-hold": "false", + "x-ms-lease-state": "available", + "x-ms-lease-status": "unlocked", + "x-ms-request-id": "a253a2b3-701a-0044-80d2-b2e499000000", + "x-ms-share-quota": "5120", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/fileshareclienttestsnapshotlease?restype=share" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "ad2f8310-94fa-4b10-4b31-f84a61e0b58c", + "x-ms-version": "2021-06-08" + }, + "Method": "PUT", + "Response": { + "BODY": "", + "REASON_PHRASE": "Created", + "STATUS_CODE": "201", + "content-length": "0", + "date": "Thu, 18 Aug 2022 07:14:34 GMT", + "etag": "\"0x8DA80E94D5D8DEF\"", + "last-modified": "Thu, 18 Aug 2022 07:14:34 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "ad2f8310-94fa-4b10-4b31-f84a61e0b58c", + "x-ms-lease-id": "af32e18c-7117-488a-7a60-c4ff5d7281d3", + "x-ms-request-id": "a253a2b4-701a-0044-01d2-b2e499000000", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/fileshareclienttestsnapshotlease?comp=lease&restype=share&sharesnapshot=2022-08-18T07:14:34.0000000Z" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "03997271-fb36-4de8-6f6f-83d67aa2e49a", + "x-ms-version": "2021-06-08" + }, + "Method": "GET", + "Response": { + "BODY": "", + "REASON_PHRASE": "OK", + "STATUS_CODE": "200", + "content-length": "0", + "date": "Thu, 18 Aug 2022 07:14:35 GMT", + "etag": "\"0x8DA80E94D5D8DEF\"", + "last-modified": "Thu, 18 Aug 2022 07:14:34 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-access-tier": "TransactionOptimized", + "x-ms-access-tier-change-time": "Thu, 18 Aug 2022 07:14:34 GMT", + "x-ms-client-request-id": "03997271-fb36-4de8-6f6f-83d67aa2e49a", + "x-ms-has-immutability-policy": "false", + "x-ms-has-legal-hold": "false", + "x-ms-lease-duration": "fixed", + "x-ms-lease-state": "leased", + "x-ms-lease-status": "locked", + "x-ms-request-id": "a253a2b5-701a-0044-02d2-b2e499000000", + "x-ms-share-quota": "5120", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/fileshareclienttestsnapshotlease?restype=share&sharesnapshot=2022-08-18T07:14:34.0000000Z" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "403ff85d-7150-49f9-4c8c-623dc8dc2437", + "x-ms-version": "2021-06-08" + }, + "Method": "PUT", + "Response": { + "BODY": "", + "REASON_PHRASE": "Created", + "STATUS_CODE": "201", + "content-length": "0", + "date": "Thu, 18 Aug 2022 07:14:35 GMT", + "etag": "\"0x8DA80E94D5D8DEF\"", + "last-modified": "Thu, 18 Aug 2022 07:14:34 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "403ff85d-7150-49f9-4c8c-623dc8dc2437", + "x-ms-lease-id": "af32e18c-7117-488a-7a60-c4ff5d7281d3", + "x-ms-request-id": "a253a2b7-701a-0044-03d2-b2e499000000", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/fileshareclienttestsnapshotlease?comp=lease&restype=share&sharesnapshot=2022-08-18T07:14:34.0000000Z" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "b7ab9fd9-1ff3-456c-6735-e5b311a08291", + "x-ms-version": "2021-06-08" + }, + "Method": "GET", + "Response": { + "BODY": "", + "REASON_PHRASE": "OK", + "STATUS_CODE": "200", + "content-length": "0", + "date": "Thu, 18 Aug 2022 07:14:35 GMT", + "etag": "\"0x8DA80E94D5D8DEF\"", + "last-modified": "Thu, 18 Aug 2022 07:14:34 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-access-tier": "TransactionOptimized", + "x-ms-access-tier-change-time": "Thu, 18 Aug 2022 07:14:34 GMT", + "x-ms-client-request-id": "b7ab9fd9-1ff3-456c-6735-e5b311a08291", + "x-ms-has-immutability-policy": "false", + "x-ms-has-legal-hold": "false", + "x-ms-lease-duration": "infinite", + "x-ms-lease-state": "leased", + "x-ms-lease-status": "locked", + "x-ms-request-id": "a253a2b8-701a-0044-04d2-b2e499000000", + "x-ms-share-quota": "5120", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/fileshareclienttestsnapshotlease?restype=share&sharesnapshot=2022-08-18T07:14:34.0000000Z" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "b1a6dcf5-7a0f-447a-4cbe-0133b5c78025", + "x-ms-version": "2021-06-08" + }, + "Method": "GET", + "Response": { + "BODY": "", + "REASON_PHRASE": "OK", + "STATUS_CODE": "200", + "content-length": "0", + "date": "Thu, 18 Aug 2022 07:14:36 GMT", + "etag": "\"0x8DA80E94D5D8DEF\"", + "last-modified": "Thu, 18 Aug 2022 07:14:34 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-access-tier": "TransactionOptimized", + "x-ms-access-tier-change-time": "Thu, 18 Aug 2022 07:14:34 GMT", + "x-ms-client-request-id": "b1a6dcf5-7a0f-447a-4cbe-0133b5c78025", + "x-ms-has-immutability-policy": "false", + "x-ms-has-legal-hold": "false", + "x-ms-lease-duration": "infinite", + "x-ms-lease-state": "leased", + "x-ms-lease-status": "locked", + "x-ms-request-id": "a253a2b9-701a-0044-05d2-b2e499000000", + "x-ms-share-quota": "5120", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/fileshareclienttestsnapshotlease?restype=share&sharesnapshot=2022-08-18T07:14:34.0000000Z" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "c280450c-1e40-4b6a-5b4a-dd89c6e741de", + "x-ms-version": "2021-06-08" + }, + "Method": "PUT", + "Response": { + "BODY": "", + "REASON_PHRASE": "OK", + "STATUS_CODE": "200", + "content-length": "0", + "date": "Thu, 18 Aug 2022 07:14:36 GMT", + "etag": "\"0x8DA80E94D5D8DEF\"", + "last-modified": "Thu, 18 Aug 2022 07:14:34 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "c280450c-1e40-4b6a-5b4a-dd89c6e741de", + "x-ms-lease-id": "af32e18c-7117-488a-7a60-c4ff5d7281d3", + "x-ms-request-id": "a253a2ba-701a-0044-06d2-b2e499000000", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/fileshareclienttestsnapshotlease?comp=lease&restype=share&sharesnapshot=2022-08-18T07:14:34.0000000Z" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "b926ef36-2f3d-470e-5434-53e74db01339", + "x-ms-version": "2021-06-08" + }, + "Method": "GET", + "Response": { + "BODY": "", + "REASON_PHRASE": "OK", + "STATUS_CODE": "200", + "content-length": "0", + "date": "Thu, 18 Aug 2022 07:14:36 GMT", + "etag": "\"0x8DA80E94D5D8DEF\"", + "last-modified": "Thu, 18 Aug 2022 07:14:34 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-access-tier": "TransactionOptimized", + "x-ms-access-tier-change-time": "Thu, 18 Aug 2022 07:14:34 GMT", + "x-ms-client-request-id": "b926ef36-2f3d-470e-5434-53e74db01339", + "x-ms-has-immutability-policy": "false", + "x-ms-has-legal-hold": "false", + "x-ms-lease-duration": "infinite", + "x-ms-lease-state": "leased", + "x-ms-lease-status": "locked", + "x-ms-request-id": "a253a2bb-701a-0044-07d2-b2e499000000", + "x-ms-share-quota": "5120", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/fileshareclienttestsnapshotlease?restype=share&sharesnapshot=2022-08-18T07:14:34.0000000Z" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "6c1c0127-8800-4af3-4eb1-52867442b830", + "x-ms-version": "2021-06-08" + }, + "Method": "PUT", + "Response": { + "BODY": "", + "REASON_PHRASE": "OK", + "STATUS_CODE": "200", + "content-length": "0", + "date": "Thu, 18 Aug 2022 07:14:36 GMT", + "etag": "\"0x8DA80E94D5D8DEF\"", + "last-modified": "Thu, 18 Aug 2022 07:14:34 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "6c1c0127-8800-4af3-4eb1-52867442b830", + "x-ms-lease-id": "a45b29e6-1957-4b1b-54bb-1b1795911a32", + "x-ms-request-id": "a253a2bd-701a-0044-08d2-b2e499000000", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/fileshareclienttestsnapshotlease?comp=lease&restype=share&sharesnapshot=2022-08-18T07:14:34.0000000Z" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "cc5073eb-2162-40e5-6fa7-2881a256e7fd", + "x-ms-version": "2021-06-08" + }, + "Method": "GET", + "Response": { + "BODY": "", + "REASON_PHRASE": "OK", + "STATUS_CODE": "200", + "content-length": "0", + "date": "Thu, 18 Aug 2022 07:14:37 GMT", + "etag": "\"0x8DA80E94D5D8DEF\"", + "last-modified": "Thu, 18 Aug 2022 07:14:34 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-access-tier": "TransactionOptimized", + "x-ms-access-tier-change-time": "Thu, 18 Aug 2022 07:14:34 GMT", + "x-ms-client-request-id": "cc5073eb-2162-40e5-6fa7-2881a256e7fd", + "x-ms-has-immutability-policy": "false", + "x-ms-has-legal-hold": "false", + "x-ms-lease-duration": "infinite", + "x-ms-lease-state": "leased", + "x-ms-lease-status": "locked", + "x-ms-request-id": "a253a2be-701a-0044-09d2-b2e499000000", + "x-ms-share-quota": "5120", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/fileshareclienttestsnapshotlease?restype=share&sharesnapshot=2022-08-18T07:14:34.0000000Z" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "b654af1f-5401-4122-6260-9c6fc8a604be", + "x-ms-version": "2021-06-08" + }, + "Method": "PUT", + "Response": { + "BODY": "", + "REASON_PHRASE": "OK", + "STATUS_CODE": "200", + "content-length": "0", + "date": "Thu, 18 Aug 2022 07:14:37 GMT", + "etag": "\"0x8DA80E94D5D8DEF\"", + "last-modified": "Thu, 18 Aug 2022 07:14:34 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "b654af1f-5401-4122-6260-9c6fc8a604be", + "x-ms-lease-time": "0", + "x-ms-request-id": "a253a2bf-701a-0044-0ad2-b2e499000000", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/fileshareclienttestsnapshotlease?comp=lease&restype=share&sharesnapshot=2022-08-18T07:14:34.0000000Z" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "c447ed4f-5b95-4a9f-55a3-f7499e44f743", + "x-ms-version": "2021-06-08" + }, + "Method": "PUT", + "Response": { + "BODY": "", + "REASON_PHRASE": "Created", + "STATUS_CODE": "201", + "content-length": "0", + "date": "Thu, 18 Aug 2022 07:14:37 GMT", + "etag": "\"0x8DA80E94D5D8DEF\"", + "last-modified": "Thu, 18 Aug 2022 07:14:34 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "c447ed4f-5b95-4a9f-55a3-f7499e44f743", + "x-ms-lease-id": "45ae04e9-e868-476d-7493-e03b687e52af", + "x-ms-request-id": "a253a2c0-701a-0044-0bd2-b2e499000000", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/fileshareclienttestsnapshotlease?comp=lease&restype=share&sharesnapshot=2022-08-18T07:14:34.0000000Z" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "17be3b9e-7ff7-42b9-4442-a906394e7d78", + "x-ms-version": "2021-06-08" + }, + "Method": "GET", + "Response": { + "BODY": "", + "REASON_PHRASE": "OK", + "STATUS_CODE": "200", + "content-length": "0", + "date": "Thu, 18 Aug 2022 07:14:38 GMT", + "etag": "\"0x8DA80E94D5D8DEF\"", + "last-modified": "Thu, 18 Aug 2022 07:14:34 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-access-tier": "TransactionOptimized", + "x-ms-access-tier-change-time": "Thu, 18 Aug 2022 07:14:34 GMT", + "x-ms-client-request-id": "17be3b9e-7ff7-42b9-4442-a906394e7d78", + "x-ms-has-immutability-policy": "false", + "x-ms-has-legal-hold": "false", + "x-ms-lease-duration": "infinite", + "x-ms-lease-state": "leased", + "x-ms-lease-status": "locked", + "x-ms-request-id": "a253a2c1-701a-0044-0cd2-b2e499000000", + "x-ms-share-quota": "5120", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/fileshareclienttestsnapshotlease?restype=share&sharesnapshot=2022-08-18T07:14:34.0000000Z" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "033ccaf8-eafb-4cb8-74af-880a87a99ef1", + "x-ms-version": "2021-06-08" + }, + "Method": "PUT", + "Response": { + "BODY": "", + "REASON_PHRASE": "Accepted", + "STATUS_CODE": "202", + "content-length": "0", + "date": "Thu, 18 Aug 2022 07:14:38 GMT", + "etag": "\"0x8DA80E94D5D8DEF\"", + "last-modified": "Thu, 18 Aug 2022 07:14:34 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "033ccaf8-eafb-4cb8-74af-880a87a99ef1", + "x-ms-lease-time": "0", + "x-ms-request-id": "a253a2c2-701a-0044-0dd2-b2e499000000", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/fileshareclienttestsnapshotlease?comp=lease&restype=share&sharesnapshot=2022-08-18T07:14:34.0000000Z" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "356bcfe1-9edd-4153-7cb0-cdc8d292f2d4", + "x-ms-version": "2021-06-08" + }, + "Method": "PUT", + "Response": { + "BODY": "", + "REASON_PHRASE": "OK", + "STATUS_CODE": "200", + "content-length": "0", + "date": "Thu, 18 Aug 2022 07:14:38 GMT", + "etag": "\"0x8DA80E94D5D8DEF\"", + "last-modified": "Thu, 18 Aug 2022 07:14:34 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "356bcfe1-9edd-4153-7cb0-cdc8d292f2d4", + "x-ms-lease-time": "0", + "x-ms-request-id": "a253a2c3-701a-0044-0ed2-b2e499000000", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/fileshareclienttestsnapshotlease?comp=lease&restype=share&sharesnapshot=2022-08-18T07:14:34.0000000Z" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "654230ed-9c28-4e54-73c1-ef9a226dcf0b", + "x-ms-version": "2021-06-08" + }, + "Method": "DELETE", + "Response": { + "BODY": "ShareHasSnapshotsThe share has snapshots and the operation requires no snapshots.\nRequestId:a253a2c4-701a-0044-0fd2-b2e499000000\nTime:2022-08-18T07:14:39.0590129Z", + "REASON_PHRASE": "The share has snapshots and the operation requires no snapshots.", + "STATUS_CODE": "409", + "content-length": "250", + "content-type": "application/xml", + "date": "Thu, 18 Aug 2022 07:14:38 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "654230ed-9c28-4e54-73c1-ef9a226dcf0b", + "x-ms-error-code": "ShareHasSnapshots", + "x-ms-request-id": "a253a2c4-701a-0044-0fd2-b2e499000000", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/fileshareclienttestsnapshotlease?restype=share" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "cf55dd6c-831e-4b07-6644-c6bd92bbff49", + "x-ms-version": "2021-06-08" + }, + "Method": "DELETE", + "Response": { + "BODY": "", + "REASON_PHRASE": "Accepted", + "STATUS_CODE": "202", + "content-length": "0", + "date": "Thu, 18 Aug 2022 07:14:39 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "cf55dd6c-831e-4b07-6644-c6bd92bbff49", + "x-ms-request-id": "6c3151a3-501a-0021-3bd2-b24add000000", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/fileshareclienttestsnapshotlease?restype=share" + } + ] +} diff --git a/sdk/storage/azure-storage-files-shares/test/ut/recordings/FileShareDirectoryClientTest.DirectorySmbProperties.json b/sdk/storage/azure-storage-files-shares/test/ut/recordings/FileShareDirectoryClientTest.DirectorySmbProperties.json index 5fe121dd3e..55e04dc575 100644 --- a/sdk/storage/azure-storage-files-shares/test/ut/recordings/FileShareDirectoryClientTest.DirectorySmbProperties.json +++ b/sdk/storage/azure-storage-files-shares/test/ut/recordings/FileShareDirectoryClientTest.DirectorySmbProperties.json @@ -2,9 +2,9 @@ "networkCallRecords": [ { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "23b44fbf-c7b8-4be8-68c2-5962d98b7f35", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "6375da66-b792-49bb-7936-b87aec42b5c1", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -12,21 +12,21 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Tue, 04 Jan 2022 22:04:55 GMT", - "etag": "\"0x8D9CFCE3DA1125C\"", - "last-modified": "Tue, 04 Jan 2022 22:04:55 GMT", + "date": "Fri, 12 Aug 2022 03:01:31 GMT", + "etag": "\"0x8DA7C0EF5CB48D3\"", + "last-modified": "Fri, 12 Aug 2022 03:01:32 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "23b44fbf-c7b8-4be8-68c2-5962d98b7f35", - "x-ms-request-id": "1ae27804-901a-005c-16b7-01ea5f000000", - "x-ms-version": "2020-02-10" + "x-ms-client-request-id": "6375da66-b792-49bb-7936-b87aec42b5c1", + "x-ms-request-id": "5a2c55e7-d01a-005d-24f7-ad6422000000", + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/filesharedirectoryclienttestdirectorysmbproperties?restype=share" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "3ed04606-8ff4-496a-6e07-c9a590322e94", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "005b87d7-754b-4b94-77e5-135dfeb0e6fe", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -34,29 +34,29 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Tue, 04 Jan 2022 22:04:55 GMT", - "etag": "\"0x8D9CFCE3DA4F025\"", - "last-modified": "Tue, 04 Jan 2022 22:04:55 GMT", + "date": "Fri, 12 Aug 2022 03:01:32 GMT", + "etag": "\"0x8DA7C0EF5F9F869\"", + "last-modified": "Fri, 12 Aug 2022 03:01:32 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "3ed04606-8ff4-496a-6e07-c9a590322e94", + "x-ms-client-request-id": "005b87d7-754b-4b94-77e5-135dfeb0e6fe", "x-ms-file-attributes": "Directory", - "x-ms-file-change-time": "2022-01-04T22:04:55.4068005Z", - "x-ms-file-creation-time": "2022-01-04T22:04:55.4068005Z", + "x-ms-file-change-time": "2022-08-12T03:01:32.4532841Z", + "x-ms-file-creation-time": "2022-08-12T03:01:32.4532841Z", "x-ms-file-id": "13835128424026341376", - "x-ms-file-last-write-time": "2022-01-04T22:04:55.4068005Z", + "x-ms-file-last-write-time": "2022-08-12T03:01:32.4532841Z", "x-ms-file-parent-id": "0", - "x-ms-file-permission-key": "16667920363481994929*10343500956293103928", - "x-ms-request-id": "1ae27807-901a-005c-17b7-01ea5f000000", + "x-ms-file-permission-key": "13199961128260716138*16137673612980802019", + "x-ms-request-id": "5a2c55f9-d01a-005d-33f7-ad6422000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/filesharedirectoryclienttestdirectorysmbproperties/DirectorySmbPropertiesbase?restype=directory" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "ed342000-a8e6-45ec-78bd-738c8b3e7692", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "5d6eb2c7-5391-47d6-4a76-04c462c19620", + "x-ms-version": "2021-06-08" }, "Method": "GET", "Response": { @@ -64,29 +64,29 @@ "REASON_PHRASE": "OK", "STATUS_CODE": "200", "content-length": "0", - "date": "Tue, 04 Jan 2022 22:04:55 GMT", - "etag": "\"0x8D9CFCE3DA4F025\"", - "last-modified": "Tue, 04 Jan 2022 22:04:55 GMT", + "date": "Fri, 12 Aug 2022 03:01:32 GMT", + "etag": "\"0x8DA7C0EF5F9F869\"", + "last-modified": "Fri, 12 Aug 2022 03:01:32 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "ed342000-a8e6-45ec-78bd-738c8b3e7692", + "x-ms-client-request-id": "5d6eb2c7-5391-47d6-4a76-04c462c19620", "x-ms-file-attributes": "Directory", - "x-ms-file-change-time": "2022-01-04T22:04:55.4068005Z", - "x-ms-file-creation-time": "2022-01-04T22:04:55.4068005Z", + "x-ms-file-change-time": "2022-08-12T03:01:32.4532841Z", + "x-ms-file-creation-time": "2022-08-12T03:01:32.4532841Z", "x-ms-file-id": "13835128424026341376", - "x-ms-file-last-write-time": "2022-01-04T22:04:55.4068005Z", + "x-ms-file-last-write-time": "2022-08-12T03:01:32.4532841Z", "x-ms-file-parent-id": "0", - "x-ms-file-permission-key": "16667920363481994929*10343500956293103928", - "x-ms-request-id": "1ae27809-901a-005c-18b7-01ea5f000000", + "x-ms-file-permission-key": "13199961128260716138*16137673612980802019", + "x-ms-request-id": "5a2c55fa-d01a-005d-34f7-ad6422000000", "x-ms-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/filesharedirectoryclienttestdirectorysmbproperties/DirectorySmbPropertiesbase?restype=directory" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "ded94ec4-8e70-4191-7d6f-006817a941a0", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "dfe52271-5592-4020-70f6-cfe629c7adb3", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -94,29 +94,29 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Tue, 04 Jan 2022 22:04:55 GMT", - "etag": "\"0x8D9CFCE3DA6ECC6\"", - "last-modified": "Tue, 04 Jan 2022 22:04:55 GMT", + "date": "Fri, 12 Aug 2022 03:01:32 GMT", + "etag": "\"0x8DA7C0EF631DACC\"", + "last-modified": "Fri, 12 Aug 2022 03:01:32 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "ded94ec4-8e70-4191-7d6f-006817a941a0", + "x-ms-client-request-id": "dfe52271-5592-4020-70f6-cfe629c7adb3", "x-ms-file-attributes": "Directory | NotContentIndexed", - "x-ms-file-change-time": "2022-01-04T22:04:55.4198214Z", - "x-ms-file-creation-time": "2022-01-04T22:04:55.4198214Z", + "x-ms-file-change-time": "2022-08-12T03:01:32.8195279Z", + "x-ms-file-creation-time": "2022-08-12T03:01:32.8195276Z", "x-ms-file-id": "11529285414812647424", - "x-ms-file-last-write-time": "2022-01-04T22:04:55.4198216Z", + "x-ms-file-last-write-time": "2022-08-12T03:01:32.8195278Z", "x-ms-file-parent-id": "0", - "x-ms-file-permission-key": "16667920363481994929*10343500956293103928", - "x-ms-request-id": "1ae2780a-901a-005c-19b7-01ea5f000000", + "x-ms-file-permission-key": "13199961128260716138*16137673612980802019", + "x-ms-request-id": "5a2c55fb-d01a-005d-35f7-ad6422000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/filesharedirectoryclienttestdirectorysmbproperties/DirectorySmbProperties1?restype=directory" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "6d1ee3ad-445c-4da7-6d4e-d0b2a0b88469", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "fb3cab6c-d3e1-4610-76f6-591b4c873eb4", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -124,29 +124,29 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Tue, 04 Jan 2022 22:04:55 GMT", - "etag": "\"0x8D9CFCE3DA6ECC6\"", - "last-modified": "Tue, 04 Jan 2022 22:04:55 GMT", + "date": "Fri, 12 Aug 2022 03:01:32 GMT", + "etag": "\"0x8DA7C0EF631DACC\"", + "last-modified": "Fri, 12 Aug 2022 03:01:32 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "6d1ee3ad-445c-4da7-6d4e-d0b2a0b88469", + "x-ms-client-request-id": "fb3cab6c-d3e1-4610-76f6-591b4c873eb4", "x-ms-file-attributes": "Directory | NotContentIndexed", - "x-ms-file-change-time": "2022-01-04T22:04:55.4198214Z", - "x-ms-file-creation-time": "2022-01-04T22:04:55.4198214Z", + "x-ms-file-change-time": "2022-08-12T03:01:32.8195279Z", + "x-ms-file-creation-time": "2022-08-12T03:01:32.8195276Z", "x-ms-file-id": "16140971433240035328", - "x-ms-file-last-write-time": "2022-01-04T22:04:55.4198216Z", + "x-ms-file-last-write-time": "2022-08-12T03:01:32.8195278Z", "x-ms-file-parent-id": "0", - "x-ms-file-permission-key": "16667920363481994929*10343500956293103928", - "x-ms-request-id": "1ae2780b-901a-005c-1ab7-01ea5f000000", + "x-ms-file-permission-key": "13199961128260716138*16137673612980802019", + "x-ms-request-id": "5a2c55fc-d01a-005d-36f7-ad6422000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/filesharedirectoryclienttestdirectorysmbproperties/DirectorySmbProperties2?restype=directory" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "764ab5a2-cd33-441a-7654-69b04c53815d", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "082fd2a0-643f-4da6-5ada-aa08ae2c0e44", + "x-ms-version": "2021-06-08" }, "Method": "GET", "Response": { @@ -154,29 +154,29 @@ "REASON_PHRASE": "OK", "STATUS_CODE": "200", "content-length": "0", - "date": "Tue, 04 Jan 2022 22:04:55 GMT", - "etag": "\"0x8D9CFCE3DA6ECC6\"", - "last-modified": "Tue, 04 Jan 2022 22:04:55 GMT", + "date": "Fri, 12 Aug 2022 03:01:33 GMT", + "etag": "\"0x8DA7C0EF631DACC\"", + "last-modified": "Fri, 12 Aug 2022 03:01:32 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "764ab5a2-cd33-441a-7654-69b04c53815d", + "x-ms-client-request-id": "082fd2a0-643f-4da6-5ada-aa08ae2c0e44", "x-ms-file-attributes": "Directory | NotContentIndexed", - "x-ms-file-change-time": "2022-01-04T22:04:55.4198214Z", - "x-ms-file-creation-time": "2022-01-04T22:04:55.4198214Z", + "x-ms-file-change-time": "2022-08-12T03:01:32.8195279Z", + "x-ms-file-creation-time": "2022-08-12T03:01:32.8195276Z", "x-ms-file-id": "11529285414812647424", - "x-ms-file-last-write-time": "2022-01-04T22:04:55.4198216Z", + "x-ms-file-last-write-time": "2022-08-12T03:01:32.8195278Z", "x-ms-file-parent-id": "0", - "x-ms-file-permission-key": "16667920363481994929*10343500956293103928", - "x-ms-request-id": "1ae2780c-901a-005c-1bb7-01ea5f000000", + "x-ms-file-permission-key": "13199961128260716138*16137673612980802019", + "x-ms-request-id": "5a2c55fd-d01a-005d-37f7-ad6422000000", "x-ms-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/filesharedirectoryclienttestdirectorysmbproperties/DirectorySmbProperties1?restype=directory" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "cd932b47-1b4a-44f7-5f55-272e7f40e567", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "d11d7a30-18af-47cd-744f-5122a9750be7", + "x-ms-version": "2021-06-08" }, "Method": "GET", "Response": { @@ -184,29 +184,29 @@ "REASON_PHRASE": "OK", "STATUS_CODE": "200", "content-length": "0", - "date": "Tue, 04 Jan 2022 22:04:55 GMT", - "etag": "\"0x8D9CFCE3DA6ECC6\"", - "last-modified": "Tue, 04 Jan 2022 22:04:55 GMT", + "date": "Fri, 12 Aug 2022 03:01:33 GMT", + "etag": "\"0x8DA7C0EF631DACC\"", + "last-modified": "Fri, 12 Aug 2022 03:01:32 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "cd932b47-1b4a-44f7-5f55-272e7f40e567", + "x-ms-client-request-id": "d11d7a30-18af-47cd-744f-5122a9750be7", "x-ms-file-attributes": "Directory | NotContentIndexed", - "x-ms-file-change-time": "2022-01-04T22:04:55.4198214Z", - "x-ms-file-creation-time": "2022-01-04T22:04:55.4198214Z", + "x-ms-file-change-time": "2022-08-12T03:01:32.8195279Z", + "x-ms-file-creation-time": "2022-08-12T03:01:32.8195276Z", "x-ms-file-id": "16140971433240035328", - "x-ms-file-last-write-time": "2022-01-04T22:04:55.4198216Z", + "x-ms-file-last-write-time": "2022-08-12T03:01:32.8195278Z", "x-ms-file-parent-id": "0", - "x-ms-file-permission-key": "16667920363481994929*10343500956293103928", - "x-ms-request-id": "1ae2780d-901a-005c-1cb7-01ea5f000000", + "x-ms-file-permission-key": "13199961128260716138*16137673612980802019", + "x-ms-request-id": "5a2c560b-d01a-005d-38f7-ad6422000000", "x-ms-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/filesharedirectoryclienttestdirectorysmbproperties/DirectorySmbProperties2?restype=directory" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "6c51f4f8-b310-423e-4227-5b4217797fe6", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "81dc368a-bc9e-4368-63d6-76d166d67dca", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -214,29 +214,29 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Tue, 04 Jan 2022 22:04:55 GMT", - "etag": "\"0x8D9CFCE3DB1E690\"", - "last-modified": "Tue, 04 Jan 2022 22:04:55 GMT", + "date": "Fri, 12 Aug 2022 03:01:33 GMT", + "etag": "\"0x8DA7C0EF7043CE0\"", + "last-modified": "Fri, 12 Aug 2022 03:01:34 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "6c51f4f8-b310-423e-4227-5b4217797fe6", + "x-ms-client-request-id": "81dc368a-bc9e-4368-63d6-76d166d67dca", "x-ms-file-attributes": "Directory", - "x-ms-file-change-time": "2022-01-04T22:04:55.4917520Z", - "x-ms-file-creation-time": "2022-01-04T22:04:55.4917520Z", + "x-ms-file-change-time": "2022-08-12T03:01:34.1982944Z", + "x-ms-file-creation-time": "2022-08-12T03:01:34.1982944Z", "x-ms-file-id": "10376363910205800448", - "x-ms-file-last-write-time": "2022-01-04T22:04:55.4917520Z", + "x-ms-file-last-write-time": "2022-08-12T03:01:34.1982944Z", "x-ms-file-parent-id": "0", - "x-ms-file-permission-key": "16667920363481994929*10343500956293103928", - "x-ms-request-id": "1ae2780e-901a-005c-1db7-01ea5f000000", + "x-ms-file-permission-key": "13199961128260716138*16137673612980802019", + "x-ms-request-id": "5a2c560c-d01a-005d-39f7-ad6422000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/filesharedirectoryclienttestdirectorysmbproperties/DirectorySmbProperties3?restype=directory" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "7f6d965f-bf15-4025-6a00-d831d1d018fe", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "64e99ac7-0ce2-43a1-63d6-d5bb7add6631", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -244,29 +244,29 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Tue, 04 Jan 2022 22:04:55 GMT", - "etag": "\"0x8D9CFCE3DB4091E\"", - "last-modified": "Tue, 04 Jan 2022 22:04:55 GMT", + "date": "Fri, 12 Aug 2022 03:01:34 GMT", + "etag": "\"0x8DA7C0EF7309D99\"", + "last-modified": "Fri, 12 Aug 2022 03:01:34 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "7f6d965f-bf15-4025-6a00-d831d1d018fe", + "x-ms-client-request-id": "64e99ac7-0ce2-43a1-63d6-d5bb7add6631", "x-ms-file-attributes": "Directory", - "x-ms-file-change-time": "2022-01-04T22:04:55.5057438Z", - "x-ms-file-creation-time": "2022-01-04T22:04:55.5057438Z", + "x-ms-file-change-time": "2022-08-12T03:01:34.4891289Z", + "x-ms-file-creation-time": "2022-08-12T03:01:34.4891289Z", "x-ms-file-id": "14988049928633188352", - "x-ms-file-last-write-time": "2022-01-04T22:04:55.5057438Z", + "x-ms-file-last-write-time": "2022-08-12T03:01:34.4891289Z", "x-ms-file-parent-id": "0", - "x-ms-file-permission-key": "16667920363481994929*10343500956293103928", - "x-ms-request-id": "1ae2780f-901a-005c-1eb7-01ea5f000000", + "x-ms-file-permission-key": "13199961128260716138*16137673612980802019", + "x-ms-request-id": "5a2c560d-d01a-005d-3af7-ad6422000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/filesharedirectoryclienttestdirectorysmbproperties/DirectorySmbProperties4?restype=directory" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "975edcc0-308b-46a7-4e23-51e4dce7d318", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "c9390b52-6075-46b2-524f-b1565d5af7c5", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -274,29 +274,29 @@ "REASON_PHRASE": "OK", "STATUS_CODE": "200", "content-length": "0", - "date": "Tue, 04 Jan 2022 22:04:55 GMT", - "etag": "\"0x8D9CFCE3DB652BC\"", - "last-modified": "Tue, 04 Jan 2022 22:04:55 GMT", + "date": "Fri, 12 Aug 2022 03:01:34 GMT", + "etag": "\"0x8DA7C0EF75D4C6D\"", + "last-modified": "Fri, 12 Aug 2022 03:01:34 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "975edcc0-308b-46a7-4e23-51e4dce7d318", + "x-ms-client-request-id": "c9390b52-6075-46b2-524f-b1565d5af7c5", "x-ms-file-attributes": "Directory | NotContentIndexed", - "x-ms-file-change-time": "2022-01-04T22:04:55.5207356Z", - "x-ms-file-creation-time": "2022-01-04T22:04:55.4198214Z", + "x-ms-file-change-time": "2022-08-12T03:01:32.8195279Z", + "x-ms-file-creation-time": "2022-08-12T03:01:32.8195276Z", "x-ms-file-id": "10376363910205800448", - "x-ms-file-last-write-time": "2022-01-04T22:04:55.4198216Z", + "x-ms-file-last-write-time": "2022-08-12T03:01:32.8195278Z", "x-ms-file-parent-id": "0", - "x-ms-file-permission-key": "5409028745771974529*10343500956293103928", - "x-ms-request-id": "1ae27810-901a-005c-1fb7-01ea5f000000", + "x-ms-file-permission-key": "1976883472164499290*16137673612980802019", + "x-ms-request-id": "5a2c5610-d01a-005d-3bf7-ad6422000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/filesharedirectoryclienttestdirectorysmbproperties/DirectorySmbProperties3?comp=properties&restype=directory" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "1a2dce59-bd83-42d3-4ffd-2cf09ce02146", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "51875008-9178-4616-6fe5-c6821d04b18c", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -304,29 +304,29 @@ "REASON_PHRASE": "OK", "STATUS_CODE": "200", "content-length": "0", - "date": "Tue, 04 Jan 2022 22:04:55 GMT", - "etag": "\"0x8D9CFCE3DB82737\"", - "last-modified": "Tue, 04 Jan 2022 22:04:55 GMT", + "date": "Fri, 12 Aug 2022 03:01:34 GMT", + "etag": "\"0x8DA7C0EF789AD2C\"", + "last-modified": "Fri, 12 Aug 2022 03:01:35 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "1a2dce59-bd83-42d3-4ffd-2cf09ce02146", + "x-ms-client-request-id": "51875008-9178-4616-6fe5-c6821d04b18c", "x-ms-file-attributes": "Directory | NotContentIndexed", - "x-ms-file-change-time": "2022-01-04T22:04:55.5327287Z", - "x-ms-file-creation-time": "2022-01-04T22:04:55.4198214Z", + "x-ms-file-change-time": "2022-08-12T03:01:32.8195279Z", + "x-ms-file-creation-time": "2022-08-12T03:01:32.8195276Z", "x-ms-file-id": "14988049928633188352", - "x-ms-file-last-write-time": "2022-01-04T22:04:55.4198216Z", + "x-ms-file-last-write-time": "2022-08-12T03:01:32.8195278Z", "x-ms-file-parent-id": "0", - "x-ms-file-permission-key": "5409028745771974529*10343500956293103928", - "x-ms-request-id": "1ae27811-901a-005c-20b7-01ea5f000000", + "x-ms-file-permission-key": "1976883472164499290*16137673612980802019", + "x-ms-request-id": "5a2c5611-d01a-005d-3cf7-ad6422000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/filesharedirectoryclienttestdirectorysmbproperties/DirectorySmbProperties4?comp=properties&restype=directory" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "8419ac78-48c2-425b-51d7-d09de81388ae", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "2cda3996-6a62-45bb-7cac-d44ed0aa2610", + "x-ms-version": "2021-06-08" }, "Method": "GET", "Response": { @@ -334,29 +334,29 @@ "REASON_PHRASE": "OK", "STATUS_CODE": "200", "content-length": "0", - "date": "Tue, 04 Jan 2022 22:04:55 GMT", - "etag": "\"0x8D9CFCE3DB652BC\"", - "last-modified": "Tue, 04 Jan 2022 22:04:55 GMT", + "date": "Fri, 12 Aug 2022 03:01:34 GMT", + "etag": "\"0x8DA7C0EF75D4C6D\"", + "last-modified": "Fri, 12 Aug 2022 03:01:34 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "8419ac78-48c2-425b-51d7-d09de81388ae", + "x-ms-client-request-id": "2cda3996-6a62-45bb-7cac-d44ed0aa2610", "x-ms-file-attributes": "Directory | NotContentIndexed", - "x-ms-file-change-time": "2022-01-04T22:04:55.5207356Z", - "x-ms-file-creation-time": "2022-01-04T22:04:55.4198214Z", + "x-ms-file-change-time": "2022-08-12T03:01:32.8195279Z", + "x-ms-file-creation-time": "2022-08-12T03:01:32.8195276Z", "x-ms-file-id": "10376363910205800448", - "x-ms-file-last-write-time": "2022-01-04T22:04:55.4198216Z", + "x-ms-file-last-write-time": "2022-08-12T03:01:32.8195278Z", "x-ms-file-parent-id": "0", - "x-ms-file-permission-key": "5409028745771974529*10343500956293103928", - "x-ms-request-id": "1ae27812-901a-005c-21b7-01ea5f000000", + "x-ms-file-permission-key": "1976883472164499290*16137673612980802019", + "x-ms-request-id": "5a2c5612-d01a-005d-3df7-ad6422000000", "x-ms-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/filesharedirectoryclienttestdirectorysmbproperties/DirectorySmbProperties3?restype=directory" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "2ae91414-4a07-4177-7821-1e80cdc77f14", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "a6a9a192-eedf-4000-59e3-8c7ab0e1e1ea", + "x-ms-version": "2021-06-08" }, "Method": "GET", "Response": { @@ -364,29 +364,29 @@ "REASON_PHRASE": "OK", "STATUS_CODE": "200", "content-length": "0", - "date": "Tue, 04 Jan 2022 22:04:55 GMT", - "etag": "\"0x8D9CFCE3DB82737\"", - "last-modified": "Tue, 04 Jan 2022 22:04:55 GMT", + "date": "Fri, 12 Aug 2022 03:01:35 GMT", + "etag": "\"0x8DA7C0EF789AD2C\"", + "last-modified": "Fri, 12 Aug 2022 03:01:35 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "2ae91414-4a07-4177-7821-1e80cdc77f14", + "x-ms-client-request-id": "a6a9a192-eedf-4000-59e3-8c7ab0e1e1ea", "x-ms-file-attributes": "Directory | NotContentIndexed", - "x-ms-file-change-time": "2022-01-04T22:04:55.5327287Z", - "x-ms-file-creation-time": "2022-01-04T22:04:55.4198214Z", + "x-ms-file-change-time": "2022-08-12T03:01:32.8195279Z", + "x-ms-file-creation-time": "2022-08-12T03:01:32.8195276Z", "x-ms-file-id": "14988049928633188352", - "x-ms-file-last-write-time": "2022-01-04T22:04:55.4198216Z", + "x-ms-file-last-write-time": "2022-08-12T03:01:32.8195278Z", "x-ms-file-parent-id": "0", - "x-ms-file-permission-key": "5409028745771974529*10343500956293103928", - "x-ms-request-id": "1ae27813-901a-005c-22b7-01ea5f000000", + "x-ms-file-permission-key": "1976883472164499290*16137673612980802019", + "x-ms-request-id": "5a2c5613-d01a-005d-3ef7-ad6422000000", "x-ms-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/filesharedirectoryclienttestdirectorysmbproperties/DirectorySmbProperties4?restype=directory" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "353a48b0-be63-47e3-6032-6a30b0aeef1d", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "6485eefa-9d3d-4981-63dc-0126994bf647", + "x-ms-version": "2021-06-08" }, "Method": "DELETE", "Response": { @@ -394,19 +394,19 @@ "REASON_PHRASE": "Accepted", "STATUS_CODE": "202", "content-length": "0", - "date": "Tue, 04 Jan 2022 22:04:55 GMT", + "date": "Fri, 12 Aug 2022 03:01:35 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "353a48b0-be63-47e3-6032-6a30b0aeef1d", - "x-ms-request-id": "1ae27814-901a-005c-23b7-01ea5f000000", - "x-ms-version": "2020-02-10" + "x-ms-client-request-id": "6485eefa-9d3d-4981-63dc-0126994bf647", + "x-ms-request-id": "5a2c5614-d01a-005d-3ff7-ad6422000000", + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/filesharedirectoryclienttestdirectorysmbproperties?restype=share" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "3414c7f6-1d04-4544-633b-0d9640b1c541", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "241cb71b-da8f-4952-4b94-8f606db8e71d", + "x-ms-version": "2021-06-08" }, "Method": "DELETE", "Response": { @@ -414,11 +414,11 @@ "REASON_PHRASE": "Accepted", "STATUS_CODE": "202", "content-length": "0", - "date": "Tue, 04 Jan 2022 22:04:55 GMT", + "date": "Fri, 12 Aug 2022 03:01:35 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "3414c7f6-1d04-4544-633b-0d9640b1c541", - "x-ms-request-id": "1ae27815-901a-005c-24b7-01ea5f000000", - "x-ms-version": "2020-02-10" + "x-ms-client-request-id": "241cb71b-da8f-4952-4b94-8f606db8e71d", + "x-ms-request-id": "5a2c5615-d01a-005d-40f7-ad6422000000", + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/filesharedirectoryclienttestdirectorysmbproperties?restype=share" } diff --git a/sdk/storage/azure-storage-files-shares/test/ut/recordings/FileShareDirectoryClientTest.ListFilesAndDirectoriesSinglePageTest.json b/sdk/storage/azure-storage-files-shares/test/ut/recordings/FileShareDirectoryClientTest.ListFilesAndDirectoriesSinglePageTest.json index 89924935a7..ee7ea3f700 100644 --- a/sdk/storage/azure-storage-files-shares/test/ut/recordings/FileShareDirectoryClientTest.ListFilesAndDirectoriesSinglePageTest.json +++ b/sdk/storage/azure-storage-files-shares/test/ut/recordings/FileShareDirectoryClientTest.ListFilesAndDirectoriesSinglePageTest.json @@ -2,9 +2,9 @@ "networkCallRecords": [ { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "ef0e834b-7961-405b-697c-c188b31a912b", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "180cb488-1e1e-42c0-49a6-761de0a903b4", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -12,21 +12,21 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Tue, 04 Jan 2022 22:04:54 GMT", - "etag": "\"0x8D9CFCE3DE289F7\"", - "last-modified": "Tue, 04 Jan 2022 22:04:55 GMT", + "date": "Fri, 19 Aug 2022 05:39:02 GMT", + "etag": "\"0x8DA81A51FE70AB2\"", + "last-modified": "Fri, 19 Aug 2022 05:39:03 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "ef0e834b-7961-405b-697c-c188b31a912b", - "x-ms-request-id": "b5341805-801a-001d-5ab7-01b2bb000000", - "x-ms-version": "2020-02-10" + "x-ms-client-request-id": "180cb488-1e1e-42c0-49a6-761de0a903b4", + "x-ms-request-id": "6bfd2888-e01a-00a2-348d-b354bf000000", + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/lesharedirectoryclienttestlistfilesanddirectoriessinglepagetest?restype=share" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "6c705406-5ca5-4bc7-443b-e0c89954e1ef", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "99ea3efd-ec41-4d45-6792-00b4a3530e39", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -34,29 +34,29 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Tue, 04 Jan 2022 22:04:54 GMT", - "etag": "\"0x8D9CFCE3DE63565\"", - "last-modified": "Tue, 04 Jan 2022 22:04:55 GMT", + "date": "Fri, 19 Aug 2022 05:39:02 GMT", + "etag": "\"0x8DA81A52015EE36\"", + "last-modified": "Fri, 19 Aug 2022 05:39:03 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "6c705406-5ca5-4bc7-443b-e0c89954e1ef", + "x-ms-client-request-id": "99ea3efd-ec41-4d45-6792-00b4a3530e39", "x-ms-file-attributes": "Directory", - "x-ms-file-change-time": "2022-01-04T22:04:55.8345573Z", - "x-ms-file-creation-time": "2022-01-04T22:04:55.8345573Z", + "x-ms-file-change-time": "2022-08-19T05:39:03.4241590Z", + "x-ms-file-creation-time": "2022-08-19T05:39:03.4241590Z", "x-ms-file-id": "13835128424026341376", - "x-ms-file-last-write-time": "2022-01-04T22:04:55.8345573Z", + "x-ms-file-last-write-time": "2022-08-19T05:39:03.4241590Z", "x-ms-file-parent-id": "0", - "x-ms-file-permission-key": "16667920363481994929*10343500956293103928", - "x-ms-request-id": "b5341808-801a-001d-5bb7-01b2bb000000", + "x-ms-file-permission-key": "13199961128260716138*16137673612980802019", + "x-ms-request-id": "6bfd288b-e01a-00a2-358d-b354bf000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/lesharedirectoryclienttestlistfilesanddirectoriessinglepagetest/ListFilesAndDirectoriesSinglePageTestbase?restype=directory" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "174617cf-0941-42d4-6d47-2061662747d5", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "c2076128-872e-41a4-4283-e4e54297c4cf", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -64,29 +64,29 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Tue, 04 Jan 2022 22:04:54 GMT", - "etag": "\"0x8D9CFCE3DE857F9\"", - "last-modified": "Tue, 04 Jan 2022 22:04:55 GMT", + "date": "Fri, 19 Aug 2022 05:39:03 GMT", + "etag": "\"0x8DA81A520436053\"", + "last-modified": "Fri, 19 Aug 2022 05:39:03 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "174617cf-0941-42d4-6d47-2061662747d5", + "x-ms-client-request-id": "c2076128-872e-41a4-4283-e4e54297c4cf", "x-ms-file-attributes": "Directory", - "x-ms-file-change-time": "2022-01-04T22:04:55.8485497Z", - "x-ms-file-creation-time": "2022-01-04T22:04:55.8485497Z", + "x-ms-file-change-time": "2022-08-19T05:39:03.7219923Z", + "x-ms-file-creation-time": "2022-08-19T05:39:03.7219923Z", "x-ms-file-id": "11529285414812647424", - "x-ms-file-last-write-time": "2022-01-04T22:04:55.8485497Z", + "x-ms-file-last-write-time": "2022-08-19T05:39:03.7219923Z", "x-ms-file-parent-id": "0", - "x-ms-file-permission-key": "16667920363481994929*10343500956293103928", - "x-ms-request-id": "b5341809-801a-001d-5cb7-01b2bb000000", + "x-ms-file-permission-key": "13199961128260716138*16137673612980802019", + "x-ms-request-id": "6bfd288d-e01a-00a2-368d-b354bf000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/lesharedirectoryclienttestlistfilesanddirectoriessinglepagetest/dirA?restype=directory" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "d110c3c8-a39d-43b7-769f-2bd8f83d5f00", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "2642a112-06b8-44be-5078-4d93f1215791", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -94,29 +94,29 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Tue, 04 Jan 2022 22:04:54 GMT", - "etag": "\"0x8D9CFCE3DEA7A90\"", - "last-modified": "Tue, 04 Jan 2022 22:04:55 GMT", + "date": "Fri, 19 Aug 2022 05:39:03 GMT", + "etag": "\"0x8DA81A520708459\"", + "last-modified": "Fri, 19 Aug 2022 05:39:04 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "d110c3c8-a39d-43b7-769f-2bd8f83d5f00", + "x-ms-client-request-id": "2642a112-06b8-44be-5078-4d93f1215791", "x-ms-file-attributes": "Directory", - "x-ms-file-change-time": "2022-01-04T22:04:55.8625424Z", - "x-ms-file-creation-time": "2022-01-04T22:04:55.8625424Z", + "x-ms-file-change-time": "2022-08-19T05:39:04.0178265Z", + "x-ms-file-creation-time": "2022-08-19T05:39:04.0178265Z", "x-ms-file-id": "16140971433240035328", - "x-ms-file-last-write-time": "2022-01-04T22:04:55.8625424Z", + "x-ms-file-last-write-time": "2022-08-19T05:39:04.0178265Z", "x-ms-file-parent-id": "0", - "x-ms-file-permission-key": "16667920363481994929*10343500956293103928", - "x-ms-request-id": "b534180a-801a-001d-5db7-01b2bb000000", + "x-ms-file-permission-key": "13199961128260716138*16137673612980802019", + "x-ms-request-id": "6bfd2893-e01a-00a2-3b8d-b354bf000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/lesharedirectoryclienttestlistfilesanddirectoriessinglepagetest/dirB?restype=directory" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "96fced3f-e993-43f8-4880-730c67d26805", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "55421c2b-f292-45c9-4ac2-a2922cddea0c", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -124,29 +124,29 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Tue, 04 Jan 2022 22:04:54 GMT", - "etag": "\"0x8D9CFCE3DEC760D\"", - "last-modified": "Tue, 04 Jan 2022 22:04:55 GMT", + "date": "Fri, 19 Aug 2022 05:39:03 GMT", + "etag": "\"0x8DA81A5209D5A56\"", + "last-modified": "Fri, 19 Aug 2022 05:39:04 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "96fced3f-e993-43f8-4880-730c67d26805", + "x-ms-client-request-id": "55421c2b-f292-45c9-4ac2-a2922cddea0c", "x-ms-file-attributes": "Directory", - "x-ms-file-change-time": "2022-01-04T22:04:55.8755341Z", - "x-ms-file-creation-time": "2022-01-04T22:04:55.8755341Z", + "x-ms-file-change-time": "2022-08-19T05:39:04.3116630Z", + "x-ms-file-creation-time": "2022-08-19T05:39:04.3116630Z", "x-ms-file-id": "10376363910205800448", - "x-ms-file-last-write-time": "2022-01-04T22:04:55.8755341Z", + "x-ms-file-last-write-time": "2022-08-19T05:39:04.3116630Z", "x-ms-file-parent-id": "11529285414812647424", - "x-ms-file-permission-key": "16667920363481994929*10343500956293103928", - "x-ms-request-id": "b534180b-801a-001d-5eb7-01b2bb000000", + "x-ms-file-permission-key": "13199961128260716138*16137673612980802019", + "x-ms-request-id": "6bfd2896-e01a-00a2-3c8d-b354bf000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/lesharedirectoryclienttestlistfilesanddirectoriessinglepagetest/dirA/ListFilesAndDirectoriesSinglePageTest0?restype=directory" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "0c3403c4-51f5-4167-5866-eef9e7f60708", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "2e756f22-b337-4b79-787c-4e9ab8967414", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -154,29 +154,29 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Tue, 04 Jan 2022 22:04:54 GMT", - "etag": "\"0x8D9CFCE3DEEBFA7\"", - "last-modified": "Tue, 04 Jan 2022 22:04:55 GMT", + "date": "Fri, 19 Aug 2022 05:39:04 GMT", + "etag": "\"0x8DA81A520CACC6F\"", + "last-modified": "Fri, 19 Aug 2022 05:39:04 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "0c3403c4-51f5-4167-5866-eef9e7f60708", + "x-ms-client-request-id": "2e756f22-b337-4b79-787c-4e9ab8967414", "x-ms-file-attributes": "Archive", - "x-ms-file-change-time": "2022-01-04T22:04:55.8905255Z", - "x-ms-file-creation-time": "2022-01-04T22:04:55.8905255Z", + "x-ms-file-change-time": "2022-08-19T05:39:04.6094959Z", + "x-ms-file-creation-time": "2022-08-19T05:39:04.6094959Z", "x-ms-file-id": "14988049928633188352", - "x-ms-file-last-write-time": "2022-01-04T22:04:55.8905255Z", + "x-ms-file-last-write-time": "2022-08-19T05:39:04.6094959Z", "x-ms-file-parent-id": "11529285414812647424", - "x-ms-file-permission-key": "2822515689773754806*10343500956293103928", - "x-ms-request-id": "b534180c-801a-001d-5fb7-01b2bb000000", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", + "x-ms-request-id": "6bfd2898-e01a-00a2-3e8d-b354bf000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/lesharedirectoryclienttestlistfilesanddirectoriessinglepagetest/dirA/file0" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "249df312-9d1c-4fb8-5d4d-4911a27bb22f", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "2ef39397-a056-4caa-451b-a98c37594f80", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -184,29 +184,29 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Tue, 04 Jan 2022 22:04:54 GMT", - "etag": "\"0x8D9CFCE3DF0E23B\"", - "last-modified": "Tue, 04 Jan 2022 22:04:55 GMT", + "date": "Fri, 19 Aug 2022 05:39:04 GMT", + "etag": "\"0x8DA81A520F77B59\"", + "last-modified": "Fri, 19 Aug 2022 05:39:04 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "249df312-9d1c-4fb8-5d4d-4911a27bb22f", + "x-ms-client-request-id": "2ef39397-a056-4caa-451b-a98c37594f80", "x-ms-file-attributes": "Directory", - "x-ms-file-change-time": "2022-01-04T22:04:55.9045179Z", - "x-ms-file-creation-time": "2022-01-04T22:04:55.9045179Z", + "x-ms-file-change-time": "2022-08-19T05:39:04.9023321Z", + "x-ms-file-creation-time": "2022-08-19T05:39:04.9023321Z", "x-ms-file-id": "12682206919419494400", - "x-ms-file-last-write-time": "2022-01-04T22:04:55.9045179Z", + "x-ms-file-last-write-time": "2022-08-19T05:39:04.9023321Z", "x-ms-file-parent-id": "16140971433240035328", - "x-ms-file-permission-key": "16667920363481994929*10343500956293103928", - "x-ms-request-id": "b534180d-801a-001d-60b7-01b2bb000000", + "x-ms-file-permission-key": "13199961128260716138*16137673612980802019", + "x-ms-request-id": "6bfd2899-e01a-00a2-3f8d-b354bf000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/lesharedirectoryclienttestlistfilesanddirectoriessinglepagetest/dirB/ListFilesAndDirectoriesSinglePageTestB0?restype=directory" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "02866160-5e80-4ce8-68dd-173b1fd3841a", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "b2fb1ec6-7321-4af8-6260-a76b70736e2d", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -214,29 +214,29 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Tue, 04 Jan 2022 22:04:54 GMT", - "etag": "\"0x8D9CFCE3DF304C9\"", - "last-modified": "Tue, 04 Jan 2022 22:04:55 GMT", + "date": "Fri, 19 Aug 2022 05:39:04 GMT", + "etag": "\"0x8DA81A52124C66A\"", + "last-modified": "Fri, 19 Aug 2022 05:39:05 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "02866160-5e80-4ce8-68dd-173b1fd3841a", + "x-ms-client-request-id": "b2fb1ec6-7321-4af8-6260-a76b70736e2d", "x-ms-file-attributes": "Archive", - "x-ms-file-change-time": "2022-01-04T22:04:55.9185097Z", - "x-ms-file-creation-time": "2022-01-04T22:04:55.9185097Z", + "x-ms-file-change-time": "2022-08-19T05:39:05.1991658Z", + "x-ms-file-creation-time": "2022-08-19T05:39:05.1991658Z", "x-ms-file-id": "17293892937846882304", - "x-ms-file-last-write-time": "2022-01-04T22:04:55.9185097Z", + "x-ms-file-last-write-time": "2022-08-19T05:39:05.1991658Z", "x-ms-file-parent-id": "16140971433240035328", - "x-ms-file-permission-key": "2822515689773754806*10343500956293103928", - "x-ms-request-id": "b534180e-801a-001d-61b7-01b2bb000000", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", + "x-ms-request-id": "6bfd289a-e01a-00a2-408d-b354bf000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/lesharedirectoryclienttestlistfilesanddirectoriessinglepagetest/dirB/fileB0" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "3e8fff5c-0196-42ee-5372-f4585596d1c0", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "9e282171-c384-4ae4-78ea-0148c6e0db4b", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -244,29 +244,29 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Tue, 04 Jan 2022 22:04:54 GMT", - "etag": "\"0x8D9CFCE3DF5004D\"", - "last-modified": "Tue, 04 Jan 2022 22:04:55 GMT", + "date": "Fri, 19 Aug 2022 05:39:05 GMT", + "etag": "\"0x8DA81A52152D4B2\"", + "last-modified": "Fri, 19 Aug 2022 05:39:05 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "3e8fff5c-0196-42ee-5372-f4585596d1c0", + "x-ms-client-request-id": "9e282171-c384-4ae4-78ea-0148c6e0db4b", "x-ms-file-attributes": "Directory", - "x-ms-file-change-time": "2022-01-04T22:04:55.9315021Z", - "x-ms-file-creation-time": "2022-01-04T22:04:55.9315021Z", + "x-ms-file-change-time": "2022-08-19T05:39:05.5009970Z", + "x-ms-file-creation-time": "2022-08-19T05:39:05.5009970Z", "x-ms-file-id": "9799903157902376960", - "x-ms-file-last-write-time": "2022-01-04T22:04:55.9315021Z", + "x-ms-file-last-write-time": "2022-08-19T05:39:05.5009970Z", "x-ms-file-parent-id": "11529285414812647424", - "x-ms-file-permission-key": "16667920363481994929*10343500956293103928", - "x-ms-request-id": "b534180f-801a-001d-62b7-01b2bb000000", + "x-ms-file-permission-key": "13199961128260716138*16137673612980802019", + "x-ms-request-id": "6bfd289c-e01a-00a2-428d-b354bf000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/lesharedirectoryclienttestlistfilesanddirectoriessinglepagetest/dirA/ListFilesAndDirectoriesSinglePageTest1?restype=directory" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "1069751b-ca79-47a8-5a87-4e57ba0baa60", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "cf4e1758-54f3-4baf-795f-4910c9f68e39", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -274,29 +274,29 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Tue, 04 Jan 2022 22:04:54 GMT", - "etag": "\"0x8D9CFCE3DF749E9\"", - "last-modified": "Tue, 04 Jan 2022 22:04:55 GMT", + "date": "Fri, 19 Aug 2022 05:39:05 GMT", + "etag": "\"0x8DA81A5218046D1\"", + "last-modified": "Fri, 19 Aug 2022 05:39:05 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "1069751b-ca79-47a8-5a87-4e57ba0baa60", + "x-ms-client-request-id": "cf4e1758-54f3-4baf-795f-4910c9f68e39", "x-ms-file-attributes": "Archive", - "x-ms-file-change-time": "2022-01-04T22:04:55.9464937Z", - "x-ms-file-creation-time": "2022-01-04T22:04:55.9464937Z", + "x-ms-file-change-time": "2022-08-19T05:39:05.7988305Z", + "x-ms-file-creation-time": "2022-08-19T05:39:05.7988305Z", "x-ms-file-id": "14411589176329764864", - "x-ms-file-last-write-time": "2022-01-04T22:04:55.9464937Z", + "x-ms-file-last-write-time": "2022-08-19T05:39:05.7988305Z", "x-ms-file-parent-id": "11529285414812647424", - "x-ms-file-permission-key": "2822515689773754806*10343500956293103928", - "x-ms-request-id": "b5341810-801a-001d-63b7-01b2bb000000", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", + "x-ms-request-id": "6bfd289d-e01a-00a2-438d-b354bf000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/lesharedirectoryclienttestlistfilesanddirectoriessinglepagetest/dirA/file1" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "7263d59a-7d61-447c-6a7d-34968ca97086", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "ecb06e3c-686e-451d-6721-4ec0736187e6", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -304,29 +304,29 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Tue, 04 Jan 2022 22:04:54 GMT", - "etag": "\"0x8D9CFCE3DF96C7C\"", - "last-modified": "Tue, 04 Jan 2022 22:04:55 GMT", + "date": "Fri, 19 Aug 2022 05:39:05 GMT", + "etag": "\"0x8DA81A521AE7C1F\"", + "last-modified": "Fri, 19 Aug 2022 05:39:06 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "7263d59a-7d61-447c-6a7d-34968ca97086", + "x-ms-client-request-id": "ecb06e3c-686e-451d-6721-4ec0736187e6", "x-ms-file-attributes": "Directory", - "x-ms-file-change-time": "2022-01-04T22:04:55.9604860Z", - "x-ms-file-creation-time": "2022-01-04T22:04:55.9604860Z", + "x-ms-file-change-time": "2022-08-19T05:39:06.1016607Z", + "x-ms-file-creation-time": "2022-08-19T05:39:06.1016607Z", "x-ms-file-id": "12105746167116070912", - "x-ms-file-last-write-time": "2022-01-04T22:04:55.9604860Z", + "x-ms-file-last-write-time": "2022-08-19T05:39:06.1016607Z", "x-ms-file-parent-id": "16140971433240035328", - "x-ms-file-permission-key": "16667920363481994929*10343500956293103928", - "x-ms-request-id": "b5341811-801a-001d-64b7-01b2bb000000", + "x-ms-file-permission-key": "13199961128260716138*16137673612980802019", + "x-ms-request-id": "6bfd289e-e01a-00a2-448d-b354bf000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/lesharedirectoryclienttestlistfilesanddirectoriessinglepagetest/dirB/ListFilesAndDirectoriesSinglePageTestB1?restype=directory" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "b305145f-630e-43a5-5e0a-247a16d6091d", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "57c037ed-10b2-416a-7e63-64e8c5becd08", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -334,29 +334,29 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Tue, 04 Jan 2022 22:04:55 GMT", - "etag": "\"0x8D9CFCE3DFB6803\"", - "last-modified": "Tue, 04 Jan 2022 22:04:55 GMT", + "date": "Fri, 19 Aug 2022 05:39:05 GMT", + "etag": "\"0x8DA81A521DB2B0C\"", + "last-modified": "Fri, 19 Aug 2022 05:39:06 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "b305145f-630e-43a5-5e0a-247a16d6091d", + "x-ms-client-request-id": "57c037ed-10b2-416a-7e63-64e8c5becd08", "x-ms-file-attributes": "Archive", - "x-ms-file-change-time": "2022-01-04T22:04:55.9734787Z", - "x-ms-file-creation-time": "2022-01-04T22:04:55.9734787Z", + "x-ms-file-change-time": "2022-08-19T05:39:06.3944972Z", + "x-ms-file-creation-time": "2022-08-19T05:39:06.3944972Z", "x-ms-file-id": "16717432185543458816", - "x-ms-file-last-write-time": "2022-01-04T22:04:55.9734787Z", + "x-ms-file-last-write-time": "2022-08-19T05:39:06.3944972Z", "x-ms-file-parent-id": "16140971433240035328", - "x-ms-file-permission-key": "2822515689773754806*10343500956293103928", - "x-ms-request-id": "b5341812-801a-001d-65b7-01b2bb000000", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", + "x-ms-request-id": "6bfd28a0-e01a-00a2-468d-b354bf000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/lesharedirectoryclienttestlistfilesanddirectoriessinglepagetest/dirB/fileB1" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "e1c8e423-42ef-40da-5dbf-467fc58cf03b", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "a87825a8-178f-401e-535f-a25f687ae212", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -364,29 +364,29 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Tue, 04 Jan 2022 22:04:55 GMT", - "etag": "\"0x8D9CFCE3DFD8A92\"", - "last-modified": "Tue, 04 Jan 2022 22:04:55 GMT", + "date": "Fri, 19 Aug 2022 05:39:06 GMT", + "etag": "\"0x8DA81A522082807\"", + "last-modified": "Fri, 19 Aug 2022 05:39:06 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "e1c8e423-42ef-40da-5dbf-467fc58cf03b", + "x-ms-client-request-id": "a87825a8-178f-401e-535f-a25f687ae212", "x-ms-file-attributes": "Directory", - "x-ms-file-change-time": "2022-01-04T22:04:55.9874706Z", - "x-ms-file-creation-time": "2022-01-04T22:04:55.9874706Z", + "x-ms-file-change-time": "2022-08-19T05:39:06.6893319Z", + "x-ms-file-creation-time": "2022-08-19T05:39:06.6893319Z", "x-ms-file-id": "10952824662509223936", - "x-ms-file-last-write-time": "2022-01-04T22:04:55.9874706Z", + "x-ms-file-last-write-time": "2022-08-19T05:39:06.6893319Z", "x-ms-file-parent-id": "11529285414812647424", - "x-ms-file-permission-key": "16667920363481994929*10343500956293103928", - "x-ms-request-id": "b5341813-801a-001d-66b7-01b2bb000000", + "x-ms-file-permission-key": "13199961128260716138*16137673612980802019", + "x-ms-request-id": "6bfd28a2-e01a-00a2-478d-b354bf000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/lesharedirectoryclienttestlistfilesanddirectoriessinglepagetest/dirA/ListFilesAndDirectoriesSinglePageTest2?restype=directory" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "3a17506e-3c16-4d35-61c7-03658347f822", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "4087d7ca-4b5b-428d-5b6f-fac6148f393a", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -394,29 +394,29 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Tue, 04 Jan 2022 22:04:55 GMT", - "etag": "\"0x8D9CFCE3DFFD431\"", - "last-modified": "Tue, 04 Jan 2022 22:04:56 GMT", + "date": "Fri, 19 Aug 2022 05:39:06 GMT", + "etag": "\"0x8DA81A522359A26\"", + "last-modified": "Fri, 19 Aug 2022 05:39:06 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "3a17506e-3c16-4d35-61c7-03658347f822", + "x-ms-client-request-id": "4087d7ca-4b5b-428d-5b6f-fac6148f393a", "x-ms-file-attributes": "Archive", - "x-ms-file-change-time": "2022-01-04T22:04:56.0024625Z", - "x-ms-file-creation-time": "2022-01-04T22:04:56.0024625Z", + "x-ms-file-change-time": "2022-08-19T05:39:06.9871654Z", + "x-ms-file-creation-time": "2022-08-19T05:39:06.9871654Z", "x-ms-file-id": "15564510680936611840", - "x-ms-file-last-write-time": "2022-01-04T22:04:56.0024625Z", + "x-ms-file-last-write-time": "2022-08-19T05:39:06.9871654Z", "x-ms-file-parent-id": "11529285414812647424", - "x-ms-file-permission-key": "2822515689773754806*10343500956293103928", - "x-ms-request-id": "b5341814-801a-001d-67b7-01b2bb000000", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", + "x-ms-request-id": "6bfd28a3-e01a-00a2-488d-b354bf000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/lesharedirectoryclienttestlistfilesanddirectoriessinglepagetest/dirA/file2" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "62d13673-16f1-4d94-7c09-dc40163587e3", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "f6df262e-8a11-4dac-52ff-6dc26d47a861", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -424,29 +424,29 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Tue, 04 Jan 2022 22:04:55 GMT", - "etag": "\"0x8D9CFCE3E01F6BE\"", - "last-modified": "Tue, 04 Jan 2022 22:04:56 GMT", + "date": "Fri, 19 Aug 2022 05:39:06 GMT", + "etag": "\"0x8DA81A522624914\"", + "last-modified": "Fri, 19 Aug 2022 05:39:07 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "62d13673-16f1-4d94-7c09-dc40163587e3", + "x-ms-client-request-id": "f6df262e-8a11-4dac-52ff-6dc26d47a861", "x-ms-file-attributes": "Directory", - "x-ms-file-change-time": "2022-01-04T22:04:56.0164542Z", - "x-ms-file-creation-time": "2022-01-04T22:04:56.0164542Z", + "x-ms-file-change-time": "2022-08-19T05:39:07.2800020Z", + "x-ms-file-creation-time": "2022-08-19T05:39:07.2800020Z", "x-ms-file-id": "13258667671722917888", - "x-ms-file-last-write-time": "2022-01-04T22:04:56.0164542Z", + "x-ms-file-last-write-time": "2022-08-19T05:39:07.2800020Z", "x-ms-file-parent-id": "16140971433240035328", - "x-ms-file-permission-key": "16667920363481994929*10343500956293103928", - "x-ms-request-id": "b5341815-801a-001d-68b7-01b2bb000000", + "x-ms-file-permission-key": "13199961128260716138*16137673612980802019", + "x-ms-request-id": "6bfd28a4-e01a-00a2-498d-b354bf000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/lesharedirectoryclienttestlistfilesanddirectoriessinglepagetest/dirB/ListFilesAndDirectoriesSinglePageTestB2?restype=directory" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "dc78852c-0945-4675-481c-242fd43add0b", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "b0a10004-7f7f-4aec-420d-8e45c2e0e17a", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -454,29 +454,29 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Tue, 04 Jan 2022 22:04:55 GMT", - "etag": "\"0x8D9CFCE3E04194F\"", - "last-modified": "Tue, 04 Jan 2022 22:04:56 GMT", + "date": "Fri, 19 Aug 2022 05:39:07 GMT", + "etag": "\"0x8DA81A5228F1F09\"", + "last-modified": "Fri, 19 Aug 2022 05:39:07 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "dc78852c-0945-4675-481c-242fd43add0b", + "x-ms-client-request-id": "b0a10004-7f7f-4aec-420d-8e45c2e0e17a", "x-ms-file-attributes": "Archive", - "x-ms-file-change-time": "2022-01-04T22:04:56.0304463Z", - "x-ms-file-creation-time": "2022-01-04T22:04:56.0304463Z", + "x-ms-file-change-time": "2022-08-19T05:39:07.5738377Z", + "x-ms-file-creation-time": "2022-08-19T05:39:07.5738377Z", "x-ms-file-id": "17870353690150305792", - "x-ms-file-last-write-time": "2022-01-04T22:04:56.0304463Z", + "x-ms-file-last-write-time": "2022-08-19T05:39:07.5738377Z", "x-ms-file-parent-id": "16140971433240035328", - "x-ms-file-permission-key": "2822515689773754806*10343500956293103928", - "x-ms-request-id": "b5341816-801a-001d-69b7-01b2bb000000", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", + "x-ms-request-id": "6bfd28a5-e01a-00a2-4a8e-b354bf000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/lesharedirectoryclienttestlistfilesanddirectoriessinglepagetest/dirB/fileB2" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "3168234e-2348-43d1-40ff-9620446d04ab", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "78632b89-26c6-460e-6ead-5d1cd50e4429", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -484,29 +484,29 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Tue, 04 Jan 2022 22:04:55 GMT", - "etag": "\"0x8D9CFCE3E063BDE\"", - "last-modified": "Tue, 04 Jan 2022 22:04:56 GMT", + "date": "Fri, 19 Aug 2022 05:39:07 GMT", + "etag": "\"0x8DA81A522BCB833\"", + "last-modified": "Fri, 19 Aug 2022 05:39:07 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "3168234e-2348-43d1-40ff-9620446d04ab", + "x-ms-client-request-id": "78632b89-26c6-460e-6ead-5d1cd50e4429", "x-ms-file-attributes": "Directory", - "x-ms-file-change-time": "2022-01-04T22:04:56.0444382Z", - "x-ms-file-creation-time": "2022-01-04T22:04:56.0444382Z", + "x-ms-file-change-time": "2022-08-19T05:39:07.8726707Z", + "x-ms-file-creation-time": "2022-08-19T05:39:07.8726707Z", "x-ms-file-id": "9511672781750665216", - "x-ms-file-last-write-time": "2022-01-04T22:04:56.0444382Z", + "x-ms-file-last-write-time": "2022-08-19T05:39:07.8726707Z", "x-ms-file-parent-id": "11529285414812647424", - "x-ms-file-permission-key": "16667920363481994929*10343500956293103928", - "x-ms-request-id": "b5341817-801a-001d-6ab7-01b2bb000000", + "x-ms-file-permission-key": "13199961128260716138*16137673612980802019", + "x-ms-request-id": "6bfd28a6-e01a-00a2-4b8e-b354bf000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/lesharedirectoryclienttestlistfilesanddirectoriessinglepagetest/dirA/ListFilesAndDirectoriesSinglePageTest3?restype=directory" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "008eae2f-d5e6-434e-6b9d-ced9ee42a75a", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "ab4513a9-7503-482f-55b5-f8cd56f57e40", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -514,29 +514,29 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Tue, 04 Jan 2022 22:04:55 GMT", - "etag": "\"0x8D9CFCE3E08857A\"", - "last-modified": "Tue, 04 Jan 2022 22:04:56 GMT", + "date": "Fri, 19 Aug 2022 05:39:07 GMT", + "etag": "\"0x8DA81A522EA0343\"", + "last-modified": "Fri, 19 Aug 2022 05:39:08 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "008eae2f-d5e6-434e-6b9d-ced9ee42a75a", + "x-ms-client-request-id": "ab4513a9-7503-482f-55b5-f8cd56f57e40", "x-ms-file-attributes": "Archive", - "x-ms-file-change-time": "2022-01-04T22:04:56.0594298Z", - "x-ms-file-creation-time": "2022-01-04T22:04:56.0594298Z", + "x-ms-file-change-time": "2022-08-19T05:39:08.1695043Z", + "x-ms-file-creation-time": "2022-08-19T05:39:08.1695043Z", "x-ms-file-id": "14123358800178053120", - "x-ms-file-last-write-time": "2022-01-04T22:04:56.0594298Z", + "x-ms-file-last-write-time": "2022-08-19T05:39:08.1695043Z", "x-ms-file-parent-id": "11529285414812647424", - "x-ms-file-permission-key": "2822515689773754806*10343500956293103928", - "x-ms-request-id": "b5341818-801a-001d-6bb7-01b2bb000000", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", + "x-ms-request-id": "6bfd28a7-e01a-00a2-4c8e-b354bf000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/lesharedirectoryclienttestlistfilesanddirectoriessinglepagetest/dirA/file3" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "7c0756e1-1ef7-4ed9-7375-d0c17baaf05c", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "ff5dff68-c7ac-43fa-4552-0e4f199ac58d", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -544,29 +544,29 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Tue, 04 Jan 2022 22:04:55 GMT", - "etag": "\"0x8D9CFCE3E0AF621\"", - "last-modified": "Tue, 04 Jan 2022 22:04:56 GMT", + "date": "Fri, 19 Aug 2022 05:39:08 GMT", + "etag": "\"0x8DA81A52317C37E\"", + "last-modified": "Fri, 19 Aug 2022 05:39:08 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "7c0756e1-1ef7-4ed9-7375-d0c17baaf05c", + "x-ms-client-request-id": "ff5dff68-c7ac-43fa-4552-0e4f199ac58d", "x-ms-file-attributes": "Directory", - "x-ms-file-change-time": "2022-01-04T22:04:56.0754209Z", - "x-ms-file-creation-time": "2022-01-04T22:04:56.0754209Z", + "x-ms-file-change-time": "2022-08-19T05:39:08.4693374Z", + "x-ms-file-creation-time": "2022-08-19T05:39:08.4693374Z", "x-ms-file-id": "11817515790964359168", - "x-ms-file-last-write-time": "2022-01-04T22:04:56.0754209Z", + "x-ms-file-last-write-time": "2022-08-19T05:39:08.4693374Z", "x-ms-file-parent-id": "16140971433240035328", - "x-ms-file-permission-key": "16667920363481994929*10343500956293103928", - "x-ms-request-id": "b5341819-801a-001d-6cb7-01b2bb000000", + "x-ms-file-permission-key": "13199961128260716138*16137673612980802019", + "x-ms-request-id": "6bfd28a8-e01a-00a2-4d8e-b354bf000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/lesharedirectoryclienttestlistfilesanddirectoriessinglepagetest/dirB/ListFilesAndDirectoriesSinglePageTestB3?restype=directory" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "78e3ebbb-04c3-4574-7179-777332213aaf", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "1af07d16-6a16-40a1-630f-fbe9510115ff", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -574,29 +574,29 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Tue, 04 Jan 2022 22:04:55 GMT", - "etag": "\"0x8D9CFCE3E0D18B3\"", - "last-modified": "Tue, 04 Jan 2022 22:04:56 GMT", + "date": "Fri, 19 Aug 2022 05:39:08 GMT", + "etag": "\"0x8DA81A52344E77D\"", + "last-modified": "Fri, 19 Aug 2022 05:39:08 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "78e3ebbb-04c3-4574-7179-777332213aaf", + "x-ms-client-request-id": "1af07d16-6a16-40a1-630f-fbe9510115ff", "x-ms-file-attributes": "Archive", - "x-ms-file-change-time": "2022-01-04T22:04:56.0894131Z", - "x-ms-file-creation-time": "2022-01-04T22:04:56.0894131Z", + "x-ms-file-change-time": "2022-08-19T05:39:08.7651709Z", + "x-ms-file-creation-time": "2022-08-19T05:39:08.7651709Z", "x-ms-file-id": "16429201809391747072", - "x-ms-file-last-write-time": "2022-01-04T22:04:56.0894131Z", + "x-ms-file-last-write-time": "2022-08-19T05:39:08.7651709Z", "x-ms-file-parent-id": "16140971433240035328", - "x-ms-file-permission-key": "2822515689773754806*10343500956293103928", - "x-ms-request-id": "b534181a-801a-001d-6db7-01b2bb000000", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", + "x-ms-request-id": "6bfd28a9-e01a-00a2-4e8e-b354bf000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/lesharedirectoryclienttestlistfilesanddirectoriessinglepagetest/dirB/fileB3" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "84ea62d0-516d-4e2d-5a64-3f45ea874a5d", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "4241079d-d304-4fb8-7a33-9b1360fd19c8", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -604,29 +604,29 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Tue, 04 Jan 2022 22:04:55 GMT", - "etag": "\"0x8D9CFCE3E0F1433\"", - "last-modified": "Tue, 04 Jan 2022 22:04:56 GMT", + "date": "Fri, 19 Aug 2022 05:39:08 GMT", + "etag": "\"0x8DA81A5237280A3\"", + "last-modified": "Fri, 19 Aug 2022 05:39:09 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "84ea62d0-516d-4e2d-5a64-3f45ea874a5d", + "x-ms-client-request-id": "4241079d-d304-4fb8-7a33-9b1360fd19c8", "x-ms-file-attributes": "Directory", - "x-ms-file-change-time": "2022-01-04T22:04:56.1024051Z", - "x-ms-file-creation-time": "2022-01-04T22:04:56.1024051Z", + "x-ms-file-change-time": "2022-08-19T05:39:09.0640035Z", + "x-ms-file-creation-time": "2022-08-19T05:39:09.0640035Z", "x-ms-file-id": "10664594286357512192", - "x-ms-file-last-write-time": "2022-01-04T22:04:56.1024051Z", + "x-ms-file-last-write-time": "2022-08-19T05:39:09.0640035Z", "x-ms-file-parent-id": "11529285414812647424", - "x-ms-file-permission-key": "16667920363481994929*10343500956293103928", - "x-ms-request-id": "b534181b-801a-001d-6eb7-01b2bb000000", + "x-ms-file-permission-key": "13199961128260716138*16137673612980802019", + "x-ms-request-id": "6bfd28aa-e01a-00a2-4f8e-b354bf000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/lesharedirectoryclienttestlistfilesanddirectoriessinglepagetest/dirA/ListFilesAndDirectoriesSinglePageTest4?restype=directory" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "b3902def-1a24-4086-763b-7b368568d1e6", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "cedbc9a2-5764-45f3-49e1-7d003ecdab1a", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -634,29 +634,29 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Tue, 04 Jan 2022 22:04:55 GMT", - "etag": "\"0x8D9CFCE3E115DD3\"", - "last-modified": "Tue, 04 Jan 2022 22:04:56 GMT", + "date": "Fri, 19 Aug 2022 05:39:08 GMT", + "etag": "\"0x8DA81A523A040D9\"", + "last-modified": "Fri, 19 Aug 2022 05:39:09 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "b3902def-1a24-4086-763b-7b368568d1e6", + "x-ms-client-request-id": "cedbc9a2-5764-45f3-49e1-7d003ecdab1a", "x-ms-file-attributes": "Archive", - "x-ms-file-change-time": "2022-01-04T22:04:56.1173971Z", - "x-ms-file-creation-time": "2022-01-04T22:04:56.1173971Z", + "x-ms-file-change-time": "2022-08-19T05:39:09.3638361Z", + "x-ms-file-creation-time": "2022-08-19T05:39:09.3638361Z", "x-ms-file-id": "15276280304784900096", - "x-ms-file-last-write-time": "2022-01-04T22:04:56.1173971Z", + "x-ms-file-last-write-time": "2022-08-19T05:39:09.3638361Z", "x-ms-file-parent-id": "11529285414812647424", - "x-ms-file-permission-key": "2822515689773754806*10343500956293103928", - "x-ms-request-id": "b534181c-801a-001d-6fb7-01b2bb000000", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", + "x-ms-request-id": "6bfd28ad-e01a-00a2-508e-b354bf000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/lesharedirectoryclienttestlistfilesanddirectoriessinglepagetest/dirA/file4" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "18fa4213-7af0-4c17-48a4-2ed549f25e8c", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "745891c6-9c05-4dd3-4245-d483f2183596", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -664,29 +664,29 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Tue, 04 Jan 2022 22:04:55 GMT", - "etag": "\"0x8D9CFCE3E138068\"", - "last-modified": "Tue, 04 Jan 2022 22:04:56 GMT", + "date": "Fri, 19 Aug 2022 05:39:09 GMT", + "etag": "\"0x8DA81A523CD64DF\"", + "last-modified": "Fri, 19 Aug 2022 05:39:09 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "18fa4213-7af0-4c17-48a4-2ed549f25e8c", + "x-ms-client-request-id": "745891c6-9c05-4dd3-4245-d483f2183596", "x-ms-file-attributes": "Directory", - "x-ms-file-change-time": "2022-01-04T22:04:56.1313896Z", - "x-ms-file-creation-time": "2022-01-04T22:04:56.1313896Z", + "x-ms-file-change-time": "2022-08-19T05:39:09.6596703Z", + "x-ms-file-creation-time": "2022-08-19T05:39:09.6596703Z", "x-ms-file-id": "12970437295571206144", - "x-ms-file-last-write-time": "2022-01-04T22:04:56.1313896Z", + "x-ms-file-last-write-time": "2022-08-19T05:39:09.6596703Z", "x-ms-file-parent-id": "16140971433240035328", - "x-ms-file-permission-key": "16667920363481994929*10343500956293103928", - "x-ms-request-id": "b534181d-801a-001d-70b7-01b2bb000000", + "x-ms-file-permission-key": "13199961128260716138*16137673612980802019", + "x-ms-request-id": "6bfd28ae-e01a-00a2-518e-b354bf000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/lesharedirectoryclienttestlistfilesanddirectoriessinglepagetest/dirB/ListFilesAndDirectoriesSinglePageTestB4?restype=directory" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "d1c7db57-39d7-4ab8-7fc2-7daa4dc91322", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "ea737d66-ef5e-41ac-6cbf-1c01adb111c9", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -694,113 +694,484 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Tue, 04 Jan 2022 22:04:55 GMT", - "etag": "\"0x8D9CFCE3E15A2F5\"", - "last-modified": "Tue, 04 Jan 2022 22:04:56 GMT", + "date": "Fri, 19 Aug 2022 05:39:09 GMT", + "etag": "\"0x8DA81A523FA61DC\"", + "last-modified": "Fri, 19 Aug 2022 05:39:09 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "d1c7db57-39d7-4ab8-7fc2-7daa4dc91322", + "x-ms-client-request-id": "ea737d66-ef5e-41ac-6cbf-1c01adb111c9", "x-ms-file-attributes": "Archive", - "x-ms-file-change-time": "2022-01-04T22:04:56.1453813Z", - "x-ms-file-creation-time": "2022-01-04T22:04:56.1453813Z", + "x-ms-file-change-time": "2022-08-19T05:39:09.9545052Z", + "x-ms-file-creation-time": "2022-08-19T05:39:09.9545052Z", "x-ms-file-id": "17582123313998594048", - "x-ms-file-last-write-time": "2022-01-04T22:04:56.1453813Z", + "x-ms-file-last-write-time": "2022-08-19T05:39:09.9545052Z", "x-ms-file-parent-id": "16140971433240035328", - "x-ms-file-permission-key": "2822515689773754806*10343500956293103928", - "x-ms-request-id": "b534181e-801a-001d-71b7-01b2bb000000", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", + "x-ms-request-id": "6bfd28af-e01a-00a2-528e-b354bf000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/lesharedirectoryclienttestlistfilesanddirectoriessinglepagetest/dirB/fileB4" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "a8b9b0d1-136e-4efd-4ec0-f221c0c6d0ab", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "448f3a00-ab88-4d42-782c-c0eb8706eb42", + "x-ms-version": "2021-06-08" }, "Method": "GET", "Response": { - "BODY": "dirAdirBListFilesAndDirectoriesSinglePageTestbase", + "BODY": "0dirA11529285414812647424dirB16140971433240035328ListFilesAndDirectoriesSinglePageTestbase13835128424026341376", "REASON_PHRASE": "OK", "STATUS_CODE": "200", "content-type": "application/xml", - "date": "Tue, 04 Jan 2022 22:04:55 GMT", + "date": "Fri, 19 Aug 2022 05:39:09 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "transfer-encoding": "chunked", - "x-ms-client-request-id": "a8b9b0d1-136e-4efd-4ec0-f221c0c6d0ab", - "x-ms-request-id": "b534181f-801a-001d-72b7-01b2bb000000", - "x-ms-version": "2020-02-10" + "x-ms-client-request-id": "448f3a00-ab88-4d42-782c-c0eb8706eb42", + "x-ms-request-id": "6bfd28b0-e01a-00a2-538e-b354bf000000", + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/lesharedirectoryclienttestlistfilesanddirectoriessinglepagetest/?comp=list&restype=directory" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "e756f830-10d8-4395-7987-3a538be0e5b6", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "127a425c-8f38-445b-50d1-1ef041110ebf", + "x-ms-version": "2021-06-08" }, "Method": "GET", "Response": { - "BODY": "file01024file11024file21024file31024file41024ListFilesAndDirectoriesSinglePageTest0ListFilesAndDirectoriesSinglePageTest1ListFilesAndDirectoriesSinglePageTest2ListFilesAndDirectoriesSinglePageTest3ListFilesAndDirectoriesSinglePageTest4", + "BODY": "11529285414812647424file0149880499286331883521024file1144115891763297648641024file2155645106809366118401024file3141233588001780531201024file4152762803047849000961024ListFilesAndDirectoriesSinglePageTest010376363910205800448ListFilesAndDirectoriesSinglePageTest19799903157902376960ListFilesAndDirectoriesSinglePageTest210952824662509223936ListFilesAndDirectoriesSinglePageTest39511672781750665216ListFilesAndDirectoriesSinglePageTest410664594286357512192", "REASON_PHRASE": "OK", "STATUS_CODE": "200", "content-type": "application/xml", - "date": "Tue, 04 Jan 2022 22:04:55 GMT", + "date": "Fri, 19 Aug 2022 05:39:10 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "transfer-encoding": "chunked", - "x-ms-client-request-id": "e756f830-10d8-4395-7987-3a538be0e5b6", - "x-ms-request-id": "b5341820-801a-001d-73b7-01b2bb000000", - "x-ms-version": "2020-02-10" + "x-ms-client-request-id": "127a425c-8f38-445b-50d1-1ef041110ebf", + "x-ms-request-id": "6bfd28b1-e01a-00a2-548e-b354bf000000", + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/lesharedirectoryclienttestlistfilesanddirectoriessinglepagetest/dirA?comp=list&restype=directory" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "6ef19892-6a1b-4d87-44f9-a4ff7e99461f", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "63bcadb9-13ea-4802-746c-e9b97feabcfe", + "x-ms-version": "2021-06-08" }, "Method": "GET", "Response": { - "BODY": "dirAdirA", + "BODY": "dirA0dirA11529285414812647424", "REASON_PHRASE": "OK", "STATUS_CODE": "200", "content-type": "application/xml", - "date": "Tue, 04 Jan 2022 22:04:55 GMT", + "date": "Fri, 19 Aug 2022 05:39:10 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "transfer-encoding": "chunked", - "x-ms-client-request-id": "6ef19892-6a1b-4d87-44f9-a4ff7e99461f", - "x-ms-request-id": "b5341821-801a-001d-74b7-01b2bb000000", - "x-ms-version": "2020-02-10" + "x-ms-client-request-id": "63bcadb9-13ea-4802-746c-e9b97feabcfe", + "x-ms-request-id": "6bfd28b2-e01a-00a2-558e-b354bf000000", + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/lesharedirectoryclienttestlistfilesanddirectoriessinglepagetest/?comp=list&prefix=dirA&restype=directory" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "cd1904c3-4d64-4a05-6b7f-acba58f4b3e4", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "725f2aef-c188-4e3a-550e-eb748c2f4842", + "x-ms-version": "2021-06-08" }, "Method": "GET", "Response": { - "BODY": "2file01024file110241!8!ZmlsZTI-", + "BODY": "211529285414812647424file0149880499286331883521024file11441158917632976486410241!8!ZmlsZTI-", "REASON_PHRASE": "OK", "STATUS_CODE": "200", "content-type": "application/xml", - "date": "Tue, 04 Jan 2022 22:04:55 GMT", + "date": "Fri, 19 Aug 2022 05:39:10 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "transfer-encoding": "chunked", - "x-ms-client-request-id": "cd1904c3-4d64-4a05-6b7f-acba58f4b3e4", - "x-ms-request-id": "b5341822-801a-001d-75b7-01b2bb000000", - "x-ms-version": "2020-02-10" + "x-ms-client-request-id": "725f2aef-c188-4e3a-550e-eb748c2f4842", + "x-ms-request-id": "6bfd28b3-e01a-00a2-568e-b354bf000000", + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/lesharedirectoryclienttestlistfilesanddirectoriessinglepagetest/dirA?comp=list&maxresults=2&restype=directory" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "1f8160eb-8844-41f2-65c0-94e2ce9faaf3", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "96c69688-7480-4194-6b05-9c5549a039c5", + "x-ms-version": "2021-06-08" + }, + "Method": "GET", + "Response": { + "BODY": "11529285414812647424file01498804992863318835210242022-08-19T05:39:04.6094959Z2022-08-19T05:39:04.6094959Z2022-08-19T05:39:04.6094959Z2022-08-19T05:39:04.6094959ZFri, 19 Aug 2022 05:39:04 GMT\"0x8DA81A520CACC6F\"Archive8598604137816897901*16137673612980802019file11441158917632976486410242022-08-19T05:39:05.7988305Z2022-08-19T05:39:05.7988305Z2022-08-19T05:39:05.7988305Z2022-08-19T05:39:05.7988305ZFri, 19 Aug 2022 05:39:05 GMT\"0x8DA81A5218046D1\"Archive8598604137816897901*16137673612980802019file21556451068093661184010242022-08-19T05:39:06.9871654Z2022-08-19T05:39:06.9871654Z2022-08-19T05:39:06.9871654Z2022-08-19T05:39:06.9871654ZFri, 19 Aug 2022 05:39:06 GMT\"0x8DA81A522359A26\"Archive8598604137816897901*16137673612980802019file31412335880017805312010242022-08-19T05:39:08.1695043Z2022-08-19T05:39:08.1695043Z2022-08-19T05:39:08.1695043Z2022-08-19T05:39:08.1695043ZFri, 19 Aug 2022 05:39:08 GMT\"0x8DA81A522EA0343\"Archive8598604137816897901*16137673612980802019file41527628030478490009610242022-08-19T05:39:09.3638361Z2022-08-19T05:39:09.3638361Z2022-08-19T05:39:09.3638361Z2022-08-19T05:39:09.3638361ZFri, 19 Aug 2022 05:39:09 GMT\"0x8DA81A523A040D9\"Archive8598604137816897901*16137673612980802019ListFilesAndDirectoriesSinglePageTest0103763639102058004482022-08-19T05:39:04.3116630Z2022-08-19T05:39:04.3116630Z2022-08-19T05:39:04.3116630Z2022-08-19T05:39:04.3116630ZFri, 19 Aug 2022 05:39:04 GMT\"0x8DA81A5209D5A56\"Directory13199961128260716138*16137673612980802019ListFilesAndDirectoriesSinglePageTest197999031579023769602022-08-19T05:39:05.5009970Z2022-08-19T05:39:05.5009970Z2022-08-19T05:39:05.5009970Z2022-08-19T05:39:05.5009970ZFri, 19 Aug 2022 05:39:05 GMT\"0x8DA81A52152D4B2\"Directory13199961128260716138*16137673612980802019ListFilesAndDirectoriesSinglePageTest2109528246625092239362022-08-19T05:39:06.6893319Z2022-08-19T05:39:06.6893319Z2022-08-19T05:39:06.6893319Z2022-08-19T05:39:06.6893319ZFri, 19 Aug 2022 05:39:06 GMT\"0x8DA81A522082807\"Directory13199961128260716138*16137673612980802019ListFilesAndDirectoriesSinglePageTest395116727817506652162022-08-19T05:39:07.8726707Z2022-08-19T05:39:07.8726707Z2022-08-19T05:39:07.8726707Z2022-08-19T05:39:07.8726707ZFri, 19 Aug 2022 05:39:07 GMT\"0x8DA81A522BCB833\"Directory13199961128260716138*16137673612980802019ListFilesAndDirectoriesSinglePageTest4106645942863575121922022-08-19T05:39:09.0640035Z2022-08-19T05:39:09.0640035Z2022-08-19T05:39:09.0640035Z2022-08-19T05:39:09.0640035ZFri, 19 Aug 2022 05:39:09 GMT\"0x8DA81A5237280A3\"Directory13199961128260716138*16137673612980802019", + "REASON_PHRASE": "OK", + "STATUS_CODE": "200", + "content-type": "application/xml", + "date": "Fri, 19 Aug 2022 05:39:10 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "transfer-encoding": "chunked", + "x-ms-client-request-id": "96c69688-7480-4194-6b05-9c5549a039c5", + "x-ms-request-id": "6bfd28b4-e01a-00a2-578e-b354bf000000", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/lesharedirectoryclienttestlistfilesanddirectoriessinglepagetest/dirA?comp=list&include=Timestamps,Etag,Attributes,PermissionKey&restype=directory" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "6aaae692-683b-468f-6dc3-89e1f38977cf", + "x-ms-version": "2021-06-08" + }, + "Method": "GET", + "Response": { + "BODY": "", + "REASON_PHRASE": "OK", + "STATUS_CODE": "200", + "content-length": "0", + "date": "Fri, 19 Aug 2022 05:39:11 GMT", + "etag": "\"0x8DA81A5209D5A56\"", + "last-modified": "Fri, 19 Aug 2022 05:39:04 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "6aaae692-683b-468f-6dc3-89e1f38977cf", + "x-ms-file-attributes": "Directory", + "x-ms-file-change-time": "2022-08-19T05:39:04.3116630Z", + "x-ms-file-creation-time": "2022-08-19T05:39:04.3116630Z", + "x-ms-file-id": "10376363910205800448", + "x-ms-file-last-write-time": "2022-08-19T05:39:04.3116630Z", + "x-ms-file-parent-id": "11529285414812647424", + "x-ms-file-permission-key": "13199961128260716138*16137673612980802019", + "x-ms-request-id": "6bfd28b6-e01a-00a2-588e-b354bf000000", + "x-ms-server-encrypted": "true", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/lesharedirectoryclienttestlistfilesanddirectoriessinglepagetest/dirA/ListFilesAndDirectoriesSinglePageTest0?restype=directory" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "ff04aa1d-90e9-4768-57ba-d58def05f22c", + "x-ms-version": "2021-06-08" + }, + "Method": "GET", + "Response": { + "BODY": "", + "REASON_PHRASE": "OK", + "STATUS_CODE": "200", + "content-length": "0", + "date": "Fri, 19 Aug 2022 05:39:11 GMT", + "etag": "\"0x8DA81A52152D4B2\"", + "last-modified": "Fri, 19 Aug 2022 05:39:05 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "ff04aa1d-90e9-4768-57ba-d58def05f22c", + "x-ms-file-attributes": "Directory", + "x-ms-file-change-time": "2022-08-19T05:39:05.5009970Z", + "x-ms-file-creation-time": "2022-08-19T05:39:05.5009970Z", + "x-ms-file-id": "9799903157902376960", + "x-ms-file-last-write-time": "2022-08-19T05:39:05.5009970Z", + "x-ms-file-parent-id": "11529285414812647424", + "x-ms-file-permission-key": "13199961128260716138*16137673612980802019", + "x-ms-request-id": "6bfd28b7-e01a-00a2-598e-b354bf000000", + "x-ms-server-encrypted": "true", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/lesharedirectoryclienttestlistfilesanddirectoriessinglepagetest/dirA/ListFilesAndDirectoriesSinglePageTest1?restype=directory" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "26936080-d58a-4bf4-76d2-bc5518cedbfe", + "x-ms-version": "2021-06-08" + }, + "Method": "GET", + "Response": { + "BODY": "", + "REASON_PHRASE": "OK", + "STATUS_CODE": "200", + "content-length": "0", + "date": "Fri, 19 Aug 2022 05:39:12 GMT", + "etag": "\"0x8DA81A522082807\"", + "last-modified": "Fri, 19 Aug 2022 05:39:06 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "26936080-d58a-4bf4-76d2-bc5518cedbfe", + "x-ms-file-attributes": "Directory", + "x-ms-file-change-time": "2022-08-19T05:39:06.6893319Z", + "x-ms-file-creation-time": "2022-08-19T05:39:06.6893319Z", + "x-ms-file-id": "10952824662509223936", + "x-ms-file-last-write-time": "2022-08-19T05:39:06.6893319Z", + "x-ms-file-parent-id": "11529285414812647424", + "x-ms-file-permission-key": "13199961128260716138*16137673612980802019", + "x-ms-request-id": "6bfd28b8-e01a-00a2-5a8e-b354bf000000", + "x-ms-server-encrypted": "true", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/lesharedirectoryclienttestlistfilesanddirectoriessinglepagetest/dirA/ListFilesAndDirectoriesSinglePageTest2?restype=directory" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "19512616-6d65-4242-6483-8416f4ed635e", + "x-ms-version": "2021-06-08" + }, + "Method": "GET", + "Response": { + "BODY": "", + "REASON_PHRASE": "OK", + "STATUS_CODE": "200", + "content-length": "0", + "date": "Fri, 19 Aug 2022 05:39:12 GMT", + "etag": "\"0x8DA81A522BCB833\"", + "last-modified": "Fri, 19 Aug 2022 05:39:07 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "19512616-6d65-4242-6483-8416f4ed635e", + "x-ms-file-attributes": "Directory", + "x-ms-file-change-time": "2022-08-19T05:39:07.8726707Z", + "x-ms-file-creation-time": "2022-08-19T05:39:07.8726707Z", + "x-ms-file-id": "9511672781750665216", + "x-ms-file-last-write-time": "2022-08-19T05:39:07.8726707Z", + "x-ms-file-parent-id": "11529285414812647424", + "x-ms-file-permission-key": "13199961128260716138*16137673612980802019", + "x-ms-request-id": "6bfd28b9-e01a-00a2-5b8e-b354bf000000", + "x-ms-server-encrypted": "true", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/lesharedirectoryclienttestlistfilesanddirectoriessinglepagetest/dirA/ListFilesAndDirectoriesSinglePageTest3?restype=directory" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "8bacab29-f88a-436b-61a4-2f7f9d91b52c", + "x-ms-version": "2021-06-08" + }, + "Method": "GET", + "Response": { + "BODY": "", + "REASON_PHRASE": "OK", + "STATUS_CODE": "200", + "content-length": "0", + "date": "Fri, 19 Aug 2022 05:39:12 GMT", + "etag": "\"0x8DA81A5237280A3\"", + "last-modified": "Fri, 19 Aug 2022 05:39:09 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "8bacab29-f88a-436b-61a4-2f7f9d91b52c", + "x-ms-file-attributes": "Directory", + "x-ms-file-change-time": "2022-08-19T05:39:09.0640035Z", + "x-ms-file-creation-time": "2022-08-19T05:39:09.0640035Z", + "x-ms-file-id": "10664594286357512192", + "x-ms-file-last-write-time": "2022-08-19T05:39:09.0640035Z", + "x-ms-file-parent-id": "11529285414812647424", + "x-ms-file-permission-key": "13199961128260716138*16137673612980802019", + "x-ms-request-id": "6bfd28ba-e01a-00a2-5c8e-b354bf000000", + "x-ms-server-encrypted": "true", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/lesharedirectoryclienttestlistfilesanddirectoriessinglepagetest/dirA/ListFilesAndDirectoriesSinglePageTest4?restype=directory" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "84fbf15a-30eb-4521-763c-43b9fb85cd64", + "x-ms-version": "2021-06-08" + }, + "Method": "HEAD", + "Response": { + "BODY": "", + "REASON_PHRASE": "OK", + "STATUS_CODE": "200", + "content-length": "1024", + "content-type": "application/octet-stream", + "date": "Fri, 19 Aug 2022 05:39:13 GMT", + "etag": "\"0x8DA81A520CACC6F\"", + "last-modified": "Fri, 19 Aug 2022 05:39:04 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "84fbf15a-30eb-4521-763c-43b9fb85cd64", + "x-ms-file-attributes": "Archive", + "x-ms-file-change-time": "2022-08-19T05:39:04.6094959Z", + "x-ms-file-creation-time": "2022-08-19T05:39:04.6094959Z", + "x-ms-file-id": "14988049928633188352", + "x-ms-file-last-write-time": "2022-08-19T05:39:04.6094959Z", + "x-ms-file-parent-id": "11529285414812647424", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", + "x-ms-lease-state": "available", + "x-ms-lease-status": "unlocked", + "x-ms-request-id": "6bfd28bc-e01a-00a2-5d8e-b354bf000000", + "x-ms-server-encrypted": "true", + "x-ms-type": "File", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/lesharedirectoryclienttestlistfilesanddirectoriessinglepagetest/dirA/file0" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "d42e4360-4e35-434d-77fe-a9ec6d346313", + "x-ms-version": "2021-06-08" + }, + "Method": "HEAD", + "Response": { + "BODY": "", + "REASON_PHRASE": "OK", + "STATUS_CODE": "200", + "content-length": "1024", + "content-type": "application/octet-stream", + "date": "Fri, 19 Aug 2022 05:39:13 GMT", + "etag": "\"0x8DA81A5218046D1\"", + "last-modified": "Fri, 19 Aug 2022 05:39:05 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "d42e4360-4e35-434d-77fe-a9ec6d346313", + "x-ms-file-attributes": "Archive", + "x-ms-file-change-time": "2022-08-19T05:39:05.7988305Z", + "x-ms-file-creation-time": "2022-08-19T05:39:05.7988305Z", + "x-ms-file-id": "14411589176329764864", + "x-ms-file-last-write-time": "2022-08-19T05:39:05.7988305Z", + "x-ms-file-parent-id": "11529285414812647424", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", + "x-ms-lease-state": "available", + "x-ms-lease-status": "unlocked", + "x-ms-request-id": "6bfd28be-e01a-00a2-5f8e-b354bf000000", + "x-ms-server-encrypted": "true", + "x-ms-type": "File", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/lesharedirectoryclienttestlistfilesanddirectoriessinglepagetest/dirA/file1" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "72f09a84-c9bb-496d-6fa1-70b020d3b6b9", + "x-ms-version": "2021-06-08" + }, + "Method": "HEAD", + "Response": { + "BODY": "", + "REASON_PHRASE": "OK", + "STATUS_CODE": "200", + "content-length": "1024", + "content-type": "application/octet-stream", + "date": "Fri, 19 Aug 2022 05:39:13 GMT", + "etag": "\"0x8DA81A522359A26\"", + "last-modified": "Fri, 19 Aug 2022 05:39:06 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "72f09a84-c9bb-496d-6fa1-70b020d3b6b9", + "x-ms-file-attributes": "Archive", + "x-ms-file-change-time": "2022-08-19T05:39:06.9871654Z", + "x-ms-file-creation-time": "2022-08-19T05:39:06.9871654Z", + "x-ms-file-id": "15564510680936611840", + "x-ms-file-last-write-time": "2022-08-19T05:39:06.9871654Z", + "x-ms-file-parent-id": "11529285414812647424", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", + "x-ms-lease-state": "available", + "x-ms-lease-status": "unlocked", + "x-ms-request-id": "6bfd28bf-e01a-00a2-608e-b354bf000000", + "x-ms-server-encrypted": "true", + "x-ms-type": "File", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/lesharedirectoryclienttestlistfilesanddirectoriessinglepagetest/dirA/file2" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "9b182a49-a8b6-4a9a-4de4-47f031f53f6b", + "x-ms-version": "2021-06-08" + }, + "Method": "HEAD", + "Response": { + "BODY": "", + "REASON_PHRASE": "OK", + "STATUS_CODE": "200", + "content-length": "1024", + "content-type": "application/octet-stream", + "date": "Fri, 19 Aug 2022 05:39:13 GMT", + "etag": "\"0x8DA81A522EA0343\"", + "last-modified": "Fri, 19 Aug 2022 05:39:08 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "9b182a49-a8b6-4a9a-4de4-47f031f53f6b", + "x-ms-file-attributes": "Archive", + "x-ms-file-change-time": "2022-08-19T05:39:08.1695043Z", + "x-ms-file-creation-time": "2022-08-19T05:39:08.1695043Z", + "x-ms-file-id": "14123358800178053120", + "x-ms-file-last-write-time": "2022-08-19T05:39:08.1695043Z", + "x-ms-file-parent-id": "11529285414812647424", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", + "x-ms-lease-state": "available", + "x-ms-lease-status": "unlocked", + "x-ms-request-id": "6bfd28c2-e01a-00a2-618e-b354bf000000", + "x-ms-server-encrypted": "true", + "x-ms-type": "File", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/lesharedirectoryclienttestlistfilesanddirectoriessinglepagetest/dirA/file3" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "f42f3cba-892c-4fbe-40d5-7d0dbe841c45", + "x-ms-version": "2021-06-08" + }, + "Method": "HEAD", + "Response": { + "BODY": "", + "REASON_PHRASE": "OK", + "STATUS_CODE": "200", + "content-length": "1024", + "content-type": "application/octet-stream", + "date": "Fri, 19 Aug 2022 05:39:14 GMT", + "etag": "\"0x8DA81A523A040D9\"", + "last-modified": "Fri, 19 Aug 2022 05:39:09 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "f42f3cba-892c-4fbe-40d5-7d0dbe841c45", + "x-ms-file-attributes": "Archive", + "x-ms-file-change-time": "2022-08-19T05:39:09.3638361Z", + "x-ms-file-creation-time": "2022-08-19T05:39:09.3638361Z", + "x-ms-file-id": "15276280304784900096", + "x-ms-file-last-write-time": "2022-08-19T05:39:09.3638361Z", + "x-ms-file-parent-id": "11529285414812647424", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", + "x-ms-lease-state": "available", + "x-ms-lease-status": "unlocked", + "x-ms-request-id": "6bfd28c4-e01a-00a2-638e-b354bf000000", + "x-ms-server-encrypted": "true", + "x-ms-type": "File", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/lesharedirectoryclienttestlistfilesanddirectoriessinglepagetest/dirA/file4" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "69b608e8-f31a-49f7-69c7-7dc467a34c66", + "x-ms-version": "2021-06-08" + }, + "Method": "GET", + "Response": { + "BODY": "", + "REASON_PHRASE": "OK", + "STATUS_CODE": "200", + "content-length": "0", + "date": "Fri, 19 Aug 2022 05:39:14 GMT", + "etag": "\"0x8DA81A520436053\"", + "last-modified": "Fri, 19 Aug 2022 05:39:03 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "69b608e8-f31a-49f7-69c7-7dc467a34c66", + "x-ms-file-attributes": "Directory", + "x-ms-file-change-time": "2022-08-19T05:39:03.7219923Z", + "x-ms-file-creation-time": "2022-08-19T05:39:03.7219923Z", + "x-ms-file-id": "11529285414812647424", + "x-ms-file-last-write-time": "2022-08-19T05:39:03.7219923Z", + "x-ms-file-parent-id": "0", + "x-ms-file-permission-key": "13199961128260716138*16137673612980802019", + "x-ms-request-id": "6bfd28c5-e01a-00a2-648e-b354bf000000", + "x-ms-server-encrypted": "true", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/lesharedirectoryclienttestlistfilesanddirectoriessinglepagetest/dirA?restype=directory" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "b98d7457-e268-4877-548a-2e6ceb8adaaf", + "x-ms-version": "2021-06-08" }, "Method": "DELETE", "Response": { @@ -808,19 +1179,19 @@ "REASON_PHRASE": "Accepted", "STATUS_CODE": "202", "content-length": "0", - "date": "Tue, 04 Jan 2022 22:04:55 GMT", + "date": "Fri, 19 Aug 2022 05:39:14 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "1f8160eb-8844-41f2-65c0-94e2ce9faaf3", - "x-ms-request-id": "b5341823-801a-001d-76b7-01b2bb000000", - "x-ms-version": "2020-02-10" + "x-ms-client-request-id": "b98d7457-e268-4877-548a-2e6ceb8adaaf", + "x-ms-request-id": "6bfd28c6-e01a-00a2-658e-b354bf000000", + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/lesharedirectoryclienttestlistfilesanddirectoriessinglepagetest?restype=share" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "76ef38e7-fe05-4a1f-4465-c12c423d4933", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "8be8c3cb-1d0f-4e54-435f-0212de26914c", + "x-ms-version": "2021-06-08" }, "Method": "DELETE", "Response": { @@ -828,11 +1199,11 @@ "REASON_PHRASE": "Accepted", "STATUS_CODE": "202", "content-length": "0", - "date": "Tue, 04 Jan 2022 22:04:55 GMT", + "date": "Fri, 19 Aug 2022 05:39:15 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "76ef38e7-fe05-4a1f-4465-c12c423d4933", - "x-ms-request-id": "b5341824-801a-001d-77b7-01b2bb000000", - "x-ms-version": "2020-02-10" + "x-ms-client-request-id": "8be8c3cb-1d0f-4e54-435f-0212de26914c", + "x-ms-request-id": "6bfd28c8-e01a-00a2-668e-b354bf000000", + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/lesharedirectoryclienttestlistfilesanddirectoriessinglepagetest?restype=share" } diff --git a/sdk/storage/azure-storage-files-shares/test/ut/recordings/FileShareDirectoryClientTest.RenameFile.json b/sdk/storage/azure-storage-files-shares/test/ut/recordings/FileShareDirectoryClientTest.RenameFile.json new file mode 100644 index 0000000000..d664d0a185 --- /dev/null +++ b/sdk/storage/azure-storage-files-shares/test/ut/recordings/FileShareDirectoryClientTest.RenameFile.json @@ -0,0 +1,1165 @@ +{ + "networkCallRecords": [ + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "60288fef-aebb-44b5-41a7-3c35cf3f547e", + "x-ms-version": "2021-06-08" + }, + "Method": "PUT", + "Response": { + "BODY": "", + "REASON_PHRASE": "Created", + "STATUS_CODE": "201", + "content-length": "0", + "date": "Mon, 15 Aug 2022 09:06:14 GMT", + "etag": "\"0x8DA7E9D68565E0D\"", + "last-modified": "Mon, 15 Aug 2022 09:06:15 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "60288fef-aebb-44b5-41a7-3c35cf3f547e", + "x-ms-request-id": "05eb88bd-d01a-004d-3186-b0a14a000000", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/filesharedirectoryclienttestrenamefile?restype=share" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "d12b1937-a99e-4516-4ee6-b47d30b3ced2", + "x-ms-version": "2021-06-08" + }, + "Method": "PUT", + "Response": { + "BODY": "", + "REASON_PHRASE": "Created", + "STATUS_CODE": "201", + "content-length": "0", + "date": "Mon, 15 Aug 2022 09:06:14 GMT", + "etag": "\"0x8DA7E9D688B122F\"", + "last-modified": "Mon, 15 Aug 2022 09:06:15 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "d12b1937-a99e-4516-4ee6-b47d30b3ced2", + "x-ms-file-attributes": "Directory", + "x-ms-file-change-time": "2022-08-15T09:06:15.5256367Z", + "x-ms-file-creation-time": "2022-08-15T09:06:15.5256367Z", + "x-ms-file-id": "13835128424026341376", + "x-ms-file-last-write-time": "2022-08-15T09:06:15.5256367Z", + "x-ms-file-parent-id": "0", + "x-ms-file-permission-key": "13199961128260716138*16137673612980802019", + "x-ms-request-id": "05eb88c3-d01a-004d-3486-b0a14a000000", + "x-ms-request-server-encrypted": "true", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/filesharedirectoryclienttestrenamefile/RenameFilebase?restype=directory" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "3789ac79-2fd9-4091-401c-41420b804eed", + "x-ms-version": "2021-06-08" + }, + "Method": "PUT", + "Response": { + "BODY": "", + "REASON_PHRASE": "Created", + "STATUS_CODE": "201", + "content-length": "0", + "date": "Mon, 15 Aug 2022 09:06:14 GMT", + "etag": "\"0x8DA7E9D68B7C109\"", + "last-modified": "Mon, 15 Aug 2022 09:06:15 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "3789ac79-2fd9-4091-401c-41420b804eed", + "x-ms-file-attributes": "Directory", + "x-ms-file-change-time": "2022-08-15T09:06:15.8184713Z", + "x-ms-file-creation-time": "2022-08-15T09:06:15.8184713Z", + "x-ms-file-id": "11529285414812647424", + "x-ms-file-last-write-time": "2022-08-15T09:06:15.8184713Z", + "x-ms-file-parent-id": "0", + "x-ms-file-permission-key": "13199961128260716138*16137673612980802019", + "x-ms-request-id": "05eb88c4-d01a-004d-3586-b0a14a000000", + "x-ms-request-server-encrypted": "true", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/filesharedirectoryclienttestrenamefile/RenameFile1?restype=directory" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "1e645442-b8d7-468b-57bf-6705c9cf7bfb", + "x-ms-version": "2021-06-08" + }, + "Method": "PUT", + "Response": { + "BODY": "", + "REASON_PHRASE": "Created", + "STATUS_CODE": "201", + "content-length": "0", + "date": "Mon, 15 Aug 2022 09:06:15 GMT", + "etag": "\"0x8DA7E9D68E50C08\"", + "last-modified": "Mon, 15 Aug 2022 09:06:16 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "1e645442-b8d7-468b-57bf-6705c9cf7bfb", + "x-ms-file-attributes": "Archive", + "x-ms-file-change-time": "2022-08-15T09:06:16.1153032Z", + "x-ms-file-creation-time": "2022-08-15T09:06:16.1153032Z", + "x-ms-file-id": "16140971433240035328", + "x-ms-file-last-write-time": "2022-08-15T09:06:16.1153032Z", + "x-ms-file-parent-id": "11529285414812647424", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", + "x-ms-request-id": "05eb88c5-d01a-004d-3686-b0a14a000000", + "x-ms-request-server-encrypted": "true", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/filesharedirectoryclienttestrenamefile/RenameFile1/RenameFile2" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "717d2ed2-6f37-42d5-6d4e-8a2a036984df", + "x-ms-version": "2021-06-08" + }, + "Method": "PUT", + "Response": { + "BODY": "", + "REASON_PHRASE": "OK", + "STATUS_CODE": "200", + "content-length": "0", + "date": "Mon, 15 Aug 2022 09:06:15 GMT", + "etag": "\"0x8DA7E9D69123002\"", + "last-modified": "Mon, 15 Aug 2022 09:06:16 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "717d2ed2-6f37-42d5-6d4e-8a2a036984df", + "x-ms-file-attributes": "Archive", + "x-ms-file-change-time": "2022-08-15T09:06:16.4111362Z", + "x-ms-file-creation-time": "2022-08-15T09:06:16.1153032Z", + "x-ms-file-id": "16140971433240035328", + "x-ms-file-last-write-time": "2022-08-15T09:06:16.1153032Z", + "x-ms-file-parent-id": "11529285414812647424", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", + "x-ms-request-id": "05eb88c7-d01a-004d-3786-b0a14a000000", + "x-ms-request-server-encrypted": "true", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/filesharedirectoryclienttestrenamefile/RenameFile1/RenameFile3?comp=rename" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "c541a088-981d-48c4-6375-b13b0e71f45b", + "x-ms-version": "2021-06-08" + }, + "Method": "HEAD", + "Response": { + "BODY": "", + "REASON_PHRASE": "OK", + "STATUS_CODE": "200", + "content-length": "512", + "content-type": "application/octet-stream", + "date": "Mon, 15 Aug 2022 09:06:15 GMT", + "etag": "\"0x8DA7E9D69123002\"", + "last-modified": "Mon, 15 Aug 2022 09:06:16 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "c541a088-981d-48c4-6375-b13b0e71f45b", + "x-ms-file-attributes": "Archive", + "x-ms-file-change-time": "2022-08-15T09:06:16.4111362Z", + "x-ms-file-creation-time": "2022-08-15T09:06:16.1153032Z", + "x-ms-file-id": "16140971433240035328", + "x-ms-file-last-write-time": "2022-08-15T09:06:16.1153032Z", + "x-ms-file-parent-id": "11529285414812647424", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", + "x-ms-lease-state": "available", + "x-ms-lease-status": "unlocked", + "x-ms-request-id": "05eb88ca-d01a-004d-3a86-b0a14a000000", + "x-ms-server-encrypted": "true", + "x-ms-type": "File", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/filesharedirectoryclienttestrenamefile/RenameFile1/RenameFile3" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "718287bd-c3e8-4670-5eac-43d40105f1f9", + "x-ms-version": "2021-06-08" + }, + "Method": "HEAD", + "Response": { + "BODY": "", + "REASON_PHRASE": "The specified resource does not exist.", + "STATUS_CODE": "404", + "date": "Mon, 15 Aug 2022 09:06:16 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "transfer-encoding": "chunked", + "x-ms-client-request-id": "718287bd-c3e8-4670-5eac-43d40105f1f9", + "x-ms-error-code": "ResourceNotFound", + "x-ms-request-id": "05eb88cb-d01a-004d-3b86-b0a14a000000", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/filesharedirectoryclienttestrenamefile/RenameFile1/RenameFile2" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "10cc3fcf-a9ba-4876-5e42-54880a4fc1de", + "x-ms-version": "2021-06-08" + }, + "Method": "PUT", + "Response": { + "BODY": "", + "REASON_PHRASE": "Created", + "STATUS_CODE": "201", + "content-length": "0", + "date": "Mon, 15 Aug 2022 09:06:17 GMT", + "etag": "\"0x8DA7E9D6A26856B\"", + "last-modified": "Mon, 15 Aug 2022 09:06:18 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "10cc3fcf-a9ba-4876-5e42-54880a4fc1de", + "x-ms-file-attributes": "Archive", + "x-ms-file-change-time": "2022-08-15T09:06:18.2221163Z", + "x-ms-file-creation-time": "2022-08-15T09:06:18.2221163Z", + "x-ms-file-id": "13835093239654252544", + "x-ms-file-last-write-time": "2022-08-15T09:06:18.2221163Z", + "x-ms-file-parent-id": "11529285414812647424", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", + "x-ms-request-id": "aad72956-a01a-008c-7086-b006a8000000", + "x-ms-request-server-encrypted": "true", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/filesharedirectoryclienttestrenamefile/RenameFile1/RenameFile4" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "b0625fc2-64d4-4366-55cc-c8a0a5da520a", + "x-ms-version": "2021-06-08" + }, + "Method": "PUT", + "Response": { + "BODY": "", + "REASON_PHRASE": "Created", + "STATUS_CODE": "201", + "content-length": "0", + "date": "Mon, 15 Aug 2022 09:06:17 GMT", + "etag": "\"0x8DA7E9D6A538256\"", + "last-modified": "Mon, 15 Aug 2022 09:06:18 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "b0625fc2-64d4-4366-55cc-c8a0a5da520a", + "x-ms-file-attributes": "Archive", + "x-ms-file-change-time": "2022-08-15T09:06:18.5169494Z", + "x-ms-file-creation-time": "2022-08-15T09:06:18.5169494Z", + "x-ms-file-id": "11529250230440558592", + "x-ms-file-last-write-time": "2022-08-15T09:06:18.5169494Z", + "x-ms-file-parent-id": "11529285414812647424", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", + "x-ms-request-id": "aad72959-a01a-008c-7186-b006a8000000", + "x-ms-request-server-encrypted": "true", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/filesharedirectoryclienttestrenamefile/RenameFile1/RenameFile5" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "884adec8-4956-4ef7-5d6f-171b1f45a4b9", + "x-ms-version": "2021-06-08" + }, + "Method": "PUT", + "Response": { + "BODY": "ResourceAlreadyExistsThe specified resource already exists.\nRequestId:aad7295c-a01a-008c-7486-b006a8000000\nTime:2022-08-15T09:06:18.8814670Z", + "REASON_PHRASE": "The specified resource already exists.", + "STATUS_CODE": "409", + "content-length": "228", + "content-type": "application/xml", + "date": "Mon, 15 Aug 2022 09:06:18 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "884adec8-4956-4ef7-5d6f-171b1f45a4b9", + "x-ms-error-code": "ResourceAlreadyExists", + "x-ms-request-id": "aad7295c-a01a-008c-7486-b006a8000000", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/filesharedirectoryclienttestrenamefile/RenameFile1/RenameFile5?comp=rename" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "450effbf-9a7f-4d12-4392-e81421056fec", + "x-ms-version": "2021-06-08" + }, + "Method": "PUT", + "Response": { + "BODY": "", + "REASON_PHRASE": "OK", + "STATUS_CODE": "200", + "content-length": "0", + "date": "Mon, 15 Aug 2022 09:06:19 GMT", + "etag": "\"0x8DA7E9D6B3C3A2B\"", + "last-modified": "Mon, 15 Aug 2022 09:06:20 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "450effbf-9a7f-4d12-4392-e81421056fec", + "x-ms-file-attributes": "Archive", + "x-ms-file-change-time": "2022-08-15T09:06:20.0420907Z", + "x-ms-file-creation-time": "2022-08-15T09:06:18.2221163Z", + "x-ms-file-id": "13835093239654252544", + "x-ms-file-last-write-time": "2022-08-15T09:06:18.2221163Z", + "x-ms-file-parent-id": "11529285414812647424", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", + "x-ms-request-id": "27621f5a-201a-0059-0186-b0e925000000", + "x-ms-request-server-encrypted": "true", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/filesharedirectoryclienttestrenamefile/RenameFile1/RenameFile5?comp=rename" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "f88a4009-f337-4d72-5a6d-cfa14f77bb51", + "x-ms-version": "2021-06-08" + }, + "Method": "HEAD", + "Response": { + "BODY": "", + "REASON_PHRASE": "OK", + "STATUS_CODE": "200", + "content-length": "512", + "content-type": "application/octet-stream", + "date": "Mon, 15 Aug 2022 09:06:19 GMT", + "etag": "\"0x8DA7E9D6B3C3A2B\"", + "last-modified": "Mon, 15 Aug 2022 09:06:20 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "f88a4009-f337-4d72-5a6d-cfa14f77bb51", + "x-ms-file-attributes": "Archive", + "x-ms-file-change-time": "2022-08-15T09:06:20.0420907Z", + "x-ms-file-creation-time": "2022-08-15T09:06:18.2221163Z", + "x-ms-file-id": "13835093239654252544", + "x-ms-file-last-write-time": "2022-08-15T09:06:18.2221163Z", + "x-ms-file-parent-id": "11529285414812647424", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", + "x-ms-lease-state": "available", + "x-ms-lease-status": "unlocked", + "x-ms-request-id": "27621f5f-201a-0059-0486-b0e925000000", + "x-ms-server-encrypted": "true", + "x-ms-type": "File", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/filesharedirectoryclienttestrenamefile/RenameFile1/RenameFile5" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "cbbf8182-a201-4d08-415e-0d237ebdab81", + "x-ms-version": "2021-06-08" + }, + "Method": "HEAD", + "Response": { + "BODY": "", + "REASON_PHRASE": "The specified resource does not exist.", + "STATUS_CODE": "404", + "date": "Mon, 15 Aug 2022 09:06:19 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "transfer-encoding": "chunked", + "x-ms-client-request-id": "cbbf8182-a201-4d08-415e-0d237ebdab81", + "x-ms-error-code": "ResourceNotFound", + "x-ms-request-id": "27621f6a-201a-0059-0d86-b0e925000000", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/filesharedirectoryclienttestrenamefile/RenameFile1/RenameFile4" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "b7d2224c-6d6f-4801-474e-1ba767d14ae4", + "x-ms-version": "2021-06-08" + }, + "Method": "PUT", + "Response": { + "BODY": "", + "REASON_PHRASE": "Created", + "STATUS_CODE": "201", + "content-length": "0", + "date": "Mon, 15 Aug 2022 09:06:20 GMT", + "etag": "\"0x8DA7E9D6C4B1206\"", + "last-modified": "Mon, 15 Aug 2022 09:06:21 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "b7d2224c-6d6f-4801-474e-1ba767d14ae4", + "x-ms-file-attributes": "Archive", + "x-ms-file-change-time": "2022-08-15T09:06:21.8170886Z", + "x-ms-file-creation-time": "2022-08-15T09:06:21.8170886Z", + "x-ms-file-id": "13835163608398430208", + "x-ms-file-last-write-time": "2022-08-15T09:06:21.8170886Z", + "x-ms-file-parent-id": "11529285414812647424", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", + "x-ms-request-id": "07f7d9f5-b01a-0064-3c86-b09f3e000000", + "x-ms-request-server-encrypted": "true", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/filesharedirectoryclienttestrenamefile/RenameFile1/RenameFile6" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "cdd51661-d7bd-4af5-6c4d-75c533e07cc8", + "x-ms-version": "2021-06-08" + }, + "Method": "PUT", + "Response": { + "BODY": "", + "REASON_PHRASE": "Created", + "STATUS_CODE": "201", + "content-length": "0", + "date": "Mon, 15 Aug 2022 09:06:21 GMT", + "etag": "\"0x8DA7E9D6C785D18\"", + "last-modified": "Mon, 15 Aug 2022 09:06:22 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "cdd51661-d7bd-4af5-6c4d-75c533e07cc8", + "x-ms-file-attributes": "ReadOnly | Archive", + "x-ms-file-change-time": "2022-08-15T09:06:22.1139224Z", + "x-ms-file-creation-time": "2022-08-15T09:06:22.1139224Z", + "x-ms-file-id": "11529320599184736256", + "x-ms-file-last-write-time": "2022-08-15T09:06:22.1139224Z", + "x-ms-file-parent-id": "11529285414812647424", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", + "x-ms-request-id": "07f7d9f8-b01a-0064-3d86-b09f3e000000", + "x-ms-request-server-encrypted": "true", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/filesharedirectoryclienttestrenamefile/RenameFile1/RenameFile7" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "436c2c4e-92f2-453c-645c-9646571d3e59", + "x-ms-version": "2021-06-08" + }, + "Method": "PUT", + "Response": { + "BODY": "ReadOnlyAttributeThe specified resource is read-only and cannot be modified at this time.\nRequestId:07f7d9fb-b01a-0064-4086-b09f3e000000\nTime:2022-08-15T09:06:22.4862220Z", + "REASON_PHRASE": "The specified resource is read-only and cannot be modified at this time.", + "STATUS_CODE": "409", + "content-length": "258", + "content-type": "application/xml", + "date": "Mon, 15 Aug 2022 09:06:21 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "436c2c4e-92f2-453c-645c-9646571d3e59", + "x-ms-error-code": "ReadOnlyAttribute", + "x-ms-request-id": "07f7d9fb-b01a-0064-4086-b09f3e000000", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/filesharedirectoryclienttestrenamefile/RenameFile1/RenameFile7?comp=rename" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "5f30060c-2ab7-4daa-5b3e-c7e09945166d", + "x-ms-version": "2021-06-08" + }, + "Method": "PUT", + "Response": { + "BODY": "", + "REASON_PHRASE": "OK", + "STATUS_CODE": "200", + "content-length": "0", + "date": "Mon, 15 Aug 2022 09:06:23 GMT", + "etag": "\"0x8DA7E9D6D6A3B41\"", + "last-modified": "Mon, 15 Aug 2022 09:06:23 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "5f30060c-2ab7-4daa-5b3e-c7e09945166d", + "x-ms-file-attributes": "Archive", + "x-ms-file-change-time": "2022-08-15T09:06:23.6990273Z", + "x-ms-file-creation-time": "2022-08-15T09:06:21.8170886Z", + "x-ms-file-id": "13835163608398430208", + "x-ms-file-last-write-time": "2022-08-15T09:06:21.8170886Z", + "x-ms-file-parent-id": "11529285414812647424", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", + "x-ms-request-id": "f75d432a-701a-008f-2386-b0e7cc000000", + "x-ms-request-server-encrypted": "true", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/filesharedirectoryclienttestrenamefile/RenameFile1/RenameFile7?comp=rename" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "8f61802a-a639-42e3-5231-af44e003a7a2", + "x-ms-version": "2021-06-08" + }, + "Method": "HEAD", + "Response": { + "BODY": "", + "REASON_PHRASE": "OK", + "STATUS_CODE": "200", + "content-length": "512", + "content-type": "application/octet-stream", + "date": "Mon, 15 Aug 2022 09:06:23 GMT", + "etag": "\"0x8DA7E9D6D6A3B41\"", + "last-modified": "Mon, 15 Aug 2022 09:06:23 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "8f61802a-a639-42e3-5231-af44e003a7a2", + "x-ms-file-attributes": "Archive", + "x-ms-file-change-time": "2022-08-15T09:06:23.6990273Z", + "x-ms-file-creation-time": "2022-08-15T09:06:21.8170886Z", + "x-ms-file-id": "13835163608398430208", + "x-ms-file-last-write-time": "2022-08-15T09:06:21.8170886Z", + "x-ms-file-parent-id": "11529285414812647424", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", + "x-ms-lease-state": "available", + "x-ms-lease-status": "unlocked", + "x-ms-request-id": "f75d432e-701a-008f-2486-b0e7cc000000", + "x-ms-server-encrypted": "true", + "x-ms-type": "File", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/filesharedirectoryclienttestrenamefile/RenameFile1/RenameFile7" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "13b2d4e1-325b-4785-4e6c-40b82afd57d2", + "x-ms-version": "2021-06-08" + }, + "Method": "HEAD", + "Response": { + "BODY": "", + "REASON_PHRASE": "The specified resource does not exist.", + "STATUS_CODE": "404", + "date": "Mon, 15 Aug 2022 09:06:23 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "transfer-encoding": "chunked", + "x-ms-client-request-id": "13b2d4e1-325b-4785-4e6c-40b82afd57d2", + "x-ms-error-code": "ResourceNotFound", + "x-ms-request-id": "f75d432f-701a-008f-2586-b0e7cc000000", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/filesharedirectoryclienttestrenamefile/RenameFile1/RenameFile6" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "798d8048-b9c4-445a-66ac-fc26aae4458c", + "x-ms-version": "2021-06-08" + }, + "Method": "PUT", + "Response": { + "BODY": "", + "REASON_PHRASE": "Created", + "STATUS_CODE": "201", + "content-length": "0", + "date": "Mon, 15 Aug 2022 09:06:25 GMT", + "etag": "\"0x8DA7E9D6E81C477\"", + "last-modified": "Mon, 15 Aug 2022 09:06:25 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "798d8048-b9c4-445a-66ac-fc26aae4458c", + "x-ms-file-attributes": "Archive", + "x-ms-file-change-time": "2022-08-15T09:06:25.5309943Z", + "x-ms-file-creation-time": "2022-08-15T09:06:25.5309943Z", + "x-ms-file-id": "13835075647468208128", + "x-ms-file-last-write-time": "2022-08-15T09:06:25.5309943Z", + "x-ms-file-parent-id": "11529285414812647424", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", + "x-ms-request-id": "34bd0edb-801a-001d-3a86-b0631a000000", + "x-ms-request-server-encrypted": "true", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/filesharedirectoryclienttestrenamefile/RenameFile1/RenameFile8" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "1f4c7013-1a74-4507-4d23-b5c7c046c538", + "x-ms-version": "2021-06-08" + }, + "Method": "PUT", + "Response": { + "BODY": "", + "REASON_PHRASE": "OK", + "STATUS_CODE": "200", + "content-length": "0", + "date": "Mon, 15 Aug 2022 09:06:25 GMT", + "etag": "\"0x8DA7E9D6EBBB7D7\"", + "last-modified": "Mon, 15 Aug 2022 09:06:25 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "1f4c7013-1a74-4507-4d23-b5c7c046c538", + "x-ms-file-attributes": "None", + "x-ms-file-change-time": "2022-08-15T09:06:21.5395401Z", + "x-ms-file-creation-time": "2022-08-15T09:06:21.5395407Z", + "x-ms-file-id": "13835075647468208128", + "x-ms-file-last-write-time": "2022-08-15T09:06:21.5395409Z", + "x-ms-file-parent-id": "11529285414812647424", + "x-ms-file-permission-key": "8661341311694537746*16137673612980802019", + "x-ms-request-id": "34bd0ee1-801a-001d-3b86-b0631a000000", + "x-ms-request-server-encrypted": "true", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/filesharedirectoryclienttestrenamefile/RenameFile1/RenameFile9?comp=rename" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "0dec12ef-36d3-4060-5b7f-13e15ed7d0e2", + "x-ms-version": "2021-06-08" + }, + "Method": "HEAD", + "Response": { + "BODY": "", + "REASON_PHRASE": "OK", + "STATUS_CODE": "200", + "content-length": "512", + "content-type": "application/octet-stream", + "date": "Mon, 15 Aug 2022 09:06:26 GMT", + "etag": "\"0x8DA7E9D6EBBB7D7\"", + "last-modified": "Mon, 15 Aug 2022 09:06:25 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "0dec12ef-36d3-4060-5b7f-13e15ed7d0e2", + "x-ms-file-attributes": "None", + "x-ms-file-change-time": "2022-08-15T09:06:21.5395401Z", + "x-ms-file-creation-time": "2022-08-15T09:06:21.5395407Z", + "x-ms-file-id": "13835075647468208128", + "x-ms-file-last-write-time": "2022-08-15T09:06:21.5395409Z", + "x-ms-file-parent-id": "11529285414812647424", + "x-ms-file-permission-key": "8661341311694537746*16137673612980802019", + "x-ms-lease-state": "available", + "x-ms-lease-status": "unlocked", + "x-ms-meta-meta0": "value", + "x-ms-meta-meta1": "value", + "x-ms-meta-meta2": "value", + "x-ms-meta-meta3": "value", + "x-ms-meta-meta4": "value", + "x-ms-request-id": "34bd0ee8-801a-001d-3d86-b0631a000000", + "x-ms-server-encrypted": "true", + "x-ms-type": "File", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/filesharedirectoryclienttestrenamefile/RenameFile1/RenameFile9" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "3bc123ea-9782-44bd-6580-05af58ce46ec", + "x-ms-version": "2021-06-08" + }, + "Method": "HEAD", + "Response": { + "BODY": "", + "REASON_PHRASE": "The specified resource does not exist.", + "STATUS_CODE": "404", + "date": "Mon, 15 Aug 2022 09:06:26 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "transfer-encoding": "chunked", + "x-ms-client-request-id": "3bc123ea-9782-44bd-6580-05af58ce46ec", + "x-ms-error-code": "ResourceNotFound", + "x-ms-request-id": "34bd0eea-801a-001d-3e86-b0631a000000", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/filesharedirectoryclienttestrenamefile/RenameFile1/RenameFile8" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "4d7f4448-d68e-4f08-7e89-18b5c117ba37", + "x-ms-version": "2021-06-08" + }, + "Method": "PUT", + "Response": { + "BODY": "", + "REASON_PHRASE": "Created", + "STATUS_CODE": "201", + "content-length": "0", + "date": "Mon, 15 Aug 2022 09:06:27 GMT", + "etag": "\"0x8DA7E9D6FD1939E\"", + "last-modified": "Mon, 15 Aug 2022 09:06:27 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "4d7f4448-d68e-4f08-7e89-18b5c117ba37", + "x-ms-file-attributes": "Directory", + "x-ms-file-change-time": "2022-08-15T09:06:27.7317534Z", + "x-ms-file-creation-time": "2022-08-15T09:06:27.7317534Z", + "x-ms-file-id": "13835146016212385792", + "x-ms-file-last-write-time": "2022-08-15T09:06:27.7317534Z", + "x-ms-file-parent-id": "11529285414812647424", + "x-ms-file-permission-key": "13199961128260716138*16137673612980802019", + "x-ms-request-id": "bc6322f0-901a-003e-2e86-b0f9d9000000", + "x-ms-request-server-encrypted": "true", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/filesharedirectoryclienttestrenamefile/RenameFile1/RenameFile10?restype=directory" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "bfee59e5-e37c-476e-4202-ba1fec41988b", + "x-ms-version": "2021-06-08" + }, + "Method": "PUT", + "Response": { + "BODY": "", + "REASON_PHRASE": "Created", + "STATUS_CODE": "201", + "content-length": "0", + "date": "Mon, 15 Aug 2022 09:06:27 GMT", + "etag": "\"0x8DA7E9D6FFF53C3\"", + "last-modified": "Mon, 15 Aug 2022 09:06:28 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "bfee59e5-e37c-476e-4202-ba1fec41988b", + "x-ms-file-attributes": "Archive", + "x-ms-file-change-time": "2022-08-15T09:06:28.0315843Z", + "x-ms-file-creation-time": "2022-08-15T09:06:28.0315843Z", + "x-ms-file-id": "11529303006998691840", + "x-ms-file-last-write-time": "2022-08-15T09:06:28.0315843Z", + "x-ms-file-parent-id": "13835146016212385792", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", + "x-ms-request-id": "bc6322f6-901a-003e-2f86-b0f9d9000000", + "x-ms-request-server-encrypted": "true", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/filesharedirectoryclienttestrenamefile/RenameFile1/RenameFile10/RenameFile11" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "761afeab-810b-4959-4141-936f0f38488c", + "x-ms-version": "2021-06-08" + }, + "Method": "PUT", + "Response": { + "BODY": "", + "REASON_PHRASE": "Created", + "STATUS_CODE": "201", + "content-length": "0", + "date": "Mon, 15 Aug 2022 09:06:27 GMT", + "etag": "\"0x8DA7E9D702CC5DA\"", + "last-modified": "Mon, 15 Aug 2022 09:06:28 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "761afeab-810b-4959-4141-936f0f38488c", + "x-ms-file-attributes": "Directory", + "x-ms-file-change-time": "2022-08-15T09:06:28.3294170Z", + "x-ms-file-creation-time": "2022-08-15T09:06:28.3294170Z", + "x-ms-file-id": "16140989025426079744", + "x-ms-file-last-write-time": "2022-08-15T09:06:28.3294170Z", + "x-ms-file-parent-id": "0", + "x-ms-file-permission-key": "13199961128260716138*16137673612980802019", + "x-ms-request-id": "bc6322fb-901a-003e-3286-b0f9d9000000", + "x-ms-request-server-encrypted": "true", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/filesharedirectoryclienttestrenamefile/RenameFile12?restype=directory" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "4a739765-17d3-44bd-62eb-342baa84a99b", + "x-ms-version": "2021-06-08" + }, + "Method": "PUT", + "Response": { + "BODY": "", + "REASON_PHRASE": "OK", + "STATUS_CODE": "200", + "content-length": "0", + "date": "Mon, 15 Aug 2022 09:06:28 GMT", + "etag": "\"0x8DA7E9D7063374E\"", + "last-modified": "Mon, 15 Aug 2022 09:06:28 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "4a739765-17d3-44bd-62eb-342baa84a99b", + "x-ms-file-attributes": "Archive", + "x-ms-file-change-time": "2022-08-15T09:06:28.6862158Z", + "x-ms-file-creation-time": "2022-08-15T09:06:28.0315843Z", + "x-ms-file-id": "11529303006998691840", + "x-ms-file-last-write-time": "2022-08-15T09:06:28.0315843Z", + "x-ms-file-parent-id": "16140989025426079744", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", + "x-ms-request-id": "bc6322fe-901a-003e-3386-b0f9d9000000", + "x-ms-request-server-encrypted": "true", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/filesharedirectoryclienttestrenamefile/RenameFile12/RenameFile13?comp=rename" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "f4df1ba2-1bd1-494b-7260-f80b14cdf6eb", + "x-ms-version": "2021-06-08" + }, + "Method": "HEAD", + "Response": { + "BODY": "", + "REASON_PHRASE": "OK", + "STATUS_CODE": "200", + "content-length": "512", + "content-type": "application/octet-stream", + "date": "Mon, 15 Aug 2022 09:06:28 GMT", + "etag": "\"0x8DA7E9D7063374E\"", + "last-modified": "Mon, 15 Aug 2022 09:06:28 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "f4df1ba2-1bd1-494b-7260-f80b14cdf6eb", + "x-ms-file-attributes": "Archive", + "x-ms-file-change-time": "2022-08-15T09:06:28.6862158Z", + "x-ms-file-creation-time": "2022-08-15T09:06:28.0315843Z", + "x-ms-file-id": "11529303006998691840", + "x-ms-file-last-write-time": "2022-08-15T09:06:28.0315843Z", + "x-ms-file-parent-id": "16140989025426079744", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", + "x-ms-lease-state": "available", + "x-ms-lease-status": "unlocked", + "x-ms-request-id": "bc632303-901a-003e-3486-b0f9d9000000", + "x-ms-server-encrypted": "true", + "x-ms-type": "File", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/filesharedirectoryclienttestrenamefile/RenameFile12/RenameFile13" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "833f23da-d712-460d-4ab3-09e13fb347b5", + "x-ms-version": "2021-06-08" + }, + "Method": "HEAD", + "Response": { + "BODY": "", + "REASON_PHRASE": "The specified resource does not exist.", + "STATUS_CODE": "404", + "date": "Mon, 15 Aug 2022 09:06:28 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "transfer-encoding": "chunked", + "x-ms-client-request-id": "833f23da-d712-460d-4ab3-09e13fb347b5", + "x-ms-error-code": "ResourceNotFound", + "x-ms-request-id": "bc632306-901a-003e-3586-b0f9d9000000", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/filesharedirectoryclienttestrenamefile/RenameFile1/RenameFile10/RenameFile11" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "75f20732-ec4c-4b63-77ac-84f0ebbcb7cd", + "x-ms-version": "2021-06-08" + }, + "Method": "PUT", + "Response": { + "BODY": "", + "REASON_PHRASE": "Created", + "STATUS_CODE": "201", + "content-length": "0", + "date": "Mon, 15 Aug 2022 09:06:30 GMT", + "etag": "\"0x8DA7E9D71762D48\"", + "last-modified": "Mon, 15 Aug 2022 09:06:30 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "75f20732-ec4c-4b63-77ac-84f0ebbcb7cd", + "x-ms-file-attributes": "Archive", + "x-ms-file-change-time": "2022-08-15T09:06:30.4881992Z", + "x-ms-file-creation-time": "2022-08-15T09:06:30.4881992Z", + "x-ms-file-id": "11529232638254514176", + "x-ms-file-last-write-time": "2022-08-15T09:06:30.4881992Z", + "x-ms-file-parent-id": "11529285414812647424", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", + "x-ms-request-id": "34bd0f0d-801a-001d-3f86-b0631a000000", + "x-ms-request-server-encrypted": "true", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/filesharedirectoryclienttestrenamefile/RenameFile1/RenameFile14" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "0af60c9c-52a1-4800-4bd0-62bf83284561", + "x-ms-version": "2021-06-08" + }, + "Method": "PUT", + "Response": { + "BODY": "", + "REASON_PHRASE": "OK", + "STATUS_CODE": "200", + "content-length": "0", + "date": "Mon, 15 Aug 2022 09:06:30 GMT", + "etag": "\"0x8DA7E9D71A3514B\"", + "last-modified": "Mon, 15 Aug 2022 09:06:30 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "0af60c9c-52a1-4800-4bd0-62bf83284561", + "x-ms-file-attributes": "Archive", + "x-ms-file-change-time": "2022-08-15T09:06:30.7840331Z", + "x-ms-file-creation-time": "2022-08-15T09:06:30.4881992Z", + "x-ms-file-id": "11529232638254514176", + "x-ms-file-last-write-time": "2022-08-15T09:06:30.4881992Z", + "x-ms-file-parent-id": "0", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", + "x-ms-request-id": "34bd0f11-801a-001d-4086-b0631a000000", + "x-ms-request-server-encrypted": "true", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/filesharedirectoryclienttestrenamefile/RenameFile15?comp=rename" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "ffe9a30e-97bb-4e13-4ef8-ffff5f1546b6", + "x-ms-version": "2021-06-08" + }, + "Method": "HEAD", + "Response": { + "BODY": "", + "REASON_PHRASE": "OK", + "STATUS_CODE": "200", + "content-length": "512", + "content-type": "application/octet-stream", + "date": "Mon, 15 Aug 2022 09:06:30 GMT", + "etag": "\"0x8DA7E9D71A3514B\"", + "last-modified": "Mon, 15 Aug 2022 09:06:30 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "ffe9a30e-97bb-4e13-4ef8-ffff5f1546b6", + "x-ms-file-attributes": "Archive", + "x-ms-file-change-time": "2022-08-15T09:06:30.7840331Z", + "x-ms-file-creation-time": "2022-08-15T09:06:30.4881992Z", + "x-ms-file-id": "11529232638254514176", + "x-ms-file-last-write-time": "2022-08-15T09:06:30.4881992Z", + "x-ms-file-parent-id": "0", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", + "x-ms-lease-state": "available", + "x-ms-lease-status": "unlocked", + "x-ms-request-id": "34bd0f14-801a-001d-4186-b0631a000000", + "x-ms-server-encrypted": "true", + "x-ms-type": "File", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/filesharedirectoryclienttestrenamefile/RenameFile15" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "9bc8f317-7f1d-473b-49b0-f815e8fa569b", + "x-ms-version": "2021-06-08" + }, + "Method": "HEAD", + "Response": { + "BODY": "", + "REASON_PHRASE": "The specified resource does not exist.", + "STATUS_CODE": "404", + "date": "Mon, 15 Aug 2022 09:06:31 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "transfer-encoding": "chunked", + "x-ms-client-request-id": "9bc8f317-7f1d-473b-49b0-f815e8fa569b", + "x-ms-error-code": "ResourceNotFound", + "x-ms-request-id": "34bd0f16-801a-001d-4286-b0631a000000", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/filesharedirectoryclienttestrenamefile/RenameFile1/RenameFile14" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "59597f9f-27c0-438b-7341-ca3da44ffb3a", + "x-ms-version": "2021-06-08" + }, + "Method": "PUT", + "Response": { + "BODY": "", + "REASON_PHRASE": "Created", + "STATUS_CODE": "201", + "content-length": "0", + "date": "Mon, 15 Aug 2022 09:06:31 GMT", + "etag": "\"0x8DA7E9D72B31368\"", + "last-modified": "Mon, 15 Aug 2022 09:06:32 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "59597f9f-27c0-438b-7341-ca3da44ffb3a", + "x-ms-file-attributes": "Archive", + "x-ms-file-change-time": "2022-08-15T09:06:32.5650280Z", + "x-ms-file-creation-time": "2022-08-15T09:06:32.5650280Z", + "x-ms-file-id": "13835110831840296960", + "x-ms-file-last-write-time": "2022-08-15T09:06:32.5650280Z", + "x-ms-file-parent-id": "11529285414812647424", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", + "x-ms-request-id": "1664d6d0-e01a-009d-2586-b09c1c000000", + "x-ms-request-server-encrypted": "true", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/filesharedirectoryclienttestrenamefile/RenameFile1/RenameFile16" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "b4a15673-830f-4426-591f-609abce4f0e5", + "x-ms-version": "2021-06-08" + }, + "Method": "PUT", + "Response": { + "BODY": "", + "REASON_PHRASE": "Created", + "STATUS_CODE": "201", + "date": "Mon, 15 Aug 2022 09:06:32 GMT", + "etag": "\"0x8DA7E9D72B31368\"", + "last-modified": "Mon, 15 Aug 2022 09:06:32 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "transfer-encoding": "chunked", + "x-ms-client-request-id": "b4a15673-830f-4426-591f-609abce4f0e5", + "x-ms-lease-id": "37ba46e0-a196-4c3c-7dce-0ac567f425c9", + "x-ms-request-id": "1664d6d9-e01a-009d-2786-b09c1c000000", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/filesharedirectoryclienttestrenamefile/RenameFile1/RenameFile16?comp=lease" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "015d63ea-805d-448f-7e27-dd9e8085f843", + "x-ms-version": "2021-06-08" + }, + "Method": "PUT", + "Response": { + "BODY": "", + "REASON_PHRASE": "Created", + "STATUS_CODE": "201", + "content-length": "0", + "date": "Mon, 15 Aug 2022 09:06:32 GMT", + "etag": "\"0x8DA7E9D730FA504\"", + "last-modified": "Mon, 15 Aug 2022 09:06:33 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "015d63ea-805d-448f-7e27-dd9e8085f843", + "x-ms-file-attributes": "Archive", + "x-ms-file-change-time": "2022-08-15T09:06:33.1716868Z", + "x-ms-file-creation-time": "2022-08-15T09:06:33.1716868Z", + "x-ms-file-id": "11529267822626603008", + "x-ms-file-last-write-time": "2022-08-15T09:06:33.1716868Z", + "x-ms-file-parent-id": "11529285414812647424", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", + "x-ms-request-id": "1664d6de-e01a-009d-2986-b09c1c000000", + "x-ms-request-server-encrypted": "true", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/filesharedirectoryclienttestrenamefile/RenameFile1/RenameFile17" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "c8736a3e-6595-4b45-56bd-1062b88f8203", + "x-ms-version": "2021-06-08" + }, + "Method": "PUT", + "Response": { + "BODY": "", + "REASON_PHRASE": "Created", + "STATUS_CODE": "201", + "date": "Mon, 15 Aug 2022 09:06:32 GMT", + "etag": "\"0x8DA7E9D730FA504\"", + "last-modified": "Mon, 15 Aug 2022 09:06:33 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "transfer-encoding": "chunked", + "x-ms-client-request-id": "c8736a3e-6595-4b45-56bd-1062b88f8203", + "x-ms-lease-id": "ee271a13-3d96-4ca6-41f2-5166a1937d5a", + "x-ms-request-id": "1664d6e1-e01a-009d-2a86-b09c1c000000", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/filesharedirectoryclienttestrenamefile/RenameFile1/RenameFile17?comp=lease" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "088e7383-2959-428c-5666-f1cc09699e1d", + "x-ms-version": "2021-06-08" + }, + "Method": "PUT", + "Response": { + "BODY": "LeaseIdMissingThere is currently a lease on the file and no lease ID was specified in the request.\nRequestId:1664d6e4-e01a-009d-2b86-b09c1c000000\nTime:2022-08-15T09:06:33.7656338Z", + "REASON_PHRASE": "There is currently a lease on the file and no lease ID was specified in the request.", + "STATUS_CODE": "412", + "content-length": "267", + "content-type": "application/xml", + "date": "Mon, 15 Aug 2022 09:06:32 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "088e7383-2959-428c-5666-f1cc09699e1d", + "x-ms-error-code": "LeaseIdMissing", + "x-ms-request-id": "1664d6e4-e01a-009d-2b86-b09c1c000000", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/filesharedirectoryclienttestrenamefile/RenameFile1/RenameFile17?comp=rename" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "c36f145a-4c62-4b1f-550f-9f835a472137", + "x-ms-version": "2021-06-08" + }, + "Method": "PUT", + "Response": { + "BODY": "", + "REASON_PHRASE": "OK", + "STATUS_CODE": "200", + "content-length": "0", + "date": "Mon, 15 Aug 2022 09:06:34 GMT", + "etag": "\"0x8DA7E9D742902AB\"", + "last-modified": "Mon, 15 Aug 2022 09:06:35 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "c36f145a-4c62-4b1f-550f-9f835a472137", + "x-ms-file-attributes": "Archive", + "x-ms-file-change-time": "2022-08-15T09:06:35.0156459Z", + "x-ms-file-creation-time": "2022-08-15T09:06:32.5650280Z", + "x-ms-file-id": "13835110831840296960", + "x-ms-file-last-write-time": "2022-08-15T09:06:32.5650280Z", + "x-ms-file-parent-id": "11529285414812647424", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", + "x-ms-request-id": "4f765dbc-101a-0030-6686-b0d069000000", + "x-ms-request-server-encrypted": "true", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/filesharedirectoryclienttestrenamefile/RenameFile1/RenameFile17?comp=rename" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "c12da4ab-b2a7-4350-4d6f-08019a24f78e", + "x-ms-version": "2021-06-08" + }, + "Method": "PUT", + "Response": { + "BODY": "", + "REASON_PHRASE": "OK", + "STATUS_CODE": "200", + "date": "Mon, 15 Aug 2022 09:06:34 GMT", + "etag": "\"0x8DA7E9D742902AB\"", + "last-modified": "Mon, 15 Aug 2022 09:06:35 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "transfer-encoding": "chunked", + "x-ms-client-request-id": "c12da4ab-b2a7-4350-4d6f-08019a24f78e", + "x-ms-request-id": "4f765dc3-101a-0030-6786-b0d069000000", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/filesharedirectoryclienttestrenamefile/RenameFile1/RenameFile17?comp=lease" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "6ecad06c-45c7-4f4c-43c3-3bcf5cbee58c", + "x-ms-version": "2021-06-08" + }, + "Method": "DELETE", + "Response": { + "BODY": "", + "REASON_PHRASE": "Accepted", + "STATUS_CODE": "202", + "content-length": "0", + "date": "Mon, 15 Aug 2022 09:06:34 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "6ecad06c-45c7-4f4c-43c3-3bcf5cbee58c", + "x-ms-request-id": "4f765dc5-101a-0030-6886-b0d069000000", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/filesharedirectoryclienttestrenamefile?restype=share" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "e22a4173-610a-40d1-58c4-bcd2529316e4", + "x-ms-version": "2021-06-08" + }, + "Method": "DELETE", + "Response": { + "BODY": "", + "REASON_PHRASE": "Accepted", + "STATUS_CODE": "202", + "content-length": "0", + "date": "Mon, 15 Aug 2022 09:06:35 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "e22a4173-610a-40d1-58c4-bcd2529316e4", + "x-ms-request-id": "4f765dc6-101a-0030-6986-b0d069000000", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/filesharedirectoryclienttestrenamefile?restype=share" + } + ] +} diff --git a/sdk/storage/azure-storage-files-shares/test/ut/recordings/FileShareDirectoryClientTest.RenameSubdirectory.json b/sdk/storage/azure-storage-files-shares/test/ut/recordings/FileShareDirectoryClientTest.RenameSubdirectory.json new file mode 100644 index 0000000000..3c860b0ead --- /dev/null +++ b/sdk/storage/azure-storage-files-shares/test/ut/recordings/FileShareDirectoryClientTest.RenameSubdirectory.json @@ -0,0 +1,967 @@ +{ + "networkCallRecords": [ + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "ab467ec1-a465-444c-64bb-6bf75859f195", + "x-ms-version": "2021-06-08" + }, + "Method": "PUT", + "Response": { + "BODY": "", + "REASON_PHRASE": "Created", + "STATUS_CODE": "201", + "content-length": "0", + "date": "Mon, 15 Aug 2022 09:06:35 GMT", + "etag": "\"0x8DA7E9D74E725A2\"", + "last-modified": "Mon, 15 Aug 2022 09:06:36 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "ab467ec1-a465-444c-64bb-6bf75859f195", + "x-ms-request-id": "4f765dc7-101a-0030-6a86-b0d069000000", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/filesharedirectoryclienttestrenamesubdirectory?restype=share" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "7fea9151-c5e9-42eb-7780-b9bb6d4e3513", + "x-ms-version": "2021-06-08" + }, + "Method": "PUT", + "Response": { + "BODY": "", + "REASON_PHRASE": "Created", + "STATUS_CODE": "201", + "content-length": "0", + "date": "Mon, 15 Aug 2022 09:06:35 GMT", + "etag": "\"0x8DA7E9D7515D888\"", + "last-modified": "Mon, 15 Aug 2022 09:06:36 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "7fea9151-c5e9-42eb-7780-b9bb6d4e3513", + "x-ms-file-attributes": "Directory", + "x-ms-file-change-time": "2022-08-15T09:06:36.5677704Z", + "x-ms-file-creation-time": "2022-08-15T09:06:36.5677704Z", + "x-ms-file-id": "13835128424026341376", + "x-ms-file-last-write-time": "2022-08-15T09:06:36.5677704Z", + "x-ms-file-parent-id": "0", + "x-ms-file-permission-key": "13199961128260716138*16137673612980802019", + "x-ms-request-id": "4f765dc9-101a-0030-6b86-b0d069000000", + "x-ms-request-server-encrypted": "true", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/filesharedirectoryclienttestrenamesubdirectory/RenameSubdirectorybase?restype=directory" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "822eb592-b862-47b0-47fa-d7b3800202a0", + "x-ms-version": "2021-06-08" + }, + "Method": "PUT", + "Response": { + "BODY": "", + "REASON_PHRASE": "Created", + "STATUS_CODE": "201", + "content-length": "0", + "date": "Mon, 15 Aug 2022 09:06:36 GMT", + "etag": "\"0x8DA7E9D7543238D\"", + "last-modified": "Mon, 15 Aug 2022 09:06:36 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "822eb592-b862-47b0-47fa-d7b3800202a0", + "x-ms-file-attributes": "Directory", + "x-ms-file-change-time": "2022-08-15T09:06:36.8646029Z", + "x-ms-file-creation-time": "2022-08-15T09:06:36.8646029Z", + "x-ms-file-id": "11529285414812647424", + "x-ms-file-last-write-time": "2022-08-15T09:06:36.8646029Z", + "x-ms-file-parent-id": "0", + "x-ms-file-permission-key": "13199961128260716138*16137673612980802019", + "x-ms-request-id": "4f765dcb-101a-0030-6c86-b0d069000000", + "x-ms-request-server-encrypted": "true", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/filesharedirectoryclienttestrenamesubdirectory/RenameSubdirectory1?restype=directory" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "913245e3-e51e-4341-5598-0224c9437d93", + "x-ms-version": "2021-06-08" + }, + "Method": "PUT", + "Response": { + "BODY": "", + "REASON_PHRASE": "Created", + "STATUS_CODE": "201", + "content-length": "0", + "date": "Mon, 15 Aug 2022 09:06:36 GMT", + "etag": "\"0x8DA7E9D756FD277\"", + "last-modified": "Mon, 15 Aug 2022 09:06:37 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "913245e3-e51e-4341-5598-0224c9437d93", + "x-ms-file-attributes": "Directory", + "x-ms-file-change-time": "2022-08-15T09:06:37.1574391Z", + "x-ms-file-creation-time": "2022-08-15T09:06:37.1574391Z", + "x-ms-file-id": "16140971433240035328", + "x-ms-file-last-write-time": "2022-08-15T09:06:37.1574391Z", + "x-ms-file-parent-id": "11529285414812647424", + "x-ms-file-permission-key": "13199961128260716138*16137673612980802019", + "x-ms-request-id": "4f765dce-101a-0030-6d86-b0d069000000", + "x-ms-request-server-encrypted": "true", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/filesharedirectoryclienttestrenamesubdirectory/RenameSubdirectory1/RenameSubdirectory2?restype=directory" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "298c6b9f-6eaa-4d7e-7750-4a929a513c49", + "x-ms-version": "2021-06-08" + }, + "Method": "PUT", + "Response": { + "BODY": "", + "REASON_PHRASE": "Created", + "STATUS_CODE": "201", + "content-length": "0", + "date": "Mon, 15 Aug 2022 09:06:36 GMT", + "etag": "\"0x8DA7E9D759D1D73\"", + "last-modified": "Mon, 15 Aug 2022 09:06:37 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "298c6b9f-6eaa-4d7e-7750-4a929a513c49", + "x-ms-file-attributes": "Archive", + "x-ms-file-change-time": "2022-08-15T09:06:37.4542707Z", + "x-ms-file-creation-time": "2022-08-15T09:06:37.4542707Z", + "x-ms-file-id": "10376363910205800448", + "x-ms-file-last-write-time": "2022-08-15T09:06:37.4542707Z", + "x-ms-file-parent-id": "16140971433240035328", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", + "x-ms-request-id": "4f765dcf-101a-0030-6e86-b0d069000000", + "x-ms-request-server-encrypted": "true", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/filesharedirectoryclienttestrenamesubdirectory/RenameSubdirectory1/RenameSubdirectory2/RenameSubdirectoryFile1" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "8b80229d-3ab2-4876-6101-a8d4a8e64ff4", + "x-ms-version": "2021-06-08" + }, + "Method": "PUT", + "Response": { + "BODY": "", + "REASON_PHRASE": "OK", + "STATUS_CODE": "200", + "content-length": "0", + "date": "Mon, 15 Aug 2022 09:06:36 GMT", + "etag": "\"0x8DA7E9D75CADD9D\"", + "last-modified": "Mon, 15 Aug 2022 09:06:37 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "8b80229d-3ab2-4876-6101-a8d4a8e64ff4", + "x-ms-file-attributes": "Directory", + "x-ms-file-change-time": "2022-08-15T09:06:37.7541021Z", + "x-ms-file-creation-time": "2022-08-15T09:06:37.1574391Z", + "x-ms-file-id": "16140971433240035328", + "x-ms-file-last-write-time": "2022-08-15T09:06:37.1574391Z", + "x-ms-file-parent-id": "11529285414812647424", + "x-ms-file-permission-key": "13199961128260716138*16137673612980802019", + "x-ms-request-id": "4f765dd1-101a-0030-6f86-b0d069000000", + "x-ms-request-server-encrypted": "true", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/filesharedirectoryclienttestrenamesubdirectory/RenameSubdirectory1/RenameSubdirectory3?comp=rename&restype=directory" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "402f1ff4-ec8b-4338-64ac-df8df58a2f0e", + "x-ms-version": "2021-06-08" + }, + "Method": "GET", + "Response": { + "BODY": "", + "REASON_PHRASE": "OK", + "STATUS_CODE": "200", + "content-length": "0", + "date": "Mon, 15 Aug 2022 09:06:37 GMT", + "etag": "\"0x8DA7E9D75CADD9D\"", + "last-modified": "Mon, 15 Aug 2022 09:06:37 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "402f1ff4-ec8b-4338-64ac-df8df58a2f0e", + "x-ms-file-attributes": "Directory", + "x-ms-file-change-time": "2022-08-15T09:06:37.7541021Z", + "x-ms-file-creation-time": "2022-08-15T09:06:37.1574391Z", + "x-ms-file-id": "16140971433240035328", + "x-ms-file-last-write-time": "2022-08-15T09:06:37.1574391Z", + "x-ms-file-parent-id": "11529285414812647424", + "x-ms-file-permission-key": "13199961128260716138*16137673612980802019", + "x-ms-request-id": "4f765dd6-101a-0030-7186-b0d069000000", + "x-ms-server-encrypted": "true", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/filesharedirectoryclienttestrenamesubdirectory/RenameSubdirectory1/RenameSubdirectory3?restype=directory" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "33cafae0-850e-48bf-6ce5-4f5e70cc812e", + "x-ms-version": "2021-06-08" + }, + "Method": "GET", + "Response": { + "BODY": "ResourceNotFoundThe specified resource does not exist.\nRequestId:4f765dd7-101a-0030-7286-b0d069000000\nTime:2022-08-15T09:06:38.3395537Z", + "REASON_PHRASE": "The specified resource does not exist.", + "STATUS_CODE": "404", + "content-length": "223", + "content-type": "application/xml", + "date": "Mon, 15 Aug 2022 09:06:37 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "33cafae0-850e-48bf-6ce5-4f5e70cc812e", + "x-ms-error-code": "ResourceNotFound", + "x-ms-request-id": "4f765dd7-101a-0030-7286-b0d069000000", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/filesharedirectoryclienttestrenamesubdirectory/RenameSubdirectory1/RenameSubdirectory2?restype=directory" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "46d75d79-b356-4482-77e9-f28efdcfbd35", + "x-ms-version": "2021-06-08" + }, + "Method": "PUT", + "Response": { + "BODY": "", + "REASON_PHRASE": "Created", + "STATUS_CODE": "201", + "content-length": "0", + "date": "Mon, 15 Aug 2022 09:06:38 GMT", + "etag": "\"0x8DA7E9D76D5976A\"", + "last-modified": "Mon, 15 Aug 2022 09:06:39 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "46d75d79-b356-4482-77e9-f28efdcfbd35", + "x-ms-file-attributes": "Directory", + "x-ms-file-change-time": "2022-08-15T09:06:39.5021162Z", + "x-ms-file-creation-time": "2022-08-15T09:06:39.5021162Z", + "x-ms-file-id": "13835093239654252544", + "x-ms-file-last-write-time": "2022-08-15T09:06:39.5021162Z", + "x-ms-file-parent-id": "11529285414812647424", + "x-ms-file-permission-key": "13199961128260716138*16137673612980802019", + "x-ms-request-id": "db8613e8-001a-0013-7986-b04aaa000000", + "x-ms-request-server-encrypted": "true", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/filesharedirectoryclienttestrenamesubdirectory/RenameSubdirectory1/RenameSubdirectory4?restype=directory" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "793c53af-3f31-4f44-5553-f8353d8e7aeb", + "x-ms-version": "2021-06-08" + }, + "Method": "PUT", + "Response": { + "BODY": "", + "REASON_PHRASE": "Created", + "STATUS_CODE": "201", + "content-length": "0", + "date": "Mon, 15 Aug 2022 09:06:39 GMT", + "etag": "\"0x8DA7E9D7702945D\"", + "last-modified": "Mon, 15 Aug 2022 09:06:39 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "793c53af-3f31-4f44-5553-f8353d8e7aeb", + "x-ms-file-attributes": "Archive", + "x-ms-file-change-time": "2022-08-15T09:06:39.7969501Z", + "x-ms-file-creation-time": "2022-08-15T09:06:39.7969501Z", + "x-ms-file-id": "11529250230440558592", + "x-ms-file-last-write-time": "2022-08-15T09:06:39.7969501Z", + "x-ms-file-parent-id": "11529285414812647424", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", + "x-ms-request-id": "db8613ec-001a-0013-7a86-b04aaa000000", + "x-ms-request-server-encrypted": "true", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/filesharedirectoryclienttestrenamesubdirectory/RenameSubdirectory1/RenameSubdirectory5" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "12b96359-8683-41d1-440f-428fc166cae9", + "x-ms-version": "2021-06-08" + }, + "Method": "PUT", + "Response": { + "BODY": "ResourceAlreadyExistsThe specified resource already exists.\nRequestId:db8613ed-001a-0013-7b86-b04aaa000000\nTime:2022-08-15T09:06:40.1854088Z", + "REASON_PHRASE": "The specified resource already exists.", + "STATUS_CODE": "409", + "content-length": "228", + "content-type": "application/xml", + "date": "Mon, 15 Aug 2022 09:06:39 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "12b96359-8683-41d1-440f-428fc166cae9", + "x-ms-error-code": "ResourceAlreadyExists", + "x-ms-request-id": "db8613ed-001a-0013-7b86-b04aaa000000", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/filesharedirectoryclienttestrenamesubdirectory/RenameSubdirectory1/RenameSubdirectory5?comp=rename&restype=directory" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "1936a6d7-2df6-4f4a-7197-dca8f1ffc638", + "x-ms-version": "2021-06-08" + }, + "Method": "PUT", + "Response": { + "BODY": "", + "REASON_PHRASE": "OK", + "STATUS_CODE": "200", + "content-length": "0", + "date": "Mon, 15 Aug 2022 09:06:41 GMT", + "etag": "\"0x8DA7E9D77FC39A3\"", + "last-modified": "Mon, 15 Aug 2022 09:06:41 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "1936a6d7-2df6-4f4a-7197-dca8f1ffc638", + "x-ms-file-attributes": "Directory", + "x-ms-file-change-time": "2022-08-15T09:06:41.4330275Z", + "x-ms-file-creation-time": "2022-08-15T09:06:39.5021162Z", + "x-ms-file-id": "13835093239654252544", + "x-ms-file-last-write-time": "2022-08-15T09:06:39.5021162Z", + "x-ms-file-parent-id": "11529285414812647424", + "x-ms-file-permission-key": "13199961128260716138*16137673612980802019", + "x-ms-request-id": "a4650d83-701a-0009-6586-b02b75000000", + "x-ms-request-server-encrypted": "true", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/filesharedirectoryclienttestrenamesubdirectory/RenameSubdirectory1/RenameSubdirectory5?comp=rename&restype=directory" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "7f3708ee-8d74-469c-4a10-7ed1c9be7dd3", + "x-ms-version": "2021-06-08" + }, + "Method": "GET", + "Response": { + "BODY": "ResourceNotFoundThe specified resource does not exist.\nRequestId:a4650d87-701a-0009-6686-b02b75000000\nTime:2022-08-15T09:06:41.7393595Z", + "REASON_PHRASE": "The specified resource does not exist.", + "STATUS_CODE": "404", + "content-length": "223", + "content-type": "application/xml", + "date": "Mon, 15 Aug 2022 09:06:41 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "7f3708ee-8d74-469c-4a10-7ed1c9be7dd3", + "x-ms-error-code": "ResourceNotFound", + "x-ms-request-id": "a4650d87-701a-0009-6686-b02b75000000", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/filesharedirectoryclienttestrenamesubdirectory/RenameSubdirectory1/RenameSubdirectory4?restype=directory" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "8c23a2af-526d-4a54-709e-3454fedc52c8", + "x-ms-version": "2021-06-08" + }, + "Method": "PUT", + "Response": { + "BODY": "", + "REASON_PHRASE": "Created", + "STATUS_CODE": "201", + "content-length": "0", + "date": "Mon, 15 Aug 2022 09:06:42 GMT", + "etag": "\"0x8DA7E9D78DFE912\"", + "last-modified": "Mon, 15 Aug 2022 09:06:42 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "8c23a2af-526d-4a54-709e-3454fedc52c8", + "x-ms-file-attributes": "Directory", + "x-ms-file-change-time": "2022-08-15T09:06:42.9251858Z", + "x-ms-file-creation-time": "2022-08-15T09:06:42.9251858Z", + "x-ms-file-id": "13835163608398430208", + "x-ms-file-last-write-time": "2022-08-15T09:06:42.9251858Z", + "x-ms-file-parent-id": "11529285414812647424", + "x-ms-file-permission-key": "13199961128260716138*16137673612980802019", + "x-ms-request-id": "94c1fb45-101a-0020-5586-b01501000000", + "x-ms-request-server-encrypted": "true", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/filesharedirectoryclienttestrenamesubdirectory/RenameSubdirectory1/RenameSubdirectory6?restype=directory" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "3865eff3-9b01-465d-4bbd-ee1b212afee3", + "x-ms-version": "2021-06-08" + }, + "Method": "PUT", + "Response": { + "BODY": "", + "REASON_PHRASE": "Created", + "STATUS_CODE": "201", + "content-length": "0", + "date": "Mon, 15 Aug 2022 09:06:42 GMT", + "etag": "\"0x8DA7E9D790D822A\"", + "last-modified": "Mon, 15 Aug 2022 09:06:43 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "3865eff3-9b01-465d-4bbd-ee1b212afee3", + "x-ms-file-attributes": "ReadOnly | Archive", + "x-ms-file-change-time": "2022-08-15T09:06:43.2240170Z", + "x-ms-file-creation-time": "2022-08-15T09:06:43.2240170Z", + "x-ms-file-id": "11529320599184736256", + "x-ms-file-last-write-time": "2022-08-15T09:06:43.2240170Z", + "x-ms-file-parent-id": "11529285414812647424", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", + "x-ms-request-id": "94c1fb49-101a-0020-5686-b01501000000", + "x-ms-request-server-encrypted": "true", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/filesharedirectoryclienttestrenamesubdirectory/RenameSubdirectory1/RenameSubdirectory7" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "8ba26513-86f6-456f-5c57-3f1568ee7e55", + "x-ms-version": "2021-06-08" + }, + "Method": "PUT", + "Response": { + "BODY": "ReadOnlyAttributeThe specified resource is read-only and cannot be modified at this time.\nRequestId:94c1fb4a-101a-0020-5786-b01501000000\nTime:2022-08-15T09:06:43.5208335Z", + "REASON_PHRASE": "The specified resource is read-only and cannot be modified at this time.", + "STATUS_CODE": "409", + "content-length": "258", + "content-type": "application/xml", + "date": "Mon, 15 Aug 2022 09:06:42 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "8ba26513-86f6-456f-5c57-3f1568ee7e55", + "x-ms-error-code": "ReadOnlyAttribute", + "x-ms-request-id": "94c1fb4a-101a-0020-5786-b01501000000", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/filesharedirectoryclienttestrenamesubdirectory/RenameSubdirectory1/RenameSubdirectory7?comp=rename&restype=directory" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "f39e4809-e62b-45fc-7626-11a04838b551", + "x-ms-version": "2021-06-08" + }, + "Method": "PUT", + "Response": { + "BODY": "", + "REASON_PHRASE": "OK", + "STATUS_CODE": "200", + "content-length": "0", + "date": "Mon, 15 Aug 2022 09:06:43 GMT", + "etag": "\"0x8DA7E9D79F2DF15\"", + "last-modified": "Mon, 15 Aug 2022 09:06:44 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "f39e4809-e62b-45fc-7626-11a04838b551", + "x-ms-file-attributes": "Directory", + "x-ms-file-change-time": "2022-08-15T09:06:44.7271701Z", + "x-ms-file-creation-time": "2022-08-15T09:06:42.9251858Z", + "x-ms-file-id": "13835163608398430208", + "x-ms-file-last-write-time": "2022-08-15T09:06:42.9251858Z", + "x-ms-file-parent-id": "11529285414812647424", + "x-ms-file-permission-key": "13199961128260716138*16137673612980802019", + "x-ms-request-id": "7c27f62a-601a-003a-4686-b074de000000", + "x-ms-request-server-encrypted": "true", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/filesharedirectoryclienttestrenamesubdirectory/RenameSubdirectory1/RenameSubdirectory7?comp=rename&restype=directory" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "dc62a085-f1ad-4288-429c-cb9a7a184904", + "x-ms-version": "2021-06-08" + }, + "Method": "GET", + "Response": { + "BODY": "ResourceNotFoundThe specified resource does not exist.\nRequestId:7c27f62e-601a-003a-4786-b074de000000\nTime:2022-08-15T09:06:45.0241817Z", + "REASON_PHRASE": "The specified resource does not exist.", + "STATUS_CODE": "404", + "content-length": "223", + "content-type": "application/xml", + "date": "Mon, 15 Aug 2022 09:06:44 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "dc62a085-f1ad-4288-429c-cb9a7a184904", + "x-ms-error-code": "ResourceNotFound", + "x-ms-request-id": "7c27f62e-601a-003a-4786-b074de000000", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/filesharedirectoryclienttestrenamesubdirectory/RenameSubdirectory1/RenameSubdirectory6?restype=directory" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "c99153e3-6f16-4b86-5ed8-37904fdbfab5", + "x-ms-version": "2021-06-08" + }, + "Method": "PUT", + "Response": { + "BODY": "", + "REASON_PHRASE": "Created", + "STATUS_CODE": "201", + "content-length": "0", + "date": "Mon, 15 Aug 2022 09:06:45 GMT", + "etag": "\"0x8DA7E9D7AD83BF1\"", + "last-modified": "Mon, 15 Aug 2022 09:06:46 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "c99153e3-6f16-4b86-5ed8-37904fdbfab5", + "x-ms-file-attributes": "Directory", + "x-ms-file-change-time": "2022-08-15T09:06:46.2303217Z", + "x-ms-file-creation-time": "2022-08-15T09:06:46.2303217Z", + "x-ms-file-id": "13835075647468208128", + "x-ms-file-last-write-time": "2022-08-15T09:06:46.2303217Z", + "x-ms-file-parent-id": "11529285414812647424", + "x-ms-file-permission-key": "13199961128260716138*16137673612980802019", + "x-ms-request-id": "c50ba776-401a-0094-6286-b0d9cf000000", + "x-ms-request-server-encrypted": "true", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/filesharedirectoryclienttestrenamesubdirectory/RenameSubdirectory1/RenameSubdirectory8?restype=directory" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "a55472f1-421a-4353-6827-4e67315bc139", + "x-ms-version": "2021-06-08" + }, + "Method": "PUT", + "Response": { + "BODY": "", + "REASON_PHRASE": "OK", + "STATUS_CODE": "200", + "content-length": "0", + "date": "Mon, 15 Aug 2022 09:06:46 GMT", + "etag": "\"0x8DA7E9D7B100CCC\"", + "last-modified": "Mon, 15 Aug 2022 09:06:46 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "a55472f1-421a-4353-6827-4e67315bc139", + "x-ms-file-attributes": "Directory", + "x-ms-file-change-time": "2022-08-15T09:06:42.2404745Z", + "x-ms-file-creation-time": "2022-08-15T09:06:42.2404754Z", + "x-ms-file-id": "13835075647468208128", + "x-ms-file-last-write-time": "2022-08-15T09:06:42.2404756Z", + "x-ms-file-parent-id": "11529285414812647424", + "x-ms-file-permission-key": "8661341311694537746*16137673612980802019", + "x-ms-request-id": "c50ba77b-401a-0094-6386-b0d9cf000000", + "x-ms-request-server-encrypted": "true", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/filesharedirectoryclienttestrenamesubdirectory/RenameSubdirectory1/RenameSubdirectory9?comp=rename&restype=directory" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "d375a738-24d7-4f2a-4479-06dbd154e694", + "x-ms-version": "2021-06-08" + }, + "Method": "GET", + "Response": { + "BODY": "", + "REASON_PHRASE": "OK", + "STATUS_CODE": "200", + "content-length": "0", + "date": "Mon, 15 Aug 2022 09:06:46 GMT", + "etag": "\"0x8DA7E9D7B100CCC\"", + "last-modified": "Mon, 15 Aug 2022 09:06:46 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "d375a738-24d7-4f2a-4479-06dbd154e694", + "x-ms-file-attributes": "Directory", + "x-ms-file-change-time": "2022-08-15T09:06:42.2404745Z", + "x-ms-file-creation-time": "2022-08-15T09:06:42.2404754Z", + "x-ms-file-id": "13835075647468208128", + "x-ms-file-last-write-time": "2022-08-15T09:06:42.2404756Z", + "x-ms-file-parent-id": "11529285414812647424", + "x-ms-file-permission-key": "8661341311694537746*16137673612980802019", + "x-ms-meta-meta0": "value", + "x-ms-meta-meta1": "value", + "x-ms-meta-meta2": "value", + "x-ms-meta-meta3": "value", + "x-ms-meta-meta4": "value", + "x-ms-request-id": "c50ba77c-401a-0094-6486-b0d9cf000000", + "x-ms-server-encrypted": "true", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/filesharedirectoryclienttestrenamesubdirectory/RenameSubdirectory1/RenameSubdirectory9?restype=directory" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "6da81755-f72c-4368-4e33-bfe64a08f3e9", + "x-ms-version": "2021-06-08" + }, + "Method": "GET", + "Response": { + "BODY": "ResourceNotFoundThe specified resource does not exist.\nRequestId:c50ba77d-401a-0094-6586-b0d9cf000000\nTime:2022-08-15T09:06:47.1932888Z", + "REASON_PHRASE": "The specified resource does not exist.", + "STATUS_CODE": "404", + "content-length": "223", + "content-type": "application/xml", + "date": "Mon, 15 Aug 2022 09:06:46 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "6da81755-f72c-4368-4e33-bfe64a08f3e9", + "x-ms-error-code": "ResourceNotFound", + "x-ms-request-id": "c50ba77d-401a-0094-6586-b0d9cf000000", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/filesharedirectoryclienttestrenamesubdirectory/RenameSubdirectory1/RenameSubdirectory8?restype=directory" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "2519721c-aed4-48c4-79c2-7e5caebf8d80", + "x-ms-version": "2021-06-08" + }, + "Method": "PUT", + "Response": { + "BODY": "", + "REASON_PHRASE": "Created", + "STATUS_CODE": "201", + "content-length": "0", + "date": "Mon, 15 Aug 2022 09:06:47 GMT", + "etag": "\"0x8DA7E9D7C22188F\"", + "last-modified": "Mon, 15 Aug 2022 09:06:48 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "2519721c-aed4-48c4-79c2-7e5caebf8d80", + "x-ms-file-attributes": "Directory", + "x-ms-file-change-time": "2022-08-15T09:06:48.3921039Z", + "x-ms-file-creation-time": "2022-08-15T09:06:48.3921039Z", + "x-ms-file-id": "13835146016212385792", + "x-ms-file-last-write-time": "2022-08-15T09:06:48.3921039Z", + "x-ms-file-parent-id": "11529285414812647424", + "x-ms-file-permission-key": "13199961128260716138*16137673612980802019", + "x-ms-request-id": "5c3b7958-301a-007a-0686-b073e6000000", + "x-ms-request-server-encrypted": "true", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/filesharedirectoryclienttestrenamesubdirectory/RenameSubdirectory1/RenameSubdirectory10?restype=directory" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "72b9eb33-e2f4-415d-4911-4cbc9a9301a5", + "x-ms-version": "2021-06-08" + }, + "Method": "PUT", + "Response": { + "BODY": "", + "REASON_PHRASE": "Created", + "STATUS_CODE": "201", + "content-length": "0", + "date": "Mon, 15 Aug 2022 09:06:47 GMT", + "etag": "\"0x8DA7E9D7C4F3C8D\"", + "last-modified": "Mon, 15 Aug 2022 09:06:48 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "72b9eb33-e2f4-415d-4911-4cbc9a9301a5", + "x-ms-file-attributes": "Directory", + "x-ms-file-change-time": "2022-08-15T09:06:48.6879373Z", + "x-ms-file-creation-time": "2022-08-15T09:06:48.6879373Z", + "x-ms-file-id": "11529303006998691840", + "x-ms-file-last-write-time": "2022-08-15T09:06:48.6879373Z", + "x-ms-file-parent-id": "13835146016212385792", + "x-ms-file-permission-key": "13199961128260716138*16137673612980802019", + "x-ms-request-id": "5c3b795c-301a-007a-0786-b073e6000000", + "x-ms-request-server-encrypted": "true", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/filesharedirectoryclienttestrenamesubdirectory/RenameSubdirectory1/RenameSubdirectory10/RenameSubdirectory11?restype=directory" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "fa75a7f8-f27e-417e-77b6-f29572703f80", + "x-ms-version": "2021-06-08" + }, + "Method": "PUT", + "Response": { + "BODY": "", + "REASON_PHRASE": "Created", + "STATUS_CODE": "201", + "content-length": "0", + "date": "Mon, 15 Aug 2022 09:06:48 GMT", + "etag": "\"0x8DA7E9D7C7C3987\"", + "last-modified": "Mon, 15 Aug 2022 09:06:48 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "fa75a7f8-f27e-417e-77b6-f29572703f80", + "x-ms-file-attributes": "Directory", + "x-ms-file-change-time": "2022-08-15T09:06:48.9827719Z", + "x-ms-file-creation-time": "2022-08-15T09:06:48.9827719Z", + "x-ms-file-id": "16140989025426079744", + "x-ms-file-last-write-time": "2022-08-15T09:06:48.9827719Z", + "x-ms-file-parent-id": "0", + "x-ms-file-permission-key": "13199961128260716138*16137673612980802019", + "x-ms-request-id": "5c3b795d-301a-007a-0886-b073e6000000", + "x-ms-request-server-encrypted": "true", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/filesharedirectoryclienttestrenamesubdirectory/RenameSubdirectory12?restype=directory" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "38f74d21-e7c4-4423-7857-1c12a5691595", + "x-ms-version": "2021-06-08" + }, + "Method": "PUT", + "Response": { + "BODY": "", + "REASON_PHRASE": "OK", + "STATUS_CODE": "200", + "content-length": "0", + "date": "Mon, 15 Aug 2022 09:06:48 GMT", + "etag": "\"0x8DA7E9D7CB25CE1\"", + "last-modified": "Mon, 15 Aug 2022 09:06:49 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "38f74d21-e7c4-4423-7857-1c12a5691595", + "x-ms-file-attributes": "Directory", + "x-ms-file-change-time": "2022-08-15T09:06:49.3375713Z", + "x-ms-file-creation-time": "2022-08-15T09:06:48.6879373Z", + "x-ms-file-id": "11529303006998691840", + "x-ms-file-last-write-time": "2022-08-15T09:06:48.6879373Z", + "x-ms-file-parent-id": "16140989025426079744", + "x-ms-file-permission-key": "13199961128260716138*16137673612980802019", + "x-ms-request-id": "5c3b795e-301a-007a-0986-b073e6000000", + "x-ms-request-server-encrypted": "true", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/filesharedirectoryclienttestrenamesubdirectory/RenameSubdirectory12/RenameSubdirectory13?comp=rename&restype=directory" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "04cca97b-0c60-425f-441b-3a57de9dba9e", + "x-ms-version": "2021-06-08" + }, + "Method": "GET", + "Response": { + "BODY": "", + "REASON_PHRASE": "OK", + "STATUS_CODE": "200", + "content-length": "0", + "date": "Mon, 15 Aug 2022 09:06:48 GMT", + "etag": "\"0x8DA7E9D7CB25CE1\"", + "last-modified": "Mon, 15 Aug 2022 09:06:49 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "04cca97b-0c60-425f-441b-3a57de9dba9e", + "x-ms-file-attributes": "Directory", + "x-ms-file-change-time": "2022-08-15T09:06:49.3375713Z", + "x-ms-file-creation-time": "2022-08-15T09:06:48.6879373Z", + "x-ms-file-id": "11529303006998691840", + "x-ms-file-last-write-time": "2022-08-15T09:06:48.6879373Z", + "x-ms-file-parent-id": "16140989025426079744", + "x-ms-file-permission-key": "13199961128260716138*16137673612980802019", + "x-ms-request-id": "5c3b795f-301a-007a-0a86-b073e6000000", + "x-ms-server-encrypted": "true", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/filesharedirectoryclienttestrenamesubdirectory/RenameSubdirectory12/RenameSubdirectory13?restype=directory" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "cc93286f-3d90-4d09-4f0b-bd9b6c24208b", + "x-ms-version": "2021-06-08" + }, + "Method": "GET", + "Response": { + "BODY": "ResourceNotFoundThe specified resource does not exist.\nRequestId:5c3b7962-301a-007a-0d86-b073e6000000\nTime:2022-08-15T09:06:49.9294954Z", + "REASON_PHRASE": "The specified resource does not exist.", + "STATUS_CODE": "404", + "content-length": "223", + "content-type": "application/xml", + "date": "Mon, 15 Aug 2022 09:06:49 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "cc93286f-3d90-4d09-4f0b-bd9b6c24208b", + "x-ms-error-code": "ResourceNotFound", + "x-ms-request-id": "5c3b7962-301a-007a-0d86-b073e6000000", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/filesharedirectoryclienttestrenamesubdirectory/RenameSubdirectory1/RenameSubdirectory10/RenameSubdirectory11?restype=directory" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "713201fb-bbf1-489c-5591-1cebdfafa9c5", + "x-ms-version": "2021-06-08" + }, + "Method": "PUT", + "Response": { + "BODY": "", + "REASON_PHRASE": "Created", + "STATUS_CODE": "201", + "content-length": "0", + "date": "Mon, 15 Aug 2022 09:06:50 GMT", + "etag": "\"0x8DA7E9D7DC1F7F8\"", + "last-modified": "Mon, 15 Aug 2022 09:06:51 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "713201fb-bbf1-489c-5591-1cebdfafa9c5", + "x-ms-file-attributes": "Directory", + "x-ms-file-change-time": "2022-08-15T09:06:51.1175672Z", + "x-ms-file-creation-time": "2022-08-15T09:06:51.1175672Z", + "x-ms-file-id": "13835110831840296960", + "x-ms-file-last-write-time": "2022-08-15T09:06:51.1175672Z", + "x-ms-file-parent-id": "11529285414812647424", + "x-ms-file-permission-key": "13199961128260716138*16137673612980802019", + "x-ms-request-id": "669ebf6b-b01a-0090-1086-b054c8000000", + "x-ms-request-server-encrypted": "true", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/filesharedirectoryclienttestrenamesubdirectory/RenameSubdirectory1/RenameSubdirectory14?restype=directory" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "4ee47aac-f956-4c5d-4dd6-ea8a4854b3bc", + "x-ms-version": "2021-06-08" + }, + "Method": "PUT", + "Response": { + "BODY": "", + "REASON_PHRASE": "Created", + "STATUS_CODE": "201", + "content-length": "0", + "date": "Mon, 15 Aug 2022 09:06:51 GMT", + "etag": "\"0x8DA7E9D7DEF910E\"", + "last-modified": "Mon, 15 Aug 2022 09:06:51 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "4ee47aac-f956-4c5d-4dd6-ea8a4854b3bc", + "x-ms-file-attributes": "Archive", + "x-ms-file-change-time": "2022-08-15T09:06:51.4163982Z", + "x-ms-file-creation-time": "2022-08-15T09:06:51.4163982Z", + "x-ms-file-id": "11529267822626603008", + "x-ms-file-last-write-time": "2022-08-15T09:06:51.4163982Z", + "x-ms-file-parent-id": "13835110831840296960", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", + "x-ms-request-id": "669ebf71-b01a-0090-1386-b054c8000000", + "x-ms-request-server-encrypted": "true", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/filesharedirectoryclienttestrenamesubdirectory/RenameSubdirectory1/RenameSubdirectory14/RenameSubdirectoryFile1" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "5646dd52-03d4-47a7-6c22-4ab4f1b6a469", + "x-ms-version": "2021-06-08" + }, + "Method": "PUT", + "Response": { + "BODY": "", + "REASON_PHRASE": "OK", + "STATUS_CODE": "200", + "content-length": "0", + "date": "Mon, 15 Aug 2022 09:06:51 GMT", + "etag": "\"0x8DA7E9D7E2761E4\"", + "last-modified": "Mon, 15 Aug 2022 09:06:51 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "5646dd52-03d4-47a7-6c22-4ab4f1b6a469", + "x-ms-file-attributes": "Directory", + "x-ms-file-change-time": "2022-08-15T09:06:51.7821924Z", + "x-ms-file-creation-time": "2022-08-15T09:06:51.1175672Z", + "x-ms-file-id": "13835110831840296960", + "x-ms-file-last-write-time": "2022-08-15T09:06:51.1175672Z", + "x-ms-file-parent-id": "0", + "x-ms-file-permission-key": "13199961128260716138*16137673612980802019", + "x-ms-request-id": "669ebf72-b01a-0090-1486-b054c8000000", + "x-ms-request-server-encrypted": "true", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/filesharedirectoryclienttestrenamesubdirectory/RenameSubdirectory15?comp=rename&restype=directory" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "80119ef8-4ca6-4245-7d6e-6bfe43150f26", + "x-ms-version": "2021-06-08" + }, + "Method": "GET", + "Response": { + "BODY": "", + "REASON_PHRASE": "OK", + "STATUS_CODE": "200", + "content-length": "0", + "date": "Mon, 15 Aug 2022 09:06:51 GMT", + "etag": "\"0x8DA7E9D7E2761E4\"", + "last-modified": "Mon, 15 Aug 2022 09:06:51 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "80119ef8-4ca6-4245-7d6e-6bfe43150f26", + "x-ms-file-attributes": "Directory", + "x-ms-file-change-time": "2022-08-15T09:06:51.7821924Z", + "x-ms-file-creation-time": "2022-08-15T09:06:51.1175672Z", + "x-ms-file-id": "13835110831840296960", + "x-ms-file-last-write-time": "2022-08-15T09:06:51.1175672Z", + "x-ms-file-parent-id": "0", + "x-ms-file-permission-key": "13199961128260716138*16137673612980802019", + "x-ms-request-id": "669ebf73-b01a-0090-1586-b054c8000000", + "x-ms-server-encrypted": "true", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/filesharedirectoryclienttestrenamesubdirectory/RenameSubdirectory15?restype=directory" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "8f8bc195-4a56-4d65-72eb-e16dbdd0497a", + "x-ms-version": "2021-06-08" + }, + "Method": "GET", + "Response": { + "BODY": "ResourceNotFoundThe specified resource does not exist.\nRequestId:669ebf75-b01a-0090-1786-b054c8000000\nTime:2022-08-15T09:06:52.3777799Z", + "REASON_PHRASE": "The specified resource does not exist.", + "STATUS_CODE": "404", + "content-length": "223", + "content-type": "application/xml", + "date": "Mon, 15 Aug 2022 09:06:52 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "8f8bc195-4a56-4d65-72eb-e16dbdd0497a", + "x-ms-error-code": "ResourceNotFound", + "x-ms-request-id": "669ebf75-b01a-0090-1786-b054c8000000", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/filesharedirectoryclienttestrenamesubdirectory/RenameSubdirectory1/RenameSubdirectory14?restype=directory" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "24875bd8-1d95-4fba-5f43-bc1f7bb4809a", + "x-ms-version": "2021-06-08" + }, + "Method": "DELETE", + "Response": { + "BODY": "", + "REASON_PHRASE": "Accepted", + "STATUS_CODE": "202", + "content-length": "0", + "date": "Mon, 15 Aug 2022 09:06:52 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "24875bd8-1d95-4fba-5f43-bc1f7bb4809a", + "x-ms-request-id": "81a0815c-901a-004c-1786-b0fe96000000", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/filesharedirectoryclienttestrenamesubdirectory?restype=share" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "5771abb0-aefa-44b9-77b7-7905c2372edc", + "x-ms-version": "2021-06-08" + }, + "Method": "DELETE", + "Response": { + "BODY": "", + "REASON_PHRASE": "Accepted", + "STATUS_CODE": "202", + "content-length": "0", + "date": "Mon, 15 Aug 2022 09:06:53 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "5771abb0-aefa-44b9-77b7-7905c2372edc", + "x-ms-request-id": "81a0815f-901a-004c-1986-b0fe96000000", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/filesharedirectoryclienttestrenamesubdirectory?restype=share" + } + ] +} diff --git a/sdk/storage/azure-storage-files-shares/test/ut/recordings/FileShareDirectoryClientTest.SmbPropertiesDefaultValue.json b/sdk/storage/azure-storage-files-shares/test/ut/recordings/FileShareDirectoryClientTest.SmbPropertiesDefaultValue.json index 36270dcd2b..dd702b1c9f 100644 --- a/sdk/storage/azure-storage-files-shares/test/ut/recordings/FileShareDirectoryClientTest.SmbPropertiesDefaultValue.json +++ b/sdk/storage/azure-storage-files-shares/test/ut/recordings/FileShareDirectoryClientTest.SmbPropertiesDefaultValue.json @@ -2,9 +2,9 @@ "networkCallRecords": [ { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "582bb742-dc44-4840-4b93-48bea06228d6", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "437ab57a-3445-4ac2-4018-6460d85ea60c", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -12,21 +12,21 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Tue, 04 Jan 2022 22:04:55 GMT", - "etag": "\"0x8D9CFCE3DC8FE01\"", - "last-modified": "Tue, 04 Jan 2022 22:04:55 GMT", + "date": "Fri, 12 Aug 2022 03:01:36 GMT", + "etag": "\"0x8DA7C0EF8682876\"", + "last-modified": "Fri, 12 Aug 2022 03:01:36 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "582bb742-dc44-4840-4b93-48bea06228d6", - "x-ms-request-id": "04c3e8eb-801a-000d-41b7-0177d3000000", - "x-ms-version": "2020-02-10" + "x-ms-client-request-id": "437ab57a-3445-4ac2-4018-6460d85ea60c", + "x-ms-request-id": "5a2c5616-d01a-005d-41f7-ad6422000000", + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/filesharedirectoryclienttestsmbpropertiesdefaultvalue?restype=share" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "99654ea9-4329-4137-6210-3d4e084c5a03", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "b77f043b-8597-4d46-74d4-934956d9d22f", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -34,29 +34,29 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Tue, 04 Jan 2022 22:04:55 GMT", - "etag": "\"0x8D9CFCE3DCD32CC\"", - "last-modified": "Tue, 04 Jan 2022 22:04:55 GMT", + "date": "Fri, 12 Aug 2022 03:01:36 GMT", + "etag": "\"0x8DA7C0EF896B056\"", + "last-modified": "Fri, 12 Aug 2022 03:01:36 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "99654ea9-4329-4137-6210-3d4e084c5a03", + "x-ms-client-request-id": "b77f043b-8597-4d46-74d4-934956d9d22f", "x-ms-file-attributes": "Directory", - "x-ms-file-change-time": "2022-01-04T22:04:55.6706508Z", - "x-ms-file-creation-time": "2022-01-04T22:04:55.6706508Z", + "x-ms-file-change-time": "2022-08-12T03:01:36.8357974Z", + "x-ms-file-creation-time": "2022-08-12T03:01:36.8357974Z", "x-ms-file-id": "13835128424026341376", - "x-ms-file-last-write-time": "2022-01-04T22:04:55.6706508Z", + "x-ms-file-last-write-time": "2022-08-12T03:01:36.8357974Z", "x-ms-file-parent-id": "0", - "x-ms-file-permission-key": "16667920363481994929*10343500956293103928", - "x-ms-request-id": "04c3e8ee-801a-000d-42b7-0177d3000000", + "x-ms-file-permission-key": "13199961128260716138*16137673612980802019", + "x-ms-request-id": "5a2c5618-d01a-005d-42f7-ad6422000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/filesharedirectoryclienttestsmbpropertiesdefaultvalue/SmbPropertiesDefaultValuebase?restype=directory" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "d453073f-16a8-4ca4-546d-74161eef3898", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "6af9b22f-71c4-4120-652c-3dca25c3c894", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -64,29 +64,29 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Tue, 04 Jan 2022 22:04:55 GMT", - "etag": "\"0x8D9CFCE3DCF555B\"", - "last-modified": "Tue, 04 Jan 2022 22:04:55 GMT", + "date": "Fri, 12 Aug 2022 03:01:36 GMT", + "etag": "\"0x8DA7C0EF8C35F29\"", + "last-modified": "Fri, 12 Aug 2022 03:01:37 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "d453073f-16a8-4ca4-546d-74161eef3898", + "x-ms-client-request-id": "6af9b22f-71c4-4120-652c-3dca25c3c894", "x-ms-file-attributes": "Directory", - "x-ms-file-change-time": "2022-01-04T22:04:55.6846427Z", - "x-ms-file-creation-time": "2022-01-04T22:04:55.6846427Z", + "x-ms-file-change-time": "2022-08-12T03:01:37.1286313Z", + "x-ms-file-creation-time": "2022-08-12T03:01:37.1286313Z", "x-ms-file-id": "11529285414812647424", - "x-ms-file-last-write-time": "2022-01-04T22:04:55.6846427Z", + "x-ms-file-last-write-time": "2022-08-12T03:01:37.1286313Z", "x-ms-file-parent-id": "0", - "x-ms-file-permission-key": "16667920363481994929*10343500956293103928", - "x-ms-request-id": "04c3e8f0-801a-000d-43b7-0177d3000000", + "x-ms-file-permission-key": "13199961128260716138*16137673612980802019", + "x-ms-request-id": "5a2c5619-d01a-005d-43f7-ad6422000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/filesharedirectoryclienttestsmbpropertiesdefaultvalue/SmbPropertiesDefaultValue?restype=directory" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "24441966-581a-4ca5-68cb-cec79afea526", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "b47a3924-c041-4859-65f7-2ceb936fd263", + "x-ms-version": "2021-06-08" }, "Method": "GET", "Response": { @@ -94,29 +94,29 @@ "REASON_PHRASE": "OK", "STATUS_CODE": "200", "content-length": "0", - "date": "Tue, 04 Jan 2022 22:04:55 GMT", - "etag": "\"0x8D9CFCE3DCF555B\"", - "last-modified": "Tue, 04 Jan 2022 22:04:55 GMT", + "date": "Fri, 12 Aug 2022 03:01:36 GMT", + "etag": "\"0x8DA7C0EF8C35F29\"", + "last-modified": "Fri, 12 Aug 2022 03:01:37 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "24441966-581a-4ca5-68cb-cec79afea526", + "x-ms-client-request-id": "b47a3924-c041-4859-65f7-2ceb936fd263", "x-ms-file-attributes": "Directory", - "x-ms-file-change-time": "2022-01-04T22:04:55.6846427Z", - "x-ms-file-creation-time": "2022-01-04T22:04:55.6846427Z", + "x-ms-file-change-time": "2022-08-12T03:01:37.1286313Z", + "x-ms-file-creation-time": "2022-08-12T03:01:37.1286313Z", "x-ms-file-id": "11529285414812647424", - "x-ms-file-last-write-time": "2022-01-04T22:04:55.6846427Z", + "x-ms-file-last-write-time": "2022-08-12T03:01:37.1286313Z", "x-ms-file-parent-id": "0", - "x-ms-file-permission-key": "16667920363481994929*10343500956293103928", - "x-ms-request-id": "04c3e8f1-801a-000d-44b7-0177d3000000", + "x-ms-file-permission-key": "13199961128260716138*16137673612980802019", + "x-ms-request-id": "5a2c561b-d01a-005d-44f7-ad6422000000", "x-ms-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/filesharedirectoryclienttestsmbpropertiesdefaultvalue/SmbPropertiesDefaultValue?restype=directory" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "12e0514a-8f70-41fa-62cf-37aabad0dd92", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "3721e9a9-94da-4832-5455-d46744f5bb92", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -124,29 +124,29 @@ "REASON_PHRASE": "OK", "STATUS_CODE": "200", "content-length": "0", - "date": "Tue, 04 Jan 2022 22:04:55 GMT", - "etag": "\"0x8D9CFCE3DD2893F\"", - "last-modified": "Tue, 04 Jan 2022 22:04:55 GMT", + "date": "Fri, 12 Aug 2022 03:01:37 GMT", + "etag": "\"0x8DA7C0EF91BAB7B\"", + "last-modified": "Fri, 12 Aug 2022 03:01:37 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "12e0514a-8f70-41fa-62cf-37aabad0dd92", + "x-ms-client-request-id": "3721e9a9-94da-4832-5455-d46744f5bb92", "x-ms-file-attributes": "Directory", - "x-ms-file-change-time": "2022-01-04T22:04:55.7056319Z", - "x-ms-file-creation-time": "2022-01-04T22:04:55.6846427Z", + "x-ms-file-change-time": "2022-08-12T03:01:37.7073019Z", + "x-ms-file-creation-time": "2022-08-12T03:01:37.1286313Z", "x-ms-file-id": "11529285414812647424", - "x-ms-file-last-write-time": "2022-01-04T22:04:55.6846427Z", + "x-ms-file-last-write-time": "2022-08-12T03:01:37.1286313Z", "x-ms-file-parent-id": "0", - "x-ms-file-permission-key": "16667920363481994929*10343500956293103928", - "x-ms-request-id": "04c3e8f2-801a-000d-45b7-0177d3000000", + "x-ms-file-permission-key": "13199961128260716138*16137673612980802019", + "x-ms-request-id": "5a2c561c-d01a-005d-45f7-ad6422000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/filesharedirectoryclienttestsmbpropertiesdefaultvalue/SmbPropertiesDefaultValue?comp=properties&restype=directory" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "b0d09fe3-a4be-44ae-5873-3ef99cf174df", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "c06386c8-b467-4c2e-6ce3-4d6a5c401a62", + "x-ms-version": "2021-06-08" }, "Method": "GET", "Response": { @@ -154,29 +154,29 @@ "REASON_PHRASE": "OK", "STATUS_CODE": "200", "content-length": "0", - "date": "Tue, 04 Jan 2022 22:04:55 GMT", - "etag": "\"0x8D9CFCE3DD2893F\"", - "last-modified": "Tue, 04 Jan 2022 22:04:55 GMT", + "date": "Fri, 12 Aug 2022 03:01:37 GMT", + "etag": "\"0x8DA7C0EF91BAB7B\"", + "last-modified": "Fri, 12 Aug 2022 03:01:37 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "b0d09fe3-a4be-44ae-5873-3ef99cf174df", + "x-ms-client-request-id": "c06386c8-b467-4c2e-6ce3-4d6a5c401a62", "x-ms-file-attributes": "Directory", - "x-ms-file-change-time": "2022-01-04T22:04:55.7056319Z", - "x-ms-file-creation-time": "2022-01-04T22:04:55.6846427Z", + "x-ms-file-change-time": "2022-08-12T03:01:37.7073019Z", + "x-ms-file-creation-time": "2022-08-12T03:01:37.1286313Z", "x-ms-file-id": "11529285414812647424", - "x-ms-file-last-write-time": "2022-01-04T22:04:55.6846427Z", + "x-ms-file-last-write-time": "2022-08-12T03:01:37.1286313Z", "x-ms-file-parent-id": "0", - "x-ms-file-permission-key": "16667920363481994929*10343500956293103928", - "x-ms-request-id": "04c3e8f3-801a-000d-46b7-0177d3000000", + "x-ms-file-permission-key": "13199961128260716138*16137673612980802019", + "x-ms-request-id": "5a2c561d-d01a-005d-46f7-ad6422000000", "x-ms-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/filesharedirectoryclienttestsmbpropertiesdefaultvalue/SmbPropertiesDefaultValue?restype=directory" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "08bc68e4-cf8d-4bec-69a5-557e79546971", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "10cb93cc-a156-4069-6010-ada17ba74a96", + "x-ms-version": "2021-06-08" }, "Method": "DELETE", "Response": { @@ -184,19 +184,19 @@ "REASON_PHRASE": "Accepted", "STATUS_CODE": "202", "content-length": "0", - "date": "Tue, 04 Jan 2022 22:04:55 GMT", + "date": "Fri, 12 Aug 2022 03:01:37 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "08bc68e4-cf8d-4bec-69a5-557e79546971", - "x-ms-request-id": "04c3e8f4-801a-000d-47b7-0177d3000000", - "x-ms-version": "2020-02-10" + "x-ms-client-request-id": "10cb93cc-a156-4069-6010-ada17ba74a96", + "x-ms-request-id": "5a2c561e-d01a-005d-47f7-ad6422000000", + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/filesharedirectoryclienttestsmbpropertiesdefaultvalue?restype=share" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "794ec126-8626-4ec5-5414-264e74094e73", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "3b13f543-cbf9-4793-45d7-20b165ccea73", + "x-ms-version": "2021-06-08" }, "Method": "DELETE", "Response": { @@ -204,11 +204,11 @@ "REASON_PHRASE": "Accepted", "STATUS_CODE": "202", "content-length": "0", - "date": "Tue, 04 Jan 2022 22:04:55 GMT", + "date": "Fri, 12 Aug 2022 03:01:38 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "794ec126-8626-4ec5-5414-264e74094e73", - "x-ms-request-id": "04c3e8f5-801a-000d-48b7-0177d3000000", - "x-ms-version": "2020-02-10" + "x-ms-client-request-id": "3b13f543-cbf9-4793-45d7-20b165ccea73", + "x-ms-request-id": "5a2c5620-d01a-005d-48f7-ad6422000000", + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/filesharedirectoryclienttestsmbpropertiesdefaultvalue?restype=share" } diff --git a/sdk/storage/azure-storage-files-shares/test/ut/recordings/FileShareFileClientTest.CopyRelated.json b/sdk/storage/azure-storage-files-shares/test/ut/recordings/FileShareFileClientTest.CopyRelated.json index 6c8767671a..b5c115e899 100644 --- a/sdk/storage/azure-storage-files-shares/test/ut/recordings/FileShareFileClientTest.CopyRelated.json +++ b/sdk/storage/azure-storage-files-shares/test/ut/recordings/FileShareFileClientTest.CopyRelated.json @@ -2,9 +2,9 @@ "networkCallRecords": [ { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "0ceff78c-6271-4057-452e-3bf0813787d7", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "9b86fc00-d0fa-4a16-73d6-62a5dce09af6", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -12,21 +12,21 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Tue, 04 Jan 2022 22:50:58 GMT", - "etag": "\"0x8D9CFD4ACC1D952\"", - "last-modified": "Tue, 04 Jan 2022 22:50:58 GMT", + "date": "Fri, 12 Aug 2022 03:01:58 GMT", + "etag": "\"0x8DA7C0F05895E27\"", + "last-modified": "Fri, 12 Aug 2022 03:01:58 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "0ceff78c-6271-4057-452e-3bf0813787d7", - "x-ms-request-id": "88453cfe-701a-0044-7ebd-013538000000", - "x-ms-version": "2020-02-10" + "x-ms-client-request-id": "9b86fc00-d0fa-4a16-73d6-62a5dce09af6", + "x-ms-request-id": "d26c20ec-f01a-0038-11f7-adca66000000", + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/filesharefileclienttestcopyrelated?restype=share" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "21ef5833-8fe7-460b-68b3-4e6a78786770", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "3f3130da-9546-4156-59ac-f07279a182d6", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -34,29 +34,29 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Tue, 04 Jan 2022 22:50:58 GMT", - "etag": "\"0x8D9CFD4ACCE386C\"", - "last-modified": "Tue, 04 Jan 2022 22:50:58 GMT", + "date": "Fri, 12 Aug 2022 03:01:58 GMT", + "etag": "\"0x8DA7C0F05B73529\"", + "last-modified": "Fri, 12 Aug 2022 03:01:58 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "21ef5833-8fe7-460b-68b3-4e6a78786770", + "x-ms-client-request-id": "3f3130da-9546-4156-59ac-f07279a182d6", "x-ms-file-attributes": "Directory", - "x-ms-file-change-time": "2022-01-04T22:50:58.8848236Z", - "x-ms-file-creation-time": "2022-01-04T22:50:58.8848236Z", + "x-ms-file-change-time": "2022-08-12T03:01:58.8592937Z", + "x-ms-file-creation-time": "2022-08-12T03:01:58.8592937Z", "x-ms-file-id": "13835128424026341376", - "x-ms-file-last-write-time": "2022-01-04T22:50:58.8848236Z", + "x-ms-file-last-write-time": "2022-08-12T03:01:58.8592937Z", "x-ms-file-parent-id": "0", - "x-ms-file-permission-key": "16667920363481994929*10343500956293103928", - "x-ms-request-id": "88453d01-701a-0044-7fbd-013538000000", + "x-ms-file-permission-key": "13199961128260716138*16137673612980802019", + "x-ms-request-id": "d26c20f2-f01a-0038-16f7-adca66000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/filesharefileclienttestcopyrelated/CopyRelatedbase?restype=directory" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "2a8be0a7-d336-41af-781d-32fedc566750", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "bbe4b89b-265e-4e0b-6ae1-b2e8563c43d4", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -64,29 +64,29 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Tue, 04 Jan 2022 22:50:58 GMT", - "etag": "\"0x8D9CFD4ACD16C48\"", - "last-modified": "Tue, 04 Jan 2022 22:50:58 GMT", + "date": "Fri, 12 Aug 2022 03:01:58 GMT", + "etag": "\"0x8DA7C0F05E4A730\"", + "last-modified": "Fri, 12 Aug 2022 03:01:59 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "2a8be0a7-d336-41af-781d-32fedc566750", + "x-ms-client-request-id": "bbe4b89b-265e-4e0b-6ae1-b2e8563c43d4", "x-ms-file-attributes": "Archive", - "x-ms-file-change-time": "2022-01-04T22:50:58.9058120Z", - "x-ms-file-creation-time": "2022-01-04T22:50:58.9058120Z", + "x-ms-file-change-time": "2022-08-12T03:01:59.1571248Z", + "x-ms-file-creation-time": "2022-08-12T03:01:59.1571248Z", "x-ms-file-id": "11529285414812647424", - "x-ms-file-last-write-time": "2022-01-04T22:50:58.9058120Z", + "x-ms-file-last-write-time": "2022-08-12T03:01:59.1571248Z", "x-ms-file-parent-id": "13835128424026341376", - "x-ms-file-permission-key": "2822515689773754806*10343500956293103928", - "x-ms-request-id": "88453d03-701a-0044-80bd-013538000000", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", + "x-ms-request-id": "d26c20f5-f01a-0038-19f7-adca66000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/filesharefileclienttestcopyrelated/CopyRelatedbase/CopyRelatedbasefile" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "02626a6f-77bc-4b35-752d-f888e7d5309b", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "eada7f4d-2efd-41f0-6b59-599a98333556", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -94,29 +94,29 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Tue, 04 Jan 2022 22:50:58 GMT", - "etag": "\"0x8D9CFD4ACD3B5DF\"", - "last-modified": "Tue, 04 Jan 2022 22:50:58 GMT", + "date": "Fri, 12 Aug 2022 03:01:59 GMT", + "etag": "\"0x8DA7C0F0611CB1B\"", + "last-modified": "Fri, 12 Aug 2022 03:01:59 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "02626a6f-77bc-4b35-752d-f888e7d5309b", + "x-ms-client-request-id": "eada7f4d-2efd-41f0-6b59-599a98333556", "x-ms-file-attributes": "Archive", - "x-ms-file-change-time": "2022-01-04T22:50:58.9208031Z", - "x-ms-file-creation-time": "2022-01-04T22:50:58.9208031Z", + "x-ms-file-change-time": "2022-08-12T03:01:59.4529563Z", + "x-ms-file-creation-time": "2022-08-12T03:01:59.4529563Z", "x-ms-file-id": "16140971433240035328", - "x-ms-file-last-write-time": "2022-01-04T22:50:58.9208031Z", + "x-ms-file-last-write-time": "2022-08-12T03:01:59.4529563Z", "x-ms-file-parent-id": "0", - "x-ms-file-permission-key": "2822515689773754806*10343500956293103928", - "x-ms-request-id": "88453d04-701a-0044-01bd-013538000000", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", + "x-ms-request-id": "d26c20f6-f01a-0038-1af7-adca66000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/filesharefileclienttestcopyrelated/CopyRelated1" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "e3f448dc-7ac0-4a72-53e4-22dca389f34e", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "263010c4-aa16-49f8-5078-95f29be2ac3c", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -124,23 +124,23 @@ "REASON_PHRASE": "Accepted", "STATUS_CODE": "202", "content-length": "0", - "date": "Tue, 04 Jan 2022 22:50:58 GMT", - "etag": "\"0x8D9CFD4ACF82881\"", - "last-modified": "Tue, 04 Jan 2022 22:50:59 GMT", + "date": "Fri, 12 Aug 2022 03:01:59 GMT", + "etag": "\"0x8DA7C0F0665D255\"", + "last-modified": "Fri, 12 Aug 2022 03:02:00 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "e3f448dc-7ac0-4a72-53e4-22dca389f34e", - "x-ms-copy-id": "8442e149-6cf1-4500-9de8-4c1569ddf53a", + "x-ms-client-request-id": "263010c4-aa16-49f8-5078-95f29be2ac3c", + "x-ms-copy-id": "32a1cc89-7725-42e6-b887-488d94aa65e4", "x-ms-copy-status": "success", - "x-ms-request-id": "88453d05-701a-0044-02bd-013538000000", - "x-ms-version": "2020-02-10" + "x-ms-request-id": "d26c20fa-f01a-0038-1ef7-adca66000000", + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/filesharefileclienttestcopyrelated/CopyRelated2" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "4097f32f-fa8b-4b80-7b2b-ced8ab930a22", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "9e90e679-d26e-4aab-74f5-554c91eead57", + "x-ms-version": "2021-06-08" }, "Method": "HEAD", "Response": { @@ -149,37 +149,37 @@ "STATUS_CODE": "200", "content-length": "1048576", "content-type": "application/octet-stream", - "date": "Tue, 04 Jan 2022 22:50:58 GMT", - "etag": "\"0x8D9CFD4ACF82881\"", - "last-modified": "Tue, 04 Jan 2022 22:50:59 GMT", + "date": "Fri, 12 Aug 2022 03:02:00 GMT", + "etag": "\"0x8DA7C0F0665D255\"", + "last-modified": "Fri, 12 Aug 2022 03:02:00 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "4097f32f-fa8b-4b80-7b2b-ced8ab930a22", - "x-ms-copy-completion-time": "Tue, 04 Jan 2022 22:50:59 GMT", - "x-ms-copy-id": "8442e149-6cf1-4500-9de8-4c1569ddf53a", + "x-ms-client-request-id": "9e90e679-d26e-4aab-74f5-554c91eead57", + "x-ms-copy-completion-time": "Fri, 12 Aug 2022 03:01:59 GMT", + "x-ms-copy-id": "32a1cc89-7725-42e6-b887-488d94aa65e4", "x-ms-copy-progress": "1048576/1048576", - "x-ms-copy-source": "https://sharesrecording.file.core.windows.net/filesharefileclienttestcopyrelated/CopyRelated1", + "x-ms-copy-source": "https://zchang.file.core.windows.net/filesharefileclienttestcopyrelated/CopyRelated1", "x-ms-copy-status": "success", "x-ms-file-attributes": "Archive", - "x-ms-file-change-time": "2022-01-04T22:50:59.1596673Z", - "x-ms-file-creation-time": "2022-01-04T22:50:58.9208031Z", + "x-ms-file-change-time": "2022-08-12T03:02:00.0036437Z", + "x-ms-file-creation-time": "2022-08-12T03:01:59.4529563Z", "x-ms-file-id": "10376363910205800448", - "x-ms-file-last-write-time": "2022-01-04T22:50:58.9208031Z", + "x-ms-file-last-write-time": "2022-08-12T03:01:59.4529563Z", "x-ms-file-parent-id": "0", - "x-ms-file-permission-key": "2822515689773754806*10343500956293103928", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", "x-ms-lease-state": "available", "x-ms-lease-status": "unlocked", - "x-ms-request-id": "88453d06-701a-0044-03bd-013538000000", + "x-ms-request-id": "d26c20fd-f01a-0038-21f7-adca66000000", "x-ms-server-encrypted": "true", "x-ms-type": "File", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/filesharefileclienttestcopyrelated/CopyRelated2" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "d46bcbbc-a8fd-4c1f-469b-d46864c4d8cc", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "af962ed5-567e-470c-53cc-ecd593daad6d", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -187,29 +187,29 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Tue, 04 Jan 2022 22:50:58 GMT", - "etag": "\"0x8D9CFD4AD03E6A5\"", - "last-modified": "Tue, 04 Jan 2022 22:50:59 GMT", + "date": "Fri, 12 Aug 2022 03:02:00 GMT", + "etag": "\"0x8DA7C0F06C263C9\"", + "last-modified": "Fri, 12 Aug 2022 03:02:00 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "d46bcbbc-a8fd-4c1f-469b-d46864c4d8cc", + "x-ms-client-request-id": "af962ed5-567e-470c-53cc-ecd593daad6d", "x-ms-file-attributes": "Archive", - "x-ms-file-change-time": "2022-01-04T22:50:59.2366245Z", - "x-ms-file-creation-time": "2022-01-04T22:50:59.2366245Z", + "x-ms-file-change-time": "2022-08-12T03:02:00.6102985Z", + "x-ms-file-creation-time": "2022-08-12T03:02:00.6102985Z", "x-ms-file-id": "14988049928633188352", - "x-ms-file-last-write-time": "2022-01-04T22:50:59.2366245Z", + "x-ms-file-last-write-time": "2022-08-12T03:02:00.6102985Z", "x-ms-file-parent-id": "0", - "x-ms-file-permission-key": "2822515689773754806*10343500956293103928", - "x-ms-request-id": "88453d07-701a-0044-04bd-013538000000", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", + "x-ms-request-id": "d26c20fe-f01a-0038-22f7-adca66000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/filesharefileclienttestcopyrelated/CopyRelated3" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "5a22ada6-d967-47a6-7935-8b19735358a5", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "55f67862-8936-4a12-5b57-29a77a5bf039", + "x-ms-version": "2021-06-08" }, "Method": "DELETE", "Response": { @@ -217,19 +217,19 @@ "REASON_PHRASE": "Accepted", "STATUS_CODE": "202", "content-length": "0", - "date": "Tue, 04 Jan 2022 22:50:59 GMT", + "date": "Fri, 12 Aug 2022 03:02:00 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "5a22ada6-d967-47a6-7935-8b19735358a5", - "x-ms-request-id": "88453d08-701a-0044-05bd-013538000000", - "x-ms-version": "2020-02-10" + "x-ms-client-request-id": "55f67862-8936-4a12-5b57-29a77a5bf039", + "x-ms-request-id": "d26c2102-f01a-0038-25f7-adca66000000", + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/filesharefileclienttestcopyrelated?restype=share" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "1364db6e-a32e-4e80-7db3-b71f4fb551db", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "f1672c44-4495-417b-6075-224151a3b8ac", + "x-ms-version": "2021-06-08" }, "Method": "DELETE", "Response": { @@ -237,19 +237,19 @@ "REASON_PHRASE": "Accepted", "STATUS_CODE": "202", "content-length": "0", - "date": "Tue, 04 Jan 2022 22:50:59 GMT", + "date": "Fri, 12 Aug 2022 03:02:00 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "1364db6e-a32e-4e80-7db3-b71f4fb551db", - "x-ms-request-id": "88453d09-701a-0044-06bd-013538000000", - "x-ms-version": "2020-02-10" + "x-ms-client-request-id": "f1672c44-4495-417b-6075-224151a3b8ac", + "x-ms-request-id": "d26c2104-f01a-0038-27f7-adca66000000", + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/filesharefileclienttestcopyrelated?restype=share" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "985e4f10-7edd-4c9c-4efc-ab0528818f34", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "8f30b57c-9a81-4093-5d72-3de5c3ebaeb2", + "x-ms-version": "2021-06-08" }, "Method": "DELETE", "Response": { @@ -257,11 +257,11 @@ "REASON_PHRASE": "Accepted", "STATUS_CODE": "202", "content-length": "0", - "date": "Tue, 04 Jan 2022 22:50:59 GMT", + "date": "Fri, 12 Aug 2022 03:02:01 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "985e4f10-7edd-4c9c-4efc-ab0528818f34", - "x-ms-request-id": "88453d0a-701a-0044-07bd-013538000000", - "x-ms-version": "2020-02-10" + "x-ms-client-request-id": "8f30b57c-9a81-4093-5d72-3de5c3ebaeb2", + "x-ms-request-id": "d26c2106-f01a-0038-29f7-adca66000000", + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/filesharefileclienttestcopyrelated?restype=share" } diff --git a/sdk/storage/azure-storage-files-shares/test/ut/recordings/FileShareFileClientTest.DownloadNonExistingToFile.json b/sdk/storage/azure-storage-files-shares/test/ut/recordings/FileShareFileClientTest.DownloadNonExistingToFile.json new file mode 100644 index 0000000000..54adbde038 --- /dev/null +++ b/sdk/storage/azure-storage-files-shares/test/ut/recordings/FileShareFileClientTest.DownloadNonExistingToFile.json @@ -0,0 +1,169 @@ +{ + "networkCallRecords": [ + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 19044 19041.1.amd64fre.vb_release.191206-1406)", + "x-ms-client-request-id": "6edfef4b-894f-4b59-40b3-8207f3ba4b4c", + "x-ms-version": "2021-06-08" + }, + "Method": "PUT", + "Response": { + "BODY": "", + "REASON_PHRASE": "Created", + "STATUS_CODE": "201", + "content-length": "0", + "date": "Mon, 29 Aug 2022 10:40:09 GMT", + "etag": "\"0x8DA89AAD8AFFAF7\"", + "last-modified": "Mon, 29 Aug 2022 10:40:09 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "6edfef4b-894f-4b59-40b3-8207f3ba4b4c", + "x-ms-request-id": "2c18eab3-401a-0078-5593-bb793a000000", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/filesharefileclienttestdownloadnonexistingtofile?restype=share" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 19044 19041.1.amd64fre.vb_release.191206-1406)", + "x-ms-client-request-id": "9ad657f0-6082-467c-4455-e9b75aa48941", + "x-ms-version": "2021-06-08" + }, + "Method": "PUT", + "Response": { + "BODY": "", + "REASON_PHRASE": "Created", + "STATUS_CODE": "201", + "content-length": "0", + "date": "Mon, 29 Aug 2022 10:40:09 GMT", + "etag": "\"0x8DA89AAD8E06427\"", + "last-modified": "Mon, 29 Aug 2022 10:40:10 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "9ad657f0-6082-467c-4455-e9b75aa48941", + "x-ms-file-attributes": "Directory", + "x-ms-file-change-time": "2022-08-29T10:40:10.2376487Z", + "x-ms-file-creation-time": "2022-08-29T10:40:10.2376487Z", + "x-ms-file-id": "13835128424026341376", + "x-ms-file-last-write-time": "2022-08-29T10:40:10.2376487Z", + "x-ms-file-parent-id": "0", + "x-ms-file-permission-key": "14799134079974362488*11941910252504767217", + "x-ms-request-id": "2c18eaca-401a-0078-6993-bb793a000000", + "x-ms-request-server-encrypted": "true", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/filesharefileclienttestdownloadnonexistingtofile/DownloadNonExistingToFilebase?restype=directory" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 19044 19041.1.amd64fre.vb_release.191206-1406)", + "x-ms-client-request-id": "f062410c-713f-470d-426f-990d3f03ff74", + "x-ms-version": "2021-06-08" + }, + "Method": "PUT", + "Response": { + "BODY": "", + "REASON_PHRASE": "Created", + "STATUS_CODE": "201", + "content-length": "0", + "date": "Mon, 29 Aug 2022 10:40:10 GMT", + "etag": "\"0x8DA89AAD90D6101\"", + "last-modified": "Mon, 29 Aug 2022 10:40:10 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "f062410c-713f-470d-426f-990d3f03ff74", + "x-ms-file-attributes": "Archive", + "x-ms-file-change-time": "2022-08-29T10:40:10.5324801Z", + "x-ms-file-creation-time": "2022-08-29T10:40:10.5324801Z", + "x-ms-file-id": "11529285414812647424", + "x-ms-file-last-write-time": "2022-08-29T10:40:10.5324801Z", + "x-ms-file-parent-id": "13835128424026341376", + "x-ms-file-permission-key": "944304957241799295*11941910252504767217", + "x-ms-request-id": "2c18eade-401a-0078-7c93-bb793a000000", + "x-ms-request-server-encrypted": "true", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/filesharefileclienttestdownloadnonexistingtofile/DownloadNonExistingToFilebase/DownloadNonExistingToFilebasefile" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 19044 19041.1.amd64fre.vb_release.191206-1406)", + "x-ms-client-request-id": "92d10ba7-5cce-4bf5-4ec3-f2242990b412", + "x-ms-version": "2021-06-08" + }, + "Method": "GET", + "Response": { + "BODY": "ResourceNotFoundThe specified resource does not exist.\nRequestId:2c18eae2-401a-0078-8093-bb793a000000\nTime:2022-08-29T10:40:10.7988819Z", + "REASON_PHRASE": "The specified resource does not exist.", + "STATUS_CODE": "404", + "content-length": "223", + "content-type": "application/xml", + "date": "Mon, 29 Aug 2022 10:40:10 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "vary": "Origin", + "x-ms-client-request-id": "92d10ba7-5cce-4bf5-4ec3-f2242990b412", + "x-ms-error-code": "ResourceNotFound", + "x-ms-request-id": "2c18eae2-401a-0078-8093-bb793a000000", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/filesharefileclienttestdownloadnonexistingtofile/DownloadNonExistingToFilebase/DownloadNonExistingToFile" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 19044 19041.1.amd64fre.vb_release.191206-1406)", + "x-ms-client-request-id": "b9b912c5-3a77-4008-4ef4-daedeafc4f8a", + "x-ms-version": "2021-06-08" + }, + "Method": "DELETE", + "Response": { + "BODY": "", + "REASON_PHRASE": "Accepted", + "STATUS_CODE": "202", + "content-length": "0", + "date": "Mon, 29 Aug 2022 10:40:10 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "b9b912c5-3a77-4008-4ef4-daedeafc4f8a", + "x-ms-request-id": "2c18eae5-401a-0078-0393-bb793a000000", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/filesharefileclienttestdownloadnonexistingtofile?restype=share" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 19044 19041.1.amd64fre.vb_release.191206-1406)", + "x-ms-client-request-id": "3996664f-a9c3-4e5d-5cd7-25f8cfa58215", + "x-ms-version": "2021-06-08" + }, + "Method": "DELETE", + "Response": { + "BODY": "", + "REASON_PHRASE": "Accepted", + "STATUS_CODE": "202", + "content-length": "0", + "date": "Mon, 29 Aug 2022 10:40:10 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "3996664f-a9c3-4e5d-5cd7-25f8cfa58215", + "x-ms-request-id": "2c18eae9-401a-0078-0693-bb793a000000", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/filesharefileclienttestdownloadnonexistingtofile?restype=share" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 19044 19041.1.amd64fre.vb_release.191206-1406)", + "x-ms-client-request-id": "b4aa936b-5d9e-445c-4a86-914acb77413b", + "x-ms-version": "2021-06-08" + }, + "Method": "DELETE", + "Response": { + "BODY": "", + "REASON_PHRASE": "Accepted", + "STATUS_CODE": "202", + "content-length": "0", + "date": "Mon, 29 Aug 2022 10:40:11 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "b4aa936b-5d9e-445c-4a86-914acb77413b", + "x-ms-request-id": "2c18eaec-401a-0078-0893-bb793a000000", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/filesharefileclienttestdownloadnonexistingtofile?restype=share" + } + ] +} diff --git a/sdk/storage/azure-storage-files-shares/test/ut/recordings/FileShareFileClientTest.FileSmbProperties.json b/sdk/storage/azure-storage-files-shares/test/ut/recordings/FileShareFileClientTest.FileSmbProperties.json index 005ef46982..f464fab67f 100644 --- a/sdk/storage/azure-storage-files-shares/test/ut/recordings/FileShareFileClientTest.FileSmbProperties.json +++ b/sdk/storage/azure-storage-files-shares/test/ut/recordings/FileShareFileClientTest.FileSmbProperties.json @@ -2,9 +2,9 @@ "networkCallRecords": [ { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "02bf79c6-26f0-4a80-71fc-13ea5986fc74", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "ff81be69-e51c-4ed5-563c-f45a9834ac27", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -12,21 +12,21 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Tue, 04 Jan 2022 22:50:56 GMT", - "etag": "\"0x8D9CFD4ABBBB869\"", - "last-modified": "Tue, 04 Jan 2022 22:50:57 GMT", + "date": "Fri, 12 Aug 2022 03:01:38 GMT", + "etag": "\"0x8DA7C0EF9CD9F69\"", + "last-modified": "Fri, 12 Aug 2022 03:01:38 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "02bf79c6-26f0-4a80-71fc-13ea5986fc74", - "x-ms-request-id": "4625ad49-e01a-0069-21bd-01864b000000", - "x-ms-version": "2020-02-10" + "x-ms-client-request-id": "ff81be69-e51c-4ed5-563c-f45a9834ac27", + "x-ms-request-id": "5a2c5623-d01a-005d-4bf7-ad6422000000", + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/filesharefileclienttestfilesmbproperties?restype=share" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "59dc5730-4e23-4df7-7e28-c625e7275e4f", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "bd17a3bf-85cf-4b2c-4ac6-0d8184b3b2f8", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -34,29 +34,29 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Tue, 04 Jan 2022 22:50:56 GMT", - "etag": "\"0x8D9CFD4ABBFD5F9\"", - "last-modified": "Tue, 04 Jan 2022 22:50:57 GMT", + "date": "Fri, 12 Aug 2022 03:01:38 GMT", + "etag": "\"0x8DA7C0EF9FB63AE\"", + "last-modified": "Fri, 12 Aug 2022 03:01:39 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "59dc5730-4e23-4df7-7e28-c625e7275e4f", + "x-ms-client-request-id": "bd17a3bf-85cf-4b2c-4ac6-0d8184b3b2f8", "x-ms-file-attributes": "Directory", - "x-ms-file-change-time": "2022-01-04T22:50:57.1128313Z", - "x-ms-file-creation-time": "2022-01-04T22:50:57.1128313Z", + "x-ms-file-change-time": "2022-08-12T03:01:39.1734702Z", + "x-ms-file-creation-time": "2022-08-12T03:01:39.1734702Z", "x-ms-file-id": "13835128424026341376", - "x-ms-file-last-write-time": "2022-01-04T22:50:57.1128313Z", + "x-ms-file-last-write-time": "2022-08-12T03:01:39.1734702Z", "x-ms-file-parent-id": "0", - "x-ms-file-permission-key": "16667920363481994929*10343500956293103928", - "x-ms-request-id": "4625ad4c-e01a-0069-22bd-01864b000000", + "x-ms-file-permission-key": "13199961128260716138*16137673612980802019", + "x-ms-request-id": "5a2c5626-d01a-005d-4cf7-ad6422000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/filesharefileclienttestfilesmbproperties/FileSmbPropertiesbase?restype=directory" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "97ab0a7d-b11e-4299-7ba0-91ee8f93fcce", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "efd99547-df99-4b25-7f0b-28d0e0ee3186", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -64,29 +64,29 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Tue, 04 Jan 2022 22:50:56 GMT", - "etag": "\"0x8D9CFD4ABC21F96\"", - "last-modified": "Tue, 04 Jan 2022 22:50:57 GMT", + "date": "Fri, 12 Aug 2022 03:01:39 GMT", + "etag": "\"0x8DA7C0EFA28127A\"", + "last-modified": "Fri, 12 Aug 2022 03:01:39 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "97ab0a7d-b11e-4299-7ba0-91ee8f93fcce", + "x-ms-client-request-id": "efd99547-df99-4b25-7f0b-28d0e0ee3186", "x-ms-file-attributes": "Archive", - "x-ms-file-change-time": "2022-01-04T22:50:57.1278230Z", - "x-ms-file-creation-time": "2022-01-04T22:50:57.1278230Z", + "x-ms-file-change-time": "2022-08-12T03:01:39.4663034Z", + "x-ms-file-creation-time": "2022-08-12T03:01:39.4663034Z", "x-ms-file-id": "11529285414812647424", - "x-ms-file-last-write-time": "2022-01-04T22:50:57.1278230Z", + "x-ms-file-last-write-time": "2022-08-12T03:01:39.4663034Z", "x-ms-file-parent-id": "13835128424026341376", - "x-ms-file-permission-key": "2822515689773754806*10343500956293103928", - "x-ms-request-id": "4625ad4e-e01a-0069-23bd-01864b000000", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", + "x-ms-request-id": "5a2c563c-d01a-005d-4ff7-ad6422000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/filesharefileclienttestfilesmbproperties/FileSmbPropertiesbase/FileSmbPropertiesbasefile" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "3d71ffef-ba44-416f-66ae-f48daf1c51d8", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "c1c19694-9328-442e-7ec0-d47ddee7f892", + "x-ms-version": "2021-06-08" }, "Method": "HEAD", "Response": { @@ -95,32 +95,32 @@ "STATUS_CODE": "200", "content-length": "1024", "content-type": "application/octet-stream", - "date": "Tue, 04 Jan 2022 22:50:56 GMT", - "etag": "\"0x8D9CFD4ABC21F96\"", - "last-modified": "Tue, 04 Jan 2022 22:50:57 GMT", + "date": "Fri, 12 Aug 2022 03:01:39 GMT", + "etag": "\"0x8DA7C0EFA28127A\"", + "last-modified": "Fri, 12 Aug 2022 03:01:39 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "3d71ffef-ba44-416f-66ae-f48daf1c51d8", + "x-ms-client-request-id": "c1c19694-9328-442e-7ec0-d47ddee7f892", "x-ms-file-attributes": "Archive", - "x-ms-file-change-time": "2022-01-04T22:50:57.1278230Z", - "x-ms-file-creation-time": "2022-01-04T22:50:57.1278230Z", + "x-ms-file-change-time": "2022-08-12T03:01:39.4663034Z", + "x-ms-file-creation-time": "2022-08-12T03:01:39.4663034Z", "x-ms-file-id": "11529285414812647424", - "x-ms-file-last-write-time": "2022-01-04T22:50:57.1278230Z", + "x-ms-file-last-write-time": "2022-08-12T03:01:39.4663034Z", "x-ms-file-parent-id": "13835128424026341376", - "x-ms-file-permission-key": "2822515689773754806*10343500956293103928", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", "x-ms-lease-state": "available", "x-ms-lease-status": "unlocked", - "x-ms-request-id": "4625ad4f-e01a-0069-24bd-01864b000000", + "x-ms-request-id": "5a2c563f-d01a-005d-50f7-ad6422000000", "x-ms-server-encrypted": "true", "x-ms-type": "File", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/filesharefileclienttestfilesmbproperties/FileSmbPropertiesbase/FileSmbPropertiesbasefile" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "21fc90ff-8ec8-4abe-4e32-c8c686c0f187", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "ee3b78d9-ea55-4024-4120-6aea4b28e41c", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -128,29 +128,29 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Tue, 04 Jan 2022 22:50:56 GMT", - "etag": "\"0x8D9CFD4ABC3F6A1\"", - "last-modified": "Tue, 04 Jan 2022 22:50:57 GMT", + "date": "Fri, 12 Aug 2022 03:01:39 GMT", + "etag": "\"0x8DA7C0EFA5FEE38\"", + "last-modified": "Fri, 12 Aug 2022 03:01:39 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "21fc90ff-8ec8-4abe-4e32-c8c686c0f187", + "x-ms-client-request-id": "ee3b78d9-ea55-4024-4120-6aea4b28e41c", "x-ms-file-attributes": "System | Archive | NotContentIndexed", - "x-ms-file-change-time": "2022-01-04T22:50:57.1398817Z", - "x-ms-file-creation-time": "2022-01-04T22:50:57.1398817Z", + "x-ms-file-change-time": "2022-08-12T03:01:39.8323770Z", + "x-ms-file-creation-time": "2022-08-12T03:01:39.8323768Z", "x-ms-file-id": "16140971433240035328", - "x-ms-file-last-write-time": "2022-01-04T22:50:57.1398819Z", + "x-ms-file-last-write-time": "2022-08-12T03:01:39.8323770Z", "x-ms-file-parent-id": "13835128424026341376", - "x-ms-file-permission-key": "2822515689773754806*10343500956293103928", - "x-ms-request-id": "4625ad50-e01a-0069-25bd-01864b000000", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", + "x-ms-request-id": "5a2c5640-d01a-005d-51f7-ad6422000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/filesharefileclienttestfilesmbproperties/FileSmbPropertiesbase/FileSmbProperties1" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "438e0037-a8b0-420e-7b31-1d2f43fa4685", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "e451960b-d6ef-444b-6f48-7222705fa35c", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -158,29 +158,29 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Tue, 04 Jan 2022 22:50:56 GMT", - "etag": "\"0x8D9CFD4ABC3F6A1\"", - "last-modified": "Tue, 04 Jan 2022 22:50:57 GMT", + "date": "Fri, 12 Aug 2022 03:01:39 GMT", + "etag": "\"0x8DA7C0EFA5FEE38\"", + "last-modified": "Fri, 12 Aug 2022 03:01:39 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "438e0037-a8b0-420e-7b31-1d2f43fa4685", + "x-ms-client-request-id": "e451960b-d6ef-444b-6f48-7222705fa35c", "x-ms-file-attributes": "System | Archive | NotContentIndexed", - "x-ms-file-change-time": "2022-01-04T22:50:57.1398817Z", - "x-ms-file-creation-time": "2022-01-04T22:50:57.1398817Z", + "x-ms-file-change-time": "2022-08-12T03:01:39.8323770Z", + "x-ms-file-creation-time": "2022-08-12T03:01:39.8323768Z", "x-ms-file-id": "10376363910205800448", - "x-ms-file-last-write-time": "2022-01-04T22:50:57.1398819Z", + "x-ms-file-last-write-time": "2022-08-12T03:01:39.8323770Z", "x-ms-file-parent-id": "13835128424026341376", - "x-ms-file-permission-key": "2822515689773754806*10343500956293103928", - "x-ms-request-id": "4625ad51-e01a-0069-26bd-01864b000000", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", + "x-ms-request-id": "5a2c5641-d01a-005d-52f7-ad6422000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/filesharefileclienttestfilesmbproperties/FileSmbPropertiesbase/FileSmbProperties2" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "0f4f721d-1661-4046-670c-88b8e96fcd80", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "51cfc15f-6199-4b2e-4c83-a9d557b30b84", + "x-ms-version": "2021-06-08" }, "Method": "HEAD", "Response": { @@ -189,32 +189,32 @@ "STATUS_CODE": "200", "content-length": "1024", "content-type": "application/octet-stream", - "date": "Tue, 04 Jan 2022 22:50:56 GMT", - "etag": "\"0x8D9CFD4ABC3F6A1\"", - "last-modified": "Tue, 04 Jan 2022 22:50:57 GMT", + "date": "Fri, 12 Aug 2022 03:01:40 GMT", + "etag": "\"0x8DA7C0EFA5FEE38\"", + "last-modified": "Fri, 12 Aug 2022 03:01:39 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "0f4f721d-1661-4046-670c-88b8e96fcd80", + "x-ms-client-request-id": "51cfc15f-6199-4b2e-4c83-a9d557b30b84", "x-ms-file-attributes": "System | Archive | NotContentIndexed", - "x-ms-file-change-time": "2022-01-04T22:50:57.1398817Z", - "x-ms-file-creation-time": "2022-01-04T22:50:57.1398817Z", + "x-ms-file-change-time": "2022-08-12T03:01:39.8323770Z", + "x-ms-file-creation-time": "2022-08-12T03:01:39.8323768Z", "x-ms-file-id": "16140971433240035328", - "x-ms-file-last-write-time": "2022-01-04T22:50:57.1398819Z", + "x-ms-file-last-write-time": "2022-08-12T03:01:39.8323770Z", "x-ms-file-parent-id": "13835128424026341376", - "x-ms-file-permission-key": "2822515689773754806*10343500956293103928", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", "x-ms-lease-state": "available", "x-ms-lease-status": "unlocked", - "x-ms-request-id": "4625ad52-e01a-0069-27bd-01864b000000", + "x-ms-request-id": "5a2c5643-d01a-005d-53f7-ad6422000000", "x-ms-server-encrypted": "true", "x-ms-type": "File", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/filesharefileclienttestfilesmbproperties/FileSmbPropertiesbase/FileSmbProperties1" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "46f38fcc-0e12-434a-55ac-e8c01c0a26fd", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "768f5fe0-ed78-4185-7691-410ddaf3bba0", + "x-ms-version": "2021-06-08" }, "Method": "HEAD", "Response": { @@ -223,32 +223,32 @@ "STATUS_CODE": "200", "content-length": "1024", "content-type": "application/octet-stream", - "date": "Tue, 04 Jan 2022 22:50:56 GMT", - "etag": "\"0x8D9CFD4ABC3F6A1\"", - "last-modified": "Tue, 04 Jan 2022 22:50:57 GMT", + "date": "Fri, 12 Aug 2022 03:01:40 GMT", + "etag": "\"0x8DA7C0EFA5FEE38\"", + "last-modified": "Fri, 12 Aug 2022 03:01:39 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "46f38fcc-0e12-434a-55ac-e8c01c0a26fd", + "x-ms-client-request-id": "768f5fe0-ed78-4185-7691-410ddaf3bba0", "x-ms-file-attributes": "System | Archive | NotContentIndexed", - "x-ms-file-change-time": "2022-01-04T22:50:57.1398817Z", - "x-ms-file-creation-time": "2022-01-04T22:50:57.1398817Z", + "x-ms-file-change-time": "2022-08-12T03:01:39.8323770Z", + "x-ms-file-creation-time": "2022-08-12T03:01:39.8323768Z", "x-ms-file-id": "10376363910205800448", - "x-ms-file-last-write-time": "2022-01-04T22:50:57.1398819Z", + "x-ms-file-last-write-time": "2022-08-12T03:01:39.8323770Z", "x-ms-file-parent-id": "13835128424026341376", - "x-ms-file-permission-key": "2822515689773754806*10343500956293103928", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", "x-ms-lease-state": "available", "x-ms-lease-status": "unlocked", - "x-ms-request-id": "4625ad53-e01a-0069-28bd-01864b000000", + "x-ms-request-id": "5a2c5644-d01a-005d-54f7-ad6422000000", "x-ms-server-encrypted": "true", "x-ms-type": "File", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/filesharefileclienttestfilesmbproperties/FileSmbPropertiesbase/FileSmbProperties2" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "b739eb1f-a4ce-4f3a-436a-0b911c04b700", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "55d5c23d-773f-4633-7505-86cf7d89c9e7", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -256,29 +256,29 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Tue, 04 Jan 2022 22:50:56 GMT", - "etag": "\"0x8D9CFD4ABCF1601\"", - "last-modified": "Tue, 04 Jan 2022 22:50:57 GMT", + "date": "Fri, 12 Aug 2022 03:01:40 GMT", + "etag": "\"0x8DA7C0EFB32F314\"", + "last-modified": "Fri, 12 Aug 2022 03:01:41 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "b739eb1f-a4ce-4f3a-436a-0b911c04b700", + "x-ms-client-request-id": "55d5c23d-773f-4633-7505-86cf7d89c9e7", "x-ms-file-attributes": "Archive", - "x-ms-file-change-time": "2022-01-04T22:50:57.2127745Z", - "x-ms-file-creation-time": "2022-01-04T22:50:57.2127745Z", + "x-ms-file-change-time": "2022-08-12T03:01:41.2153108Z", + "x-ms-file-creation-time": "2022-08-12T03:01:41.2153108Z", "x-ms-file-id": "14988049928633188352", - "x-ms-file-last-write-time": "2022-01-04T22:50:57.2127745Z", + "x-ms-file-last-write-time": "2022-08-12T03:01:41.2153108Z", "x-ms-file-parent-id": "13835128424026341376", - "x-ms-file-permission-key": "2822515689773754806*10343500956293103928", - "x-ms-request-id": "4625ad54-e01a-0069-29bd-01864b000000", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", + "x-ms-request-id": "5a2c5645-d01a-005d-55f7-ad6422000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/filesharefileclienttestfilesmbproperties/FileSmbPropertiesbase/FileSmbProperties3" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "0b2a74fe-f973-433c-58ca-f0818e4338a2", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "2216c1b1-c2bb-4a2b-73da-4772b550754c", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -286,29 +286,29 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Tue, 04 Jan 2022 22:50:56 GMT", - "etag": "\"0x8D9CFD4ABD13894\"", - "last-modified": "Tue, 04 Jan 2022 22:50:57 GMT", + "date": "Fri, 12 Aug 2022 03:01:41 GMT", + "etag": "\"0x8DA7C0EFB5FC8F6\"", + "last-modified": "Fri, 12 Aug 2022 03:01:41 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "0b2a74fe-f973-433c-58ca-f0818e4338a2", + "x-ms-client-request-id": "2216c1b1-c2bb-4a2b-73da-4772b550754c", "x-ms-file-attributes": "Archive", - "x-ms-file-change-time": "2022-01-04T22:50:57.2267668Z", - "x-ms-file-creation-time": "2022-01-04T22:50:57.2267668Z", + "x-ms-file-change-time": "2022-08-12T03:01:41.5091446Z", + "x-ms-file-creation-time": "2022-08-12T03:01:41.5091446Z", "x-ms-file-id": "12682206919419494400", - "x-ms-file-last-write-time": "2022-01-04T22:50:57.2267668Z", + "x-ms-file-last-write-time": "2022-08-12T03:01:41.5091446Z", "x-ms-file-parent-id": "13835128424026341376", - "x-ms-file-permission-key": "2822515689773754806*10343500956293103928", - "x-ms-request-id": "4625ad55-e01a-0069-2abd-01864b000000", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", + "x-ms-request-id": "5a2c5646-d01a-005d-56f7-ad6422000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/filesharefileclienttestfilesmbproperties/FileSmbPropertiesbase/FileSmbProperties4" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "74fc32ed-cbe4-43bf-7f19-fb0ecb46d64e", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "d097ed4f-43bf-4d14-73d5-74a779eee4aa", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -316,29 +316,29 @@ "REASON_PHRASE": "OK", "STATUS_CODE": "200", "content-length": "0", - "date": "Tue, 04 Jan 2022 22:50:56 GMT", - "etag": "\"0x8D9CFD4ABD3822F\"", - "last-modified": "Tue, 04 Jan 2022 22:50:57 GMT", + "date": "Fri, 12 Aug 2022 03:01:41 GMT", + "etag": "\"0x8DA7C0EFB8E4C3C\"", + "last-modified": "Fri, 12 Aug 2022 03:01:41 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "74fc32ed-cbe4-43bf-7f19-fb0ecb46d64e", + "x-ms-client-request-id": "d097ed4f-43bf-4d14-73d5-74a779eee4aa", "x-ms-file-attributes": "System | NotContentIndexed", - "x-ms-file-change-time": "2022-01-04T22:50:57.2417583Z", - "x-ms-file-creation-time": "2022-01-04T22:50:57.1398817Z", + "x-ms-file-change-time": "2022-08-12T03:01:39.8323770Z", + "x-ms-file-creation-time": "2022-08-12T03:01:39.8323768Z", "x-ms-file-id": "14988049928633188352", - "x-ms-file-last-write-time": "2022-01-04T22:50:57.1398819Z", + "x-ms-file-last-write-time": "2022-08-12T03:01:39.8323770Z", "x-ms-file-parent-id": "13835128424026341376", - "x-ms-file-permission-key": "15790440386765357382*10343500956293103928", - "x-ms-request-id": "4625ad56-e01a-0069-2bbd-01864b000000", + "x-ms-file-permission-key": "10042215909827301789*16137673612980802019", + "x-ms-request-id": "5a2c5649-d01a-005d-58f7-ad6422000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/filesharefileclienttestfilesmbproperties/FileSmbPropertiesbase/FileSmbProperties3?comp=properties" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "5b029360-eef4-49b4-64dc-24a492600f5b", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "8284c514-884b-4b1f-7c8c-29b82c909d15", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -346,29 +346,29 @@ "REASON_PHRASE": "OK", "STATUS_CODE": "200", "content-length": "0", - "date": "Tue, 04 Jan 2022 22:50:56 GMT", - "etag": "\"0x8D9CFD4ABD57DB3\"", - "last-modified": "Tue, 04 Jan 2022 22:50:57 GMT", + "date": "Fri, 12 Aug 2022 03:01:41 GMT", + "etag": "\"0x8DA7C0EFBBAACF1\"", + "last-modified": "Fri, 12 Aug 2022 03:01:42 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "5b029360-eef4-49b4-64dc-24a492600f5b", + "x-ms-client-request-id": "8284c514-884b-4b1f-7c8c-29b82c909d15", "x-ms-file-attributes": "System | NotContentIndexed", - "x-ms-file-change-time": "2022-01-04T22:50:57.2547507Z", - "x-ms-file-creation-time": "2022-01-04T22:50:57.1398817Z", + "x-ms-file-change-time": "2022-08-12T03:01:39.8323770Z", + "x-ms-file-creation-time": "2022-08-12T03:01:39.8323768Z", "x-ms-file-id": "12682206919419494400", - "x-ms-file-last-write-time": "2022-01-04T22:50:57.1398819Z", + "x-ms-file-last-write-time": "2022-08-12T03:01:39.8323770Z", "x-ms-file-parent-id": "13835128424026341376", - "x-ms-file-permission-key": "15790440386765357382*10343500956293103928", - "x-ms-request-id": "4625ad57-e01a-0069-2cbd-01864b000000", + "x-ms-file-permission-key": "10042215909827301789*16137673612980802019", + "x-ms-request-id": "5a2c564d-d01a-005d-5af7-ad6422000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/filesharefileclienttestfilesmbproperties/FileSmbPropertiesbase/FileSmbProperties4?comp=properties" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "7fb9b7d1-f208-4d27-5b03-bdc1d9dcd6e9", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "992e69db-f6b9-4a26-6d26-d14d0431176d", + "x-ms-version": "2021-06-08" }, "Method": "HEAD", "Response": { @@ -381,32 +381,32 @@ "content-language": "en-US", "content-length": "1024", "content-type": "application/octet-stream", - "date": "Tue, 04 Jan 2022 22:50:56 GMT", - "etag": "\"0x8D9CFD4ABD3822F\"", - "last-modified": "Tue, 04 Jan 2022 22:50:57 GMT", + "date": "Fri, 12 Aug 2022 03:01:41 GMT", + "etag": "\"0x8DA7C0EFB8E4C3C\"", + "last-modified": "Fri, 12 Aug 2022 03:01:41 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "7fb9b7d1-f208-4d27-5b03-bdc1d9dcd6e9", + "x-ms-client-request-id": "992e69db-f6b9-4a26-6d26-d14d0431176d", "x-ms-file-attributes": "System | NotContentIndexed", - "x-ms-file-change-time": "2022-01-04T22:50:57.2417583Z", - "x-ms-file-creation-time": "2022-01-04T22:50:57.1398817Z", + "x-ms-file-change-time": "2022-08-12T03:01:39.8323770Z", + "x-ms-file-creation-time": "2022-08-12T03:01:39.8323768Z", "x-ms-file-id": "14988049928633188352", - "x-ms-file-last-write-time": "2022-01-04T22:50:57.1398819Z", + "x-ms-file-last-write-time": "2022-08-12T03:01:39.8323770Z", "x-ms-file-parent-id": "13835128424026341376", - "x-ms-file-permission-key": "15790440386765357382*10343500956293103928", + "x-ms-file-permission-key": "10042215909827301789*16137673612980802019", "x-ms-lease-state": "available", "x-ms-lease-status": "unlocked", - "x-ms-request-id": "4625ad58-e01a-0069-2dbd-01864b000000", + "x-ms-request-id": "5a2c564f-d01a-005d-5bf7-ad6422000000", "x-ms-server-encrypted": "true", "x-ms-type": "File", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/filesharefileclienttestfilesmbproperties/FileSmbPropertiesbase/FileSmbProperties3" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "ec1ab245-1d47-418c-7365-c8f4631f685b", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "f719281f-2b7d-4fd4-6c2a-464760077a1c", + "x-ms-version": "2021-06-08" }, "Method": "HEAD", "Response": { @@ -419,32 +419,32 @@ "content-language": "en-US", "content-length": "1024", "content-type": "application/octet-stream", - "date": "Tue, 04 Jan 2022 22:50:56 GMT", - "etag": "\"0x8D9CFD4ABD57DB3\"", - "last-modified": "Tue, 04 Jan 2022 22:50:57 GMT", + "date": "Fri, 12 Aug 2022 03:01:42 GMT", + "etag": "\"0x8DA7C0EFBBAACF1\"", + "last-modified": "Fri, 12 Aug 2022 03:01:42 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "ec1ab245-1d47-418c-7365-c8f4631f685b", + "x-ms-client-request-id": "f719281f-2b7d-4fd4-6c2a-464760077a1c", "x-ms-file-attributes": "System | NotContentIndexed", - "x-ms-file-change-time": "2022-01-04T22:50:57.2547507Z", - "x-ms-file-creation-time": "2022-01-04T22:50:57.1398817Z", + "x-ms-file-change-time": "2022-08-12T03:01:39.8323770Z", + "x-ms-file-creation-time": "2022-08-12T03:01:39.8323768Z", "x-ms-file-id": "12682206919419494400", - "x-ms-file-last-write-time": "2022-01-04T22:50:57.1398819Z", + "x-ms-file-last-write-time": "2022-08-12T03:01:39.8323770Z", "x-ms-file-parent-id": "13835128424026341376", - "x-ms-file-permission-key": "15790440386765357382*10343500956293103928", + "x-ms-file-permission-key": "10042215909827301789*16137673612980802019", "x-ms-lease-state": "available", "x-ms-lease-status": "unlocked", - "x-ms-request-id": "4625ad59-e01a-0069-2ebd-01864b000000", + "x-ms-request-id": "5a2c5650-d01a-005d-5cf7-ad6422000000", "x-ms-server-encrypted": "true", "x-ms-type": "File", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/filesharefileclienttestfilesmbproperties/FileSmbPropertiesbase/FileSmbProperties4" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "1fa9d141-e6a9-433b-6da5-2a4be03058f6", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "43af410f-9773-482d-483b-1d88d2931115", + "x-ms-version": "2021-06-08" }, "Method": "DELETE", "Response": { @@ -452,19 +452,19 @@ "REASON_PHRASE": "Accepted", "STATUS_CODE": "202", "content-length": "0", - "date": "Tue, 04 Jan 2022 22:50:56 GMT", + "date": "Fri, 12 Aug 2022 03:01:42 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "1fa9d141-e6a9-433b-6da5-2a4be03058f6", - "x-ms-request-id": "4625ad5a-e01a-0069-2fbd-01864b000000", - "x-ms-version": "2020-02-10" + "x-ms-client-request-id": "43af410f-9773-482d-483b-1d88d2931115", + "x-ms-request-id": "5a2c5653-d01a-005d-5ff7-ad6422000000", + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/filesharefileclienttestfilesmbproperties?restype=share" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "996ccd17-e676-457a-776f-77273f62e321", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "6c34398b-8f8b-4c88-64f9-7c54ab906320", + "x-ms-version": "2021-06-08" }, "Method": "DELETE", "Response": { @@ -472,19 +472,19 @@ "REASON_PHRASE": "Accepted", "STATUS_CODE": "202", "content-length": "0", - "date": "Tue, 04 Jan 2022 22:50:56 GMT", + "date": "Fri, 12 Aug 2022 03:01:42 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "996ccd17-e676-457a-776f-77273f62e321", - "x-ms-request-id": "4625ad5b-e01a-0069-30bd-01864b000000", - "x-ms-version": "2020-02-10" + "x-ms-client-request-id": "6c34398b-8f8b-4c88-64f9-7c54ab906320", + "x-ms-request-id": "5a2c5654-d01a-005d-60f7-ad6422000000", + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/filesharefileclienttestfilesmbproperties?restype=share" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "34ebd2fb-4627-4f35-7a44-95b8ad6c45ed", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "d86bdb88-f7a4-4559-6484-c14056c21c48", + "x-ms-version": "2021-06-08" }, "Method": "DELETE", "Response": { @@ -492,11 +492,11 @@ "REASON_PHRASE": "Accepted", "STATUS_CODE": "202", "content-length": "0", - "date": "Tue, 04 Jan 2022 22:50:56 GMT", + "date": "Fri, 12 Aug 2022 03:01:43 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "34ebd2fb-4627-4f35-7a44-95b8ad6c45ed", - "x-ms-request-id": "4625ad5c-e01a-0069-31bd-01864b000000", - "x-ms-version": "2020-02-10" + "x-ms-client-request-id": "d86bdb88-f7a4-4559-6484-c14056c21c48", + "x-ms-request-id": "5a2c5657-d01a-005d-63f7-ad6422000000", + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/filesharefileclienttestfilesmbproperties?restype=share" } diff --git a/sdk/storage/azure-storage-files-shares/test/ut/recordings/FileShareFileClientTest.RangeUploadDownload.json b/sdk/storage/azure-storage-files-shares/test/ut/recordings/FileShareFileClientTest.RangeUploadDownload.json index e8d90e9b20..362ca6c82b 100644 --- a/sdk/storage/azure-storage-files-shares/test/ut/recordings/FileShareFileClientTest.RangeUploadDownload.json +++ b/sdk/storage/azure-storage-files-shares/test/ut/recordings/FileShareFileClientTest.RangeUploadDownload.json @@ -2,9 +2,9 @@ "networkCallRecords": [ { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "e22c42cd-e363-432a-757e-5bcb7a8162ba", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "82b09393-fe24-4575-67c8-330d6d27e97b", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -12,21 +12,21 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Tue, 04 Jan 2022 22:50:57 GMT", - "etag": "\"0x8D9CFD4AC6B94FA\"", - "last-modified": "Tue, 04 Jan 2022 22:50:58 GMT", + "date": "Fri, 12 Aug 2022 03:01:46 GMT", + "etag": "\"0x8DA7C0EFE82D864\"", + "last-modified": "Fri, 12 Aug 2022 03:01:46 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "e22c42cd-e363-432a-757e-5bcb7a8162ba", - "x-ms-request-id": "d26b0774-a01a-0047-7abd-01d45c000000", - "x-ms-version": "2020-02-10" + "x-ms-client-request-id": "82b09393-fe24-4575-67c8-330d6d27e97b", + "x-ms-request-id": "5a2c566d-d01a-005d-73f7-ad6422000000", + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/filesharefileclienttestrangeuploaddownload?restype=share" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "07db59ee-0c4b-4d07-607d-ac29f1fa4cd2", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "776d93d0-329e-492a-7879-fd2119d632d5", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -34,29 +34,29 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Tue, 04 Jan 2022 22:50:57 GMT", - "etag": "\"0x8D9CFD4AC70BCB9\"", - "last-modified": "Tue, 04 Jan 2022 22:50:58 GMT", + "date": "Fri, 12 Aug 2022 03:01:46 GMT", + "etag": "\"0x8DA7C0EFEB07463\"", + "last-modified": "Fri, 12 Aug 2022 03:01:47 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "07db59ee-0c4b-4d07-607d-ac29f1fa4cd2", + "x-ms-client-request-id": "776d93d0-329e-492a-7879-fd2119d632d5", "x-ms-file-attributes": "Directory", - "x-ms-file-change-time": "2022-01-04T22:50:58.2721721Z", - "x-ms-file-creation-time": "2022-01-04T22:50:58.2721721Z", + "x-ms-file-change-time": "2022-08-12T03:01:47.0709859Z", + "x-ms-file-creation-time": "2022-08-12T03:01:47.0709859Z", "x-ms-file-id": "13835128424026341376", - "x-ms-file-last-write-time": "2022-01-04T22:50:58.2721721Z", + "x-ms-file-last-write-time": "2022-08-12T03:01:47.0709859Z", "x-ms-file-parent-id": "0", - "x-ms-file-permission-key": "16667920363481994929*10343500956293103928", - "x-ms-request-id": "d26b0777-a01a-0047-7bbd-01d45c000000", + "x-ms-file-permission-key": "13199961128260716138*16137673612980802019", + "x-ms-request-id": "5a2c5670-d01a-005d-75f7-ad6422000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/filesharefileclienttestrangeuploaddownload/RangeUploadDownloadbase?restype=directory" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "8f3f6c1b-33d8-4fa3-4dec-ace86bd9b7e3", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "5995ac69-8da5-4344-7779-97707ce7cd19", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -64,29 +64,29 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Tue, 04 Jan 2022 22:50:57 GMT", - "etag": "\"0x8D9CFD4AC735469\"", - "last-modified": "Tue, 04 Jan 2022 22:50:58 GMT", + "date": "Fri, 12 Aug 2022 03:01:46 GMT", + "etag": "\"0x8DA7C0EFEDCD52E\"", + "last-modified": "Fri, 12 Aug 2022 03:01:47 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "8f3f6c1b-33d8-4fa3-4dec-ace86bd9b7e3", + "x-ms-client-request-id": "5995ac69-8da5-4344-7779-97707ce7cd19", "x-ms-file-attributes": "Archive", - "x-ms-file-change-time": "2022-01-04T22:50:58.2891625Z", - "x-ms-file-creation-time": "2022-01-04T22:50:58.2891625Z", + "x-ms-file-change-time": "2022-08-12T03:01:47.3618222Z", + "x-ms-file-creation-time": "2022-08-12T03:01:47.3618222Z", "x-ms-file-id": "11529285414812647424", - "x-ms-file-last-write-time": "2022-01-04T22:50:58.2891625Z", + "x-ms-file-last-write-time": "2022-08-12T03:01:47.3618222Z", "x-ms-file-parent-id": "13835128424026341376", - "x-ms-file-permission-key": "2822515689773754806*10343500956293103928", - "x-ms-request-id": "d26b0779-a01a-0047-7cbd-01d45c000000", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", + "x-ms-request-id": "5a2c5673-d01a-005d-77f7-ad6422000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/filesharefileclienttestrangeuploaddownload/RangeUploadDownloadbase/RangeUploadDownloadbasefile" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "a69d5fb8-48b1-4a29-5011-4359a8082131", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "c35c689b-dc05-4cc2-598b-0c1a9fec4871", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -94,29 +94,29 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Tue, 04 Jan 2022 22:50:57 GMT", - "etag": "\"0x8D9CFD4AC75C510\"", - "last-modified": "Tue, 04 Jan 2022 22:50:58 GMT", + "date": "Fri, 12 Aug 2022 03:01:47 GMT", + "etag": "\"0x8DA7C0EFF0935DE\"", + "last-modified": "Fri, 12 Aug 2022 03:01:47 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "a69d5fb8-48b1-4a29-5011-4359a8082131", + "x-ms-client-request-id": "c35c689b-dc05-4cc2-598b-0c1a9fec4871", "x-ms-file-attributes": "Archive", - "x-ms-file-change-time": "2022-01-04T22:50:58.3051536Z", - "x-ms-file-creation-time": "2022-01-04T22:50:58.3051536Z", + "x-ms-file-change-time": "2022-08-12T03:01:47.6526558Z", + "x-ms-file-creation-time": "2022-08-12T03:01:47.6526558Z", "x-ms-file-id": "16140971433240035328", - "x-ms-file-last-write-time": "2022-01-04T22:50:58.3051536Z", + "x-ms-file-last-write-time": "2022-08-12T03:01:47.6526558Z", "x-ms-file-parent-id": "0", - "x-ms-file-permission-key": "2822515689773754806*10343500956293103928", - "x-ms-request-id": "d26b077a-a01a-0047-7dbd-01d45c000000", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", + "x-ms-request-id": "5a2c5675-d01a-005d-79f7-ad6422000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/filesharefileclienttestrangeuploaddownload/RangeUploadDownload" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "17f58d97-dc95-4865-74ba-3e6ee8c66a62", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "a0c76ddc-3705-42a4-4919-cc482fa57158", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -125,22 +125,23 @@ "STATUS_CODE": "201", "content-length": "0", "content-md5": "tWH4cgLQSVnjdYjuBc9bEA==", - "date": "Tue, 04 Jan 2022 22:50:57 GMT", - "etag": "\"0x8D9CFD4AC7E2846\"", - "last-modified": "Tue, 04 Jan 2022 22:50:58 GMT", + "date": "Fri, 12 Aug 2022 03:01:48 GMT", + "etag": "\"0x8DA7C0EFFE3E5B5\"", + "last-modified": "Fri, 12 Aug 2022 03:01:49 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "17f58d97-dc95-4865-74ba-3e6ee8c66a62", - "x-ms-request-id": "d26b077b-a01a-0047-7ebd-01d45c000000", + "x-ms-client-request-id": "a0c76ddc-3705-42a4-4919-cc482fa57158", + "x-ms-file-last-write-time": "2022-08-12T03:01:49.0858421Z", + "x-ms-request-id": "5a2c5677-d01a-005d-7bf7-ad6422000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/filesharefileclienttestrangeuploaddownload/RangeUploadDownload?comp=range" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "14f9427f-0a57-450f-7849-ec4c89583fae", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "a665ff8f-cef2-475e-5a4b-7e192bb43a5f", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -149,22 +150,23 @@ "STATUS_CODE": "201", "content-length": "0", "content-md5": "tWH4cgLQSVnjdYjuBc9bEA==", - "date": "Tue, 04 Jan 2022 22:50:57 GMT", - "etag": "\"0x8D9CFD4AC8468E9\"", - "last-modified": "Tue, 04 Jan 2022 22:50:58 GMT", + "date": "Fri, 12 Aug 2022 03:01:49 GMT", + "etag": "\"0x8DA7C0F003DDF84\"", + "last-modified": "Fri, 12 Aug 2022 03:01:49 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "14f9427f-0a57-450f-7849-ec4c89583fae", - "x-ms-request-id": "d26b077c-a01a-0047-7fbd-01d45c000000", + "x-ms-client-request-id": "a665ff8f-cef2-475e-5a4b-7e192bb43a5f", + "x-ms-file-last-write-time": "2022-08-12T03:01:49.6755076Z", + "x-ms-request-id": "5a2c5680-d01a-005d-04f7-ad6422000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/filesharefileclienttestrangeuploaddownload/RangeUploadDownload?comp=range" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "6056a1da-afe4-4a71-5a3b-23c50ff45d59", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "527bc4b4-c32b-4d62-5a06-a64178775a24", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -173,22 +175,23 @@ "STATUS_CODE": "201", "content-length": "0", "content-md5": "tWH4cgLQSVnjdYjuBc9bEA==", - "date": "Tue, 04 Jan 2022 22:50:57 GMT", - "etag": "\"0x8D9CFD4AC8C08F0\"", - "last-modified": "Tue, 04 Jan 2022 22:50:58 GMT", + "date": "Fri, 12 Aug 2022 03:01:49 GMT", + "etag": "\"0x8DA7C0F0097161E\"", + "last-modified": "Fri, 12 Aug 2022 03:01:50 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "6056a1da-afe4-4a71-5a3b-23c50ff45d59", - "x-ms-request-id": "d26b077d-a01a-0047-80bd-01d45c000000", + "x-ms-client-request-id": "527bc4b4-c32b-4d62-5a06-a64178775a24", + "x-ms-file-last-write-time": "2022-08-12T03:01:50.2601758Z", + "x-ms-request-id": "5a2c568f-d01a-005d-0df7-ad6422000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/filesharefileclienttestrangeuploaddownload/RangeUploadDownload?comp=range" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "7877b57c-5199-45cb-67ca-6e135d26a5e8", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "4d8fd711-126d-4a15-7a57-68edfe37c3fb", + "x-ms-version": "2021-06-08" }, "Method": "GET", "Response": { @@ -199,32 +202,32 @@ "content-length": "1048576", "content-range": "bytes 0-1048575/3145728", "content-type": "application/octet-stream", - "date": "Tue, 04 Jan 2022 22:50:57 GMT", - "etag": "\"0x8D9CFD4AC8C08F0\"", - "last-modified": "Tue, 04 Jan 2022 22:50:58 GMT", + "date": "Fri, 12 Aug 2022 03:01:50 GMT", + "etag": "\"0x8DA7C0F0097161E\"", + "last-modified": "Fri, 12 Aug 2022 03:01:50 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "7877b57c-5199-45cb-67ca-6e135d26a5e8", + "x-ms-client-request-id": "4d8fd711-126d-4a15-7a57-68edfe37c3fb", "x-ms-file-attributes": "Archive", - "x-ms-file-change-time": "2022-01-04T22:50:58.3051536Z", - "x-ms-file-creation-time": "2022-01-04T22:50:58.3051536Z", + "x-ms-file-change-time": "2022-08-12T03:01:50.2601758Z", + "x-ms-file-creation-time": "2022-08-12T03:01:47.6526558Z", "x-ms-file-id": "16140971433240035328", - "x-ms-file-last-write-time": "2022-01-04T22:50:58.3051536Z", + "x-ms-file-last-write-time": "2022-08-12T03:01:50.2601758Z", "x-ms-file-parent-id": "0", - "x-ms-file-permission-key": "2822515689773754806*10343500956293103928", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", "x-ms-lease-state": "available", "x-ms-lease-status": "unlocked", - "x-ms-request-id": "d26b077e-a01a-0047-01bd-01d45c000000", + "x-ms-request-id": "5a2c5696-d01a-005d-14f7-ad6422000000", "x-ms-server-encrypted": "true", "x-ms-type": "File", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/filesharefileclienttestrangeuploaddownload/RangeUploadDownload" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "0284d9c4-251c-4086-579b-68442b903cc1", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "a251e215-6a90-430b-519c-604b2a810643", + "x-ms-version": "2021-06-08" }, "Method": "GET", "Response": { @@ -235,32 +238,32 @@ "content-length": "1048576", "content-range": "bytes 1048576-2097151/3145728", "content-type": "application/octet-stream", - "date": "Tue, 04 Jan 2022 22:50:58 GMT", - "etag": "\"0x8D9CFD4AC8C08F0\"", - "last-modified": "Tue, 04 Jan 2022 22:50:58 GMT", + "date": "Fri, 12 Aug 2022 03:01:51 GMT", + "etag": "\"0x8DA7C0F0097161E\"", + "last-modified": "Fri, 12 Aug 2022 03:01:50 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "0284d9c4-251c-4086-579b-68442b903cc1", + "x-ms-client-request-id": "a251e215-6a90-430b-519c-604b2a810643", "x-ms-file-attributes": "Archive", - "x-ms-file-change-time": "2022-01-04T22:50:58.3051536Z", - "x-ms-file-creation-time": "2022-01-04T22:50:58.3051536Z", + "x-ms-file-change-time": "2022-08-12T03:01:50.2601758Z", + "x-ms-file-creation-time": "2022-08-12T03:01:47.6526558Z", "x-ms-file-id": "16140971433240035328", - "x-ms-file-last-write-time": "2022-01-04T22:50:58.3051536Z", + "x-ms-file-last-write-time": "2022-08-12T03:01:50.2601758Z", "x-ms-file-parent-id": "0", - "x-ms-file-permission-key": "2822515689773754806*10343500956293103928", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", "x-ms-lease-state": "available", "x-ms-lease-status": "unlocked", - "x-ms-request-id": "d26b077f-a01a-0047-02bd-01d45c000000", + "x-ms-request-id": "5a2c56ab-d01a-005d-29f7-ad6422000000", "x-ms-server-encrypted": "true", "x-ms-type": "File", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/filesharefileclienttestrangeuploaddownload/RangeUploadDownload" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "ef25535e-10cc-4304-5905-b73d45a40d00", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "70c73a0f-e604-44e8-58fa-f617436807e7", + "x-ms-version": "2021-06-08" }, "Method": "GET", "Response": { @@ -271,32 +274,32 @@ "content-length": "1048576", "content-range": "bytes 2097152-3145727/3145728", "content-type": "application/octet-stream", - "date": "Tue, 04 Jan 2022 22:50:58 GMT", - "etag": "\"0x8D9CFD4AC8C08F0\"", - "last-modified": "Tue, 04 Jan 2022 22:50:58 GMT", + "date": "Fri, 12 Aug 2022 03:01:52 GMT", + "etag": "\"0x8DA7C0F0097161E\"", + "last-modified": "Fri, 12 Aug 2022 03:01:50 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "ef25535e-10cc-4304-5905-b73d45a40d00", + "x-ms-client-request-id": "70c73a0f-e604-44e8-58fa-f617436807e7", "x-ms-file-attributes": "Archive", - "x-ms-file-change-time": "2022-01-04T22:50:58.3051536Z", - "x-ms-file-creation-time": "2022-01-04T22:50:58.3051536Z", + "x-ms-file-change-time": "2022-08-12T03:01:50.2601758Z", + "x-ms-file-creation-time": "2022-08-12T03:01:47.6526558Z", "x-ms-file-id": "16140971433240035328", - "x-ms-file-last-write-time": "2022-01-04T22:50:58.3051536Z", + "x-ms-file-last-write-time": "2022-08-12T03:01:50.2601758Z", "x-ms-file-parent-id": "0", - "x-ms-file-permission-key": "2822515689773754806*10343500956293103928", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", "x-ms-lease-state": "available", "x-ms-lease-status": "unlocked", - "x-ms-request-id": "d26b0780-a01a-0047-03bd-01d45c000000", + "x-ms-request-id": "5a2c56ad-d01a-005d-2af7-ad6422000000", "x-ms-server-encrypted": "true", "x-ms-type": "File", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/filesharefileclienttestrangeuploaddownload/RangeUploadDownload" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "135b0b87-5bb8-4eab-6a6a-481372078c36", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "9561c079-0fb4-4177-406a-111797ab1d23", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -304,29 +307,275 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Tue, 04 Jan 2022 22:50:58 GMT", - "etag": "\"0x8D9CFD4ACA13B88\"", - "last-modified": "Tue, 04 Jan 2022 22:50:58 GMT", + "date": "Fri, 12 Aug 2022 03:01:52 GMT", + "etag": "\"0x8DA7C0F022BAC22\"", + "last-modified": "Fri, 12 Aug 2022 03:01:52 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "135b0b87-5bb8-4eab-6a6a-481372078c36", + "x-ms-client-request-id": "9561c079-0fb4-4177-406a-111797ab1d23", "x-ms-file-attributes": "Archive", - "x-ms-file-change-time": "2022-01-04T22:50:58.5899912Z", - "x-ms-file-creation-time": "2022-01-04T22:50:58.5899912Z", - "x-ms-file-id": "10376363910205800448", - "x-ms-file-last-write-time": "2022-01-04T22:50:58.5899912Z", + "x-ms-file-change-time": "2022-08-12T03:01:52.9116706Z", + "x-ms-file-creation-time": "2022-08-12T03:01:52.9116706Z", + "x-ms-file-id": "16140971433240035328", + "x-ms-file-last-write-time": "2022-08-12T03:01:52.9116706Z", + "x-ms-file-parent-id": "0", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", + "x-ms-request-id": "5a2c56af-d01a-005d-2cf7-ad6422000000", + "x-ms-request-server-encrypted": "true", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/filesharefileclienttestrangeuploaddownload/RangeUploadDownload" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "74a12feb-f682-4ee3-690c-33318ad29bba", + "x-ms-version": "2021-06-08" + }, + "Method": "HEAD", + "Response": { + "BODY": "", + "REASON_PHRASE": "OK", + "STATUS_CODE": "200", + "content-length": "3145728", + "content-type": "application/octet-stream", + "date": "Fri, 12 Aug 2022 03:01:52 GMT", + "etag": "\"0x8DA7C0F022BAC22\"", + "last-modified": "Fri, 12 Aug 2022 03:01:52 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "74a12feb-f682-4ee3-690c-33318ad29bba", + "x-ms-file-attributes": "Archive", + "x-ms-file-change-time": "2022-08-12T03:01:52.9116706Z", + "x-ms-file-creation-time": "2022-08-12T03:01:52.9116706Z", + "x-ms-file-id": "16140971433240035328", + "x-ms-file-last-write-time": "2022-08-12T03:01:52.9116706Z", + "x-ms-file-parent-id": "0", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", + "x-ms-lease-state": "available", + "x-ms-lease-status": "unlocked", + "x-ms-request-id": "5a2c56b0-d01a-005d-2df7-ad6422000000", + "x-ms-server-encrypted": "true", + "x-ms-type": "File", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/filesharefileclienttestrangeuploaddownload/RangeUploadDownload" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "236ba9a8-272a-4b12-6487-6f4419556546", + "x-ms-version": "2021-06-08" + }, + "Method": "PUT", + "Response": { + "BODY": "", + "REASON_PHRASE": "Created", + "STATUS_CODE": "201", + "content-length": "0", + "content-md5": "tWH4cgLQSVnjdYjuBc9bEA==", + "date": "Fri, 12 Aug 2022 03:01:53 GMT", + "etag": "\"0x8DA7C0F02B1918A\"", + "last-modified": "Fri, 12 Aug 2022 03:01:53 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "236ba9a8-272a-4b12-6487-6f4419556546", + "x-ms-file-last-write-time": "2022-08-12T03:01:53.7891722Z", + "x-ms-request-id": "5a2c56b1-d01a-005d-2ef7-ad6422000000", + "x-ms-request-server-encrypted": "true", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/filesharefileclienttestrangeuploaddownload/RangeUploadDownload?comp=range" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "b15bcd73-e63f-4f88-69d6-9fe4564c10d3", + "x-ms-version": "2021-06-08" + }, + "Method": "HEAD", + "Response": { + "BODY": "", + "REASON_PHRASE": "OK", + "STATUS_CODE": "200", + "content-length": "3145728", + "content-type": "application/octet-stream", + "date": "Fri, 12 Aug 2022 03:01:53 GMT", + "etag": "\"0x8DA7C0F02B1918A\"", + "last-modified": "Fri, 12 Aug 2022 03:01:53 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "b15bcd73-e63f-4f88-69d6-9fe4564c10d3", + "x-ms-file-attributes": "Archive", + "x-ms-file-change-time": "2022-08-12T03:01:53.7891722Z", + "x-ms-file-creation-time": "2022-08-12T03:01:52.9116706Z", + "x-ms-file-id": "16140971433240035328", + "x-ms-file-last-write-time": "2022-08-12T03:01:53.7891722Z", + "x-ms-file-parent-id": "0", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", + "x-ms-lease-state": "available", + "x-ms-lease-status": "unlocked", + "x-ms-request-id": "5a2c56b2-d01a-005d-2ff7-ad6422000000", + "x-ms-server-encrypted": "true", + "x-ms-type": "File", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/filesharefileclienttestrangeuploaddownload/RangeUploadDownload" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "529de710-9447-4ca0-4423-df47c0da5659", + "x-ms-version": "2021-06-08" + }, + "Method": "PUT", + "Response": { + "BODY": "", + "REASON_PHRASE": "Created", + "STATUS_CODE": "201", + "content-length": "0", + "date": "Fri, 12 Aug 2022 03:01:53 GMT", + "etag": "\"0x8DA7C0F030AEF2B\"", + "last-modified": "Fri, 12 Aug 2022 03:01:54 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "529de710-9447-4ca0-4423-df47c0da5659", + "x-ms-file-attributes": "Archive", + "x-ms-file-change-time": "2022-08-12T03:01:54.3748395Z", + "x-ms-file-creation-time": "2022-08-12T03:01:54.3748395Z", + "x-ms-file-id": "16140971433240035328", + "x-ms-file-last-write-time": "2022-08-12T03:01:54.3748395Z", + "x-ms-file-parent-id": "0", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", + "x-ms-request-id": "5a2c56b3-d01a-005d-30f7-ad6422000000", + "x-ms-request-server-encrypted": "true", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/filesharefileclienttestrangeuploaddownload/RangeUploadDownload" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "f3466e53-b0ba-44fb-40e2-bf6cf84e5dd9", + "x-ms-version": "2021-06-08" + }, + "Method": "HEAD", + "Response": { + "BODY": "", + "REASON_PHRASE": "OK", + "STATUS_CODE": "200", + "content-length": "3145728", + "content-type": "application/octet-stream", + "date": "Fri, 12 Aug 2022 03:01:54 GMT", + "etag": "\"0x8DA7C0F030AEF2B\"", + "last-modified": "Fri, 12 Aug 2022 03:01:54 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "f3466e53-b0ba-44fb-40e2-bf6cf84e5dd9", + "x-ms-file-attributes": "Archive", + "x-ms-file-change-time": "2022-08-12T03:01:54.3748395Z", + "x-ms-file-creation-time": "2022-08-12T03:01:54.3748395Z", + "x-ms-file-id": "16140971433240035328", + "x-ms-file-last-write-time": "2022-08-12T03:01:54.3748395Z", + "x-ms-file-parent-id": "0", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", + "x-ms-lease-state": "available", + "x-ms-lease-status": "unlocked", + "x-ms-request-id": "5a2c56b6-d01a-005d-31f7-ad6422000000", + "x-ms-server-encrypted": "true", + "x-ms-type": "File", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/filesharefileclienttestrangeuploaddownload/RangeUploadDownload" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "6effbd3e-fa41-42c1-6bff-8ed67296dbc9", + "x-ms-version": "2021-06-08" + }, + "Method": "PUT", + "Response": { + "BODY": "", + "REASON_PHRASE": "Created", + "STATUS_CODE": "201", + "content-length": "0", + "content-md5": "tWH4cgLQSVnjdYjuBc9bEA==", + "date": "Fri, 12 Aug 2022 03:01:54 GMT", + "etag": "\"0x8DA7C0F03666F58\"", + "last-modified": "Fri, 12 Aug 2022 03:01:54 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "6effbd3e-fa41-42c1-6bff-8ed67296dbc9", + "x-ms-file-last-write-time": "2022-08-12T03:01:54.3748395Z", + "x-ms-request-id": "5a2c56b7-d01a-005d-32f7-ad6422000000", + "x-ms-request-server-encrypted": "true", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/filesharefileclienttestrangeuploaddownload/RangeUploadDownload?comp=range" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "fe350b31-1b90-4c7a-4ee4-26ce57c334df", + "x-ms-version": "2021-06-08" + }, + "Method": "HEAD", + "Response": { + "BODY": "", + "REASON_PHRASE": "OK", + "STATUS_CODE": "200", + "content-length": "3145728", + "content-type": "application/octet-stream", + "date": "Fri, 12 Aug 2022 03:01:54 GMT", + "etag": "\"0x8DA7C0F03666F58\"", + "last-modified": "Fri, 12 Aug 2022 03:01:54 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "fe350b31-1b90-4c7a-4ee4-26ce57c334df", + "x-ms-file-attributes": "Archive", + "x-ms-file-change-time": "2022-08-12T03:01:54.9744984Z", + "x-ms-file-creation-time": "2022-08-12T03:01:54.3748395Z", + "x-ms-file-id": "16140971433240035328", + "x-ms-file-last-write-time": "2022-08-12T03:01:54.3748395Z", + "x-ms-file-parent-id": "0", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", + "x-ms-lease-state": "available", + "x-ms-lease-status": "unlocked", + "x-ms-request-id": "5a2c56b8-d01a-005d-33f7-ad6422000000", + "x-ms-server-encrypted": "true", + "x-ms-type": "File", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/filesharefileclienttestrangeuploaddownload/RangeUploadDownload" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "8dbe4f65-356e-4d27-63ba-98acf2c1b3f9", + "x-ms-version": "2021-06-08" + }, + "Method": "PUT", + "Response": { + "BODY": "", + "REASON_PHRASE": "Created", + "STATUS_CODE": "201", + "content-length": "0", + "date": "Fri, 12 Aug 2022 03:01:55 GMT", + "etag": "\"0x8DA7C0F03BF30E2\"", + "last-modified": "Fri, 12 Aug 2022 03:01:55 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "8dbe4f65-356e-4d27-63ba-98acf2c1b3f9", + "x-ms-file-attributes": "Archive", + "x-ms-file-change-time": "2022-08-12T03:01:55.5561698Z", + "x-ms-file-creation-time": "2022-08-12T03:01:55.5561698Z", + "x-ms-file-id": "12682206919419494400", + "x-ms-file-last-write-time": "2022-08-12T03:01:55.5561698Z", "x-ms-file-parent-id": "0", - "x-ms-file-permission-key": "2822515689773754806*10343500956293103928", - "x-ms-request-id": "d26b0781-a01a-0047-04bd-01d45c000000", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", + "x-ms-request-id": "5a2c56b9-d01a-005d-34f7-ad6422000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/filesharefileclienttestrangeuploaddownload/RangeUploadDownload2" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "0593e0b3-cc5e-49e4-7d06-e2eb16370ff6", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "604e0576-bd4f-451d-6446-677252641aa5", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -335,44 +584,45 @@ "STATUS_CODE": "201", "content-length": "0", "content-md5": "tWH4cgLQSVnjdYjuBc9bEA==", - "date": "Tue, 04 Jan 2022 22:50:58 GMT", - "etag": "\"0x8D9CFD4ACA75526\"", - "last-modified": "Tue, 04 Jan 2022 22:50:58 GMT", + "date": "Fri, 12 Aug 2022 03:01:55 GMT", + "etag": "\"0x8DA7C0F03EE5054\"", + "last-modified": "Fri, 12 Aug 2022 03:01:55 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "0593e0b3-cc5e-49e4-7d06-e2eb16370ff6", - "x-ms-request-id": "d26b0782-a01a-0047-05bd-01d45c000000", + "x-ms-client-request-id": "604e0576-bd4f-451d-6446-677252641aa5", + "x-ms-file-last-write-time": "2022-08-12T03:01:55.8649940Z", + "x-ms-request-id": "5a2c56ba-d01a-005d-35f7-ad6422000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/filesharefileclienttestrangeuploaddownload/RangeUploadDownload2?comp=range" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "eaa30f34-a13e-4b58-77b2-5f76075d4993", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "6f82a009-5764-4bfe-550f-95d4ad98c717", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { - "BODY": "Md5MismatchThe MD5 value specified in the request did not match with the MD5 value calculated by the server.\nRequestId:d26b0783-a01a-0047-06bd-01d45c000000\nTime:2022-01-04T22:50:58.6691413ZtQbD1aMPeB+LiPffUwFQJQ==tWH4cgLQSVnjdYjuBc9bEA==", + "BODY": "Md5MismatchThe MD5 value specified in the request did not match with the MD5 value calculated by the server.\nRequestId:5a2c56bb-d01a-005d-36f7-ad6422000000\nTime:2022-08-12T03:01:56.4406279ZtQbD1aMPeB+LiPffUwFQJQ==tWH4cgLQSVnjdYjuBc9bEA==", "REASON_PHRASE": "The MD5 value specified in the request did not match with the MD5 value calculated by the server.", "STATUS_CODE": "400", "content-length": "405", "content-type": "application/xml", - "date": "Tue, 04 Jan 2022 22:50:58 GMT", + "date": "Fri, 12 Aug 2022 03:01:55 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "eaa30f34-a13e-4b58-77b2-5f76075d4993", + "x-ms-client-request-id": "6f82a009-5764-4bfe-550f-95d4ad98c717", "x-ms-error-code": "Md5Mismatch", - "x-ms-request-id": "d26b0783-a01a-0047-06bd-01d45c000000", - "x-ms-version": "2020-02-10" + "x-ms-request-id": "5a2c56bb-d01a-005d-36f7-ad6422000000", + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/filesharefileclienttestrangeuploaddownload/RangeUploadDownload2?comp=range" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "2b7e2424-0dfb-451d-7d96-3360feb8a4f0", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "ed6eb052-7ed3-4483-7e91-4d174e56a8ca", + "x-ms-version": "2021-06-08" }, "Method": "DELETE", "Response": { @@ -380,19 +630,19 @@ "REASON_PHRASE": "Accepted", "STATUS_CODE": "202", "content-length": "0", - "date": "Tue, 04 Jan 2022 22:50:58 GMT", + "date": "Fri, 12 Aug 2022 03:01:57 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "2b7e2424-0dfb-451d-7d96-3360feb8a4f0", - "x-ms-request-id": "dab9e038-201a-0049-7dbd-01fdec000000", - "x-ms-version": "2020-02-10" + "x-ms-client-request-id": "ed6eb052-7ed3-4483-7e91-4d174e56a8ca", + "x-ms-request-id": "d26c20d8-f01a-0038-80f7-adca66000000", + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/filesharefileclienttestrangeuploaddownload?restype=share" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "da3f4452-8193-48f0-669a-08ecdb9f344d", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "05aa7308-b7fa-44b0-7352-2b0f51dc87ae", + "x-ms-version": "2021-06-08" }, "Method": "DELETE", "Response": { @@ -400,19 +650,19 @@ "REASON_PHRASE": "Accepted", "STATUS_CODE": "202", "content-length": "0", - "date": "Tue, 04 Jan 2022 22:50:58 GMT", + "date": "Fri, 12 Aug 2022 03:01:57 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "da3f4452-8193-48f0-669a-08ecdb9f344d", - "x-ms-request-id": "dab9e03a-201a-0049-7ebd-01fdec000000", - "x-ms-version": "2020-02-10" + "x-ms-client-request-id": "05aa7308-b7fa-44b0-7352-2b0f51dc87ae", + "x-ms-request-id": "d26c20e1-f01a-0038-08f7-adca66000000", + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/filesharefileclienttestrangeuploaddownload?restype=share" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "b92c23ea-67ba-4561-5c2a-7c92aa913e01", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "ccb7eb73-e439-49e7-4b7f-4405d6b6eda2", + "x-ms-version": "2021-06-08" }, "Method": "DELETE", "Response": { @@ -420,11 +670,11 @@ "REASON_PHRASE": "Accepted", "STATUS_CODE": "202", "content-length": "0", - "date": "Tue, 04 Jan 2022 22:50:58 GMT", + "date": "Fri, 12 Aug 2022 03:01:57 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "b92c23ea-67ba-4561-5c2a-7c92aa913e01", - "x-ms-request-id": "dab9e03b-201a-0049-7fbd-01fdec000000", - "x-ms-version": "2020-02-10" + "x-ms-client-request-id": "ccb7eb73-e439-49e7-4b7f-4405d6b6eda2", + "x-ms-request-id": "d26c20e6-f01a-0038-0df7-adca66000000", + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/filesharefileclienttestrangeuploaddownload?restype=share" } diff --git a/sdk/storage/azure-storage-files-shares/test/ut/recordings/FileShareFileClientTest.SmbPropertiesDefaultValue.json b/sdk/storage/azure-storage-files-shares/test/ut/recordings/FileShareFileClientTest.SmbPropertiesDefaultValue.json index 00c9e6a103..dc723cb2d7 100644 --- a/sdk/storage/azure-storage-files-shares/test/ut/recordings/FileShareFileClientTest.SmbPropertiesDefaultValue.json +++ b/sdk/storage/azure-storage-files-shares/test/ut/recordings/FileShareFileClientTest.SmbPropertiesDefaultValue.json @@ -2,9 +2,9 @@ "networkCallRecords": [ { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "63156db3-ab98-4dae-5df0-4282116bdf5e", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "5558b3cc-25de-4be3-6beb-ed132d01383c", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -12,21 +12,21 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Tue, 04 Jan 2022 22:50:57 GMT", - "etag": "\"0x8D9CFD4ABE89CCB\"", - "last-modified": "Tue, 04 Jan 2022 22:50:57 GMT", + "date": "Fri, 12 Aug 2022 03:01:43 GMT", + "etag": "\"0x8DA7C0EFCC5D842\"", + "last-modified": "Fri, 12 Aug 2022 03:01:43 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "63156db3-ab98-4dae-5df0-4282116bdf5e", - "x-ms-request-id": "6986a669-e01a-0024-12bd-0149a7000000", - "x-ms-version": "2020-02-10" + "x-ms-client-request-id": "5558b3cc-25de-4be3-6beb-ed132d01383c", + "x-ms-request-id": "5a2c5658-d01a-005d-64f7-ad6422000000", + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/filesharefileclienttestsmbpropertiesdefaultvalue?restype=share" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "d826f34d-7f6c-4c6d-4e16-6eecd56cc8f2", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "bdb642d6-0255-4937-6280-e9a94ef42dbb", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -34,29 +34,29 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Tue, 04 Jan 2022 22:50:57 GMT", - "etag": "\"0x8D9CFD4ABEC5DBE\"", - "last-modified": "Tue, 04 Jan 2022 22:50:57 GMT", + "date": "Fri, 12 Aug 2022 03:01:43 GMT", + "etag": "\"0x8DA7C0EFCF32697\"", + "last-modified": "Fri, 12 Aug 2022 03:01:44 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "d826f34d-7f6c-4c6d-4e16-6eecd56cc8f2", + "x-ms-client-request-id": "bdb642d6-0255-4937-6280-e9a94ef42dbb", "x-ms-file-attributes": "Directory", - "x-ms-file-change-time": "2022-01-04T22:50:57.4046654Z", - "x-ms-file-creation-time": "2022-01-04T22:50:57.4046654Z", + "x-ms-file-change-time": "2022-08-12T03:01:44.1526423Z", + "x-ms-file-creation-time": "2022-08-12T03:01:44.1526423Z", "x-ms-file-id": "13835128424026341376", - "x-ms-file-last-write-time": "2022-01-04T22:50:57.4046654Z", + "x-ms-file-last-write-time": "2022-08-12T03:01:44.1526423Z", "x-ms-file-parent-id": "0", - "x-ms-file-permission-key": "16667920363481994929*10343500956293103928", - "x-ms-request-id": "6986a66c-e01a-0024-13bd-0149a7000000", + "x-ms-file-permission-key": "13199961128260716138*16137673612980802019", + "x-ms-request-id": "5a2c565a-d01a-005d-65f7-ad6422000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/filesharefileclienttestsmbpropertiesdefaultvalue/SmbPropertiesDefaultValuebase?restype=directory" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "defb942a-3a7f-46bd-6cd4-ba560b87e05e", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "98a4f22b-1a36-46c5-779f-85259a1d805f", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -64,29 +64,29 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Tue, 04 Jan 2022 22:50:57 GMT", - "etag": "\"0x8D9CFD4ABEE8050\"", - "last-modified": "Tue, 04 Jan 2022 22:50:57 GMT", + "date": "Fri, 12 Aug 2022 03:01:44 GMT", + "etag": "\"0x8DA7C0EFD202381\"", + "last-modified": "Fri, 12 Aug 2022 03:01:44 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "defb942a-3a7f-46bd-6cd4-ba560b87e05e", + "x-ms-client-request-id": "98a4f22b-1a36-46c5-779f-85259a1d805f", "x-ms-file-attributes": "Archive", - "x-ms-file-change-time": "2022-01-04T22:50:57.4186576Z", - "x-ms-file-creation-time": "2022-01-04T22:50:57.4186576Z", + "x-ms-file-change-time": "2022-08-12T03:01:44.4474753Z", + "x-ms-file-creation-time": "2022-08-12T03:01:44.4474753Z", "x-ms-file-id": "11529285414812647424", - "x-ms-file-last-write-time": "2022-01-04T22:50:57.4186576Z", + "x-ms-file-last-write-time": "2022-08-12T03:01:44.4474753Z", "x-ms-file-parent-id": "13835128424026341376", - "x-ms-file-permission-key": "2822515689773754806*10343500956293103928", - "x-ms-request-id": "6986a66d-e01a-0024-14bd-0149a7000000", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", + "x-ms-request-id": "5a2c565b-d01a-005d-66f7-ad6422000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/filesharefileclienttestsmbpropertiesdefaultvalue/SmbPropertiesDefaultValuebase/SmbPropertiesDefaultValuebasefile" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "0bb15c8b-f08f-4c05-522f-f093a106edd4", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "cb256d8c-fc17-4667-413d-02cded0adb70", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -94,29 +94,29 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Tue, 04 Jan 2022 22:50:57 GMT", - "etag": "\"0x8D9CFD4ABF054CA\"", - "last-modified": "Tue, 04 Jan 2022 22:50:57 GMT", + "date": "Fri, 12 Aug 2022 03:01:44 GMT", + "etag": "\"0x8DA7C0EFD4D2069\"", + "last-modified": "Fri, 12 Aug 2022 03:01:44 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "0bb15c8b-f08f-4c05-522f-f093a106edd4", + "x-ms-client-request-id": "cb256d8c-fc17-4667-413d-02cded0adb70", "x-ms-file-attributes": "Archive", - "x-ms-file-change-time": "2022-01-04T22:50:57.4306506Z", - "x-ms-file-creation-time": "2022-01-04T22:50:57.4306506Z", + "x-ms-file-change-time": "2022-08-12T03:01:44.7423081Z", + "x-ms-file-creation-time": "2022-08-12T03:01:44.7423081Z", "x-ms-file-id": "16140971433240035328", - "x-ms-file-last-write-time": "2022-01-04T22:50:57.4306506Z", + "x-ms-file-last-write-time": "2022-08-12T03:01:44.7423081Z", "x-ms-file-parent-id": "0", - "x-ms-file-permission-key": "2822515689773754806*10343500956293103928", - "x-ms-request-id": "6986a66e-e01a-0024-15bd-0149a7000000", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", + "x-ms-request-id": "5a2c5661-d01a-005d-6af7-ad6422000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/filesharefileclienttestsmbpropertiesdefaultvalue/SmbPropertiesDefaultValue" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "aef88de9-f709-4f81-4235-1551e5fc6699", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "afde4e7c-2098-41a1-5140-9fb939927d4c", + "x-ms-version": "2021-06-08" }, "Method": "HEAD", "Response": { @@ -125,32 +125,32 @@ "STATUS_CODE": "200", "content-length": "1024", "content-type": "application/octet-stream", - "date": "Tue, 04 Jan 2022 22:50:57 GMT", - "etag": "\"0x8D9CFD4ABF054CA\"", - "last-modified": "Tue, 04 Jan 2022 22:50:57 GMT", + "date": "Fri, 12 Aug 2022 03:01:44 GMT", + "etag": "\"0x8DA7C0EFD4D2069\"", + "last-modified": "Fri, 12 Aug 2022 03:01:44 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "aef88de9-f709-4f81-4235-1551e5fc6699", + "x-ms-client-request-id": "afde4e7c-2098-41a1-5140-9fb939927d4c", "x-ms-file-attributes": "Archive", - "x-ms-file-change-time": "2022-01-04T22:50:57.4306506Z", - "x-ms-file-creation-time": "2022-01-04T22:50:57.4306506Z", + "x-ms-file-change-time": "2022-08-12T03:01:44.7423081Z", + "x-ms-file-creation-time": "2022-08-12T03:01:44.7423081Z", "x-ms-file-id": "16140971433240035328", - "x-ms-file-last-write-time": "2022-01-04T22:50:57.4306506Z", + "x-ms-file-last-write-time": "2022-08-12T03:01:44.7423081Z", "x-ms-file-parent-id": "0", - "x-ms-file-permission-key": "2822515689773754806*10343500956293103928", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", "x-ms-lease-state": "available", "x-ms-lease-status": "unlocked", - "x-ms-request-id": "6986a66f-e01a-0024-16bd-0149a7000000", + "x-ms-request-id": "5a2c5662-d01a-005d-6bf7-ad6422000000", "x-ms-server-encrypted": "true", "x-ms-type": "File", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/filesharefileclienttestsmbpropertiesdefaultvalue/SmbPropertiesDefaultValue" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "29f5faa2-746a-4aa3-6f9d-d782405b39f4", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "8a963703-59c5-4330-60c8-44d544ca8a64", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -158,29 +158,29 @@ "REASON_PHRASE": "OK", "STATUS_CODE": "200", "content-length": "0", - "date": "Tue, 04 Jan 2022 22:50:57 GMT", - "etag": "\"0x8D9CFD4ABF388A1\"", - "last-modified": "Tue, 04 Jan 2022 22:50:57 GMT", + "date": "Fri, 12 Aug 2022 03:01:44 GMT", + "etag": "\"0x8DA7C0EFDA56CC4\"", + "last-modified": "Fri, 12 Aug 2022 03:01:45 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "29f5faa2-746a-4aa3-6f9d-d782405b39f4", + "x-ms-client-request-id": "8a963703-59c5-4330-60c8-44d544ca8a64", "x-ms-file-attributes": "Archive", - "x-ms-file-change-time": "2022-01-04T22:50:57.4516385Z", - "x-ms-file-creation-time": "2022-01-04T22:50:57.4306506Z", + "x-ms-file-change-time": "2022-08-12T03:01:45.3209796Z", + "x-ms-file-creation-time": "2022-08-12T03:01:44.7423081Z", "x-ms-file-id": "16140971433240035328", - "x-ms-file-last-write-time": "2022-01-04T22:50:57.4306506Z", + "x-ms-file-last-write-time": "2022-08-12T03:01:44.7423081Z", "x-ms-file-parent-id": "0", - "x-ms-file-permission-key": "2822515689773754806*10343500956293103928", - "x-ms-request-id": "6986a670-e01a-0024-17bd-0149a7000000", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", + "x-ms-request-id": "5a2c5663-d01a-005d-6cf7-ad6422000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/filesharefileclienttestsmbpropertiesdefaultvalue/SmbPropertiesDefaultValue?comp=properties" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "489544d1-c4e3-4405-64d9-89712beec2df", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "9f53097a-8abf-4473-45a2-32cc82868b7e", + "x-ms-version": "2021-06-08" }, "Method": "HEAD", "Response": { @@ -188,32 +188,32 @@ "REASON_PHRASE": "OK", "STATUS_CODE": "200", "content-length": "1024", - "date": "Tue, 04 Jan 2022 22:50:57 GMT", - "etag": "\"0x8D9CFD4ABF388A1\"", - "last-modified": "Tue, 04 Jan 2022 22:50:57 GMT", + "date": "Fri, 12 Aug 2022 03:01:45 GMT", + "etag": "\"0x8DA7C0EFDA56CC4\"", + "last-modified": "Fri, 12 Aug 2022 03:01:45 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "489544d1-c4e3-4405-64d9-89712beec2df", + "x-ms-client-request-id": "9f53097a-8abf-4473-45a2-32cc82868b7e", "x-ms-file-attributes": "Archive", - "x-ms-file-change-time": "2022-01-04T22:50:57.4516385Z", - "x-ms-file-creation-time": "2022-01-04T22:50:57.4306506Z", + "x-ms-file-change-time": "2022-08-12T03:01:45.3209796Z", + "x-ms-file-creation-time": "2022-08-12T03:01:44.7423081Z", "x-ms-file-id": "16140971433240035328", - "x-ms-file-last-write-time": "2022-01-04T22:50:57.4306506Z", + "x-ms-file-last-write-time": "2022-08-12T03:01:44.7423081Z", "x-ms-file-parent-id": "0", - "x-ms-file-permission-key": "2822515689773754806*10343500956293103928", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", "x-ms-lease-state": "available", "x-ms-lease-status": "unlocked", - "x-ms-request-id": "6986a671-e01a-0024-18bd-0149a7000000", + "x-ms-request-id": "5a2c5666-d01a-005d-6df7-ad6422000000", "x-ms-server-encrypted": "true", "x-ms-type": "File", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/filesharefileclienttestsmbpropertiesdefaultvalue/SmbPropertiesDefaultValue" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "59445ff3-e22f-434f-7310-12e5b83fd748", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "8dbd240f-cac1-486e-76a5-d31418fc72d0", + "x-ms-version": "2021-06-08" }, "Method": "DELETE", "Response": { @@ -221,19 +221,19 @@ "REASON_PHRASE": "Accepted", "STATUS_CODE": "202", "content-length": "0", - "date": "Tue, 04 Jan 2022 22:50:57 GMT", + "date": "Fri, 12 Aug 2022 03:01:45 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "59445ff3-e22f-434f-7310-12e5b83fd748", - "x-ms-request-id": "6986a672-e01a-0024-19bd-0149a7000000", - "x-ms-version": "2020-02-10" + "x-ms-client-request-id": "8dbd240f-cac1-486e-76a5-d31418fc72d0", + "x-ms-request-id": "5a2c5668-d01a-005d-6ef7-ad6422000000", + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/filesharefileclienttestsmbpropertiesdefaultvalue?restype=share" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "746fec30-6599-4f1a-58bb-7fd24be1d76c", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "2e8f3361-df5e-4b6c-457b-2a74d4d39830", + "x-ms-version": "2021-06-08" }, "Method": "DELETE", "Response": { @@ -241,19 +241,19 @@ "REASON_PHRASE": "Accepted", "STATUS_CODE": "202", "content-length": "0", - "date": "Tue, 04 Jan 2022 22:50:57 GMT", + "date": "Fri, 12 Aug 2022 03:01:45 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "746fec30-6599-4f1a-58bb-7fd24be1d76c", - "x-ms-request-id": "6986a673-e01a-0024-1abd-0149a7000000", - "x-ms-version": "2020-02-10" + "x-ms-client-request-id": "2e8f3361-df5e-4b6c-457b-2a74d4d39830", + "x-ms-request-id": "5a2c5669-d01a-005d-6ff7-ad6422000000", + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/filesharefileclienttestsmbpropertiesdefaultvalue?restype=share" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "674b387a-890c-41d0-5616-61aa0b62c22e", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "784e9031-4580-4b2d-54c0-2cb11a2b5287", + "x-ms-version": "2021-06-08" }, "Method": "DELETE", "Response": { @@ -261,11 +261,11 @@ "REASON_PHRASE": "Accepted", "STATUS_CODE": "202", "content-length": "0", - "date": "Tue, 04 Jan 2022 22:50:57 GMT", + "date": "Fri, 12 Aug 2022 03:01:46 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "674b387a-890c-41d0-5616-61aa0b62c22e", - "x-ms-request-id": "6986a674-e01a-0024-1bbd-0149a7000000", - "x-ms-version": "2020-02-10" + "x-ms-client-request-id": "784e9031-4580-4b2d-54c0-2cb11a2b5287", + "x-ms-request-id": "5a2c566a-d01a-005d-70f7-ad6422000000", + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/filesharefileclienttestsmbpropertiesdefaultvalue?restype=share" } diff --git a/sdk/storage/azure-storage-files-shares/test/ut/recordings/FileShareFileClientTest.UploadRangeFromUri.json b/sdk/storage/azure-storage-files-shares/test/ut/recordings/FileShareFileClientTest.UploadRangeFromUri.json index 1f0c1d8ea7..500bb2c013 100644 --- a/sdk/storage/azure-storage-files-shares/test/ut/recordings/FileShareFileClientTest.UploadRangeFromUri.json +++ b/sdk/storage/azure-storage-files-shares/test/ut/recordings/FileShareFileClientTest.UploadRangeFromUri.json @@ -2,9 +2,9 @@ "networkCallRecords": [ { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "b7f7ce51-4e89-4cac-4dd3-6e3ca76c7325", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "9267e419-c37e-4b6f-4197-007d9e9d0cfa", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -12,21 +12,21 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Tue, 04 Jan 2022 22:51:01 GMT", - "etag": "\"0x8D9CFD4AE4AC892\"", - "last-modified": "Tue, 04 Jan 2022 22:51:01 GMT", + "date": "Fri, 12 Aug 2022 03:02:01 GMT", + "etag": "\"0x8DA7C0F0776B4E9\"", + "last-modified": "Fri, 12 Aug 2022 03:02:01 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "b7f7ce51-4e89-4cac-4dd3-6e3ca76c7325", - "x-ms-request-id": "2eb26875-c01a-006e-22bd-01ea28000000", - "x-ms-version": "2020-02-10" + "x-ms-client-request-id": "9267e419-c37e-4b6f-4197-007d9e9d0cfa", + "x-ms-request-id": "d26c210a-f01a-0038-2cf7-adca66000000", + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/filesharefileclienttestuploadrangefromuri?restype=share" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "59d796df-0ebe-4736-72d5-797210a700ff", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "b387f0ec-e732-401b-6826-8e911fcfe798", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -34,29 +34,29 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Tue, 04 Jan 2022 22:51:01 GMT", - "etag": "\"0x8D9CFD4AE4EAD0C\"", - "last-modified": "Tue, 04 Jan 2022 22:51:01 GMT", + "date": "Fri, 12 Aug 2022 03:02:01 GMT", + "etag": "\"0x8DA7C0F07A501C6\"", + "last-modified": "Fri, 12 Aug 2022 03:02:02 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "59d796df-0ebe-4736-72d5-797210a700ff", + "x-ms-client-request-id": "b387f0ec-e732-401b-6826-8e911fcfe798", "x-ms-file-attributes": "Directory", - "x-ms-file-change-time": "2022-01-04T22:51:01.4043916Z", - "x-ms-file-creation-time": "2022-01-04T22:51:01.4043916Z", + "x-ms-file-change-time": "2022-08-12T03:02:02.0954566Z", + "x-ms-file-creation-time": "2022-08-12T03:02:02.0954566Z", "x-ms-file-id": "13835128424026341376", - "x-ms-file-last-write-time": "2022-01-04T22:51:01.4043916Z", + "x-ms-file-last-write-time": "2022-08-12T03:02:02.0954566Z", "x-ms-file-parent-id": "0", - "x-ms-file-permission-key": "16667920363481994929*10343500956293103928", - "x-ms-request-id": "2eb26878-c01a-006e-23bd-01ea28000000", + "x-ms-file-permission-key": "13199961128260716138*16137673612980802019", + "x-ms-request-id": "d26c2119-f01a-0038-2ef7-adca66000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/filesharefileclienttestuploadrangefromuri/UploadRangeFromUribase?restype=directory" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "35b1f8b0-dab8-4de1-44b2-90f7ca658233", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "8318d8cc-b640-48d0-5f44-a0ddc9772e33", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -64,29 +64,29 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Tue, 04 Jan 2022 22:51:01 GMT", - "etag": "\"0x8D9CFD4AE5192C9\"", - "last-modified": "Tue, 04 Jan 2022 22:51:01 GMT", + "date": "Fri, 12 Aug 2022 03:02:02 GMT", + "etag": "\"0x8DA7C0F07D24CB9\"", + "last-modified": "Fri, 12 Aug 2022 03:02:02 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "35b1f8b0-dab8-4de1-44b2-90f7ca658233", + "x-ms-client-request-id": "8318d8cc-b640-48d0-5f44-a0ddc9772e33", "x-ms-file-attributes": "Archive", - "x-ms-file-change-time": "2022-01-04T22:51:01.4233801Z", - "x-ms-file-creation-time": "2022-01-04T22:51:01.4233801Z", + "x-ms-file-change-time": "2022-08-12T03:02:02.3922873Z", + "x-ms-file-creation-time": "2022-08-12T03:02:02.3922873Z", "x-ms-file-id": "11529285414812647424", - "x-ms-file-last-write-time": "2022-01-04T22:51:01.4233801Z", + "x-ms-file-last-write-time": "2022-08-12T03:02:02.3922873Z", "x-ms-file-parent-id": "13835128424026341376", - "x-ms-file-permission-key": "2822515689773754806*10343500956293103928", - "x-ms-request-id": "2eb26879-c01a-006e-24bd-01ea28000000", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", + "x-ms-request-id": "d26c211a-f01a-0038-2ff7-adca66000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/filesharefileclienttestuploadrangefromuri/UploadRangeFromUribase/UploadRangeFromUribasefile" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "3d949c79-97cb-401c-5816-e866f77910c0", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "fe15e798-6e42-4b9e-688a-4399353dccd5", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -94,29 +94,29 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Tue, 04 Jan 2022 22:51:01 GMT", - "etag": "\"0x8D9CFD4AE53DC65\"", - "last-modified": "Tue, 04 Jan 2022 22:51:01 GMT", + "date": "Fri, 12 Aug 2022 03:02:02 GMT", + "etag": "\"0x8DA7C0F07FF49A3\"", + "last-modified": "Fri, 12 Aug 2022 03:02:02 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "3d949c79-97cb-401c-5816-e866f77910c0", + "x-ms-client-request-id": "fe15e798-6e42-4b9e-688a-4399353dccd5", "x-ms-file-attributes": "Archive", - "x-ms-file-change-time": "2022-01-04T22:51:01.4383717Z", - "x-ms-file-creation-time": "2022-01-04T22:51:01.4383717Z", + "x-ms-file-change-time": "2022-08-12T03:02:02.6871203Z", + "x-ms-file-creation-time": "2022-08-12T03:02:02.6871203Z", "x-ms-file-id": "16140971433240035328", - "x-ms-file-last-write-time": "2022-01-04T22:51:01.4383717Z", + "x-ms-file-last-write-time": "2022-08-12T03:02:02.6871203Z", "x-ms-file-parent-id": "0", - "x-ms-file-permission-key": "2822515689773754806*10343500956293103928", - "x-ms-request-id": "2eb2687a-c01a-006e-25bd-01ea28000000", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", + "x-ms-request-id": "d26c211c-f01a-0038-31f7-adca66000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/filesharefileclienttestuploadrangefromuri/UploadRangeFromUrifile" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "b35b955c-b43e-433f-7844-e6f5cef5d4b8", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "a560311d-14cf-40c2-6fba-e208f436b0ec", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -125,22 +125,23 @@ "STATUS_CODE": "201", "content-length": "0", "content-md5": "tWH4cgLQSVnjdYjuBc9bEA==", - "date": "Tue, 04 Jan 2022 22:51:01 GMT", - "etag": "\"0x8D9CFD4AE5D29D9\"", - "last-modified": "Tue, 04 Jan 2022 22:51:01 GMT", + "date": "Fri, 12 Aug 2022 03:02:04 GMT", + "etag": "\"0x8DA7C0F09098E0C\"", + "last-modified": "Fri, 12 Aug 2022 03:02:04 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "b35b955c-b43e-433f-7844-e6f5cef5d4b8", - "x-ms-request-id": "2eb2687b-c01a-006e-26bd-01ea28000000", + "x-ms-client-request-id": "a560311d-14cf-40c2-6fba-e208f436b0ec", + "x-ms-file-last-write-time": "2022-08-12T03:02:04.4321292Z", + "x-ms-request-id": "d26c2120-f01a-0038-35f7-adca66000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/filesharefileclienttestuploadrangefromuri/UploadRangeFromUrifile?comp=range" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "5c7211ab-0fe5-4090-79a2-877285d3430f", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "b2e49716-7f74-4205-5c86-3b56797d0cf5", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -148,29 +149,29 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Tue, 04 Jan 2022 22:51:01 GMT", - "etag": "\"0x8D9CFD4AE6084BD\"", - "last-modified": "Tue, 04 Jan 2022 22:51:01 GMT", + "date": "Fri, 12 Aug 2022 03:02:04 GMT", + "etag": "\"0x8DA7C0F0936B1F8\"", + "last-modified": "Fri, 12 Aug 2022 03:02:04 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "5c7211ab-0fe5-4090-79a2-877285d3430f", + "x-ms-client-request-id": "b2e49716-7f74-4205-5c86-3b56797d0cf5", "x-ms-file-attributes": "Archive", - "x-ms-file-change-time": "2022-01-04T22:51:01.5213245Z", - "x-ms-file-creation-time": "2022-01-04T22:51:01.5213245Z", + "x-ms-file-change-time": "2022-08-12T03:02:04.7279608Z", + "x-ms-file-creation-time": "2022-08-12T03:02:04.7279608Z", "x-ms-file-id": "10376363910205800448", - "x-ms-file-last-write-time": "2022-01-04T22:51:01.5213245Z", + "x-ms-file-last-write-time": "2022-08-12T03:02:04.7279608Z", "x-ms-file-parent-id": "0", - "x-ms-file-permission-key": "2822515689773754806*10343500956293103928", - "x-ms-request-id": "2eb2687c-c01a-006e-27bd-01ea28000000", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", + "x-ms-request-id": "d26c212c-f01a-0038-3ff7-adca66000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/filesharefileclienttestuploadrangefromuri/UploadRangeFromUrif2" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "c21d586b-521b-41a1-54dc-ffe64391a680", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "3b3f4fe6-ec1b-441e-4dcf-4f2123d9eece", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -178,23 +179,24 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Tue, 04 Jan 2022 22:51:01 GMT", - "etag": "\"0x8D9CFD4AE7DF385\"", - "last-modified": "Tue, 04 Jan 2022 22:51:01 GMT", + "date": "Fri, 12 Aug 2022 03:02:04 GMT", + "etag": "\"0x8DA7C0F096E34AF\"", + "last-modified": "Fri, 12 Aug 2022 03:02:05 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "c21d586b-521b-41a1-54dc-ffe64391a680", + "x-ms-client-request-id": "3b3f4fe6-ec1b-441e-4dcf-4f2123d9eece", "x-ms-content-crc64": "EC00phK3Kqg=", - "x-ms-request-id": "2eb2687d-c01a-006e-28bd-01ea28000000", + "x-ms-file-last-write-time": "2022-08-12T03:02:05.0917551Z", + "x-ms-request-id": "d26c212e-f01a-0038-41f7-adca66000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/filesharefileclienttestuploadrangefromuri/UploadRangeFromUrif2?comp=range" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "edced076-63fe-489d-68ef-1e3b95fa1cf2", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "ce23fe69-195d-45a9-6121-c23d76997964", + "x-ms-version": "2021-06-08" }, "Method": "GET", "Response": { @@ -205,32 +207,32 @@ "content-length": "1048576", "content-range": "bytes 1048576-2097151/4194304", "content-type": "application/octet-stream", - "date": "Tue, 04 Jan 2022 22:51:01 GMT", - "etag": "\"0x8D9CFD4AE7DF385\"", - "last-modified": "Tue, 04 Jan 2022 22:51:01 GMT", + "date": "Fri, 12 Aug 2022 03:02:05 GMT", + "etag": "\"0x8DA7C0F096E34AF\"", + "last-modified": "Fri, 12 Aug 2022 03:02:05 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "edced076-63fe-489d-68ef-1e3b95fa1cf2", + "x-ms-client-request-id": "ce23fe69-195d-45a9-6121-c23d76997964", "x-ms-file-attributes": "Archive", - "x-ms-file-change-time": "2022-01-04T22:51:01.5213245Z", - "x-ms-file-creation-time": "2022-01-04T22:51:01.5213245Z", + "x-ms-file-change-time": "2022-08-12T03:02:05.0917551Z", + "x-ms-file-creation-time": "2022-08-12T03:02:04.7279608Z", "x-ms-file-id": "10376363910205800448", - "x-ms-file-last-write-time": "2022-01-04T22:51:01.5213245Z", + "x-ms-file-last-write-time": "2022-08-12T03:02:05.0917551Z", "x-ms-file-parent-id": "0", - "x-ms-file-permission-key": "2822515689773754806*10343500956293103928", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", "x-ms-lease-state": "available", "x-ms-lease-status": "unlocked", - "x-ms-request-id": "2eb2687e-c01a-006e-29bd-01ea28000000", + "x-ms-request-id": "d26c212f-f01a-0038-42f7-adca66000000", "x-ms-server-encrypted": "true", "x-ms-type": "File", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/filesharefileclienttestuploadrangefromuri/UploadRangeFromUrif2" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "9a4746bb-089a-4c62-7005-4a87e1ab44dd", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "fd9b24c7-001c-49d3-5f3c-ea89fc2eca25", + "x-ms-version": "2021-06-08" }, "Method": "GET", "Response": { @@ -238,45 +240,231 @@ "REASON_PHRASE": "OK", "STATUS_CODE": "200", "content-type": "application/xml", - "date": "Tue, 04 Jan 2022 22:51:01 GMT", - "etag": "\"0x8D9CFD4AE7DF385\"", - "last-modified": "Tue, 04 Jan 2022 22:51:01 GMT", + "date": "Fri, 12 Aug 2022 03:02:07 GMT", + "etag": "\"0x8DA7C0F096E34AF\"", + "last-modified": "Fri, 12 Aug 2022 03:02:05 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", "transfer-encoding": "chunked", - "x-ms-client-request-id": "9a4746bb-089a-4c62-7005-4a87e1ab44dd", + "x-ms-client-request-id": "fd9b24c7-001c-49d3-5f3c-ea89fc2eca25", "x-ms-content-length": "4194304", - "x-ms-request-id": "688e7a4b-a01a-0035-69bd-01d313000000", - "x-ms-version": "2020-02-10" + "x-ms-request-id": "195a699b-501a-0098-4ef7-ad4ec7000000", + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/filesharefileclienttestuploadrangefromuri/UploadRangeFromUrif2?comp=rangelist" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "262372f1-c3c5-4db9-4093-c09ef1c69e60", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "664367fd-871b-42ed-5dae-7adfa89a9e29", + "x-ms-version": "2021-06-08" + }, + "Method": "HEAD", + "Response": { + "BODY": "", + "REASON_PHRASE": "OK", + "STATUS_CODE": "200", + "content-length": "4194304", + "content-type": "application/octet-stream", + "date": "Fri, 12 Aug 2022 03:02:07 GMT", + "etag": "\"0x8DA7C0F096E34AF\"", + "last-modified": "Fri, 12 Aug 2022 03:02:05 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "664367fd-871b-42ed-5dae-7adfa89a9e29", + "x-ms-file-attributes": "Archive", + "x-ms-file-change-time": "2022-08-12T03:02:05.0917551Z", + "x-ms-file-creation-time": "2022-08-12T03:02:04.7279608Z", + "x-ms-file-id": "10376363910205800448", + "x-ms-file-last-write-time": "2022-08-12T03:02:05.0917551Z", + "x-ms-file-parent-id": "0", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", + "x-ms-lease-state": "available", + "x-ms-lease-status": "unlocked", + "x-ms-request-id": "195a69b1-501a-0098-4ff7-ad4ec7000000", + "x-ms-server-encrypted": "true", + "x-ms-type": "File", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/filesharefileclienttestuploadrangefromuri/UploadRangeFromUrif2" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "662f669e-17a3-4518-6606-878b8613ca2d", + "x-ms-version": "2021-06-08" + }, + "Method": "PUT", + "Response": { + "BODY": "", + "REASON_PHRASE": "Created", + "STATUS_CODE": "201", + "content-length": "0", + "date": "Fri, 12 Aug 2022 03:02:08 GMT", + "etag": "\"0x8DA7C0F0B916164\"", + "last-modified": "Fri, 12 Aug 2022 03:02:08 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "662f669e-17a3-4518-6606-878b8613ca2d", + "x-ms-content-crc64": "EC00phK3Kqg=", + "x-ms-file-last-write-time": "2022-08-12T03:02:08.6777188Z", + "x-ms-request-id": "195a69b2-501a-0098-50f7-ad4ec7000000", + "x-ms-request-server-encrypted": "true", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/filesharefileclienttestuploadrangefromuri/UploadRangeFromUrif2?comp=range" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "8734643d-2dc0-4666-6474-4011ad073cdf", + "x-ms-version": "2021-06-08" + }, + "Method": "HEAD", + "Response": { + "BODY": "", + "REASON_PHRASE": "OK", + "STATUS_CODE": "200", + "content-length": "4194304", + "content-type": "application/octet-stream", + "date": "Fri, 12 Aug 2022 03:02:08 GMT", + "etag": "\"0x8DA7C0F0B916164\"", + "last-modified": "Fri, 12 Aug 2022 03:02:08 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "8734643d-2dc0-4666-6474-4011ad073cdf", + "x-ms-file-attributes": "Archive", + "x-ms-file-change-time": "2022-08-12T03:02:08.6777188Z", + "x-ms-file-creation-time": "2022-08-12T03:02:04.7279608Z", + "x-ms-file-id": "10376363910205800448", + "x-ms-file-last-write-time": "2022-08-12T03:02:08.6777188Z", + "x-ms-file-parent-id": "0", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", + "x-ms-lease-state": "available", + "x-ms-lease-status": "unlocked", + "x-ms-request-id": "195a69b4-501a-0098-51f7-ad4ec7000000", + "x-ms-server-encrypted": "true", + "x-ms-type": "File", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/filesharefileclienttestuploadrangefromuri/UploadRangeFromUrif2" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "2b2f81fb-e70b-496f-535f-d3974ccafff7", + "x-ms-version": "2021-06-08" + }, + "Method": "HEAD", + "Response": { + "BODY": "", + "REASON_PHRASE": "OK", + "STATUS_CODE": "200", + "content-length": "4194304", + "content-type": "application/octet-stream", + "date": "Fri, 12 Aug 2022 03:02:08 GMT", + "etag": "\"0x8DA7C0F0B916164\"", + "last-modified": "Fri, 12 Aug 2022 03:02:08 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "2b2f81fb-e70b-496f-535f-d3974ccafff7", + "x-ms-file-attributes": "Archive", + "x-ms-file-change-time": "2022-08-12T03:02:08.6777188Z", + "x-ms-file-creation-time": "2022-08-12T03:02:04.7279608Z", + "x-ms-file-id": "10376363910205800448", + "x-ms-file-last-write-time": "2022-08-12T03:02:08.6777188Z", + "x-ms-file-parent-id": "0", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", + "x-ms-lease-state": "available", + "x-ms-lease-status": "unlocked", + "x-ms-request-id": "195a69b5-501a-0098-52f7-ad4ec7000000", + "x-ms-server-encrypted": "true", + "x-ms-type": "File", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/filesharefileclienttestuploadrangefromuri/UploadRangeFromUrif2" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "fdec4b96-246b-4f31-4ccf-cfc8164f0a10", + "x-ms-version": "2021-06-08" + }, + "Method": "PUT", + "Response": { + "BODY": "", + "REASON_PHRASE": "Created", + "STATUS_CODE": "201", + "content-length": "0", + "date": "Fri, 12 Aug 2022 03:02:09 GMT", + "etag": "\"0x8DA7C0F0C1CC441\"", + "last-modified": "Fri, 12 Aug 2022 03:02:09 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "fdec4b96-246b-4f31-4ccf-cfc8164f0a10", + "x-ms-content-crc64": "EC00phK3Kqg=", + "x-ms-file-last-write-time": "2022-08-12T03:02:08.6777188Z", + "x-ms-request-id": "195a69b6-501a-0098-53f7-ad4ec7000000", + "x-ms-request-server-encrypted": "true", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/filesharefileclienttestuploadrangefromuri/UploadRangeFromUrif2?comp=range" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "c5d159b2-48d6-45ca-538c-4f3b2812477d", + "x-ms-version": "2021-06-08" + }, + "Method": "HEAD", + "Response": { + "BODY": "", + "REASON_PHRASE": "OK", + "STATUS_CODE": "200", + "content-length": "4194304", + "content-type": "application/octet-stream", + "date": "Fri, 12 Aug 2022 03:02:09 GMT", + "etag": "\"0x8DA7C0F0C1CC441\"", + "last-modified": "Fri, 12 Aug 2022 03:02:09 GMT", + "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", + "x-ms-client-request-id": "c5d159b2-48d6-45ca-538c-4f3b2812477d", + "x-ms-file-attributes": "Archive", + "x-ms-file-change-time": "2022-08-12T03:02:09.5912001Z", + "x-ms-file-creation-time": "2022-08-12T03:02:04.7279608Z", + "x-ms-file-id": "10376363910205800448", + "x-ms-file-last-write-time": "2022-08-12T03:02:08.6777188Z", + "x-ms-file-parent-id": "0", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", + "x-ms-lease-state": "available", + "x-ms-lease-status": "unlocked", + "x-ms-request-id": "195a69b7-501a-0098-54f7-ad4ec7000000", + "x-ms-server-encrypted": "true", + "x-ms-type": "File", + "x-ms-version": "2021-06-08" + }, + "Url": "https://REDACTED.file.core.windows.net/filesharefileclienttestuploadrangefromuri/UploadRangeFromUrif2" + }, + { + "Headers": { + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "183d1daf-218d-471d-4b2d-86e27829e847", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { - "BODY": "Crc64ConditionNotMetThe Crc64 condition specified was not met.\nRequestId:688e7a4e-a01a-0035-6abd-01d313000000\nTime:2022-01-04T22:51:02.0382896ZEC00phK3Kqg=EC00phK3Kqg=", + "BODY": "Crc64ConditionNotMetThe Crc64 condition specified was not met.\nRequestId:195a69ba-501a-0098-56f7-ad4ec7000000\nTime:2022-08-12T03:02:10.2067180ZEC00phK3Kqg=EC00phK3Kqg=", "REASON_PHRASE": "The Crc64 condition specified was not met.", "STATUS_CODE": "412", "content-length": "335", "content-type": "application/xml", - "date": "Tue, 04 Jan 2022 22:51:01 GMT", + "date": "Fri, 12 Aug 2022 03:02:09 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "262372f1-c3c5-4db9-4093-c09ef1c69e60", + "x-ms-client-request-id": "183d1daf-218d-471d-4b2d-86e27829e847", "x-ms-error-code": "Crc64ConditionNotMet", - "x-ms-request-id": "688e7a4e-a01a-0035-6abd-01d313000000", - "x-ms-version": "2020-02-10" + "x-ms-request-id": "195a69ba-501a-0098-56f7-ad4ec7000000", + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/filesharefileclienttestuploadrangefromuri/UploadRangeFromUrif2?comp=range" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "e7534c60-f67d-4f7c-4026-79566e2f0b1a", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "e59fa33a-3244-4536-579a-5a729c1f9a1e", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -284,23 +472,24 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Tue, 04 Jan 2022 22:51:01 GMT", - "etag": "\"0x8D9CFD4AECFFF31\"", - "last-modified": "Tue, 04 Jan 2022 22:51:02 GMT", + "date": "Fri, 12 Aug 2022 03:02:11 GMT", + "etag": "\"0x8DA7C0F0D4958C6\"", + "last-modified": "Fri, 12 Aug 2022 03:02:11 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "e7534c60-f67d-4f7c-4026-79566e2f0b1a", + "x-ms-client-request-id": "e59fa33a-3244-4536-579a-5a729c1f9a1e", "x-ms-content-crc64": "EC00phK3Kqg=", - "x-ms-request-id": "5084a416-301a-0037-69bd-016dab000000", + "x-ms-file-last-write-time": "2022-08-12T03:02:11.5610822Z", + "x-ms-request-id": "9ae87a6a-d01a-0062-68f7-adac81000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/filesharefileclienttestuploadrangefromuri/UploadRangeFromUrif2?comp=range" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "ad5c8dab-fce7-41f1-4bf1-92a0a7acc33a", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "a7f14d4d-3d51-4546-6629-4843b707f93e", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -308,23 +497,24 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Tue, 04 Jan 2022 22:51:01 GMT", - "etag": "\"0x8D9CFD4AED7C645\"", - "last-modified": "Tue, 04 Jan 2022 22:51:02 GMT", + "date": "Fri, 12 Aug 2022 03:02:11 GMT", + "etag": "\"0x8DA7C0F0D7B0FEE\"", + "last-modified": "Fri, 12 Aug 2022 03:02:11 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "ad5c8dab-fce7-41f1-4bf1-92a0a7acc33a", + "x-ms-client-request-id": "a7f14d4d-3d51-4546-6629-4843b707f93e", "x-ms-content-crc64": "EC00phK3Kqg=", - "x-ms-request-id": "5084a41a-301a-0037-6abd-016dab000000", + "x-ms-file-last-write-time": "2022-08-12T03:02:11.8868974Z", + "x-ms-request-id": "9ae87a6f-d01a-0062-69f7-adac81000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/filesharefileclienttestuploadrangefromuri/UploadRangeFromUrif2?comp=range" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "8be13c09-1bdf-4323-62d7-20440b54a07a", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "044be96f-ee19-4b3b-5032-1b929c7370cc", + "x-ms-version": "2021-06-08" }, "Method": "DELETE", "Response": { @@ -332,19 +522,19 @@ "REASON_PHRASE": "Accepted", "STATUS_CODE": "202", "content-length": "0", - "date": "Tue, 04 Jan 2022 22:51:02 GMT", + "date": "Fri, 12 Aug 2022 03:02:11 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "8be13c09-1bdf-4323-62d7-20440b54a07a", - "x-ms-request-id": "2eb2687f-c01a-006e-2abd-01ea28000000", - "x-ms-version": "2020-02-10" + "x-ms-client-request-id": "044be96f-ee19-4b3b-5032-1b929c7370cc", + "x-ms-request-id": "9ae87a70-d01a-0062-6af7-adac81000000", + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/filesharefileclienttestuploadrangefromuri?restype=share" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "454e7895-ed8d-49e5-44c0-7565ff8c65b7", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "6e95eca0-036b-4f36-5a84-11649f31c623", + "x-ms-version": "2021-06-08" }, "Method": "DELETE", "Response": { @@ -352,19 +542,19 @@ "REASON_PHRASE": "Accepted", "STATUS_CODE": "202", "content-length": "0", - "date": "Tue, 04 Jan 2022 22:51:02 GMT", + "date": "Fri, 12 Aug 2022 03:02:12 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "454e7895-ed8d-49e5-44c0-7565ff8c65b7", - "x-ms-request-id": "2eb26880-c01a-006e-2bbd-01ea28000000", - "x-ms-version": "2020-02-10" + "x-ms-client-request-id": "6e95eca0-036b-4f36-5a84-11649f31c623", + "x-ms-request-id": "9ae87a71-d01a-0062-6bf7-adac81000000", + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/filesharefileclienttestuploadrangefromuri?restype=share" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "27a1edf2-c0b3-4f45-58df-22913bb4126d", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "83f8a9f8-3d16-4dd1-6349-6be413d31c5c", + "x-ms-version": "2021-06-08" }, "Method": "DELETE", "Response": { @@ -372,11 +562,11 @@ "REASON_PHRASE": "Accepted", "STATUS_CODE": "202", "content-length": "0", - "date": "Tue, 04 Jan 2022 22:51:02 GMT", + "date": "Fri, 12 Aug 2022 03:02:12 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "27a1edf2-c0b3-4f45-58df-22913bb4126d", - "x-ms-request-id": "2eb26881-c01a-006e-2cbd-01ea28000000", - "x-ms-version": "2020-02-10" + "x-ms-client-request-id": "83f8a9f8-3d16-4dd1-6349-6be413d31c5c", + "x-ms-request-id": "9ae87a72-d01a-0062-6cf7-adac81000000", + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/filesharefileclienttestuploadrangefromuri?restype=share" } diff --git a/sdk/storage/azure-storage-files-shares/test/ut/recordings/withParam-UploadShare.fromBuffer-c1s0.json b/sdk/storage/azure-storage-files-shares/test/ut/recordings/withParam-UploadShare.fromBuffer-c1s0.json index 5ca0ffbc3f..e622a6ded5 100644 --- a/sdk/storage/azure-storage-files-shares/test/ut/recordings/withParam-UploadShare.fromBuffer-c1s0.json +++ b/sdk/storage/azure-storage-files-shares/test/ut/recordings/withParam-UploadShare.fromBuffer-c1s0.json @@ -2,9 +2,9 @@ "networkCallRecords": [ { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "cf9dc664-2f9f-403a-41c7-e0fa0351d240", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "d01de74f-4d3c-4042-6aa8-9bf5d052e2fa", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -12,21 +12,21 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Wed, 05 Jan 2022 19:27:02 GMT", - "etag": "\"0x8D9D0815A58B330\"", - "last-modified": "Wed, 05 Jan 2022 19:27:03 GMT", + "date": "Fri, 12 Aug 2022 03:02:12 GMT", + "etag": "\"0x8DA7C0F0E3380FE\"", + "last-modified": "Fri, 12 Aug 2022 03:02:13 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "cf9dc664-2f9f-403a-41c7-e0fa0351d240", - "x-ms-request-id": "727bb980-801a-0022-6e6a-027a18000000", - "x-ms-version": "2020-02-10" + "x-ms-client-request-id": "d01de74f-4d3c-4042-6aa8-9bf5d052e2fa", + "x-ms-request-id": "9ae87a73-d01a-0062-6df7-adac81000000", + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c1s0?restype=share" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "da606b63-a877-48fa-5f01-3f8dfa359a1b", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "cf7ddcb3-626e-40f4-5e39-aa2243123d73", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -34,29 +34,29 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Wed, 05 Jan 2022 19:27:02 GMT", - "etag": "\"0x8D9D0815A5C7EC0\"", - "last-modified": "Wed, 05 Jan 2022 19:27:03 GMT", + "date": "Fri, 12 Aug 2022 03:02:13 GMT", + "etag": "\"0x8DA7C0F0E606C93\"", + "last-modified": "Fri, 12 Aug 2022 03:02:13 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "da606b63-a877-48fa-5f01-3f8dfa359a1b", + "x-ms-client-request-id": "cf7ddcb3-626e-40f4-5e39-aa2243123d73", "x-ms-file-attributes": "Directory", - "x-ms-file-change-time": "2022-01-05T19:27:03.5005632Z", - "x-ms-file-creation-time": "2022-01-05T19:27:03.5005632Z", + "x-ms-file-change-time": "2022-08-12T03:02:13.3900435Z", + "x-ms-file-creation-time": "2022-08-12T03:02:13.3900435Z", "x-ms-file-id": "13835128424026341376", - "x-ms-file-last-write-time": "2022-01-05T19:27:03.5005632Z", + "x-ms-file-last-write-time": "2022-08-12T03:02:13.3900435Z", "x-ms-file-parent-id": "0", - "x-ms-file-permission-key": "16667920363481994929*10343500956293103928", - "x-ms-request-id": "727bb983-801a-0022-6f6a-027a18000000", + "x-ms-file-permission-key": "13199961128260716138*16137673612980802019", + "x-ms-request-id": "9ae87a75-d01a-0062-6ef7-adac81000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c1s0/fromBuffer-c1s0base?restype=directory" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "fa21baac-5f9b-4136-6dee-149c63e2fd85", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "75830fca-7ca0-45de-5767-9bc5a2a79c1d", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -64,29 +64,29 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Wed, 05 Jan 2022 19:27:02 GMT", - "etag": "\"0x8D9D0815A5F8B8B\"", - "last-modified": "Wed, 05 Jan 2022 19:27:03 GMT", + "date": "Fri, 12 Aug 2022 03:02:13 GMT", + "etag": "\"0x8DA7C0F0E8E059E\"", + "last-modified": "Fri, 12 Aug 2022 03:02:13 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "fa21baac-5f9b-4136-6dee-149c63e2fd85", + "x-ms-client-request-id": "75830fca-7ca0-45de-5767-9bc5a2a79c1d", "x-ms-file-attributes": "Archive", - "x-ms-file-change-time": "2022-01-05T19:27:03.5205515Z", - "x-ms-file-creation-time": "2022-01-05T19:27:03.5205515Z", + "x-ms-file-change-time": "2022-08-12T03:02:13.6888734Z", + "x-ms-file-creation-time": "2022-08-12T03:02:13.6888734Z", "x-ms-file-id": "11529285414812647424", - "x-ms-file-last-write-time": "2022-01-05T19:27:03.5205515Z", + "x-ms-file-last-write-time": "2022-08-12T03:02:13.6888734Z", "x-ms-file-parent-id": "13835128424026341376", - "x-ms-file-permission-key": "2822515689773754806*10343500956293103928", - "x-ms-request-id": "727bb985-801a-0022-706a-027a18000000", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", + "x-ms-request-id": "9ae87a76-d01a-0062-6ff7-adac81000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c1s0/fromBuffer-c1s0base/fromBuffer-c1s0basefile" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "c11b1e94-d5d8-4781-7b71-2541232c5601", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "1dc1c997-e141-41f3-6a98-c70e8e984d24", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -94,29 +94,29 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Wed, 05 Jan 2022 19:27:02 GMT", - "etag": "\"0x8D9D0815A61D523\"", - "last-modified": "Wed, 05 Jan 2022 19:27:03 GMT", + "date": "Fri, 12 Aug 2022 03:02:13 GMT", + "etag": "\"0x8DA7C0F0EBBECC0\"", + "last-modified": "Fri, 12 Aug 2022 03:02:13 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "c11b1e94-d5d8-4781-7b71-2541232c5601", + "x-ms-client-request-id": "1dc1c997-e141-41f3-6a98-c70e8e984d24", "x-ms-file-attributes": "Archive", - "x-ms-file-change-time": "2022-01-05T19:27:03.5355427Z", - "x-ms-file-creation-time": "2022-01-05T19:27:03.5355427Z", + "x-ms-file-change-time": "2022-08-12T03:02:13.9897024Z", + "x-ms-file-creation-time": "2022-08-12T03:02:13.9897024Z", "x-ms-file-id": "16140971433240035328", - "x-ms-file-last-write-time": "2022-01-05T19:27:03.5355427Z", + "x-ms-file-last-write-time": "2022-08-12T03:02:13.9897024Z", "x-ms-file-parent-id": "13835128424026341376", - "x-ms-file-permission-key": "2822515689773754806*10343500956293103928", - "x-ms-request-id": "727bb986-801a-0022-716a-027a18000000", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", + "x-ms-request-id": "9ae87a79-d01a-0062-70f7-adac81000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c1s0/fromBuffer-c1s0base/fromBuffer-c1s0" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "5f3c1269-9dbc-4f40-558a-6d1b5156f3a2", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "a158ed0d-1824-40fc-640b-04a95a7fe927", + "x-ms-version": "2021-06-08" }, "Method": "HEAD", "Response": { @@ -129,18 +129,18 @@ "content-language": "en-US", "content-length": "0", "content-type": "application/octet-stream", - "date": "Wed, 05 Jan 2022 19:27:02 GMT", - "etag": "\"0x8D9D0815A61D523\"", - "last-modified": "Wed, 05 Jan 2022 19:27:03 GMT", + "date": "Fri, 12 Aug 2022 03:02:14 GMT", + "etag": "\"0x8DA7C0F0EBBECC0\"", + "last-modified": "Fri, 12 Aug 2022 03:02:13 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "5f3c1269-9dbc-4f40-558a-6d1b5156f3a2", + "x-ms-client-request-id": "a158ed0d-1824-40fc-640b-04a95a7fe927", "x-ms-file-attributes": "Archive", - "x-ms-file-change-time": "2022-01-05T19:27:03.5355427Z", - "x-ms-file-creation-time": "2022-01-05T19:27:03.5355427Z", + "x-ms-file-change-time": "2022-08-12T03:02:13.9897024Z", + "x-ms-file-creation-time": "2022-08-12T03:02:13.9897024Z", "x-ms-file-id": "16140971433240035328", - "x-ms-file-last-write-time": "2022-01-05T19:27:03.5355427Z", + "x-ms-file-last-write-time": "2022-08-12T03:02:13.9897024Z", "x-ms-file-parent-id": "13835128424026341376", - "x-ms-file-permission-key": "2822515689773754806*10343500956293103928", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", "x-ms-lease-state": "available", "x-ms-lease-status": "unlocked", "x-ms-meta-meta0": "value", @@ -148,18 +148,18 @@ "x-ms-meta-meta2": "value", "x-ms-meta-meta3": "value", "x-ms-meta-meta4": "value", - "x-ms-request-id": "727bb987-801a-0022-726a-027a18000000", + "x-ms-request-id": "9ae87a80-d01a-0062-77f7-adac81000000", "x-ms-server-encrypted": "true", "x-ms-type": "File", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c1s0/fromBuffer-c1s0base/fromBuffer-c1s0" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "f18338c6-b26d-4785-401a-05610e91c964", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "bd7c7f44-4af6-4453-6559-a434903b5edc", + "x-ms-version": "2021-06-08" }, "Method": "GET", "Response": { @@ -173,18 +173,18 @@ "content-language": "en-US", "content-length": "0", "content-type": "application/octet-stream", - "date": "Wed, 05 Jan 2022 19:27:02 GMT", - "etag": "\"0x8D9D0815A61D523\"", - "last-modified": "Wed, 05 Jan 2022 19:27:03 GMT", + "date": "Fri, 12 Aug 2022 03:02:14 GMT", + "etag": "\"0x8DA7C0F0EBBECC0\"", + "last-modified": "Fri, 12 Aug 2022 03:02:13 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "f18338c6-b26d-4785-401a-05610e91c964", + "x-ms-client-request-id": "bd7c7f44-4af6-4453-6559-a434903b5edc", "x-ms-file-attributes": "Archive", - "x-ms-file-change-time": "2022-01-05T19:27:03.5355427Z", - "x-ms-file-creation-time": "2022-01-05T19:27:03.5355427Z", + "x-ms-file-change-time": "2022-08-12T03:02:13.9897024Z", + "x-ms-file-creation-time": "2022-08-12T03:02:13.9897024Z", "x-ms-file-id": "16140971433240035328", - "x-ms-file-last-write-time": "2022-01-05T19:27:03.5355427Z", + "x-ms-file-last-write-time": "2022-08-12T03:02:13.9897024Z", "x-ms-file-parent-id": "13835128424026341376", - "x-ms-file-permission-key": "2822515689773754806*10343500956293103928", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", "x-ms-lease-state": "available", "x-ms-lease-status": "unlocked", "x-ms-meta-meta0": "value", @@ -192,18 +192,18 @@ "x-ms-meta-meta2": "value", "x-ms-meta-meta3": "value", "x-ms-meta-meta4": "value", - "x-ms-request-id": "727bb988-801a-0022-736a-027a18000000", + "x-ms-request-id": "9ae87a81-d01a-0062-78f7-adac81000000", "x-ms-server-encrypted": "true", "x-ms-type": "File", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c1s0/fromBuffer-c1s0base/fromBuffer-c1s0" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "6f8f5adb-499e-407c-5885-d18da740e687", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "c1079cf2-05a5-4c3e-4afd-2737064b7efc", + "x-ms-version": "2021-06-08" }, "Method": "DELETE", "Response": { @@ -211,19 +211,19 @@ "REASON_PHRASE": "Accepted", "STATUS_CODE": "202", "content-length": "0", - "date": "Wed, 05 Jan 2022 19:27:02 GMT", + "date": "Fri, 12 Aug 2022 03:02:14 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "6f8f5adb-499e-407c-5885-d18da740e687", - "x-ms-request-id": "727bb989-801a-0022-746a-027a18000000", - "x-ms-version": "2020-02-10" + "x-ms-client-request-id": "c1079cf2-05a5-4c3e-4afd-2737064b7efc", + "x-ms-request-id": "9ae87a82-d01a-0062-79f7-adac81000000", + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c1s0?restype=share" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "411ebf03-c75a-4c90-615c-bfb7a4f7bbf8", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "15b0b3fd-1368-4a38-4c7f-64b16e6dd043", + "x-ms-version": "2021-06-08" }, "Method": "DELETE", "Response": { @@ -231,19 +231,19 @@ "REASON_PHRASE": "Accepted", "STATUS_CODE": "202", "content-length": "0", - "date": "Wed, 05 Jan 2022 19:27:02 GMT", + "date": "Fri, 12 Aug 2022 03:02:14 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "411ebf03-c75a-4c90-615c-bfb7a4f7bbf8", - "x-ms-request-id": "727bb98a-801a-0022-756a-027a18000000", - "x-ms-version": "2020-02-10" + "x-ms-client-request-id": "15b0b3fd-1368-4a38-4c7f-64b16e6dd043", + "x-ms-request-id": "9ae87a83-d01a-0062-7af7-adac81000000", + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c1s0?restype=share" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "2b9a31fd-b30e-4d13-4227-80aba7d52c57", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "5ee0a203-feab-417d-65ea-b3d41d89efcf", + "x-ms-version": "2021-06-08" }, "Method": "DELETE", "Response": { @@ -251,11 +251,11 @@ "REASON_PHRASE": "Accepted", "STATUS_CODE": "202", "content-length": "0", - "date": "Wed, 05 Jan 2022 19:27:02 GMT", + "date": "Fri, 12 Aug 2022 03:02:15 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "2b9a31fd-b30e-4d13-4227-80aba7d52c57", - "x-ms-request-id": "727bb98b-801a-0022-766a-027a18000000", - "x-ms-version": "2020-02-10" + "x-ms-client-request-id": "5ee0a203-feab-417d-65ea-b3d41d89efcf", + "x-ms-request-id": "9ae87a86-d01a-0062-7df7-adac81000000", + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c1s0?restype=share" } diff --git a/sdk/storage/azure-storage-files-shares/test/ut/recordings/withParam-UploadShare.fromBuffer-c1s1024.json b/sdk/storage/azure-storage-files-shares/test/ut/recordings/withParam-UploadShare.fromBuffer-c1s1024.json index 3e6eaeaf91..c59e554614 100644 --- a/sdk/storage/azure-storage-files-shares/test/ut/recordings/withParam-UploadShare.fromBuffer-c1s1024.json +++ b/sdk/storage/azure-storage-files-shares/test/ut/recordings/withParam-UploadShare.fromBuffer-c1s1024.json @@ -2,9 +2,9 @@ "networkCallRecords": [ { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "b8082e40-71d2-4041-7a54-d708b7f5c612", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "37a2515d-70a7-4faa-6bcf-66a0ba160f03", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -12,21 +12,21 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Wed, 05 Jan 2022 19:27:03 GMT", - "etag": "\"0x8D9D0815A9180D1\"", - "last-modified": "Wed, 05 Jan 2022 19:27:03 GMT", + "date": "Fri, 12 Aug 2022 03:02:18 GMT", + "etag": "\"0x8DA7C0F119453E5\"", + "last-modified": "Fri, 12 Aug 2022 03:02:18 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "b8082e40-71d2-4041-7a54-d708b7f5c612", - "x-ms-request-id": "18216c91-a01a-001a-286a-02ded8000000", - "x-ms-version": "2020-02-10" + "x-ms-client-request-id": "37a2515d-70a7-4faa-6bcf-66a0ba160f03", + "x-ms-request-id": "9ae87aba-d01a-0062-0df7-adac81000000", + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c1s1024?restype=share" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "a22d18fb-2742-4365-6234-aaba8c2d2322", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "be8a3009-207b-48a7-6ffd-32a46a711860", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -34,29 +34,29 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Wed, 05 Jan 2022 19:27:03 GMT", - "etag": "\"0x8D9D0815A9512A1\"", - "last-modified": "Wed, 05 Jan 2022 19:27:03 GMT", + "date": "Fri, 12 Aug 2022 03:02:18 GMT", + "etag": "\"0x8DA7C0F11C27A9F\"", + "last-modified": "Fri, 12 Aug 2022 03:02:19 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "a22d18fb-2742-4365-6234-aaba8c2d2322", + "x-ms-client-request-id": "be8a3009-207b-48a7-6ffd-32a46a711860", "x-ms-file-attributes": "Directory", - "x-ms-file-change-time": "2022-01-05T19:27:03.8713505Z", - "x-ms-file-creation-time": "2022-01-05T19:27:03.8713505Z", + "x-ms-file-change-time": "2022-08-12T03:02:19.0658207Z", + "x-ms-file-creation-time": "2022-08-12T03:02:19.0658207Z", "x-ms-file-id": "13835128424026341376", - "x-ms-file-last-write-time": "2022-01-05T19:27:03.8713505Z", + "x-ms-file-last-write-time": "2022-08-12T03:02:19.0658207Z", "x-ms-file-parent-id": "0", - "x-ms-file-permission-key": "16667920363481994929*10343500956293103928", - "x-ms-request-id": "18216c94-a01a-001a-296a-02ded8000000", + "x-ms-file-permission-key": "13199961128260716138*16137673612980802019", + "x-ms-request-id": "9ae87ac0-d01a-0062-0ef7-adac81000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c1s1024/fromBuffer-c1s1024base?restype=directory" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "c08efcdf-f834-4ab0-5810-884c66195fff", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "0ecee979-fb20-4496-736d-604f733d858e", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -64,29 +64,29 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Wed, 05 Jan 2022 19:27:03 GMT", - "etag": "\"0x8D9D0815A975C39\"", - "last-modified": "Wed, 05 Jan 2022 19:27:03 GMT", + "date": "Fri, 12 Aug 2022 03:02:19 GMT", + "etag": "\"0x8DA7C0F11F03ABC\"", + "last-modified": "Fri, 12 Aug 2022 03:02:19 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "c08efcdf-f834-4ab0-5810-884c66195fff", + "x-ms-client-request-id": "0ecee979-fb20-4496-736d-604f733d858e", "x-ms-file-attributes": "Archive", - "x-ms-file-change-time": "2022-01-05T19:27:03.8863417Z", - "x-ms-file-creation-time": "2022-01-05T19:27:03.8863417Z", + "x-ms-file-change-time": "2022-08-12T03:02:19.3656508Z", + "x-ms-file-creation-time": "2022-08-12T03:02:19.3656508Z", "x-ms-file-id": "11529285414812647424", - "x-ms-file-last-write-time": "2022-01-05T19:27:03.8863417Z", + "x-ms-file-last-write-time": "2022-08-12T03:02:19.3656508Z", "x-ms-file-parent-id": "13835128424026341376", - "x-ms-file-permission-key": "2822515689773754806*10343500956293103928", - "x-ms-request-id": "18216c96-a01a-001a-2a6a-02ded8000000", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", + "x-ms-request-id": "9ae87ac1-d01a-0062-0ff7-adac81000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c1s1024/fromBuffer-c1s1024base/fromBuffer-c1s1024basefile" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "226f9692-0d63-4ac4-4ee5-ac82ed858276", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "f140e749-870f-4992-7553-c60ba6d982c7", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -94,29 +94,29 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Wed, 05 Jan 2022 19:27:03 GMT", - "etag": "\"0x8D9D0815A997EC9\"", - "last-modified": "Wed, 05 Jan 2022 19:27:03 GMT", + "date": "Fri, 12 Aug 2022 03:02:19 GMT", + "etag": "\"0x8DA7C0F121D379E\"", + "last-modified": "Fri, 12 Aug 2022 03:02:19 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "226f9692-0d63-4ac4-4ee5-ac82ed858276", + "x-ms-client-request-id": "f140e749-870f-4992-7553-c60ba6d982c7", "x-ms-file-attributes": "Archive", - "x-ms-file-change-time": "2022-01-05T19:27:03.9003337Z", - "x-ms-file-creation-time": "2022-01-05T19:27:03.9003337Z", + "x-ms-file-change-time": "2022-08-12T03:02:19.6604830Z", + "x-ms-file-creation-time": "2022-08-12T03:02:19.6604830Z", "x-ms-file-id": "16140971433240035328", - "x-ms-file-last-write-time": "2022-01-05T19:27:03.9003337Z", + "x-ms-file-last-write-time": "2022-08-12T03:02:19.6604830Z", "x-ms-file-parent-id": "13835128424026341376", - "x-ms-file-permission-key": "2822515689773754806*10343500956293103928", - "x-ms-request-id": "18216c97-a01a-001a-2b6a-02ded8000000", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", + "x-ms-request-id": "9ae87ac2-d01a-0062-10f7-adac81000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c1s1024/fromBuffer-c1s1024base/fromBuffer-c1s1024" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "c2648fc0-ad1e-4d50-7bbd-af9d4c948438", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "3bbb747c-208e-482d-7773-b498009142fb", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -125,22 +125,23 @@ "STATUS_CODE": "201", "content-length": "0", "content-md5": "cmX00hG1aHOjgdMh9YbkqQ==", - "date": "Wed, 05 Jan 2022 19:27:03 GMT", - "etag": "\"0x8D9D0815A9C6490\"", - "last-modified": "Wed, 05 Jan 2022 19:27:03 GMT", + "date": "Fri, 12 Aug 2022 03:02:19 GMT", + "etag": "\"0x8DA7C0F124AD0A7\"", + "last-modified": "Fri, 12 Aug 2022 03:02:19 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "c2648fc0-ad1e-4d50-7bbd-af9d4c948438", - "x-ms-request-id": "18216c98-a01a-001a-2c6a-02ded8000000", + "x-ms-client-request-id": "3bbb747c-208e-482d-7773-b498009142fb", + "x-ms-file-last-write-time": "2022-08-12T03:02:19.9593127Z", + "x-ms-request-id": "9ae87ac8-d01a-0062-15f7-adac81000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c1s1024/fromBuffer-c1s1024base/fromBuffer-c1s1024?comp=range" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "e9b06a69-d28c-4e8d-5c9a-76588521b22b", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "a7798851-b408-4944-5759-55a5314b50c5", + "x-ms-version": "2021-06-08" }, "Method": "HEAD", "Response": { @@ -153,18 +154,18 @@ "content-language": "en-US", "content-length": "1024", "content-type": "application/octet-stream", - "date": "Wed, 05 Jan 2022 19:27:03 GMT", - "etag": "\"0x8D9D0815A9C6490\"", - "last-modified": "Wed, 05 Jan 2022 19:27:03 GMT", + "date": "Fri, 12 Aug 2022 03:02:20 GMT", + "etag": "\"0x8DA7C0F124AD0A7\"", + "last-modified": "Fri, 12 Aug 2022 03:02:19 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "e9b06a69-d28c-4e8d-5c9a-76588521b22b", + "x-ms-client-request-id": "a7798851-b408-4944-5759-55a5314b50c5", "x-ms-file-attributes": "Archive", - "x-ms-file-change-time": "2022-01-05T19:27:03.9003337Z", - "x-ms-file-creation-time": "2022-01-05T19:27:03.9003337Z", + "x-ms-file-change-time": "2022-08-12T03:02:19.9593127Z", + "x-ms-file-creation-time": "2022-08-12T03:02:19.6604830Z", "x-ms-file-id": "16140971433240035328", - "x-ms-file-last-write-time": "2022-01-05T19:27:03.9003337Z", + "x-ms-file-last-write-time": "2022-08-12T03:02:19.9593127Z", "x-ms-file-parent-id": "13835128424026341376", - "x-ms-file-permission-key": "2822515689773754806*10343500956293103928", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", "x-ms-lease-state": "available", "x-ms-lease-status": "unlocked", "x-ms-meta-meta0": "value", @@ -172,18 +173,18 @@ "x-ms-meta-meta2": "value", "x-ms-meta-meta3": "value", "x-ms-meta-meta4": "value", - "x-ms-request-id": "18216c99-a01a-001a-2d6a-02ded8000000", + "x-ms-request-id": "9ae87ac9-d01a-0062-16f7-adac81000000", "x-ms-server-encrypted": "true", "x-ms-type": "File", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c1s1024/fromBuffer-c1s1024base/fromBuffer-c1s1024" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "ac470ce6-9674-46c1-7833-c79d43eb1462", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "38eb3e98-9f19-4fa0-4ae2-527d1e154dd8", + "x-ms-version": "2021-06-08" }, "Method": "GET", "Response": { @@ -197,18 +198,18 @@ "content-language": "en-US", "content-length": "1024", "content-type": "application/octet-stream", - "date": "Wed, 05 Jan 2022 19:27:03 GMT", - "etag": "\"0x8D9D0815A9C6490\"", - "last-modified": "Wed, 05 Jan 2022 19:27:03 GMT", + "date": "Fri, 12 Aug 2022 03:02:20 GMT", + "etag": "\"0x8DA7C0F124AD0A7\"", + "last-modified": "Fri, 12 Aug 2022 03:02:19 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "ac470ce6-9674-46c1-7833-c79d43eb1462", + "x-ms-client-request-id": "38eb3e98-9f19-4fa0-4ae2-527d1e154dd8", "x-ms-file-attributes": "Archive", - "x-ms-file-change-time": "2022-01-05T19:27:03.9003337Z", - "x-ms-file-creation-time": "2022-01-05T19:27:03.9003337Z", + "x-ms-file-change-time": "2022-08-12T03:02:19.9593127Z", + "x-ms-file-creation-time": "2022-08-12T03:02:19.6604830Z", "x-ms-file-id": "16140971433240035328", - "x-ms-file-last-write-time": "2022-01-05T19:27:03.9003337Z", + "x-ms-file-last-write-time": "2022-08-12T03:02:19.9593127Z", "x-ms-file-parent-id": "13835128424026341376", - "x-ms-file-permission-key": "2822515689773754806*10343500956293103928", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", "x-ms-lease-state": "available", "x-ms-lease-status": "unlocked", "x-ms-meta-meta0": "value", @@ -216,18 +217,18 @@ "x-ms-meta-meta2": "value", "x-ms-meta-meta3": "value", "x-ms-meta-meta4": "value", - "x-ms-request-id": "18216c9a-a01a-001a-2e6a-02ded8000000", + "x-ms-request-id": "9ae87acc-d01a-0062-19f7-adac81000000", "x-ms-server-encrypted": "true", "x-ms-type": "File", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c1s1024/fromBuffer-c1s1024base/fromBuffer-c1s1024" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "f9aed91b-3e29-4224-78ab-b696c3763535", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "49f66b6b-9efe-459e-52d1-e7203c184184", + "x-ms-version": "2021-06-08" }, "Method": "DELETE", "Response": { @@ -235,19 +236,19 @@ "REASON_PHRASE": "Accepted", "STATUS_CODE": "202", "content-length": "0", - "date": "Wed, 05 Jan 2022 19:27:03 GMT", + "date": "Fri, 12 Aug 2022 03:02:20 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "f9aed91b-3e29-4224-78ab-b696c3763535", - "x-ms-request-id": "18216c9b-a01a-001a-2f6a-02ded8000000", - "x-ms-version": "2020-02-10" + "x-ms-client-request-id": "49f66b6b-9efe-459e-52d1-e7203c184184", + "x-ms-request-id": "9ae87acd-d01a-0062-1af7-adac81000000", + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c1s1024?restype=share" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "10f5e976-3514-46c6-58d2-f56852b99e6d", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "fb8ed44d-7e93-4a52-5ea8-ad0c7f814714", + "x-ms-version": "2021-06-08" }, "Method": "DELETE", "Response": { @@ -255,19 +256,19 @@ "REASON_PHRASE": "Accepted", "STATUS_CODE": "202", "content-length": "0", - "date": "Wed, 05 Jan 2022 19:27:03 GMT", + "date": "Fri, 12 Aug 2022 03:02:20 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "10f5e976-3514-46c6-58d2-f56852b99e6d", - "x-ms-request-id": "18216c9c-a01a-001a-306a-02ded8000000", - "x-ms-version": "2020-02-10" + "x-ms-client-request-id": "fb8ed44d-7e93-4a52-5ea8-ad0c7f814714", + "x-ms-request-id": "9ae87ace-d01a-0062-1bf7-adac81000000", + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c1s1024?restype=share" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "125cc220-833f-4c25-6822-8f4e91374ee0", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "0179624b-3de7-480c-4c04-6ae8b5f5f1b8", + "x-ms-version": "2021-06-08" }, "Method": "DELETE", "Response": { @@ -275,11 +276,11 @@ "REASON_PHRASE": "Accepted", "STATUS_CODE": "202", "content-length": "0", - "date": "Wed, 05 Jan 2022 19:27:03 GMT", + "date": "Fri, 12 Aug 2022 03:02:21 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "125cc220-833f-4c25-6822-8f4e91374ee0", - "x-ms-request-id": "18216c9d-a01a-001a-316a-02ded8000000", - "x-ms-version": "2020-02-10" + "x-ms-client-request-id": "0179624b-3de7-480c-4c04-6ae8b5f5f1b8", + "x-ms-request-id": "9ae87ad2-d01a-0062-1ef7-adac81000000", + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c1s1024?restype=share" } diff --git a/sdk/storage/azure-storage-files-shares/test/ut/recordings/withParam-UploadShare.fromBuffer-c1s1048576.json b/sdk/storage/azure-storage-files-shares/test/ut/recordings/withParam-UploadShare.fromBuffer-c1s1048576.json index b0e4328588..42634e6238 100644 --- a/sdk/storage/azure-storage-files-shares/test/ut/recordings/withParam-UploadShare.fromBuffer-c1s1048576.json +++ b/sdk/storage/azure-storage-files-shares/test/ut/recordings/withParam-UploadShare.fromBuffer-c1s1048576.json @@ -2,9 +2,9 @@ "networkCallRecords": [ { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "ad0ab46c-d833-4ef9-6b53-aecf238ed3dd", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "63961b4c-28ef-43cb-762e-424c51b2d0dc", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -12,21 +12,21 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Wed, 05 Jan 2022 19:27:03 GMT", - "etag": "\"0x8D9D0815AD6E1AC\"", - "last-modified": "Wed, 05 Jan 2022 19:27:04 GMT", + "date": "Fri, 12 Aug 2022 03:02:24 GMT", + "etag": "\"0x8DA7C0F1521AE7F\"", + "last-modified": "Fri, 12 Aug 2022 03:02:24 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "ad0ab46c-d833-4ef9-6b53-aecf238ed3dd", - "x-ms-request-id": "ca4a57c4-901a-0063-236a-0222fc000000", - "x-ms-version": "2020-02-10" + "x-ms-client-request-id": "63961b4c-28ef-43cb-762e-424c51b2d0dc", + "x-ms-request-id": "9ae87aea-d01a-0062-30f7-adac81000000", + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c1s1048576?restype=share" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "bc7e5bf8-e00b-4de0-5078-5c6da9e434e3", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "30068ca9-4fa1-402e-4c30-9bfb07db8bb6", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -34,29 +34,29 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Wed, 05 Jan 2022 19:27:03 GMT", - "etag": "\"0x8D9D0815ADA9CF1\"", - "last-modified": "Wed, 05 Jan 2022 19:27:04 GMT", + "date": "Fri, 12 Aug 2022 03:02:24 GMT", + "etag": "\"0x8DA7C0F154F62F9\"", + "last-modified": "Fri, 12 Aug 2022 03:02:25 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "bc7e5bf8-e00b-4de0-5078-5c6da9e434e3", + "x-ms-client-request-id": "30068ca9-4fa1-402e-4c30-9bfb07db8bb6", "x-ms-file-attributes": "Directory", - "x-ms-file-change-time": "2022-01-05T19:27:04.3270897Z", - "x-ms-file-creation-time": "2022-01-05T19:27:04.3270897Z", + "x-ms-file-change-time": "2022-08-12T03:02:25.0224377Z", + "x-ms-file-creation-time": "2022-08-12T03:02:25.0224377Z", "x-ms-file-id": "13835128424026341376", - "x-ms-file-last-write-time": "2022-01-05T19:27:04.3270897Z", + "x-ms-file-last-write-time": "2022-08-12T03:02:25.0224377Z", "x-ms-file-parent-id": "0", - "x-ms-file-permission-key": "16667920363481994929*10343500956293103928", - "x-ms-request-id": "ca4a57c7-901a-0063-246a-0222fc000000", + "x-ms-file-permission-key": "13199961128260716138*16137673612980802019", + "x-ms-request-id": "9ae87aec-d01a-0062-31f7-adac81000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c1s1048576/fromBuffer-c1s1048576base?restype=directory" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "71ac4f38-7762-49ec-4c7d-66cf0f38f907", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "2da5daeb-baa4-4af8-7f4c-a24ac9c57bb6", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -64,29 +64,29 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Wed, 05 Jan 2022 19:27:03 GMT", - "etag": "\"0x8D9D0815ADD0D91\"", - "last-modified": "Wed, 05 Jan 2022 19:27:04 GMT", + "date": "Fri, 12 Aug 2022 03:02:25 GMT", + "etag": "\"0x8DA7C0F157D4A1B\"", + "last-modified": "Fri, 12 Aug 2022 03:02:25 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "71ac4f38-7762-49ec-4c7d-66cf0f38f907", + "x-ms-client-request-id": "2da5daeb-baa4-4af8-7f4c-a24ac9c57bb6", "x-ms-file-attributes": "Archive", - "x-ms-file-change-time": "2022-01-05T19:27:04.3430801Z", - "x-ms-file-creation-time": "2022-01-05T19:27:04.3430801Z", + "x-ms-file-change-time": "2022-08-12T03:02:25.3232667Z", + "x-ms-file-creation-time": "2022-08-12T03:02:25.3232667Z", "x-ms-file-id": "11529285414812647424", - "x-ms-file-last-write-time": "2022-01-05T19:27:04.3430801Z", + "x-ms-file-last-write-time": "2022-08-12T03:02:25.3232667Z", "x-ms-file-parent-id": "13835128424026341376", - "x-ms-file-permission-key": "2822515689773754806*10343500956293103928", - "x-ms-request-id": "ca4a57c8-901a-0063-256a-0222fc000000", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", + "x-ms-request-id": "9ae87aed-d01a-0062-32f7-adac81000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c1s1048576/fromBuffer-c1s1048576base/fromBuffer-c1s1048576basefile" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "9392ea75-c4b1-41cc-51e3-a20b532e28b9", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "11580ab5-a8d5-4c19-676f-dc1b4f623f27", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -94,29 +94,29 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Wed, 05 Jan 2022 19:27:03 GMT", - "etag": "\"0x8D9D0815AE43882\"", - "last-modified": "Wed, 05 Jan 2022 19:27:04 GMT", + "date": "Fri, 12 Aug 2022 03:02:25 GMT", + "etag": "\"0x8DA7C0F15AB0A36\"", + "last-modified": "Fri, 12 Aug 2022 03:02:25 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "9392ea75-c4b1-41cc-51e3-a20b532e28b9", + "x-ms-client-request-id": "11580ab5-a8d5-4c19-676f-dc1b4f623f27", "x-ms-file-attributes": "Archive", - "x-ms-file-change-time": "2022-01-05T19:27:04.3900546Z", - "x-ms-file-creation-time": "2022-01-05T19:27:04.3900546Z", + "x-ms-file-change-time": "2022-08-12T03:02:25.6230966Z", + "x-ms-file-creation-time": "2022-08-12T03:02:25.6230966Z", "x-ms-file-id": "16140971433240035328", - "x-ms-file-last-write-time": "2022-01-05T19:27:04.3900546Z", + "x-ms-file-last-write-time": "2022-08-12T03:02:25.6230966Z", "x-ms-file-parent-id": "13835128424026341376", - "x-ms-file-permission-key": "2822515689773754806*10343500956293103928", - "x-ms-request-id": "ca4a57cc-901a-0063-276a-0222fc000000", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", + "x-ms-request-id": "9ae87aee-d01a-0062-33f7-adac81000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c1s1048576/fromBuffer-c1s1048576base/fromBuffer-c1s1048576" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "0a8aef4d-1bec-4283-6086-fc4652816840", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "b6492f5d-2067-4f53-50f6-13321b40faf0", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -125,22 +125,23 @@ "STATUS_CODE": "201", "content-length": "0", "content-md5": "tWH4cgLQSVnjdYjuBc9bEA==", - "date": "Wed, 05 Jan 2022 19:27:03 GMT", - "etag": "\"0x8D9D0815AF0E0C9\"", - "last-modified": "Wed, 05 Jan 2022 19:27:04 GMT", + "date": "Fri, 12 Aug 2022 03:02:26 GMT", + "etag": "\"0x8DA7C0F168851B5\"", + "last-modified": "Fri, 12 Aug 2022 03:02:27 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "0a8aef4d-1bec-4283-6086-fc4652816840", - "x-ms-request-id": "ca4a57cd-901a-0063-286a-0222fc000000", + "x-ms-client-request-id": "b6492f5d-2067-4f53-50f6-13321b40faf0", + "x-ms-file-last-write-time": "2022-08-12T03:02:27.0732725Z", + "x-ms-request-id": "9ae87aef-d01a-0062-34f7-adac81000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c1s1048576/fromBuffer-c1s1048576base/fromBuffer-c1s1048576?comp=range" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "e1462609-4f94-4afc-4ae8-02dea01c16cd", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "09ae278a-695f-4b14-6aff-4e3bc737e205", + "x-ms-version": "2021-06-08" }, "Method": "HEAD", "Response": { @@ -153,18 +154,18 @@ "content-language": "en-US", "content-length": "1048576", "content-type": "application/octet-stream", - "date": "Wed, 05 Jan 2022 19:27:03 GMT", - "etag": "\"0x8D9D0815AF0E0C9\"", - "last-modified": "Wed, 05 Jan 2022 19:27:04 GMT", + "date": "Fri, 12 Aug 2022 03:02:27 GMT", + "etag": "\"0x8DA7C0F168851B5\"", + "last-modified": "Fri, 12 Aug 2022 03:02:27 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "e1462609-4f94-4afc-4ae8-02dea01c16cd", + "x-ms-client-request-id": "09ae278a-695f-4b14-6aff-4e3bc737e205", "x-ms-file-attributes": "Archive", - "x-ms-file-change-time": "2022-01-05T19:27:04.3900546Z", - "x-ms-file-creation-time": "2022-01-05T19:27:04.3900546Z", + "x-ms-file-change-time": "2022-08-12T03:02:27.0732725Z", + "x-ms-file-creation-time": "2022-08-12T03:02:25.6230966Z", "x-ms-file-id": "16140971433240035328", - "x-ms-file-last-write-time": "2022-01-05T19:27:04.3900546Z", + "x-ms-file-last-write-time": "2022-08-12T03:02:27.0732725Z", "x-ms-file-parent-id": "13835128424026341376", - "x-ms-file-permission-key": "2822515689773754806*10343500956293103928", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", "x-ms-lease-state": "available", "x-ms-lease-status": "unlocked", "x-ms-meta-meta0": "value", @@ -172,18 +173,18 @@ "x-ms-meta-meta2": "value", "x-ms-meta-meta3": "value", "x-ms-meta-meta4": "value", - "x-ms-request-id": "ca4a57d2-901a-0063-2b6a-0222fc000000", + "x-ms-request-id": "9ae87af1-d01a-0062-35f7-adac81000000", "x-ms-server-encrypted": "true", "x-ms-type": "File", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c1s1048576/fromBuffer-c1s1048576base/fromBuffer-c1s1048576" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "5edde2b7-56c2-4d2b-68ad-a7bd9a1808bc", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "ec56991d-d0f5-4afc-5ee3-b07fb89ce3c0", + "x-ms-version": "2021-06-08" }, "Method": "GET", "Response": { @@ -197,18 +198,18 @@ "content-language": "en-US", "content-length": "1048576", "content-type": "application/octet-stream", - "date": "Wed, 05 Jan 2022 19:27:03 GMT", - "etag": "\"0x8D9D0815AF0E0C9\"", - "last-modified": "Wed, 05 Jan 2022 19:27:04 GMT", + "date": "Fri, 12 Aug 2022 03:02:27 GMT", + "etag": "\"0x8DA7C0F168851B5\"", + "last-modified": "Fri, 12 Aug 2022 03:02:27 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "5edde2b7-56c2-4d2b-68ad-a7bd9a1808bc", + "x-ms-client-request-id": "ec56991d-d0f5-4afc-5ee3-b07fb89ce3c0", "x-ms-file-attributes": "Archive", - "x-ms-file-change-time": "2022-01-05T19:27:04.3900546Z", - "x-ms-file-creation-time": "2022-01-05T19:27:04.3900546Z", + "x-ms-file-change-time": "2022-08-12T03:02:27.0732725Z", + "x-ms-file-creation-time": "2022-08-12T03:02:25.6230966Z", "x-ms-file-id": "16140971433240035328", - "x-ms-file-last-write-time": "2022-01-05T19:27:04.3900546Z", + "x-ms-file-last-write-time": "2022-08-12T03:02:27.0732725Z", "x-ms-file-parent-id": "13835128424026341376", - "x-ms-file-permission-key": "2822515689773754806*10343500956293103928", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", "x-ms-lease-state": "available", "x-ms-lease-status": "unlocked", "x-ms-meta-meta0": "value", @@ -216,18 +217,18 @@ "x-ms-meta-meta2": "value", "x-ms-meta-meta3": "value", "x-ms-meta-meta4": "value", - "x-ms-request-id": "ca4a57d3-901a-0063-2c6a-0222fc000000", + "x-ms-request-id": "9ae87af2-d01a-0062-36f7-adac81000000", "x-ms-server-encrypted": "true", "x-ms-type": "File", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c1s1048576/fromBuffer-c1s1048576base/fromBuffer-c1s1048576" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "43778455-fc64-451a-7655-2bed0cfae3a3", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "d8612b7e-8053-4d2a-4281-317a0d0fb751", + "x-ms-version": "2021-06-08" }, "Method": "DELETE", "Response": { @@ -235,19 +236,19 @@ "REASON_PHRASE": "Accepted", "STATUS_CODE": "202", "content-length": "0", - "date": "Wed, 05 Jan 2022 19:27:04 GMT", + "date": "Fri, 12 Aug 2022 03:02:28 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "43778455-fc64-451a-7655-2bed0cfae3a3", - "x-ms-request-id": "ca4a57d4-901a-0063-2d6a-0222fc000000", - "x-ms-version": "2020-02-10" + "x-ms-client-request-id": "d8612b7e-8053-4d2a-4281-317a0d0fb751", + "x-ms-request-id": "9ae87af8-d01a-0062-39f7-adac81000000", + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c1s1048576?restype=share" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "5d8342bd-1398-45fe-53b6-1c130a76b6ca", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "7272650c-c146-4284-62d8-f032e17c6d0b", + "x-ms-version": "2021-06-08" }, "Method": "DELETE", "Response": { @@ -255,19 +256,19 @@ "REASON_PHRASE": "Accepted", "STATUS_CODE": "202", "content-length": "0", - "date": "Wed, 05 Jan 2022 19:27:04 GMT", + "date": "Fri, 12 Aug 2022 03:02:29 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "5d8342bd-1398-45fe-53b6-1c130a76b6ca", - "x-ms-request-id": "ca4a57d6-901a-0063-2f6a-0222fc000000", - "x-ms-version": "2020-02-10" + "x-ms-client-request-id": "7272650c-c146-4284-62d8-f032e17c6d0b", + "x-ms-request-id": "9ae87afa-d01a-0062-3af7-adac81000000", + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c1s1048576?restype=share" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "b9d7ede8-ecb5-4ce4-508e-9bafe6c26b58", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "a0623c4c-46cd-4d98-57d1-dcdf19d1fffc", + "x-ms-version": "2021-06-08" }, "Method": "DELETE", "Response": { @@ -275,11 +276,11 @@ "REASON_PHRASE": "Accepted", "STATUS_CODE": "202", "content-length": "0", - "date": "Wed, 05 Jan 2022 19:27:04 GMT", + "date": "Fri, 12 Aug 2022 03:02:29 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "b9d7ede8-ecb5-4ce4-508e-9bafe6c26b58", - "x-ms-request-id": "ca4a57d7-901a-0063-306a-0222fc000000", - "x-ms-version": "2020-02-10" + "x-ms-client-request-id": "a0623c4c-46cd-4d98-57d1-dcdf19d1fffc", + "x-ms-request-id": "9ae87afb-d01a-0062-3bf7-adac81000000", + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c1s1048576?restype=share" } diff --git a/sdk/storage/azure-storage-files-shares/test/ut/recordings/withParam-UploadShare.fromBuffer-c1s4096.json b/sdk/storage/azure-storage-files-shares/test/ut/recordings/withParam-UploadShare.fromBuffer-c1s4096.json index 509529dcac..781310b411 100644 --- a/sdk/storage/azure-storage-files-shares/test/ut/recordings/withParam-UploadShare.fromBuffer-c1s4096.json +++ b/sdk/storage/azure-storage-files-shares/test/ut/recordings/withParam-UploadShare.fromBuffer-c1s4096.json @@ -2,9 +2,9 @@ "networkCallRecords": [ { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "78dc5141-6474-4895-6cde-71f5090c8ee8", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "3e90218b-83d3-4c13-4999-8960e3d04361", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -12,21 +12,21 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Wed, 05 Jan 2022 19:27:03 GMT", - "etag": "\"0x8D9D0815AB4A188\"", - "last-modified": "Wed, 05 Jan 2022 19:27:04 GMT", + "date": "Fri, 12 Aug 2022 03:02:21 GMT", + "etag": "\"0x8DA7C0F135A036A\"", + "last-modified": "Fri, 12 Aug 2022 03:02:21 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "78dc5141-6474-4895-6cde-71f5090c8ee8", - "x-ms-request-id": "9b07e793-201a-0059-4b6a-023884000000", - "x-ms-version": "2020-02-10" + "x-ms-client-request-id": "3e90218b-83d3-4c13-4999-8960e3d04361", + "x-ms-request-id": "9ae87ad3-d01a-0062-1ff7-adac81000000", + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c1s4096?restype=share" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "0a4a5f47-21eb-4889-4114-f93d71a88c46", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "45f90420-d87b-4fb8-4991-80182f9aca48", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -34,29 +34,29 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Wed, 05 Jan 2022 19:27:03 GMT", - "etag": "\"0x8D9D0815ABD553C\"", - "last-modified": "Wed, 05 Jan 2022 19:27:04 GMT", + "date": "Fri, 12 Aug 2022 03:02:21 GMT", + "etag": "\"0x8DA7C0F13878F6B\"", + "last-modified": "Fri, 12 Aug 2022 03:02:22 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "0a4a5f47-21eb-4889-4114-f93d71a88c46", + "x-ms-client-request-id": "45f90420-d87b-4fb8-4991-80182f9aca48", "x-ms-file-attributes": "Directory", - "x-ms-file-change-time": "2022-01-05T19:27:04.1351996Z", - "x-ms-file-creation-time": "2022-01-05T19:27:04.1351996Z", + "x-ms-file-change-time": "2022-08-12T03:02:22.0351339Z", + "x-ms-file-creation-time": "2022-08-12T03:02:22.0351339Z", "x-ms-file-id": "13835128424026341376", - "x-ms-file-last-write-time": "2022-01-05T19:27:04.1351996Z", + "x-ms-file-last-write-time": "2022-08-12T03:02:22.0351339Z", "x-ms-file-parent-id": "0", - "x-ms-file-permission-key": "16667920363481994929*10343500956293103928", - "x-ms-request-id": "9b07e796-201a-0059-4c6a-023884000000", + "x-ms-file-permission-key": "13199961128260716138*16137673612980802019", + "x-ms-request-id": "9ae87ad5-d01a-0062-20f7-adac81000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c1s4096/fromBuffer-c1s4096base?restype=directory" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "cafe17b2-0da2-4f71-7802-25b06d70a0aa", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "24ab5fe7-e054-464b-7e5e-e558fb3cfc25", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -64,29 +64,29 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Wed, 05 Jan 2022 19:27:03 GMT", - "etag": "\"0x8D9D0815ABFC5DF\"", - "last-modified": "Wed, 05 Jan 2022 19:27:04 GMT", + "date": "Fri, 12 Aug 2022 03:02:22 GMT", + "etag": "\"0x8DA7C0F13B612B3\"", + "last-modified": "Fri, 12 Aug 2022 03:02:22 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "cafe17b2-0da2-4f71-7802-25b06d70a0aa", + "x-ms-client-request-id": "24ab5fe7-e054-464b-7e5e-e558fb3cfc25", "x-ms-file-attributes": "Archive", - "x-ms-file-change-time": "2022-01-05T19:27:04.1511903Z", - "x-ms-file-creation-time": "2022-01-05T19:27:04.1511903Z", + "x-ms-file-change-time": "2022-08-12T03:02:22.3399603Z", + "x-ms-file-creation-time": "2022-08-12T03:02:22.3399603Z", "x-ms-file-id": "11529285414812647424", - "x-ms-file-last-write-time": "2022-01-05T19:27:04.1511903Z", + "x-ms-file-last-write-time": "2022-08-12T03:02:22.3399603Z", "x-ms-file-parent-id": "13835128424026341376", - "x-ms-file-permission-key": "2822515689773754806*10343500956293103928", - "x-ms-request-id": "9b07e797-201a-0059-4d6a-023884000000", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", + "x-ms-request-id": "9ae87ad9-d01a-0062-24f7-adac81000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c1s4096/fromBuffer-c1s4096base/fromBuffer-c1s4096basefile" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "d0395de1-07af-46cb-5185-1fa5d8fc836c", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "238d5a57-817c-4fbd-7211-c6e3db4b0e4e", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -94,29 +94,29 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Wed, 05 Jan 2022 19:27:03 GMT", - "etag": "\"0x8D9D0815AC1E86B\"", - "last-modified": "Wed, 05 Jan 2022 19:27:04 GMT", + "date": "Fri, 12 Aug 2022 03:02:22 GMT", + "etag": "\"0x8DA7C0F13E3D2DC\"", + "last-modified": "Fri, 12 Aug 2022 03:02:22 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "d0395de1-07af-46cb-5185-1fa5d8fc836c", + "x-ms-client-request-id": "238d5a57-817c-4fbd-7211-c6e3db4b0e4e", "x-ms-file-attributes": "Archive", - "x-ms-file-change-time": "2022-01-05T19:27:04.1651819Z", - "x-ms-file-creation-time": "2022-01-05T19:27:04.1651819Z", + "x-ms-file-change-time": "2022-08-12T03:02:22.6397916Z", + "x-ms-file-creation-time": "2022-08-12T03:02:22.6397916Z", "x-ms-file-id": "16140971433240035328", - "x-ms-file-last-write-time": "2022-01-05T19:27:04.1651819Z", + "x-ms-file-last-write-time": "2022-08-12T03:02:22.6397916Z", "x-ms-file-parent-id": "13835128424026341376", - "x-ms-file-permission-key": "2822515689773754806*10343500956293103928", - "x-ms-request-id": "9b07e798-201a-0059-4e6a-023884000000", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", + "x-ms-request-id": "9ae87ada-d01a-0062-25f7-adac81000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c1s4096/fromBuffer-c1s4096base/fromBuffer-c1s4096" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "5fff71d0-d4c4-4c8a-5862-1202db2ba68a", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "e645928b-b340-42b7-7fe4-eb1f3c51c7a5", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -125,22 +125,23 @@ "STATUS_CODE": "201", "content-length": "0", "content-md5": "IEOfeeTp3JW+NLIQKSIfgA==", - "date": "Wed, 05 Jan 2022 19:27:03 GMT", - "etag": "\"0x8D9D0815AC56A5F\"", - "last-modified": "Wed, 05 Jan 2022 19:27:04 GMT", + "date": "Fri, 12 Aug 2022 03:02:22 GMT", + "etag": "\"0x8DA7C0F141144D4\"", + "last-modified": "Fri, 12 Aug 2022 03:02:22 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "5fff71d0-d4c4-4c8a-5862-1202db2ba68a", - "x-ms-request-id": "9b07e799-201a-0059-4f6a-023884000000", + "x-ms-client-request-id": "e645928b-b340-42b7-7fe4-eb1f3c51c7a5", + "x-ms-file-last-write-time": "2022-08-12T03:02:22.9376212Z", + "x-ms-request-id": "9ae87adb-d01a-0062-26f7-adac81000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c1s4096/fromBuffer-c1s4096base/fromBuffer-c1s4096?comp=range" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "a9d51cbe-4fc3-4ae3-7cfb-159f92f73c46", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "8f559c2c-997f-4337-5e59-116da055b7aa", + "x-ms-version": "2021-06-08" }, "Method": "HEAD", "Response": { @@ -153,18 +154,18 @@ "content-language": "en-US", "content-length": "4096", "content-type": "application/octet-stream", - "date": "Wed, 05 Jan 2022 19:27:03 GMT", - "etag": "\"0x8D9D0815AC56A5F\"", - "last-modified": "Wed, 05 Jan 2022 19:27:04 GMT", + "date": "Fri, 12 Aug 2022 03:02:23 GMT", + "etag": "\"0x8DA7C0F141144D4\"", + "last-modified": "Fri, 12 Aug 2022 03:02:22 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "a9d51cbe-4fc3-4ae3-7cfb-159f92f73c46", + "x-ms-client-request-id": "8f559c2c-997f-4337-5e59-116da055b7aa", "x-ms-file-attributes": "Archive", - "x-ms-file-change-time": "2022-01-05T19:27:04.1651819Z", - "x-ms-file-creation-time": "2022-01-05T19:27:04.1651819Z", + "x-ms-file-change-time": "2022-08-12T03:02:22.9376212Z", + "x-ms-file-creation-time": "2022-08-12T03:02:22.6397916Z", "x-ms-file-id": "16140971433240035328", - "x-ms-file-last-write-time": "2022-01-05T19:27:04.1651819Z", + "x-ms-file-last-write-time": "2022-08-12T03:02:22.9376212Z", "x-ms-file-parent-id": "13835128424026341376", - "x-ms-file-permission-key": "2822515689773754806*10343500956293103928", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", "x-ms-lease-state": "available", "x-ms-lease-status": "unlocked", "x-ms-meta-meta0": "value", @@ -172,18 +173,18 @@ "x-ms-meta-meta2": "value", "x-ms-meta-meta3": "value", "x-ms-meta-meta4": "value", - "x-ms-request-id": "9b07e79a-201a-0059-506a-023884000000", + "x-ms-request-id": "9ae87adc-d01a-0062-27f7-adac81000000", "x-ms-server-encrypted": "true", "x-ms-type": "File", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c1s4096/fromBuffer-c1s4096base/fromBuffer-c1s4096" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "a5215604-39ab-46cb-4ea5-e10ac4325e07", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "f6212ee8-dc75-4e3b-66c6-cd86ddf98603", + "x-ms-version": "2021-06-08" }, "Method": "GET", "Response": { @@ -197,18 +198,18 @@ "content-language": "en-US", "content-length": "4096", "content-type": "application/octet-stream", - "date": "Wed, 05 Jan 2022 19:27:03 GMT", - "etag": "\"0x8D9D0815AC56A5F\"", - "last-modified": "Wed, 05 Jan 2022 19:27:04 GMT", + "date": "Fri, 12 Aug 2022 03:02:23 GMT", + "etag": "\"0x8DA7C0F141144D4\"", + "last-modified": "Fri, 12 Aug 2022 03:02:22 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "a5215604-39ab-46cb-4ea5-e10ac4325e07", + "x-ms-client-request-id": "f6212ee8-dc75-4e3b-66c6-cd86ddf98603", "x-ms-file-attributes": "Archive", - "x-ms-file-change-time": "2022-01-05T19:27:04.1651819Z", - "x-ms-file-creation-time": "2022-01-05T19:27:04.1651819Z", + "x-ms-file-change-time": "2022-08-12T03:02:22.9376212Z", + "x-ms-file-creation-time": "2022-08-12T03:02:22.6397916Z", "x-ms-file-id": "16140971433240035328", - "x-ms-file-last-write-time": "2022-01-05T19:27:04.1651819Z", + "x-ms-file-last-write-time": "2022-08-12T03:02:22.9376212Z", "x-ms-file-parent-id": "13835128424026341376", - "x-ms-file-permission-key": "2822515689773754806*10343500956293103928", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", "x-ms-lease-state": "available", "x-ms-lease-status": "unlocked", "x-ms-meta-meta0": "value", @@ -216,18 +217,18 @@ "x-ms-meta-meta2": "value", "x-ms-meta-meta3": "value", "x-ms-meta-meta4": "value", - "x-ms-request-id": "9b07e79b-201a-0059-516a-023884000000", + "x-ms-request-id": "9ae87ae3-d01a-0062-2bf7-adac81000000", "x-ms-server-encrypted": "true", "x-ms-type": "File", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c1s4096/fromBuffer-c1s4096base/fromBuffer-c1s4096" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "6156496a-32b4-434a-64fd-73ca282c2a05", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "71eb430c-698c-42a5-555b-8a1f46e1f2eb", + "x-ms-version": "2021-06-08" }, "Method": "DELETE", "Response": { @@ -235,19 +236,19 @@ "REASON_PHRASE": "Accepted", "STATUS_CODE": "202", "content-length": "0", - "date": "Wed, 05 Jan 2022 19:27:03 GMT", + "date": "Fri, 12 Aug 2022 03:02:23 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "6156496a-32b4-434a-64fd-73ca282c2a05", - "x-ms-request-id": "9b07e79c-201a-0059-526a-023884000000", - "x-ms-version": "2020-02-10" + "x-ms-client-request-id": "71eb430c-698c-42a5-555b-8a1f46e1f2eb", + "x-ms-request-id": "9ae87ae4-d01a-0062-2cf7-adac81000000", + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c1s4096?restype=share" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "3e46345d-75af-4aa6-589f-c78587f89a92", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "ced67093-6ad4-4bcd-59e5-cc1a3edacdc8", + "x-ms-version": "2021-06-08" }, "Method": "DELETE", "Response": { @@ -255,19 +256,19 @@ "REASON_PHRASE": "Accepted", "STATUS_CODE": "202", "content-length": "0", - "date": "Wed, 05 Jan 2022 19:27:03 GMT", + "date": "Fri, 12 Aug 2022 03:02:23 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "3e46345d-75af-4aa6-589f-c78587f89a92", - "x-ms-request-id": "9b07e79d-201a-0059-536a-023884000000", - "x-ms-version": "2020-02-10" + "x-ms-client-request-id": "ced67093-6ad4-4bcd-59e5-cc1a3edacdc8", + "x-ms-request-id": "9ae87ae7-d01a-0062-2df7-adac81000000", + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c1s4096?restype=share" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "80f569ac-30b7-482f-63d3-cdc5ac2943c6", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "be89a2d9-3462-4805-51dd-1af112fb2de0", + "x-ms-version": "2021-06-08" }, "Method": "DELETE", "Response": { @@ -275,11 +276,11 @@ "REASON_PHRASE": "Accepted", "STATUS_CODE": "202", "content-length": "0", - "date": "Wed, 05 Jan 2022 19:27:03 GMT", + "date": "Fri, 12 Aug 2022 03:02:24 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "80f569ac-30b7-482f-63d3-cdc5ac2943c6", - "x-ms-request-id": "9b07e79e-201a-0059-546a-023884000000", - "x-ms-version": "2020-02-10" + "x-ms-client-request-id": "be89a2d9-3462-4805-51dd-1af112fb2de0", + "x-ms-request-id": "9ae87ae8-d01a-0062-2ef7-adac81000000", + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c1s4096?restype=share" } diff --git a/sdk/storage/azure-storage-files-shares/test/ut/recordings/withParam-UploadShare.fromBuffer-c1s4194816.json b/sdk/storage/azure-storage-files-shares/test/ut/recordings/withParam-UploadShare.fromBuffer-c1s4194816.json index bd39fe9b34..bc987e9c60 100644 --- a/sdk/storage/azure-storage-files-shares/test/ut/recordings/withParam-UploadShare.fromBuffer-c1s4194816.json +++ b/sdk/storage/azure-storage-files-shares/test/ut/recordings/withParam-UploadShare.fromBuffer-c1s4194816.json @@ -2,9 +2,9 @@ "networkCallRecords": [ { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "ca1536c0-f8e1-4ba1-5961-65623d509ccc", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "fc13d0f4-571d-421a-7310-1ada1aaaf869", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -12,21 +12,21 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Wed, 05 Jan 2022 19:27:04 GMT", - "etag": "\"0x8D9D0815B124E12\"", - "last-modified": "Wed, 05 Jan 2022 19:27:04 GMT", + "date": "Fri, 12 Aug 2022 03:02:29 GMT", + "etag": "\"0x8DA7C0F185277E7\"", + "last-modified": "Fri, 12 Aug 2022 03:02:30 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "ca1536c0-f8e1-4ba1-5961-65623d509ccc", - "x-ms-request-id": "1610af73-801a-000d-386a-0277d3000000", - "x-ms-version": "2020-02-10" + "x-ms-client-request-id": "fc13d0f4-571d-421a-7310-1ada1aaaf869", + "x-ms-request-id": "9ae87afc-d01a-0062-3cf7-adac81000000", + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c1s4194816?restype=share" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "cd45a0e4-fdc8-4bf5-6cf5-73ce978cd69e", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "49cab5a9-e1f5-4151-5d10-97ff828a8859", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -34,29 +34,29 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Wed, 05 Jan 2022 19:27:04 GMT", - "etag": "\"0x8D9D0815B1EEEED\"", - "last-modified": "Wed, 05 Jan 2022 19:27:04 GMT", + "date": "Fri, 12 Aug 2022 03:02:30 GMT", + "etag": "\"0x8DA7C0F187FB9E0\"", + "last-modified": "Fri, 12 Aug 2022 03:02:30 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "cd45a0e4-fdc8-4bf5-6cf5-73ce978cd69e", + "x-ms-client-request-id": "49cab5a9-e1f5-4151-5d10-97ff828a8859", "x-ms-file-attributes": "Directory", - "x-ms-file-change-time": "2022-01-05T19:27:04.7748333Z", - "x-ms-file-creation-time": "2022-01-05T19:27:04.7748333Z", + "x-ms-file-change-time": "2022-08-12T03:02:30.3724000Z", + "x-ms-file-creation-time": "2022-08-12T03:02:30.3724000Z", "x-ms-file-id": "13835128424026341376", - "x-ms-file-last-write-time": "2022-01-05T19:27:04.7748333Z", + "x-ms-file-last-write-time": "2022-08-12T03:02:30.3724000Z", "x-ms-file-parent-id": "0", - "x-ms-file-permission-key": "16667920363481994929*10343500956293103928", - "x-ms-request-id": "1610af76-801a-000d-396a-0277d3000000", + "x-ms-file-permission-key": "13199961128260716138*16137673612980802019", + "x-ms-request-id": "9ae87aff-d01a-0062-3ef7-adac81000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c1s4194816/fromBuffer-c1s4194816base?restype=directory" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "b243ba2d-41de-41af-7562-81b242c20f11", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "799ca6ba-8016-4a2e-4eee-0b1f2f172fb4", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -64,29 +64,29 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Wed, 05 Jan 2022 19:27:04 GMT", - "etag": "\"0x8D9D0815B2249CB\"", - "last-modified": "Wed, 05 Jan 2022 19:27:04 GMT", + "date": "Fri, 12 Aug 2022 03:02:30 GMT", + "etag": "\"0x8DA7C0F18AD52F0\"", + "last-modified": "Fri, 12 Aug 2022 03:02:30 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "b243ba2d-41de-41af-7562-81b242c20f11", + "x-ms-client-request-id": "799ca6ba-8016-4a2e-4eee-0b1f2f172fb4", "x-ms-file-attributes": "Archive", - "x-ms-file-change-time": "2022-01-05T19:27:04.7968203Z", - "x-ms-file-creation-time": "2022-01-05T19:27:04.7968203Z", + "x-ms-file-change-time": "2022-08-12T03:02:30.6712304Z", + "x-ms-file-creation-time": "2022-08-12T03:02:30.6712304Z", "x-ms-file-id": "11529285414812647424", - "x-ms-file-last-write-time": "2022-01-05T19:27:04.7968203Z", + "x-ms-file-last-write-time": "2022-08-12T03:02:30.6712304Z", "x-ms-file-parent-id": "13835128424026341376", - "x-ms-file-permission-key": "2822515689773754806*10343500956293103928", - "x-ms-request-id": "1610af77-801a-000d-3a6a-0277d3000000", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", + "x-ms-request-id": "9ae87b00-d01a-0062-3ff7-adac81000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c1s4194816/fromBuffer-c1s4194816base/fromBuffer-c1s4194816basefile" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "65fa90b5-4cf5-44a1-5f63-5352b9375365", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "1002b9e1-a228-4ca4-4a3b-713663f13af1", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -94,29 +94,29 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Wed, 05 Jan 2022 19:27:04 GMT", - "etag": "\"0x8D9D0815B255698\"", - "last-modified": "Wed, 05 Jan 2022 19:27:04 GMT", + "date": "Fri, 12 Aug 2022 03:02:30 GMT", + "etag": "\"0x8DA7C0F18DAC4F1\"", + "last-modified": "Fri, 12 Aug 2022 03:02:30 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "65fa90b5-4cf5-44a1-5f63-5352b9375365", + "x-ms-client-request-id": "1002b9e1-a228-4ca4-4a3b-713663f13af1", "x-ms-file-attributes": "Archive", - "x-ms-file-change-time": "2022-01-05T19:27:04.8168088Z", - "x-ms-file-creation-time": "2022-01-05T19:27:04.8168088Z", + "x-ms-file-change-time": "2022-08-12T03:02:30.9690609Z", + "x-ms-file-creation-time": "2022-08-12T03:02:30.9690609Z", "x-ms-file-id": "16140971433240035328", - "x-ms-file-last-write-time": "2022-01-05T19:27:04.8168088Z", + "x-ms-file-last-write-time": "2022-08-12T03:02:30.9690609Z", "x-ms-file-parent-id": "13835128424026341376", - "x-ms-file-permission-key": "2822515689773754806*10343500956293103928", - "x-ms-request-id": "1610af79-801a-000d-3c6a-0277d3000000", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", + "x-ms-request-id": "9ae87b01-d01a-0062-40f7-adac81000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c1s4194816/fromBuffer-c1s4194816base/fromBuffer-c1s4194816" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "3cc0aa7f-99d0-4ff6-67c1-962314ce95d6", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "0ac7346e-01a0-4969-43a8-c6d8468571ca", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -125,22 +125,23 @@ "STATUS_CODE": "201", "content-length": "0", "content-md5": "nFkLbTKd2Z20QGQK8HKyjA==", - "date": "Wed, 05 Jan 2022 19:27:04 GMT", - "etag": "\"0x8D9D0815B302A78\"", - "last-modified": "Wed, 05 Jan 2022 19:27:04 GMT", + "date": "Fri, 12 Aug 2022 03:02:31 GMT", + "etag": "\"0x8DA7C0F1909483E\"", + "last-modified": "Fri, 12 Aug 2022 03:02:31 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "3cc0aa7f-99d0-4ff6-67c1-962314ce95d6", - "x-ms-request-id": "1610af7a-801a-000d-3d6a-0277d3000000", + "x-ms-client-request-id": "0ac7346e-01a0-4969-43a8-c6d8468571ca", + "x-ms-file-last-write-time": "2022-08-12T03:02:31.2738878Z", + "x-ms-request-id": "9ae87b02-d01a-0062-41f7-adac81000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c1s4194816/fromBuffer-c1s4194816base/fromBuffer-c1s4194816?comp=range" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "a52c900c-c840-4057-702e-1f2b13f5a30e", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "598a5c05-ba4e-43fd-7016-4861da80e2a2", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -149,22 +150,23 @@ "STATUS_CODE": "201", "content-length": "0", "content-md5": "nFkLbTKd2Z20QGQK8HKyjA==", - "date": "Wed, 05 Jan 2022 19:27:04 GMT", - "etag": "\"0x8D9D0815B39C5FB\"", - "last-modified": "Wed, 05 Jan 2022 19:27:04 GMT", + "date": "Fri, 12 Aug 2022 03:02:31 GMT", + "etag": "\"0x8DA7C0F1937CB85\"", + "last-modified": "Fri, 12 Aug 2022 03:02:31 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "a52c900c-c840-4057-702e-1f2b13f5a30e", - "x-ms-request-id": "1610af7c-801a-000d-3f6a-0277d3000000", + "x-ms-client-request-id": "598a5c05-ba4e-43fd-7016-4861da80e2a2", + "x-ms-file-last-write-time": "2022-08-12T03:02:31.5787141Z", + "x-ms-request-id": "9ae87b13-d01a-0062-4ff7-adac81000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c1s4194816/fromBuffer-c1s4194816base/fromBuffer-c1s4194816?comp=range" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "36166d04-9ac7-4638-413d-092fa7185825", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "738ccc68-1fd5-4146-4227-67dfeeca7d6c", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -173,22 +175,23 @@ "STATUS_CODE": "201", "content-length": "0", "content-md5": "nFkLbTKd2Z20QGQK8HKyjA==", - "date": "Wed, 05 Jan 2022 19:27:04 GMT", - "etag": "\"0x8D9D0815B47F4B5\"", - "last-modified": "Wed, 05 Jan 2022 19:27:05 GMT", + "date": "Fri, 12 Aug 2022 03:02:31 GMT", + "etag": "\"0x8DA7C0F19919E51\"", + "last-modified": "Fri, 12 Aug 2022 03:02:32 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "36166d04-9ac7-4638-413d-092fa7185825", - "x-ms-request-id": "1610af7d-801a-000d-406a-0277d3000000", + "x-ms-client-request-id": "738ccc68-1fd5-4146-4227-67dfeeca7d6c", + "x-ms-file-last-write-time": "2022-08-12T03:02:32.1673809Z", + "x-ms-request-id": "9ae87b18-d01a-0062-54f7-adac81000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c1s4194816/fromBuffer-c1s4194816base/fromBuffer-c1s4194816?comp=range" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "86b5c8ee-f268-477c-7cda-d59f89d2fcb6", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "f64e8971-8cd5-4a1c-709b-86dd6b78ff85", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -197,22 +200,23 @@ "STATUS_CODE": "201", "content-length": "0", "content-md5": "nFkLbTKd2Z20QGQK8HKyjA==", - "date": "Wed, 05 Jan 2022 19:27:05 GMT", - "etag": "\"0x8D9D0815B5A1A7B\"", - "last-modified": "Wed, 05 Jan 2022 19:27:05 GMT", + "date": "Fri, 12 Aug 2022 03:02:32 GMT", + "etag": "\"0x8DA7C0F19EBBF17\"", + "last-modified": "Fri, 12 Aug 2022 03:02:32 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "86b5c8ee-f268-477c-7cda-d59f89d2fcb6", - "x-ms-request-id": "1610af7f-801a-000d-426a-0277d3000000", + "x-ms-client-request-id": "f64e8971-8cd5-4a1c-709b-86dd6b78ff85", + "x-ms-file-last-write-time": "2022-08-12T03:02:32.7580439Z", + "x-ms-request-id": "9ae87b28-d01a-0062-64f7-adac81000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c1s4194816/fromBuffer-c1s4194816base/fromBuffer-c1s4194816?comp=range" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "1761ade2-736e-4530-430a-56cc3bc8675b", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "9ad17039-ff3d-4ed6-6df7-4bcd89b329b8", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -221,22 +225,23 @@ "STATUS_CODE": "201", "content-length": "0", "content-md5": "nFkLbTKd2Z20QGQK8HKyjA==", - "date": "Wed, 05 Jan 2022 19:27:05 GMT", - "etag": "\"0x8D9D0815B69A893\"", - "last-modified": "Wed, 05 Jan 2022 19:27:05 GMT", + "date": "Fri, 12 Aug 2022 03:02:33 GMT", + "etag": "\"0x8DA7C0F1A44F5B7\"", + "last-modified": "Fri, 12 Aug 2022 03:02:33 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "1761ade2-736e-4530-430a-56cc3bc8675b", - "x-ms-request-id": "1610af80-801a-000d-436a-0277d3000000", + "x-ms-client-request-id": "9ad17039-ff3d-4ed6-6df7-4bcd89b329b8", + "x-ms-file-last-write-time": "2022-08-12T03:02:33.3427127Z", + "x-ms-request-id": "9ae87b31-d01a-0062-6df7-adac81000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c1s4194816/fromBuffer-c1s4194816base/fromBuffer-c1s4194816?comp=range" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "5995e25c-523d-4fe3-590c-1c11f74a0159", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "9a658478-f2e7-4f43-5664-af4ea4c96235", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -245,22 +250,23 @@ "STATUS_CODE": "201", "content-length": "0", "content-md5": "nFkLbTKd2Z20QGQK8HKyjA==", - "date": "Wed, 05 Jan 2022 19:27:05 GMT", - "etag": "\"0x8D9D0815B75DBD2\"", - "last-modified": "Wed, 05 Jan 2022 19:27:05 GMT", + "date": "Fri, 12 Aug 2022 03:02:33 GMT", + "etag": "\"0x8DA7C0F1A73A00B\"", + "last-modified": "Fri, 12 Aug 2022 03:02:33 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "5995e25c-523d-4fe3-590c-1c11f74a0159", - "x-ms-request-id": "1610af81-801a-000d-446a-0277d3000000", + "x-ms-client-request-id": "9a658478-f2e7-4f43-5664-af4ea4c96235", + "x-ms-file-last-write-time": "2022-08-12T03:02:33.6485387Z", + "x-ms-request-id": "9ae87b41-d01a-0062-7df7-adac81000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c1s4194816/fromBuffer-c1s4194816base/fromBuffer-c1s4194816?comp=range" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "6adeb655-bb89-495d-5f75-530f4b565b54", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "3ba9df63-0e05-4bab-7c0c-2186034adc68", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -269,22 +275,23 @@ "STATUS_CODE": "201", "content-length": "0", "content-md5": "nFkLbTKd2Z20QGQK8HKyjA==", - "date": "Wed, 05 Jan 2022 19:27:05 GMT", - "etag": "\"0x8D9D0815B80AFAD\"", - "last-modified": "Wed, 05 Jan 2022 19:27:05 GMT", + "date": "Fri, 12 Aug 2022 03:02:33 GMT", + "etag": "\"0x8DA7C0F1AA1872B\"", + "last-modified": "Fri, 12 Aug 2022 03:02:33 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "6adeb655-bb89-495d-5f75-530f4b565b54", - "x-ms-request-id": "1610af82-801a-000d-456a-0277d3000000", + "x-ms-client-request-id": "3ba9df63-0e05-4bab-7c0c-2186034adc68", + "x-ms-file-last-write-time": "2022-08-12T03:02:33.9493675Z", + "x-ms-request-id": "9ae87b4b-d01a-0062-05f7-adac81000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c1s4194816/fromBuffer-c1s4194816base/fromBuffer-c1s4194816?comp=range" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "f6843dc8-9b5a-4638-6a9d-7c65ae3eed78", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "2d9a892e-a4fd-4ec2-580a-59df5652ccb4", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -293,22 +300,23 @@ "STATUS_CODE": "201", "content-length": "0", "content-md5": "nFkLbTKd2Z20QGQK8HKyjA==", - "date": "Wed, 05 Jan 2022 19:27:05 GMT", - "etag": "\"0x8D9D0815B8B0E5D\"", - "last-modified": "Wed, 05 Jan 2022 19:27:05 GMT", + "date": "Fri, 12 Aug 2022 03:02:34 GMT", + "etag": "\"0x8DA7C0F1ACF6E5B\"", + "last-modified": "Fri, 12 Aug 2022 03:02:34 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "f6843dc8-9b5a-4638-6a9d-7c65ae3eed78", - "x-ms-request-id": "1610af83-801a-000d-466a-0277d3000000", + "x-ms-client-request-id": "2d9a892e-a4fd-4ec2-580a-59df5652ccb4", + "x-ms-file-last-write-time": "2022-08-12T03:02:34.2501979Z", + "x-ms-request-id": "9ae87b51-d01a-0062-0bf7-adac81000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c1s4194816/fromBuffer-c1s4194816base/fromBuffer-c1s4194816?comp=range" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "649370ed-8e7c-4fc0-6431-305387f00285", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "1bdb1009-c244-452c-7c3f-dd3d649a9c70", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -317,22 +325,23 @@ "STATUS_CODE": "201", "content-length": "0", "content-md5": "kUe8Hw8g6K4ZMuYWtRJA+w==", - "date": "Wed, 05 Jan 2022 19:27:05 GMT", - "etag": "\"0x8D9D0815B8DF421\"", - "last-modified": "Wed, 05 Jan 2022 19:27:05 GMT", + "date": "Fri, 12 Aug 2022 03:02:34 GMT", + "etag": "\"0x8DA7C0F1AFC1D2A\"", + "last-modified": "Fri, 12 Aug 2022 03:02:34 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "649370ed-8e7c-4fc0-6431-305387f00285", - "x-ms-request-id": "1610af84-801a-000d-476a-0277d3000000", + "x-ms-client-request-id": "1bdb1009-c244-452c-7c3f-dd3d649a9c70", + "x-ms-file-last-write-time": "2022-08-12T03:02:34.5430314Z", + "x-ms-request-id": "9ae87b58-d01a-0062-12f7-adac81000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c1s4194816/fromBuffer-c1s4194816base/fromBuffer-c1s4194816?comp=range" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "d0fe459e-d048-4b26-488f-a30147f5cdbd", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "8abce008-394a-4626-44cc-1a4c3736e28c", + "x-ms-version": "2021-06-08" }, "Method": "HEAD", "Response": { @@ -345,18 +354,18 @@ "content-language": "en-US", "content-length": "4194816", "content-type": "application/octet-stream", - "date": "Wed, 05 Jan 2022 19:27:05 GMT", - "etag": "\"0x8D9D0815B8DF421\"", - "last-modified": "Wed, 05 Jan 2022 19:27:05 GMT", + "date": "Fri, 12 Aug 2022 03:02:34 GMT", + "etag": "\"0x8DA7C0F1AFC1D2A\"", + "last-modified": "Fri, 12 Aug 2022 03:02:34 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "d0fe459e-d048-4b26-488f-a30147f5cdbd", + "x-ms-client-request-id": "8abce008-394a-4626-44cc-1a4c3736e28c", "x-ms-file-attributes": "Archive", - "x-ms-file-change-time": "2022-01-05T19:27:04.8168088Z", - "x-ms-file-creation-time": "2022-01-05T19:27:04.8168088Z", + "x-ms-file-change-time": "2022-08-12T03:02:34.5430314Z", + "x-ms-file-creation-time": "2022-08-12T03:02:30.9690609Z", "x-ms-file-id": "16140971433240035328", - "x-ms-file-last-write-time": "2022-01-05T19:27:04.8168088Z", + "x-ms-file-last-write-time": "2022-08-12T03:02:34.5430314Z", "x-ms-file-parent-id": "13835128424026341376", - "x-ms-file-permission-key": "2822515689773754806*10343500956293103928", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", "x-ms-lease-state": "available", "x-ms-lease-status": "unlocked", "x-ms-meta-meta0": "value", @@ -364,18 +373,18 @@ "x-ms-meta-meta2": "value", "x-ms-meta-meta3": "value", "x-ms-meta-meta4": "value", - "x-ms-request-id": "1610af85-801a-000d-486a-0277d3000000", + "x-ms-request-id": "9ae87b61-d01a-0062-1bf7-adac81000000", "x-ms-server-encrypted": "true", "x-ms-type": "File", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c1s4194816/fromBuffer-c1s4194816base/fromBuffer-c1s4194816" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "f24409b8-2f14-4348-45e7-aa7a191aac02", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "85e88ed4-1071-4f5e-4ebf-d43bed71273b", + "x-ms-version": "2021-06-08" }, "Method": "GET", "Response": { @@ -389,18 +398,18 @@ "content-language": "en-US", "content-length": "4194816", "content-type": "application/octet-stream", - "date": "Wed, 05 Jan 2022 19:27:05 GMT", - "etag": "\"0x8D9D0815B8DF421\"", - "last-modified": "Wed, 05 Jan 2022 19:27:05 GMT", + "date": "Fri, 12 Aug 2022 03:02:34 GMT", + "etag": "\"0x8DA7C0F1AFC1D2A\"", + "last-modified": "Fri, 12 Aug 2022 03:02:34 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "f24409b8-2f14-4348-45e7-aa7a191aac02", + "x-ms-client-request-id": "85e88ed4-1071-4f5e-4ebf-d43bed71273b", "x-ms-file-attributes": "Archive", - "x-ms-file-change-time": "2022-01-05T19:27:04.8168088Z", - "x-ms-file-creation-time": "2022-01-05T19:27:04.8168088Z", + "x-ms-file-change-time": "2022-08-12T03:02:34.5430314Z", + "x-ms-file-creation-time": "2022-08-12T03:02:30.9690609Z", "x-ms-file-id": "16140971433240035328", - "x-ms-file-last-write-time": "2022-01-05T19:27:04.8168088Z", + "x-ms-file-last-write-time": "2022-08-12T03:02:34.5430314Z", "x-ms-file-parent-id": "13835128424026341376", - "x-ms-file-permission-key": "2822515689773754806*10343500956293103928", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", "x-ms-lease-state": "available", "x-ms-lease-status": "unlocked", "x-ms-meta-meta0": "value", @@ -408,18 +417,18 @@ "x-ms-meta-meta2": "value", "x-ms-meta-meta3": "value", "x-ms-meta-meta4": "value", - "x-ms-request-id": "1610af86-801a-000d-496a-0277d3000000", + "x-ms-request-id": "9ae87b6c-d01a-0062-26f7-adac81000000", "x-ms-server-encrypted": "true", "x-ms-type": "File", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c1s4194816/fromBuffer-c1s4194816base/fromBuffer-c1s4194816" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "1b08586f-545d-4ca5-6aa2-99adb5cd68b1", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "3a2f3493-9869-4940-7d7c-10b33ee9dfce", + "x-ms-version": "2021-06-08" }, "Method": "DELETE", "Response": { @@ -427,19 +436,19 @@ "REASON_PHRASE": "Accepted", "STATUS_CODE": "202", "content-length": "0", - "date": "Wed, 05 Jan 2022 19:27:05 GMT", + "date": "Fri, 12 Aug 2022 03:02:35 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "1b08586f-545d-4ca5-6aa2-99adb5cd68b1", - "x-ms-request-id": "1610af87-801a-000d-4a6a-0277d3000000", - "x-ms-version": "2020-02-10" + "x-ms-client-request-id": "3a2f3493-9869-4940-7d7c-10b33ee9dfce", + "x-ms-request-id": "9ae87b77-d01a-0062-31f7-adac81000000", + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c1s4194816?restype=share" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "5cfbdd11-1564-4bb9-7414-6e294f52dc12", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "a6ea6259-c957-48ca-6e78-1bf404e4114c", + "x-ms-version": "2021-06-08" }, "Method": "DELETE", "Response": { @@ -447,19 +456,19 @@ "REASON_PHRASE": "Accepted", "STATUS_CODE": "202", "content-length": "0", - "date": "Wed, 05 Jan 2022 19:27:05 GMT", + "date": "Fri, 12 Aug 2022 03:02:36 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "5cfbdd11-1564-4bb9-7414-6e294f52dc12", - "x-ms-request-id": "1610af88-801a-000d-4b6a-0277d3000000", - "x-ms-version": "2020-02-10" + "x-ms-client-request-id": "a6ea6259-c957-48ca-6e78-1bf404e4114c", + "x-ms-request-id": "9ae87b81-d01a-0062-39f7-adac81000000", + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c1s4194816?restype=share" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "348bbb7b-1441-45bc-496c-3f34e1a97edb", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "e57f52c6-4b24-4cc0-7306-e6ab1316b440", + "x-ms-version": "2021-06-08" }, "Method": "DELETE", "Response": { @@ -467,11 +476,11 @@ "REASON_PHRASE": "Accepted", "STATUS_CODE": "202", "content-length": "0", - "date": "Wed, 05 Jan 2022 19:27:05 GMT", + "date": "Fri, 12 Aug 2022 03:02:36 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "348bbb7b-1441-45bc-496c-3f34e1a97edb", - "x-ms-request-id": "1610af89-801a-000d-4c6a-0277d3000000", - "x-ms-version": "2020-02-10" + "x-ms-client-request-id": "e57f52c6-4b24-4cc0-7306-e6ab1316b440", + "x-ms-request-id": "9ae87b8b-d01a-0062-42f7-adac81000000", + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c1s4194816?restype=share" } diff --git a/sdk/storage/azure-storage-files-shares/test/ut/recordings/withParam-UploadShare.fromBuffer-c1s512.json b/sdk/storage/azure-storage-files-shares/test/ut/recordings/withParam-UploadShare.fromBuffer-c1s512.json index d5ca82abe8..4518739e7c 100644 --- a/sdk/storage/azure-storage-files-shares/test/ut/recordings/withParam-UploadShare.fromBuffer-c1s512.json +++ b/sdk/storage/azure-storage-files-shares/test/ut/recordings/withParam-UploadShare.fromBuffer-c1s512.json @@ -2,9 +2,9 @@ "networkCallRecords": [ { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "ce595aad-fce5-4fdc-6c3c-a9d4d8d39115", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "9a385ccc-3257-461f-7d01-1975087fdbe5", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -12,21 +12,21 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Wed, 05 Jan 2022 19:27:02 GMT", - "etag": "\"0x8D9D0815A73DE98\"", - "last-modified": "Wed, 05 Jan 2022 19:27:03 GMT", + "date": "Fri, 12 Aug 2022 03:02:15 GMT", + "etag": "\"0x8DA7C0F0FCC33C3\"", + "last-modified": "Fri, 12 Aug 2022 03:02:15 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "ce595aad-fce5-4fdc-6c3c-a9d4d8d39115", - "x-ms-request-id": "04ff30c6-201a-0014-676a-02f768000000", - "x-ms-version": "2020-02-10" + "x-ms-client-request-id": "9a385ccc-3257-461f-7d01-1975087fdbe5", + "x-ms-request-id": "9ae87a8a-d01a-0062-80f7-adac81000000", + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c1s512?restype=share" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "e62b445a-d524-4ade-69ba-ac91a89e707d", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "10ac0cdd-6032-4cae-56ca-224626e9c4f0", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -34,29 +34,29 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Wed, 05 Jan 2022 19:27:02 GMT", - "etag": "\"0x8D9D0815A77A3E0\"", - "last-modified": "Wed, 05 Jan 2022 19:27:03 GMT", + "date": "Fri, 12 Aug 2022 03:02:15 GMT", + "etag": "\"0x8DA7C0F0FF995CB\"", + "last-modified": "Fri, 12 Aug 2022 03:02:16 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "e62b445a-d524-4ade-69ba-ac91a89e707d", + "x-ms-client-request-id": "10ac0cdd-6032-4cae-56ca-224626e9c4f0", "x-ms-file-attributes": "Directory", - "x-ms-file-change-time": "2022-01-05T19:27:03.6784608Z", - "x-ms-file-creation-time": "2022-01-05T19:27:03.6784608Z", + "x-ms-file-change-time": "2022-08-12T03:02:16.0715211Z", + "x-ms-file-creation-time": "2022-08-12T03:02:16.0715211Z", "x-ms-file-id": "13835128424026341376", - "x-ms-file-last-write-time": "2022-01-05T19:27:03.6784608Z", + "x-ms-file-last-write-time": "2022-08-12T03:02:16.0715211Z", "x-ms-file-parent-id": "0", - "x-ms-file-permission-key": "16667920363481994929*10343500956293103928", - "x-ms-request-id": "04ff30c9-201a-0014-686a-02f768000000", + "x-ms-file-permission-key": "13199961128260716138*16137673612980802019", + "x-ms-request-id": "9ae87a8c-d01a-0062-01f7-adac81000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c1s512/fromBuffer-c1s512base?restype=directory" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "d45ac73f-ee8a-4ee0-4564-417b61d7080c", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "8d2d4bfa-8500-429a-409a-3643c283d411", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -64,29 +64,29 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Wed, 05 Jan 2022 19:27:02 GMT", - "etag": "\"0x8D9D0815A79ED7C\"", - "last-modified": "Wed, 05 Jan 2022 19:27:03 GMT", + "date": "Fri, 12 Aug 2022 03:02:16 GMT", + "etag": "\"0x8DA7C0F1027F203\"", + "last-modified": "Fri, 12 Aug 2022 03:02:16 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "d45ac73f-ee8a-4ee0-4564-417b61d7080c", + "x-ms-client-request-id": "8d2d4bfa-8500-429a-409a-3643c283d411", "x-ms-file-attributes": "Archive", - "x-ms-file-change-time": "2022-01-05T19:27:03.6934524Z", - "x-ms-file-creation-time": "2022-01-05T19:27:03.6934524Z", + "x-ms-file-change-time": "2022-08-12T03:02:16.3753475Z", + "x-ms-file-creation-time": "2022-08-12T03:02:16.3753475Z", "x-ms-file-id": "11529285414812647424", - "x-ms-file-last-write-time": "2022-01-05T19:27:03.6934524Z", + "x-ms-file-last-write-time": "2022-08-12T03:02:16.3753475Z", "x-ms-file-parent-id": "13835128424026341376", - "x-ms-file-permission-key": "2822515689773754806*10343500956293103928", - "x-ms-request-id": "04ff30cb-201a-0014-696a-02f768000000", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", + "x-ms-request-id": "9ae87a8d-d01a-0062-02f7-adac81000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c1s512/fromBuffer-c1s512base/fromBuffer-c1s512basefile" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "6b996022-139b-42c4-786e-ff3a6f8374a9", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "005bf2ea-36bf-4694-5b4e-0d6a92d65ac7", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -94,29 +94,29 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Wed, 05 Jan 2022 19:27:02 GMT", - "etag": "\"0x8D9D0815A7C100A\"", - "last-modified": "Wed, 05 Jan 2022 19:27:03 GMT", + "date": "Fri, 12 Aug 2022 03:02:16 GMT", + "etag": "\"0x8DA7C0F10567558\"", + "last-modified": "Fri, 12 Aug 2022 03:02:16 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "6b996022-139b-42c4-786e-ff3a6f8374a9", + "x-ms-client-request-id": "005bf2ea-36bf-4694-5b4e-0d6a92d65ac7", "x-ms-file-attributes": "Archive", - "x-ms-file-change-time": "2022-01-05T19:27:03.7074442Z", - "x-ms-file-creation-time": "2022-01-05T19:27:03.7074442Z", + "x-ms-file-change-time": "2022-08-12T03:02:16.6801752Z", + "x-ms-file-creation-time": "2022-08-12T03:02:16.6801752Z", "x-ms-file-id": "16140971433240035328", - "x-ms-file-last-write-time": "2022-01-05T19:27:03.7074442Z", + "x-ms-file-last-write-time": "2022-08-12T03:02:16.6801752Z", "x-ms-file-parent-id": "13835128424026341376", - "x-ms-file-permission-key": "2822515689773754806*10343500956293103928", - "x-ms-request-id": "04ff30cc-201a-0014-6a6a-02f768000000", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", + "x-ms-request-id": "9ae87a8f-d01a-0062-03f7-adac81000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c1s512/fromBuffer-c1s512base/fromBuffer-c1s512" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "873c6e89-2d68-4005-77c8-6cbebf062232", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "ef392dee-2aba-4b28-4b38-a11ec890b852", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -125,22 +125,23 @@ "STATUS_CODE": "201", "content-length": "0", "content-md5": "kUe8Hw8g6K4ZMuYWtRJA+w==", - "date": "Wed, 05 Jan 2022 19:27:02 GMT", - "etag": "\"0x8D9D0815A7F1CD7\"", - "last-modified": "Wed, 05 Jan 2022 19:27:03 GMT", + "date": "Fri, 12 Aug 2022 03:02:16 GMT", + "etag": "\"0x8DA7C0F10839942\"", + "last-modified": "Fri, 12 Aug 2022 03:02:16 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "873c6e89-2d68-4005-77c8-6cbebf062232", - "x-ms-request-id": "04ff30cd-201a-0014-6b6a-02f768000000", + "x-ms-client-request-id": "ef392dee-2aba-4b28-4b38-a11ec890b852", + "x-ms-file-last-write-time": "2022-08-12T03:02:16.9760066Z", + "x-ms-request-id": "9ae87a90-d01a-0062-04f7-adac81000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c1s512/fromBuffer-c1s512base/fromBuffer-c1s512?comp=range" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "7b654120-4de5-4abc-4fd4-62cc903c9ebb", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "ddd0facf-6ad7-4279-5391-191f71dcc1ea", + "x-ms-version": "2021-06-08" }, "Method": "HEAD", "Response": { @@ -153,18 +154,18 @@ "content-language": "en-US", "content-length": "512", "content-type": "application/octet-stream", - "date": "Wed, 05 Jan 2022 19:27:02 GMT", - "etag": "\"0x8D9D0815A7F1CD7\"", - "last-modified": "Wed, 05 Jan 2022 19:27:03 GMT", + "date": "Fri, 12 Aug 2022 03:02:17 GMT", + "etag": "\"0x8DA7C0F10839942\"", + "last-modified": "Fri, 12 Aug 2022 03:02:16 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "7b654120-4de5-4abc-4fd4-62cc903c9ebb", + "x-ms-client-request-id": "ddd0facf-6ad7-4279-5391-191f71dcc1ea", "x-ms-file-attributes": "Archive", - "x-ms-file-change-time": "2022-01-05T19:27:03.7074442Z", - "x-ms-file-creation-time": "2022-01-05T19:27:03.7074442Z", + "x-ms-file-change-time": "2022-08-12T03:02:16.9760066Z", + "x-ms-file-creation-time": "2022-08-12T03:02:16.6801752Z", "x-ms-file-id": "16140971433240035328", - "x-ms-file-last-write-time": "2022-01-05T19:27:03.7074442Z", + "x-ms-file-last-write-time": "2022-08-12T03:02:16.9760066Z", "x-ms-file-parent-id": "13835128424026341376", - "x-ms-file-permission-key": "2822515689773754806*10343500956293103928", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", "x-ms-lease-state": "available", "x-ms-lease-status": "unlocked", "x-ms-meta-meta0": "value", @@ -172,18 +173,18 @@ "x-ms-meta-meta2": "value", "x-ms-meta-meta3": "value", "x-ms-meta-meta4": "value", - "x-ms-request-id": "04ff30ce-201a-0014-6c6a-02f768000000", + "x-ms-request-id": "9ae87a91-d01a-0062-05f7-adac81000000", "x-ms-server-encrypted": "true", "x-ms-type": "File", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c1s512/fromBuffer-c1s512base/fromBuffer-c1s512" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "e4b5e477-19d8-4b90-4164-7909c0819c77", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "62e11286-3fe4-424e-5af0-98a52869e230", + "x-ms-version": "2021-06-08" }, "Method": "GET", "Response": { @@ -197,18 +198,18 @@ "content-language": "en-US", "content-length": "512", "content-type": "application/octet-stream", - "date": "Wed, 05 Jan 2022 19:27:02 GMT", - "etag": "\"0x8D9D0815A7F1CD7\"", - "last-modified": "Wed, 05 Jan 2022 19:27:03 GMT", + "date": "Fri, 12 Aug 2022 03:02:17 GMT", + "etag": "\"0x8DA7C0F10839942\"", + "last-modified": "Fri, 12 Aug 2022 03:02:16 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "e4b5e477-19d8-4b90-4164-7909c0819c77", + "x-ms-client-request-id": "62e11286-3fe4-424e-5af0-98a52869e230", "x-ms-file-attributes": "Archive", - "x-ms-file-change-time": "2022-01-05T19:27:03.7074442Z", - "x-ms-file-creation-time": "2022-01-05T19:27:03.7074442Z", + "x-ms-file-change-time": "2022-08-12T03:02:16.9760066Z", + "x-ms-file-creation-time": "2022-08-12T03:02:16.6801752Z", "x-ms-file-id": "16140971433240035328", - "x-ms-file-last-write-time": "2022-01-05T19:27:03.7074442Z", + "x-ms-file-last-write-time": "2022-08-12T03:02:16.9760066Z", "x-ms-file-parent-id": "13835128424026341376", - "x-ms-file-permission-key": "2822515689773754806*10343500956293103928", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", "x-ms-lease-state": "available", "x-ms-lease-status": "unlocked", "x-ms-meta-meta0": "value", @@ -216,18 +217,18 @@ "x-ms-meta-meta2": "value", "x-ms-meta-meta3": "value", "x-ms-meta-meta4": "value", - "x-ms-request-id": "04ff30cf-201a-0014-6d6a-02f768000000", + "x-ms-request-id": "9ae87a92-d01a-0062-06f7-adac81000000", "x-ms-server-encrypted": "true", "x-ms-type": "File", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c1s512/fromBuffer-c1s512base/fromBuffer-c1s512" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "fe6c6d7e-d885-4f73-6c82-44a5e2487eaa", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "a163dcf1-7f1f-473b-6e33-8c2a7273f78d", + "x-ms-version": "2021-06-08" }, "Method": "DELETE", "Response": { @@ -235,19 +236,19 @@ "REASON_PHRASE": "Accepted", "STATUS_CODE": "202", "content-length": "0", - "date": "Wed, 05 Jan 2022 19:27:02 GMT", + "date": "Fri, 12 Aug 2022 03:02:17 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "fe6c6d7e-d885-4f73-6c82-44a5e2487eaa", - "x-ms-request-id": "04ff30d0-201a-0014-6e6a-02f768000000", - "x-ms-version": "2020-02-10" + "x-ms-client-request-id": "a163dcf1-7f1f-473b-6e33-8c2a7273f78d", + "x-ms-request-id": "9ae87a93-d01a-0062-07f7-adac81000000", + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c1s512?restype=share" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "5e4dfd4c-2d7b-43a2-582c-19ac27cf6044", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "e09113a8-9dbc-45fe-6a40-e9616ed63716", + "x-ms-version": "2021-06-08" }, "Method": "DELETE", "Response": { @@ -255,19 +256,19 @@ "REASON_PHRASE": "Accepted", "STATUS_CODE": "202", "content-length": "0", - "date": "Wed, 05 Jan 2022 19:27:02 GMT", + "date": "Fri, 12 Aug 2022 03:02:17 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "5e4dfd4c-2d7b-43a2-582c-19ac27cf6044", - "x-ms-request-id": "04ff30d1-201a-0014-6f6a-02f768000000", - "x-ms-version": "2020-02-10" + "x-ms-client-request-id": "e09113a8-9dbc-45fe-6a40-e9616ed63716", + "x-ms-request-id": "9ae87a94-d01a-0062-08f7-adac81000000", + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c1s512?restype=share" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "3667ed3f-f6ea-4855-724c-32c8ed923c2b", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "415eefb0-a2ec-4934-42cd-bf6e04ccfb95", + "x-ms-version": "2021-06-08" }, "Method": "DELETE", "Response": { @@ -275,11 +276,11 @@ "REASON_PHRASE": "Accepted", "STATUS_CODE": "202", "content-length": "0", - "date": "Wed, 05 Jan 2022 19:27:02 GMT", + "date": "Fri, 12 Aug 2022 03:02:18 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "3667ed3f-f6ea-4855-724c-32c8ed923c2b", - "x-ms-request-id": "04ff30d2-201a-0014-706a-02f768000000", - "x-ms-version": "2020-02-10" + "x-ms-client-request-id": "415eefb0-a2ec-4934-42cd-bf6e04ccfb95", + "x-ms-request-id": "9ae87a9a-d01a-0062-0cf7-adac81000000", + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c1s512?restype=share" } diff --git a/sdk/storage/azure-storage-files-shares/test/ut/recordings/withParam-UploadShare.fromBuffer-c2s0.json b/sdk/storage/azure-storage-files-shares/test/ut/recordings/withParam-UploadShare.fromBuffer-c2s0.json index 21e26658c1..d3589b2ba1 100644 --- a/sdk/storage/azure-storage-files-shares/test/ut/recordings/withParam-UploadShare.fromBuffer-c2s0.json +++ b/sdk/storage/azure-storage-files-shares/test/ut/recordings/withParam-UploadShare.fromBuffer-c2s0.json @@ -2,9 +2,9 @@ "networkCallRecords": [ { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "a9088f0b-e9eb-4ff5-5a61-39b63aa1898a", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "5eb91c5e-781f-4df1-52ae-b50bed37d7ac", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -12,21 +12,21 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Wed, 05 Jan 2022 19:27:05 GMT", - "etag": "\"0x8D9D0815BAFB23C\"", - "last-modified": "Wed, 05 Jan 2022 19:27:05 GMT", + "date": "Fri, 12 Aug 2022 03:02:36 GMT", + "etag": "\"0x8DA7C0F1C6A4AB1\"", + "last-modified": "Fri, 12 Aug 2022 03:02:36 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "a9088f0b-e9eb-4ff5-5a61-39b63aa1898a", - "x-ms-request-id": "a853b636-301a-0045-1d6a-026ae4000000", - "x-ms-version": "2020-02-10" + "x-ms-client-request-id": "5eb91c5e-781f-4df1-52ae-b50bed37d7ac", + "x-ms-request-id": "9ae87b92-d01a-0062-49f7-adac81000000", + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c2s0?restype=share" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "ef418434-cc26-431a-7945-81b3065b0757", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "6e1eb352-db5e-4882-6788-ba575ac0905b", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -34,29 +34,29 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Wed, 05 Jan 2022 19:27:05 GMT", - "etag": "\"0x8D9D0815BB3C619\"", - "last-modified": "Wed, 05 Jan 2022 19:27:05 GMT", + "date": "Fri, 12 Aug 2022 03:02:37 GMT", + "etag": "\"0x8DA7C0F1C9768ED\"", + "last-modified": "Fri, 12 Aug 2022 03:02:37 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "ef418434-cc26-431a-7945-81b3065b0757", + "x-ms-client-request-id": "6e1eb352-db5e-4882-6788-ba575ac0905b", "x-ms-file-attributes": "Directory", - "x-ms-file-change-time": "2022-01-05T19:27:05.7502745Z", - "x-ms-file-creation-time": "2022-01-05T19:27:05.7502745Z", + "x-ms-file-change-time": "2022-08-12T03:02:37.2385005Z", + "x-ms-file-creation-time": "2022-08-12T03:02:37.2385005Z", "x-ms-file-id": "13835128424026341376", - "x-ms-file-last-write-time": "2022-01-05T19:27:05.7502745Z", + "x-ms-file-last-write-time": "2022-08-12T03:02:37.2385005Z", "x-ms-file-parent-id": "0", - "x-ms-file-permission-key": "16667920363481994929*10343500956293103928", - "x-ms-request-id": "a853b639-301a-0045-1e6a-026ae4000000", + "x-ms-file-permission-key": "13199961128260716138*16137673612980802019", + "x-ms-request-id": "9ae87b96-d01a-0062-4cf7-adac81000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c2s0/fromBuffer-c2s0base?restype=directory" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "661ada6a-9634-4bfe-4627-64ff8fe9fd01", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "de34e168-094b-42b1-7f03-d5d60912cc59", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -64,29 +64,29 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Wed, 05 Jan 2022 19:27:05 GMT", - "etag": "\"0x8D9D0815BB60FAF\"", - "last-modified": "Wed, 05 Jan 2022 19:27:05 GMT", + "date": "Fri, 12 Aug 2022 03:02:37 GMT", + "etag": "\"0x8DA7C0F1CC4B3E2\"", + "last-modified": "Fri, 12 Aug 2022 03:02:37 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "661ada6a-9634-4bfe-4627-64ff8fe9fd01", + "x-ms-client-request-id": "de34e168-094b-42b1-7f03-d5d60912cc59", "x-ms-file-attributes": "Archive", - "x-ms-file-change-time": "2022-01-05T19:27:05.7652655Z", - "x-ms-file-creation-time": "2022-01-05T19:27:05.7652655Z", + "x-ms-file-change-time": "2022-08-12T03:02:37.5353314Z", + "x-ms-file-creation-time": "2022-08-12T03:02:37.5353314Z", "x-ms-file-id": "11529285414812647424", - "x-ms-file-last-write-time": "2022-01-05T19:27:05.7652655Z", + "x-ms-file-last-write-time": "2022-08-12T03:02:37.5353314Z", "x-ms-file-parent-id": "13835128424026341376", - "x-ms-file-permission-key": "2822515689773754806*10343500956293103928", - "x-ms-request-id": "a853b63a-301a-0045-1f6a-026ae4000000", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", + "x-ms-request-id": "9ae87b9e-d01a-0062-54f7-adac81000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c2s0/fromBuffer-c2s0base/fromBuffer-c2s0basefile" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "bf1760d2-4333-4740-7b28-378afcf2526f", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "4f4073ce-7721-4ac6-4cc0-718636472e37", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -94,29 +94,29 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Wed, 05 Jan 2022 19:27:05 GMT", - "etag": "\"0x8D9D0815BB8A75E\"", - "last-modified": "Wed, 05 Jan 2022 19:27:05 GMT", + "date": "Fri, 12 Aug 2022 03:02:37 GMT", + "etag": "\"0x8DA7C0F1CF1D7CE\"", + "last-modified": "Fri, 12 Aug 2022 03:02:37 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "bf1760d2-4333-4740-7b28-378afcf2526f", + "x-ms-client-request-id": "4f4073ce-7721-4ac6-4cc0-718636472e37", "x-ms-file-attributes": "Archive", - "x-ms-file-change-time": "2022-01-05T19:27:05.7822558Z", - "x-ms-file-creation-time": "2022-01-05T19:27:05.7822558Z", + "x-ms-file-change-time": "2022-08-12T03:02:37.8311630Z", + "x-ms-file-creation-time": "2022-08-12T03:02:37.8311630Z", "x-ms-file-id": "16140971433240035328", - "x-ms-file-last-write-time": "2022-01-05T19:27:05.7822558Z", + "x-ms-file-last-write-time": "2022-08-12T03:02:37.8311630Z", "x-ms-file-parent-id": "13835128424026341376", - "x-ms-file-permission-key": "2822515689773754806*10343500956293103928", - "x-ms-request-id": "a853b63b-301a-0045-206a-026ae4000000", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", + "x-ms-request-id": "9ae87baf-d01a-0062-65f7-adac81000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c2s0/fromBuffer-c2s0base/fromBuffer-c2s0" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "b2f53400-b549-4f93-475c-464419e70a9d", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "a480a453-f036-4a8a-72ad-ce3616a7dfab", + "x-ms-version": "2021-06-08" }, "Method": "HEAD", "Response": { @@ -129,18 +129,18 @@ "content-language": "en-US", "content-length": "0", "content-type": "application/octet-stream", - "date": "Wed, 05 Jan 2022 19:27:05 GMT", - "etag": "\"0x8D9D0815BB8A75E\"", - "last-modified": "Wed, 05 Jan 2022 19:27:05 GMT", + "date": "Fri, 12 Aug 2022 03:02:37 GMT", + "etag": "\"0x8DA7C0F1CF1D7CE\"", + "last-modified": "Fri, 12 Aug 2022 03:02:37 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "b2f53400-b549-4f93-475c-464419e70a9d", + "x-ms-client-request-id": "a480a453-f036-4a8a-72ad-ce3616a7dfab", "x-ms-file-attributes": "Archive", - "x-ms-file-change-time": "2022-01-05T19:27:05.7822558Z", - "x-ms-file-creation-time": "2022-01-05T19:27:05.7822558Z", + "x-ms-file-change-time": "2022-08-12T03:02:37.8311630Z", + "x-ms-file-creation-time": "2022-08-12T03:02:37.8311630Z", "x-ms-file-id": "16140971433240035328", - "x-ms-file-last-write-time": "2022-01-05T19:27:05.7822558Z", + "x-ms-file-last-write-time": "2022-08-12T03:02:37.8311630Z", "x-ms-file-parent-id": "13835128424026341376", - "x-ms-file-permission-key": "2822515689773754806*10343500956293103928", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", "x-ms-lease-state": "available", "x-ms-lease-status": "unlocked", "x-ms-meta-meta0": "value", @@ -148,18 +148,18 @@ "x-ms-meta-meta2": "value", "x-ms-meta-meta3": "value", "x-ms-meta-meta4": "value", - "x-ms-request-id": "a853b63d-301a-0045-226a-026ae4000000", + "x-ms-request-id": "9ae87bce-d01a-0062-04f7-adac81000000", "x-ms-server-encrypted": "true", "x-ms-type": "File", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c2s0/fromBuffer-c2s0base/fromBuffer-c2s0" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "c38b19c7-c380-4345-7f53-88c96b5d75a1", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "160ab874-bf63-4424-49d6-1f00b7b34ed4", + "x-ms-version": "2021-06-08" }, "Method": "GET", "Response": { @@ -173,18 +173,18 @@ "content-language": "en-US", "content-length": "0", "content-type": "application/octet-stream", - "date": "Wed, 05 Jan 2022 19:27:05 GMT", - "etag": "\"0x8D9D0815BB8A75E\"", - "last-modified": "Wed, 05 Jan 2022 19:27:05 GMT", + "date": "Fri, 12 Aug 2022 03:02:38 GMT", + "etag": "\"0x8DA7C0F1CF1D7CE\"", + "last-modified": "Fri, 12 Aug 2022 03:02:37 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "c38b19c7-c380-4345-7f53-88c96b5d75a1", + "x-ms-client-request-id": "160ab874-bf63-4424-49d6-1f00b7b34ed4", "x-ms-file-attributes": "Archive", - "x-ms-file-change-time": "2022-01-05T19:27:05.7822558Z", - "x-ms-file-creation-time": "2022-01-05T19:27:05.7822558Z", + "x-ms-file-change-time": "2022-08-12T03:02:37.8311630Z", + "x-ms-file-creation-time": "2022-08-12T03:02:37.8311630Z", "x-ms-file-id": "16140971433240035328", - "x-ms-file-last-write-time": "2022-01-05T19:27:05.7822558Z", + "x-ms-file-last-write-time": "2022-08-12T03:02:37.8311630Z", "x-ms-file-parent-id": "13835128424026341376", - "x-ms-file-permission-key": "2822515689773754806*10343500956293103928", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", "x-ms-lease-state": "available", "x-ms-lease-status": "unlocked", "x-ms-meta-meta0": "value", @@ -192,18 +192,18 @@ "x-ms-meta-meta2": "value", "x-ms-meta-meta3": "value", "x-ms-meta-meta4": "value", - "x-ms-request-id": "a853b63e-301a-0045-236a-026ae4000000", + "x-ms-request-id": "9ae87be7-d01a-0062-1df7-adac81000000", "x-ms-server-encrypted": "true", "x-ms-type": "File", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c2s0/fromBuffer-c2s0base/fromBuffer-c2s0" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "d38c250c-081b-4468-6a59-4aa29d187a2a", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "326927f8-8213-46ce-497a-36e3fc7ffd6d", + "x-ms-version": "2021-06-08" }, "Method": "DELETE", "Response": { @@ -211,19 +211,19 @@ "REASON_PHRASE": "Accepted", "STATUS_CODE": "202", "content-length": "0", - "date": "Wed, 05 Jan 2022 19:27:05 GMT", + "date": "Fri, 12 Aug 2022 03:02:38 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "d38c250c-081b-4468-6a59-4aa29d187a2a", - "x-ms-request-id": "a853b63f-301a-0045-246a-026ae4000000", - "x-ms-version": "2020-02-10" + "x-ms-client-request-id": "326927f8-8213-46ce-497a-36e3fc7ffd6d", + "x-ms-request-id": "9ae87bf6-d01a-0062-2cf7-adac81000000", + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c2s0?restype=share" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "a8ae0606-39df-40d7-556f-1ee75a7c40a2", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "60226238-3061-459e-5da7-8cb3b8489d25", + "x-ms-version": "2021-06-08" }, "Method": "DELETE", "Response": { @@ -231,19 +231,19 @@ "REASON_PHRASE": "Accepted", "STATUS_CODE": "202", "content-length": "0", - "date": "Wed, 05 Jan 2022 19:27:05 GMT", + "date": "Fri, 12 Aug 2022 03:02:38 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "a8ae0606-39df-40d7-556f-1ee75a7c40a2", - "x-ms-request-id": "a853b640-301a-0045-256a-026ae4000000", - "x-ms-version": "2020-02-10" + "x-ms-client-request-id": "60226238-3061-459e-5da7-8cb3b8489d25", + "x-ms-request-id": "9ae87c0b-d01a-0062-3ff7-adac81000000", + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c2s0?restype=share" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "6ade892f-5baf-4540-65c4-af809059701a", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "741a6cf6-d8db-4a05-7122-4a946b7d92a2", + "x-ms-version": "2021-06-08" }, "Method": "DELETE", "Response": { @@ -251,11 +251,11 @@ "REASON_PHRASE": "Accepted", "STATUS_CODE": "202", "content-length": "0", - "date": "Wed, 05 Jan 2022 19:27:05 GMT", + "date": "Fri, 12 Aug 2022 03:02:39 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "6ade892f-5baf-4540-65c4-af809059701a", - "x-ms-request-id": "a853b641-301a-0045-266a-026ae4000000", - "x-ms-version": "2020-02-10" + "x-ms-client-request-id": "741a6cf6-d8db-4a05-7122-4a946b7d92a2", + "x-ms-request-id": "9ae87c1e-d01a-0062-52f7-adac81000000", + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c2s0?restype=share" } diff --git a/sdk/storage/azure-storage-files-shares/test/ut/recordings/withParam-UploadShare.fromBuffer-c2s1024.json b/sdk/storage/azure-storage-files-shares/test/ut/recordings/withParam-UploadShare.fromBuffer-c2s1024.json index 3504fdd92e..e3550b376a 100644 --- a/sdk/storage/azure-storage-files-shares/test/ut/recordings/withParam-UploadShare.fromBuffer-c2s1024.json +++ b/sdk/storage/azure-storage-files-shares/test/ut/recordings/withParam-UploadShare.fromBuffer-c2s1024.json @@ -2,9 +2,9 @@ "networkCallRecords": [ { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "2aa9f374-5038-49f0-6099-3e1f3984d5ad", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "b738cb4a-dd10-447f-7323-1838aa643a9b", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -12,21 +12,21 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Wed, 05 Jan 2022 19:27:06 GMT", - "etag": "\"0x8D9D0815BEF598E\"", - "last-modified": "Wed, 05 Jan 2022 19:27:06 GMT", + "date": "Fri, 12 Aug 2022 03:02:42 GMT", + "etag": "\"0x8DA7C0F1FC7C2C6\"", + "last-modified": "Fri, 12 Aug 2022 03:02:42 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "2aa9f374-5038-49f0-6099-3e1f3984d5ad", - "x-ms-request-id": "395b1151-501a-0021-626a-029b7c000000", - "x-ms-version": "2020-02-10" + "x-ms-client-request-id": "b738cb4a-dd10-447f-7323-1838aa643a9b", + "x-ms-request-id": "9ae87cd9-d01a-0062-09f7-adac81000000", + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c2s1024?restype=share" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "4906787c-d04b-4b77-4a5b-8eabb9e27e18", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "14c0c3e2-9aa8-4d70-45b1-2907f685e440", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -34,29 +34,29 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Wed, 05 Jan 2022 19:27:06 GMT", - "etag": "\"0x8D9D0815BFA88B4\"", - "last-modified": "Wed, 05 Jan 2022 19:27:06 GMT", + "date": "Fri, 12 Aug 2022 03:02:42 GMT", + "etag": "\"0x8DA7C0F1FF70652\"", + "last-modified": "Fri, 12 Aug 2022 03:02:42 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "4906787c-d04b-4b77-4a5b-8eabb9e27e18", + "x-ms-client-request-id": "14c0c3e2-9aa8-4d70-45b1-2907f685e440", "x-ms-file-attributes": "Directory", - "x-ms-file-change-time": "2022-01-05T19:27:06.2140084Z", - "x-ms-file-creation-time": "2022-01-05T19:27:06.2140084Z", + "x-ms-file-change-time": "2022-08-12T03:02:42.8982866Z", + "x-ms-file-creation-time": "2022-08-12T03:02:42.8982866Z", "x-ms-file-id": "13835128424026341376", - "x-ms-file-last-write-time": "2022-01-05T19:27:06.2140084Z", + "x-ms-file-last-write-time": "2022-08-12T03:02:42.8982866Z", "x-ms-file-parent-id": "0", - "x-ms-file-permission-key": "16667920363481994929*10343500956293103928", - "x-ms-request-id": "395b1154-501a-0021-636a-029b7c000000", + "x-ms-file-permission-key": "13199961128260716138*16137673612980802019", + "x-ms-request-id": "9ae87cdf-d01a-0062-0ef7-adac81000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c2s1024/fromBuffer-c2s1024base?restype=directory" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "38beb8b9-6a5a-4a6a-7489-dc5f9eca5088", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "86b29b14-3dff-41b8-7fa3-167397b0b1f8", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -64,29 +64,29 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Wed, 05 Jan 2022 19:27:06 GMT", - "etag": "\"0x8D9D0815BFCF959\"", - "last-modified": "Wed, 05 Jan 2022 19:27:06 GMT", + "date": "Fri, 12 Aug 2022 03:02:42 GMT", + "etag": "\"0x8DA7C0F20245149\"", + "last-modified": "Fri, 12 Aug 2022 03:02:43 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "38beb8b9-6a5a-4a6a-7489-dc5f9eca5088", + "x-ms-client-request-id": "86b29b14-3dff-41b8-7fa3-167397b0b1f8", "x-ms-file-attributes": "Archive", - "x-ms-file-change-time": "2022-01-05T19:27:06.2299993Z", - "x-ms-file-creation-time": "2022-01-05T19:27:06.2299993Z", + "x-ms-file-change-time": "2022-08-12T03:02:43.1951177Z", + "x-ms-file-creation-time": "2022-08-12T03:02:43.1951177Z", "x-ms-file-id": "11529285414812647424", - "x-ms-file-last-write-time": "2022-01-05T19:27:06.2299993Z", + "x-ms-file-last-write-time": "2022-08-12T03:02:43.1951177Z", "x-ms-file-parent-id": "13835128424026341376", - "x-ms-file-permission-key": "2822515689773754806*10343500956293103928", - "x-ms-request-id": "395b1155-501a-0021-646a-029b7c000000", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", + "x-ms-request-id": "9ae87ce4-d01a-0062-13f7-adac81000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c2s1024/fromBuffer-c2s1024base/fromBuffer-c2s1024basefile" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "541deecc-e65d-4d9d-42d1-bacbef0d109f", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "0d22ce6e-9c4c-4bb9-5401-8818da0c5893", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -94,29 +94,29 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Wed, 05 Jan 2022 19:27:06 GMT", - "etag": "\"0x8D9D0815BFF42F3\"", - "last-modified": "Wed, 05 Jan 2022 19:27:06 GMT", + "date": "Fri, 12 Aug 2022 03:02:43 GMT", + "etag": "\"0x8DA7C0F2051271D\"", + "last-modified": "Fri, 12 Aug 2022 03:02:43 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "541deecc-e65d-4d9d-42d1-bacbef0d109f", + "x-ms-client-request-id": "0d22ce6e-9c4c-4bb9-5401-8818da0c5893", "x-ms-file-attributes": "Archive", - "x-ms-file-change-time": "2022-01-05T19:27:06.2449907Z", - "x-ms-file-creation-time": "2022-01-05T19:27:06.2449907Z", + "x-ms-file-change-time": "2022-08-12T03:02:43.4889501Z", + "x-ms-file-creation-time": "2022-08-12T03:02:43.4889501Z", "x-ms-file-id": "16140971433240035328", - "x-ms-file-last-write-time": "2022-01-05T19:27:06.2449907Z", + "x-ms-file-last-write-time": "2022-08-12T03:02:43.4889501Z", "x-ms-file-parent-id": "13835128424026341376", - "x-ms-file-permission-key": "2822515689773754806*10343500956293103928", - "x-ms-request-id": "395b1156-501a-0021-656a-029b7c000000", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", + "x-ms-request-id": "9ae87ced-d01a-0062-1cf7-adac81000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c2s1024/fromBuffer-c2s1024base/fromBuffer-c2s1024" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "76b2d417-5915-409c-7873-5165a25dc813", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "e2bc63a5-b623-4a55-5e41-0164ff2a1926", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -125,22 +125,23 @@ "STATUS_CODE": "201", "content-length": "0", "content-md5": "cmX00hG1aHOjgdMh9YbkqQ==", - "date": "Wed, 05 Jan 2022 19:27:06 GMT", - "etag": "\"0x8D9D0815C024FC1\"", - "last-modified": "Wed, 05 Jan 2022 19:27:06 GMT", + "date": "Fri, 12 Aug 2022 03:02:43 GMT", + "etag": "\"0x8DA7C0F207EE73E\"", + "last-modified": "Fri, 12 Aug 2022 03:02:43 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "76b2d417-5915-409c-7873-5165a25dc813", - "x-ms-request-id": "395b1157-501a-0021-666a-029b7c000000", + "x-ms-client-request-id": "e2bc63a5-b623-4a55-5e41-0164ff2a1926", + "x-ms-file-last-write-time": "2022-08-12T03:02:43.7887806Z", + "x-ms-request-id": "9ae87cf9-d01a-0062-28f7-adac81000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c2s1024/fromBuffer-c2s1024base/fromBuffer-c2s1024?comp=range" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "bfa721eb-d3af-40fb-6e73-f3469f66d777", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "481fb686-8349-4ea8-65e0-ff9c170d0246", + "x-ms-version": "2021-06-08" }, "Method": "HEAD", "Response": { @@ -153,18 +154,18 @@ "content-language": "en-US", "content-length": "1024", "content-type": "application/octet-stream", - "date": "Wed, 05 Jan 2022 19:27:06 GMT", - "etag": "\"0x8D9D0815C024FC1\"", - "last-modified": "Wed, 05 Jan 2022 19:27:06 GMT", + "date": "Fri, 12 Aug 2022 03:02:43 GMT", + "etag": "\"0x8DA7C0F207EE73E\"", + "last-modified": "Fri, 12 Aug 2022 03:02:43 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "bfa721eb-d3af-40fb-6e73-f3469f66d777", + "x-ms-client-request-id": "481fb686-8349-4ea8-65e0-ff9c170d0246", "x-ms-file-attributes": "Archive", - "x-ms-file-change-time": "2022-01-05T19:27:06.2449907Z", - "x-ms-file-creation-time": "2022-01-05T19:27:06.2449907Z", + "x-ms-file-change-time": "2022-08-12T03:02:43.7887806Z", + "x-ms-file-creation-time": "2022-08-12T03:02:43.4889501Z", "x-ms-file-id": "16140971433240035328", - "x-ms-file-last-write-time": "2022-01-05T19:27:06.2449907Z", + "x-ms-file-last-write-time": "2022-08-12T03:02:43.7887806Z", "x-ms-file-parent-id": "13835128424026341376", - "x-ms-file-permission-key": "2822515689773754806*10343500956293103928", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", "x-ms-lease-state": "available", "x-ms-lease-status": "unlocked", "x-ms-meta-meta0": "value", @@ -172,18 +173,18 @@ "x-ms-meta-meta2": "value", "x-ms-meta-meta3": "value", "x-ms-meta-meta4": "value", - "x-ms-request-id": "395b1158-501a-0021-676a-029b7c000000", + "x-ms-request-id": "9ae87d03-d01a-0062-30f7-adac81000000", "x-ms-server-encrypted": "true", "x-ms-type": "File", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c2s1024/fromBuffer-c2s1024base/fromBuffer-c2s1024" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "8dfff953-c9e9-432a-54de-70cb1ce96e0c", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "291c3b16-3267-42b4-4800-870b6675d9a7", + "x-ms-version": "2021-06-08" }, "Method": "GET", "Response": { @@ -197,18 +198,18 @@ "content-language": "en-US", "content-length": "1024", "content-type": "application/octet-stream", - "date": "Wed, 05 Jan 2022 19:27:06 GMT", - "etag": "\"0x8D9D0815C024FC1\"", - "last-modified": "Wed, 05 Jan 2022 19:27:06 GMT", + "date": "Fri, 12 Aug 2022 03:02:44 GMT", + "etag": "\"0x8DA7C0F207EE73E\"", + "last-modified": "Fri, 12 Aug 2022 03:02:43 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "8dfff953-c9e9-432a-54de-70cb1ce96e0c", + "x-ms-client-request-id": "291c3b16-3267-42b4-4800-870b6675d9a7", "x-ms-file-attributes": "Archive", - "x-ms-file-change-time": "2022-01-05T19:27:06.2449907Z", - "x-ms-file-creation-time": "2022-01-05T19:27:06.2449907Z", + "x-ms-file-change-time": "2022-08-12T03:02:43.7887806Z", + "x-ms-file-creation-time": "2022-08-12T03:02:43.4889501Z", "x-ms-file-id": "16140971433240035328", - "x-ms-file-last-write-time": "2022-01-05T19:27:06.2449907Z", + "x-ms-file-last-write-time": "2022-08-12T03:02:43.7887806Z", "x-ms-file-parent-id": "13835128424026341376", - "x-ms-file-permission-key": "2822515689773754806*10343500956293103928", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", "x-ms-lease-state": "available", "x-ms-lease-status": "unlocked", "x-ms-meta-meta0": "value", @@ -216,18 +217,18 @@ "x-ms-meta-meta2": "value", "x-ms-meta-meta3": "value", "x-ms-meta-meta4": "value", - "x-ms-request-id": "395b1159-501a-0021-686a-029b7c000000", + "x-ms-request-id": "9ae87d07-d01a-0062-34f7-adac81000000", "x-ms-server-encrypted": "true", "x-ms-type": "File", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c2s1024/fromBuffer-c2s1024base/fromBuffer-c2s1024" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "db3f4dbb-92a2-4981-5e8f-459c10fcbdb5", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "594e03f8-413c-481f-7e74-f9388942d700", + "x-ms-version": "2021-06-08" }, "Method": "DELETE", "Response": { @@ -235,19 +236,19 @@ "REASON_PHRASE": "Accepted", "STATUS_CODE": "202", "content-length": "0", - "date": "Wed, 05 Jan 2022 19:27:06 GMT", + "date": "Fri, 12 Aug 2022 03:02:44 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "db3f4dbb-92a2-4981-5e8f-459c10fcbdb5", - "x-ms-request-id": "395b115c-501a-0021-6a6a-029b7c000000", - "x-ms-version": "2020-02-10" + "x-ms-client-request-id": "594e03f8-413c-481f-7e74-f9388942d700", + "x-ms-request-id": "9ae87d09-d01a-0062-36f7-adac81000000", + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c2s1024?restype=share" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "b6d5e069-99a8-4d7a-7e2a-29e0cf9e30b2", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "5f277998-23c2-4f4c-7208-bce819b24896", + "x-ms-version": "2021-06-08" }, "Method": "DELETE", "Response": { @@ -255,19 +256,19 @@ "REASON_PHRASE": "Accepted", "STATUS_CODE": "202", "content-length": "0", - "date": "Wed, 05 Jan 2022 19:27:06 GMT", + "date": "Fri, 12 Aug 2022 03:02:44 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "b6d5e069-99a8-4d7a-7e2a-29e0cf9e30b2", - "x-ms-request-id": "395b115d-501a-0021-6b6a-029b7c000000", - "x-ms-version": "2020-02-10" + "x-ms-client-request-id": "5f277998-23c2-4f4c-7208-bce819b24896", + "x-ms-request-id": "9ae87d10-d01a-0062-3df7-adac81000000", + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c2s1024?restype=share" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "67dfdece-8b83-4bed-488d-e652ebf92be2", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "1e9111d0-89ac-4320-6c5f-1fbfae10c225", + "x-ms-version": "2021-06-08" }, "Method": "DELETE", "Response": { @@ -275,11 +276,11 @@ "REASON_PHRASE": "Accepted", "STATUS_CODE": "202", "content-length": "0", - "date": "Wed, 05 Jan 2022 19:27:06 GMT", + "date": "Fri, 12 Aug 2022 03:02:45 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "67dfdece-8b83-4bed-488d-e652ebf92be2", - "x-ms-request-id": "395b115e-501a-0021-6c6a-029b7c000000", - "x-ms-version": "2020-02-10" + "x-ms-client-request-id": "1e9111d0-89ac-4320-6c5f-1fbfae10c225", + "x-ms-request-id": "9ae87d14-d01a-0062-41f7-adac81000000", + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c2s1024?restype=share" } diff --git a/sdk/storage/azure-storage-files-shares/test/ut/recordings/withParam-UploadShare.fromBuffer-c2s1048576.json b/sdk/storage/azure-storage-files-shares/test/ut/recordings/withParam-UploadShare.fromBuffer-c2s1048576.json index a27501d4fc..98802b4845 100644 --- a/sdk/storage/azure-storage-files-shares/test/ut/recordings/withParam-UploadShare.fromBuffer-c2s1048576.json +++ b/sdk/storage/azure-storage-files-shares/test/ut/recordings/withParam-UploadShare.fromBuffer-c2s1048576.json @@ -2,9 +2,9 @@ "networkCallRecords": [ { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "c779132c-f7c4-42c1-69fa-eeab347e923a", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "d35224c0-3f41-4b18-614d-c7b7387cce27", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -12,21 +12,21 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Wed, 05 Jan 2022 19:27:06 GMT", - "etag": "\"0x8D9D0815C542F9F\"", - "last-modified": "Wed, 05 Jan 2022 19:27:06 GMT", + "date": "Fri, 12 Aug 2022 03:02:48 GMT", + "etag": "\"0x8DA7C0F2356F1E6\"", + "last-modified": "Fri, 12 Aug 2022 03:02:48 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "c779132c-f7c4-42c1-69fa-eeab347e923a", - "x-ms-request-id": "b88c39a1-101a-0052-0e6a-02c3ef000000", - "x-ms-version": "2020-02-10" + "x-ms-client-request-id": "d35224c0-3f41-4b18-614d-c7b7387cce27", + "x-ms-request-id": "9ae87d7a-d01a-0062-18f8-adac81000000", + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c2s1048576?restype=share" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "d223f3c8-6523-4569-5b97-97c1f3eb6a94", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "f97c4e73-b350-490c-7bee-19f19751ff9f", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -34,29 +34,29 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Wed, 05 Jan 2022 19:27:06 GMT", - "etag": "\"0x8D9D0815C580453\"", - "last-modified": "Wed, 05 Jan 2022 19:27:06 GMT", + "date": "Fri, 12 Aug 2022 03:02:48 GMT", + "etag": "\"0x8DA7C0F238415AD\"", + "last-modified": "Fri, 12 Aug 2022 03:02:48 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "d223f3c8-6523-4569-5b97-97c1f3eb6a94", + "x-ms-client-request-id": "f97c4e73-b350-490c-7bee-19f19751ff9f", "x-ms-file-attributes": "Directory", - "x-ms-file-change-time": "2022-01-05T19:27:06.8266579Z", - "x-ms-file-creation-time": "2022-01-05T19:27:06.8266579Z", + "x-ms-file-change-time": "2022-08-12T03:02:48.8559021Z", + "x-ms-file-creation-time": "2022-08-12T03:02:48.8559021Z", "x-ms-file-id": "13835128424026341376", - "x-ms-file-last-write-time": "2022-01-05T19:27:06.8266579Z", + "x-ms-file-last-write-time": "2022-08-12T03:02:48.8559021Z", "x-ms-file-parent-id": "0", - "x-ms-file-permission-key": "16667920363481994929*10343500956293103928", - "x-ms-request-id": "b88c39a4-101a-0052-0f6a-02c3ef000000", + "x-ms-file-permission-key": "13199961128260716138*16137673612980802019", + "x-ms-request-id": "9ae87d87-d01a-0062-24f8-adac81000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c2s1048576/fromBuffer-c2s1048576base?restype=directory" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "af712fb5-7619-4181-69f4-eb13c4285164", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "195ccc70-e4eb-4258-59d3-195135222caf", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -64,29 +64,29 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Wed, 05 Jan 2022 19:27:06 GMT", - "etag": "\"0x8D9D0815C5A4DF2\"", - "last-modified": "Wed, 05 Jan 2022 19:27:06 GMT", + "date": "Fri, 12 Aug 2022 03:02:48 GMT", + "etag": "\"0x8DA7C0F23B271FC\"", + "last-modified": "Fri, 12 Aug 2022 03:02:49 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "af712fb5-7619-4181-69f4-eb13c4285164", + "x-ms-client-request-id": "195ccc70-e4eb-4258-59d3-195135222caf", "x-ms-file-attributes": "Archive", - "x-ms-file-change-time": "2022-01-05T19:27:06.8416498Z", - "x-ms-file-creation-time": "2022-01-05T19:27:06.8416498Z", + "x-ms-file-change-time": "2022-08-12T03:02:49.1597308Z", + "x-ms-file-creation-time": "2022-08-12T03:02:49.1597308Z", "x-ms-file-id": "11529285414812647424", - "x-ms-file-last-write-time": "2022-01-05T19:27:06.8416498Z", + "x-ms-file-last-write-time": "2022-08-12T03:02:49.1597308Z", "x-ms-file-parent-id": "13835128424026341376", - "x-ms-file-permission-key": "2822515689773754806*10343500956293103928", - "x-ms-request-id": "b88c39a5-101a-0052-106a-02c3ef000000", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", + "x-ms-request-id": "9ae87d90-d01a-0062-2bf8-adac81000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c2s1048576/fromBuffer-c2s1048576base/fromBuffer-c2s1048576basefile" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "84da313d-fbe2-4026-5371-d97539370874", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "45c0fd59-d660-48a1-4148-500164b8c240", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -94,29 +94,29 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Wed, 05 Jan 2022 19:27:06 GMT", - "etag": "\"0x8D9D0815C5C707C\"", - "last-modified": "Wed, 05 Jan 2022 19:27:06 GMT", + "date": "Fri, 12 Aug 2022 03:02:49 GMT", + "etag": "\"0x8DA7C0F23DF6ED4\"", + "last-modified": "Fri, 12 Aug 2022 03:02:49 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "84da313d-fbe2-4026-5371-d97539370874", + "x-ms-client-request-id": "45c0fd59-d660-48a1-4148-500164b8c240", "x-ms-file-attributes": "Archive", - "x-ms-file-change-time": "2022-01-05T19:27:06.8556412Z", - "x-ms-file-creation-time": "2022-01-05T19:27:06.8556412Z", + "x-ms-file-change-time": "2022-08-12T03:02:49.4545620Z", + "x-ms-file-creation-time": "2022-08-12T03:02:49.4545620Z", "x-ms-file-id": "16140971433240035328", - "x-ms-file-last-write-time": "2022-01-05T19:27:06.8556412Z", + "x-ms-file-last-write-time": "2022-08-12T03:02:49.4545620Z", "x-ms-file-parent-id": "13835128424026341376", - "x-ms-file-permission-key": "2822515689773754806*10343500956293103928", - "x-ms-request-id": "b88c39a6-101a-0052-116a-02c3ef000000", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", + "x-ms-request-id": "9ae87d95-d01a-0062-2ff8-adac81000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c2s1048576/fromBuffer-c2s1048576base/fromBuffer-c2s1048576" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "96d3ab08-80e6-4773-5e2a-3cb8ee586d3f", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "f17a8577-7253-4c80-4d0f-06857b078eef", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -125,22 +125,23 @@ "STATUS_CODE": "201", "content-length": "0", "content-md5": "tWH4cgLQSVnjdYjuBc9bEA==", - "date": "Wed, 05 Jan 2022 19:27:06 GMT", - "etag": "\"0x8D9D0815C6CE8D2\"", - "last-modified": "Wed, 05 Jan 2022 19:27:06 GMT", + "date": "Fri, 12 Aug 2022 03:02:49 GMT", + "etag": "\"0x8DA7C0F2439B6C3\"", + "last-modified": "Fri, 12 Aug 2022 03:02:50 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "96d3ab08-80e6-4773-5e2a-3cb8ee586d3f", - "x-ms-request-id": "b88c39a7-101a-0052-126a-02c3ef000000", + "x-ms-client-request-id": "f17a8577-7253-4c80-4d0f-06857b078eef", + "x-ms-file-last-write-time": "2022-08-12T03:02:50.0462275Z", + "x-ms-request-id": "9ae87da4-d01a-0062-3df8-adac81000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c2s1048576/fromBuffer-c2s1048576base/fromBuffer-c2s1048576?comp=range" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "6de1d1fc-ba78-4bb5-6496-e4ae5359deb1", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "1ada5d24-64f0-4bfa-5640-43010836c156", + "x-ms-version": "2021-06-08" }, "Method": "HEAD", "Response": { @@ -153,18 +154,18 @@ "content-language": "en-US", "content-length": "1048576", "content-type": "application/octet-stream", - "date": "Wed, 05 Jan 2022 19:27:06 GMT", - "etag": "\"0x8D9D0815C6CE8D2\"", - "last-modified": "Wed, 05 Jan 2022 19:27:06 GMT", + "date": "Fri, 12 Aug 2022 03:02:50 GMT", + "etag": "\"0x8DA7C0F2439B6C3\"", + "last-modified": "Fri, 12 Aug 2022 03:02:50 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "6de1d1fc-ba78-4bb5-6496-e4ae5359deb1", + "x-ms-client-request-id": "1ada5d24-64f0-4bfa-5640-43010836c156", "x-ms-file-attributes": "Archive", - "x-ms-file-change-time": "2022-01-05T19:27:06.8556412Z", - "x-ms-file-creation-time": "2022-01-05T19:27:06.8556412Z", + "x-ms-file-change-time": "2022-08-12T03:02:50.0462275Z", + "x-ms-file-creation-time": "2022-08-12T03:02:49.4545620Z", "x-ms-file-id": "16140971433240035328", - "x-ms-file-last-write-time": "2022-01-05T19:27:06.8556412Z", + "x-ms-file-last-write-time": "2022-08-12T03:02:50.0462275Z", "x-ms-file-parent-id": "13835128424026341376", - "x-ms-file-permission-key": "2822515689773754806*10343500956293103928", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", "x-ms-lease-state": "available", "x-ms-lease-status": "unlocked", "x-ms-meta-meta0": "value", @@ -172,18 +173,18 @@ "x-ms-meta-meta2": "value", "x-ms-meta-meta3": "value", "x-ms-meta-meta4": "value", - "x-ms-request-id": "b88c39a8-101a-0052-136a-02c3ef000000", + "x-ms-request-id": "9ae87dab-d01a-0062-44f8-adac81000000", "x-ms-server-encrypted": "true", "x-ms-type": "File", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c2s1048576/fromBuffer-c2s1048576base/fromBuffer-c2s1048576" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "eff5ba83-01e6-45a7-5bef-a2f8fc382f72", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "453cc0a4-842c-48e5-7a21-28220f03841c", + "x-ms-version": "2021-06-08" }, "Method": "GET", "Response": { @@ -197,18 +198,18 @@ "content-language": "en-US", "content-length": "1048576", "content-type": "application/octet-stream", - "date": "Wed, 05 Jan 2022 19:27:06 GMT", - "etag": "\"0x8D9D0815C6CE8D2\"", - "last-modified": "Wed, 05 Jan 2022 19:27:06 GMT", + "date": "Fri, 12 Aug 2022 03:02:50 GMT", + "etag": "\"0x8DA7C0F2439B6C3\"", + "last-modified": "Fri, 12 Aug 2022 03:02:50 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "eff5ba83-01e6-45a7-5bef-a2f8fc382f72", + "x-ms-client-request-id": "453cc0a4-842c-48e5-7a21-28220f03841c", "x-ms-file-attributes": "Archive", - "x-ms-file-change-time": "2022-01-05T19:27:06.8556412Z", - "x-ms-file-creation-time": "2022-01-05T19:27:06.8556412Z", + "x-ms-file-change-time": "2022-08-12T03:02:50.0462275Z", + "x-ms-file-creation-time": "2022-08-12T03:02:49.4545620Z", "x-ms-file-id": "16140971433240035328", - "x-ms-file-last-write-time": "2022-01-05T19:27:06.8556412Z", + "x-ms-file-last-write-time": "2022-08-12T03:02:50.0462275Z", "x-ms-file-parent-id": "13835128424026341376", - "x-ms-file-permission-key": "2822515689773754806*10343500956293103928", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", "x-ms-lease-state": "available", "x-ms-lease-status": "unlocked", "x-ms-meta-meta0": "value", @@ -216,18 +217,18 @@ "x-ms-meta-meta2": "value", "x-ms-meta-meta3": "value", "x-ms-meta-meta4": "value", - "x-ms-request-id": "b88c39a9-101a-0052-146a-02c3ef000000", + "x-ms-request-id": "9ae87daf-d01a-0062-48f8-adac81000000", "x-ms-server-encrypted": "true", "x-ms-type": "File", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c2s1048576/fromBuffer-c2s1048576base/fromBuffer-c2s1048576" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "044ef25d-0f59-466d-6026-235b536e023a", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "b3453b25-47bf-4100-76fe-cf7c9068bca3", + "x-ms-version": "2021-06-08" }, "Method": "DELETE", "Response": { @@ -235,19 +236,19 @@ "REASON_PHRASE": "Accepted", "STATUS_CODE": "202", "content-length": "0", - "date": "Wed, 05 Jan 2022 19:27:06 GMT", + "date": "Fri, 12 Aug 2022 03:02:50 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "044ef25d-0f59-466d-6026-235b536e023a", - "x-ms-request-id": "b88c39aa-101a-0052-156a-02c3ef000000", - "x-ms-version": "2020-02-10" + "x-ms-client-request-id": "b3453b25-47bf-4100-76fe-cf7c9068bca3", + "x-ms-request-id": "9ae87db1-d01a-0062-4af8-adac81000000", + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c2s1048576?restype=share" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "e1d29234-755c-4ee5-4397-4295f8a55c08", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "48cc47da-ba10-436e-717d-9253832c0e61", + "x-ms-version": "2021-06-08" }, "Method": "DELETE", "Response": { @@ -255,19 +256,19 @@ "REASON_PHRASE": "Accepted", "STATUS_CODE": "202", "content-length": "0", - "date": "Wed, 05 Jan 2022 19:27:06 GMT", + "date": "Fri, 12 Aug 2022 03:02:51 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "e1d29234-755c-4ee5-4397-4295f8a55c08", - "x-ms-request-id": "b88c39ab-101a-0052-166a-02c3ef000000", - "x-ms-version": "2020-02-10" + "x-ms-client-request-id": "48cc47da-ba10-436e-717d-9253832c0e61", + "x-ms-request-id": "9ae87db4-d01a-0062-4df8-adac81000000", + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c2s1048576?restype=share" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "95837c9d-5865-4fb2-5fd8-fe2d2eea7cd6", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "09ad8d92-fec9-4a29-69ae-1a494ff8f112", + "x-ms-version": "2021-06-08" }, "Method": "DELETE", "Response": { @@ -275,11 +276,11 @@ "REASON_PHRASE": "Accepted", "STATUS_CODE": "202", "content-length": "0", - "date": "Wed, 05 Jan 2022 19:27:06 GMT", + "date": "Fri, 12 Aug 2022 03:02:51 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "95837c9d-5865-4fb2-5fd8-fe2d2eea7cd6", - "x-ms-request-id": "b88c39ac-101a-0052-176a-02c3ef000000", - "x-ms-version": "2020-02-10" + "x-ms-client-request-id": "09ad8d92-fec9-4a29-69ae-1a494ff8f112", + "x-ms-request-id": "9ae87db8-d01a-0062-50f8-adac81000000", + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c2s1048576?restype=share" } diff --git a/sdk/storage/azure-storage-files-shares/test/ut/recordings/withParam-UploadShare.fromBuffer-c2s4096.json b/sdk/storage/azure-storage-files-shares/test/ut/recordings/withParam-UploadShare.fromBuffer-c2s4096.json index dbf9b636bc..9b725bf40f 100644 --- a/sdk/storage/azure-storage-files-shares/test/ut/recordings/withParam-UploadShare.fromBuffer-c2s4096.json +++ b/sdk/storage/azure-storage-files-shares/test/ut/recordings/withParam-UploadShare.fromBuffer-c2s4096.json @@ -2,9 +2,9 @@ "networkCallRecords": [ { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "1d5b39f9-d06f-4c5c-5d03-db44d19afc81", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "13dca19e-b74c-4186-6db3-003b8249874b", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -12,21 +12,21 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Wed, 05 Jan 2022 19:27:06 GMT", - "etag": "\"0x8D9D0815C375F1A\"", - "last-modified": "Wed, 05 Jan 2022 19:27:06 GMT", + "date": "Fri, 12 Aug 2022 03:02:45 GMT", + "etag": "\"0x8DA7C0F218F46DD\"", + "last-modified": "Fri, 12 Aug 2022 03:02:45 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "1d5b39f9-d06f-4c5c-5d03-db44d19afc81", - "x-ms-request-id": "191b7768-001a-003c-5e6a-0296c0000000", - "x-ms-version": "2020-02-10" + "x-ms-client-request-id": "13dca19e-b74c-4186-6db3-003b8249874b", + "x-ms-request-id": "9ae87d1e-d01a-0062-4bf7-adac81000000", + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c2s4096?restype=share" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "877ec12a-70a1-4803-4e11-e37aea7f1cc2", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "341da484-fec3-4f76-5eff-7fc30d32151a", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -34,29 +34,29 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Wed, 05 Jan 2022 19:27:06 GMT", - "etag": "\"0x8D9D0815C3B58C7\"", - "last-modified": "Wed, 05 Jan 2022 19:27:06 GMT", + "date": "Fri, 12 Aug 2022 03:02:45 GMT", + "etag": "\"0x8DA7C0F21BD2C64\"", + "last-modified": "Fri, 12 Aug 2022 03:02:45 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "877ec12a-70a1-4803-4e11-e37aea7f1cc2", + "x-ms-client-request-id": "341da484-fec3-4f76-5eff-7fc30d32151a", "x-ms-file-attributes": "Directory", - "x-ms-file-change-time": "2022-01-05T19:27:06.6387655Z", - "x-ms-file-creation-time": "2022-01-05T19:27:06.6387655Z", + "x-ms-file-change-time": "2022-08-12T03:02:45.8745956Z", + "x-ms-file-creation-time": "2022-08-12T03:02:45.8745956Z", "x-ms-file-id": "13835128424026341376", - "x-ms-file-last-write-time": "2022-01-05T19:27:06.6387655Z", + "x-ms-file-last-write-time": "2022-08-12T03:02:45.8745956Z", "x-ms-file-parent-id": "0", - "x-ms-file-permission-key": "16667920363481994929*10343500956293103928", - "x-ms-request-id": "191b776b-001a-003c-5f6a-0296c0000000", + "x-ms-file-permission-key": "13199961128260716138*16137673612980802019", + "x-ms-request-id": "9ae87d25-d01a-0062-51f7-adac81000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c2s4096/fromBuffer-c2s4096base?restype=directory" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "1f2b384d-a200-403b-6360-9f2f0d94cab0", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "850f5ef6-ecdf-4e1f-560a-a6f82b716e68", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -64,29 +64,29 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Wed, 05 Jan 2022 19:27:06 GMT", - "etag": "\"0x8D9D0815C3E1788\"", - "last-modified": "Wed, 05 Jan 2022 19:27:06 GMT", + "date": "Fri, 12 Aug 2022 03:02:45 GMT", + "etag": "\"0x8DA7C0F21EB88B2\"", + "last-modified": "Fri, 12 Aug 2022 03:02:46 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "1f2b384d-a200-403b-6360-9f2f0d94cab0", + "x-ms-client-request-id": "850f5ef6-ecdf-4e1f-560a-a6f82b716e68", "x-ms-file-attributes": "Archive", - "x-ms-file-change-time": "2022-01-05T19:27:06.6567560Z", - "x-ms-file-creation-time": "2022-01-05T19:27:06.6567560Z", + "x-ms-file-change-time": "2022-08-12T03:02:46.1784242Z", + "x-ms-file-creation-time": "2022-08-12T03:02:46.1784242Z", "x-ms-file-id": "11529285414812647424", - "x-ms-file-last-write-time": "2022-01-05T19:27:06.6567560Z", + "x-ms-file-last-write-time": "2022-08-12T03:02:46.1784242Z", "x-ms-file-parent-id": "13835128424026341376", - "x-ms-file-permission-key": "2822515689773754806*10343500956293103928", - "x-ms-request-id": "191b776d-001a-003c-606a-0296c0000000", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", + "x-ms-request-id": "9ae87d2d-d01a-0062-59f7-adac81000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c2s4096/fromBuffer-c2s4096base/fromBuffer-c2s4096basefile" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "b9fcbe6a-51c1-4256-697b-7fbccbb696dd", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "9cb391b2-2b6e-43c9-5fb2-16c25617fcd4", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -94,29 +94,29 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Wed, 05 Jan 2022 19:27:06 GMT", - "etag": "\"0x8D9D0815C403A0D\"", - "last-modified": "Wed, 05 Jan 2022 19:27:06 GMT", + "date": "Fri, 12 Aug 2022 03:02:46 GMT", + "etag": "\"0x8DA7C0F2218AC9C\"", + "last-modified": "Fri, 12 Aug 2022 03:02:46 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "b9fcbe6a-51c1-4256-697b-7fbccbb696dd", + "x-ms-client-request-id": "9cb391b2-2b6e-43c9-5fb2-16c25617fcd4", "x-ms-file-attributes": "Archive", - "x-ms-file-change-time": "2022-01-05T19:27:06.6707469Z", - "x-ms-file-creation-time": "2022-01-05T19:27:06.6707469Z", + "x-ms-file-change-time": "2022-08-12T03:02:46.4742556Z", + "x-ms-file-creation-time": "2022-08-12T03:02:46.4742556Z", "x-ms-file-id": "16140971433240035328", - "x-ms-file-last-write-time": "2022-01-05T19:27:06.6707469Z", + "x-ms-file-last-write-time": "2022-08-12T03:02:46.4742556Z", "x-ms-file-parent-id": "13835128424026341376", - "x-ms-file-permission-key": "2822515689773754806*10343500956293103928", - "x-ms-request-id": "191b776e-001a-003c-616a-0296c0000000", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", + "x-ms-request-id": "9ae87d42-d01a-0062-61f7-adac81000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c2s4096/fromBuffer-c2s4096base/fromBuffer-c2s4096" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "bc2bf9c3-503f-43e0-52df-aca7b2a50824", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "b7c05ea2-1ce4-4365-5c92-8a2a770e48aa", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -125,22 +125,23 @@ "STATUS_CODE": "201", "content-length": "0", "content-md5": "IEOfeeTp3JW+NLIQKSIfgA==", - "date": "Wed, 05 Jan 2022 19:27:06 GMT", - "etag": "\"0x8D9D0815C4346E0\"", - "last-modified": "Wed, 05 Jan 2022 19:27:06 GMT", + "date": "Fri, 12 Aug 2022 03:02:46 GMT", + "etag": "\"0x8DA7C0F224645A7\"", + "last-modified": "Fri, 12 Aug 2022 03:02:46 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "bc2bf9c3-503f-43e0-52df-aca7b2a50824", - "x-ms-request-id": "191b776f-001a-003c-626a-0296c0000000", + "x-ms-client-request-id": "b7c05ea2-1ce4-4365-5c92-8a2a770e48aa", + "x-ms-file-last-write-time": "2022-08-12T03:02:46.7730855Z", + "x-ms-request-id": "9ae87d4b-d01a-0062-69f7-adac81000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c2s4096/fromBuffer-c2s4096base/fromBuffer-c2s4096?comp=range" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "8626e426-db54-4a7d-512b-175ca67a84c2", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "a5b396f8-0f9e-42c0-6e05-c541ac25e9ac", + "x-ms-version": "2021-06-08" }, "Method": "HEAD", "Response": { @@ -153,18 +154,18 @@ "content-language": "en-US", "content-length": "4096", "content-type": "application/octet-stream", - "date": "Wed, 05 Jan 2022 19:27:06 GMT", - "etag": "\"0x8D9D0815C4346E0\"", - "last-modified": "Wed, 05 Jan 2022 19:27:06 GMT", + "date": "Fri, 12 Aug 2022 03:02:46 GMT", + "etag": "\"0x8DA7C0F224645A7\"", + "last-modified": "Fri, 12 Aug 2022 03:02:46 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "8626e426-db54-4a7d-512b-175ca67a84c2", + "x-ms-client-request-id": "a5b396f8-0f9e-42c0-6e05-c541ac25e9ac", "x-ms-file-attributes": "Archive", - "x-ms-file-change-time": "2022-01-05T19:27:06.6707469Z", - "x-ms-file-creation-time": "2022-01-05T19:27:06.6707469Z", + "x-ms-file-change-time": "2022-08-12T03:02:46.7730855Z", + "x-ms-file-creation-time": "2022-08-12T03:02:46.4742556Z", "x-ms-file-id": "16140971433240035328", - "x-ms-file-last-write-time": "2022-01-05T19:27:06.6707469Z", + "x-ms-file-last-write-time": "2022-08-12T03:02:46.7730855Z", "x-ms-file-parent-id": "13835128424026341376", - "x-ms-file-permission-key": "2822515689773754806*10343500956293103928", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", "x-ms-lease-state": "available", "x-ms-lease-status": "unlocked", "x-ms-meta-meta0": "value", @@ -172,18 +173,18 @@ "x-ms-meta-meta2": "value", "x-ms-meta-meta3": "value", "x-ms-meta-meta4": "value", - "x-ms-request-id": "191b7770-001a-003c-636a-0296c0000000", + "x-ms-request-id": "9ae87d4e-d01a-0062-6cf7-adac81000000", "x-ms-server-encrypted": "true", "x-ms-type": "File", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c2s4096/fromBuffer-c2s4096base/fromBuffer-c2s4096" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "c4143775-e4ab-4eea-7240-7ff66232d300", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "f783fad3-e947-4313-64ba-d0905356c392", + "x-ms-version": "2021-06-08" }, "Method": "GET", "Response": { @@ -197,18 +198,18 @@ "content-language": "en-US", "content-length": "4096", "content-type": "application/octet-stream", - "date": "Wed, 05 Jan 2022 19:27:06 GMT", - "etag": "\"0x8D9D0815C4346E0\"", - "last-modified": "Wed, 05 Jan 2022 19:27:06 GMT", + "date": "Fri, 12 Aug 2022 03:02:47 GMT", + "etag": "\"0x8DA7C0F224645A7\"", + "last-modified": "Fri, 12 Aug 2022 03:02:46 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "c4143775-e4ab-4eea-7240-7ff66232d300", + "x-ms-client-request-id": "f783fad3-e947-4313-64ba-d0905356c392", "x-ms-file-attributes": "Archive", - "x-ms-file-change-time": "2022-01-05T19:27:06.6707469Z", - "x-ms-file-creation-time": "2022-01-05T19:27:06.6707469Z", + "x-ms-file-change-time": "2022-08-12T03:02:46.7730855Z", + "x-ms-file-creation-time": "2022-08-12T03:02:46.4742556Z", "x-ms-file-id": "16140971433240035328", - "x-ms-file-last-write-time": "2022-01-05T19:27:06.6707469Z", + "x-ms-file-last-write-time": "2022-08-12T03:02:46.7730855Z", "x-ms-file-parent-id": "13835128424026341376", - "x-ms-file-permission-key": "2822515689773754806*10343500956293103928", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", "x-ms-lease-state": "available", "x-ms-lease-status": "unlocked", "x-ms-meta-meta0": "value", @@ -216,18 +217,18 @@ "x-ms-meta-meta2": "value", "x-ms-meta-meta3": "value", "x-ms-meta-meta4": "value", - "x-ms-request-id": "191b7771-001a-003c-646a-0296c0000000", + "x-ms-request-id": "9ae87d5e-d01a-0062-7cf8-adac81000000", "x-ms-server-encrypted": "true", "x-ms-type": "File", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c2s4096/fromBuffer-c2s4096base/fromBuffer-c2s4096" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "49441d17-cd9b-4381-7f0a-41dd193af324", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "1b04f69c-eaf6-4c17-743b-ef4a51662b21", + "x-ms-version": "2021-06-08" }, "Method": "DELETE", "Response": { @@ -235,19 +236,19 @@ "REASON_PHRASE": "Accepted", "STATUS_CODE": "202", "content-length": "0", - "date": "Wed, 05 Jan 2022 19:27:06 GMT", + "date": "Fri, 12 Aug 2022 03:02:47 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "49441d17-cd9b-4381-7f0a-41dd193af324", - "x-ms-request-id": "191b7772-001a-003c-656a-0296c0000000", - "x-ms-version": "2020-02-10" + "x-ms-client-request-id": "1b04f69c-eaf6-4c17-743b-ef4a51662b21", + "x-ms-request-id": "9ae87d64-d01a-0062-02f8-adac81000000", + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c2s4096?restype=share" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "b21e189b-364d-4390-50b8-7287834cf400", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "0903e571-259b-4554-4f85-501115b8a884", + "x-ms-version": "2021-06-08" }, "Method": "DELETE", "Response": { @@ -255,19 +256,19 @@ "REASON_PHRASE": "Accepted", "STATUS_CODE": "202", "content-length": "0", - "date": "Wed, 05 Jan 2022 19:27:06 GMT", + "date": "Fri, 12 Aug 2022 03:02:47 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "b21e189b-364d-4390-50b8-7287834cf400", - "x-ms-request-id": "191b7773-001a-003c-666a-0296c0000000", - "x-ms-version": "2020-02-10" + "x-ms-client-request-id": "0903e571-259b-4554-4f85-501115b8a884", + "x-ms-request-id": "9ae87d6a-d01a-0062-08f8-adac81000000", + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c2s4096?restype=share" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "60fb8279-c0f6-4913-6b4a-b5804e9f4b24", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "d002c388-a730-424f-5d18-e56940892a2b", + "x-ms-version": "2021-06-08" }, "Method": "DELETE", "Response": { @@ -275,11 +276,11 @@ "REASON_PHRASE": "Accepted", "STATUS_CODE": "202", "content-length": "0", - "date": "Wed, 05 Jan 2022 19:27:06 GMT", + "date": "Fri, 12 Aug 2022 03:02:48 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "60fb8279-c0f6-4913-6b4a-b5804e9f4b24", - "x-ms-request-id": "191b7774-001a-003c-676a-0296c0000000", - "x-ms-version": "2020-02-10" + "x-ms-client-request-id": "d002c388-a730-424f-5d18-e56940892a2b", + "x-ms-request-id": "9ae87d76-d01a-0062-14f8-adac81000000", + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c2s4096?restype=share" } diff --git a/sdk/storage/azure-storage-files-shares/test/ut/recordings/withParam-UploadShare.fromBuffer-c2s4194816.json b/sdk/storage/azure-storage-files-shares/test/ut/recordings/withParam-UploadShare.fromBuffer-c2s4194816.json index f3e79924c5..a214071b63 100644 --- a/sdk/storage/azure-storage-files-shares/test/ut/recordings/withParam-UploadShare.fromBuffer-c2s4194816.json +++ b/sdk/storage/azure-storage-files-shares/test/ut/recordings/withParam-UploadShare.fromBuffer-c2s4194816.json @@ -2,9 +2,9 @@ "networkCallRecords": [ { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "59fc4c8d-92b3-4493-5ef3-9d39ec14647a", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "51901653-1b4d-42b6-5258-e46ec7504150", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -12,21 +12,21 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Wed, 05 Jan 2022 19:27:07 GMT", - "etag": "\"0x8D9D0815C862C10\"", - "last-modified": "Wed, 05 Jan 2022 19:27:07 GMT", + "date": "Fri, 12 Aug 2022 03:02:51 GMT", + "etag": "\"0x8DA7C0F254AD696\"", + "last-modified": "Fri, 12 Aug 2022 03:02:51 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "59fc4c8d-92b3-4493-5ef3-9d39ec14647a", - "x-ms-request-id": "6c74efcf-101a-007d-056a-02ce24000000", - "x-ms-version": "2020-02-10" + "x-ms-client-request-id": "51901653-1b4d-42b6-5258-e46ec7504150", + "x-ms-request-id": "9ae87dbb-d01a-0062-53f8-adac81000000", + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c2s4194816?restype=share" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "97e3dca3-a91b-4d71-45d4-b3d9280c4313", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "0b41672c-1aa2-43bc-54ed-6d1a5aeb64ff", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -34,29 +34,29 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Wed, 05 Jan 2022 19:27:07 GMT", - "etag": "\"0x8D9D0815C89E26F\"", - "last-modified": "Wed, 05 Jan 2022 19:27:07 GMT", + "date": "Fri, 12 Aug 2022 03:02:51 GMT", + "etag": "\"0x8DA7C0F2577FBE0\"", + "last-modified": "Fri, 12 Aug 2022 03:02:52 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "97e3dca3-a91b-4d71-45d4-b3d9280c4313", + "x-ms-client-request-id": "0b41672c-1aa2-43bc-54ed-6d1a5aeb64ff", "x-ms-file-attributes": "Directory", - "x-ms-file-change-time": "2022-01-05T19:27:07.1534703Z", - "x-ms-file-creation-time": "2022-01-05T19:27:07.1534703Z", + "x-ms-file-change-time": "2022-08-12T03:02:52.1320416Z", + "x-ms-file-creation-time": "2022-08-12T03:02:52.1320416Z", "x-ms-file-id": "13835128424026341376", - "x-ms-file-last-write-time": "2022-01-05T19:27:07.1534703Z", + "x-ms-file-last-write-time": "2022-08-12T03:02:52.1320416Z", "x-ms-file-parent-id": "0", - "x-ms-file-permission-key": "16667920363481994929*10343500956293103928", - "x-ms-request-id": "6c74efd2-101a-007d-066a-02ce24000000", + "x-ms-file-permission-key": "13199961128260716138*16137673612980802019", + "x-ms-request-id": "9ae87dbe-d01a-0062-55f8-adac81000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c2s4194816/fromBuffer-c2s4194816base?restype=directory" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "42d7e114-000a-459f-6c69-adba80b7f267", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "b18bdba8-543b-4136-70d2-6f3d5251ba45", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -64,29 +64,29 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Wed, 05 Jan 2022 19:27:07 GMT", - "etag": "\"0x8D9D0815C8C2C0A\"", - "last-modified": "Wed, 05 Jan 2022 19:27:07 GMT", + "date": "Fri, 12 Aug 2022 03:02:52 GMT", + "etag": "\"0x8DA7C0F25A546D9\"", + "last-modified": "Fri, 12 Aug 2022 03:02:52 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "42d7e114-000a-459f-6c69-adba80b7f267", + "x-ms-client-request-id": "b18bdba8-543b-4136-70d2-6f3d5251ba45", "x-ms-file-attributes": "Archive", - "x-ms-file-change-time": "2022-01-05T19:27:07.1684618Z", - "x-ms-file-creation-time": "2022-01-05T19:27:07.1684618Z", + "x-ms-file-change-time": "2022-08-12T03:02:52.4288729Z", + "x-ms-file-creation-time": "2022-08-12T03:02:52.4288729Z", "x-ms-file-id": "11529285414812647424", - "x-ms-file-last-write-time": "2022-01-05T19:27:07.1684618Z", + "x-ms-file-last-write-time": "2022-08-12T03:02:52.4288729Z", "x-ms-file-parent-id": "13835128424026341376", - "x-ms-file-permission-key": "2822515689773754806*10343500956293103928", - "x-ms-request-id": "6c74efd4-101a-007d-076a-02ce24000000", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", + "x-ms-request-id": "9ae87dc4-d01a-0062-59f8-adac81000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c2s4194816/fromBuffer-c2s4194816base/fromBuffer-c2s4194816basefile" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "ffc8dd0e-88d0-4136-6eb5-ad01ae3bd2de", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "86c99937-097e-42c3-6e87-57e2130cd823", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -94,29 +94,29 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Wed, 05 Jan 2022 19:27:07 GMT", - "etag": "\"0x8D9D0815C8E4E99\"", - "last-modified": "Wed, 05 Jan 2022 19:27:07 GMT", + "date": "Fri, 12 Aug 2022 03:02:52 GMT", + "etag": "\"0x8DA7C0F25D26AC7\"", + "last-modified": "Fri, 12 Aug 2022 03:02:52 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "ffc8dd0e-88d0-4136-6eb5-ad01ae3bd2de", + "x-ms-client-request-id": "86c99937-097e-42c3-6e87-57e2130cd823", "x-ms-file-attributes": "Archive", - "x-ms-file-change-time": "2022-01-05T19:27:07.1824537Z", - "x-ms-file-creation-time": "2022-01-05T19:27:07.1824537Z", + "x-ms-file-change-time": "2022-08-12T03:02:52.7247047Z", + "x-ms-file-creation-time": "2022-08-12T03:02:52.7247047Z", "x-ms-file-id": "16140971433240035328", - "x-ms-file-last-write-time": "2022-01-05T19:27:07.1824537Z", + "x-ms-file-last-write-time": "2022-08-12T03:02:52.7247047Z", "x-ms-file-parent-id": "13835128424026341376", - "x-ms-file-permission-key": "2822515689773754806*10343500956293103928", - "x-ms-request-id": "6c74efd5-101a-007d-086a-02ce24000000", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", + "x-ms-request-id": "9ae87dd7-d01a-0062-5bf8-adac81000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c2s4194816/fromBuffer-c2s4194816base/fromBuffer-c2s4194816" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "bc6165b8-4b0d-4000-5d66-74251c0f4d1f", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "7d239cc0-9fdf-4271-4378-da309d81864a", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -125,22 +125,23 @@ "STATUS_CODE": "201", "content-length": "0", "content-md5": "nFkLbTKd2Z20QGQK8HKyjA==", - "date": "Wed, 05 Jan 2022 19:27:07 GMT", - "etag": "\"0x8D9D0815C9AF6F3\"", - "last-modified": "Wed, 05 Jan 2022 19:27:07 GMT", + "date": "Fri, 12 Aug 2022 03:02:52 GMT", + "etag": "\"0x8DA7C0F26018A3F\"", + "last-modified": "Fri, 12 Aug 2022 03:02:53 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "bc6165b8-4b0d-4000-5d66-74251c0f4d1f", - "x-ms-request-id": "6c74efd7-101a-007d-0a6a-02ce24000000", + "x-ms-client-request-id": "7d239cc0-9fdf-4271-4378-da309d81864a", + "x-ms-file-last-write-time": "2022-08-12T03:02:53.0335295Z", + "x-ms-request-id": "9ae87dda-d01a-0062-5ef8-adac81000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c2s4194816/fromBuffer-c2s4194816base/fromBuffer-c2s4194816?comp=range" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "2c446e2f-9790-413d-635b-4828c7e53bc3", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "66a9a65e-72c2-45a7-5363-310093fe91cd", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -149,22 +150,23 @@ "STATUS_CODE": "201", "content-length": "0", "content-md5": "nFkLbTKd2Z20QGQK8HKyjA==", - "date": "Wed, 05 Jan 2022 19:27:06 GMT", - "etag": "\"0x8D9D0815C9E2AC6\"", - "last-modified": "Wed, 05 Jan 2022 19:27:07 GMT", + "date": "Fri, 12 Aug 2022 03:02:53 GMT", + "etag": "\"0x8DA7C0F26300D93\"", + "last-modified": "Fri, 12 Aug 2022 03:02:53 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "2c446e2f-9790-413d-635b-4828c7e53bc3", - "x-ms-request-id": "65911882-b01a-0016-436a-0249d0000000", + "x-ms-client-request-id": "66a9a65e-72c2-45a7-5363-310093fe91cd", + "x-ms-file-last-write-time": "2022-08-12T03:02:53.3383571Z", + "x-ms-request-id": "9ae87ddb-d01a-0062-5ff8-adac81000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c2s4194816/fromBuffer-c2s4194816base/fromBuffer-c2s4194816?comp=range" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "aef273a0-96e8-402b-71e5-a94166d637a8", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "dbd258de-2549-47ab-63d4-326feca3e07c", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -173,22 +175,23 @@ "STATUS_CODE": "201", "content-length": "0", "content-md5": "nFkLbTKd2Z20QGQK8HKyjA==", - "date": "Wed, 05 Jan 2022 19:27:07 GMT", - "etag": "\"0x8D9D0815CA296F1\"", - "last-modified": "Wed, 05 Jan 2022 19:27:07 GMT", + "date": "Fri, 12 Aug 2022 03:02:53 GMT", + "etag": "\"0x8DA7C0F268A556C\"", + "last-modified": "Fri, 12 Aug 2022 03:02:53 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "aef273a0-96e8-402b-71e5-a94166d637a8", - "x-ms-request-id": "6c74efd8-101a-007d-0b6a-02ce24000000", + "x-ms-client-request-id": "dbd258de-2549-47ab-63d4-326feca3e07c", + "x-ms-file-last-write-time": "2022-08-12T03:02:53.9300204Z", + "x-ms-request-id": "9ae87ddf-d01a-0062-60f8-adac81000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c2s4194816/fromBuffer-c2s4194816base/fromBuffer-c2s4194816?comp=range" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "26623e5d-b5c0-4e69-6120-6406da2d6894", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "3fe888d8-37e9-4875-6260-9c2f88c65b00", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -197,22 +200,23 @@ "STATUS_CODE": "201", "content-length": "0", "content-md5": "nFkLbTKd2Z20QGQK8HKyjA==", - "date": "Wed, 05 Jan 2022 19:27:06 GMT", - "etag": "\"0x8D9D0815CA5F1D2\"", - "last-modified": "Wed, 05 Jan 2022 19:27:07 GMT", + "date": "Fri, 12 Aug 2022 03:02:54 GMT", + "etag": "\"0x8DA7C0F26B8FFC8\"", + "last-modified": "Fri, 12 Aug 2022 03:02:54 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "26623e5d-b5c0-4e69-6120-6406da2d6894", - "x-ms-request-id": "65911886-b01a-0016-446a-0249d0000000", + "x-ms-client-request-id": "3fe888d8-37e9-4875-6260-9c2f88c65b00", + "x-ms-file-last-write-time": "2022-08-12T03:02:54.2358472Z", + "x-ms-request-id": "9ae87de2-d01a-0062-61f8-adac81000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c2s4194816/fromBuffer-c2s4194816base/fromBuffer-c2s4194816?comp=range" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "8dc0edcc-8009-4d22-4de0-a3e710c9672a", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "096669a3-e388-406f-7a21-f7abf6bc57ce", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -221,22 +225,23 @@ "STATUS_CODE": "201", "content-length": "0", "content-md5": "nFkLbTKd2Z20QGQK8HKyjA==", - "date": "Wed, 05 Jan 2022 19:27:07 GMT", - "etag": "\"0x8D9D0815CA925AA\"", - "last-modified": "Wed, 05 Jan 2022 19:27:07 GMT", + "date": "Fri, 12 Aug 2022 03:02:54 GMT", + "etag": "\"0x8DA7C0F26E78314\"", + "last-modified": "Fri, 12 Aug 2022 03:02:54 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "8dc0edcc-8009-4d22-4de0-a3e710c9672a", - "x-ms-request-id": "6c74efd9-101a-007d-0c6a-02ce24000000", + "x-ms-client-request-id": "096669a3-e388-406f-7a21-f7abf6bc57ce", + "x-ms-file-last-write-time": "2022-08-12T03:02:54.5406740Z", + "x-ms-request-id": "9ae87de3-d01a-0062-62f8-adac81000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c2s4194816/fromBuffer-c2s4194816base/fromBuffer-c2s4194816?comp=range" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "92931d54-3fc0-45ed-7079-eee2cca0fd9b", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "302556a0-c9e7-4a2e-473f-74cc11034bbc", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -245,22 +250,23 @@ "STATUS_CODE": "201", "content-length": "0", "content-md5": "nFkLbTKd2Z20QGQK8HKyjA==", - "date": "Wed, 05 Jan 2022 19:27:06 GMT", - "etag": "\"0x8D9D0815CACA797\"", - "last-modified": "Wed, 05 Jan 2022 19:27:07 GMT", + "date": "Fri, 12 Aug 2022 03:02:54 GMT", + "etag": "\"0x8DA7C0F2715913B\"", + "last-modified": "Fri, 12 Aug 2022 03:02:54 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "92931d54-3fc0-45ed-7079-eee2cca0fd9b", - "x-ms-request-id": "65911887-b01a-0016-456a-0249d0000000", + "x-ms-client-request-id": "302556a0-c9e7-4a2e-473f-74cc11034bbc", + "x-ms-file-last-write-time": "2022-08-12T03:02:54.8425019Z", + "x-ms-request-id": "9ae87de4-d01a-0062-63f8-adac81000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c2s4194816/fromBuffer-c2s4194816base/fromBuffer-c2s4194816?comp=range" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "44a249f2-4779-4104-6a8c-758c5d115a46", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "c5c1f2bf-a9ed-4e6a-735f-8f43b3fdbbb1", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -269,22 +275,23 @@ "STATUS_CODE": "201", "content-length": "0", "content-md5": "nFkLbTKd2Z20QGQK8HKyjA==", - "date": "Wed, 05 Jan 2022 19:27:07 GMT", - "etag": "\"0x8D9D0815CAF183E\"", - "last-modified": "Wed, 05 Jan 2022 19:27:07 GMT", + "date": "Fri, 12 Aug 2022 03:02:54 GMT", + "etag": "\"0x8DA7C0F2743ED85\"", + "last-modified": "Fri, 12 Aug 2022 03:02:55 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "44a249f2-4779-4104-6a8c-758c5d115a46", - "x-ms-request-id": "6c74efdb-101a-007d-0e6a-02ce24000000", + "x-ms-client-request-id": "c5c1f2bf-a9ed-4e6a-735f-8f43b3fdbbb1", + "x-ms-file-last-write-time": "2022-08-12T03:02:55.1463301Z", + "x-ms-request-id": "9ae87de6-d01a-0062-64f8-adac81000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c2s4194816/fromBuffer-c2s4194816base/fromBuffer-c2s4194816?comp=range" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "e9dd9b93-291b-4afb-717e-5e528a778854", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "b95c0ed2-469e-4ab1-64e5-92222f65d48b", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -293,22 +300,23 @@ "STATUS_CODE": "201", "content-length": "0", "content-md5": "kUe8Hw8g6K4ZMuYWtRJA+w==", - "date": "Wed, 05 Jan 2022 19:27:07 GMT", - "etag": "\"0x8D9D0815CB188E7\"", - "last-modified": "Wed, 05 Jan 2022 19:27:07 GMT", + "date": "Fri, 12 Aug 2022 03:02:55 GMT", + "etag": "\"0x8DA7C0F27711170\"", + "last-modified": "Fri, 12 Aug 2022 03:02:55 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "e9dd9b93-291b-4afb-717e-5e528a778854", - "x-ms-request-id": "6c74efdc-101a-007d-0f6a-02ce24000000", + "x-ms-client-request-id": "b95c0ed2-469e-4ab1-64e5-92222f65d48b", + "x-ms-file-last-write-time": "2022-08-12T03:02:55.4421616Z", + "x-ms-request-id": "9ae87de7-d01a-0062-65f8-adac81000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c2s4194816/fromBuffer-c2s4194816base/fromBuffer-c2s4194816?comp=range" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "73a173c4-62d4-4b91-7158-bd3ac6663ea1", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "411c4c74-b5c1-430c-5440-994afa360cff", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -317,22 +325,23 @@ "STATUS_CODE": "201", "content-length": "0", "content-md5": "nFkLbTKd2Z20QGQK8HKyjA==", - "date": "Wed, 05 Jan 2022 19:27:06 GMT", - "etag": "\"0x8D9D0815CB2C132\"", - "last-modified": "Wed, 05 Jan 2022 19:27:07 GMT", + "date": "Fri, 12 Aug 2022 03:03:16 GMT", + "etag": "\"0x8DA7C0F343AD023\"", + "last-modified": "Fri, 12 Aug 2022 03:03:16 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "73a173c4-62d4-4b91-7158-bd3ac6663ea1", - "x-ms-request-id": "65911888-b01a-0016-466a-0249d0000000", + "x-ms-client-request-id": "411c4c74-b5c1-430c-5440-994afa360cff", + "x-ms-file-last-write-time": "2022-08-12T03:03:16.8969763Z", + "x-ms-request-id": "9ae87e15-d01a-0062-03f8-adac81000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c2s4194816/fromBuffer-c2s4194816base/fromBuffer-c2s4194816?comp=range" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "e84095e0-2ddb-4cf4-6d5e-d2c29de66c79", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "875acc87-8c6c-40b4-6074-d191af829d73", + "x-ms-version": "2021-06-08" }, "Method": "HEAD", "Response": { @@ -345,18 +354,18 @@ "content-language": "en-US", "content-length": "4194816", "content-type": "application/octet-stream", - "date": "Wed, 05 Jan 2022 19:27:06 GMT", - "etag": "\"0x8D9D0815CB2C132\"", - "last-modified": "Wed, 05 Jan 2022 19:27:07 GMT", + "date": "Fri, 12 Aug 2022 03:03:16 GMT", + "etag": "\"0x8DA7C0F343AD023\"", + "last-modified": "Fri, 12 Aug 2022 03:03:16 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "e84095e0-2ddb-4cf4-6d5e-d2c29de66c79", + "x-ms-client-request-id": "875acc87-8c6c-40b4-6074-d191af829d73", "x-ms-file-attributes": "Archive", - "x-ms-file-change-time": "2022-01-05T19:27:07.1824537Z", - "x-ms-file-creation-time": "2022-01-05T19:27:07.1824537Z", + "x-ms-file-change-time": "2022-08-12T03:03:16.8969763Z", + "x-ms-file-creation-time": "2022-08-12T03:02:52.7247047Z", "x-ms-file-id": "16140971433240035328", - "x-ms-file-last-write-time": "2022-01-05T19:27:07.1824537Z", + "x-ms-file-last-write-time": "2022-08-12T03:03:16.8969763Z", "x-ms-file-parent-id": "13835128424026341376", - "x-ms-file-permission-key": "2822515689773754806*10343500956293103928", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", "x-ms-lease-state": "available", "x-ms-lease-status": "unlocked", "x-ms-meta-meta0": "value", @@ -364,18 +373,18 @@ "x-ms-meta-meta2": "value", "x-ms-meta-meta3": "value", "x-ms-meta-meta4": "value", - "x-ms-request-id": "65911889-b01a-0016-476a-0249d0000000", + "x-ms-request-id": "9ae87e18-d01a-0062-04f8-adac81000000", "x-ms-server-encrypted": "true", "x-ms-type": "File", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c2s4194816/fromBuffer-c2s4194816base/fromBuffer-c2s4194816" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "8ac92bcb-7de2-4ddb-5cea-37ddb3447cd7", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "b60cd286-b696-4081-4575-38bcc81aa032", + "x-ms-version": "2021-06-08" }, "Method": "GET", "Response": { @@ -389,18 +398,18 @@ "content-language": "en-US", "content-length": "4194816", "content-type": "application/octet-stream", - "date": "Wed, 05 Jan 2022 19:27:06 GMT", - "etag": "\"0x8D9D0815CB2C132\"", - "last-modified": "Wed, 05 Jan 2022 19:27:07 GMT", + "date": "Fri, 12 Aug 2022 03:03:17 GMT", + "etag": "\"0x8DA7C0F343AD023\"", + "last-modified": "Fri, 12 Aug 2022 03:03:16 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "8ac92bcb-7de2-4ddb-5cea-37ddb3447cd7", + "x-ms-client-request-id": "b60cd286-b696-4081-4575-38bcc81aa032", "x-ms-file-attributes": "Archive", - "x-ms-file-change-time": "2022-01-05T19:27:07.1824537Z", - "x-ms-file-creation-time": "2022-01-05T19:27:07.1824537Z", + "x-ms-file-change-time": "2022-08-12T03:03:16.8969763Z", + "x-ms-file-creation-time": "2022-08-12T03:02:52.7247047Z", "x-ms-file-id": "16140971433240035328", - "x-ms-file-last-write-time": "2022-01-05T19:27:07.1824537Z", + "x-ms-file-last-write-time": "2022-08-12T03:03:16.8969763Z", "x-ms-file-parent-id": "13835128424026341376", - "x-ms-file-permission-key": "2822515689773754806*10343500956293103928", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", "x-ms-lease-state": "available", "x-ms-lease-status": "unlocked", "x-ms-meta-meta0": "value", @@ -408,18 +417,18 @@ "x-ms-meta-meta2": "value", "x-ms-meta-meta3": "value", "x-ms-meta-meta4": "value", - "x-ms-request-id": "6591188a-b01a-0016-486a-0249d0000000", + "x-ms-request-id": "9ae87e1c-d01a-0062-08f8-adac81000000", "x-ms-server-encrypted": "true", "x-ms-type": "File", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c2s4194816/fromBuffer-c2s4194816base/fromBuffer-c2s4194816" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "a4881daf-47c5-477b-46a9-38101ce98b27", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "5b51c1c6-0eba-469f-4d7b-b3e855ac520b", + "x-ms-version": "2021-06-08" }, "Method": "DELETE", "Response": { @@ -427,19 +436,19 @@ "REASON_PHRASE": "Accepted", "STATUS_CODE": "202", "content-length": "0", - "date": "Wed, 05 Jan 2022 19:27:06 GMT", + "date": "Fri, 12 Aug 2022 03:03:20 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "a4881daf-47c5-477b-46a9-38101ce98b27", - "x-ms-request-id": "6591188c-b01a-0016-496a-0249d0000000", - "x-ms-version": "2020-02-10" + "x-ms-client-request-id": "5b51c1c6-0eba-469f-4d7b-b3e855ac520b", + "x-ms-request-id": "9ae87e45-d01a-0062-0cf8-adac81000000", + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c2s4194816?restype=share" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "e8466d6c-fb98-4d81-6e45-44fcc435bfa8", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "3aff0281-c289-4e3f-4aff-a7437e609bac", + "x-ms-version": "2021-06-08" }, "Method": "DELETE", "Response": { @@ -447,19 +456,19 @@ "REASON_PHRASE": "Accepted", "STATUS_CODE": "202", "content-length": "0", - "date": "Wed, 05 Jan 2022 19:27:06 GMT", + "date": "Fri, 12 Aug 2022 03:03:20 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "e8466d6c-fb98-4d81-6e45-44fcc435bfa8", - "x-ms-request-id": "6591188d-b01a-0016-4a6a-0249d0000000", - "x-ms-version": "2020-02-10" + "x-ms-client-request-id": "3aff0281-c289-4e3f-4aff-a7437e609bac", + "x-ms-request-id": "9ae87e46-d01a-0062-0df8-adac81000000", + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c2s4194816?restype=share" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "2c56ed79-5499-4f07-6b84-50ebd4823d8a", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "d5a13eea-0e95-42d4-7ae4-3c87142ed7e4", + "x-ms-version": "2021-06-08" }, "Method": "DELETE", "Response": { @@ -467,11 +476,11 @@ "REASON_PHRASE": "Accepted", "STATUS_CODE": "202", "content-length": "0", - "date": "Wed, 05 Jan 2022 19:27:06 GMT", + "date": "Fri, 12 Aug 2022 03:03:20 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "2c56ed79-5499-4f07-6b84-50ebd4823d8a", - "x-ms-request-id": "6591188e-b01a-0016-4b6a-0249d0000000", - "x-ms-version": "2020-02-10" + "x-ms-client-request-id": "d5a13eea-0e95-42d4-7ae4-3c87142ed7e4", + "x-ms-request-id": "9ae87e47-d01a-0062-0ef8-adac81000000", + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c2s4194816?restype=share" } diff --git a/sdk/storage/azure-storage-files-shares/test/ut/recordings/withParam-UploadShare.fromBuffer-c2s512.json b/sdk/storage/azure-storage-files-shares/test/ut/recordings/withParam-UploadShare.fromBuffer-c2s512.json index fe44314b30..08893744f2 100644 --- a/sdk/storage/azure-storage-files-shares/test/ut/recordings/withParam-UploadShare.fromBuffer-c2s512.json +++ b/sdk/storage/azure-storage-files-shares/test/ut/recordings/withParam-UploadShare.fromBuffer-c2s512.json @@ -2,9 +2,9 @@ "networkCallRecords": [ { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "280c15f2-8b4c-4433-559e-f9c1d7904da0", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "83492eb9-618c-49e6-5da3-696c8b5986fe", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -12,21 +12,21 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Wed, 05 Jan 2022 19:27:05 GMT", - "etag": "\"0x8D9D0815BCB3FFE\"", - "last-modified": "Wed, 05 Jan 2022 19:27:05 GMT", + "date": "Fri, 12 Aug 2022 03:02:39 GMT", + "etag": "\"0x8DA7C0F1E01770F\"", + "last-modified": "Fri, 12 Aug 2022 03:02:39 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "280c15f2-8b4c-4433-559e-f9c1d7904da0", - "x-ms-request-id": "f94915b4-301a-0027-6b6a-02a8c3000000", - "x-ms-version": "2020-02-10" + "x-ms-client-request-id": "83492eb9-618c-49e6-5da3-696c8b5986fe", + "x-ms-request-id": "9ae87c2f-d01a-0062-63f7-adac81000000", + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c2s512?restype=share" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "01c4db1e-b86c-4b97-42e7-9546e4e1a274", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "3813ecdb-3c5e-4f29-6277-5ee97a2d81a7", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -34,29 +34,29 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Wed, 05 Jan 2022 19:27:05 GMT", - "etag": "\"0x8D9D0815BCF1247\"", - "last-modified": "Wed, 05 Jan 2022 19:27:05 GMT", + "date": "Fri, 12 Aug 2022 03:02:39 GMT", + "etag": "\"0x8DA7C0F1E2EBDA5\"", + "last-modified": "Fri, 12 Aug 2022 03:02:39 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "01c4db1e-b86c-4b97-42e7-9546e4e1a274", + "x-ms-client-request-id": "3813ecdb-3c5e-4f29-6277-5ee97a2d81a7", "x-ms-file-attributes": "Directory", - "x-ms-file-change-time": "2022-01-05T19:27:05.9291719Z", - "x-ms-file-creation-time": "2022-01-05T19:27:05.9291719Z", + "x-ms-file-change-time": "2022-08-12T03:02:39.9079845Z", + "x-ms-file-creation-time": "2022-08-12T03:02:39.9079845Z", "x-ms-file-id": "13835128424026341376", - "x-ms-file-last-write-time": "2022-01-05T19:27:05.9291719Z", + "x-ms-file-last-write-time": "2022-08-12T03:02:39.9079845Z", "x-ms-file-parent-id": "0", - "x-ms-file-permission-key": "16667920363481994929*10343500956293103928", - "x-ms-request-id": "f94915b7-301a-0027-6c6a-02a8c3000000", + "x-ms-file-permission-key": "13199961128260716138*16137673612980802019", + "x-ms-request-id": "9ae87c46-d01a-0062-79f7-adac81000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c2s512/fromBuffer-c2s512base?restype=directory" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "8e4a3f5b-6804-454a-64a4-fe7ff02ee39f", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "8f96b159-65a9-4144-55be-1cd69a67ee50", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -64,29 +64,29 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Wed, 05 Jan 2022 19:27:05 GMT", - "etag": "\"0x8D9D0815BD1A9F3\"", - "last-modified": "Wed, 05 Jan 2022 19:27:05 GMT", + "date": "Fri, 12 Aug 2022 03:02:39 GMT", + "etag": "\"0x8DA7C0F1E5C7DC7\"", + "last-modified": "Fri, 12 Aug 2022 03:02:40 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "8e4a3f5b-6804-454a-64a4-fe7ff02ee39f", + "x-ms-client-request-id": "8f96b159-65a9-4144-55be-1cd69a67ee50", "x-ms-file-attributes": "Archive", - "x-ms-file-change-time": "2022-01-05T19:27:05.9461619Z", - "x-ms-file-creation-time": "2022-01-05T19:27:05.9461619Z", + "x-ms-file-change-time": "2022-08-12T03:02:40.2078151Z", + "x-ms-file-creation-time": "2022-08-12T03:02:40.2078151Z", "x-ms-file-id": "11529285414812647424", - "x-ms-file-last-write-time": "2022-01-05T19:27:05.9461619Z", + "x-ms-file-last-write-time": "2022-08-12T03:02:40.2078151Z", "x-ms-file-parent-id": "13835128424026341376", - "x-ms-file-permission-key": "2822515689773754806*10343500956293103928", - "x-ms-request-id": "f94915b9-301a-0027-6d6a-02a8c3000000", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", + "x-ms-request-id": "9ae87c66-d01a-0062-19f7-adac81000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c2s512/fromBuffer-c2s512base/fromBuffer-c2s512basefile" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "d7f20d4d-7545-49f1-5b19-071cc9c74b72", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "0114e020-fa01-43fc-583d-4aff3c289800", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -94,29 +94,29 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Wed, 05 Jan 2022 19:27:05 GMT", - "etag": "\"0x8D9D0815BD3CC89\"", - "last-modified": "Wed, 05 Jan 2022 19:27:05 GMT", + "date": "Fri, 12 Aug 2022 03:02:40 GMT", + "etag": "\"0x8DA7C0F1E89EFBC\"", + "last-modified": "Fri, 12 Aug 2022 03:02:40 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "d7f20d4d-7545-49f1-5b19-071cc9c74b72", + "x-ms-client-request-id": "0114e020-fa01-43fc-583d-4aff3c289800", "x-ms-file-attributes": "Archive", - "x-ms-file-change-time": "2022-01-05T19:27:05.9601545Z", - "x-ms-file-creation-time": "2022-01-05T19:27:05.9601545Z", + "x-ms-file-change-time": "2022-08-12T03:02:40.5056444Z", + "x-ms-file-creation-time": "2022-08-12T03:02:40.5056444Z", "x-ms-file-id": "16140971433240035328", - "x-ms-file-last-write-time": "2022-01-05T19:27:05.9601545Z", + "x-ms-file-last-write-time": "2022-08-12T03:02:40.5056444Z", "x-ms-file-parent-id": "13835128424026341376", - "x-ms-file-permission-key": "2822515689773754806*10343500956293103928", - "x-ms-request-id": "f94915ba-301a-0027-6e6a-02a8c3000000", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", + "x-ms-request-id": "9ae87c77-d01a-0062-2af7-adac81000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c2s512/fromBuffer-c2s512base/fromBuffer-c2s512" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "9470a5c3-9150-4074-5e45-713c8b64199f", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "fbb6c8a6-060e-4015-6f99-36f5f03c6185", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -125,22 +125,23 @@ "STATUS_CODE": "201", "content-length": "0", "content-md5": "kUe8Hw8g6K4ZMuYWtRJA+w==", - "date": "Wed, 05 Jan 2022 19:27:05 GMT", - "etag": "\"0x8D9D0815BD70061\"", - "last-modified": "Wed, 05 Jan 2022 19:27:05 GMT", + "date": "Fri, 12 Aug 2022 03:02:40 GMT", + "etag": "\"0x8DA7C0F1EB73AB6\"", + "last-modified": "Fri, 12 Aug 2022 03:02:40 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "9470a5c3-9150-4074-5e45-713c8b64199f", - "x-ms-request-id": "f94915bb-301a-0027-6f6a-02a8c3000000", + "x-ms-client-request-id": "fbb6c8a6-060e-4015-6f99-36f5f03c6185", + "x-ms-file-last-write-time": "2022-08-12T03:02:40.8024758Z", + "x-ms-request-id": "9ae87c8a-d01a-0062-3df7-adac81000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c2s512/fromBuffer-c2s512base/fromBuffer-c2s512?comp=range" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "f7b14fce-c5e8-41f4-520f-70a57b3a3e6f", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "3aee8f8e-0f6a-4904-4d31-47b4cc6d60e9", + "x-ms-version": "2021-06-08" }, "Method": "HEAD", "Response": { @@ -153,18 +154,18 @@ "content-language": "en-US", "content-length": "512", "content-type": "application/octet-stream", - "date": "Wed, 05 Jan 2022 19:27:05 GMT", - "etag": "\"0x8D9D0815BD70061\"", - "last-modified": "Wed, 05 Jan 2022 19:27:05 GMT", + "date": "Fri, 12 Aug 2022 03:02:40 GMT", + "etag": "\"0x8DA7C0F1EB73AB6\"", + "last-modified": "Fri, 12 Aug 2022 03:02:40 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "f7b14fce-c5e8-41f4-520f-70a57b3a3e6f", + "x-ms-client-request-id": "3aee8f8e-0f6a-4904-4d31-47b4cc6d60e9", "x-ms-file-attributes": "Archive", - "x-ms-file-change-time": "2022-01-05T19:27:05.9601545Z", - "x-ms-file-creation-time": "2022-01-05T19:27:05.9601545Z", + "x-ms-file-change-time": "2022-08-12T03:02:40.8024758Z", + "x-ms-file-creation-time": "2022-08-12T03:02:40.5056444Z", "x-ms-file-id": "16140971433240035328", - "x-ms-file-last-write-time": "2022-01-05T19:27:05.9601545Z", + "x-ms-file-last-write-time": "2022-08-12T03:02:40.8024758Z", "x-ms-file-parent-id": "13835128424026341376", - "x-ms-file-permission-key": "2822515689773754806*10343500956293103928", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", "x-ms-lease-state": "available", "x-ms-lease-status": "unlocked", "x-ms-meta-meta0": "value", @@ -172,18 +173,18 @@ "x-ms-meta-meta2": "value", "x-ms-meta-meta3": "value", "x-ms-meta-meta4": "value", - "x-ms-request-id": "f94915bc-301a-0027-706a-02a8c3000000", + "x-ms-request-id": "9ae87c9b-d01a-0062-4ef7-adac81000000", "x-ms-server-encrypted": "true", "x-ms-type": "File", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c2s512/fromBuffer-c2s512base/fromBuffer-c2s512" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "03f169de-487a-490f-65d0-b1f86c4a30da", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "d2e94ea2-4740-4b5f-700a-7c6973839796", + "x-ms-version": "2021-06-08" }, "Method": "GET", "Response": { @@ -197,18 +198,18 @@ "content-language": "en-US", "content-length": "512", "content-type": "application/octet-stream", - "date": "Wed, 05 Jan 2022 19:27:05 GMT", - "etag": "\"0x8D9D0815BD70061\"", - "last-modified": "Wed, 05 Jan 2022 19:27:05 GMT", + "date": "Fri, 12 Aug 2022 03:02:41 GMT", + "etag": "\"0x8DA7C0F1EB73AB6\"", + "last-modified": "Fri, 12 Aug 2022 03:02:40 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "03f169de-487a-490f-65d0-b1f86c4a30da", + "x-ms-client-request-id": "d2e94ea2-4740-4b5f-700a-7c6973839796", "x-ms-file-attributes": "Archive", - "x-ms-file-change-time": "2022-01-05T19:27:05.9601545Z", - "x-ms-file-creation-time": "2022-01-05T19:27:05.9601545Z", + "x-ms-file-change-time": "2022-08-12T03:02:40.8024758Z", + "x-ms-file-creation-time": "2022-08-12T03:02:40.5056444Z", "x-ms-file-id": "16140971433240035328", - "x-ms-file-last-write-time": "2022-01-05T19:27:05.9601545Z", + "x-ms-file-last-write-time": "2022-08-12T03:02:40.8024758Z", "x-ms-file-parent-id": "13835128424026341376", - "x-ms-file-permission-key": "2822515689773754806*10343500956293103928", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", "x-ms-lease-state": "available", "x-ms-lease-status": "unlocked", "x-ms-meta-meta0": "value", @@ -216,18 +217,18 @@ "x-ms-meta-meta2": "value", "x-ms-meta-meta3": "value", "x-ms-meta-meta4": "value", - "x-ms-request-id": "f94915be-301a-0027-726a-02a8c3000000", + "x-ms-request-id": "9ae87ca8-d01a-0062-5bf7-adac81000000", "x-ms-server-encrypted": "true", "x-ms-type": "File", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c2s512/fromBuffer-c2s512base/fromBuffer-c2s512" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "1afce64e-1796-48dd-6811-cdf5665d8dcc", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "098200a6-a583-4b5b-4457-abca797c8c74", + "x-ms-version": "2021-06-08" }, "Method": "DELETE", "Response": { @@ -235,19 +236,19 @@ "REASON_PHRASE": "Accepted", "STATUS_CODE": "202", "content-length": "0", - "date": "Wed, 05 Jan 2022 19:27:05 GMT", + "date": "Fri, 12 Aug 2022 03:02:41 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "1afce64e-1796-48dd-6811-cdf5665d8dcc", - "x-ms-request-id": "f94915bf-301a-0027-736a-02a8c3000000", - "x-ms-version": "2020-02-10" + "x-ms-client-request-id": "098200a6-a583-4b5b-4457-abca797c8c74", + "x-ms-request-id": "9ae87cbc-d01a-0062-6cf7-adac81000000", + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c2s512?restype=share" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "0f92b4b8-b9c9-44ba-7874-d14b19ad91ad", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "9f7f56ec-af32-42ba-4949-5695e12bcd4a", + "x-ms-version": "2021-06-08" }, "Method": "DELETE", "Response": { @@ -255,19 +256,19 @@ "REASON_PHRASE": "Accepted", "STATUS_CODE": "202", "content-length": "0", - "date": "Wed, 05 Jan 2022 19:27:05 GMT", + "date": "Fri, 12 Aug 2022 03:02:41 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "0f92b4b8-b9c9-44ba-7874-d14b19ad91ad", - "x-ms-request-id": "f94915c0-301a-0027-746a-02a8c3000000", - "x-ms-version": "2020-02-10" + "x-ms-client-request-id": "9f7f56ec-af32-42ba-4949-5695e12bcd4a", + "x-ms-request-id": "9ae87cca-d01a-0062-7af7-adac81000000", + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c2s512?restype=share" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "d32dbb60-087d-4e83-7d14-4ff4ae2d08bc", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "310c8c39-d2fc-4bc7-5a5f-8d00d997aebf", + "x-ms-version": "2021-06-08" }, "Method": "DELETE", "Response": { @@ -275,11 +276,11 @@ "REASON_PHRASE": "Accepted", "STATUS_CODE": "202", "content-length": "0", - "date": "Wed, 05 Jan 2022 19:27:05 GMT", + "date": "Fri, 12 Aug 2022 03:02:42 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "d32dbb60-087d-4e83-7d14-4ff4ae2d08bc", - "x-ms-request-id": "f94915c1-301a-0027-756a-02a8c3000000", - "x-ms-version": "2020-02-10" + "x-ms-client-request-id": "310c8c39-d2fc-4bc7-5a5f-8d00d997aebf", + "x-ms-request-id": "9ae87ccf-d01a-0062-7ff7-adac81000000", + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c2s512?restype=share" } diff --git a/sdk/storage/azure-storage-files-shares/test/ut/recordings/withParam-UploadShare.fromBuffer-c5s0.json b/sdk/storage/azure-storage-files-shares/test/ut/recordings/withParam-UploadShare.fromBuffer-c5s0.json index 659afdab65..185a9ff735 100644 --- a/sdk/storage/azure-storage-files-shares/test/ut/recordings/withParam-UploadShare.fromBuffer-c5s0.json +++ b/sdk/storage/azure-storage-files-shares/test/ut/recordings/withParam-UploadShare.fromBuffer-c5s0.json @@ -2,9 +2,9 @@ "networkCallRecords": [ { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "51106c1d-fe89-416b-4800-1b2831e4e63a", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "7912c25c-1a21-43ef-647a-affc4e024541", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -12,21 +12,21 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Wed, 05 Jan 2022 19:27:07 GMT", - "etag": "\"0x8D9D0815CDB739A\"", - "last-modified": "Wed, 05 Jan 2022 19:27:07 GMT", + "date": "Fri, 12 Aug 2022 03:03:21 GMT", + "etag": "\"0x8DA7C0F36F1DB01\"", + "last-modified": "Fri, 12 Aug 2022 03:03:21 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "51106c1d-fe89-416b-4800-1b2831e4e63a", - "x-ms-request-id": "77f7fe0f-601a-0005-7f6a-026ddc000000", - "x-ms-version": "2020-02-10" + "x-ms-client-request-id": "7912c25c-1a21-43ef-647a-affc4e024541", + "x-ms-request-id": "9ae87e49-d01a-0062-0ff8-adac81000000", + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c5s0?restype=share" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "5963f770-0061-4299-7d87-79507c18504f", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "e0b46b75-2c9b-4c9d-5a98-abcc7cb5abf7", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -34,29 +34,29 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Wed, 05 Jan 2022 19:27:07 GMT", - "etag": "\"0x8D9D0815CDED3CC\"", - "last-modified": "Wed, 05 Jan 2022 19:27:07 GMT", + "date": "Fri, 12 Aug 2022 03:03:21 GMT", + "etag": "\"0x8DA7C0F371FD10C\"", + "last-modified": "Fri, 12 Aug 2022 03:03:21 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "5963f770-0061-4299-7d87-79507c18504f", + "x-ms-client-request-id": "e0b46b75-2c9b-4c9d-5a98-abcc7cb5abf7", "x-ms-file-attributes": "Directory", - "x-ms-file-change-time": "2022-01-05T19:27:07.7101516Z", - "x-ms-file-creation-time": "2022-01-05T19:27:07.7101516Z", + "x-ms-file-change-time": "2022-08-12T03:03:21.7532172Z", + "x-ms-file-creation-time": "2022-08-12T03:03:21.7532172Z", "x-ms-file-id": "13835128424026341376", - "x-ms-file-last-write-time": "2022-01-05T19:27:07.7101516Z", + "x-ms-file-last-write-time": "2022-08-12T03:03:21.7532172Z", "x-ms-file-parent-id": "0", - "x-ms-file-permission-key": "16667920363481994929*10343500956293103928", - "x-ms-request-id": "77f7fe12-601a-0005-806a-026ddc000000", + "x-ms-file-permission-key": "13199961128260716138*16137673612980802019", + "x-ms-request-id": "9ae87e4b-d01a-0062-10f8-adac81000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c5s0/fromBuffer-c5s0base?restype=directory" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "bf726faf-a1e7-428d-76d7-cbaa5b2f5475", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "2fe17beb-e71d-490a-5145-0813f7bd3224", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -64,29 +64,29 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Wed, 05 Jan 2022 19:27:07 GMT", - "etag": "\"0x8D9D0815CE1E098\"", - "last-modified": "Wed, 05 Jan 2022 19:27:07 GMT", + "date": "Fri, 12 Aug 2022 03:03:21 GMT", + "etag": "\"0x8DA7C0F374DDF3C\"", + "last-modified": "Fri, 12 Aug 2022 03:03:22 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "bf726faf-a1e7-428d-76d7-cbaa5b2f5475", + "x-ms-client-request-id": "2fe17beb-e71d-490a-5145-0813f7bd3224", "x-ms-file-attributes": "Archive", - "x-ms-file-change-time": "2022-01-05T19:27:07.7301400Z", - "x-ms-file-creation-time": "2022-01-05T19:27:07.7301400Z", + "x-ms-file-change-time": "2022-08-12T03:03:22.0550460Z", + "x-ms-file-creation-time": "2022-08-12T03:03:22.0550460Z", "x-ms-file-id": "11529285414812647424", - "x-ms-file-last-write-time": "2022-01-05T19:27:07.7301400Z", + "x-ms-file-last-write-time": "2022-08-12T03:03:22.0550460Z", "x-ms-file-parent-id": "13835128424026341376", - "x-ms-file-permission-key": "2822515689773754806*10343500956293103928", - "x-ms-request-id": "77f7fe13-601a-0005-016a-026ddc000000", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", + "x-ms-request-id": "9ae87e4c-d01a-0062-11f8-adac81000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c5s0/fromBuffer-c5s0base/fromBuffer-c5s0basefile" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "8bae3f3b-1d14-47cd-5c28-0f43e59ad0bd", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "1d6ec1e7-c64c-42d4-5382-32185490f5cf", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -94,29 +94,29 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Wed, 05 Jan 2022 19:27:07 GMT", - "etag": "\"0x8D9D0815CE40329\"", - "last-modified": "Wed, 05 Jan 2022 19:27:07 GMT", + "date": "Fri, 12 Aug 2022 03:03:22 GMT", + "etag": "\"0x8DA7C0F377B033E\"", + "last-modified": "Fri, 12 Aug 2022 03:03:22 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "8bae3f3b-1d14-47cd-5c28-0f43e59ad0bd", + "x-ms-client-request-id": "1d6ec1e7-c64c-42d4-5382-32185490f5cf", "x-ms-file-attributes": "Archive", - "x-ms-file-change-time": "2022-01-05T19:27:07.7441321Z", - "x-ms-file-creation-time": "2022-01-05T19:27:07.7441321Z", + "x-ms-file-change-time": "2022-08-12T03:03:22.3508798Z", + "x-ms-file-creation-time": "2022-08-12T03:03:22.3508798Z", "x-ms-file-id": "16140971433240035328", - "x-ms-file-last-write-time": "2022-01-05T19:27:07.7441321Z", + "x-ms-file-last-write-time": "2022-08-12T03:03:22.3508798Z", "x-ms-file-parent-id": "13835128424026341376", - "x-ms-file-permission-key": "2822515689773754806*10343500956293103928", - "x-ms-request-id": "77f7fe14-601a-0005-026a-026ddc000000", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", + "x-ms-request-id": "9ae87e50-d01a-0062-14f8-adac81000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c5s0/fromBuffer-c5s0base/fromBuffer-c5s0" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "4d501674-0b73-4430-7d01-d66c1aceeb39", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "079c9fdc-ab7f-437d-6b0c-7b0bbff64d8a", + "x-ms-version": "2021-06-08" }, "Method": "HEAD", "Response": { @@ -129,18 +129,18 @@ "content-language": "en-US", "content-length": "0", "content-type": "application/octet-stream", - "date": "Wed, 05 Jan 2022 19:27:07 GMT", - "etag": "\"0x8D9D0815CE40329\"", - "last-modified": "Wed, 05 Jan 2022 19:27:07 GMT", + "date": "Fri, 12 Aug 2022 03:03:22 GMT", + "etag": "\"0x8DA7C0F377B033E\"", + "last-modified": "Fri, 12 Aug 2022 03:03:22 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "4d501674-0b73-4430-7d01-d66c1aceeb39", + "x-ms-client-request-id": "079c9fdc-ab7f-437d-6b0c-7b0bbff64d8a", "x-ms-file-attributes": "Archive", - "x-ms-file-change-time": "2022-01-05T19:27:07.7441321Z", - "x-ms-file-creation-time": "2022-01-05T19:27:07.7441321Z", + "x-ms-file-change-time": "2022-08-12T03:03:22.3508798Z", + "x-ms-file-creation-time": "2022-08-12T03:03:22.3508798Z", "x-ms-file-id": "16140971433240035328", - "x-ms-file-last-write-time": "2022-01-05T19:27:07.7441321Z", + "x-ms-file-last-write-time": "2022-08-12T03:03:22.3508798Z", "x-ms-file-parent-id": "13835128424026341376", - "x-ms-file-permission-key": "2822515689773754806*10343500956293103928", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", "x-ms-lease-state": "available", "x-ms-lease-status": "unlocked", "x-ms-meta-meta0": "value", @@ -148,18 +148,18 @@ "x-ms-meta-meta2": "value", "x-ms-meta-meta3": "value", "x-ms-meta-meta4": "value", - "x-ms-request-id": "77f7fe15-601a-0005-036a-026ddc000000", + "x-ms-request-id": "9ae87e51-d01a-0062-15f8-adac81000000", "x-ms-server-encrypted": "true", "x-ms-type": "File", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c5s0/fromBuffer-c5s0base/fromBuffer-c5s0" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "d7a06f74-42d2-44cd-74d7-434759d70f3b", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "f6c3d26a-70fa-4277-676b-639f5384fcf9", + "x-ms-version": "2021-06-08" }, "Method": "GET", "Response": { @@ -173,18 +173,18 @@ "content-language": "en-US", "content-length": "0", "content-type": "application/octet-stream", - "date": "Wed, 05 Jan 2022 19:27:07 GMT", - "etag": "\"0x8D9D0815CE40329\"", - "last-modified": "Wed, 05 Jan 2022 19:27:07 GMT", + "date": "Fri, 12 Aug 2022 03:03:22 GMT", + "etag": "\"0x8DA7C0F377B033E\"", + "last-modified": "Fri, 12 Aug 2022 03:03:22 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "d7a06f74-42d2-44cd-74d7-434759d70f3b", + "x-ms-client-request-id": "f6c3d26a-70fa-4277-676b-639f5384fcf9", "x-ms-file-attributes": "Archive", - "x-ms-file-change-time": "2022-01-05T19:27:07.7441321Z", - "x-ms-file-creation-time": "2022-01-05T19:27:07.7441321Z", + "x-ms-file-change-time": "2022-08-12T03:03:22.3508798Z", + "x-ms-file-creation-time": "2022-08-12T03:03:22.3508798Z", "x-ms-file-id": "16140971433240035328", - "x-ms-file-last-write-time": "2022-01-05T19:27:07.7441321Z", + "x-ms-file-last-write-time": "2022-08-12T03:03:22.3508798Z", "x-ms-file-parent-id": "13835128424026341376", - "x-ms-file-permission-key": "2822515689773754806*10343500956293103928", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", "x-ms-lease-state": "available", "x-ms-lease-status": "unlocked", "x-ms-meta-meta0": "value", @@ -192,18 +192,18 @@ "x-ms-meta-meta2": "value", "x-ms-meta-meta3": "value", "x-ms-meta-meta4": "value", - "x-ms-request-id": "77f7fe16-601a-0005-046a-026ddc000000", + "x-ms-request-id": "9ae87e52-d01a-0062-16f8-adac81000000", "x-ms-server-encrypted": "true", "x-ms-type": "File", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c5s0/fromBuffer-c5s0base/fromBuffer-c5s0" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "bee6c63a-47df-4c38-56e4-d32aac4eb1f7", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "fb1524a7-5857-4a23-71db-6a5954830d2b", + "x-ms-version": "2021-06-08" }, "Method": "DELETE", "Response": { @@ -211,19 +211,19 @@ "REASON_PHRASE": "Accepted", "STATUS_CODE": "202", "content-length": "0", - "date": "Wed, 05 Jan 2022 19:27:07 GMT", + "date": "Fri, 12 Aug 2022 03:03:22 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "bee6c63a-47df-4c38-56e4-d32aac4eb1f7", - "x-ms-request-id": "77f7fe17-601a-0005-056a-026ddc000000", - "x-ms-version": "2020-02-10" + "x-ms-client-request-id": "fb1524a7-5857-4a23-71db-6a5954830d2b", + "x-ms-request-id": "9ae87e53-d01a-0062-17f8-adac81000000", + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c5s0?restype=share" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "f33f725b-fc91-435d-68d2-e427f730701a", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "f709e409-69c0-4fd7-6666-aa320aded08b", + "x-ms-version": "2021-06-08" }, "Method": "DELETE", "Response": { @@ -231,19 +231,19 @@ "REASON_PHRASE": "Accepted", "STATUS_CODE": "202", "content-length": "0", - "date": "Wed, 05 Jan 2022 19:27:07 GMT", + "date": "Fri, 12 Aug 2022 03:03:23 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "f33f725b-fc91-435d-68d2-e427f730701a", - "x-ms-request-id": "77f7fe18-601a-0005-066a-026ddc000000", - "x-ms-version": "2020-02-10" + "x-ms-client-request-id": "f709e409-69c0-4fd7-6666-aa320aded08b", + "x-ms-request-id": "9ae87e57-d01a-0062-18f8-adac81000000", + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c5s0?restype=share" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "f9bb8532-007a-461e-4a2c-eba3cda86f21", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "70373504-1178-4ce1-6020-1fbbf5572b59", + "x-ms-version": "2021-06-08" }, "Method": "DELETE", "Response": { @@ -251,11 +251,11 @@ "REASON_PHRASE": "Accepted", "STATUS_CODE": "202", "content-length": "0", - "date": "Wed, 05 Jan 2022 19:27:07 GMT", + "date": "Fri, 12 Aug 2022 03:03:23 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "f9bb8532-007a-461e-4a2c-eba3cda86f21", - "x-ms-request-id": "77f7fe19-601a-0005-076a-026ddc000000", - "x-ms-version": "2020-02-10" + "x-ms-client-request-id": "70373504-1178-4ce1-6020-1fbbf5572b59", + "x-ms-request-id": "9ae87e58-d01a-0062-19f8-adac81000000", + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c5s0?restype=share" } diff --git a/sdk/storage/azure-storage-files-shares/test/ut/recordings/withParam-UploadShare.fromBuffer-c5s1024.json b/sdk/storage/azure-storage-files-shares/test/ut/recordings/withParam-UploadShare.fromBuffer-c5s1024.json index 470bf5ffad..927e406dcd 100644 --- a/sdk/storage/azure-storage-files-shares/test/ut/recordings/withParam-UploadShare.fromBuffer-c5s1024.json +++ b/sdk/storage/azure-storage-files-shares/test/ut/recordings/withParam-UploadShare.fromBuffer-c5s1024.json @@ -2,9 +2,9 @@ "networkCallRecords": [ { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "6c48d217-25d1-40a8-535a-28118d609041", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "0b76f80c-e52a-4689-6a56-cd99d55aec95", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -12,21 +12,21 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Wed, 05 Jan 2022 19:27:07 GMT", - "etag": "\"0x8D9D0815D140D2B\"", - "last-modified": "Wed, 05 Jan 2022 19:27:08 GMT", + "date": "Fri, 12 Aug 2022 03:03:26 GMT", + "etag": "\"0x8DA7C0F3A534A54\"", + "last-modified": "Fri, 12 Aug 2022 03:03:27 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "6c48d217-25d1-40a8-535a-28118d609041", - "x-ms-request-id": "498ef470-501a-001e-376a-0253df000000", - "x-ms-version": "2020-02-10" + "x-ms-client-request-id": "0b76f80c-e52a-4689-6a56-cd99d55aec95", + "x-ms-request-id": "9ae87e71-d01a-0062-2ef8-adac81000000", + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c5s1024?restype=share" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "1b6149e4-93ab-4d38-7480-3522e0d86ce4", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "221fdad3-4a49-4c18-6e4e-1b7beeb10611", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -34,29 +34,29 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Wed, 05 Jan 2022 19:27:07 GMT", - "etag": "\"0x8D9D0815D178EB9\"", - "last-modified": "Wed, 05 Jan 2022 19:27:08 GMT", + "date": "Fri, 12 Aug 2022 03:03:27 GMT", + "etag": "\"0x8DA7C0F3A80A6AC\"", + "last-modified": "Fri, 12 Aug 2022 03:03:27 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "1b6149e4-93ab-4d38-7480-3522e0d86ce4", + "x-ms-client-request-id": "221fdad3-4a49-4c18-6e4e-1b7beeb10611", "x-ms-file-attributes": "Directory", - "x-ms-file-change-time": "2022-01-05T19:27:08.0819385Z", - "x-ms-file-creation-time": "2022-01-05T19:27:08.0819385Z", + "x-ms-file-change-time": "2022-08-12T03:03:27.4209964Z", + "x-ms-file-creation-time": "2022-08-12T03:03:27.4209964Z", "x-ms-file-id": "13835128424026341376", - "x-ms-file-last-write-time": "2022-01-05T19:27:08.0819385Z", + "x-ms-file-last-write-time": "2022-08-12T03:03:27.4209964Z", "x-ms-file-parent-id": "0", - "x-ms-file-permission-key": "16667920363481994929*10343500956293103928", - "x-ms-request-id": "498ef473-501a-001e-386a-0253df000000", + "x-ms-file-permission-key": "13199961128260716138*16137673612980802019", + "x-ms-request-id": "9ae87e73-d01a-0062-2ff8-adac81000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c5s1024/fromBuffer-c5s1024base?restype=directory" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "a9e4e746-9e53-41ee-7e0b-5b8757d87e16", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "14103357-44c4-4cef-74f3-bb6336349253", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -64,29 +64,29 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Wed, 05 Jan 2022 19:27:07 GMT", - "etag": "\"0x8D9D0815D19D853\"", - "last-modified": "Wed, 05 Jan 2022 19:27:08 GMT", + "date": "Fri, 12 Aug 2022 03:03:27 GMT", + "etag": "\"0x8DA7C0F3AAE66CC\"", + "last-modified": "Fri, 12 Aug 2022 03:03:27 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "a9e4e746-9e53-41ee-7e0b-5b8757d87e16", + "x-ms-client-request-id": "14103357-44c4-4cef-74f3-bb6336349253", "x-ms-file-attributes": "Archive", - "x-ms-file-change-time": "2022-01-05T19:27:08.0969299Z", - "x-ms-file-creation-time": "2022-01-05T19:27:08.0969299Z", + "x-ms-file-change-time": "2022-08-12T03:03:27.7208268Z", + "x-ms-file-creation-time": "2022-08-12T03:03:27.7208268Z", "x-ms-file-id": "11529285414812647424", - "x-ms-file-last-write-time": "2022-01-05T19:27:08.0969299Z", + "x-ms-file-last-write-time": "2022-08-12T03:03:27.7208268Z", "x-ms-file-parent-id": "13835128424026341376", - "x-ms-file-permission-key": "2822515689773754806*10343500956293103928", - "x-ms-request-id": "498ef475-501a-001e-396a-0253df000000", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", + "x-ms-request-id": "9ae87e75-d01a-0062-31f8-adac81000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c5s1024/fromBuffer-c5s1024base/fromBuffer-c5s1024basefile" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "0d07b229-9370-4ef1-4dea-b9ccff2db053", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "5041dc9f-44d4-40bd-60bc-00a7dc1ea18f", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -94,29 +94,29 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Wed, 05 Jan 2022 19:27:07 GMT", - "etag": "\"0x8D9D0815D1BFAE7\"", - "last-modified": "Wed, 05 Jan 2022 19:27:08 GMT", + "date": "Fri, 12 Aug 2022 03:03:27 GMT", + "etag": "\"0x8DA7C0F3ADB3CA6\"", + "last-modified": "Fri, 12 Aug 2022 03:03:28 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "0d07b229-9370-4ef1-4dea-b9ccff2db053", + "x-ms-client-request-id": "5041dc9f-44d4-40bd-60bc-00a7dc1ea18f", "x-ms-file-attributes": "Archive", - "x-ms-file-change-time": "2022-01-05T19:27:08.1109223Z", - "x-ms-file-creation-time": "2022-01-05T19:27:08.1109223Z", + "x-ms-file-change-time": "2022-08-12T03:03:28.0146598Z", + "x-ms-file-creation-time": "2022-08-12T03:03:28.0146598Z", "x-ms-file-id": "16140971433240035328", - "x-ms-file-last-write-time": "2022-01-05T19:27:08.1109223Z", + "x-ms-file-last-write-time": "2022-08-12T03:03:28.0146598Z", "x-ms-file-parent-id": "13835128424026341376", - "x-ms-file-permission-key": "2822515689773754806*10343500956293103928", - "x-ms-request-id": "498ef476-501a-001e-3a6a-0253df000000", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", + "x-ms-request-id": "9ae87e76-d01a-0062-32f8-adac81000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c5s1024/fromBuffer-c5s1024base/fromBuffer-c5s1024" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "4168757f-5898-461d-7db0-2e21c444d554", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "068e09a6-2434-4b43-738f-5da7ebc482c5", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -125,22 +125,23 @@ "STATUS_CODE": "201", "content-length": "0", "content-md5": "cmX00hG1aHOjgdMh9YbkqQ==", - "date": "Wed, 05 Jan 2022 19:27:07 GMT", - "etag": "\"0x8D9D0815D1EE0A6\"", - "last-modified": "Wed, 05 Jan 2022 19:27:08 GMT", + "date": "Fri, 12 Aug 2022 03:03:28 GMT", + "etag": "\"0x8DA7C0F3B08D5B3\"", + "last-modified": "Fri, 12 Aug 2022 03:03:28 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "4168757f-5898-461d-7db0-2e21c444d554", - "x-ms-request-id": "498ef477-501a-001e-3b6a-0253df000000", + "x-ms-client-request-id": "068e09a6-2434-4b43-738f-5da7ebc482c5", + "x-ms-file-last-write-time": "2022-08-12T03:03:28.3134899Z", + "x-ms-request-id": "9ae87e77-d01a-0062-33f8-adac81000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c5s1024/fromBuffer-c5s1024base/fromBuffer-c5s1024?comp=range" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "6bec9a8d-d95d-4fb8-734e-b3742da4620d", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "48316272-9b22-4811-60cc-262031881132", + "x-ms-version": "2021-06-08" }, "Method": "HEAD", "Response": { @@ -153,18 +154,18 @@ "content-language": "en-US", "content-length": "1024", "content-type": "application/octet-stream", - "date": "Wed, 05 Jan 2022 19:27:07 GMT", - "etag": "\"0x8D9D0815D1EE0A6\"", - "last-modified": "Wed, 05 Jan 2022 19:27:08 GMT", + "date": "Fri, 12 Aug 2022 03:03:28 GMT", + "etag": "\"0x8DA7C0F3B08D5B3\"", + "last-modified": "Fri, 12 Aug 2022 03:03:28 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "6bec9a8d-d95d-4fb8-734e-b3742da4620d", + "x-ms-client-request-id": "48316272-9b22-4811-60cc-262031881132", "x-ms-file-attributes": "Archive", - "x-ms-file-change-time": "2022-01-05T19:27:08.1109223Z", - "x-ms-file-creation-time": "2022-01-05T19:27:08.1109223Z", + "x-ms-file-change-time": "2022-08-12T03:03:28.3134899Z", + "x-ms-file-creation-time": "2022-08-12T03:03:28.0146598Z", "x-ms-file-id": "16140971433240035328", - "x-ms-file-last-write-time": "2022-01-05T19:27:08.1109223Z", + "x-ms-file-last-write-time": "2022-08-12T03:03:28.3134899Z", "x-ms-file-parent-id": "13835128424026341376", - "x-ms-file-permission-key": "2822515689773754806*10343500956293103928", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", "x-ms-lease-state": "available", "x-ms-lease-status": "unlocked", "x-ms-meta-meta0": "value", @@ -172,18 +173,18 @@ "x-ms-meta-meta2": "value", "x-ms-meta-meta3": "value", "x-ms-meta-meta4": "value", - "x-ms-request-id": "498ef478-501a-001e-3c6a-0253df000000", + "x-ms-request-id": "9ae87e78-d01a-0062-34f8-adac81000000", "x-ms-server-encrypted": "true", "x-ms-type": "File", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c5s1024/fromBuffer-c5s1024base/fromBuffer-c5s1024" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "8851cd93-2de5-4e00-51a4-0c45b3490b49", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "ceb51b18-956f-4f2d-4a4a-7e090fc2c99f", + "x-ms-version": "2021-06-08" }, "Method": "GET", "Response": { @@ -197,18 +198,18 @@ "content-language": "en-US", "content-length": "1024", "content-type": "application/octet-stream", - "date": "Wed, 05 Jan 2022 19:27:07 GMT", - "etag": "\"0x8D9D0815D1EE0A6\"", - "last-modified": "Wed, 05 Jan 2022 19:27:08 GMT", + "date": "Fri, 12 Aug 2022 03:03:28 GMT", + "etag": "\"0x8DA7C0F3B08D5B3\"", + "last-modified": "Fri, 12 Aug 2022 03:03:28 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "8851cd93-2de5-4e00-51a4-0c45b3490b49", + "x-ms-client-request-id": "ceb51b18-956f-4f2d-4a4a-7e090fc2c99f", "x-ms-file-attributes": "Archive", - "x-ms-file-change-time": "2022-01-05T19:27:08.1109223Z", - "x-ms-file-creation-time": "2022-01-05T19:27:08.1109223Z", + "x-ms-file-change-time": "2022-08-12T03:03:28.3134899Z", + "x-ms-file-creation-time": "2022-08-12T03:03:28.0146598Z", "x-ms-file-id": "16140971433240035328", - "x-ms-file-last-write-time": "2022-01-05T19:27:08.1109223Z", + "x-ms-file-last-write-time": "2022-08-12T03:03:28.3134899Z", "x-ms-file-parent-id": "13835128424026341376", - "x-ms-file-permission-key": "2822515689773754806*10343500956293103928", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", "x-ms-lease-state": "available", "x-ms-lease-status": "unlocked", "x-ms-meta-meta0": "value", @@ -216,18 +217,18 @@ "x-ms-meta-meta2": "value", "x-ms-meta-meta3": "value", "x-ms-meta-meta4": "value", - "x-ms-request-id": "498ef479-501a-001e-3d6a-0253df000000", + "x-ms-request-id": "9ae87e79-d01a-0062-35f8-adac81000000", "x-ms-server-encrypted": "true", "x-ms-type": "File", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c5s1024/fromBuffer-c5s1024base/fromBuffer-c5s1024" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "ad1024fa-df3f-4b47-45a7-33d01ff85380", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "ce4844e3-3219-4a3d-793a-7476cdaa6164", + "x-ms-version": "2021-06-08" }, "Method": "DELETE", "Response": { @@ -235,19 +236,19 @@ "REASON_PHRASE": "Accepted", "STATUS_CODE": "202", "content-length": "0", - "date": "Wed, 05 Jan 2022 19:27:07 GMT", + "date": "Fri, 12 Aug 2022 03:03:28 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "ad1024fa-df3f-4b47-45a7-33d01ff85380", - "x-ms-request-id": "498ef47a-501a-001e-3e6a-0253df000000", - "x-ms-version": "2020-02-10" + "x-ms-client-request-id": "ce4844e3-3219-4a3d-793a-7476cdaa6164", + "x-ms-request-id": "9ae87e7c-d01a-0062-36f8-adac81000000", + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c5s1024?restype=share" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "e5340984-d1b3-437c-6a7e-50f2ca0546be", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "313f9a28-1676-483c-4ba5-d7f8a5a7c524", + "x-ms-version": "2021-06-08" }, "Method": "DELETE", "Response": { @@ -255,19 +256,19 @@ "REASON_PHRASE": "Accepted", "STATUS_CODE": "202", "content-length": "0", - "date": "Wed, 05 Jan 2022 19:27:07 GMT", + "date": "Fri, 12 Aug 2022 03:03:29 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "e5340984-d1b3-437c-6a7e-50f2ca0546be", - "x-ms-request-id": "498ef47b-501a-001e-3f6a-0253df000000", - "x-ms-version": "2020-02-10" + "x-ms-client-request-id": "313f9a28-1676-483c-4ba5-d7f8a5a7c524", + "x-ms-request-id": "9ae87e7e-d01a-0062-37f8-adac81000000", + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c5s1024?restype=share" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "2c4d917e-cde5-4216-4c54-d7df157eef1d", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "76bd506e-27d0-4280-43f6-51e20ede46ad", + "x-ms-version": "2021-06-08" }, "Method": "DELETE", "Response": { @@ -275,11 +276,11 @@ "REASON_PHRASE": "Accepted", "STATUS_CODE": "202", "content-length": "0", - "date": "Wed, 05 Jan 2022 19:27:07 GMT", + "date": "Fri, 12 Aug 2022 03:03:29 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "2c4d917e-cde5-4216-4c54-d7df157eef1d", - "x-ms-request-id": "498ef47c-501a-001e-406a-0253df000000", - "x-ms-version": "2020-02-10" + "x-ms-client-request-id": "76bd506e-27d0-4280-43f6-51e20ede46ad", + "x-ms-request-id": "9ae87e7f-d01a-0062-38f8-adac81000000", + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c5s1024?restype=share" } diff --git a/sdk/storage/azure-storage-files-shares/test/ut/recordings/withParam-UploadShare.fromBuffer-c5s1048576.json b/sdk/storage/azure-storage-files-shares/test/ut/recordings/withParam-UploadShare.fromBuffer-c5s1048576.json index ddf1875e77..b800dfa46a 100644 --- a/sdk/storage/azure-storage-files-shares/test/ut/recordings/withParam-UploadShare.fromBuffer-c5s1048576.json +++ b/sdk/storage/azure-storage-files-shares/test/ut/recordings/withParam-UploadShare.fromBuffer-c5s1048576.json @@ -2,9 +2,9 @@ "networkCallRecords": [ { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "d6624cb1-550e-4db8-54f5-c93e4fa543f9", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "2d564ea9-c4a3-4ea5-4bb8-dc6d33fa1a76", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -12,21 +12,21 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Wed, 05 Jan 2022 19:27:08 GMT", - "etag": "\"0x8D9D0815D50D3B9\"", - "last-modified": "Wed, 05 Jan 2022 19:27:08 GMT", + "date": "Fri, 12 Aug 2022 03:03:32 GMT", + "etag": "\"0x8DA7C0F3DDCFC29\"", + "last-modified": "Fri, 12 Aug 2022 03:03:33 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "d6624cb1-550e-4db8-54f5-c93e4fa543f9", - "x-ms-request-id": "a20512b0-901a-003e-346a-022878000000", - "x-ms-version": "2020-02-10" + "x-ms-client-request-id": "2d564ea9-c4a3-4ea5-4bb8-dc6d33fa1a76", + "x-ms-request-id": "9ae87e8c-d01a-0062-43f8-adac81000000", + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c5s1048576?restype=share" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "6341c41e-047d-4c8b-77d0-ace25fb03142", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "b78e520c-a888-4d49-5ddb-e482a7cb7ab6", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -34,29 +34,29 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Wed, 05 Jan 2022 19:27:08 GMT", - "etag": "\"0x8D9D0815D54B5D2\"", - "last-modified": "Wed, 05 Jan 2022 19:27:08 GMT", + "date": "Fri, 12 Aug 2022 03:03:33 GMT", + "etag": "\"0x8DA7C0F3E0A5B2D\"", + "last-modified": "Fri, 12 Aug 2022 03:03:33 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "6341c41e-047d-4c8b-77d0-ace25fb03142", + "x-ms-client-request-id": "b78e520c-a888-4d49-5ddb-e482a7cb7ab6", "x-ms-file-attributes": "Directory", - "x-ms-file-change-time": "2022-01-05T19:27:08.4827090Z", - "x-ms-file-creation-time": "2022-01-05T19:27:08.4827090Z", + "x-ms-file-change-time": "2022-08-12T03:03:33.3566253Z", + "x-ms-file-creation-time": "2022-08-12T03:03:33.3566253Z", "x-ms-file-id": "13835128424026341376", - "x-ms-file-last-write-time": "2022-01-05T19:27:08.4827090Z", + "x-ms-file-last-write-time": "2022-08-12T03:03:33.3566253Z", "x-ms-file-parent-id": "0", - "x-ms-file-permission-key": "16667920363481994929*10343500956293103928", - "x-ms-request-id": "a20512b3-901a-003e-356a-022878000000", + "x-ms-file-permission-key": "13199961128260716138*16137673612980802019", + "x-ms-request-id": "9ae87e8e-d01a-0062-44f8-adac81000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c5s1048576/fromBuffer-c5s1048576base?restype=directory" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "82466bd1-7610-4018-7141-292f51c14c54", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "3f835cbf-86af-4267-7876-ad55207c7dba", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -64,29 +64,29 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Wed, 05 Jan 2022 19:27:08 GMT", - "etag": "\"0x8D9D0815D57267B\"", - "last-modified": "Wed, 05 Jan 2022 19:27:08 GMT", + "date": "Fri, 12 Aug 2022 03:03:33 GMT", + "etag": "\"0x8DA7C0F3E37F430\"", + "last-modified": "Fri, 12 Aug 2022 03:03:33 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "82466bd1-7610-4018-7141-292f51c14c54", + "x-ms-client-request-id": "3f835cbf-86af-4267-7876-ad55207c7dba", "x-ms-file-attributes": "Archive", - "x-ms-file-change-time": "2022-01-05T19:27:08.4987003Z", - "x-ms-file-creation-time": "2022-01-05T19:27:08.4987003Z", + "x-ms-file-change-time": "2022-08-12T03:03:33.6554544Z", + "x-ms-file-creation-time": "2022-08-12T03:03:33.6554544Z", "x-ms-file-id": "11529285414812647424", - "x-ms-file-last-write-time": "2022-01-05T19:27:08.4987003Z", + "x-ms-file-last-write-time": "2022-08-12T03:03:33.6554544Z", "x-ms-file-parent-id": "13835128424026341376", - "x-ms-file-permission-key": "2822515689773754806*10343500956293103928", - "x-ms-request-id": "a20512b4-901a-003e-366a-022878000000", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", + "x-ms-request-id": "9ae87e8f-d01a-0062-45f8-adac81000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c5s1048576/fromBuffer-c5s1048576base/fromBuffer-c5s1048576basefile" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "07381446-cb03-48a3-56d0-fd2bddd8ad43", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "a0d90a9e-cfb3-4995-6d20-bd0a3e04ee1d", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -94,29 +94,29 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Wed, 05 Jan 2022 19:27:08 GMT", - "etag": "\"0x8D9D0815D597010\"", - "last-modified": "Wed, 05 Jan 2022 19:27:08 GMT", + "date": "Fri, 12 Aug 2022 03:03:33 GMT", + "etag": "\"0x8DA7C0F3E651834\"", + "last-modified": "Fri, 12 Aug 2022 03:03:33 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "07381446-cb03-48a3-56d0-fd2bddd8ad43", + "x-ms-client-request-id": "a0d90a9e-cfb3-4995-6d20-bd0a3e04ee1d", "x-ms-file-attributes": "Archive", - "x-ms-file-change-time": "2022-01-05T19:27:08.5136912Z", - "x-ms-file-creation-time": "2022-01-05T19:27:08.5136912Z", + "x-ms-file-change-time": "2022-08-12T03:03:33.9512884Z", + "x-ms-file-creation-time": "2022-08-12T03:03:33.9512884Z", "x-ms-file-id": "16140971433240035328", - "x-ms-file-last-write-time": "2022-01-05T19:27:08.5136912Z", + "x-ms-file-last-write-time": "2022-08-12T03:03:33.9512884Z", "x-ms-file-parent-id": "13835128424026341376", - "x-ms-file-permission-key": "2822515689773754806*10343500956293103928", - "x-ms-request-id": "a20512b5-901a-003e-376a-022878000000", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", + "x-ms-request-id": "9ae87e92-d01a-0062-46f8-adac81000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c5s1048576/fromBuffer-c5s1048576base/fromBuffer-c5s1048576" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "2f44193b-8e91-44b9-7163-db78e337d3dc", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "73aa4396-2a32-443f-4b36-36bbeb08546c", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -125,22 +125,23 @@ "STATUS_CODE": "201", "content-length": "0", "content-md5": "tWH4cgLQSVnjdYjuBc9bEA==", - "date": "Wed, 05 Jan 2022 19:27:08 GMT", - "etag": "\"0x8D9D0815D65071D\"", - "last-modified": "Wed, 05 Jan 2022 19:27:08 GMT", + "date": "Fri, 12 Aug 2022 03:03:34 GMT", + "etag": "\"0x8DA7C0F3EBF870F\"", + "last-modified": "Fri, 12 Aug 2022 03:03:34 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "2f44193b-8e91-44b9-7163-db78e337d3dc", - "x-ms-request-id": "a20512b6-901a-003e-386a-022878000000", + "x-ms-client-request-id": "73aa4396-2a32-443f-4b36-36bbeb08546c", + "x-ms-file-last-write-time": "2022-08-12T03:03:34.5439503Z", + "x-ms-request-id": "9ae87e93-d01a-0062-47f8-adac81000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c5s1048576/fromBuffer-c5s1048576base/fromBuffer-c5s1048576?comp=range" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "931e6048-44cd-4ef2-7bcb-93acf12f89f1", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "70772db3-07e2-41c7-5bf7-cf53e0162e50", + "x-ms-version": "2021-06-08" }, "Method": "HEAD", "Response": { @@ -153,18 +154,18 @@ "content-language": "en-US", "content-length": "1048576", "content-type": "application/octet-stream", - "date": "Wed, 05 Jan 2022 19:27:08 GMT", - "etag": "\"0x8D9D0815D65071D\"", - "last-modified": "Wed, 05 Jan 2022 19:27:08 GMT", + "date": "Fri, 12 Aug 2022 03:03:34 GMT", + "etag": "\"0x8DA7C0F3EBF870F\"", + "last-modified": "Fri, 12 Aug 2022 03:03:34 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "931e6048-44cd-4ef2-7bcb-93acf12f89f1", + "x-ms-client-request-id": "70772db3-07e2-41c7-5bf7-cf53e0162e50", "x-ms-file-attributes": "Archive", - "x-ms-file-change-time": "2022-01-05T19:27:08.5136912Z", - "x-ms-file-creation-time": "2022-01-05T19:27:08.5136912Z", + "x-ms-file-change-time": "2022-08-12T03:03:34.5439503Z", + "x-ms-file-creation-time": "2022-08-12T03:03:33.9512884Z", "x-ms-file-id": "16140971433240035328", - "x-ms-file-last-write-time": "2022-01-05T19:27:08.5136912Z", + "x-ms-file-last-write-time": "2022-08-12T03:03:34.5439503Z", "x-ms-file-parent-id": "13835128424026341376", - "x-ms-file-permission-key": "2822515689773754806*10343500956293103928", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", "x-ms-lease-state": "available", "x-ms-lease-status": "unlocked", "x-ms-meta-meta0": "value", @@ -172,18 +173,18 @@ "x-ms-meta-meta2": "value", "x-ms-meta-meta3": "value", "x-ms-meta-meta4": "value", - "x-ms-request-id": "a20512b7-901a-003e-396a-022878000000", + "x-ms-request-id": "9ae87e94-d01a-0062-48f8-adac81000000", "x-ms-server-encrypted": "true", "x-ms-type": "File", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c5s1048576/fromBuffer-c5s1048576base/fromBuffer-c5s1048576" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "0fdb64b2-d595-4944-5eaf-2c22a977f57e", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "c1ce072d-d423-45c2-5242-2be0de87758b", + "x-ms-version": "2021-06-08" }, "Method": "GET", "Response": { @@ -197,18 +198,18 @@ "content-language": "en-US", "content-length": "1048576", "content-type": "application/octet-stream", - "date": "Wed, 05 Jan 2022 19:27:08 GMT", - "etag": "\"0x8D9D0815D65071D\"", - "last-modified": "Wed, 05 Jan 2022 19:27:08 GMT", + "date": "Fri, 12 Aug 2022 03:03:34 GMT", + "etag": "\"0x8DA7C0F3EBF870F\"", + "last-modified": "Fri, 12 Aug 2022 03:03:34 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "0fdb64b2-d595-4944-5eaf-2c22a977f57e", + "x-ms-client-request-id": "c1ce072d-d423-45c2-5242-2be0de87758b", "x-ms-file-attributes": "Archive", - "x-ms-file-change-time": "2022-01-05T19:27:08.5136912Z", - "x-ms-file-creation-time": "2022-01-05T19:27:08.5136912Z", + "x-ms-file-change-time": "2022-08-12T03:03:34.5439503Z", + "x-ms-file-creation-time": "2022-08-12T03:03:33.9512884Z", "x-ms-file-id": "16140971433240035328", - "x-ms-file-last-write-time": "2022-01-05T19:27:08.5136912Z", + "x-ms-file-last-write-time": "2022-08-12T03:03:34.5439503Z", "x-ms-file-parent-id": "13835128424026341376", - "x-ms-file-permission-key": "2822515689773754806*10343500956293103928", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", "x-ms-lease-state": "available", "x-ms-lease-status": "unlocked", "x-ms-meta-meta0": "value", @@ -216,18 +217,18 @@ "x-ms-meta-meta2": "value", "x-ms-meta-meta3": "value", "x-ms-meta-meta4": "value", - "x-ms-request-id": "a20512b8-901a-003e-3a6a-022878000000", + "x-ms-request-id": "9ae87e98-d01a-0062-4cf8-adac81000000", "x-ms-server-encrypted": "true", "x-ms-type": "File", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c5s1048576/fromBuffer-c5s1048576base/fromBuffer-c5s1048576" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "ee4c0565-4bea-4415-6312-41a9838e32f7", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "7ab5d30c-081f-4c13-42bf-091091805172", + "x-ms-version": "2021-06-08" }, "Method": "DELETE", "Response": { @@ -235,19 +236,19 @@ "REASON_PHRASE": "Accepted", "STATUS_CODE": "202", "content-length": "0", - "date": "Wed, 05 Jan 2022 19:27:08 GMT", + "date": "Fri, 12 Aug 2022 03:03:36 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "ee4c0565-4bea-4415-6312-41a9838e32f7", - "x-ms-request-id": "a20512b9-901a-003e-3b6a-022878000000", - "x-ms-version": "2020-02-10" + "x-ms-client-request-id": "7ab5d30c-081f-4c13-42bf-091091805172", + "x-ms-request-id": "9ae87e9d-d01a-0062-51f8-adac81000000", + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c5s1048576?restype=share" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "6682da30-37dc-4437-497d-d52925cdff70", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "53c1624e-0a4b-4425-7308-b141c04dbe00", + "x-ms-version": "2021-06-08" }, "Method": "DELETE", "Response": { @@ -255,19 +256,19 @@ "REASON_PHRASE": "Accepted", "STATUS_CODE": "202", "content-length": "0", - "date": "Wed, 05 Jan 2022 19:27:08 GMT", + "date": "Fri, 12 Aug 2022 03:03:36 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "6682da30-37dc-4437-497d-d52925cdff70", - "x-ms-request-id": "a20512ba-901a-003e-3c6a-022878000000", - "x-ms-version": "2020-02-10" + "x-ms-client-request-id": "53c1624e-0a4b-4425-7308-b141c04dbe00", + "x-ms-request-id": "9ae87ea0-d01a-0062-53f8-adac81000000", + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c5s1048576?restype=share" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "2f161f70-9061-4db2-53ff-1943f4ee75e0", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "50a72d50-5606-449e-6469-032375670484", + "x-ms-version": "2021-06-08" }, "Method": "DELETE", "Response": { @@ -275,11 +276,11 @@ "REASON_PHRASE": "Accepted", "STATUS_CODE": "202", "content-length": "0", - "date": "Wed, 05 Jan 2022 19:27:08 GMT", + "date": "Fri, 12 Aug 2022 03:03:36 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "2f161f70-9061-4db2-53ff-1943f4ee75e0", - "x-ms-request-id": "a20512bb-901a-003e-3d6a-022878000000", - "x-ms-version": "2020-02-10" + "x-ms-client-request-id": "50a72d50-5606-449e-6469-032375670484", + "x-ms-request-id": "9ae87ea3-d01a-0062-56f8-adac81000000", + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c5s1048576?restype=share" } diff --git a/sdk/storage/azure-storage-files-shares/test/ut/recordings/withParam-UploadShare.fromBuffer-c5s4096.json b/sdk/storage/azure-storage-files-shares/test/ut/recordings/withParam-UploadShare.fromBuffer-c5s4096.json index 8ecec2481a..0483c4d0bc 100644 --- a/sdk/storage/azure-storage-files-shares/test/ut/recordings/withParam-UploadShare.fromBuffer-c5s4096.json +++ b/sdk/storage/azure-storage-files-shares/test/ut/recordings/withParam-UploadShare.fromBuffer-c5s4096.json @@ -2,9 +2,9 @@ "networkCallRecords": [ { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "9e09abba-f22e-4592-6b8d-e98e608599d7", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "ff700968-3caf-417d-4644-098fb8ea182d", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -12,21 +12,21 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Wed, 05 Jan 2022 19:27:07 GMT", - "etag": "\"0x8D9D0815D32D143\"", - "last-modified": "Wed, 05 Jan 2022 19:27:08 GMT", + "date": "Fri, 12 Aug 2022 03:03:29 GMT", + "etag": "\"0x8DA7C0F3C179A9B\"", + "last-modified": "Fri, 12 Aug 2022 03:03:30 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "9e09abba-f22e-4592-6b8d-e98e608599d7", - "x-ms-request-id": "762dd829-d01a-0062-426a-027d20000000", - "x-ms-version": "2020-02-10" + "x-ms-client-request-id": "ff700968-3caf-417d-4644-098fb8ea182d", + "x-ms-request-id": "9ae87e80-d01a-0062-39f8-adac81000000", + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c5s4096?restype=share" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "25258700-40fe-4a12-6146-900021eab8be", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "99983846-ca1e-48e4-45ac-748ebe2d043b", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -34,29 +34,29 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Wed, 05 Jan 2022 19:27:07 GMT", - "etag": "\"0x8D9D0815D36AAEA\"", - "last-modified": "Wed, 05 Jan 2022 19:27:08 GMT", + "date": "Fri, 12 Aug 2022 03:03:30 GMT", + "etag": "\"0x8DA7C0F3C44D13F\"", + "last-modified": "Fri, 12 Aug 2022 03:03:30 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "25258700-40fe-4a12-6146-900021eab8be", + "x-ms-client-request-id": "99983846-ca1e-48e4-45ac-748ebe2d043b", "x-ms-file-attributes": "Directory", - "x-ms-file-change-time": "2022-01-05T19:27:08.2858218Z", - "x-ms-file-creation-time": "2022-01-05T19:27:08.2858218Z", + "x-ms-file-change-time": "2022-08-12T03:03:30.3843135Z", + "x-ms-file-creation-time": "2022-08-12T03:03:30.3843135Z", "x-ms-file-id": "13835128424026341376", - "x-ms-file-last-write-time": "2022-01-05T19:27:08.2858218Z", + "x-ms-file-last-write-time": "2022-08-12T03:03:30.3843135Z", "x-ms-file-parent-id": "0", - "x-ms-file-permission-key": "16667920363481994929*10343500956293103928", - "x-ms-request-id": "762dd82c-d01a-0062-436a-027d20000000", + "x-ms-file-permission-key": "13199961128260716138*16137673612980802019", + "x-ms-request-id": "9ae87e82-d01a-0062-3af8-adac81000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c5s4096/fromBuffer-c5s4096base?restype=directory" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "b87dd199-3645-4bff-75de-7cb40e08782f", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "015341c7-9dd4-4a6d-4d2e-77fe54e5a71b", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -64,29 +64,29 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Wed, 05 Jan 2022 19:27:07 GMT", - "etag": "\"0x8D9D0815D3A53E4\"", - "last-modified": "Wed, 05 Jan 2022 19:27:08 GMT", + "date": "Fri, 12 Aug 2022 03:03:30 GMT", + "etag": "\"0x8DA7C0F3C726A54\"", + "last-modified": "Fri, 12 Aug 2022 03:03:30 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "b87dd199-3645-4bff-75de-7cb40e08782f", + "x-ms-client-request-id": "015341c7-9dd4-4a6d-4d2e-77fe54e5a71b", "x-ms-file-attributes": "Archive", - "x-ms-file-change-time": "2022-01-05T19:27:08.3098084Z", - "x-ms-file-creation-time": "2022-01-05T19:27:08.3098084Z", + "x-ms-file-change-time": "2022-08-12T03:03:30.6831444Z", + "x-ms-file-creation-time": "2022-08-12T03:03:30.6831444Z", "x-ms-file-id": "11529285414812647424", - "x-ms-file-last-write-time": "2022-01-05T19:27:08.3098084Z", + "x-ms-file-last-write-time": "2022-08-12T03:03:30.6831444Z", "x-ms-file-parent-id": "13835128424026341376", - "x-ms-file-permission-key": "2822515689773754806*10343500956293103928", - "x-ms-request-id": "762dd82e-d01a-0062-446a-027d20000000", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", + "x-ms-request-id": "9ae87e83-d01a-0062-3bf8-adac81000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c5s4096/fromBuffer-c5s4096base/fromBuffer-c5s4096basefile" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "48c48820-0cef-4d53-5efc-c0cdb913e837", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "12813815-23f2-4a78-5457-f395d48ba08b", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -94,29 +94,29 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Wed, 05 Jan 2022 19:27:07 GMT", - "etag": "\"0x8D9D0815D3C7670\"", - "last-modified": "Wed, 05 Jan 2022 19:27:08 GMT", + "date": "Fri, 12 Aug 2022 03:03:30 GMT", + "etag": "\"0x8DA7C0F3C9FB550\"", + "last-modified": "Fri, 12 Aug 2022 03:03:30 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "48c48820-0cef-4d53-5efc-c0cdb913e837", + "x-ms-client-request-id": "12813815-23f2-4a78-5457-f395d48ba08b", "x-ms-file-attributes": "Archive", - "x-ms-file-change-time": "2022-01-05T19:27:08.3238000Z", - "x-ms-file-creation-time": "2022-01-05T19:27:08.3238000Z", + "x-ms-file-change-time": "2022-08-12T03:03:30.9799760Z", + "x-ms-file-creation-time": "2022-08-12T03:03:30.9799760Z", "x-ms-file-id": "16140971433240035328", - "x-ms-file-last-write-time": "2022-01-05T19:27:08.3238000Z", + "x-ms-file-last-write-time": "2022-08-12T03:03:30.9799760Z", "x-ms-file-parent-id": "13835128424026341376", - "x-ms-file-permission-key": "2822515689773754806*10343500956293103928", - "x-ms-request-id": "762dd830-d01a-0062-456a-027d20000000", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", + "x-ms-request-id": "9ae87e84-d01a-0062-3cf8-adac81000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c5s4096/fromBuffer-c5s4096base/fromBuffer-c5s4096" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "419ac644-3c9c-4277-5565-9f08caf973e5", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "2824f8fa-3111-461d-6d24-d69d4b3cf020", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -125,22 +125,23 @@ "STATUS_CODE": "201", "content-length": "0", "content-md5": "IEOfeeTp3JW+NLIQKSIfgA==", - "date": "Wed, 05 Jan 2022 19:27:07 GMT", - "etag": "\"0x8D9D0815D3F833D\"", - "last-modified": "Wed, 05 Jan 2022 19:27:08 GMT", + "date": "Fri, 12 Aug 2022 03:03:31 GMT", + "etag": "\"0x8DA7C0F3CCD9C66\"", + "last-modified": "Fri, 12 Aug 2022 03:03:31 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "419ac644-3c9c-4277-5565-9f08caf973e5", - "x-ms-request-id": "762dd831-d01a-0062-466a-027d20000000", + "x-ms-client-request-id": "2824f8fa-3111-461d-6d24-d69d4b3cf020", + "x-ms-file-last-write-time": "2022-08-12T03:03:31.2808038Z", + "x-ms-request-id": "9ae87e85-d01a-0062-3df8-adac81000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c5s4096/fromBuffer-c5s4096base/fromBuffer-c5s4096?comp=range" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "b6ecaa2b-be0d-4351-6cd9-2a73cd2ceb01", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "a8cb3e80-05fd-41ed-402e-2574752a7528", + "x-ms-version": "2021-06-08" }, "Method": "HEAD", "Response": { @@ -153,18 +154,18 @@ "content-language": "en-US", "content-length": "4096", "content-type": "application/octet-stream", - "date": "Wed, 05 Jan 2022 19:27:07 GMT", - "etag": "\"0x8D9D0815D3F833D\"", - "last-modified": "Wed, 05 Jan 2022 19:27:08 GMT", + "date": "Fri, 12 Aug 2022 03:03:31 GMT", + "etag": "\"0x8DA7C0F3CCD9C66\"", + "last-modified": "Fri, 12 Aug 2022 03:03:31 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "b6ecaa2b-be0d-4351-6cd9-2a73cd2ceb01", + "x-ms-client-request-id": "a8cb3e80-05fd-41ed-402e-2574752a7528", "x-ms-file-attributes": "Archive", - "x-ms-file-change-time": "2022-01-05T19:27:08.3238000Z", - "x-ms-file-creation-time": "2022-01-05T19:27:08.3238000Z", + "x-ms-file-change-time": "2022-08-12T03:03:31.2808038Z", + "x-ms-file-creation-time": "2022-08-12T03:03:30.9799760Z", "x-ms-file-id": "16140971433240035328", - "x-ms-file-last-write-time": "2022-01-05T19:27:08.3238000Z", + "x-ms-file-last-write-time": "2022-08-12T03:03:31.2808038Z", "x-ms-file-parent-id": "13835128424026341376", - "x-ms-file-permission-key": "2822515689773754806*10343500956293103928", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", "x-ms-lease-state": "available", "x-ms-lease-status": "unlocked", "x-ms-meta-meta0": "value", @@ -172,18 +173,18 @@ "x-ms-meta-meta2": "value", "x-ms-meta-meta3": "value", "x-ms-meta-meta4": "value", - "x-ms-request-id": "762dd832-d01a-0062-476a-027d20000000", + "x-ms-request-id": "9ae87e87-d01a-0062-3ef8-adac81000000", "x-ms-server-encrypted": "true", "x-ms-type": "File", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c5s4096/fromBuffer-c5s4096base/fromBuffer-c5s4096" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "031799f5-028a-406a-5f1f-719de3f83181", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "43fc6d2f-79cc-4b27-7a11-17acdae88563", + "x-ms-version": "2021-06-08" }, "Method": "GET", "Response": { @@ -197,18 +198,18 @@ "content-language": "en-US", "content-length": "4096", "content-type": "application/octet-stream", - "date": "Wed, 05 Jan 2022 19:27:07 GMT", - "etag": "\"0x8D9D0815D3F833D\"", - "last-modified": "Wed, 05 Jan 2022 19:27:08 GMT", + "date": "Fri, 12 Aug 2022 03:03:31 GMT", + "etag": "\"0x8DA7C0F3CCD9C66\"", + "last-modified": "Fri, 12 Aug 2022 03:03:31 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "031799f5-028a-406a-5f1f-719de3f83181", + "x-ms-client-request-id": "43fc6d2f-79cc-4b27-7a11-17acdae88563", "x-ms-file-attributes": "Archive", - "x-ms-file-change-time": "2022-01-05T19:27:08.3238000Z", - "x-ms-file-creation-time": "2022-01-05T19:27:08.3238000Z", + "x-ms-file-change-time": "2022-08-12T03:03:31.2808038Z", + "x-ms-file-creation-time": "2022-08-12T03:03:30.9799760Z", "x-ms-file-id": "16140971433240035328", - "x-ms-file-last-write-time": "2022-01-05T19:27:08.3238000Z", + "x-ms-file-last-write-time": "2022-08-12T03:03:31.2808038Z", "x-ms-file-parent-id": "13835128424026341376", - "x-ms-file-permission-key": "2822515689773754806*10343500956293103928", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", "x-ms-lease-state": "available", "x-ms-lease-status": "unlocked", "x-ms-meta-meta0": "value", @@ -216,18 +217,18 @@ "x-ms-meta-meta2": "value", "x-ms-meta-meta3": "value", "x-ms-meta-meta4": "value", - "x-ms-request-id": "762dd833-d01a-0062-486a-027d20000000", + "x-ms-request-id": "9ae87e88-d01a-0062-3ff8-adac81000000", "x-ms-server-encrypted": "true", "x-ms-type": "File", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c5s4096/fromBuffer-c5s4096base/fromBuffer-c5s4096" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "da6f5742-7eb3-458c-6037-b09ac0421d4e", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "5e4b5c8f-7d32-4d99-7790-58d70ba1ea5e", + "x-ms-version": "2021-06-08" }, "Method": "DELETE", "Response": { @@ -235,19 +236,19 @@ "REASON_PHRASE": "Accepted", "STATUS_CODE": "202", "content-length": "0", - "date": "Wed, 05 Jan 2022 19:27:07 GMT", + "date": "Fri, 12 Aug 2022 03:03:31 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "da6f5742-7eb3-458c-6037-b09ac0421d4e", - "x-ms-request-id": "762dd834-d01a-0062-496a-027d20000000", - "x-ms-version": "2020-02-10" + "x-ms-client-request-id": "5e4b5c8f-7d32-4d99-7790-58d70ba1ea5e", + "x-ms-request-id": "9ae87e89-d01a-0062-40f8-adac81000000", + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c5s4096?restype=share" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "6afe800d-c77a-41e7-5d75-a6b5f8bd4400", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "fdf045ea-e2c0-4423-5d5b-fb1a3d671f58", + "x-ms-version": "2021-06-08" }, "Method": "DELETE", "Response": { @@ -255,19 +256,19 @@ "REASON_PHRASE": "Accepted", "STATUS_CODE": "202", "content-length": "0", - "date": "Wed, 05 Jan 2022 19:27:07 GMT", + "date": "Fri, 12 Aug 2022 03:03:32 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "6afe800d-c77a-41e7-5d75-a6b5f8bd4400", - "x-ms-request-id": "762dd835-d01a-0062-4a6a-027d20000000", - "x-ms-version": "2020-02-10" + "x-ms-client-request-id": "fdf045ea-e2c0-4423-5d5b-fb1a3d671f58", + "x-ms-request-id": "9ae87e8a-d01a-0062-41f8-adac81000000", + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c5s4096?restype=share" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "40a6b8ae-860c-4ba3-6c0e-a0c8139794a1", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "1d37e727-ec3c-4b10-72e0-884d784511e1", + "x-ms-version": "2021-06-08" }, "Method": "DELETE", "Response": { @@ -275,11 +276,11 @@ "REASON_PHRASE": "Accepted", "STATUS_CODE": "202", "content-length": "0", - "date": "Wed, 05 Jan 2022 19:27:07 GMT", + "date": "Fri, 12 Aug 2022 03:03:32 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "40a6b8ae-860c-4ba3-6c0e-a0c8139794a1", - "x-ms-request-id": "762dd836-d01a-0062-4b6a-027d20000000", - "x-ms-version": "2020-02-10" + "x-ms-client-request-id": "1d37e727-ec3c-4b10-72e0-884d784511e1", + "x-ms-request-id": "9ae87e8b-d01a-0062-42f8-adac81000000", + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c5s4096?restype=share" } diff --git a/sdk/storage/azure-storage-files-shares/test/ut/recordings/withParam-UploadShare.fromBuffer-c5s4194816.json b/sdk/storage/azure-storage-files-shares/test/ut/recordings/withParam-UploadShare.fromBuffer-c5s4194816.json index f5e9404877..e017015fd2 100644 --- a/sdk/storage/azure-storage-files-shares/test/ut/recordings/withParam-UploadShare.fromBuffer-c5s4194816.json +++ b/sdk/storage/azure-storage-files-shares/test/ut/recordings/withParam-UploadShare.fromBuffer-c5s4194816.json @@ -2,9 +2,9 @@ "networkCallRecords": [ { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "22d07204-e0e7-42f1-483d-ae77a04274c1", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "d648cf57-2701-4856-4810-3e6062610006", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -12,21 +12,21 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Wed, 05 Jan 2022 19:27:45 GMT", - "etag": "\"0x8D9D08173A32A02\"", - "last-modified": "Wed, 05 Jan 2022 19:27:45 GMT", + "date": "Fri, 12 Aug 2022 03:03:36 GMT", + "etag": "\"0x8DA7C0F40534403\"", + "last-modified": "Fri, 12 Aug 2022 03:03:37 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "22d07204-e0e7-42f1-483d-ae77a04274c1", - "x-ms-request-id": "245de71c-401a-0002-666a-0201bf000000", - "x-ms-version": "2020-02-10" + "x-ms-client-request-id": "d648cf57-2701-4856-4810-3e6062610006", + "x-ms-request-id": "9ae87ea4-d01a-0062-57f8-adac81000000", + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c5s4194816?restype=share" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "f4bb2e28-6559-4df2-6cda-bfd73fd15294", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "400ab649-ca65-48bf-46c2-e533d914643b", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -34,29 +34,29 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Wed, 05 Jan 2022 19:27:45 GMT", - "etag": "\"0x8D9D08173ABC914\"", - "last-modified": "Wed, 05 Jan 2022 19:27:45 GMT", + "date": "Fri, 12 Aug 2022 03:03:37 GMT", + "etag": "\"0x8DA7C0F4080A4C8\"", + "last-modified": "Fri, 12 Aug 2022 03:03:37 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "f4bb2e28-6559-4df2-6cda-bfd73fd15294", + "x-ms-client-request-id": "400ab649-ca65-48bf-46c2-e533d914643b", "x-ms-file-attributes": "Directory", - "x-ms-file-change-time": "2022-01-05T19:27:45.9632404Z", - "x-ms-file-creation-time": "2022-01-05T19:27:45.9632404Z", + "x-ms-file-change-time": "2022-08-12T03:03:37.4872776Z", + "x-ms-file-creation-time": "2022-08-12T03:03:37.4872776Z", "x-ms-file-id": "13835128424026341376", - "x-ms-file-last-write-time": "2022-01-05T19:27:45.9632404Z", + "x-ms-file-last-write-time": "2022-08-12T03:03:37.4872776Z", "x-ms-file-parent-id": "0", - "x-ms-file-permission-key": "16667920363481994929*10343500956293103928", - "x-ms-request-id": "245de71f-401a-0002-676a-0201bf000000", + "x-ms-file-permission-key": "13199961128260716138*16137673612980802019", + "x-ms-request-id": "9ae87ea6-d01a-0062-58f8-adac81000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c5s4194816/fromBuffer-c5s4194816base?restype=directory" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "1d918874-3e9d-435a-55f9-051e67955b20", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "ad3f3a57-967b-44c9-5373-e9e6dd28215d", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -64,29 +64,29 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Wed, 05 Jan 2022 19:27:45 GMT", - "etag": "\"0x8D9D08173ADEBA3\"", - "last-modified": "Wed, 05 Jan 2022 19:27:45 GMT", + "date": "Fri, 12 Aug 2022 03:03:37 GMT", + "etag": "\"0x8DA7C0F40AE64E3\"", + "last-modified": "Fri, 12 Aug 2022 03:03:37 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "1d918874-3e9d-435a-55f9-051e67955b20", + "x-ms-client-request-id": "ad3f3a57-967b-44c9-5373-e9e6dd28215d", "x-ms-file-attributes": "Archive", - "x-ms-file-change-time": "2022-01-05T19:27:45.9772323Z", - "x-ms-file-creation-time": "2022-01-05T19:27:45.9772323Z", + "x-ms-file-change-time": "2022-08-12T03:03:37.7871075Z", + "x-ms-file-creation-time": "2022-08-12T03:03:37.7871075Z", "x-ms-file-id": "11529285414812647424", - "x-ms-file-last-write-time": "2022-01-05T19:27:45.9772323Z", + "x-ms-file-last-write-time": "2022-08-12T03:03:37.7871075Z", "x-ms-file-parent-id": "13835128424026341376", - "x-ms-file-permission-key": "2822515689773754806*10343500956293103928", - "x-ms-request-id": "245de721-401a-0002-686a-0201bf000000", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", + "x-ms-request-id": "9ae87eac-d01a-0062-5ef8-adac81000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c5s4194816/fromBuffer-c5s4194816base/fromBuffer-c5s4194816basefile" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "9a11235b-b3ad-4db5-670c-4bf5a58e02b9", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "13478e47-3d65-4881-6e66-36b4fe4c2f73", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -94,29 +94,29 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Wed, 05 Jan 2022 19:27:45 GMT", - "etag": "\"0x8D9D08173B47A5D\"", - "last-modified": "Wed, 05 Jan 2022 19:27:46 GMT", + "date": "Fri, 12 Aug 2022 03:03:37 GMT", + "etag": "\"0x8DA7C0F40DBFE01\"", + "last-modified": "Fri, 12 Aug 2022 03:03:38 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "9a11235b-b3ad-4db5-670c-4bf5a58e02b9", + "x-ms-client-request-id": "13478e47-3d65-4881-6e66-36b4fe4c2f73", "x-ms-file-attributes": "Archive", - "x-ms-file-change-time": "2022-01-05T19:27:46.0202077Z", - "x-ms-file-creation-time": "2022-01-05T19:27:46.0202077Z", + "x-ms-file-change-time": "2022-08-12T03:03:38.0859393Z", + "x-ms-file-creation-time": "2022-08-12T03:03:38.0859393Z", "x-ms-file-id": "16140971433240035328", - "x-ms-file-last-write-time": "2022-01-05T19:27:46.0202077Z", + "x-ms-file-last-write-time": "2022-08-12T03:03:38.0859393Z", "x-ms-file-parent-id": "13835128424026341376", - "x-ms-file-permission-key": "2822515689773754806*10343500956293103928", - "x-ms-request-id": "245de722-401a-0002-696a-0201bf000000", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", + "x-ms-request-id": "9ae87ead-d01a-0062-5ff8-adac81000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c5s4194816/fromBuffer-c5s4194816base/fromBuffer-c5s4194816" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "1b243036-b087-4f6b-5c75-33dda014b425", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "e2fd0d33-9ebd-485a-72e4-96b98eabcf88", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -125,22 +125,23 @@ "STATUS_CODE": "201", "content-length": "0", "content-md5": "nFkLbTKd2Z20QGQK8HKyjA==", - "date": "Wed, 05 Jan 2022 19:27:45 GMT", - "etag": "\"0x8D9D08173BCB688\"", - "last-modified": "Wed, 05 Jan 2022 19:27:46 GMT", + "date": "Fri, 12 Aug 2022 03:03:38 GMT", + "etag": "\"0x8DA7C0F410CA3D7\"", + "last-modified": "Fri, 12 Aug 2022 03:03:38 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "1b243036-b087-4f6b-5c75-33dda014b425", - "x-ms-request-id": "245de723-401a-0002-6a6a-0201bf000000", + "x-ms-client-request-id": "e2fd0d33-9ebd-485a-72e4-96b98eabcf88", + "x-ms-file-last-write-time": "2022-08-12T03:03:38.4047575Z", + "x-ms-request-id": "9ae87eae-d01a-0062-60f8-adac81000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c5s4194816/fromBuffer-c5s4194816base/fromBuffer-c5s4194816?comp=range" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "c1ecab79-1372-4234-5559-38773639592f", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "fd7ccfdc-e2a4-4dab-5e8b-e8b8b693d155", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -149,22 +150,23 @@ "STATUS_CODE": "201", "content-length": "0", "content-md5": "nFkLbTKd2Z20QGQK8HKyjA==", - "date": "Wed, 05 Jan 2022 19:27:45 GMT", - "etag": "\"0x8D9D08173C197DB\"", - "last-modified": "Wed, 05 Jan 2022 19:27:46 GMT", + "date": "Fri, 12 Aug 2022 03:03:38 GMT", + "etag": "\"0x8DA7C0F4136BAF9\"", + "last-modified": "Fri, 12 Aug 2022 03:03:38 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "c1ecab79-1372-4234-5559-38773639592f", - "x-ms-request-id": "0215947e-401a-003d-246a-02c91c000000", + "x-ms-client-request-id": "fd7ccfdc-e2a4-4dab-5e8b-e8b8b693d155", + "x-ms-file-last-write-time": "2022-08-12T03:03:38.6806009Z", + "x-ms-request-id": "d26c23bb-f01a-0038-75f8-adca66000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c5s4194816/fromBuffer-c5s4194816base/fromBuffer-c5s4194816?comp=range" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "33586d36-c792-432d-58e0-b67c1bb03ac9", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "ed371223-f5ac-438e-4768-a5e5009c52e3", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -173,22 +175,23 @@ "STATUS_CODE": "201", "content-length": "0", "content-md5": "nFkLbTKd2Z20QGQK8HKyjA==", - "date": "Wed, 05 Jan 2022 19:27:45 GMT", - "etag": "\"0x8D9D08173C233FB\"", - "last-modified": "Wed, 05 Jan 2022 19:27:46 GMT", + "date": "Fri, 12 Aug 2022 03:03:38 GMT", + "etag": "\"0x8DA7C0F4165B366\"", + "last-modified": "Fri, 12 Aug 2022 03:03:38 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "33586d36-c792-432d-58e0-b67c1bb03ac9", - "x-ms-request-id": "245de724-401a-0002-6b6a-0201bf000000", + "x-ms-client-request-id": "ed371223-f5ac-438e-4768-a5e5009c52e3", + "x-ms-file-last-write-time": "2022-08-12T03:03:38.9884262Z", + "x-ms-request-id": "9ae87eb2-d01a-0062-64f8-adac81000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c5s4194816/fromBuffer-c5s4194816base/fromBuffer-c5s4194816?comp=range" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "bca42a19-14eb-48f1-517a-0af53c6c56f7", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "d47de087-fa67-4fe3-453f-a7e456579f70", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -197,22 +200,23 @@ "STATUS_CODE": "201", "content-length": "0", "content-md5": "nFkLbTKd2Z20QGQK8HKyjA==", - "date": "Wed, 05 Jan 2022 19:27:45 GMT", - "etag": "\"0x8D9D08173C25B05\"", - "last-modified": "Wed, 05 Jan 2022 19:27:46 GMT", + "date": "Fri, 12 Aug 2022 03:03:39 GMT", + "etag": "\"0x8DA7C0F41939A88\"", + "last-modified": "Fri, 12 Aug 2022 03:03:39 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "bca42a19-14eb-48f1-517a-0af53c6c56f7", - "x-ms-request-id": "5ee351a6-401a-004f-216a-02ce53000000", + "x-ms-client-request-id": "d47de087-fa67-4fe3-453f-a7e456579f70", + "x-ms-file-last-write-time": "2022-08-12T03:03:39.2892552Z", + "x-ms-request-id": "9ae87eb5-d01a-0062-65f8-adac81000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c5s4194816/fromBuffer-c5s4194816base/fromBuffer-c5s4194816?comp=range" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "a826e88c-ed1e-496d-7650-c113a58d4c60", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "7f744a75-ca4b-4e0f-5073-2092c048be7d", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -221,22 +225,23 @@ "STATUS_CODE": "201", "content-length": "0", "content-md5": "nFkLbTKd2Z20QGQK8HKyjA==", - "date": "Wed, 05 Jan 2022 19:27:45 GMT", - "etag": "\"0x8D9D08173C2D023\"", - "last-modified": "Wed, 05 Jan 2022 19:27:46 GMT", + "date": "Fri, 12 Aug 2022 03:03:38 GMT", + "etag": "\"0x8DA7C0F41940FA1\"", + "last-modified": "Fri, 12 Aug 2022 03:03:39 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "a826e88c-ed1e-496d-7650-c113a58d4c60", - "x-ms-request-id": "beacc3c2-b01a-0074-196a-028bf7000000", + "x-ms-client-request-id": "7f744a75-ca4b-4e0f-5073-2092c048be7d", + "x-ms-file-last-write-time": "2022-08-12T03:03:39.2922529Z", + "x-ms-request-id": "d26c23be-f01a-0038-76f8-adca66000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c5s4194816/fromBuffer-c5s4194816base/fromBuffer-c5s4194816?comp=range" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "5b8056cf-82b3-47eb-717c-a921a446b85d", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "fc0ed3ff-4315-4a4f-7888-8cf78f2061e7", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -244,23 +249,24 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "content-md5": "nFkLbTKd2Z20QGQK8HKyjA==", - "date": "Wed, 05 Jan 2022 19:27:45 GMT", - "etag": "\"0x8D9D08173C34547\"", - "last-modified": "Wed, 05 Jan 2022 19:27:46 GMT", + "content-md5": "kUe8Hw8g6K4ZMuYWtRJA+w==", + "date": "Fri, 12 Aug 2022 03:03:39 GMT", + "etag": "\"0x8DA7C0F41C0977A\"", + "last-modified": "Fri, 12 Aug 2022 03:03:39 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "5b8056cf-82b3-47eb-717c-a921a446b85d", - "x-ms-request-id": "fd59e191-c01a-0023-5b6a-0225c4000000", + "x-ms-client-request-id": "fc0ed3ff-4315-4a4f-7888-8cf78f2061e7", + "x-ms-file-last-write-time": "2022-08-12T03:03:39.5840890Z", + "x-ms-request-id": "9ae87eba-d01a-0062-69f8-adac81000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c5s4194816/fromBuffer-c5s4194816base/fromBuffer-c5s4194816?comp=range" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "2583b5c3-d9a7-482a-4b96-4a2da39655f9", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "9bde06a5-2d2f-48f0-445c-943d7b272362", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -268,23 +274,24 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "content-md5": "kUe8Hw8g6K4ZMuYWtRJA+w==", - "date": "Wed, 05 Jan 2022 19:27:45 GMT", - "etag": "\"0x8D9D08173C4F2B3\"", - "last-modified": "Wed, 05 Jan 2022 19:27:46 GMT", + "content-md5": "nFkLbTKd2Z20QGQK8HKyjA==", + "date": "Fri, 12 Aug 2022 03:03:40 GMT", + "etag": "\"0x8DA7C0F42696908\"", + "last-modified": "Fri, 12 Aug 2022 03:03:40 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "2583b5c3-d9a7-482a-4b96-4a2da39655f9", - "x-ms-request-id": "245de725-401a-0002-6c6a-0201bf000000", + "x-ms-client-request-id": "9bde06a5-2d2f-48f0-445c-943d7b272362", + "x-ms-file-last-write-time": "2022-08-12T03:03:40.6904584Z", + "x-ms-request-id": "df72445c-f01a-005a-55f8-ad0841000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c5s4194816/fromBuffer-c5s4194816base/fromBuffer-c5s4194816?comp=range" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "30c7e3ed-ef8c-470a-7377-1dda81ed2db3", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "c6227f94-f326-4d16-5d64-a0ef981156bc", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -293,22 +300,23 @@ "STATUS_CODE": "201", "content-length": "0", "content-md5": "nFkLbTKd2Z20QGQK8HKyjA==", - "date": "Wed, 05 Jan 2022 19:27:45 GMT", - "etag": "\"0x8D9D08173C73C4D\"", - "last-modified": "Wed, 05 Jan 2022 19:27:46 GMT", + "date": "Fri, 12 Aug 2022 03:03:40 GMT", + "etag": "\"0x8DA7C0F427045D6\"", + "last-modified": "Fri, 12 Aug 2022 03:03:40 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "30c7e3ed-ef8c-470a-7377-1dda81ed2db3", - "x-ms-request-id": "02159482-401a-003d-256a-02c91c000000", + "x-ms-client-request-id": "c6227f94-f326-4d16-5d64-a0ef981156bc", + "x-ms-file-last-write-time": "2022-08-12T03:03:40.7354326Z", + "x-ms-request-id": "fd87a0b3-001a-0095-23f8-ad8613000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c5s4194816/fromBuffer-c5s4194816base/fromBuffer-c5s4194816?comp=range" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "6d147f7c-bdaf-47da-713f-e519166fdcba", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "a2bf1dce-cf28-4d17-709e-a4c7a51400b8", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -317,22 +325,23 @@ "STATUS_CODE": "201", "content-length": "0", "content-md5": "nFkLbTKd2Z20QGQK8HKyjA==", - "date": "Wed, 05 Jan 2022 19:27:45 GMT", - "etag": "\"0x8D9D08173C7B16C\"", - "last-modified": "Wed, 05 Jan 2022 19:27:46 GMT", + "date": "Fri, 12 Aug 2022 03:03:41 GMT", + "etag": "\"0x8DA7C0F429B4738\"", + "last-modified": "Fri, 12 Aug 2022 03:03:41 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "6d147f7c-bdaf-47da-713f-e519166fdcba", - "x-ms-request-id": "5ee351a9-401a-004f-226a-02ce53000000", + "x-ms-client-request-id": "a2bf1dce-cf28-4d17-709e-a4c7a51400b8", + "x-ms-file-last-write-time": "2022-08-12T03:03:41.0172728Z", + "x-ms-request-id": "3d0ce9bf-101a-0042-77f8-add726000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c5s4194816/fromBuffer-c5s4194816base/fromBuffer-c5s4194816?comp=range" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "71dd79be-eaea-4353-61c1-c3be9c868831", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "32de7ad1-4e7b-463b-5976-89f7e2ebb884", + "x-ms-version": "2021-06-08" }, "Method": "HEAD", "Response": { @@ -345,18 +354,18 @@ "content-language": "en-US", "content-length": "4194816", "content-type": "application/octet-stream", - "date": "Wed, 05 Jan 2022 19:27:45 GMT", - "etag": "\"0x8D9D08173C7B16C\"", - "last-modified": "Wed, 05 Jan 2022 19:27:46 GMT", + "date": "Fri, 12 Aug 2022 03:03:41 GMT", + "etag": "\"0x8DA7C0F429B4738\"", + "last-modified": "Fri, 12 Aug 2022 03:03:41 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "71dd79be-eaea-4353-61c1-c3be9c868831", + "x-ms-client-request-id": "32de7ad1-4e7b-463b-5976-89f7e2ebb884", "x-ms-file-attributes": "Archive", - "x-ms-file-change-time": "2022-01-05T19:27:46.0202077Z", - "x-ms-file-creation-time": "2022-01-05T19:27:46.0202077Z", + "x-ms-file-change-time": "2022-08-12T03:03:41.0172728Z", + "x-ms-file-creation-time": "2022-08-12T03:03:38.0859393Z", "x-ms-file-id": "16140971433240035328", - "x-ms-file-last-write-time": "2022-01-05T19:27:46.0202077Z", + "x-ms-file-last-write-time": "2022-08-12T03:03:41.0172728Z", "x-ms-file-parent-id": "13835128424026341376", - "x-ms-file-permission-key": "2822515689773754806*10343500956293103928", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", "x-ms-lease-state": "available", "x-ms-lease-status": "unlocked", "x-ms-meta-meta0": "value", @@ -364,18 +373,18 @@ "x-ms-meta-meta2": "value", "x-ms-meta-meta3": "value", "x-ms-meta-meta4": "value", - "x-ms-request-id": "5ee351aa-401a-004f-236a-02ce53000000", + "x-ms-request-id": "3d0ce9cb-101a-0042-7cf8-add726000000", "x-ms-server-encrypted": "true", "x-ms-type": "File", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c5s4194816/fromBuffer-c5s4194816base/fromBuffer-c5s4194816" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "f8dd70db-509c-4aca-671a-36365883103a", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "1b08fb57-60a0-47bc-460d-04c56ca05857", + "x-ms-version": "2021-06-08" }, "Method": "GET", "Response": { @@ -389,18 +398,18 @@ "content-language": "en-US", "content-length": "4194816", "content-type": "application/octet-stream", - "date": "Wed, 05 Jan 2022 19:27:45 GMT", - "etag": "\"0x8D9D08173C7B16C\"", - "last-modified": "Wed, 05 Jan 2022 19:27:46 GMT", + "date": "Fri, 12 Aug 2022 03:03:41 GMT", + "etag": "\"0x8DA7C0F429B4738\"", + "last-modified": "Fri, 12 Aug 2022 03:03:41 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "f8dd70db-509c-4aca-671a-36365883103a", + "x-ms-client-request-id": "1b08fb57-60a0-47bc-460d-04c56ca05857", "x-ms-file-attributes": "Archive", - "x-ms-file-change-time": "2022-01-05T19:27:46.0202077Z", - "x-ms-file-creation-time": "2022-01-05T19:27:46.0202077Z", + "x-ms-file-change-time": "2022-08-12T03:03:41.0172728Z", + "x-ms-file-creation-time": "2022-08-12T03:03:38.0859393Z", "x-ms-file-id": "16140971433240035328", - "x-ms-file-last-write-time": "2022-01-05T19:27:46.0202077Z", + "x-ms-file-last-write-time": "2022-08-12T03:03:41.0172728Z", "x-ms-file-parent-id": "13835128424026341376", - "x-ms-file-permission-key": "2822515689773754806*10343500956293103928", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", "x-ms-lease-state": "available", "x-ms-lease-status": "unlocked", "x-ms-meta-meta0": "value", @@ -408,18 +417,18 @@ "x-ms-meta-meta2": "value", "x-ms-meta-meta3": "value", "x-ms-meta-meta4": "value", - "x-ms-request-id": "5ee351ab-401a-004f-246a-02ce53000000", + "x-ms-request-id": "3d0ce9cf-101a-0042-80f8-add726000000", "x-ms-server-encrypted": "true", "x-ms-type": "File", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c5s4194816/fromBuffer-c5s4194816base/fromBuffer-c5s4194816" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "1c565646-be83-4bd7-4cf0-b5128393d236", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "521eefe2-df8c-4617-43a4-b04739243cde", + "x-ms-version": "2021-06-08" }, "Method": "DELETE", "Response": { @@ -427,19 +436,19 @@ "REASON_PHRASE": "Accepted", "STATUS_CODE": "202", "content-length": "0", - "date": "Wed, 05 Jan 2022 19:27:45 GMT", + "date": "Fri, 12 Aug 2022 03:03:44 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "1c565646-be83-4bd7-4cf0-b5128393d236", - "x-ms-request-id": "5ee351ac-401a-004f-256a-02ce53000000", - "x-ms-version": "2020-02-10" + "x-ms-client-request-id": "521eefe2-df8c-4617-43a4-b04739243cde", + "x-ms-request-id": "3d0ce9e1-101a-0042-0ef8-add726000000", + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c5s4194816?restype=share" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "265718ef-197a-4555-7d1f-dd91462e531c", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "5d530e32-aed9-4778-5045-432c13625811", + "x-ms-version": "2021-06-08" }, "Method": "DELETE", "Response": { @@ -447,19 +456,19 @@ "REASON_PHRASE": "Accepted", "STATUS_CODE": "202", "content-length": "0", - "date": "Wed, 05 Jan 2022 19:27:45 GMT", + "date": "Fri, 12 Aug 2022 03:03:44 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "265718ef-197a-4555-7d1f-dd91462e531c", - "x-ms-request-id": "5ee351ad-401a-004f-266a-02ce53000000", - "x-ms-version": "2020-02-10" + "x-ms-client-request-id": "5d530e32-aed9-4778-5045-432c13625811", + "x-ms-request-id": "3d0ce9e3-101a-0042-0ff8-add726000000", + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c5s4194816?restype=share" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "41726814-3a21-492e-439c-a00f996bdf90", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "db490b5c-7aa6-4bcd-5029-adf784f3b4d6", + "x-ms-version": "2021-06-08" }, "Method": "DELETE", "Response": { @@ -467,11 +476,11 @@ "REASON_PHRASE": "Accepted", "STATUS_CODE": "202", "content-length": "0", - "date": "Wed, 05 Jan 2022 19:27:45 GMT", + "date": "Fri, 12 Aug 2022 03:03:45 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "41726814-3a21-492e-439c-a00f996bdf90", - "x-ms-request-id": "5ee351ae-401a-004f-276a-02ce53000000", - "x-ms-version": "2020-02-10" + "x-ms-client-request-id": "db490b5c-7aa6-4bcd-5029-adf784f3b4d6", + "x-ms-request-id": "3d0ce9e7-101a-0042-11f8-add726000000", + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c5s4194816?restype=share" } diff --git a/sdk/storage/azure-storage-files-shares/test/ut/recordings/withParam-UploadShare.fromBuffer-c5s512.json b/sdk/storage/azure-storage-files-shares/test/ut/recordings/withParam-UploadShare.fromBuffer-c5s512.json index 014d71481e..5b08117234 100644 --- a/sdk/storage/azure-storage-files-shares/test/ut/recordings/withParam-UploadShare.fromBuffer-c5s512.json +++ b/sdk/storage/azure-storage-files-shares/test/ut/recordings/withParam-UploadShare.fromBuffer-c5s512.json @@ -2,9 +2,9 @@ "networkCallRecords": [ { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "5bc77781-b445-4964-786c-db033d01bbb9", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "8cecdfc5-26be-45b2-4655-3fa30fdf21b7", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -12,21 +12,21 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Wed, 05 Jan 2022 19:27:07 GMT", - "etag": "\"0x8D9D0815CF6F74F\"", - "last-modified": "Wed, 05 Jan 2022 19:27:07 GMT", + "date": "Fri, 12 Aug 2022 03:03:23 GMT", + "etag": "\"0x8DA7C0F388B7823\"", + "last-modified": "Fri, 12 Aug 2022 03:03:24 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "5bc77781-b445-4964-786c-db033d01bbb9", - "x-ms-request-id": "1c106bd5-801a-0050-5f6a-027d57000000", - "x-ms-version": "2020-02-10" + "x-ms-client-request-id": "8cecdfc5-26be-45b2-4655-3fa30fdf21b7", + "x-ms-request-id": "9ae87e5d-d01a-0062-1cf8-adac81000000", + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c5s512?restype=share" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "687b47bf-bfe0-455b-471f-b08fcc14386f", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "b070db40-9607-4cd0-5744-044d3cd3727c", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -34,29 +34,29 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Wed, 05 Jan 2022 19:27:07 GMT", - "etag": "\"0x8D9D0815CFB3147\"", - "last-modified": "Wed, 05 Jan 2022 19:27:07 GMT", + "date": "Fri, 12 Aug 2022 03:03:24 GMT", + "etag": "\"0x8DA7C0F38B8FA32\"", + "last-modified": "Fri, 12 Aug 2022 03:03:24 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "687b47bf-bfe0-455b-471f-b08fcc14386f", + "x-ms-client-request-id": "b070db40-9607-4cd0-5744-044d3cd3727c", "x-ms-file-attributes": "Directory", - "x-ms-file-change-time": "2022-01-05T19:27:07.8960455Z", - "x-ms-file-creation-time": "2022-01-05T19:27:07.8960455Z", + "x-ms-file-change-time": "2022-08-12T03:03:24.4346930Z", + "x-ms-file-creation-time": "2022-08-12T03:03:24.4346930Z", "x-ms-file-id": "13835128424026341376", - "x-ms-file-last-write-time": "2022-01-05T19:27:07.8960455Z", + "x-ms-file-last-write-time": "2022-08-12T03:03:24.4346930Z", "x-ms-file-parent-id": "0", - "x-ms-file-permission-key": "16667920363481994929*10343500956293103928", - "x-ms-request-id": "1c106bd8-801a-0050-606a-027d57000000", + "x-ms-file-permission-key": "13199961128260716138*16137673612980802019", + "x-ms-request-id": "9ae87e5f-d01a-0062-1df8-adac81000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c5s512/fromBuffer-c5s512base?restype=directory" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "a668881d-8807-49fd-6752-77eaec8e2057", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "75b3b595-c259-4b0a-57d4-56411f147f60", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -64,29 +64,29 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Wed, 05 Jan 2022 19:27:07 GMT", - "etag": "\"0x8D9D0815CFDC8F0\"", - "last-modified": "Wed, 05 Jan 2022 19:27:07 GMT", + "date": "Fri, 12 Aug 2022 03:03:24 GMT", + "etag": "\"0x8DA7C0F38E69344\"", + "last-modified": "Fri, 12 Aug 2022 03:03:24 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "a668881d-8807-49fd-6752-77eaec8e2057", + "x-ms-client-request-id": "75b3b595-c259-4b0a-57d4-56411f147f60", "x-ms-file-attributes": "Archive", - "x-ms-file-change-time": "2022-01-05T19:27:07.9130352Z", - "x-ms-file-creation-time": "2022-01-05T19:27:07.9130352Z", + "x-ms-file-change-time": "2022-08-12T03:03:24.7335236Z", + "x-ms-file-creation-time": "2022-08-12T03:03:24.7335236Z", "x-ms-file-id": "11529285414812647424", - "x-ms-file-last-write-time": "2022-01-05T19:27:07.9130352Z", + "x-ms-file-last-write-time": "2022-08-12T03:03:24.7335236Z", "x-ms-file-parent-id": "13835128424026341376", - "x-ms-file-permission-key": "2822515689773754806*10343500956293103928", - "x-ms-request-id": "1c106bd9-801a-0050-616a-027d57000000", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", + "x-ms-request-id": "9ae87e62-d01a-0062-20f8-adac81000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c5s512/fromBuffer-c5s512base/fromBuffer-c5s512basefile" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "0431abff-0285-4e9b-521d-7a85ecbd6814", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "16a870ca-53c8-456c-4113-eb72e5286f0a", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -94,29 +94,29 @@ "REASON_PHRASE": "Created", "STATUS_CODE": "201", "content-length": "0", - "date": "Wed, 05 Jan 2022 19:27:07 GMT", - "etag": "\"0x8D9D0815D0060A0\"", - "last-modified": "Wed, 05 Jan 2022 19:27:07 GMT", + "date": "Fri, 12 Aug 2022 03:03:24 GMT", + "etag": "\"0x8DA7C0F3914535A\"", + "last-modified": "Fri, 12 Aug 2022 03:03:25 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "0431abff-0285-4e9b-521d-7a85ecbd6814", + "x-ms-client-request-id": "16a870ca-53c8-456c-4113-eb72e5286f0a", "x-ms-file-attributes": "Archive", - "x-ms-file-change-time": "2022-01-05T19:27:07.9300256Z", - "x-ms-file-creation-time": "2022-01-05T19:27:07.9300256Z", + "x-ms-file-change-time": "2022-08-12T03:03:25.0333530Z", + "x-ms-file-creation-time": "2022-08-12T03:03:25.0333530Z", "x-ms-file-id": "16140971433240035328", - "x-ms-file-last-write-time": "2022-01-05T19:27:07.9300256Z", + "x-ms-file-last-write-time": "2022-08-12T03:03:25.0333530Z", "x-ms-file-parent-id": "13835128424026341376", - "x-ms-file-permission-key": "2822515689773754806*10343500956293103928", - "x-ms-request-id": "1c106bda-801a-0050-626a-027d57000000", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", + "x-ms-request-id": "9ae87e64-d01a-0062-22f8-adac81000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c5s512/fromBuffer-c5s512base/fromBuffer-c5s512" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "9fd1f5f3-e474-433e-481f-bb1900ff167d", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "c970b450-94e7-433e-5de3-3d1c0e192fcd", + "x-ms-version": "2021-06-08" }, "Method": "PUT", "Response": { @@ -125,22 +125,23 @@ "STATUS_CODE": "201", "content-length": "0", "content-md5": "kUe8Hw8g6K4ZMuYWtRJA+w==", - "date": "Wed, 05 Jan 2022 19:27:07 GMT", - "etag": "\"0x8D9D0815D03947B\"", - "last-modified": "Wed, 05 Jan 2022 19:27:07 GMT", + "date": "Fri, 12 Aug 2022 03:03:25 GMT", + "etag": "\"0x8DA7C0F39419E65\"", + "last-modified": "Fri, 12 Aug 2022 03:03:25 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "9fd1f5f3-e474-433e-481f-bb1900ff167d", - "x-ms-request-id": "1c106bdb-801a-0050-636a-027d57000000", + "x-ms-client-request-id": "c970b450-94e7-433e-5de3-3d1c0e192fcd", + "x-ms-file-last-write-time": "2022-08-12T03:03:25.3301861Z", + "x-ms-request-id": "9ae87e67-d01a-0062-25f8-adac81000000", "x-ms-request-server-encrypted": "true", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c5s512/fromBuffer-c5s512base/fromBuffer-c5s512?comp=range" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "b6021c07-a485-4d34-7e94-36be8e2a19b8", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "3402ef59-4131-4e4c-52d0-666d6a10f62d", + "x-ms-version": "2021-06-08" }, "Method": "HEAD", "Response": { @@ -153,18 +154,18 @@ "content-language": "en-US", "content-length": "512", "content-type": "application/octet-stream", - "date": "Wed, 05 Jan 2022 19:27:07 GMT", - "etag": "\"0x8D9D0815D03947B\"", - "last-modified": "Wed, 05 Jan 2022 19:27:07 GMT", + "date": "Fri, 12 Aug 2022 03:03:25 GMT", + "etag": "\"0x8DA7C0F39419E65\"", + "last-modified": "Fri, 12 Aug 2022 03:03:25 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "b6021c07-a485-4d34-7e94-36be8e2a19b8", + "x-ms-client-request-id": "3402ef59-4131-4e4c-52d0-666d6a10f62d", "x-ms-file-attributes": "Archive", - "x-ms-file-change-time": "2022-01-05T19:27:07.9300256Z", - "x-ms-file-creation-time": "2022-01-05T19:27:07.9300256Z", + "x-ms-file-change-time": "2022-08-12T03:03:25.3301861Z", + "x-ms-file-creation-time": "2022-08-12T03:03:25.0333530Z", "x-ms-file-id": "16140971433240035328", - "x-ms-file-last-write-time": "2022-01-05T19:27:07.9300256Z", + "x-ms-file-last-write-time": "2022-08-12T03:03:25.3301861Z", "x-ms-file-parent-id": "13835128424026341376", - "x-ms-file-permission-key": "2822515689773754806*10343500956293103928", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", "x-ms-lease-state": "available", "x-ms-lease-status": "unlocked", "x-ms-meta-meta0": "value", @@ -172,18 +173,18 @@ "x-ms-meta-meta2": "value", "x-ms-meta-meta3": "value", "x-ms-meta-meta4": "value", - "x-ms-request-id": "1c106bdd-801a-0050-656a-027d57000000", + "x-ms-request-id": "9ae87e68-d01a-0062-26f8-adac81000000", "x-ms-server-encrypted": "true", "x-ms-type": "File", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c5s512/fromBuffer-c5s512base/fromBuffer-c5s512" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "2d2523a6-b6c2-4aba-56ea-16445d6aba1c", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "58e8b3f8-a9cf-47ad-6894-3344123a6dc3", + "x-ms-version": "2021-06-08" }, "Method": "GET", "Response": { @@ -197,18 +198,18 @@ "content-language": "en-US", "content-length": "512", "content-type": "application/octet-stream", - "date": "Wed, 05 Jan 2022 19:27:07 GMT", - "etag": "\"0x8D9D0815D03947B\"", - "last-modified": "Wed, 05 Jan 2022 19:27:07 GMT", + "date": "Fri, 12 Aug 2022 03:03:25 GMT", + "etag": "\"0x8DA7C0F39419E65\"", + "last-modified": "Fri, 12 Aug 2022 03:03:25 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "2d2523a6-b6c2-4aba-56ea-16445d6aba1c", + "x-ms-client-request-id": "58e8b3f8-a9cf-47ad-6894-3344123a6dc3", "x-ms-file-attributes": "Archive", - "x-ms-file-change-time": "2022-01-05T19:27:07.9300256Z", - "x-ms-file-creation-time": "2022-01-05T19:27:07.9300256Z", + "x-ms-file-change-time": "2022-08-12T03:03:25.3301861Z", + "x-ms-file-creation-time": "2022-08-12T03:03:25.0333530Z", "x-ms-file-id": "16140971433240035328", - "x-ms-file-last-write-time": "2022-01-05T19:27:07.9300256Z", + "x-ms-file-last-write-time": "2022-08-12T03:03:25.3301861Z", "x-ms-file-parent-id": "13835128424026341376", - "x-ms-file-permission-key": "2822515689773754806*10343500956293103928", + "x-ms-file-permission-key": "8598604137816897901*16137673612980802019", "x-ms-lease-state": "available", "x-ms-lease-status": "unlocked", "x-ms-meta-meta0": "value", @@ -216,18 +217,18 @@ "x-ms-meta-meta2": "value", "x-ms-meta-meta3": "value", "x-ms-meta-meta4": "value", - "x-ms-request-id": "1c106be3-801a-0050-686a-027d57000000", + "x-ms-request-id": "9ae87e69-d01a-0062-27f8-adac81000000", "x-ms-server-encrypted": "true", "x-ms-type": "File", - "x-ms-version": "2020-02-10" + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c5s512/fromBuffer-c5s512base/fromBuffer-c5s512" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "466ca54d-7016-4736-5122-c8e5accbef7b", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "57947173-e5c9-473d-5e20-8e6bcee7932c", + "x-ms-version": "2021-06-08" }, "Method": "DELETE", "Response": { @@ -235,19 +236,19 @@ "REASON_PHRASE": "Accepted", "STATUS_CODE": "202", "content-length": "0", - "date": "Wed, 05 Jan 2022 19:27:07 GMT", + "date": "Fri, 12 Aug 2022 03:03:25 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "466ca54d-7016-4736-5122-c8e5accbef7b", - "x-ms-request-id": "1c106be4-801a-0050-696a-027d57000000", - "x-ms-version": "2020-02-10" + "x-ms-client-request-id": "57947173-e5c9-473d-5e20-8e6bcee7932c", + "x-ms-request-id": "9ae87e6a-d01a-0062-28f8-adac81000000", + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c5s512?restype=share" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "fc4a21e6-67ee-4ef1-75b6-925b46a1e0de", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "545d4e88-44ff-4cae-4cf3-faf0de9ee78a", + "x-ms-version": "2021-06-08" }, "Method": "DELETE", "Response": { @@ -255,19 +256,19 @@ "REASON_PHRASE": "Accepted", "STATUS_CODE": "202", "content-length": "0", - "date": "Wed, 05 Jan 2022 19:27:07 GMT", + "date": "Fri, 12 Aug 2022 03:03:26 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "fc4a21e6-67ee-4ef1-75b6-925b46a1e0de", - "x-ms-request-id": "1c106be5-801a-0050-6a6a-027d57000000", - "x-ms-version": "2020-02-10" + "x-ms-client-request-id": "545d4e88-44ff-4cae-4cf3-faf0de9ee78a", + "x-ms-request-id": "9ae87e6f-d01a-0062-2cf8-adac81000000", + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c5s512?restype=share" }, { "Headers": { - "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Linux 5.4.0-1063-azure x86_64 #66~18.04.1-Ubuntu SMP Thu Oct 21 09:59:28 UTC 2021)", - "x-ms-client-request-id": "32b12d2a-e3de-4d23-7130-b7cef8911261", - "x-ms-version": "2020-02-10" + "user-agent": "azsdk-cpp-storage-files-shares/12.3.0-beta.1 (Windows 10 Enterprise 6.3 22000 22000.1.amd64fre.co_release.210604-1628)", + "x-ms-client-request-id": "f1ac0eb7-e072-4de6-48c0-ceb74ddd5082", + "x-ms-version": "2021-06-08" }, "Method": "DELETE", "Response": { @@ -275,11 +276,11 @@ "REASON_PHRASE": "Accepted", "STATUS_CODE": "202", "content-length": "0", - "date": "Wed, 05 Jan 2022 19:27:07 GMT", + "date": "Fri, 12 Aug 2022 03:03:26 GMT", "server": "Windows-Azure-File/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-client-request-id": "32b12d2a-e3de-4d23-7130-b7cef8911261", - "x-ms-request-id": "1c106be6-801a-0050-6b6a-027d57000000", - "x-ms-version": "2020-02-10" + "x-ms-client-request-id": "f1ac0eb7-e072-4de6-48c0-ceb74ddd5082", + "x-ms-request-id": "9ae87e70-d01a-0062-2df8-adac81000000", + "x-ms-version": "2021-06-08" }, "Url": "https://REDACTED.file.core.windows.net/withparam-uploadsharefrombuffer-c5s512?restype=share" } diff --git a/sdk/storage/azure-storage-files-shares/test/ut/share_client_test.cpp b/sdk/storage/azure-storage-files-shares/test/ut/share_client_test.cpp index d1dbeeb9bb..46e88b5612 100644 --- a/sdk/storage/azure-storage-files-shares/test/ut/share_client_test.cpp +++ b/sdk/storage/azure-storage-files-shares/test/ut/share_client_test.cpp @@ -282,115 +282,125 @@ namespace Azure { namespace Storage { namespace Test { EXPECT_EQ(expectedPermission, ret2.Value); } - // TEST_F(FileShareClientTest, Lease) - //{ - // std::string leaseId1 = CreateUniqueLeaseId(); - // std::chrono::seconds leaseDuration(20); - // auto leaseClient = Files::Shares::ShareLeaseClient(*m_shareClient, leaseId1); - - // auto aLease = *leaseClient.Acquire(leaseDuration); - // EXPECT_FALSE(aLease.ETag.empty()); - // EXPECT_NE(Azure::DateTime(), aLease.LastModified); - // EXPECT_EQ(aLease.LeaseId, leaseId1); - // aLease = *leaseClient.Acquire(leaseDuration); - // EXPECT_FALSE(aLease.ETag.empty()); - // EXPECT_NE(Azure::DateTime(), aLease.LastModified); - // EXPECT_EQ(aLease.LeaseId, leaseId1); - - // auto properties = *m_shareClient->GetProperties(); - // EXPECT_EQ(properties.LeaseState.Value(), Files::Shares::Models::LeaseStateType::Leased); - // EXPECT_EQ(properties.LeaseStatus.Value(), Files::Shares::Models::LeaseStatusType::Locked); - // EXPECT_EQ(Files::Shares::Models::LeaseDurationType::Fixed, - // properties.LeaseDuration.Value()); - - // auto rLease = *leaseClient.Renew(); - // EXPECT_FALSE(rLease.ETag.empty()); - // EXPECT_NE(Azure::DateTime(), rLease.LastModified); - // EXPECT_EQ(rLease.LeaseId, leaseId1); - - // std::string leaseId2 = CreateUniqueLeaseId(); - // EXPECT_NE(leaseId1, leaseId2); - // auto cLease = *leaseClient.Change(leaseId2); - // EXPECT_FALSE(cLease.ETag.empty()); - // EXPECT_NE(Azure::DateTime(), cLease.LastModified); - // EXPECT_EQ(cLease.LeaseId, leaseId2); - - // auto relLease = *leaseClient.Release(); - // EXPECT_FALSE(relLease.ETag.empty()); - // EXPECT_NE(Azure::DateTime(), relLease.LastModified); - - // leaseClient = Files::Shares::ShareLeaseClient(*m_shareClient, CreateUniqueLeaseId()); - // aLease = *leaseClient.Acquire(Files::Shares::ShareLeaseClient::InfiniteLeaseDuration); - // properties = *m_shareClient->GetProperties(); - // EXPECT_EQ( - // Files::Shares::Models::LeaseDurationType::Infinite, properties.LeaseDuration.Value()); - // auto brokenLease = *leaseClient.Break(); - // EXPECT_FALSE(brokenLease.ETag.empty()); - // EXPECT_NE(Azure::DateTime(), brokenLease.LastModified); - // EXPECT_EQ(brokenLease.LeaseTime, 0); - - // Files::Shares::BreakLeaseOptions options; - // options.BreakPeriod = 0; - // leaseClient.Break(options); - //} - - // TEST_F(FileShareClientTest, SnapshotLease) - //{ - // std::string leaseId1 = CreateUniqueLeaseId(); - // std::chrono::seconds leaseDuration(20); - // auto snapshotResult = m_shareClient->CreateSnapshot(); - // auto shareSnapshot = m_shareClient->WithSnapshot(snapshotResult.Value.Snapshot); - // auto shareSnapshotLeaseClient = Files::Shares::ShareLeaseClient(shareSnapshot, leaseId1); - // auto aLease = *shareSnapshotLeaseClient.Acquire(leaseDuration); - // EXPECT_FALSE(aLease.ETag.empty()); - // EXPECT_NE(Azure::DateTime(), aLease.LastModified); - // EXPECT_EQ(aLease.LeaseId, leaseId1); - // aLease = *shareSnapshotLeaseClient.Acquire(leaseDuration); - // EXPECT_FALSE(aLease.ETag.empty()); - // EXPECT_NE(Azure::DateTime(), aLease.LastModified); - // EXPECT_EQ(aLease.LeaseId, leaseId1); - - // auto properties = *shareSnapshot.GetProperties(); - // EXPECT_EQ(properties.LeaseState.Value(), Files::Shares::Models::LeaseStateType::Leased); - // EXPECT_EQ(properties.LeaseStatus.Value(), Files::Shares::Models::LeaseStatusType::Locked); - // EXPECT_EQ(Files::Shares::Models::LeaseDurationType::Fixed, - // properties.LeaseDuration.Value()); - - // auto rLease = *shareSnapshotLeaseClient.Renew(); - // EXPECT_FALSE(rLease.ETag.empty()); - // EXPECT_NE(Azure::DateTime(), rLease.LastModified); - // EXPECT_EQ(rLease.LeaseId, leaseId1); - - // std::string leaseId2 = CreateUniqueLeaseId(); - // EXPECT_NE(leaseId1, leaseId2); - // auto cLease = *shareSnapshotLeaseClient.Change(leaseId2); - // EXPECT_FALSE(cLease.ETag.empty()); - // EXPECT_NE(Azure::DateTime(), cLease.LastModified); - // EXPECT_EQ(cLease.LeaseId, leaseId2); - - // auto relLease = *shareSnapshotLeaseClient.Release(); - // EXPECT_FALSE(relLease.ETag.empty()); - // EXPECT_NE(Azure::DateTime(), relLease.LastModified); - - // shareSnapshotLeaseClient - // = Files::Shares::ShareLeaseClient(shareSnapshot, CreateUniqueLeaseId()); - // aLease - // = - // *shareSnapshotLeaseClient.Acquire(Files::Shares::ShareLeaseClient::InfiniteLeaseDuration); - // properties = *shareSnapshot.GetProperties(); - // EXPECT_EQ( - // Files::Shares::Models::LeaseDurationType::Infinite, properties.LeaseDuration.Value()); - // auto brokenLease = *shareSnapshotLeaseClient.Break(); - // EXPECT_FALSE(brokenLease.ETag.empty()); - // EXPECT_NE(Azure::DateTime(), brokenLease.LastModified); - // EXPECT_EQ(brokenLease.LeaseTime, 0); - - // Files::Shares::BreakLeaseOptions options; - // options.BreakPeriod = 0; - // shareSnapshotLeaseClient.Break(options); - - // EXPECT_THROW(m_shareClient->Delete(), StorageException); - //} + TEST_F(FileShareClientTest, Lease) + { + { + std::string leaseId1 = Files::Shares::ShareLeaseClient::CreateUniqueLeaseId(); + auto lastModified = m_shareClient->GetProperties().Value.LastModified; + std::chrono::seconds leaseDuration(20); + Files::Shares::ShareLeaseClient leaseClient(*m_shareClient, leaseId1); + auto aLease = leaseClient.Acquire(leaseDuration).Value; + EXPECT_TRUE(aLease.ETag.HasValue()); + EXPECT_TRUE(aLease.LastModified >= lastModified); + EXPECT_EQ(aLease.LeaseId, leaseId1); + lastModified = m_shareClient->GetProperties().Value.LastModified; + aLease = leaseClient.Acquire(Files::Shares::ShareLeaseClient::InfiniteLeaseDuration).Value; + EXPECT_TRUE(aLease.ETag.HasValue()); + EXPECT_TRUE(aLease.LastModified >= lastModified); + EXPECT_EQ(aLease.LeaseId, leaseId1); + + auto properties = m_shareClient->GetProperties().Value; + EXPECT_EQ(properties.LeaseState.Value(), Files::Shares::Models::LeaseState::Leased); + EXPECT_EQ(properties.LeaseStatus.Value(), Files::Shares::Models::LeaseStatus::Locked); + + lastModified = m_shareClient->GetProperties().Value.LastModified; + auto rLease = leaseClient.Renew().Value; + EXPECT_TRUE(aLease.ETag.HasValue()); + EXPECT_TRUE(aLease.LastModified >= lastModified); + EXPECT_EQ(rLease.LeaseId, leaseId1); + + lastModified = m_shareClient->GetProperties().Value.LastModified; + std::string leaseId2 = Files::Shares::ShareLeaseClient::CreateUniqueLeaseId(); + EXPECT_NE(leaseId1, leaseId2); + auto cLease = leaseClient.Change(leaseId2).Value; + EXPECT_TRUE(cLease.ETag.HasValue()); + EXPECT_TRUE(cLease.LastModified >= lastModified); + EXPECT_EQ(cLease.LeaseId, leaseId2); + EXPECT_EQ(leaseClient.GetLeaseId(), leaseId2); + + lastModified = m_shareClient->GetProperties().Value.LastModified; + auto relLease = leaseClient.Release().Value; + EXPECT_TRUE(relLease.ETag.HasValue()); + EXPECT_TRUE(relLease.LastModified >= lastModified); + } + + { + Files::Shares::ShareLeaseClient leaseClient( + *m_shareClient, Files::Shares::ShareLeaseClient::CreateUniqueLeaseId()); + auto aLease + = leaseClient.Acquire(Files::Shares::ShareLeaseClient::InfiniteLeaseDuration).Value; + auto properties = m_shareClient->GetProperties().Value; + EXPECT_EQ( + Files::Shares::Models::LeaseDurationType::Infinite, properties.LeaseDuration.Value()); + auto brokenLease = leaseClient.Break().Value; + EXPECT_TRUE(brokenLease.ETag.HasValue()); + EXPECT_TRUE(brokenLease.LastModified >= properties.LastModified); + } + } + + TEST_F(FileShareClientTest, SnapshotLease) + { + auto snapshotResult = m_shareClient->CreateSnapshot(); + auto shareSnapshot = m_shareClient->WithSnapshot(snapshotResult.Value.Snapshot); + { + std::string leaseId1 = Files::Shares::ShareLeaseClient::CreateUniqueLeaseId(); + auto lastModified = m_shareClient->GetProperties().Value.LastModified; + std::chrono::seconds leaseDuration(20); + Files::Shares::ShareLeaseClient shareSnapshotLeaseClient(shareSnapshot, leaseId1); + auto aLease = shareSnapshotLeaseClient.Acquire(leaseDuration).Value; + EXPECT_TRUE(aLease.ETag.HasValue()); + EXPECT_TRUE(aLease.LastModified >= lastModified); + EXPECT_EQ(aLease.LeaseId, leaseId1); + lastModified = shareSnapshot.GetProperties().Value.LastModified; + aLease + = shareSnapshotLeaseClient.Acquire(Files::Shares::ShareLeaseClient::InfiniteLeaseDuration) + .Value; + EXPECT_TRUE(aLease.ETag.HasValue()); + EXPECT_TRUE(aLease.LastModified >= lastModified); + EXPECT_EQ(aLease.LeaseId, leaseId1); + + auto properties = shareSnapshot.GetProperties().Value; + EXPECT_EQ(properties.LeaseState.Value(), Files::Shares::Models::LeaseState::Leased); + EXPECT_EQ(properties.LeaseStatus.Value(), Files::Shares::Models::LeaseStatus::Locked); + + lastModified = shareSnapshot.GetProperties().Value.LastModified; + auto rLease = shareSnapshotLeaseClient.Renew().Value; + EXPECT_TRUE(aLease.ETag.HasValue()); + EXPECT_TRUE(aLease.LastModified >= lastModified); + EXPECT_EQ(rLease.LeaseId, leaseId1); + + lastModified = shareSnapshot.GetProperties().Value.LastModified; + std::string leaseId2 = Files::Shares::ShareLeaseClient::CreateUniqueLeaseId(); + EXPECT_NE(leaseId1, leaseId2); + auto cLease = shareSnapshotLeaseClient.Change(leaseId2).Value; + EXPECT_TRUE(cLease.ETag.HasValue()); + EXPECT_TRUE(cLease.LastModified >= lastModified); + EXPECT_EQ(cLease.LeaseId, leaseId2); + EXPECT_EQ(shareSnapshotLeaseClient.GetLeaseId(), leaseId2); + + lastModified = shareSnapshot.GetProperties().Value.LastModified; + auto relLease = shareSnapshotLeaseClient.Release().Value; + EXPECT_TRUE(relLease.ETag.HasValue()); + EXPECT_TRUE(relLease.LastModified >= lastModified); + } + + { + Files::Shares::ShareLeaseClient shareSnapshotLeaseClient( + shareSnapshot, Files::Shares::ShareLeaseClient::CreateUniqueLeaseId()); + auto aLease + = shareSnapshotLeaseClient.Acquire(Files::Shares::ShareLeaseClient::InfiniteLeaseDuration) + .Value; + auto properties = shareSnapshot.GetProperties().Value; + EXPECT_EQ( + Files::Shares::Models::LeaseDurationType::Infinite, properties.LeaseDuration.Value()); + auto brokenLease = shareSnapshotLeaseClient.Break().Value; + EXPECT_TRUE(brokenLease.ETag.HasValue()); + EXPECT_TRUE(brokenLease.LastModified >= properties.LastModified); + shareSnapshotLeaseClient.Release(); + } + + EXPECT_THROW(m_shareClient->Delete(), StorageException); + } TEST_F(FileShareClientTest, UnencodedDirectoryFileNameWorks) { @@ -520,44 +530,122 @@ namespace Azure { namespace Storage { namespace Test { TEST_F(FileShareClientTest, PremiumShare) { - auto shareName = m_testNameLowercase; - auto shareClient = Files::Shares::ShareClient::CreateFromConnectionString( - PremiumFileConnectionString(), shareName, m_options); - EXPECT_NO_THROW(shareClient.Create()); - Files::Shares::Models::ShareProperties properties; - EXPECT_NO_THROW(properties = shareClient.GetProperties().Value); - EXPECT_EQ(Files::Shares::Models::AccessTier::Premium, properties.AccessTier.Value()); - EXPECT_FALSE(properties.AccessTierTransitionState.HasValue()); - EXPECT_FALSE(properties.AccessTierChangedOn.HasValue()); + { + auto shareName = m_testNameLowercase; + auto shareClient = Files::Shares::ShareClient::CreateFromConnectionString( + PremiumFileConnectionString(), shareName, m_options); + // create works + EXPECT_NO_THROW(shareClient.Create()); + Files::Shares::Models::ShareProperties properties; + EXPECT_NO_THROW(properties = shareClient.GetProperties().Value); + EXPECT_EQ(Files::Shares::Models::AccessTier::Premium, properties.AccessTier.Value()); + EXPECT_FALSE(properties.AccessTierTransitionState.HasValue()); + EXPECT_FALSE(properties.AccessTierChangedOn.HasValue()); + EXPECT_TRUE(properties.ProvisionedBandwidthMBps.HasValue()); + + // list shares works + Files::Shares::ListSharesOptions listOptions; + listOptions.Prefix = shareName; + std::vector shareItems; + for (auto pageResult = Files::Shares::ShareServiceClient::CreateFromConnectionString( + PremiumFileConnectionString(), m_options) + .ListShares(listOptions); + pageResult.HasPage(); + pageResult.MoveToNextPage()) + { + shareItems.insert(shareItems.end(), pageResult.Shares.begin(), pageResult.Shares.end()); + } + EXPECT_EQ(1U, shareItems.size()); + EXPECT_EQ( + Files::Shares::Models::AccessTier::Premium, shareItems[0].Details.AccessTier.Value()); + EXPECT_FALSE(shareItems[0].Details.AccessTierTransitionState.HasValue()); + EXPECT_FALSE(shareItems[0].Details.AccessTierChangedOn.HasValue()); + EXPECT_TRUE(shareItems[0].Details.ProvisionedBandwidthMBps.HasValue()); - Files::Shares::ListSharesOptions listOptions; - listOptions.Prefix = shareName; - std::vector shareItems; - for (auto pageResult = Files::Shares::ShareServiceClient::CreateFromConnectionString( - PremiumFileConnectionString(), m_options) - .ListShares(listOptions); - pageResult.HasPage(); - pageResult.MoveToNextPage()) + // set&get properties works + auto setPropertiesOptions = Files::Shares::SetSharePropertiesOptions(); + setPropertiesOptions.AccessTier = Files::Shares::Models::AccessTier::Hot; + EXPECT_THROW(shareClient.SetProperties(setPropertiesOptions), StorageException); + setPropertiesOptions.AccessTier = Files::Shares::Models::AccessTier::Cool; + EXPECT_THROW(shareClient.SetProperties(setPropertiesOptions), StorageException); + setPropertiesOptions.AccessTier = Files::Shares::Models::AccessTier::TransactionOptimized; + EXPECT_THROW(shareClient.SetProperties(setPropertiesOptions), StorageException); + setPropertiesOptions.AccessTier = Files::Shares::Models::AccessTier::Premium; + EXPECT_NO_THROW(shareClient.SetProperties(setPropertiesOptions)); + EXPECT_NO_THROW(properties = shareClient.GetProperties().Value); + EXPECT_EQ(Files::Shares::Models::AccessTier::Premium, properties.AccessTier.Value()); + EXPECT_FALSE(properties.AccessTierTransitionState.HasValue()); + EXPECT_FALSE(properties.AccessTierChangedOn.HasValue()); + shareClient.DeleteIfExists(); + } + // nfs protocol works { - shareItems.insert(shareItems.end(), pageResult.Shares.begin(), pageResult.Shares.end()); + auto shareName = m_testNameLowercase + "1"; + auto shareClient = Files::Shares::ShareClient::CreateFromConnectionString( + PremiumFileConnectionString(), shareName, m_options); + // create works + Files::Shares::CreateShareOptions options; + options.EnabledProtocols = Files::Shares::Models::ShareProtocols::Nfs; + options.RootSquash = Files::Shares::Models::ShareRootSquash::AllSquash; + EXPECT_NO_THROW(shareClient.Create(options)); + Files::Shares::Models::ShareProperties properties; + EXPECT_NO_THROW(properties = shareClient.GetProperties().Value); + EXPECT_EQ(options.EnabledProtocols.Value(), properties.EnabledProtocols.Value()); + EXPECT_EQ(options.RootSquash.Value(), properties.RootSquash.Value()); + + // list shares works + Files::Shares::ListSharesOptions listOptions; + listOptions.Prefix = shareName; + std::vector shareItems; + for (auto pageResult = Files::Shares::ShareServiceClient::CreateFromConnectionString( + PremiumFileConnectionString(), m_options) + .ListShares(listOptions); + pageResult.HasPage(); + pageResult.MoveToNextPage()) + { + shareItems.insert(shareItems.end(), pageResult.Shares.begin(), pageResult.Shares.end()); + } + EXPECT_EQ(1U, shareItems.size()); + EXPECT_EQ(options.EnabledProtocols.Value(), shareItems[0].Details.EnabledProtocols.Value()); + EXPECT_EQ(options.RootSquash.Value(), shareItems[0].Details.RootSquash.Value()); + + // set&get properties works + auto setPropertiesOptions = Files::Shares::SetSharePropertiesOptions(); + setPropertiesOptions.RootSquash = Files::Shares::Models::ShareRootSquash::NoRootSquash; + EXPECT_NO_THROW(shareClient.SetProperties(setPropertiesOptions)); + EXPECT_NO_THROW(properties = shareClient.GetProperties().Value); + EXPECT_EQ(setPropertiesOptions.RootSquash.Value(), properties.RootSquash.Value()); + shareClient.DeleteIfExists(); + } + // smb protocol works + { + auto shareName = m_testNameLowercase + "2"; + auto shareClient = Files::Shares::ShareClient::CreateFromConnectionString( + PremiumFileConnectionString(), shareName, m_options); + // create works + Files::Shares::CreateShareOptions options; + options.EnabledProtocols = Files::Shares::Models::ShareProtocols::Smb; + EXPECT_NO_THROW(shareClient.Create(options)); + Files::Shares::Models::ShareProperties properties; + EXPECT_NO_THROW(properties = shareClient.GetProperties().Value); + EXPECT_EQ(options.EnabledProtocols.Value(), properties.EnabledProtocols.Value()); + + // list shares works + Files::Shares::ListSharesOptions listOptions; + listOptions.Prefix = shareName; + std::vector shareItems; + for (auto pageResult = Files::Shares::ShareServiceClient::CreateFromConnectionString( + PremiumFileConnectionString(), m_options) + .ListShares(listOptions); + pageResult.HasPage(); + pageResult.MoveToNextPage()) + { + shareItems.insert(shareItems.end(), pageResult.Shares.begin(), pageResult.Shares.end()); + } + EXPECT_EQ(1U, shareItems.size()); + EXPECT_EQ(options.EnabledProtocols.Value(), shareItems[0].Details.EnabledProtocols.Value()); + shareClient.DeleteIfExists(); } - EXPECT_EQ(1U, shareItems.size()); - EXPECT_EQ(Files::Shares::Models::AccessTier::Premium, shareItems[0].Details.AccessTier.Value()); - EXPECT_FALSE(shareItems[0].Details.AccessTierTransitionState.HasValue()); - EXPECT_FALSE(shareItems[0].Details.AccessTierChangedOn.HasValue()); - - auto setPropertiesOptions = Files::Shares::SetSharePropertiesOptions(); - setPropertiesOptions.AccessTier = Files::Shares::Models::AccessTier::Hot; - EXPECT_THROW(shareClient.SetProperties(setPropertiesOptions), StorageException); - setPropertiesOptions.AccessTier = Files::Shares::Models::AccessTier::Cool; - EXPECT_THROW(shareClient.SetProperties(setPropertiesOptions), StorageException); - setPropertiesOptions.AccessTier = Files::Shares::Models::AccessTier::TransactionOptimized; - EXPECT_THROW(shareClient.SetProperties(setPropertiesOptions), StorageException); - setPropertiesOptions.AccessTier = Files::Shares::Models::AccessTier::Premium; - EXPECT_NO_THROW(shareClient.SetProperties(setPropertiesOptions)); - EXPECT_EQ(Files::Shares::Models::AccessTier::Premium, properties.AccessTier.Value()); - EXPECT_FALSE(properties.AccessTierTransitionState.HasValue()); - EXPECT_FALSE(properties.AccessTierChangedOn.HasValue()); - shareClient.DeleteIfExists(); } + }}} // namespace Azure::Storage::Test diff --git a/sdk/storage/azure-storage-files-shares/test/ut/share_directory_client_test.cpp b/sdk/storage/azure-storage-files-shares/test/ut/share_directory_client_test.cpp index 6fee669c8c..6321ca4f73 100644 --- a/sdk/storage/azure-storage-files-shares/test/ut/share_directory_client_test.cpp +++ b/sdk/storage/azure-storage-files-shares/test/ut/share_directory_client_test.cpp @@ -138,6 +138,304 @@ namespace Azure { namespace Storage { namespace Test { } } + TEST_F(FileShareDirectoryClientTest, RenameFile) + { + const std::string testName(GetTestName()); + const std::string baseDirectoryName = testName + "1"; + auto rootDirectoryClient = m_shareClient->GetRootDirectoryClient(); + auto baseDirectoryClient + = m_shareClient->GetRootDirectoryClient().GetSubdirectoryClient(baseDirectoryName); + baseDirectoryClient.Create(); + // base test + { + const std::string oldFilename = testName + "2"; + auto oldFileClient = baseDirectoryClient.GetFileClient(oldFilename); + oldFileClient.Create(512); + const std::string newFilename = testName + "3"; + auto newFileClient + = baseDirectoryClient.RenameFile(oldFilename, baseDirectoryName + "/" + newFilename) + .Value; + EXPECT_NO_THROW(newFileClient.GetProperties()); + EXPECT_THROW(oldFileClient.GetProperties(), StorageException); + } + + // overwrite + { + const std::string oldFilename = testName + "4"; + auto oldFileClient = baseDirectoryClient.GetFileClient(oldFilename); + oldFileClient.Create(512); + const std::string newFilename = testName + "5"; + auto newFileClient = baseDirectoryClient.GetFileClient(newFilename); + newFileClient.Create(512); + EXPECT_THROW( + baseDirectoryClient.RenameFile(oldFilename, baseDirectoryName + "/" + newFilename), + StorageException); + + Files::Shares::RenameFileOptions options; + options.ReplaceIfExists = true; + EXPECT_NO_THROW( + newFileClient + = baseDirectoryClient + .RenameFile(oldFilename, baseDirectoryName + "/" + newFilename, options) + .Value); + EXPECT_NO_THROW(newFileClient.GetProperties()); + EXPECT_THROW(oldFileClient.GetProperties(), StorageException); + } + // overwrite readOnly + { + const std::string oldFilename = testName + "6"; + auto oldFileClient = baseDirectoryClient.GetFileClient(oldFilename); + oldFileClient.Create(512); + const std::string newFilename = testName + "7"; + Files::Shares::CreateFileOptions createOptions; + Files::Shares::Models::FileSmbProperties properties; + properties.Attributes = Files::Shares::Models::FileAttributes::ReadOnly; + createOptions.SmbProperties = properties; + auto newFileClient = baseDirectoryClient.GetFileClient(newFilename); + newFileClient.Create(512, createOptions); + Files::Shares::RenameFileOptions renameOptions; + renameOptions.ReplaceIfExists = true; + EXPECT_THROW( + baseDirectoryClient.RenameFile( + oldFilename, baseDirectoryName + "/" + newFilename, renameOptions), + StorageException); + + renameOptions.IgnoreReadOnly = true; + EXPECT_NO_THROW( + newFileClient + = baseDirectoryClient + .RenameFile(oldFilename, baseDirectoryName + "/" + newFilename, renameOptions) + .Value); + EXPECT_NO_THROW(newFileClient.GetProperties()); + EXPECT_THROW(oldFileClient.GetProperties(), StorageException); + } + // with options + { + std::string permission + = "O:S-1-5-21-2127521184-1604012920-1887927527-21560751G:S-1-5-21-" + "2127521184-1604012920-1887927527-513D:AI(A;;FA;;;SY)(A;;FA;;;BA)(A;;" + "0x1200a9;;;S-1-5-21-397955417-626881126-188441444-3053964)"; + + const std::string oldFilename = testName + "8"; + auto oldFileClient = baseDirectoryClient.GetFileClient(oldFilename); + oldFileClient.Create(512); + const std::string newFilename = testName + "9"; + Files::Shares::RenameFileOptions renameOptions; + renameOptions.Metadata = GetMetadata(); + renameOptions.FilePermission = permission; + Files::Shares::Models::FileSmbProperties properties; + properties.ChangedOn = std::chrono::system_clock::now(); + properties.CreatedOn = std::chrono::system_clock::now(); + properties.LastWrittenOn = std::chrono::system_clock::now(); + properties.Attributes = Files::Shares::Models::FileAttributes::None; + renameOptions.SmbProperties = properties; + auto newFileClient + = baseDirectoryClient + .RenameFile(oldFilename, baseDirectoryName + "/" + newFilename, renameOptions) + .Value; + Files::Shares::Models::FileProperties newProperties; + EXPECT_NO_THROW(newProperties = newFileClient.GetProperties().Value); + EXPECT_THROW(oldFileClient.GetProperties(), StorageException); + EXPECT_EQ(renameOptions.Metadata, newProperties.Metadata); + EXPECT_EQ(properties.Attributes, newProperties.SmbProperties.Attributes); + } + + // diff directory + { + const std::string oldSubdirectoryName = testName + "10"; + auto oldSubdirectoryClient = baseDirectoryClient.GetSubdirectoryClient(oldSubdirectoryName); + oldSubdirectoryClient.Create(); + const std::string oldFilename = testName + "11"; + auto oldFileClient = oldSubdirectoryClient.GetFileClient(oldFilename); + oldFileClient.Create(512); + + const std::string otherDirectoryname = testName + "12"; + auto otherDirectoryClient = rootDirectoryClient.GetSubdirectoryClient(otherDirectoryname); + otherDirectoryClient.Create(); + const std::string newFilename = testName + "13"; + auto newFileClient + = baseDirectoryClient + .RenameFile( + oldSubdirectoryName + "/" + oldFilename, otherDirectoryname + "/" + newFilename) + .Value; + EXPECT_NO_THROW(newFileClient.GetProperties()); + EXPECT_THROW(oldFileClient.GetProperties(), StorageException); + } + // root directory + { + const std::string oldFilename = testName + "14"; + auto oldFileClient = baseDirectoryClient.GetFileClient(oldFilename); + oldFileClient.Create(512); + const std::string newFilename = testName + "15"; + auto newFileClient = baseDirectoryClient.RenameFile(oldFilename, newFilename).Value; + EXPECT_NO_THROW(newFileClient.GetProperties()); + EXPECT_THROW(oldFileClient.GetProperties(), StorageException); + } + // lease + { + const std::string oldFilename = testName + "16"; + auto oldFileClient = baseDirectoryClient.GetFileClient(oldFilename); + oldFileClient.Create(512); + const std::string oldLeaseId = Files::Shares::ShareLeaseClient::CreateUniqueLeaseId(); + Files::Shares::ShareLeaseClient oldLeaseClient(oldFileClient, oldLeaseId); + oldLeaseClient.Acquire(Files::Shares::ShareLeaseClient::InfiniteLeaseDuration); + const std::string newFilename = testName + "17"; + auto newFileClient = baseDirectoryClient.GetFileClient(newFilename); + newFileClient.Create(512); + const std::string newLeaseId = Files::Shares::ShareLeaseClient::CreateUniqueLeaseId(); + Files::Shares::ShareLeaseClient newLeaseClient(newFileClient, newLeaseId); + newLeaseClient.Acquire(Files::Shares::ShareLeaseClient::InfiniteLeaseDuration); + + Files::Shares::RenameFileOptions options; + options.ReplaceIfExists = true; + EXPECT_THROW( + baseDirectoryClient.RenameFile( + oldFilename, baseDirectoryName + "/" + newFilename, options), + StorageException); + options.SourceAccessConditions.LeaseId = oldLeaseId; + options.AccessConditions.LeaseId = newLeaseId; + EXPECT_NO_THROW(baseDirectoryClient.RenameFile( + oldFilename, baseDirectoryName + "/" + newFilename, options)); + Files::Shares::ShareLeaseClient renamedLeaseClient(newFileClient, oldLeaseId); + renamedLeaseClient.Release(); + } + } + + TEST_F(FileShareDirectoryClientTest, RenameSubdirectory) + { + const std::string testName(GetTestName()); + const std::string baseDirectoryName = testName + "1"; + auto rootDirectoryClient = m_shareClient->GetRootDirectoryClient(); + auto baseDirectoryClient + = m_shareClient->GetRootDirectoryClient().GetSubdirectoryClient(baseDirectoryName); + baseDirectoryClient.Create(); + // base test + { + const std::string oldSubdirectoryName = testName + "2"; + auto oldSubdirectoryClient = baseDirectoryClient.GetSubdirectoryClient(oldSubdirectoryName); + oldSubdirectoryClient.Create(); + oldSubdirectoryClient.GetFileClient(testName + "File1").Create(512); + const std::string newSubdirectoryName = testName + "3"; + auto newSubdirectoryClient + = baseDirectoryClient + .RenameSubdirectory( + oldSubdirectoryName, baseDirectoryName + "/" + newSubdirectoryName) + .Value; + EXPECT_NO_THROW(newSubdirectoryClient.GetProperties()); + EXPECT_THROW(oldSubdirectoryClient.GetProperties(), StorageException); + } + + // overwrite + { + const std::string oldSubdirectoryName = testName + "4"; + auto oldSubdirectoryClient = baseDirectoryClient.GetSubdirectoryClient(oldSubdirectoryName); + oldSubdirectoryClient.Create(); + const std::string existFilename = testName + "5"; + auto existFileClient = baseDirectoryClient.GetFileClient(existFilename); + existFileClient.Create(512); + EXPECT_THROW( + baseDirectoryClient.RenameSubdirectory( + oldSubdirectoryName, baseDirectoryName + "/" + existFilename), + StorageException); + + Files::Shares::RenameDirectoryOptions options; + options.ReplaceIfExists = true; + EXPECT_NO_THROW(baseDirectoryClient.RenameSubdirectory( + oldSubdirectoryName, baseDirectoryName + "/" + existFilename, options)); + EXPECT_THROW(oldSubdirectoryClient.GetProperties(), StorageException); + } + // overwrite readOnly + { + const std::string oldSubdirectoryName = testName + "6"; + auto oldSubdirectoryClient = baseDirectoryClient.GetSubdirectoryClient(oldSubdirectoryName); + oldSubdirectoryClient.Create(); + const std::string existFilename = testName + "7"; + Files::Shares::CreateFileOptions createOptions; + Files::Shares::Models::FileSmbProperties properties; + properties.Attributes = Files::Shares::Models::FileAttributes::ReadOnly; + createOptions.SmbProperties = properties; + auto existFileClient = baseDirectoryClient.GetFileClient(existFilename); + existFileClient.Create(512, createOptions); + Files::Shares::RenameDirectoryOptions renameOptions; + renameOptions.ReplaceIfExists = true; + EXPECT_THROW( + baseDirectoryClient.RenameSubdirectory( + oldSubdirectoryName, baseDirectoryName + "/" + existFilename, renameOptions), + StorageException); + + renameOptions.IgnoreReadOnly = true; + EXPECT_NO_THROW(baseDirectoryClient.RenameSubdirectory( + oldSubdirectoryName, baseDirectoryName + "/" + existFilename, renameOptions)); + EXPECT_THROW(oldSubdirectoryClient.GetProperties(), StorageException); + } + // with options + { + std::string permission + = "O:S-1-5-21-2127521184-1604012920-1887927527-21560751G:S-1-5-21-" + "2127521184-1604012920-1887927527-513D:AI(A;;FA;;;SY)(A;;FA;;;BA)(A;;" + "0x1200a9;;;S-1-5-21-397955417-626881126-188441444-3053964)"; + + const std::string oldSubdirectoryName = testName + "8"; + auto oldSubdirectoryClient = baseDirectoryClient.GetSubdirectoryClient(oldSubdirectoryName); + oldSubdirectoryClient.Create(); + const std::string newSubdirectoryName = testName + "9"; + Files::Shares::RenameDirectoryOptions renameOptions; + renameOptions.Metadata = GetMetadata(); + renameOptions.FilePermission = permission; + Files::Shares::Models::FileSmbProperties properties; + properties.ChangedOn = std::chrono::system_clock::now(); + properties.CreatedOn = std::chrono::system_clock::now(); + properties.LastWrittenOn = std::chrono::system_clock::now(); + renameOptions.SmbProperties = properties; + auto newSubdirectoryClient = baseDirectoryClient + .RenameSubdirectory( + oldSubdirectoryName, + baseDirectoryName + "/" + newSubdirectoryName, + renameOptions) + .Value; + Files::Shares::Models::DirectoryProperties newProperties; + EXPECT_NO_THROW(newProperties = newSubdirectoryClient.GetProperties().Value); + EXPECT_THROW(oldSubdirectoryClient.GetProperties(), StorageException); + EXPECT_EQ(renameOptions.Metadata, newProperties.Metadata); + } + + // diff directory + { + const std::string oldMiddleDirectoryName = testName + "10"; + auto oldMiddleDirectoryClient + = baseDirectoryClient.GetSubdirectoryClient(oldMiddleDirectoryName); + oldMiddleDirectoryClient.Create(); + const std::string oldSubdirectoryName = testName + "11"; + auto oldSubdirectoryClient + = oldMiddleDirectoryClient.GetSubdirectoryClient(oldSubdirectoryName); + oldSubdirectoryClient.Create(); + + const std::string otherDirectoryName = testName + "12"; + auto otherDirectoryClient = rootDirectoryClient.GetSubdirectoryClient(otherDirectoryName); + otherDirectoryClient.Create(); + const std::string newSubdirectoryName = testName + "13"; + auto newSubdirectoryClient = baseDirectoryClient + .RenameSubdirectory( + oldMiddleDirectoryName + "/" + oldSubdirectoryName, + otherDirectoryName + "/" + newSubdirectoryName) + .Value; + EXPECT_NO_THROW(newSubdirectoryClient.GetProperties()); + EXPECT_THROW(oldSubdirectoryClient.GetProperties(), StorageException); + } + // root directory + { + const std::string oldSubdirectoryName = testName + "14"; + auto oldSubdirectoryClient = baseDirectoryClient.GetSubdirectoryClient(oldSubdirectoryName); + oldSubdirectoryClient.Create(); + oldSubdirectoryClient.GetFileClient(testName + "File1").Create(512); + const std::string newSubdirectoryName = testName + "15"; + auto newSubdirectoryClient + = baseDirectoryClient.RenameSubdirectory(oldSubdirectoryName, newSubdirectoryName).Value; + EXPECT_NO_THROW(newSubdirectoryClient.GetProperties()); + EXPECT_THROW(oldSubdirectoryClient.GetProperties(), StorageException); + } + } + TEST_F(FileShareDirectoryClientTest, DirectoryMetadata) { auto metadata1 = GetMetadata(); @@ -250,6 +548,7 @@ namespace Azure { namespace Storage { namespace Test { | Files::Shares::Models::FileAttributes::NotContentIndexed; properties.CreatedOn = std::chrono::system_clock::now(); properties.LastWrittenOn = std::chrono::system_clock::now(); + properties.ChangedOn = std::chrono::system_clock::now(); properties.PermissionKey = m_fileShareDirectoryClient->GetProperties().Value.SmbProperties.PermissionKey; { @@ -273,6 +572,9 @@ namespace Azure { namespace Storage { namespace Test { EXPECT_EQ( directoryProperties2.Value.SmbProperties.LastWrittenOn.Value(), directoryProperties1.Value.SmbProperties.LastWrittenOn.Value()); + EXPECT_EQ( + directoryProperties2.Value.SmbProperties.ChangedOn.Value(), + directoryProperties1.Value.SmbProperties.ChangedOn.Value()); EXPECT_EQ( directoryProperties2.Value.SmbProperties.Attributes, directoryProperties1.Value.SmbProperties.Attributes); @@ -297,6 +599,9 @@ namespace Azure { namespace Storage { namespace Test { EXPECT_EQ( directoryProperties2.Value.SmbProperties.LastWrittenOn.Value(), directoryProperties1.Value.SmbProperties.LastWrittenOn.Value()); + EXPECT_EQ( + directoryProperties2.Value.SmbProperties.ChangedOn.Value(), + directoryProperties1.Value.SmbProperties.ChangedOn.Value()); EXPECT_EQ( directoryProperties2.Value.SmbProperties.Attributes, directoryProperties1.Value.SmbProperties.Attributes); @@ -440,6 +745,79 @@ namespace Azure { namespace Storage { namespace Test { auto response = directoryNameAClient.ListFilesAndDirectories(options); EXPECT_LE(2U, response.Directories.size() + response.Files.size()); } + { + // List with include option + Files::Shares::ListFilesAndDirectoriesOptions options; + options.Include = Files::Shares::Models::ListFilesIncludeFlags::Timestamps + | Files::Shares::Models::ListFilesIncludeFlags::ETag + | Files::Shares::Models::ListFilesIncludeFlags::Attributes + | Files::Shares::Models::ListFilesIncludeFlags::PermissionKey; + options.IncludeExtendedInfo = true; + auto directoryNameAClient + = m_shareClient->GetRootDirectoryClient().GetSubdirectoryClient(directoryNameA); + auto response = directoryNameAClient.ListFilesAndDirectories(options); + auto directories = response.Directories; + auto files = response.Files; + for (const auto& name : directoryNameSetA) + { + auto iter = std::find_if( + directories.begin(), + directories.end(), + [&name](const Files::Shares::Models::DirectoryItem& item) { + return item.Name == name; + }); + auto directoryProperties = directoryNameAClient.GetSubdirectoryClient(name).GetProperties(); + EXPECT_TRUE(iter->Details.Etag.HasValue()); + EXPECT_TRUE(iter->Details.LastAccessedOn.HasValue()); + EXPECT_EQ(iter->Details.LastModified, directoryProperties.Value.LastModified); + EXPECT_EQ( + iter->Details.SmbProperties.Attributes, + directoryProperties.Value.SmbProperties.Attributes); + EXPECT_EQ( + iter->Details.SmbProperties.FileId, directoryProperties.Value.SmbProperties.FileId); + EXPECT_EQ( + iter->Details.SmbProperties.ChangedOn.Value(), + directoryProperties.Value.SmbProperties.ChangedOn.Value()); + EXPECT_EQ( + iter->Details.SmbProperties.CreatedOn.Value(), + directoryProperties.Value.SmbProperties.CreatedOn.Value()); + EXPECT_EQ( + iter->Details.SmbProperties.LastWrittenOn.Value(), + directoryProperties.Value.SmbProperties.LastWrittenOn.Value()); + EXPECT_EQ( + iter->Details.SmbProperties.PermissionKey.Value(), + directoryProperties.Value.SmbProperties.PermissionKey.Value()); + } + for (const auto& name : fileNameSetA) + { + auto iter = std::find_if( + files.begin(), files.end(), [&name](const Files::Shares::Models::FileItem& item) { + return item.Name == name; + }); + auto fileProperties = directoryNameAClient.GetFileClient(name).GetProperties(); + EXPECT_TRUE(iter->Details.Etag.HasValue()); + EXPECT_TRUE(iter->Details.LastAccessedOn.HasValue()); + EXPECT_EQ(iter->Details.LastModified, fileProperties.Value.LastModified); + EXPECT_EQ( + iter->Details.SmbProperties.Attributes, fileProperties.Value.SmbProperties.Attributes); + EXPECT_EQ(iter->Details.SmbProperties.FileId, fileProperties.Value.SmbProperties.FileId); + EXPECT_EQ( + iter->Details.SmbProperties.ChangedOn.Value(), + fileProperties.Value.SmbProperties.ChangedOn.Value()); + EXPECT_EQ( + iter->Details.SmbProperties.CreatedOn.Value(), + fileProperties.Value.SmbProperties.CreatedOn.Value()); + EXPECT_EQ( + iter->Details.SmbProperties.LastWrittenOn.Value(), + fileProperties.Value.SmbProperties.LastWrittenOn.Value()); + EXPECT_EQ( + iter->Details.SmbProperties.PermissionKey.Value(), + fileProperties.Value.SmbProperties.PermissionKey.Value()); + EXPECT_EQ(1024, iter->Details.FileSize); + } + EXPECT_EQ( + response.DirectoryId, directoryNameAClient.GetProperties().Value.SmbProperties.FileId); + } } TEST_F(FileShareDirectoryClientTest, HandlesFunctionalityWorks) diff --git a/sdk/storage/azure-storage-files-shares/test/ut/share_file_client_test.cpp b/sdk/storage/azure-storage-files-shares/test/ut/share_file_client_test.cpp index 0701c450c9..eae7c2a7ca 100644 --- a/sdk/storage/azure-storage-files-shares/test/ut/share_file_client_test.cpp +++ b/sdk/storage/azure-storage-files-shares/test/ut/share_file_client_test.cpp @@ -111,6 +111,15 @@ namespace Azure { namespace Storage { namespace Test { EXPECT_NO_THROW(fileClient.DownloadTo(buff.data(), 0)); } + TEST_F(FileShareFileClientTest, DownloadNonExistingToFile) + { + const auto testName(GetTestName()); + auto fileClient = m_fileShareDirectoryClient->GetFileClient(m_testName); + + EXPECT_THROW(fileClient.DownloadTo(testName), StorageException); + EXPECT_THROW(ReadFile(testName), std::runtime_error); + } + TEST_F(FileShareFileClientTest, FileMetadata) { auto metadata1 = GetMetadata(); @@ -219,6 +228,7 @@ namespace Azure { namespace Storage { namespace Test { | Files::Shares::Models::FileAttributes::NotContentIndexed; properties.CreatedOn = std::chrono::system_clock::now(); properties.LastWrittenOn = std::chrono::system_clock::now(); + properties.ChangedOn = std::chrono::system_clock::now(); properties.PermissionKey = m_fileClient->GetProperties().Value.SmbProperties.PermissionKey; { // Create directory with SmbProperties works @@ -239,6 +249,9 @@ namespace Azure { namespace Storage { namespace Test { EXPECT_EQ( directoryProperties2.Value.SmbProperties.LastWrittenOn.Value(), directoryProperties1.Value.SmbProperties.LastWrittenOn.Value()); + EXPECT_EQ( + directoryProperties2.Value.SmbProperties.ChangedOn.Value(), + directoryProperties1.Value.SmbProperties.ChangedOn.Value()); EXPECT_EQ( directoryProperties2.Value.SmbProperties.Attributes, directoryProperties1.Value.SmbProperties.Attributes); @@ -261,6 +274,9 @@ namespace Azure { namespace Storage { namespace Test { EXPECT_EQ( directoryProperties2.Value.SmbProperties.LastWrittenOn.Value(), directoryProperties1.Value.SmbProperties.LastWrittenOn.Value()); + EXPECT_EQ( + directoryProperties2.Value.SmbProperties.ChangedOn.Value(), + directoryProperties1.Value.SmbProperties.ChangedOn.Value()); EXPECT_EQ( directoryProperties2.Value.SmbProperties.Attributes, directoryProperties1.Value.SmbProperties.Attributes); @@ -883,7 +899,35 @@ namespace Azure { namespace Storage { namespace Test { EXPECT_EQ(static_cast(numOfChunks) * rangeSize, result.FileSize); } } - + // last write time + { + memBodyStream.Rewind(); + auto fileClient = m_shareClient->GetRootDirectoryClient().GetFileClient(m_testName); + fileClient.Create(static_cast(numOfChunks) * rangeSize); + auto lastWriteTimeBeforeUpload + = fileClient.GetProperties().Value.SmbProperties.LastWrittenOn.Value(); + Files::Shares::UploadFileRangeOptions uploadOptions; + uploadOptions.FileLastWrittenMode + = Azure::Storage::Files::Shares::Models::FileLastWrittenMode::Now; + EXPECT_NO_THROW(fileClient.UploadRange(0, memBodyStream, uploadOptions)); + auto lastWriteTimeAfterUpload + = fileClient.GetProperties().Value.SmbProperties.LastWrittenOn.Value(); + EXPECT_NE(lastWriteTimeBeforeUpload, lastWriteTimeAfterUpload); + } + { + memBodyStream.Rewind(); + auto fileClient = m_shareClient->GetRootDirectoryClient().GetFileClient(m_testName); + fileClient.Create(static_cast(numOfChunks) * rangeSize); + auto lastWriteTimeBeforeUpload + = fileClient.GetProperties().Value.SmbProperties.LastWrittenOn.Value(); + Files::Shares::UploadFileRangeOptions uploadOptions; + uploadOptions.FileLastWrittenMode + = Azure::Storage::Files::Shares::Models::FileLastWrittenMode::Preserve; + EXPECT_NO_THROW(fileClient.UploadRange(0, memBodyStream, uploadOptions)); + auto lastWriteTimeAfterUpload + = fileClient.GetProperties().Value.SmbProperties.LastWrittenOn.Value(); + EXPECT_EQ(lastWriteTimeBeforeUpload, lastWriteTimeAfterUpload); + } { // MD5 works. memBodyStream.Rewind(); @@ -1119,6 +1163,43 @@ namespace Azure { namespace Storage { namespace Test { EXPECT_TRUE(getRangeResult.Ranges[0].Length.HasValue()); EXPECT_EQ(static_cast(fileSize), getRangeResult.Ranges[0].Length.Value()); + // last write time + { + auto lastWriteTimeBeforeUpload + = destFileClient.GetProperties().Value.SmbProperties.LastWrittenOn.Value(); + Files::Shares::UploadFileRangeFromUriOptions uploadRangeOptions; + uploadRangeOptions.FileLastWrittenMode + = Azure::Storage::Files::Shares::Models::FileLastWrittenMode::Now; + EXPECT_NO_THROW( + uploadResult = destFileClient + .UploadRangeFromUri( + destRange.Offset, + sourceFileClient.GetUrl() + sourceSas, + sourceRange, + uploadRangeOptions) + .Value); + auto lastWriteTimeAfterUpload + = destFileClient.GetProperties().Value.SmbProperties.LastWrittenOn.Value(); + EXPECT_NE(lastWriteTimeBeforeUpload, lastWriteTimeAfterUpload); + } + { + auto lastWriteTimeBeforeUpload + = destFileClient.GetProperties().Value.SmbProperties.LastWrittenOn.Value(); + Files::Shares::UploadFileRangeFromUriOptions uploadRangeOptions; + uploadRangeOptions.FileLastWrittenMode + = Azure::Storage::Files::Shares::Models::FileLastWrittenMode::Preserve; + EXPECT_NO_THROW( + uploadResult = destFileClient + .UploadRangeFromUri( + destRange.Offset, + sourceFileClient.GetUrl() + sourceSas, + sourceRange, + uploadRangeOptions) + .Value); + auto lastWriteTimeAfterUpload + = destFileClient.GetProperties().Value.SmbProperties.LastWrittenOn.Value(); + EXPECT_EQ(lastWriteTimeBeforeUpload, lastWriteTimeAfterUpload); + } // source access condition works. std::vector invalidCrc64( uploadResult.TransactionalContentHash.Value.begin(), diff --git a/sdk/storage/azure-storage-files-shares/vcpkg.json b/sdk/storage/azure-storage-files-shares/vcpkg.json index 0d0d853eb5..bbfaff5bf9 100644 --- a/sdk/storage/azure-storage-files-shares/vcpkg.json +++ b/sdk/storage/azure-storage-files-shares/vcpkg.json @@ -1,6 +1,6 @@ { "name": "azure-storage-files-shares-cpp", - "version-semver": "12.2.1", + "version-semver": "12.3.0-beta.1", "description": [ "Microsoft Azure Storage Files Shares SDK for C++", "This library provides Azure Storage Files Shares SDK." @@ -11,7 +11,7 @@ { "name": "azure-storage-common-cpp", "default-features": false, - "version>=": "12.2.2" + "version>=": "12.3.0" }, { "name": "vcpkg-cmake", diff --git a/sdk/storage/azure-storage-files-shares/vcpkg/Config.cmake.in b/sdk/storage/azure-storage-files-shares/vcpkg/Config.cmake.in index f98b4830f0..94ccc02083 100644 --- a/sdk/storage/azure-storage-files-shares/vcpkg/Config.cmake.in +++ b/sdk/storage/azure-storage-files-shares/vcpkg/Config.cmake.in @@ -4,7 +4,7 @@ @PACKAGE_INIT@ include(CMakeFindDependencyMacro) -find_dependency(azure-storage-common-cpp "12.2.2") +find_dependency(azure-storage-common-cpp "12.3.0") include("${CMAKE_CURRENT_LIST_DIR}/azure-storage-files-shares-cppTargets.cmake") diff --git a/sdk/storage/azure-storage-files-shares/vcpkg/vcpkg.json b/sdk/storage/azure-storage-files-shares/vcpkg/vcpkg.json index aea8969650..9874bac3cf 100644 --- a/sdk/storage/azure-storage-files-shares/vcpkg/vcpkg.json +++ b/sdk/storage/azure-storage-files-shares/vcpkg/vcpkg.json @@ -14,7 +14,7 @@ { "name": "azure-storage-common-cpp", "default-features": false, - "version>=": "12.2.2" + "version>=": "12.3.0" }, { "name": "vcpkg-cmake", diff --git a/sdk/storage/azure-storage-queues/cgmanifest.json b/sdk/storage/azure-storage-queues/cgmanifest.json index 728e7b7085..4ac5c618a3 100644 --- a/sdk/storage/azure-storage-queues/cgmanifest.json +++ b/sdk/storage/azure-storage-queues/cgmanifest.json @@ -1,4 +1,5 @@ { + "$schema": "https://json.schemastore.org/component-detection-manifest.json", "Registrations": [ { "Component": { diff --git a/sdk/template/azure-template/cgmanifest.json b/sdk/template/azure-template/cgmanifest.json index 7f2901e706..1b872bc72d 100644 --- a/sdk/template/azure-template/cgmanifest.json +++ b/sdk/template/azure-template/cgmanifest.json @@ -1,36 +1,37 @@ { - "Registrations": [ - { - "Component": { - "Type": "git", - "git": { - "RepositoryUrl": "https://github.com/google/googletest", - "CommitHash": "703bd9caab50b139428cea1aaff9974ebee5742e" - } - }, - "DevelopmentDependency": true - }, - { - "Component": { - "Type": "other", - "Other": { - "Name": "clang-format", - "Version": "9.0.0-2", - "DownloadUrl": "https://ubuntu.pkgs.org/18.04/ubuntu-updates-universe-amd64/clang-format-9_9-2~ubuntu18.04.2_amd64.deb.html" - } - }, - "DevelopmentDependency": true - }, - { - "Component": { - "Type": "other", - "Other": { - "Name": "doxygen", - "Version": "1.8.20", - "DownloadUrl": "http://doxygen.nl/files/doxygen-1.8.20-setup.exe" - } - }, - "DevelopmentDependency": true + "$schema": "https://json.schemastore.org/component-detection-manifest.json", + "Registrations": [ + { + "Component": { + "Type": "git", + "git": { + "RepositoryUrl": "https://github.com/google/googletest", + "CommitHash": "703bd9caab50b139428cea1aaff9974ebee5742e" } - ] + }, + "DevelopmentDependency": true + }, + { + "Component": { + "Type": "other", + "Other": { + "Name": "clang-format", + "Version": "9.0.0-2", + "DownloadUrl": "https://ubuntu.pkgs.org/18.04/ubuntu-updates-universe-amd64/clang-format-9_9-2~ubuntu18.04.2_amd64.deb.html" + } + }, + "DevelopmentDependency": true + }, + { + "Component": { + "Type": "other", + "Other": { + "Name": "doxygen", + "Version": "1.8.20", + "DownloadUrl": "http://doxygen.nl/files/doxygen-1.8.20-setup.exe" + } + }, + "DevelopmentDependency": true + } + ] }